Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(list): added interactive radio fieldet and incremental list #2481

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
13 changes: 13 additions & 0 deletions dist/list/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
max-width: 480px;
}

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

.list fieldset > *,
.list ol li > *,
.list ul li > * {
align-items: center;
background-color: var(
Expand Down Expand Up @@ -36,6 +39,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