@seed-design/css 1.1.10 → 1.1.12

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 CHANGED
@@ -115,10 +115,10 @@
115
115
  padding-bottom: var(--seed-box-padding-bottom);
116
116
  padding-left: var(--seed-box-padding-left);
117
117
  padding-right: var(--seed-box-padding-right);
118
- --seed-box-bleed-bottom: initial;
119
- --seed-box-bleed-top: initial;
120
- --seed-box-bleed-left: initial;
121
- --seed-box-bleed-right: initial;
118
+ --seed-box-bleed-bottom: 0px;
119
+ --seed-box-bleed-top: 0px;
120
+ --seed-box-bleed-left: 0px;
121
+ --seed-box-bleed-right: 0px;
122
122
  margin-top: calc(var(--seed-box-bleed-top) * -1);
123
123
  margin-bottom: calc(var(--seed-box-bleed-bottom) * -1);
124
124
  margin-left: calc(var(--seed-box-bleed-left) * -1);
@@ -723,10 +723,10 @@
723
723
  padding-bottom: var(--seed-box-padding-bottom);
724
724
  padding-left: var(--seed-box-padding-left);
725
725
  padding-right: var(--seed-box-padding-right);
726
- --seed-box-bleed-bottom: initial;
727
- --seed-box-bleed-top: initial;
728
- --seed-box-bleed-left: initial;
729
- --seed-box-bleed-right: initial;
726
+ --seed-box-bleed-bottom: 0px;
727
+ --seed-box-bleed-top: 0px;
728
+ --seed-box-bleed-left: 0px;
729
+ --seed-box-bleed-right: 0px;
730
730
  margin-top: calc(var(--seed-box-bleed-top) * -1);
731
731
  margin-bottom: calc(var(--seed-box-bleed-bottom) * -1);
732
732
  margin-left: calc(var(--seed-box-bleed-left) * -1);
@@ -2398,7 +2398,7 @@
2398
2398
  }
2399
2399
 
2400
2400
  .seed-badge__root--size_medium {
2401
- max-width: 7.5rem;
2401
+ max-width: clamp(calc(108px * var(--seed-font-size-limit-min)), 7.5rem, calc(108px * var(--seed-font-size-limit-max)));
2402
2402
  min-height: var(--seed-dimension-x5);
2403
2403
  padding-left: var(--seed-dimension-x1_5);
2404
2404
  padding-right: var(--seed-dimension-x1_5);
@@ -2410,7 +2410,7 @@
2410
2410
  }
2411
2411
 
2412
2412
  .seed-badge__root--size_large {
2413
- max-width: 6.75rem;
2413
+ max-width: clamp(calc(120px * var(--seed-font-size-limit-min)), 6.75rem, calc(120px * var(--seed-font-size-limit-max)));
2414
2414
  min-height: var(--seed-dimension-x6);
2415
2415
  padding-left: var(--seed-dimension-x2);
2416
2416
  padding-right: var(--seed-dimension-x2);
@@ -2537,18 +2537,6 @@
2537
2537
  inset: 0;
2538
2538
  }
2539
2539
 
2540
- .seed-bottom-sheet__backdrop:is([data-state="open"], [data-open])[data-snap-points="false"] {
2541
- animation-name: fade-in;
2542
- animation-duration: var(--seed-duration-d6);
2543
- animation-timing-function: var(--seed-timing-function-enter);
2544
- }
2545
-
2546
- .seed-bottom-sheet__backdrop:not(:is([data-state="open"], [data-open]))[data-snap-points="false"] {
2547
- animation-name: fade-out;
2548
- animation-duration: var(--seed-duration-d4);
2549
- animation-timing-function: var(--seed-timing-function-exit);
2550
- }
2551
-
2552
2540
  .seed-bottom-sheet__backdrop[data-snap-points="true"], .seed-bottom-sheet__backdrop:not(:is([data-state="open"], [data-open]))[data-snap-points="true"]:not([data-snap-points-overlay="true"]) {
2553
2541
  opacity: 0;
2554
2542
  }
@@ -2557,12 +2545,6 @@
2557
2545
  opacity: 1;
2558
2546
  }
2559
2547
 
2560
- .seed-bottom-sheet__backdrop:is([data-state="open"], [data-open])[data-snap-points="true"][data-should-overlay-animate="true"] {
2561
- animation-name: fade-in;
2562
- animation-duration: var(--seed-duration-d6);
2563
- animation-timing-function: var(--seed-timing-function-enter);
2564
- }
2565
-
2566
2548
  .seed-bottom-sheet__content {
2567
2549
  box-sizing: border-box;
2568
2550
  word-break: break-all;
@@ -2573,36 +2555,16 @@
2573
2555
  touch-action: none;
2574
2556
  will-change: transform;
2575
2557
  transition: transform var(--seed-duration-d6) var(--seed-timing-function-enter-expressive);
2576
- animation-duration: var(--seed-duration-d6);
2577
- animation-timing-function: var(--seed-timing-function-enter-expressive);
2578
2558
  flex-direction: column;
2579
2559
  flex: 1;
2580
2560
  display: flex;
2581
2561
  position: relative;
2582
2562
  }
2583
2563
 
2584
- .seed-bottom-sheet__content:is([data-state="open"], [data-open])[data-snap-points="false"] {
2585
- animation-name: drawer-slide-from-bottom;
2586
- animation-duration: var(--seed-duration-d6);
2587
- animation-timing-function: var(--seed-timing-function-enter-expressive);
2588
- }
2589
-
2590
- .seed-bottom-sheet__content:not(:is([data-state="open"], [data-open]))[data-snap-points="false"] {
2591
- animation-name: drawer-slide-to-bottom;
2592
- animation-duration: var(--seed-duration-d4);
2593
- animation-timing-function: var(--seed-timing-function-exit);
2594
- }
2595
-
2596
2564
  .seed-bottom-sheet__content[data-snap-points="true"] {
2597
2565
  transform: translate3d(0, var(--initial-transform, 100%), 0);
2598
2566
  }
2599
2567
 
2600
- .seed-bottom-sheet__content:is([data-state="open"], [data-open])[data-delayed-snap-points="true"] {
2601
- animation-name: drawer-slide-from-bottom;
2602
- animation-duration: var(--seed-duration-d6);
2603
- animation-timing-function: var(--seed-timing-function-enter-expressive);
2604
- }
2605
-
2606
2568
  .seed-bottom-sheet__content[data-delayed-snap-points="true"] {
2607
2569
  transform: translate3d(0, var(--snap-point-height, 0), 0);
2608
2570
  }
@@ -2705,6 +2667,47 @@
2705
2667
  padding-right: 50px;
2706
2668
  }
2707
2669
 
2670
+ .seed-bottom-sheet__backdrop--skipAnimation_false:is([data-state="open"], [data-open])[data-snap-points="false"] {
2671
+ animation-name: fade-in;
2672
+ animation-duration: var(--seed-duration-d6);
2673
+ animation-timing-function: var(--seed-timing-function-enter);
2674
+ }
2675
+
2676
+ .seed-bottom-sheet__backdrop--skipAnimation_false:not(:is([data-state="open"], [data-open]))[data-snap-points="false"] {
2677
+ animation-name: fade-out;
2678
+ animation-duration: var(--seed-duration-d4);
2679
+ animation-timing-function: var(--seed-timing-function-exit);
2680
+ }
2681
+
2682
+ .seed-bottom-sheet__backdrop--skipAnimation_false:is([data-state="open"], [data-open])[data-snap-points="true"][data-should-overlay-animate="true"] {
2683
+ animation-name: fade-in;
2684
+ animation-duration: var(--seed-duration-d6);
2685
+ animation-timing-function: var(--seed-timing-function-enter);
2686
+ }
2687
+
2688
+ .seed-bottom-sheet__content--skipAnimation_false {
2689
+ animation-duration: var(--seed-duration-d6);
2690
+ animation-timing-function: var(--seed-timing-function-enter-expressive);
2691
+ }
2692
+
2693
+ .seed-bottom-sheet__content--skipAnimation_false:is([data-state="open"], [data-open])[data-snap-points="false"] {
2694
+ animation-name: drawer-slide-from-bottom;
2695
+ animation-duration: var(--seed-duration-d6);
2696
+ animation-timing-function: var(--seed-timing-function-enter-expressive);
2697
+ }
2698
+
2699
+ .seed-bottom-sheet__content--skipAnimation_false:not(:is([data-state="open"], [data-open]))[data-snap-points="false"] {
2700
+ animation-name: drawer-slide-to-bottom;
2701
+ animation-duration: var(--seed-duration-d4);
2702
+ animation-timing-function: var(--seed-timing-function-exit);
2703
+ }
2704
+
2705
+ .seed-bottom-sheet__content--skipAnimation_false:is([data-state="open"], [data-open])[data-delayed-snap-points="true"] {
2706
+ animation-name: drawer-slide-from-bottom;
2707
+ animation-duration: var(--seed-duration-d6);
2708
+ animation-timing-function: var(--seed-timing-function-enter-expressive);
2709
+ }
2710
+
2708
2711
  .seed-bottom-sheet-handle__root {
2709
2712
  background-color: var(--seed-color-palette-gray-400);
2710
2713
  width: 36px;
@@ -3726,27 +3729,6 @@
3726
3729
  inset: 0;
3727
3730
  }
3728
3731
 
3729
- .seed-dialog__backdrop:is([data-state="open"], [data-open]) {
3730
- animation: seed-enter;
3731
- animation-timing-function: var(--seed-timing-function-enter);
3732
- animation-duration: var(--seed-duration-d2);
3733
- --seed-enter-translate-x: 0;
3734
- --seed-enter-translate-y: 0;
3735
- --seed-enter-opacity: 0;
3736
- --seed-enter-scale: 1;
3737
- }
3738
-
3739
- .seed-dialog__backdrop:not(:is([data-state="open"], [data-open])) {
3740
- animation: seed-exit;
3741
- animation-timing-function: var(--seed-timing-function-exit);
3742
- animation-duration: var(--seed-duration-d2);
3743
- --seed-exit-translate-x: 0;
3744
- --seed-exit-translate-y: 0;
3745
- --seed-exit-opacity: 0;
3746
- --seed-exit-scale: 1;
3747
- animation-fill-mode: forwards;
3748
- }
3749
-
3750
3732
  .seed-dialog__content {
3751
3733
  box-sizing: border-box;
3752
3734
  word-break: break-all;
@@ -3761,27 +3743,6 @@
3761
3743
  position: relative;
3762
3744
  }
3763
3745
 
3764
- .seed-dialog__content:is([data-state="open"], [data-open]) {
3765
- animation: seed-enter;
3766
- animation-timing-function: var(--seed-timing-function-enter-expressive);
3767
- animation-duration: var(--seed-duration-d4);
3768
- --seed-enter-translate-x: 0;
3769
- --seed-enter-translate-y: 0;
3770
- --seed-enter-opacity: 0;
3771
- --seed-enter-scale: 1.3;
3772
- }
3773
-
3774
- .seed-dialog__content:not(:is([data-state="open"], [data-open])) {
3775
- animation: seed-exit;
3776
- animation-timing-function: var(--seed-timing-function-exit);
3777
- animation-duration: var(--seed-duration-d2);
3778
- --seed-exit-translate-x: 0;
3779
- --seed-exit-translate-y: 0;
3780
- --seed-exit-opacity: 0;
3781
- --seed-exit-scale: 1;
3782
- animation-fill-mode: forwards;
3783
- }
3784
-
3785
3746
  .seed-dialog__header {
3786
3747
  padding-left: var(--seed-dimension-x5);
3787
3748
  padding-right: var(--seed-dimension-x5);
@@ -3818,6 +3779,48 @@
3818
3779
  display: flex;
3819
3780
  }
3820
3781
 
3782
+ .seed-dialog__backdrop--skipAnimation_false:is([data-state="open"], [data-open]) {
3783
+ animation: seed-enter;
3784
+ animation-timing-function: var(--seed-timing-function-enter);
3785
+ animation-duration: var(--seed-duration-d2);
3786
+ --seed-enter-translate-x: 0;
3787
+ --seed-enter-translate-y: 0;
3788
+ --seed-enter-opacity: 0;
3789
+ --seed-enter-scale: 1;
3790
+ }
3791
+
3792
+ .seed-dialog__backdrop--skipAnimation_false:not(:is([data-state="open"], [data-open])) {
3793
+ animation: seed-exit;
3794
+ animation-timing-function: var(--seed-timing-function-exit);
3795
+ animation-duration: var(--seed-duration-d2);
3796
+ --seed-exit-translate-x: 0;
3797
+ --seed-exit-translate-y: 0;
3798
+ --seed-exit-opacity: 0;
3799
+ --seed-exit-scale: 1;
3800
+ animation-fill-mode: forwards;
3801
+ }
3802
+
3803
+ .seed-dialog__content--skipAnimation_false:is([data-state="open"], [data-open]) {
3804
+ animation: seed-enter;
3805
+ animation-timing-function: var(--seed-timing-function-enter-expressive);
3806
+ animation-duration: var(--seed-duration-d4);
3807
+ --seed-enter-translate-x: 0;
3808
+ --seed-enter-translate-y: 0;
3809
+ --seed-enter-opacity: 0;
3810
+ --seed-enter-scale: 1.3;
3811
+ }
3812
+
3813
+ .seed-dialog__content--skipAnimation_false:not(:is([data-state="open"], [data-open])) {
3814
+ animation: seed-exit;
3815
+ animation-timing-function: var(--seed-timing-function-exit);
3816
+ animation-duration: var(--seed-duration-d2);
3817
+ --seed-exit-translate-x: 0;
3818
+ --seed-exit-translate-y: 0;
3819
+ --seed-exit-opacity: 0;
3820
+ --seed-exit-scale: 1;
3821
+ animation-fill-mode: forwards;
3822
+ }
3823
+
3821
3824
  .seed-extended-action-sheet__positioner {
3822
3825
  overscroll-behavior-y: none;
3823
3826
  --sheet-z-index: 2;
@@ -4188,21 +4191,21 @@
4188
4191
 
4189
4192
  .seed-field-label__indicatorText {
4190
4193
  vertical-align: bottom;
4194
+ padding-left: clamp(calc(4px * var(--seed-font-size-limit-min)), .25rem, calc(4px * var(--seed-font-size-limit-max)));
4191
4195
  color: var(--seed-color-fg-neutral-subtle);
4192
4196
  font-size: var(--seed-font-size-t4);
4193
4197
  line-height: var(--seed-line-height-t5);
4194
4198
  font-weight: var(--seed-font-weight-regular);
4195
- padding-left: .25rem;
4196
4199
  display: inline;
4197
4200
  }
4198
4201
 
4199
4202
  .seed-field-label__indicatorIcon {
4200
4203
  vertical-align: top;
4201
- width: .375rem;
4202
- height: .375rem;
4204
+ width: clamp(calc(6px * var(--seed-font-size-limit-min)), .375rem, calc(6px * var(--seed-font-size-limit-max)));
4205
+ height: clamp(calc(6px * var(--seed-font-size-limit-min)), .375rem, calc(6px * var(--seed-font-size-limit-max)));
4206
+ margin-top: clamp(calc(4px * var(--seed-font-size-limit-min)), .25rem, calc(4px * var(--seed-font-size-limit-max)));
4207
+ margin-left: clamp(calc(2px * var(--seed-font-size-limit-min)), .125rem, calc(2px * var(--seed-font-size-limit-max)));
4203
4208
  color: var(--seed-color-fg-critical);
4204
- margin-top: .25rem;
4205
- margin-left: .125rem;
4206
4209
  display: inline;
4207
4210
  }
4208
4211
 
@@ -5043,27 +5046,6 @@
5043
5046
  inset: 0;
5044
5047
  }
5045
5048
 
5046
- .seed-menu-sheet__backdrop:not(:is([data-state="open"], [data-open])) {
5047
- animation: seed-exit;
5048
- animation-timing-function: var(--seed-timing-function-exit);
5049
- animation-duration: var(--seed-duration-d2);
5050
- --seed-exit-translate-x: 0;
5051
- --seed-exit-translate-y: 0;
5052
- --seed-exit-opacity: 0;
5053
- --seed-exit-scale: 1;
5054
- animation-fill-mode: forwards;
5055
- }
5056
-
5057
- .seed-menu-sheet__backdrop:is([data-state="open"], [data-open]) {
5058
- animation: seed-enter;
5059
- animation-timing-function: var(--seed-timing-function-enter);
5060
- animation-duration: var(--seed-duration-d2);
5061
- --seed-enter-translate-x: 0;
5062
- --seed-enter-translate-y: 0;
5063
- --seed-enter-opacity: 0;
5064
- --seed-enter-scale: 1;
5065
- }
5066
-
5067
5049
  .seed-menu-sheet__content {
5068
5050
  box-sizing: border-box;
5069
5051
  word-break: break-all;
@@ -5081,27 +5063,6 @@
5081
5063
  position: relative;
5082
5064
  }
5083
5065
 
5084
- .seed-menu-sheet__content:not(:is([data-state="open"], [data-open])) {
5085
- animation: seed-exit;
5086
- animation-timing-function: var(--seed-timing-function-exit);
5087
- animation-duration: var(--seed-duration-d4);
5088
- --seed-exit-translate-x: 0;
5089
- --seed-exit-translate-y: 100%;
5090
- --seed-exit-opacity: 1;
5091
- --seed-exit-scale: 1;
5092
- animation-fill-mode: forwards;
5093
- }
5094
-
5095
- .seed-menu-sheet__content:is([data-state="open"], [data-open]) {
5096
- animation: seed-enter;
5097
- animation-timing-function: var(--seed-timing-function-enter-expressive);
5098
- animation-duration: var(--seed-duration-d6);
5099
- --seed-enter-translate-x: 0;
5100
- --seed-enter-translate-y: 100%;
5101
- --seed-enter-opacity: 1;
5102
- --seed-enter-scale: 1;
5103
- }
5104
-
5105
5066
  .seed-menu-sheet__header {
5106
5067
  align-items: center;
5107
5068
  gap: var(--seed-dimension-x1);
@@ -5164,6 +5125,48 @@
5164
5125
  background-color: var(--seed-color-bg-neutral-weak-pressed);
5165
5126
  }
5166
5127
 
5128
+ .seed-menu-sheet__backdrop--skipAnimation_false:is([data-state="open"], [data-open]) {
5129
+ animation: seed-enter;
5130
+ animation-timing-function: var(--seed-timing-function-enter);
5131
+ animation-duration: var(--seed-duration-d2);
5132
+ --seed-enter-translate-x: 0;
5133
+ --seed-enter-translate-y: 0;
5134
+ --seed-enter-opacity: 0;
5135
+ --seed-enter-scale: 1;
5136
+ }
5137
+
5138
+ .seed-menu-sheet__backdrop--skipAnimation_false:not(:is([data-state="open"], [data-open])) {
5139
+ animation: seed-exit;
5140
+ animation-timing-function: var(--seed-timing-function-exit);
5141
+ animation-duration: var(--seed-duration-d2);
5142
+ --seed-exit-translate-x: 0;
5143
+ --seed-exit-translate-y: 0;
5144
+ --seed-exit-opacity: 0;
5145
+ --seed-exit-scale: 1;
5146
+ animation-fill-mode: forwards;
5147
+ }
5148
+
5149
+ .seed-menu-sheet__content--skipAnimation_false:is([data-state="open"], [data-open]) {
5150
+ animation: seed-enter;
5151
+ animation-timing-function: var(--seed-timing-function-enter-expressive);
5152
+ animation-duration: var(--seed-duration-d6);
5153
+ --seed-enter-translate-x: 0;
5154
+ --seed-enter-translate-y: 100%;
5155
+ --seed-enter-opacity: 1;
5156
+ --seed-enter-scale: 1;
5157
+ }
5158
+
5159
+ .seed-menu-sheet__content--skipAnimation_false:not(:is([data-state="open"], [data-open])) {
5160
+ animation: seed-exit;
5161
+ animation-timing-function: var(--seed-timing-function-exit);
5162
+ animation-duration: var(--seed-duration-d4);
5163
+ --seed-exit-translate-x: 0;
5164
+ --seed-exit-translate-y: 100%;
5165
+ --seed-exit-opacity: 1;
5166
+ --seed-exit-scale: 1;
5167
+ animation-fill-mode: forwards;
5168
+ }
5169
+
5167
5170
  .seed-menu-sheet-item {
5168
5171
  background-color: var(--seed-color-bg-neutral-weak);
5169
5172
  min-height: 52px;