@seed-design/css 1.1.9 → 1.1.10
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 +33 -2
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/field.css +5 -1
- package/recipes/page-banner.css +17 -0
- package/recipes/page-banner.d.ts +1 -1
- package/recipes/page-banner.mjs +6 -1
- package/recipes/segmented-control.css +1 -1
- package/recipes/text-input.css +10 -0
- package/vars/component/callout.d.ts +2 -2
- package/vars/component/callout.mjs +2 -2
- package/vars/component/page-banner.d.ts +27 -0
- package/vars/component/page-banner.mjs +27 -0
- package/vars/component/segmented-control.d.ts +0 -1
- package/vars/component/segmented-control.mjs +0 -1
- package/vars/component/skeleton.d.ts +2 -2
- package/vars/component/skeleton.mjs +2 -2
package/package.json
CHANGED
package/recipes/field.css
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
}
|
|
15
15
|
.seed-field__footer {
|
|
16
16
|
display: flex;
|
|
17
|
-
justify-content: space-between;
|
|
18
17
|
align-items: flex-start;
|
|
19
18
|
padding-left: var(--seed-dimension-x0_5);
|
|
20
19
|
padding-right: var(--seed-dimension-x0_5);
|
|
@@ -42,6 +41,11 @@
|
|
|
42
41
|
--seed-prefix-icon-margin-right: var(--seed-dimension-x1_5);
|
|
43
42
|
--seed-prefix-icon-margin-top: calc((var(--seed-line-height-t4) - var(--seed-dimension-x4)) / 2);
|
|
44
43
|
}
|
|
44
|
+
.seed-field__characterCountArea {
|
|
45
|
+
margin-left: auto;
|
|
46
|
+
font-size: var(--seed-font-size-t4);
|
|
47
|
+
line-height: var(--seed-line-height-t4);
|
|
48
|
+
}
|
|
45
49
|
.seed-field__characterCount {
|
|
46
50
|
color: var(--seed-color-fg-neutral);
|
|
47
51
|
font-weight: var(--seed-font-weight-regular);
|
package/recipes/page-banner.css
CHANGED
|
@@ -250,4 +250,21 @@
|
|
|
250
250
|
}
|
|
251
251
|
.seed-page-banner__button--tone_critical-variant_solid {
|
|
252
252
|
color: var(--seed-color-palette-static-white);
|
|
253
|
+
}
|
|
254
|
+
.seed-page-banner__root--tone_magic-variant_weak {
|
|
255
|
+
background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic));
|
|
256
|
+
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
257
|
+
--seed-suffix-icon-color: var(--seed-color-fg-neutral);
|
|
258
|
+
}
|
|
259
|
+
.seed-page-banner__root--tone_magic-variant_weak:is(button):is(:active, [data-active]) {
|
|
260
|
+
background-image: linear-gradient(88deg, var(--seed-gradient-glow-magic-pressed));
|
|
261
|
+
}
|
|
262
|
+
.seed-page-banner__title--tone_magic-variant_weak {
|
|
263
|
+
color: var(--seed-color-fg-neutral);
|
|
264
|
+
}
|
|
265
|
+
.seed-page-banner__description--tone_magic-variant_weak {
|
|
266
|
+
color: var(--seed-color-fg-neutral);
|
|
267
|
+
}
|
|
268
|
+
.seed-page-banner__button--tone_magic-variant_weak {
|
|
269
|
+
color: var(--seed-color-fg-neutral);
|
|
253
270
|
}
|
package/recipes/page-banner.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare interface PageBannerVariant {
|
|
|
6
6
|
/**
|
|
7
7
|
* @default "neutral"
|
|
8
8
|
*/
|
|
9
|
-
tone: "neutral" | "informative" | "positive" | "warning" | "critical";
|
|
9
|
+
tone: "neutral" | "informative" | "positive" | "warning" | "critical" | "magic";
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
declare type PageBannerVariantMap = {
|
package/recipes/page-banner.mjs
CHANGED
|
@@ -77,6 +77,10 @@ const compoundVariants = [
|
|
|
77
77
|
{
|
|
78
78
|
"tone": "critical",
|
|
79
79
|
"variant": "solid"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"tone": "magic",
|
|
83
|
+
"variant": "weak"
|
|
80
84
|
}
|
|
81
85
|
];
|
|
82
86
|
|
|
@@ -90,7 +94,8 @@ export const pageBannerVariantMap = {
|
|
|
90
94
|
"informative",
|
|
91
95
|
"positive",
|
|
92
96
|
"warning",
|
|
93
|
-
"critical"
|
|
97
|
+
"critical",
|
|
98
|
+
"magic"
|
|
94
99
|
]
|
|
95
100
|
};
|
|
96
101
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
width: calc((100% - var(--seed-dimension-x1) * 2) / var(--segment-count));
|
|
23
23
|
border-radius: var(--seed-radius-full);
|
|
24
24
|
background-color: var(--seed-color-palette-gray-00);
|
|
25
|
-
box-shadow:
|
|
25
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
|
26
26
|
transition: transform var(--seed-duration-d4) var(--seed-timing-function-easing);
|
|
27
27
|
}
|
|
28
28
|
.seed-segmented-control__item {
|
package/recipes/text-input.css
CHANGED
|
@@ -26,6 +26,16 @@
|
|
|
26
26
|
color: var(--seed-color-fg-placeholder);
|
|
27
27
|
font-weight: var(--seed-font-weight-regular);
|
|
28
28
|
}
|
|
29
|
+
.seed-text-input__value:is(:-webkit-autofill, :autofill) {
|
|
30
|
+
-webkit-text-fill-color: var(--seed-color-fg-neutral);
|
|
31
|
+
transition: background-color 2147483647s 2147483647s;
|
|
32
|
+
}
|
|
33
|
+
@supports (background-clip: text) {
|
|
34
|
+
.seed-text-input__value:is(:-webkit-autofill, :autofill) {
|
|
35
|
+
background-clip: text;
|
|
36
|
+
transition: none;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
29
39
|
.seed-text-input__value:is(:disabled, [disabled], [data-disabled]) {
|
|
30
40
|
color: var(--seed-color-fg-disabled);
|
|
31
41
|
}
|
|
@@ -170,7 +170,7 @@ export declare const vars: {
|
|
|
170
170
|
"toneMagic": {
|
|
171
171
|
"enabled": {
|
|
172
172
|
"root": {
|
|
173
|
-
"
|
|
173
|
+
"gradient": "var(--seed-gradient-glow-magic)"
|
|
174
174
|
},
|
|
175
175
|
"prefixIcon": {
|
|
176
176
|
"color": "var(--seed-color-fg-neutral)"
|
|
@@ -190,7 +190,7 @@ export declare const vars: {
|
|
|
190
190
|
},
|
|
191
191
|
"pressed": {
|
|
192
192
|
"root": {
|
|
193
|
-
"
|
|
193
|
+
"gradient": "var(--seed-gradient-glow-magic-pressed)"
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -170,7 +170,7 @@ export const vars = {
|
|
|
170
170
|
"toneMagic": {
|
|
171
171
|
"enabled": {
|
|
172
172
|
"root": {
|
|
173
|
-
"
|
|
173
|
+
"gradient": "var(--seed-gradient-glow-magic)"
|
|
174
174
|
},
|
|
175
175
|
"prefixIcon": {
|
|
176
176
|
"color": "var(--seed-color-fg-neutral)"
|
|
@@ -190,7 +190,7 @@ export const vars = {
|
|
|
190
190
|
},
|
|
191
191
|
"pressed": {
|
|
192
192
|
"root": {
|
|
193
|
-
"
|
|
193
|
+
"gradient": "var(--seed-gradient-glow-magic-pressed)"
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -305,5 +305,32 @@ export declare const vars: {
|
|
|
305
305
|
"color": "var(--seed-color-bg-critical-solid-pressed)"
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
+
},
|
|
309
|
+
"toneMagicVariantWeak": {
|
|
310
|
+
"enabled": {
|
|
311
|
+
"root": {
|
|
312
|
+
"gradient": "var(--seed-gradient-glow-magic)"
|
|
313
|
+
},
|
|
314
|
+
"prefixIcon": {
|
|
315
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
316
|
+
},
|
|
317
|
+
"title": {
|
|
318
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
319
|
+
},
|
|
320
|
+
"description": {
|
|
321
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
322
|
+
},
|
|
323
|
+
"button": {
|
|
324
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
325
|
+
},
|
|
326
|
+
"suffixIcon": {
|
|
327
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"pressed": {
|
|
331
|
+
"root": {
|
|
332
|
+
"gradient": "var(--seed-gradient-glow-magic-pressed)"
|
|
333
|
+
}
|
|
334
|
+
}
|
|
308
335
|
}
|
|
309
336
|
}
|
|
@@ -305,5 +305,32 @@ export const vars = {
|
|
|
305
305
|
"color": "var(--seed-color-bg-critical-solid-pressed)"
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
+
},
|
|
309
|
+
"toneMagicVariantWeak": {
|
|
310
|
+
"enabled": {
|
|
311
|
+
"root": {
|
|
312
|
+
"gradient": "var(--seed-gradient-glow-magic)"
|
|
313
|
+
},
|
|
314
|
+
"prefixIcon": {
|
|
315
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
316
|
+
},
|
|
317
|
+
"title": {
|
|
318
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
319
|
+
},
|
|
320
|
+
"description": {
|
|
321
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
322
|
+
},
|
|
323
|
+
"button": {
|
|
324
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
325
|
+
},
|
|
326
|
+
"suffixIcon": {
|
|
327
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"pressed": {
|
|
331
|
+
"root": {
|
|
332
|
+
"gradient": "var(--seed-gradient-glow-magic-pressed)"
|
|
333
|
+
}
|
|
334
|
+
}
|
|
308
335
|
}
|
|
309
336
|
}
|
|
@@ -11,7 +11,6 @@ export declare const vars: {
|
|
|
11
11
|
"cornerRadius": "var(--seed-radius-full)",
|
|
12
12
|
"strokeWidth": "1px",
|
|
13
13
|
"strokeColor": "var(--seed-color-stroke-neutral-muted)",
|
|
14
|
-
"shadow": "0px 1px 6px 0px #0000000d",
|
|
15
14
|
"transformDuration": "var(--seed-duration-d4)",
|
|
16
15
|
"transformTimingFunction": "var(--seed-timing-function-easing)"
|
|
17
16
|
}
|
|
@@ -11,7 +11,6 @@ export const vars = {
|
|
|
11
11
|
"cornerRadius": "var(--seed-radius-full)",
|
|
12
12
|
"strokeWidth": "1px",
|
|
13
13
|
"strokeColor": "var(--seed-color-stroke-neutral-muted)",
|
|
14
|
-
"shadow": "0px 1px 6px 0px #0000000d",
|
|
15
14
|
"transformDuration": "var(--seed-duration-d4)",
|
|
16
15
|
"transformTimingFunction": "var(--seed-timing-function-easing)"
|
|
17
16
|
}
|
|
@@ -41,7 +41,7 @@ export declare const vars: {
|
|
|
41
41
|
"color": "var(--seed-color-palette-gray-200)"
|
|
42
42
|
},
|
|
43
43
|
"shimmer": {
|
|
44
|
-
"
|
|
44
|
+
"gradient": "var(--seed-gradient-shimmer-neutral)"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
},
|
|
@@ -51,7 +51,7 @@ export declare const vars: {
|
|
|
51
51
|
"color": "var(--seed-color-bg-magic-weak)"
|
|
52
52
|
},
|
|
53
53
|
"shimmer": {
|
|
54
|
-
"
|
|
54
|
+
"gradient": "var(--seed-gradient-shimmer-magic)"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -41,7 +41,7 @@ export const vars = {
|
|
|
41
41
|
"color": "var(--seed-color-palette-gray-200)"
|
|
42
42
|
},
|
|
43
43
|
"shimmer": {
|
|
44
|
-
"
|
|
44
|
+
"gradient": "var(--seed-gradient-shimmer-neutral)"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
},
|
|
@@ -51,7 +51,7 @@ export const vars = {
|
|
|
51
51
|
"color": "var(--seed-color-bg-magic-weak)"
|
|
52
52
|
},
|
|
53
53
|
"shimmer": {
|
|
54
|
-
"
|
|
54
|
+
"gradient": "var(--seed-gradient-shimmer-magic)"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|