@seed-design/css 1.1.10 → 1.1.13
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 +154 -143
- package/all.min.css +1 -1
- package/base.css +12 -4
- package/base.min.css +1 -1
- package/package.json +1 -1
- package/recipes/action-button.css +6 -6
- package/recipes/badge.css +2 -2
- package/recipes/bottom-sheet.css +34 -32
- package/recipes/bottom-sheet.d.ts +4 -0
- package/recipes/bottom-sheet.mjs +5 -1
- package/recipes/contextual-floating-button.css +1 -1
- package/recipes/dialog.css +45 -45
- package/recipes/dialog.d.ts +4 -1
- package/recipes/dialog.mjs +8 -2
- package/recipes/field-label.css +5 -5
- package/recipes/floating-action-button.css +1 -1
- package/recipes/menu-sheet.css +38 -38
- package/recipes/menu-sheet.d.ts +4 -1
- package/recipes/menu-sheet.mjs +8 -2
- package/recipes/toggle-button.css +2 -2
- package/theming/index.cjs +29 -2
- package/theming/index.mjs +29 -2
- package/vars/component/action-button.d.ts +2 -2
- package/vars/component/action-button.mjs +2 -2
- package/vars/component/contextual-floating-button.d.ts +1 -1
- package/vars/component/contextual-floating-button.mjs +1 -1
- package/vars/component/floating-action-button.d.ts +1 -1
- package/vars/component/floating-action-button.mjs +1 -1
- package/vars/component/radiomark.d.ts +30 -14
- package/vars/component/radiomark.mjs +30 -14
- package/vars/component/toggle-button.d.ts +2 -2
- package/vars/component/toggle-button.mjs +2 -2
- package/vars/index.d.ts +2 -0
- package/vars/shadow.d.ts +3 -0
- package/vars/shadow.mjs +3 -0
- package/vars/vars.d.ts +2 -1
- package/vars/vars.mjs +2 -1
package/recipes/menu-sheet.css
CHANGED
|
@@ -20,25 +20,6 @@
|
|
|
20
20
|
background: var(--seed-color-bg-overlay);
|
|
21
21
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
22
22
|
}
|
|
23
|
-
.seed-menu-sheet__backdrop:not(:is([data-state="open"], [data-open])) {
|
|
24
|
-
animation: seed-exit;
|
|
25
|
-
animation-timing-function: var(--seed-timing-function-exit);
|
|
26
|
-
animation-duration: var(--seed-duration-d2);
|
|
27
|
-
animation-fill-mode: forwards;
|
|
28
|
-
--seed-exit-translate-x: 0;
|
|
29
|
-
--seed-exit-translate-y: 0;
|
|
30
|
-
--seed-exit-opacity: 0;
|
|
31
|
-
--seed-exit-scale: 1;
|
|
32
|
-
}
|
|
33
|
-
.seed-menu-sheet__backdrop:is([data-state="open"], [data-open]) {
|
|
34
|
-
animation: seed-enter;
|
|
35
|
-
animation-timing-function: var(--seed-timing-function-enter);
|
|
36
|
-
animation-duration: var(--seed-duration-d2);
|
|
37
|
-
--seed-enter-translate-x: 0;
|
|
38
|
-
--seed-enter-translate-y: 0;
|
|
39
|
-
--seed-enter-opacity: 0;
|
|
40
|
-
--seed-enter-scale: 1;
|
|
41
|
-
}
|
|
42
23
|
.seed-menu-sheet__content {
|
|
43
24
|
position: relative;
|
|
44
25
|
display: flex;
|
|
@@ -55,25 +36,6 @@
|
|
|
55
36
|
border-top-left-radius: var(--seed-radius-r5);
|
|
56
37
|
border-top-right-radius: var(--seed-radius-r5);
|
|
57
38
|
}
|
|
58
|
-
.seed-menu-sheet__content:not(:is([data-state="open"], [data-open])) {
|
|
59
|
-
animation: seed-exit;
|
|
60
|
-
animation-timing-function: var(--seed-timing-function-exit);
|
|
61
|
-
animation-duration: var(--seed-duration-d4);
|
|
62
|
-
animation-fill-mode: forwards;
|
|
63
|
-
--seed-exit-translate-x: 0;
|
|
64
|
-
--seed-exit-translate-y: 100%;
|
|
65
|
-
--seed-exit-opacity: 1;
|
|
66
|
-
--seed-exit-scale: 1;
|
|
67
|
-
}
|
|
68
|
-
.seed-menu-sheet__content:is([data-state="open"], [data-open]) {
|
|
69
|
-
animation: seed-enter;
|
|
70
|
-
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
71
|
-
animation-duration: var(--seed-duration-d6);
|
|
72
|
-
--seed-enter-translate-x: 0;
|
|
73
|
-
--seed-enter-translate-y: 100%;
|
|
74
|
-
--seed-enter-opacity: 1;
|
|
75
|
-
--seed-enter-scale: 1;
|
|
76
|
-
}
|
|
77
39
|
.seed-menu-sheet__header {
|
|
78
40
|
display: flex;
|
|
79
41
|
flex-direction: column;
|
|
@@ -128,4 +90,42 @@
|
|
|
128
90
|
}
|
|
129
91
|
.seed-menu-sheet__closeButton:is(:active, [data-active]) {
|
|
130
92
|
background-color: var(--seed-color-bg-neutral-weak-pressed);
|
|
93
|
+
}
|
|
94
|
+
.seed-menu-sheet__backdrop--skipAnimation_false:is([data-state="open"], [data-open]) {
|
|
95
|
+
animation: seed-enter;
|
|
96
|
+
animation-timing-function: var(--seed-timing-function-enter);
|
|
97
|
+
animation-duration: var(--seed-duration-d2);
|
|
98
|
+
--seed-enter-translate-x: 0;
|
|
99
|
+
--seed-enter-translate-y: 0;
|
|
100
|
+
--seed-enter-opacity: 0;
|
|
101
|
+
--seed-enter-scale: 1;
|
|
102
|
+
}
|
|
103
|
+
.seed-menu-sheet__backdrop--skipAnimation_false:not(:is([data-state="open"], [data-open])) {
|
|
104
|
+
animation: seed-exit;
|
|
105
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
106
|
+
animation-duration: var(--seed-duration-d2);
|
|
107
|
+
animation-fill-mode: forwards;
|
|
108
|
+
--seed-exit-translate-x: 0;
|
|
109
|
+
--seed-exit-translate-y: 0;
|
|
110
|
+
--seed-exit-opacity: 0;
|
|
111
|
+
--seed-exit-scale: 1;
|
|
112
|
+
}
|
|
113
|
+
.seed-menu-sheet__content--skipAnimation_false:is([data-state="open"], [data-open]) {
|
|
114
|
+
animation: seed-enter;
|
|
115
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
116
|
+
animation-duration: var(--seed-duration-d6);
|
|
117
|
+
--seed-enter-translate-x: 0;
|
|
118
|
+
--seed-enter-translate-y: 100%;
|
|
119
|
+
--seed-enter-opacity: 1;
|
|
120
|
+
--seed-enter-scale: 1;
|
|
121
|
+
}
|
|
122
|
+
.seed-menu-sheet__content--skipAnimation_false:not(:is([data-state="open"], [data-open])) {
|
|
123
|
+
animation: seed-exit;
|
|
124
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
125
|
+
animation-duration: var(--seed-duration-d4);
|
|
126
|
+
animation-fill-mode: forwards;
|
|
127
|
+
--seed-exit-translate-x: 0;
|
|
128
|
+
--seed-exit-translate-y: 100%;
|
|
129
|
+
--seed-exit-opacity: 1;
|
|
130
|
+
--seed-exit-scale: 1;
|
|
131
131
|
}
|
package/recipes/menu-sheet.d.ts
CHANGED
package/recipes/menu-sheet.mjs
CHANGED
|
@@ -40,11 +40,17 @@ const menuSheetSlotNames = [
|
|
|
40
40
|
]
|
|
41
41
|
];
|
|
42
42
|
|
|
43
|
-
const defaultVariant = {
|
|
43
|
+
const defaultVariant = {
|
|
44
|
+
"skipAnimation": false
|
|
45
|
+
};
|
|
44
46
|
|
|
45
47
|
const compoundVariants = [];
|
|
46
48
|
|
|
47
|
-
export const menuSheetVariantMap = {
|
|
49
|
+
export const menuSheetVariantMap = {
|
|
50
|
+
"skipAnimation": [
|
|
51
|
+
false
|
|
52
|
+
]
|
|
53
|
+
};
|
|
48
54
|
|
|
49
55
|
export const menuSheetVariantKeys = Object.keys(menuSheetVariantMap);
|
|
50
56
|
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
padding-right: var(--seed-dimension-x3_5);
|
|
106
106
|
padding-top: var(--seed-dimension-x1_5);
|
|
107
107
|
padding-bottom: var(--seed-dimension-x1_5);
|
|
108
|
-
font-size: var(--seed-font-size-
|
|
109
|
-
line-height: var(--seed-line-height-
|
|
108
|
+
font-size: var(--seed-font-size-t3);
|
|
109
|
+
line-height: var(--seed-line-height-t3);
|
|
110
110
|
--size: 14px;
|
|
111
111
|
--thickness: 2px;
|
|
112
112
|
--seed-prefix-icon-size: var(--seed-dimension-x3_5);
|
package/theming/index.cjs
CHANGED
|
@@ -43,8 +43,35 @@ function generateThemingScript({ mode = DefaultColorModeValue, fontScaling = fal
|
|
|
43
43
|
} catch (e) {}
|
|
44
44
|
|
|
45
45
|
try {
|
|
46
|
-
if (${fontScaling}
|
|
47
|
-
document.documentElement.dataset.
|
|
46
|
+
if (${fontScaling}) {
|
|
47
|
+
var platform = document.documentElement.dataset.seedPlatform;
|
|
48
|
+
|
|
49
|
+
if (platform === 'ios') {
|
|
50
|
+
document.documentElement.dataset.seedFontScaling = 'enabled';
|
|
51
|
+
|
|
52
|
+
function applyIOSFontScaling() {
|
|
53
|
+
try {
|
|
54
|
+
var tempEl = document.createElement('div');
|
|
55
|
+
tempEl.style.cssText = 'position:absolute;visibility:hidden;font-size:16px;font:-apple-system-body;';
|
|
56
|
+
document.body.appendChild(tempEl);
|
|
57
|
+
var size = parseFloat(window.getComputedStyle(tempEl).fontSize);
|
|
58
|
+
document.body.removeChild(tempEl);
|
|
59
|
+
var mult = Math.max(0.8, Math.min(1.35, (size / 16) * 0.9412));
|
|
60
|
+
document.documentElement.dataset.seedFontMultiplier = parseFloat(mult.toFixed(2)).toString();
|
|
61
|
+
} catch (e) {}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (document.readyState === 'loading') {
|
|
65
|
+
document.addEventListener('DOMContentLoaded', applyIOSFontScaling);
|
|
66
|
+
} else {
|
|
67
|
+
applyIOSFontScaling();
|
|
68
|
+
}
|
|
69
|
+
} else if (platform === 'android') {
|
|
70
|
+
var fontSize = parseFloat(window.getComputedStyle(document.documentElement).fontSize);
|
|
71
|
+
var scale = Math.max(0.8, Math.min(1.5, fontSize / 16));
|
|
72
|
+
document.documentElement.dataset.seedFontMultiplier = parseFloat(scale.toFixed(2)).toString();
|
|
73
|
+
document.documentElement.dataset.seedFontScaling = 'enabled';
|
|
74
|
+
}
|
|
48
75
|
}
|
|
49
76
|
} catch (e) {}
|
|
50
77
|
})(window, document, '${mode}');
|
package/theming/index.mjs
CHANGED
|
@@ -43,8 +43,35 @@ export const generateThemingScript = ({ mode = DefaultColorModeValue, fontScalin
|
|
|
43
43
|
} catch (e) {}
|
|
44
44
|
|
|
45
45
|
try {
|
|
46
|
-
if (${fontScaling}
|
|
47
|
-
document.documentElement.dataset.
|
|
46
|
+
if (${fontScaling}) {
|
|
47
|
+
var platform = document.documentElement.dataset.seedPlatform;
|
|
48
|
+
|
|
49
|
+
if (platform === 'ios') {
|
|
50
|
+
document.documentElement.dataset.seedFontScaling = 'enabled';
|
|
51
|
+
|
|
52
|
+
function applyIOSFontScaling() {
|
|
53
|
+
try {
|
|
54
|
+
var tempEl = document.createElement('div');
|
|
55
|
+
tempEl.style.cssText = 'position:absolute;visibility:hidden;font-size:16px;font:-apple-system-body;';
|
|
56
|
+
document.body.appendChild(tempEl);
|
|
57
|
+
var size = parseFloat(window.getComputedStyle(tempEl).fontSize);
|
|
58
|
+
document.body.removeChild(tempEl);
|
|
59
|
+
var mult = Math.max(0.8, Math.min(1.35, (size / 16) * 0.9412));
|
|
60
|
+
document.documentElement.dataset.seedFontMultiplier = parseFloat(mult.toFixed(2)).toString();
|
|
61
|
+
} catch (e) {}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (document.readyState === 'loading') {
|
|
65
|
+
document.addEventListener('DOMContentLoaded', applyIOSFontScaling);
|
|
66
|
+
} else {
|
|
67
|
+
applyIOSFontScaling();
|
|
68
|
+
}
|
|
69
|
+
} else if (platform === 'android') {
|
|
70
|
+
var fontSize = parseFloat(window.getComputedStyle(document.documentElement).fontSize);
|
|
71
|
+
var scale = Math.max(0.8, Math.min(1.5, fontSize / 16));
|
|
72
|
+
document.documentElement.dataset.seedFontMultiplier = parseFloat(scale.toFixed(2)).toString();
|
|
73
|
+
document.documentElement.dataset.seedFontScaling = 'enabled';
|
|
74
|
+
}
|
|
48
75
|
}
|
|
49
76
|
} catch (e) {}
|
|
50
77
|
})(window, document, '${mode}');
|
|
@@ -392,8 +392,8 @@ export declare const vars: {
|
|
|
392
392
|
"size": "var(--seed-dimension-x3_5)"
|
|
393
393
|
},
|
|
394
394
|
"label": {
|
|
395
|
-
"fontSize": "var(--seed-font-size-
|
|
396
|
-
"lineHeight": "var(--seed-line-height-
|
|
395
|
+
"fontSize": "var(--seed-font-size-t3)",
|
|
396
|
+
"lineHeight": "var(--seed-line-height-t3)"
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
},
|
|
@@ -392,8 +392,8 @@ export const vars = {
|
|
|
392
392
|
"size": "var(--seed-dimension-x3_5)"
|
|
393
393
|
},
|
|
394
394
|
"label": {
|
|
395
|
-
"fontSize": "var(--seed-font-size-
|
|
396
|
-
"lineHeight": "var(--seed-line-height-
|
|
395
|
+
"fontSize": "var(--seed-font-size-t3)",
|
|
396
|
+
"lineHeight": "var(--seed-line-height-t3)"
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
},
|
|
@@ -3,7 +3,7 @@ export declare const vars: {
|
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
5
|
"cornerRadius": "var(--seed-radius-full)",
|
|
6
|
-
"shadow": "
|
|
6
|
+
"shadow": "var(--seed-shadow-s3)",
|
|
7
7
|
"colorDuration": "var(--seed-duration-color-transition)",
|
|
8
8
|
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
9
9
|
},
|
|
@@ -3,7 +3,7 @@ export const vars = {
|
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
5
|
"cornerRadius": "var(--seed-radius-full)",
|
|
6
|
-
"shadow": "
|
|
6
|
+
"shadow": "var(--seed-shadow-s3)",
|
|
7
7
|
"colorDuration": "var(--seed-duration-color-transition)",
|
|
8
8
|
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
9
9
|
},
|
|
@@ -4,7 +4,7 @@ export declare const vars: {
|
|
|
4
4
|
"root": {
|
|
5
5
|
"color": "var(--seed-color-bg-brand-solid)",
|
|
6
6
|
"cornerRadius": "var(--seed-radius-full)",
|
|
7
|
-
"shadow": "
|
|
7
|
+
"shadow": "var(--seed-shadow-s3)",
|
|
8
8
|
"colorDuration": "var(--seed-duration-color-transition)",
|
|
9
9
|
"colorTimingFunction": "var(--seed-timing-function-easing)",
|
|
10
10
|
"layoutDuration": "var(--seed-duration-d4)",
|
|
@@ -4,7 +4,7 @@ export const vars = {
|
|
|
4
4
|
"root": {
|
|
5
5
|
"color": "var(--seed-color-bg-brand-solid)",
|
|
6
6
|
"cornerRadius": "var(--seed-radius-full)",
|
|
7
|
-
"shadow": "
|
|
7
|
+
"shadow": "var(--seed-shadow-s3)",
|
|
8
8
|
"colorDuration": "var(--seed-duration-color-transition)",
|
|
9
9
|
"colorTimingFunction": "var(--seed-timing-function-easing)",
|
|
10
10
|
"layoutDuration": "var(--seed-duration-d4)",
|
|
@@ -22,20 +22,6 @@ export declare const vars: {
|
|
|
22
22
|
"strokeWidth": "0px",
|
|
23
23
|
"strokeColor": "#00000000"
|
|
24
24
|
}
|
|
25
|
-
},
|
|
26
|
-
"disabled": {
|
|
27
|
-
"root": {
|
|
28
|
-
"color": "var(--seed-color-palette-gray-300)"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"disabledSelected": {
|
|
32
|
-
"root": {
|
|
33
|
-
"color": "var(--seed-color-bg-transparent)",
|
|
34
|
-
"strokeColor": "var(--seed-color-palette-gray-300)"
|
|
35
|
-
},
|
|
36
|
-
"icon": {
|
|
37
|
-
"color": "var(--seed-color-palette-gray-300)"
|
|
38
|
-
}
|
|
39
25
|
}
|
|
40
26
|
},
|
|
41
27
|
"toneBrand": {
|
|
@@ -51,6 +37,21 @@ export declare const vars: {
|
|
|
51
37
|
"root": {
|
|
52
38
|
"color": "var(--seed-color-bg-brand-solid-pressed)"
|
|
53
39
|
}
|
|
40
|
+
},
|
|
41
|
+
"disabled": {
|
|
42
|
+
"root": {
|
|
43
|
+
"color": "var(--seed-color-palette-gray-300)"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"disabledSelected": {
|
|
47
|
+
"root": {
|
|
48
|
+
"color": "var(--seed-color-bg-transparent)",
|
|
49
|
+
"strokeWidth": "1px",
|
|
50
|
+
"strokeColor": "var(--seed-color-palette-gray-300)"
|
|
51
|
+
},
|
|
52
|
+
"icon": {
|
|
53
|
+
"color": "var(--seed-color-palette-gray-300)"
|
|
54
|
+
}
|
|
54
55
|
}
|
|
55
56
|
},
|
|
56
57
|
"toneNeutral": {
|
|
@@ -66,6 +67,21 @@ export declare const vars: {
|
|
|
66
67
|
"root": {
|
|
67
68
|
"color": "var(--seed-color-bg-neutral-inverted-pressed)"
|
|
68
69
|
}
|
|
70
|
+
},
|
|
71
|
+
"disabled": {
|
|
72
|
+
"root": {
|
|
73
|
+
"color": "var(--seed-color-palette-gray-300)"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"disabledSelected": {
|
|
77
|
+
"root": {
|
|
78
|
+
"color": "var(--seed-color-bg-transparent)",
|
|
79
|
+
"strokeWidth": "1px",
|
|
80
|
+
"strokeColor": "var(--seed-color-palette-gray-300)"
|
|
81
|
+
},
|
|
82
|
+
"icon": {
|
|
83
|
+
"color": "var(--seed-color-palette-gray-300)"
|
|
84
|
+
}
|
|
69
85
|
}
|
|
70
86
|
},
|
|
71
87
|
"sizeMedium": {
|
|
@@ -22,20 +22,6 @@ export const vars = {
|
|
|
22
22
|
"strokeWidth": "0px",
|
|
23
23
|
"strokeColor": "#00000000"
|
|
24
24
|
}
|
|
25
|
-
},
|
|
26
|
-
"disabled": {
|
|
27
|
-
"root": {
|
|
28
|
-
"color": "var(--seed-color-palette-gray-300)"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"disabledSelected": {
|
|
32
|
-
"root": {
|
|
33
|
-
"color": "var(--seed-color-bg-transparent)",
|
|
34
|
-
"strokeColor": "var(--seed-color-palette-gray-300)"
|
|
35
|
-
},
|
|
36
|
-
"icon": {
|
|
37
|
-
"color": "var(--seed-color-palette-gray-300)"
|
|
38
|
-
}
|
|
39
25
|
}
|
|
40
26
|
},
|
|
41
27
|
"toneBrand": {
|
|
@@ -51,6 +37,21 @@ export const vars = {
|
|
|
51
37
|
"root": {
|
|
52
38
|
"color": "var(--seed-color-bg-brand-solid-pressed)"
|
|
53
39
|
}
|
|
40
|
+
},
|
|
41
|
+
"disabled": {
|
|
42
|
+
"root": {
|
|
43
|
+
"color": "var(--seed-color-palette-gray-300)"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"disabledSelected": {
|
|
47
|
+
"root": {
|
|
48
|
+
"color": "var(--seed-color-bg-transparent)",
|
|
49
|
+
"strokeWidth": "1px",
|
|
50
|
+
"strokeColor": "var(--seed-color-palette-gray-300)"
|
|
51
|
+
},
|
|
52
|
+
"icon": {
|
|
53
|
+
"color": "var(--seed-color-palette-gray-300)"
|
|
54
|
+
}
|
|
54
55
|
}
|
|
55
56
|
},
|
|
56
57
|
"toneNeutral": {
|
|
@@ -66,6 +67,21 @@ export const vars = {
|
|
|
66
67
|
"root": {
|
|
67
68
|
"color": "var(--seed-color-bg-neutral-inverted-pressed)"
|
|
68
69
|
}
|
|
70
|
+
},
|
|
71
|
+
"disabled": {
|
|
72
|
+
"root": {
|
|
73
|
+
"color": "var(--seed-color-palette-gray-300)"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"disabledSelected": {
|
|
77
|
+
"root": {
|
|
78
|
+
"color": "var(--seed-color-bg-transparent)",
|
|
79
|
+
"strokeWidth": "1px",
|
|
80
|
+
"strokeColor": "var(--seed-color-palette-gray-300)"
|
|
81
|
+
},
|
|
82
|
+
"icon": {
|
|
83
|
+
"color": "var(--seed-color-palette-gray-300)"
|
|
84
|
+
}
|
|
69
85
|
}
|
|
70
86
|
},
|
|
71
87
|
"sizeMedium": {
|
|
@@ -170,8 +170,8 @@ export declare const vars: {
|
|
|
170
170
|
"size": "var(--seed-dimension-x3_5)"
|
|
171
171
|
},
|
|
172
172
|
"label": {
|
|
173
|
-
"fontSize": "var(--seed-font-size-
|
|
174
|
-
"lineHeight": "var(--seed-line-height-
|
|
173
|
+
"fontSize": "var(--seed-font-size-t3)",
|
|
174
|
+
"lineHeight": "var(--seed-line-height-t3)"
|
|
175
175
|
},
|
|
176
176
|
"progressCircle": {
|
|
177
177
|
"size": "14px",
|
|
@@ -170,8 +170,8 @@ export const vars = {
|
|
|
170
170
|
"size": "var(--seed-dimension-x3_5)"
|
|
171
171
|
},
|
|
172
172
|
"label": {
|
|
173
|
-
"fontSize": "var(--seed-font-size-
|
|
174
|
-
"lineHeight": "var(--seed-line-height-
|
|
173
|
+
"fontSize": "var(--seed-font-size-t3)",
|
|
174
|
+
"lineHeight": "var(--seed-line-height-t3)"
|
|
175
175
|
},
|
|
176
176
|
"progressCircle": {
|
|
177
177
|
"size": "14px",
|
package/vars/index.d.ts
CHANGED
|
@@ -42,3 +42,5 @@ export type Dimension = Exclude<keyof TokenObject["$dimension"], "spacingX" | "s
|
|
|
42
42
|
export type SpacingX = keyof TokenObject["$dimension"]["spacingX"];
|
|
43
43
|
|
|
44
44
|
export type SpacingY = keyof TokenObject["$dimension"]["spacingY"];
|
|
45
|
+
|
|
46
|
+
export type Shadow = keyof TokenObject["$shadow"];
|
package/vars/shadow.d.ts
ADDED
package/vars/shadow.mjs
ADDED
package/vars/vars.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export * as $color from "./color";
|
|
2
|
+
export * as $dimension from "./dimension";
|
|
2
3
|
export * as $duration from "./duration";
|
|
3
4
|
export * as $fontSize from "./font-size";
|
|
4
5
|
export * as $fontWeight from "./font-weight";
|
|
5
6
|
export * as $gradient from "./gradient";
|
|
6
7
|
export * as $lineHeight from "./line-height";
|
|
7
8
|
export * as $radius from "./radius";
|
|
9
|
+
export * as $shadow from "./shadow"
|
|
8
10
|
export * as $timingFunction from "./timing-function";
|
|
9
|
-
export * as $dimension from "./dimension";
|
package/vars/vars.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export * as $color from "./color/index.mjs";
|
|
2
|
+
export * as $dimension from "./dimension/index.mjs";
|
|
2
3
|
export * as $duration from "./duration.mjs";
|
|
3
4
|
export * as $fontSize from "./font-size.mjs";
|
|
4
5
|
export * as $fontWeight from "./font-weight.mjs";
|
|
5
6
|
export * as $gradient from "./gradient.mjs";
|
|
6
7
|
export * as $lineHeight from "./line-height.mjs";
|
|
7
8
|
export * as $radius from "./radius.mjs";
|
|
9
|
+
export * as $shadow from "./shadow.mjs";
|
|
8
10
|
export * as $timingFunction from "./timing-function.mjs";
|
|
9
|
-
export * as $dimension from "./dimension/index.mjs";
|