@seed-design/css 1.2.1 → 1.2.3
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 -39
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/app-bar.css +1 -1
- package/recipes/aspect-ratio.css +0 -2
- package/recipes/bottom-sheet.css +16 -8
- package/recipes/image-frame.css +11 -9
- package/recipes/image-frame.d.ts +2 -2
- package/recipes/image-frame.mjs +4 -4
- package/recipes/segmented-control.css +3 -1
- package/recipes/slider.css +16 -15
- package/vars/component/action-button.d.ts +61 -61
- package/vars/component/bottom-sheet.d.ts +27 -10
- package/vars/component/bottom-sheet.mjs +27 -10
- package/vars/component/callout.d.ts +7 -7
- package/vars/component/chip-tab.d.ts +2 -1
- package/vars/component/chip-tab.mjs +2 -1
- package/vars/component/contextual-floating-button.d.ts +2 -2
- package/vars/component/image-frame.d.ts +24 -18
- package/vars/component/image-frame.mjs +9 -9
- package/vars/component/input-button.d.ts +1 -1
- package/vars/component/select-box.d.ts +1 -1
- package/vars/component/slider.d.ts +11 -9
- package/vars/component/slider.mjs +8 -9
- package/vars/component/text-input.d.ts +1 -1
package/all.css
CHANGED
|
@@ -1373,8 +1373,6 @@
|
|
|
1373
1373
|
|
|
1374
1374
|
.seed-aspect-ratio {
|
|
1375
1375
|
--seed-aspect-ratio-padding: 75%;
|
|
1376
|
-
position: relative;
|
|
1377
|
-
overflow: hidden;
|
|
1378
1376
|
}
|
|
1379
1377
|
|
|
1380
1378
|
.seed-aspect-ratio:before {
|
|
@@ -1671,7 +1669,7 @@
|
|
|
1671
1669
|
}
|
|
1672
1670
|
|
|
1673
1671
|
.seed-app-bar__root--tone_layer:before {
|
|
1674
|
-
background
|
|
1672
|
+
background: var(--seed-box-background, var(--seed-color-bg-layer-default));
|
|
1675
1673
|
}
|
|
1676
1674
|
|
|
1677
1675
|
.seed-app-bar__icon--tone_layer {
|
|
@@ -2724,6 +2722,7 @@
|
|
|
2724
2722
|
font-size: var(--seed-font-size-t8);
|
|
2725
2723
|
line-height: var(--seed-line-height-t8);
|
|
2726
2724
|
font-weight: var(--seed-font-weight-bold);
|
|
2725
|
+
word-break: keep-all;
|
|
2727
2726
|
margin: 0;
|
|
2728
2727
|
}
|
|
2729
2728
|
|
|
@@ -2732,6 +2731,8 @@
|
|
|
2732
2731
|
font-size: var(--seed-font-size-t5);
|
|
2733
2732
|
line-height: var(--seed-line-height-t5);
|
|
2734
2733
|
font-weight: var(--seed-font-weight-regular);
|
|
2734
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2735
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
2735
2736
|
white-space: pre-wrap;
|
|
2736
2737
|
margin: 0;
|
|
2737
2738
|
}
|
|
@@ -2764,8 +2765,8 @@
|
|
|
2764
2765
|
}
|
|
2765
2766
|
|
|
2766
2767
|
.seed-bottom-sheet__closeButton {
|
|
2767
|
-
top: var(--seed-dimension-
|
|
2768
|
-
right: var(--seed-dimension-
|
|
2768
|
+
top: var(--seed-dimension-x6);
|
|
2769
|
+
right: var(--seed-dimension-x4);
|
|
2769
2770
|
border-radius: var(--seed-radius-full);
|
|
2770
2771
|
background: var(--seed-color-bg-neutral-weak);
|
|
2771
2772
|
cursor: pointer;
|
|
@@ -2787,25 +2788,32 @@
|
|
|
2787
2788
|
}
|
|
2788
2789
|
|
|
2789
2790
|
.seed-bottom-sheet__header--headerAlign_left {
|
|
2791
|
+
justify-content: flex-start;
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
.seed-bottom-sheet__title--headerAlign_left {
|
|
2790
2795
|
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2791
2796
|
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
2792
|
-
justify-content: flex-start;
|
|
2793
2797
|
}
|
|
2794
2798
|
|
|
2795
|
-
.seed-bottom-
|
|
2796
|
-
padding-
|
|
2799
|
+
.seed-bottom-sheet__title--headerAlign_left[data-show-close-button] {
|
|
2800
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2801
|
+
padding-right: 56px;
|
|
2797
2802
|
}
|
|
2798
2803
|
|
|
2799
2804
|
.seed-bottom-sheet__header--headerAlign_center {
|
|
2800
|
-
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2801
|
-
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
2802
2805
|
text-align: center;
|
|
2803
2806
|
justify-content: center;
|
|
2804
2807
|
}
|
|
2805
2808
|
|
|
2806
|
-
.seed-bottom-
|
|
2807
|
-
padding-left:
|
|
2808
|
-
padding-right:
|
|
2809
|
+
.seed-bottom-sheet__title--headerAlign_center {
|
|
2810
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2811
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
2812
|
+
}
|
|
2813
|
+
|
|
2814
|
+
.seed-bottom-sheet__title--headerAlign_center[data-show-close-button] {
|
|
2815
|
+
padding-left: 56px;
|
|
2816
|
+
padding-right: 56px;
|
|
2809
2817
|
}
|
|
2810
2818
|
|
|
2811
2819
|
.seed-bottom-sheet__backdrop--skipAnimation_false:is([data-state="open"], [data-open])[data-snap-points="false"]:not([data-animation-done="true"]) {
|
|
@@ -4570,20 +4578,17 @@
|
|
|
4570
4578
|
}
|
|
4571
4579
|
|
|
4572
4580
|
.seed-image-frame {
|
|
4581
|
+
border-radius: inherit;
|
|
4573
4582
|
position: relative;
|
|
4583
|
+
overflow: hidden;
|
|
4574
4584
|
}
|
|
4575
4585
|
|
|
4576
4586
|
.seed-image-frame > img, .seed-image-frame > video {
|
|
4577
4587
|
object-fit: cover;
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
overflow: hidden;
|
|
4583
|
-
}
|
|
4584
|
-
|
|
4585
|
-
.seed-image-frame--rounded_true > img, .seed-image-frame--rounded_true > video {
|
|
4586
|
-
border-radius: var(--seed-radius-r2);
|
|
4588
|
+
border-radius: inherit;
|
|
4589
|
+
width: 100%;
|
|
4590
|
+
height: 100%;
|
|
4591
|
+
display: block;
|
|
4587
4592
|
}
|
|
4588
4593
|
|
|
4589
4594
|
.seed-image-frame--stroke_true:after {
|
|
@@ -4595,6 +4600,10 @@
|
|
|
4595
4600
|
inset: 0;
|
|
4596
4601
|
}
|
|
4597
4602
|
|
|
4603
|
+
.seed-image-frame--rounded_true {
|
|
4604
|
+
border-radius: var(--seed-radius-r2);
|
|
4605
|
+
}
|
|
4606
|
+
|
|
4598
4607
|
.seed-image-frame-indicator {
|
|
4599
4608
|
box-sizing: border-box;
|
|
4600
4609
|
background-color: var(--seed-color-palette-static-black-alpha-800);
|
|
@@ -6219,7 +6228,7 @@
|
|
|
6219
6228
|
font-size: var(--seed-font-size-t5);
|
|
6220
6229
|
line-height: var(--seed-line-height-t5);
|
|
6221
6230
|
color: var(--seed-color-fg-neutral-subtle);
|
|
6222
|
-
transition: background-color var(--seed-duration-color-transition) var(--seed-timing-function-easing), color var(--seed-duration-color-transition) var(--seed-timing-function-easing);
|
|
6231
|
+
transition: background-color var(--seed-duration-color-transition) var(--seed-timing-function-easing), color var(--seed-duration-color-transition) var(--seed-timing-function-easing), box-shadow var(--seed-duration-color-transition) var(--seed-timing-function-easing);
|
|
6223
6232
|
display: flex;
|
|
6224
6233
|
}
|
|
6225
6234
|
|
|
@@ -6239,10 +6248,12 @@
|
|
|
6239
6248
|
|
|
6240
6249
|
.seed-segmented-control__item:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, [data-checked]):is(:active, [data-active]) {
|
|
6241
6250
|
background-color: var(--seed-color-palette-gray-100);
|
|
6251
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
|
6242
6252
|
}
|
|
6243
6253
|
|
|
6244
6254
|
.seed-segmented-control__item:not(:is(:disabled, [disabled], [data-disabled])):not(:is(:checked, [data-checked])):is(:active, [data-active]) {
|
|
6245
6255
|
background-color: var(--seed-color-bg-neutral-weak-pressed);
|
|
6256
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
|
6246
6257
|
}
|
|
6247
6258
|
|
|
6248
6259
|
.seed-select-box__root {
|
|
@@ -6581,20 +6592,21 @@
|
|
|
6581
6592
|
.seed-slider__valueIndicatorRoot {
|
|
6582
6593
|
box-sizing: border-box;
|
|
6583
6594
|
background: var(--seed-color-bg-neutral-inverted);
|
|
6584
|
-
padding-left: var(--seed-dimension-
|
|
6585
|
-
padding-right: var(--seed-dimension-
|
|
6586
|
-
padding-top: var(--seed-dimension-
|
|
6587
|
-
padding-bottom: var(--seed-dimension-
|
|
6588
|
-
border-radius: var(--seed-radius-
|
|
6595
|
+
padding-left: var(--seed-dimension-x2);
|
|
6596
|
+
padding-right: var(--seed-dimension-x2);
|
|
6597
|
+
padding-top: var(--seed-dimension-x1);
|
|
6598
|
+
padding-bottom: var(--seed-dimension-x1);
|
|
6599
|
+
border-radius: var(--seed-radius-r1_5);
|
|
6589
6600
|
color: var(--seed-color-fg-neutral-inverted);
|
|
6590
|
-
font-size: var(--seed-font-size-
|
|
6591
|
-
line-height: var(--seed-line-height-
|
|
6601
|
+
font-size: var(--seed-font-size-t3);
|
|
6602
|
+
line-height: var(--seed-line-height-t3);
|
|
6592
6603
|
font-weight: var(--seed-font-weight-medium);
|
|
6593
6604
|
white-space: pre-wrap;
|
|
6594
6605
|
text-align: center;
|
|
6606
|
+
width: max-content;
|
|
6607
|
+
min-width: calc(var(--seed-dimension-x2) * 2 + var(--seed-dimension-x2));
|
|
6595
6608
|
flex-direction: column;
|
|
6596
6609
|
align-items: center;
|
|
6597
|
-
width: max-content;
|
|
6598
6610
|
display: flex;
|
|
6599
6611
|
position: absolute;
|
|
6600
6612
|
top: 50%;
|
|
@@ -6615,7 +6627,7 @@
|
|
|
6615
6627
|
animation-timing-function: var(--seed-timing-function-enter);
|
|
6616
6628
|
animation-duration: var(--seed-duration-d4);
|
|
6617
6629
|
--seed-enter-translate-x: -50%;
|
|
6618
|
-
--seed-enter-translate-y: calc(-100% - var(--seed-dimension-x5) / 2);
|
|
6630
|
+
--seed-enter-translate-y: calc(-100% - var(--seed-dimension-x5) / 2 - .3125rem);
|
|
6619
6631
|
--seed-enter-opacity: 0;
|
|
6620
6632
|
--seed-enter-scale: .9;
|
|
6621
6633
|
}
|
|
@@ -6625,7 +6637,7 @@
|
|
|
6625
6637
|
animation-timing-function: var(--seed-timing-function-enter);
|
|
6626
6638
|
animation-duration: var(--seed-duration-d4);
|
|
6627
6639
|
--seed-enter-translate-x: 50%;
|
|
6628
|
-
--seed-enter-translate-y: calc(-100% - var(--seed-dimension-x5) / 2);
|
|
6640
|
+
--seed-enter-translate-y: calc(-100% - var(--seed-dimension-x5) / 2 - .3125rem);
|
|
6629
6641
|
--seed-enter-opacity: 0;
|
|
6630
6642
|
--seed-enter-scale: .9;
|
|
6631
6643
|
}
|
|
@@ -6635,7 +6647,7 @@
|
|
|
6635
6647
|
animation-timing-function: var(--seed-timing-function-easing);
|
|
6636
6648
|
animation-duration: var(--seed-duration-d4);
|
|
6637
6649
|
--seed-exit-translate-x: -50%;
|
|
6638
|
-
--seed-exit-translate-y: calc(-100% - var(--seed-dimension-x5) / 2);
|
|
6650
|
+
--seed-exit-translate-y: calc(-100% - var(--seed-dimension-x5) / 2 - .3125rem);
|
|
6639
6651
|
--seed-exit-opacity: 0;
|
|
6640
6652
|
--seed-exit-scale: 1;
|
|
6641
6653
|
animation-fill-mode: forwards;
|
|
@@ -6646,7 +6658,7 @@
|
|
|
6646
6658
|
animation-timing-function: var(--seed-timing-function-easing);
|
|
6647
6659
|
animation-duration: var(--seed-duration-d4);
|
|
6648
6660
|
--seed-exit-translate-x: 50%;
|
|
6649
|
-
--seed-exit-translate-y: calc(-100% - var(--seed-dimension-x5) / 2);
|
|
6661
|
+
--seed-exit-translate-y: calc(-100% - var(--seed-dimension-x5) / 2 - .3125rem);
|
|
6650
6662
|
--seed-exit-opacity: 0;
|
|
6651
6663
|
--seed-exit-scale: 1;
|
|
6652
6664
|
animation-fill-mode: forwards;
|
|
@@ -6657,8 +6669,8 @@
|
|
|
6657
6669
|
}
|
|
6658
6670
|
|
|
6659
6671
|
.seed-slider__valueIndicatorArrow {
|
|
6660
|
-
width: var(--seed-dimension-
|
|
6661
|
-
height: var(--seed-dimension-
|
|
6672
|
+
width: var(--seed-dimension-x2);
|
|
6673
|
+
height: var(--seed-dimension-x2);
|
|
6662
6674
|
position: absolute;
|
|
6663
6675
|
top: 100%;
|
|
6664
6676
|
}
|
|
@@ -6675,8 +6687,8 @@
|
|
|
6675
6687
|
|
|
6676
6688
|
.seed-slider__valueIndicatorArrowTip {
|
|
6677
6689
|
fill: var(--seed-color-bg-neutral-inverted);
|
|
6678
|
-
width: var(--seed-dimension-
|
|
6679
|
-
height:
|
|
6690
|
+
width: var(--seed-dimension-x2);
|
|
6691
|
+
height: var(--seed-dimension-x1_5);
|
|
6680
6692
|
display: block;
|
|
6681
6693
|
}
|
|
6682
6694
|
|