@seed-design/css 1.1.9 → 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;
@@ -4119,7 +4122,6 @@
4119
4122
  .seed-field__footer {
4120
4123
  padding-left: var(--seed-dimension-x0_5);
4121
4124
  padding-right: var(--seed-dimension-x0_5);
4122
- justify-content: space-between;
4123
4125
  align-items: flex-start;
4124
4126
  gap: var(--seed-dimension-x2);
4125
4127
  display: flex;
@@ -4149,6 +4151,12 @@
4149
4151
  display: flex;
4150
4152
  }
4151
4153
 
4154
+ .seed-field__characterCountArea {
4155
+ font-size: var(--seed-font-size-t4);
4156
+ line-height: var(--seed-line-height-t4);
4157
+ margin-left: auto;
4158
+ }
4159
+
4152
4160
  .seed-field__characterCount {
4153
4161
  color: var(--seed-color-fg-neutral);
4154
4162
  font-weight: var(--seed-font-weight-regular);
@@ -4183,21 +4191,21 @@
4183
4191
 
4184
4192
  .seed-field-label__indicatorText {
4185
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)));
4186
4195
  color: var(--seed-color-fg-neutral-subtle);
4187
4196
  font-size: var(--seed-font-size-t4);
4188
4197
  line-height: var(--seed-line-height-t5);
4189
4198
  font-weight: var(--seed-font-weight-regular);
4190
- padding-left: .25rem;
4191
4199
  display: inline;
4192
4200
  }
4193
4201
 
4194
4202
  .seed-field-label__indicatorIcon {
4195
4203
  vertical-align: top;
4196
- width: .375rem;
4197
- 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)));
4198
4208
  color: var(--seed-color-fg-critical);
4199
- margin-top: .25rem;
4200
- margin-left: .125rem;
4201
4209
  display: inline;
4202
4210
  }
4203
4211
 
@@ -5038,27 +5046,6 @@
5038
5046
  inset: 0;
5039
5047
  }
5040
5048
 
5041
- .seed-menu-sheet__backdrop:not(:is([data-state="open"], [data-open])) {
5042
- animation: seed-exit;
5043
- animation-timing-function: var(--seed-timing-function-exit);
5044
- animation-duration: var(--seed-duration-d2);
5045
- --seed-exit-translate-x: 0;
5046
- --seed-exit-translate-y: 0;
5047
- --seed-exit-opacity: 0;
5048
- --seed-exit-scale: 1;
5049
- animation-fill-mode: forwards;
5050
- }
5051
-
5052
- .seed-menu-sheet__backdrop:is([data-state="open"], [data-open]) {
5053
- animation: seed-enter;
5054
- animation-timing-function: var(--seed-timing-function-enter);
5055
- animation-duration: var(--seed-duration-d2);
5056
- --seed-enter-translate-x: 0;
5057
- --seed-enter-translate-y: 0;
5058
- --seed-enter-opacity: 0;
5059
- --seed-enter-scale: 1;
5060
- }
5061
-
5062
5049
  .seed-menu-sheet__content {
5063
5050
  box-sizing: border-box;
5064
5051
  word-break: break-all;
@@ -5076,27 +5063,6 @@
5076
5063
  position: relative;
5077
5064
  }
5078
5065
 
5079
- .seed-menu-sheet__content:not(:is([data-state="open"], [data-open])) {
5080
- animation: seed-exit;
5081
- animation-timing-function: var(--seed-timing-function-exit);
5082
- animation-duration: var(--seed-duration-d4);
5083
- --seed-exit-translate-x: 0;
5084
- --seed-exit-translate-y: 100%;
5085
- --seed-exit-opacity: 1;
5086
- --seed-exit-scale: 1;
5087
- animation-fill-mode: forwards;
5088
- }
5089
-
5090
- .seed-menu-sheet__content:is([data-state="open"], [data-open]) {
5091
- animation: seed-enter;
5092
- animation-timing-function: var(--seed-timing-function-enter-expressive);
5093
- animation-duration: var(--seed-duration-d6);
5094
- --seed-enter-translate-x: 0;
5095
- --seed-enter-translate-y: 100%;
5096
- --seed-enter-opacity: 1;
5097
- --seed-enter-scale: 1;
5098
- }
5099
-
5100
5066
  .seed-menu-sheet__header {
5101
5067
  align-items: center;
5102
5068
  gap: var(--seed-dimension-x1);
@@ -5159,6 +5125,48 @@
5159
5125
  background-color: var(--seed-color-bg-neutral-weak-pressed);
5160
5126
  }
5161
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
+
5162
5170
  .seed-menu-sheet-item {
5163
5171
  background-color: var(--seed-color-bg-neutral-weak);
5164
5172
  min-height: 52px;
@@ -5506,6 +5514,20 @@
5506
5514
  color: var(--seed-color-palette-static-white);
5507
5515
  }
5508
5516
 
5517
+ .seed-page-banner__root--tone_magic-variant_weak {
5518
+ background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic));
5519
+ --seed-prefix-icon-color: var(--seed-color-fg-neutral);
5520
+ --seed-suffix-icon-color: var(--seed-color-fg-neutral);
5521
+ }
5522
+
5523
+ .seed-page-banner__root--tone_magic-variant_weak:is(button):is(:active, [data-active]) {
5524
+ background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic-pressed));
5525
+ }
5526
+
5527
+ .seed-page-banner__title--tone_magic-variant_weak, .seed-page-banner__description--tone_magic-variant_weak, .seed-page-banner__button--tone_magic-variant_weak {
5528
+ color: var(--seed-color-fg-neutral);
5529
+ }
5530
+
5509
5531
  .seed-progress-circle__root {
5510
5532
  box-sizing: border-box;
5511
5533
  display: inline-flex;
@@ -5882,7 +5904,7 @@
5882
5904
  width: calc((100% - var(--seed-dimension-x1) * 2) / var(--segment-count));
5883
5905
  border-radius: var(--seed-radius-full);
5884
5906
  background-color: var(--seed-color-palette-gray-00);
5885
- box-shadow: 0px 1px 6px 0px #0000000d, inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
5907
+ box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
5886
5908
  transition: transform var(--seed-duration-d4) var(--seed-timing-function-easing);
5887
5909
  position: absolute;
5888
5910
  }
@@ -7129,6 +7151,18 @@
7129
7151
  font-weight: var(--seed-font-weight-regular);
7130
7152
  }
7131
7153
 
7154
+ .seed-text-input__value:is(:autofill, :autofill) {
7155
+ -webkit-text-fill-color: var(--seed-color-fg-neutral);
7156
+ transition: background-color 2147480000s 2147480000s;
7157
+ }
7158
+
7159
+ @supports (background-clip: text) {
7160
+ .seed-text-input__value:is(:autofill, :autofill) {
7161
+ background-clip: text;
7162
+ transition: none;
7163
+ }
7164
+ }
7165
+
7132
7166
  .seed-text-input__value:is(:disabled, [disabled], [data-disabled]), .seed-text-input__value:is(:disabled, [disabled], [data-disabled])::placeholder {
7133
7167
  color: var(--seed-color-fg-disabled);
7134
7168
  }