Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 933fb74

Browse files
authored
feat(list): added interactive radio fieldet and incremental list (#2481)
1 parent cb7222a commit 933fb74

File tree

5 files changed

+673
-126
lines changed

5 files changed

+673
-126
lines changed

.changeset/light-pots-wink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ebay/skin": minor
3+
---
4+
5+
feat(list): added inremental list and radio fieldset in list

dist/list/list.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
max-width: 480px;
33
}
44

5+
.list ol,
56
.list ul {
67
list-style: none;
78
margin: 0;
89
padding: 0;
910
}
1011

11-
.list ul li > * {
12+
.list fieldset > *,
13+
.list li > * {
1214
align-items: center;
1315
background-color: var(
1416
--list-background-color,
@@ -36,6 +38,16 @@
3638
flex: 1;
3739
}
3840

41+
.list ol li {
42+
counter-increment: item;
43+
}
44+
45+
.list ol li > :before {
46+
content: counter(item) ".";
47+
margin-inline-end: var(--spacing-200);
48+
width: var(--spacing-300);
49+
}
50+
3951
.list li > a,
4052
.list li > button {
4153
border: none;

0 commit comments

Comments
 (0)