@seed-design/css 3.5.1 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all.css +51 -2
- package/all.layered.css +51 -2
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/accordion.css +10 -0
- package/recipes/accordion.layered.css +8 -0
- package/recipes/bottom-sheet.css +19 -1
- package/recipes/bottom-sheet.layered.css +23 -1
- package/recipes/list-item.css +3 -0
- package/recipes/list-item.layered.css +4 -0
- package/recipes/menu-item.css +5 -0
- package/recipes/menu-item.layered.css +6 -0
- package/recipes/select-item.css +5 -0
- package/recipes/select-item.layered.css +6 -0
- package/recipes/tabs.css +3 -1
- package/recipes/tabs.d.ts +4 -0
- package/recipes/tabs.layered.css +4 -1
- package/recipes/tabs.layered.mjs +5 -0
- package/recipes/tabs.mjs +5 -0
package/all.css
CHANGED
|
@@ -1195,6 +1195,10 @@ html {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
|
|
1197
1197
|
@media (hover: hover) and (pointer: fine) {
|
|
1198
|
+
.seed-accordion__trigger--variant_inline:before {
|
|
1199
|
+
transition: none;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1198
1202
|
.seed-accordion__trigger--variant_inline:not(:is(:disabled, [disabled], [data-disabled])):is(:hover, [data-hover]):before {
|
|
1199
1203
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
1200
1204
|
inset-inline: var(--seed-dimension-x1_5);
|
|
@@ -1233,6 +1237,10 @@ html {
|
|
|
1233
1237
|
}
|
|
1234
1238
|
|
|
1235
1239
|
@media (hover: hover) and (pointer: fine) {
|
|
1240
|
+
.seed-accordion__trigger--variant_separated:before {
|
|
1241
|
+
transition: none;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1236
1244
|
.seed-accordion__trigger--variant_separated:not(:is(:disabled, [disabled], [data-disabled])):is(:hover, [data-hover]):before {
|
|
1237
1245
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
1238
1246
|
}
|
|
@@ -2954,8 +2962,14 @@ html {
|
|
|
2954
2962
|
overflow-wrap: anywhere;
|
|
2955
2963
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
2956
2964
|
background: var(--seed-color-bg-layer-floating);
|
|
2965
|
+
--seed-box-max-height-base: calc(.9 * 100%);
|
|
2966
|
+
--seed-box-max-height-sm: var(--seed-box-max-height-base, initial);
|
|
2967
|
+
--seed-box-max-height-md: var(--seed-box-max-height-sm, initial);
|
|
2968
|
+
--seed-box-max-height-lg: var(--seed-box-max-height-md, initial);
|
|
2969
|
+
--seed-box-max-height-xl: var(--seed-box-max-height-lg, initial);
|
|
2970
|
+
--seed-box-max-height: var(--seed-box-max-height-base, initial);
|
|
2957
2971
|
max-width: 480px;
|
|
2958
|
-
max-height: min(
|
|
2972
|
+
max-height: min(var(--seed-box-max-height), 100% - var(--seed-safe-area-top));
|
|
2959
2973
|
border-top-left-radius: var(--seed-radius-r6);
|
|
2960
2974
|
border-top-right-radius: var(--seed-radius-r6);
|
|
2961
2975
|
padding-bottom: var(--seed-safe-area-bottom);
|
|
@@ -6821,6 +6835,10 @@ html {
|
|
|
6821
6835
|
}
|
|
6822
6836
|
|
|
6823
6837
|
@media (hover: hover) and (pointer: fine) {
|
|
6838
|
+
.seed-list-item__content:before {
|
|
6839
|
+
transition: none;
|
|
6840
|
+
}
|
|
6841
|
+
|
|
6824
6842
|
.seed-list-item__content:not(:is(:disabled, [disabled], [data-disabled]))[data-hover]:before {
|
|
6825
6843
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
6826
6844
|
inset-inline: var(--seed-dimension-x1_5);
|
|
@@ -7176,6 +7194,12 @@ html {
|
|
|
7176
7194
|
inset: 0;
|
|
7177
7195
|
}
|
|
7178
7196
|
|
|
7197
|
+
@media (hover: hover) and (pointer: fine) {
|
|
7198
|
+
.seed-menu-item__root:before {
|
|
7199
|
+
transition: none;
|
|
7200
|
+
}
|
|
7201
|
+
}
|
|
7202
|
+
|
|
7179
7203
|
.seed-menu-item__root:after {
|
|
7180
7204
|
content: "";
|
|
7181
7205
|
inset-block: 0;
|
|
@@ -10109,6 +10133,12 @@ html {
|
|
|
10109
10133
|
inset: 0;
|
|
10110
10134
|
}
|
|
10111
10135
|
|
|
10136
|
+
@media (hover: hover) and (pointer: fine) {
|
|
10137
|
+
.seed-select-item__root:before {
|
|
10138
|
+
transition: none;
|
|
10139
|
+
}
|
|
10140
|
+
}
|
|
10141
|
+
|
|
10112
10142
|
.seed-select-item__root:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]):before, .seed-select-item__root:not(:is(:disabled, [disabled], [data-disabled]))[data-highlighted]:before {
|
|
10113
10143
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
10114
10144
|
inset-inline: var(--seed-dimension-x2);
|
|
@@ -11773,7 +11803,6 @@ html {
|
|
|
11773
11803
|
}
|
|
11774
11804
|
|
|
11775
11805
|
.seed-tabs__list {
|
|
11776
|
-
background: var(--seed-color-bg-layer-default);
|
|
11777
11806
|
box-shadow: inset 0 -1px var(--seed-color-stroke-neutral-muted);
|
|
11778
11807
|
}
|
|
11779
11808
|
|
|
@@ -11951,6 +11980,10 @@ html {
|
|
|
11951
11980
|
font-weight: var(--seed-font-weight-bold);
|
|
11952
11981
|
}
|
|
11953
11982
|
|
|
11983
|
+
.seed-tabs__list--tone_layer {
|
|
11984
|
+
background: var(--seed-color-bg-layer-default);
|
|
11985
|
+
}
|
|
11986
|
+
|
|
11954
11987
|
.seed-tabs__root--stickyList_true {
|
|
11955
11988
|
position: relative;
|
|
11956
11989
|
}
|
|
@@ -13902,6 +13935,10 @@ html {
|
|
|
13902
13935
|
--seed-box-bleed-right: var(--seed-box-bleed-right-sm, initial);
|
|
13903
13936
|
}
|
|
13904
13937
|
|
|
13938
|
+
.seed-bottom-sheet__content {
|
|
13939
|
+
--seed-box-max-height: var(--seed-box-max-height-sm, initial);
|
|
13940
|
+
}
|
|
13941
|
+
|
|
13905
13942
|
.seed-bottom-sheet__body {
|
|
13906
13943
|
--seed-box-padding-x: var(--seed-box-padding-x-sm, initial);
|
|
13907
13944
|
--seed-box-height: var(--seed-box-height-sm, initial);
|
|
@@ -14018,6 +14055,10 @@ html {
|
|
|
14018
14055
|
--seed-box-bleed-right: var(--seed-box-bleed-right-md, initial);
|
|
14019
14056
|
}
|
|
14020
14057
|
|
|
14058
|
+
.seed-bottom-sheet__content {
|
|
14059
|
+
--seed-box-max-height: var(--seed-box-max-height-md, initial);
|
|
14060
|
+
}
|
|
14061
|
+
|
|
14021
14062
|
.seed-bottom-sheet__body {
|
|
14022
14063
|
--seed-box-padding-x: var(--seed-box-padding-x-md, initial);
|
|
14023
14064
|
--seed-box-height: var(--seed-box-height-md, initial);
|
|
@@ -14134,6 +14175,10 @@ html {
|
|
|
14134
14175
|
--seed-box-bleed-right: var(--seed-box-bleed-right-lg, initial);
|
|
14135
14176
|
}
|
|
14136
14177
|
|
|
14178
|
+
.seed-bottom-sheet__content {
|
|
14179
|
+
--seed-box-max-height: var(--seed-box-max-height-lg, initial);
|
|
14180
|
+
}
|
|
14181
|
+
|
|
14137
14182
|
.seed-bottom-sheet__body {
|
|
14138
14183
|
--seed-box-padding-x: var(--seed-box-padding-x-lg, initial);
|
|
14139
14184
|
--seed-box-height: var(--seed-box-height-lg, initial);
|
|
@@ -14250,6 +14295,10 @@ html {
|
|
|
14250
14295
|
--seed-box-bleed-right: var(--seed-box-bleed-right-xl, initial);
|
|
14251
14296
|
}
|
|
14252
14297
|
|
|
14298
|
+
.seed-bottom-sheet__content {
|
|
14299
|
+
--seed-box-max-height: var(--seed-box-max-height-xl, initial);
|
|
14300
|
+
}
|
|
14301
|
+
|
|
14253
14302
|
.seed-bottom-sheet__body {
|
|
14254
14303
|
--seed-box-padding-x: var(--seed-box-padding-x-xl, initial);
|
|
14255
14304
|
--seed-box-height: var(--seed-box-height-xl, initial);
|
package/all.layered.css
CHANGED
|
@@ -1450,6 +1450,10 @@
|
|
|
1450
1450
|
}
|
|
1451
1451
|
|
|
1452
1452
|
@media (hover: hover) and (pointer: fine) {
|
|
1453
|
+
.seed-accordion__trigger--variant_inline:before {
|
|
1454
|
+
transition: none;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1453
1457
|
.seed-accordion__trigger--variant_inline:not(:is(:disabled, [disabled], [data-disabled])):is(:hover, [data-hover]):before {
|
|
1454
1458
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
1455
1459
|
inset-inline: var(--seed-dimension-x1_5);
|
|
@@ -1488,6 +1492,10 @@
|
|
|
1488
1492
|
}
|
|
1489
1493
|
|
|
1490
1494
|
@media (hover: hover) and (pointer: fine) {
|
|
1495
|
+
.seed-accordion__trigger--variant_separated:before {
|
|
1496
|
+
transition: none;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1491
1499
|
.seed-accordion__trigger--variant_separated:not(:is(:disabled, [disabled], [data-disabled])):is(:hover, [data-hover]):before {
|
|
1492
1500
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
1493
1501
|
}
|
|
@@ -3209,8 +3217,14 @@
|
|
|
3209
3217
|
overflow-wrap: anywhere;
|
|
3210
3218
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
3211
3219
|
background: var(--seed-color-bg-layer-floating);
|
|
3220
|
+
--seed-box-max-height-base: calc(.9 * 100%);
|
|
3221
|
+
--seed-box-max-height-sm: var(--seed-box-max-height-base, initial);
|
|
3222
|
+
--seed-box-max-height-md: var(--seed-box-max-height-sm, initial);
|
|
3223
|
+
--seed-box-max-height-lg: var(--seed-box-max-height-md, initial);
|
|
3224
|
+
--seed-box-max-height-xl: var(--seed-box-max-height-lg, initial);
|
|
3225
|
+
--seed-box-max-height: var(--seed-box-max-height-base, initial);
|
|
3212
3226
|
max-width: 480px;
|
|
3213
|
-
max-height: min(
|
|
3227
|
+
max-height: min(var(--seed-box-max-height), 100% - var(--seed-safe-area-top));
|
|
3214
3228
|
border-top-left-radius: var(--seed-radius-r6);
|
|
3215
3229
|
border-top-right-radius: var(--seed-radius-r6);
|
|
3216
3230
|
padding-bottom: var(--seed-safe-area-bottom);
|
|
@@ -7076,6 +7090,10 @@
|
|
|
7076
7090
|
}
|
|
7077
7091
|
|
|
7078
7092
|
@media (hover: hover) and (pointer: fine) {
|
|
7093
|
+
.seed-list-item__content:before {
|
|
7094
|
+
transition: none;
|
|
7095
|
+
}
|
|
7096
|
+
|
|
7079
7097
|
.seed-list-item__content:not(:is(:disabled, [disabled], [data-disabled]))[data-hover]:before {
|
|
7080
7098
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
7081
7099
|
inset-inline: var(--seed-dimension-x1_5);
|
|
@@ -7431,6 +7449,12 @@
|
|
|
7431
7449
|
inset: 0;
|
|
7432
7450
|
}
|
|
7433
7451
|
|
|
7452
|
+
@media (hover: hover) and (pointer: fine) {
|
|
7453
|
+
.seed-menu-item__root:before {
|
|
7454
|
+
transition: none;
|
|
7455
|
+
}
|
|
7456
|
+
}
|
|
7457
|
+
|
|
7434
7458
|
.seed-menu-item__root:after {
|
|
7435
7459
|
content: "";
|
|
7436
7460
|
inset-block: 0;
|
|
@@ -10364,6 +10388,12 @@
|
|
|
10364
10388
|
inset: 0;
|
|
10365
10389
|
}
|
|
10366
10390
|
|
|
10391
|
+
@media (hover: hover) and (pointer: fine) {
|
|
10392
|
+
.seed-select-item__root:before {
|
|
10393
|
+
transition: none;
|
|
10394
|
+
}
|
|
10395
|
+
}
|
|
10396
|
+
|
|
10367
10397
|
.seed-select-item__root:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]):before, .seed-select-item__root:not(:is(:disabled, [disabled], [data-disabled]))[data-highlighted]:before {
|
|
10368
10398
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
10369
10399
|
inset-inline: var(--seed-dimension-x2);
|
|
@@ -12028,7 +12058,6 @@
|
|
|
12028
12058
|
}
|
|
12029
12059
|
|
|
12030
12060
|
.seed-tabs__list {
|
|
12031
|
-
background: var(--seed-color-bg-layer-default);
|
|
12032
12061
|
box-shadow: inset 0 -1px var(--seed-color-stroke-neutral-muted);
|
|
12033
12062
|
}
|
|
12034
12063
|
|
|
@@ -12206,6 +12235,10 @@
|
|
|
12206
12235
|
font-weight: var(--seed-font-weight-bold);
|
|
12207
12236
|
}
|
|
12208
12237
|
|
|
12238
|
+
.seed-tabs__list--tone_layer {
|
|
12239
|
+
background: var(--seed-color-bg-layer-default);
|
|
12240
|
+
}
|
|
12241
|
+
|
|
12209
12242
|
.seed-tabs__root--stickyList_true {
|
|
12210
12243
|
position: relative;
|
|
12211
12244
|
}
|
|
@@ -14018,6 +14051,10 @@
|
|
|
14018
14051
|
--seed-box-bleed-right: var(--seed-box-bleed-right-sm, initial);
|
|
14019
14052
|
}
|
|
14020
14053
|
|
|
14054
|
+
.seed-bottom-sheet__content {
|
|
14055
|
+
--seed-box-max-height: var(--seed-box-max-height-sm, initial);
|
|
14056
|
+
}
|
|
14057
|
+
|
|
14021
14058
|
.seed-bottom-sheet__body {
|
|
14022
14059
|
--seed-box-padding-x: var(--seed-box-padding-x-sm, initial);
|
|
14023
14060
|
--seed-box-height: var(--seed-box-height-sm, initial);
|
|
@@ -14099,6 +14136,10 @@
|
|
|
14099
14136
|
--seed-box-bleed-right: var(--seed-box-bleed-right-md, initial);
|
|
14100
14137
|
}
|
|
14101
14138
|
|
|
14139
|
+
.seed-bottom-sheet__content {
|
|
14140
|
+
--seed-box-max-height: var(--seed-box-max-height-md, initial);
|
|
14141
|
+
}
|
|
14142
|
+
|
|
14102
14143
|
.seed-bottom-sheet__body {
|
|
14103
14144
|
--seed-box-padding-x: var(--seed-box-padding-x-md, initial);
|
|
14104
14145
|
--seed-box-height: var(--seed-box-height-md, initial);
|
|
@@ -14180,6 +14221,10 @@
|
|
|
14180
14221
|
--seed-box-bleed-right: var(--seed-box-bleed-right-lg, initial);
|
|
14181
14222
|
}
|
|
14182
14223
|
|
|
14224
|
+
.seed-bottom-sheet__content {
|
|
14225
|
+
--seed-box-max-height: var(--seed-box-max-height-lg, initial);
|
|
14226
|
+
}
|
|
14227
|
+
|
|
14183
14228
|
.seed-bottom-sheet__body {
|
|
14184
14229
|
--seed-box-padding-x: var(--seed-box-padding-x-lg, initial);
|
|
14185
14230
|
--seed-box-height: var(--seed-box-height-lg, initial);
|
|
@@ -14261,6 +14306,10 @@
|
|
|
14261
14306
|
--seed-box-bleed-right: var(--seed-box-bleed-right-xl, initial);
|
|
14262
14307
|
}
|
|
14263
14308
|
|
|
14309
|
+
.seed-bottom-sheet__content {
|
|
14310
|
+
--seed-box-max-height: var(--seed-box-max-height-xl, initial);
|
|
14311
|
+
}
|
|
14312
|
+
|
|
14264
14313
|
.seed-bottom-sheet__body {
|
|
14265
14314
|
--seed-box-padding-x: var(--seed-box-padding-x-xl, initial);
|
|
14266
14315
|
--seed-box-height: var(--seed-box-height-xl, initial);
|