@seed-design/css 1.2.0 → 1.2.2
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 +40 -20
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/bottom-sheet.css +23 -8
- package/recipes/image-frame-reaction-button.css +2 -2
- package/recipes/image-frame.css +11 -9
- package/recipes/image-frame.d.ts +2 -2
- package/recipes/image-frame.mjs +4 -4
- package/vars/component/bottom-sheet.d.ts +27 -10
- package/vars/component/bottom-sheet.mjs +27 -10
- package/vars/component/image-frame-reaction-button.d.ts +16 -11
- package/vars/component/image-frame-reaction-button.mjs +11 -6
- package/vars/component/image-frame.d.ts +24 -18
- package/vars/component/image-frame.mjs +9 -9
package/all.css
CHANGED
|
@@ -2724,6 +2724,7 @@
|
|
|
2724
2724
|
font-size: var(--seed-font-size-t8);
|
|
2725
2725
|
line-height: var(--seed-line-height-t8);
|
|
2726
2726
|
font-weight: var(--seed-font-weight-bold);
|
|
2727
|
+
word-break: keep-all;
|
|
2727
2728
|
margin: 0;
|
|
2728
2729
|
}
|
|
2729
2730
|
|
|
@@ -2732,6 +2733,8 @@
|
|
|
2732
2733
|
font-size: var(--seed-font-size-t5);
|
|
2733
2734
|
line-height: var(--seed-line-height-t5);
|
|
2734
2735
|
font-weight: var(--seed-font-weight-regular);
|
|
2736
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2737
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
2735
2738
|
white-space: pre-wrap;
|
|
2736
2739
|
margin: 0;
|
|
2737
2740
|
}
|
|
@@ -2764,8 +2767,8 @@
|
|
|
2764
2767
|
}
|
|
2765
2768
|
|
|
2766
2769
|
.seed-bottom-sheet__closeButton {
|
|
2767
|
-
top: var(--seed-dimension-
|
|
2768
|
-
right: var(--seed-dimension-
|
|
2770
|
+
top: var(--seed-dimension-x6);
|
|
2771
|
+
right: var(--seed-dimension-x4);
|
|
2769
2772
|
border-radius: var(--seed-radius-full);
|
|
2770
2773
|
background: var(--seed-color-bg-neutral-weak);
|
|
2771
2774
|
cursor: pointer;
|
|
@@ -2787,19 +2790,35 @@
|
|
|
2787
2790
|
}
|
|
2788
2791
|
|
|
2789
2792
|
.seed-bottom-sheet__header--headerAlign_left {
|
|
2790
|
-
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2791
2793
|
justify-content: flex-start;
|
|
2794
|
+
}
|
|
2795
|
+
|
|
2796
|
+
.seed-bottom-sheet__title--headerAlign_left {
|
|
2797
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2798
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
.seed-bottom-sheet__title--headerAlign_left[data-show-close-button] {
|
|
2802
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2792
2803
|
padding-right: 50px;
|
|
2793
2804
|
}
|
|
2794
2805
|
|
|
2795
2806
|
.seed-bottom-sheet__header--headerAlign_center {
|
|
2796
2807
|
text-align: center;
|
|
2797
2808
|
justify-content: center;
|
|
2798
|
-
padding-left: 50px;
|
|
2799
|
-
padding-right: 50px;
|
|
2800
2809
|
}
|
|
2801
2810
|
|
|
2802
|
-
.seed-bottom-
|
|
2811
|
+
.seed-bottom-sheet__title--headerAlign_center {
|
|
2812
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
2813
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
2814
|
+
}
|
|
2815
|
+
|
|
2816
|
+
.seed-bottom-sheet__title--headerAlign_center[data-show-close-button] {
|
|
2817
|
+
padding-left: 60px;
|
|
2818
|
+
padding-right: 60px;
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
|
+
.seed-bottom-sheet__backdrop--skipAnimation_false:is([data-state="open"], [data-open])[data-snap-points="false"]:not([data-animation-done="true"]) {
|
|
2803
2822
|
animation-name: fade-in;
|
|
2804
2823
|
animation-duration: var(--seed-duration-d6);
|
|
2805
2824
|
animation-timing-function: var(--seed-timing-function-enter);
|
|
@@ -2811,7 +2830,7 @@
|
|
|
2811
2830
|
animation-timing-function: var(--seed-timing-function-exit);
|
|
2812
2831
|
}
|
|
2813
2832
|
|
|
2814
|
-
.seed-bottom-sheet__backdrop--skipAnimation_false:is([data-state="open"], [data-open])[data-snap-points="true"][data-should-overlay-animate="true"] {
|
|
2833
|
+
.seed-bottom-sheet__backdrop--skipAnimation_false:is([data-state="open"], [data-open])[data-snap-points="true"][data-should-overlay-animate="true"]:not([data-animation-done="true"]) {
|
|
2815
2834
|
animation-name: fade-in;
|
|
2816
2835
|
animation-duration: var(--seed-duration-d6);
|
|
2817
2836
|
animation-timing-function: var(--seed-timing-function-enter);
|
|
@@ -2822,7 +2841,7 @@
|
|
|
2822
2841
|
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
2823
2842
|
}
|
|
2824
2843
|
|
|
2825
|
-
.seed-bottom-sheet__content--skipAnimation_false:is([data-state="open"], [data-open])[data-snap-points="false"] {
|
|
2844
|
+
.seed-bottom-sheet__content--skipAnimation_false:is([data-state="open"], [data-open])[data-snap-points="false"]:not([data-animation-done="true"]) {
|
|
2826
2845
|
animation-name: drawer-slide-from-bottom;
|
|
2827
2846
|
animation-duration: var(--seed-duration-d6);
|
|
2828
2847
|
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
@@ -2834,7 +2853,7 @@
|
|
|
2834
2853
|
animation-timing-function: var(--seed-timing-function-exit);
|
|
2835
2854
|
}
|
|
2836
2855
|
|
|
2837
|
-
.seed-bottom-sheet__content--skipAnimation_false:is([data-state="open"], [data-open])[data-delayed-snap-points="true"] {
|
|
2856
|
+
.seed-bottom-sheet__content--skipAnimation_false:is([data-state="open"], [data-open])[data-delayed-snap-points="true"]:not([data-animation-done="true"]) {
|
|
2838
2857
|
animation-name: drawer-slide-from-bottom;
|
|
2839
2858
|
animation-duration: var(--seed-duration-d6);
|
|
2840
2859
|
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
@@ -4561,20 +4580,17 @@
|
|
|
4561
4580
|
}
|
|
4562
4581
|
|
|
4563
4582
|
.seed-image-frame {
|
|
4583
|
+
border-radius: inherit;
|
|
4564
4584
|
position: relative;
|
|
4585
|
+
overflow: hidden;
|
|
4565
4586
|
}
|
|
4566
4587
|
|
|
4567
4588
|
.seed-image-frame > img, .seed-image-frame > video {
|
|
4568
4589
|
object-fit: cover;
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
overflow: hidden;
|
|
4574
|
-
}
|
|
4575
|
-
|
|
4576
|
-
.seed-image-frame--rounded_true > img, .seed-image-frame--rounded_true > video {
|
|
4577
|
-
border-radius: var(--seed-radius-r2);
|
|
4590
|
+
border-radius: inherit;
|
|
4591
|
+
width: 100%;
|
|
4592
|
+
height: 100%;
|
|
4593
|
+
display: block;
|
|
4578
4594
|
}
|
|
4579
4595
|
|
|
4580
4596
|
.seed-image-frame--stroke_true:after {
|
|
@@ -4586,6 +4602,10 @@
|
|
|
4586
4602
|
inset: 0;
|
|
4587
4603
|
}
|
|
4588
4604
|
|
|
4605
|
+
.seed-image-frame--rounded_true {
|
|
4606
|
+
border-radius: var(--seed-radius-r2);
|
|
4607
|
+
}
|
|
4608
|
+
|
|
4589
4609
|
.seed-image-frame-indicator {
|
|
4590
4610
|
box-sizing: border-box;
|
|
4591
4611
|
background-color: var(--seed-color-palette-static-black-alpha-800);
|
|
@@ -4616,7 +4636,7 @@
|
|
|
4616
4636
|
width: var(--seed-dimension-x6);
|
|
4617
4637
|
height: var(--seed-dimension-x6);
|
|
4618
4638
|
--seed-icon-size: var(--seed-dimension-x6);
|
|
4619
|
-
--seed-icon-color: var(--seed-color-
|
|
4639
|
+
--seed-icon-color: var(--seed-color-palette-static-white);
|
|
4620
4640
|
background: none;
|
|
4621
4641
|
border: none;
|
|
4622
4642
|
justify-content: center;
|
|
@@ -4640,7 +4660,7 @@
|
|
|
4640
4660
|
}
|
|
4641
4661
|
|
|
4642
4662
|
.seed-image-frame-reaction-button:is([aria-pressed="true"], [data-pressed]) {
|
|
4643
|
-
--seed-icon-color: var(--seed-color-
|
|
4663
|
+
--seed-icon-color: var(--seed-color-bg-transparent);
|
|
4644
4664
|
}
|
|
4645
4665
|
|
|
4646
4666
|
.seed-inline-banner__root {
|