Skip to content

Commit

Permalink
feat(list): added interactive radio fieldet and incremental list (#2481)
Browse files Browse the repository at this point in the history
  • Loading branch information
agliga authored Nov 15, 2024
1 parent cb7222a commit 933fb74
Show file tree
Hide file tree
Showing 5 changed files with 673 additions and 126 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-pots-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/skin": minor
---

feat(list): added inremental list and radio fieldset in list
14 changes: 13 additions & 1 deletion dist/list/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
max-width: 480px;
}

.list ol,
.list ul {
list-style: none;
margin: 0;
padding: 0;
}

.list ul li > * {
.list fieldset > *,
.list li > * {
align-items: center;
background-color: var(
--list-background-color,
Expand Down Expand Up @@ -36,6 +38,16 @@
flex: 1;
}

.list ol li {
counter-increment: item;
}

.list ol li > :before {
content: counter(item) ".";
margin-inline-end: var(--spacing-200);
width: var(--spacing-300);
}

.list li > a,
.list li > button {
border: none;
Expand Down
Loading

0 comments on commit 933fb74

Please sign in to comment.