@seed-design/css 0.1.4 → 0.1.6
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 +198 -12
- package/all.min.css +1 -1
- package/base.css +3 -0
- package/base.min.css +1 -1
- package/package.json +1 -1
- package/recipes/action-button.css +1 -1
- package/recipes/callout.css +7 -4
- package/recipes/chip.css +1 -0
- package/recipes/inline-banner.css +9 -7
- package/recipes/menu-sheet-item.css +36 -0
- package/recipes/menu-sheet-item.d.ts +26 -0
- package/recipes/menu-sheet-item.mjs +34 -0
- package/recipes/menu-sheet.css +117 -0
- package/recipes/menu-sheet.d.ts +21 -0
- package/recipes/menu-sheet.mjs +64 -0
- package/vars/component/action-button.d.ts +1 -1
- package/vars/component/action-button.mjs +1 -1
- package/vars/component/index.d.ts +3 -0
- package/vars/component/index.mjs +3 -0
- package/vars/component/menu-sheet-close-button.d.ts +24 -0
- package/vars/component/menu-sheet-close-button.mjs +24 -0
- package/vars/component/menu-sheet-item.d.ts +52 -0
- package/vars/component/menu-sheet-item.mjs +52 -0
- package/vars/component/menu-sheet.d.ts +55 -0
- package/vars/component/menu-sheet.mjs +55 -0
- package/vars/gradient.d.ts +2 -1
- package/vars/gradient.mjs +2 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const vars = {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
"color": "var(--seed-color-bg-neutral-weak)",
|
|
6
|
+
"minHeight": "52px",
|
|
7
|
+
"cornerRadius": "var(--seed-radius-r3)",
|
|
8
|
+
"paddingX": "var(--seed-dimension-x5)",
|
|
9
|
+
"paddingY": "var(--seed-dimension-x3_5)"
|
|
10
|
+
},
|
|
11
|
+
"label": {
|
|
12
|
+
"color": "var(--seed-color-fg-neutral)",
|
|
13
|
+
"fontSize": "var(--seed-font-size-t5)",
|
|
14
|
+
"lineHeight": "var(--seed-line-height-t5)",
|
|
15
|
+
"fontWeight": "var(--seed-font-weight-medium)"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"pressed": {
|
|
19
|
+
"root": {
|
|
20
|
+
"color": "var(--seed-color-bg-neutral-weak-pressed)"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const vars: {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
"color": "var(--seed-color-bg-neutral-weak)",
|
|
6
|
+
"minHeight": "52px",
|
|
7
|
+
"paddingX": "var(--seed-dimension-x4)",
|
|
8
|
+
"paddingY": "var(--seed-dimension-x3_5)",
|
|
9
|
+
"gap": "var(--seed-dimension-x3_5)"
|
|
10
|
+
},
|
|
11
|
+
"prefixIcon": {
|
|
12
|
+
"size": "22px"
|
|
13
|
+
},
|
|
14
|
+
"label": {
|
|
15
|
+
"fontSize": "var(--seed-font-size-t5)",
|
|
16
|
+
"lineHeight": "var(--seed-line-height-t5)",
|
|
17
|
+
"fontWeight": "var(--seed-font-weight-regular)"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"pressed": {
|
|
21
|
+
"root": {
|
|
22
|
+
"color": "var(--seed-color-bg-neutral-weak-pressed)"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"toneNeutral": {
|
|
27
|
+
"enabled": {
|
|
28
|
+
"prefixIcon": {
|
|
29
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
30
|
+
},
|
|
31
|
+
"label": {
|
|
32
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"toneCritical": {
|
|
37
|
+
"enabled": {
|
|
38
|
+
"prefixIcon": {
|
|
39
|
+
"color": "var(--seed-color-fg-critical)"
|
|
40
|
+
},
|
|
41
|
+
"label": {
|
|
42
|
+
"color": "var(--seed-color-fg-critical)"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"labelAlignLeft": {
|
|
47
|
+
"enabled": {}
|
|
48
|
+
},
|
|
49
|
+
"labelAlignCenter": {
|
|
50
|
+
"enabled": {}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export const vars = {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
"color": "var(--seed-color-bg-neutral-weak)",
|
|
6
|
+
"minHeight": "52px",
|
|
7
|
+
"paddingX": "var(--seed-dimension-x4)",
|
|
8
|
+
"paddingY": "var(--seed-dimension-x3_5)",
|
|
9
|
+
"gap": "var(--seed-dimension-x3_5)"
|
|
10
|
+
},
|
|
11
|
+
"prefixIcon": {
|
|
12
|
+
"size": "22px"
|
|
13
|
+
},
|
|
14
|
+
"label": {
|
|
15
|
+
"fontSize": "var(--seed-font-size-t5)",
|
|
16
|
+
"lineHeight": "var(--seed-line-height-t5)",
|
|
17
|
+
"fontWeight": "var(--seed-font-weight-regular)"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"pressed": {
|
|
21
|
+
"root": {
|
|
22
|
+
"color": "var(--seed-color-bg-neutral-weak-pressed)"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"toneNeutral": {
|
|
27
|
+
"enabled": {
|
|
28
|
+
"prefixIcon": {
|
|
29
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
30
|
+
},
|
|
31
|
+
"label": {
|
|
32
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"toneCritical": {
|
|
37
|
+
"enabled": {
|
|
38
|
+
"prefixIcon": {
|
|
39
|
+
"color": "var(--seed-color-fg-critical)"
|
|
40
|
+
},
|
|
41
|
+
"label": {
|
|
42
|
+
"color": "var(--seed-color-fg-critical)"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"labelAlignLeft": {
|
|
47
|
+
"enabled": {}
|
|
48
|
+
},
|
|
49
|
+
"labelAlignCenter": {
|
|
50
|
+
"enabled": {}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export declare const vars: {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"backdrop": {
|
|
5
|
+
"color": "var(--seed-color-bg-overlay)",
|
|
6
|
+
"enterDuration": "var(--seed-duration-d2)",
|
|
7
|
+
"enterTimingFunction": "var(--seed-timing-function-enter)",
|
|
8
|
+
"enterOpacity": "0",
|
|
9
|
+
"exitDuration": "var(--seed-duration-d2)",
|
|
10
|
+
"exitTimingFunction": "var(--seed-timing-function-exit)",
|
|
11
|
+
"exitOpacity": "0"
|
|
12
|
+
},
|
|
13
|
+
"content": {
|
|
14
|
+
"color": "var(--seed-color-bg-layer-floating)",
|
|
15
|
+
"maxWidth": "480px",
|
|
16
|
+
"paddingX": "var(--seed-dimension-spacing-x-global-gutter)",
|
|
17
|
+
"paddingY": "var(--seed-dimension-x4)",
|
|
18
|
+
"topCornerRadius": "var(--seed-radius-r5)",
|
|
19
|
+
"enterDuration": "var(--seed-duration-d6)",
|
|
20
|
+
"enterTimingFunction": "var(--seed-timing-function-enter-expressive)",
|
|
21
|
+
"exitDuration": "var(--seed-duration-d4)",
|
|
22
|
+
"exitTimingFunction": "var(--seed-timing-function-exit)"
|
|
23
|
+
},
|
|
24
|
+
"header": {
|
|
25
|
+
"gap": "var(--seed-dimension-x1)",
|
|
26
|
+
"paddingBottom": "var(--seed-dimension-x4)"
|
|
27
|
+
},
|
|
28
|
+
"title": {
|
|
29
|
+
"fontSize": "var(--seed-font-size-t6)",
|
|
30
|
+
"lineHeight": "var(--seed-line-height-t6)",
|
|
31
|
+
"fontWeight": "var(--seed-font-weight-bold)",
|
|
32
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
33
|
+
},
|
|
34
|
+
"description": {
|
|
35
|
+
"fontSize": "var(--seed-font-size-t4)",
|
|
36
|
+
"lineHeight": "var(--seed-line-height-t4)",
|
|
37
|
+
"fontWeight": "var(--seed-font-weight-regular)",
|
|
38
|
+
"color": "var(--seed-color-fg-neutral-muted)"
|
|
39
|
+
},
|
|
40
|
+
"list": {
|
|
41
|
+
"gap": "var(--seed-dimension-x2_5)"
|
|
42
|
+
},
|
|
43
|
+
"group": {
|
|
44
|
+
"cornerRadius": "var(--seed-radius-r4)"
|
|
45
|
+
},
|
|
46
|
+
"divider": {
|
|
47
|
+
"strokeBottomWidth": "1px",
|
|
48
|
+
"strokeColor": "var(--seed-color-stroke-neutral)"
|
|
49
|
+
},
|
|
50
|
+
"footer": {
|
|
51
|
+
"paddingTop": "var(--seed-dimension-x2_5)"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export const vars = {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"backdrop": {
|
|
5
|
+
"color": "var(--seed-color-bg-overlay)",
|
|
6
|
+
"enterDuration": "var(--seed-duration-d2)",
|
|
7
|
+
"enterTimingFunction": "var(--seed-timing-function-enter)",
|
|
8
|
+
"enterOpacity": "0",
|
|
9
|
+
"exitDuration": "var(--seed-duration-d2)",
|
|
10
|
+
"exitTimingFunction": "var(--seed-timing-function-exit)",
|
|
11
|
+
"exitOpacity": "0"
|
|
12
|
+
},
|
|
13
|
+
"content": {
|
|
14
|
+
"color": "var(--seed-color-bg-layer-floating)",
|
|
15
|
+
"maxWidth": "480px",
|
|
16
|
+
"paddingX": "var(--seed-dimension-spacing-x-global-gutter)",
|
|
17
|
+
"paddingY": "var(--seed-dimension-x4)",
|
|
18
|
+
"topCornerRadius": "var(--seed-radius-r5)",
|
|
19
|
+
"enterDuration": "var(--seed-duration-d6)",
|
|
20
|
+
"enterTimingFunction": "var(--seed-timing-function-enter-expressive)",
|
|
21
|
+
"exitDuration": "var(--seed-duration-d4)",
|
|
22
|
+
"exitTimingFunction": "var(--seed-timing-function-exit)"
|
|
23
|
+
},
|
|
24
|
+
"header": {
|
|
25
|
+
"gap": "var(--seed-dimension-x1)",
|
|
26
|
+
"paddingBottom": "var(--seed-dimension-x4)"
|
|
27
|
+
},
|
|
28
|
+
"title": {
|
|
29
|
+
"fontSize": "var(--seed-font-size-t6)",
|
|
30
|
+
"lineHeight": "var(--seed-line-height-t6)",
|
|
31
|
+
"fontWeight": "var(--seed-font-weight-bold)",
|
|
32
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
33
|
+
},
|
|
34
|
+
"description": {
|
|
35
|
+
"fontSize": "var(--seed-font-size-t4)",
|
|
36
|
+
"lineHeight": "var(--seed-line-height-t4)",
|
|
37
|
+
"fontWeight": "var(--seed-font-weight-regular)",
|
|
38
|
+
"color": "var(--seed-color-fg-neutral-muted)"
|
|
39
|
+
},
|
|
40
|
+
"list": {
|
|
41
|
+
"gap": "var(--seed-dimension-x2_5)"
|
|
42
|
+
},
|
|
43
|
+
"group": {
|
|
44
|
+
"cornerRadius": "var(--seed-radius-r4)"
|
|
45
|
+
},
|
|
46
|
+
"divider": {
|
|
47
|
+
"strokeBottomWidth": "1px",
|
|
48
|
+
"strokeColor": "var(--seed-color-stroke-neutral)"
|
|
49
|
+
},
|
|
50
|
+
"footer": {
|
|
51
|
+
"paddingTop": "var(--seed-dimension-x2_5)"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
package/vars/gradient.d.ts
CHANGED
|
@@ -4,4 +4,5 @@ export declare const glowMagic = "var(--seed-gradient-glow-magic)";
|
|
|
4
4
|
export declare const shimmerMagic = "var(--seed-gradient-shimmer-magic)";
|
|
5
5
|
export declare const glowMagicPressed = "var(--seed-gradient-glow-magic-pressed)";
|
|
6
6
|
export declare const shimmerNeutral = "var(--seed-gradient-shimmer-neutral)";
|
|
7
|
-
export declare const highlightMagic = "var(--seed-gradient-highlight-magic)";
|
|
7
|
+
export declare const highlightMagic = "var(--seed-gradient-highlight-magic)";
|
|
8
|
+
export declare const highlightMagicPressed = "var(--seed-gradient-highlight-magic-pressed)";
|
package/vars/gradient.mjs
CHANGED
|
@@ -4,4 +4,5 @@ export const glowMagic = "var(--seed-gradient-glow-magic)";
|
|
|
4
4
|
export const shimmerMagic = "var(--seed-gradient-shimmer-magic)";
|
|
5
5
|
export const glowMagicPressed = "var(--seed-gradient-glow-magic-pressed)";
|
|
6
6
|
export const shimmerNeutral = "var(--seed-gradient-shimmer-neutral)";
|
|
7
|
-
export const highlightMagic = "var(--seed-gradient-highlight-magic)";
|
|
7
|
+
export const highlightMagic = "var(--seed-gradient-highlight-magic)";
|
|
8
|
+
export const highlightMagicPressed = "var(--seed-gradient-highlight-magic-pressed)";
|