@seed-design/css 1.1.19 → 1.2.1
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 +527 -115
- package/all.min.css +1 -1
- package/base.css +23 -0
- package/base.min.css +1 -1
- package/package.json +1 -1
- package/recipes/aspect-ratio.css +26 -0
- package/recipes/aspect-ratio.d.ts +19 -0
- package/recipes/aspect-ratio.mjs +22 -0
- package/recipes/bottom-sheet.css +13 -5
- package/recipes/checkbox-group.css +5 -0
- package/recipes/checkbox-group.d.ts +19 -0
- package/recipes/checkbox-group.mjs +22 -0
- package/recipes/checkmark.css +1 -1
- package/recipes/help-bubble.css +12 -9
- package/recipes/help-bubble.d.ts +1 -1
- package/recipes/help-bubble.mjs +4 -0
- package/recipes/image-frame-icon.css +6 -0
- package/recipes/image-frame-icon.d.ts +19 -0
- package/recipes/image-frame-icon.mjs +22 -0
- package/recipes/image-frame-indicator.css +16 -0
- package/recipes/image-frame-indicator.d.ts +19 -0
- package/recipes/image-frame-indicator.mjs +22 -0
- package/recipes/image-frame-reaction-button.css +29 -0
- package/recipes/image-frame-reaction-button.d.ts +19 -0
- package/recipes/image-frame-reaction-button.mjs +22 -0
- package/recipes/image-frame.css +26 -0
- package/recipes/image-frame.d.ts +26 -0
- package/recipes/image-frame.mjs +34 -0
- package/recipes/input-button.css +18 -3
- package/recipes/menu-sheet-item.css +34 -14
- package/recipes/menu-sheet-item.d.ts +3 -1
- package/recipes/menu-sheet-item.mjs +26 -4
- package/recipes/menu-sheet.css +8 -1
- package/recipes/menu-sheet.d.ts +1 -1
- package/recipes/menu-sheet.mjs +4 -0
- package/recipes/radio-group.css +5 -0
- package/recipes/radio-group.d.ts +19 -0
- package/recipes/radio-group.mjs +22 -0
- package/recipes/radiomark.css +0 -1
- package/recipes/select-box-group.css +8 -3
- package/recipes/select-box.css +88 -18
- package/recipes/select-box.d.ts +5 -2
- package/recipes/select-box.mjs +21 -2
- package/recipes/selectBoxCheckmark.css +31 -0
- package/recipes/selectBoxCheckmark.d.ts +21 -0
- package/recipes/selectBoxCheckmark.mjs +36 -0
- package/recipes/switch.css +3 -3
- package/recipes/{switch-mark.css → switchmark.css} +19 -19
- package/recipes/switchmark.d.ts +28 -0
- package/recipes/{switch-mark.mjs → switchmark.mjs} +10 -10
- package/recipes/tag-group-item.css +60 -31
- package/recipes/tag-group-item.d.ts +3 -1
- package/recipes/tag-group-item.mjs +18 -4
- package/recipes/tag-group.css +29 -5
- package/recipes/tag-group.d.ts +4 -0
- package/recipes/tag-group.mjs +20 -2
- package/recipes/text-input.css +39 -13
- package/vars/component/checkbox-group.d.ts +9 -0
- package/vars/component/checkbox-group.mjs +9 -0
- package/vars/component/help-bubble.d.ts +7 -4
- package/vars/component/help-bubble.mjs +7 -4
- package/vars/component/image-frame-floater.d.ts +10 -0
- package/vars/component/image-frame-floater.mjs +9 -0
- package/vars/component/image-frame-indicator.d.ts +20 -0
- package/vars/component/image-frame-indicator.mjs +18 -0
- package/vars/component/image-frame-reaction-button.d.ts +35 -0
- package/vars/component/image-frame-reaction-button.mjs +26 -0
- package/vars/component/image-frame.d.ts +48 -0
- package/vars/component/image-frame.mjs +31 -0
- package/vars/component/index.d.ts +9 -1
- package/vars/component/index.mjs +9 -1
- package/vars/component/input-button.d.ts +3 -4
- package/vars/component/input-button.mjs +2 -4
- package/vars/component/radio-group.d.ts +9 -0
- package/vars/component/radio-group.mjs +9 -0
- package/vars/component/select-box-checkmark.d.ts +40 -0
- package/vars/component/select-box-checkmark.mjs +40 -0
- package/vars/component/select-box-group.d.ts +10 -0
- package/vars/component/select-box-group.mjs +10 -0
- package/vars/component/select-box.d.ts +80 -21
- package/vars/component/select-box.mjs +75 -21
- package/vars/component/text-input.d.ts +3 -4
- package/vars/component/text-input.mjs +2 -4
- package/recipes/switch-mark.d.ts +0 -28
- /package/vars/component/{switch-mark.d.ts → switchmark.d.ts} +0 -0
- /package/vars/component/{switch-mark.mjs → switchmark.mjs} +0 -0
|
@@ -2,46 +2,100 @@ export const vars = {
|
|
|
2
2
|
"base": {
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
|
-
"colorTransitionDuration": "var(--seed-duration-color-transition)",
|
|
6
|
-
"colorTransitionTimingFunction": "var(--seed-timing-function-easing)",
|
|
7
|
-
"paddingX": "var(--seed-dimension-x4)",
|
|
8
|
-
"paddingY": "var(--seed-dimension-x5)",
|
|
9
|
-
"gap": "var(--seed-dimension-x2_5)",
|
|
10
|
-
"strokeWidth": "1px",
|
|
11
|
-
"strokeColor": "var(--seed-color-stroke-neutral-muted)",
|
|
12
5
|
"cornerRadius": "var(--seed-radius-r3)",
|
|
13
|
-
"color": "var(--seed-color-bg-transparent)"
|
|
6
|
+
"color": "var(--seed-color-bg-transparent)",
|
|
7
|
+
"strokeColor": "var(--seed-color-stroke-neutral-muted)",
|
|
8
|
+
"strokeWidth": "1px",
|
|
9
|
+
"colorDuration": "var(--seed-duration-color-transition)",
|
|
10
|
+
"colorTimingFunction": "var(--seed-timing-function-easing)",
|
|
11
|
+
"strokeDuration": "0.1s",
|
|
12
|
+
"strokeTimingFunction": "var(--seed-timing-function-easing)"
|
|
14
13
|
},
|
|
15
|
-
"
|
|
16
|
-
"gap": "var(--seed-dimension-
|
|
14
|
+
"trigger": {
|
|
15
|
+
"gap": "var(--seed-dimension-x1_5)"
|
|
16
|
+
},
|
|
17
|
+
"prefixIcon": {
|
|
18
|
+
"color": "var(--seed-color-fg-neutral)",
|
|
19
|
+
"size": "22px"
|
|
20
|
+
},
|
|
21
|
+
"body": {
|
|
22
|
+
"gap": "var(--seed-dimension-x0_5)",
|
|
23
|
+
"paddingRight": "var(--seed-dimension-x1)"
|
|
17
24
|
},
|
|
18
25
|
"label": {
|
|
26
|
+
"gap": "var(--seed-dimension-x1)",
|
|
19
27
|
"color": "var(--seed-color-fg-neutral)",
|
|
20
|
-
"fontWeight": "var(--seed-font-weight-bold)",
|
|
21
28
|
"fontSize": "var(--seed-font-size-t5)",
|
|
22
|
-
"lineHeight": "var(--seed-line-height-t5)"
|
|
29
|
+
"lineHeight": "var(--seed-line-height-t5)",
|
|
30
|
+
"fontWeight": "var(--seed-font-weight-medium)"
|
|
23
31
|
},
|
|
24
32
|
"description": {
|
|
25
33
|
"color": "var(--seed-color-fg-neutral-muted)",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
34
|
+
"fontSize": "var(--seed-font-size-t3)",
|
|
35
|
+
"lineHeight": "var(--seed-line-height-t3)",
|
|
36
|
+
"fontWeight": "var(--seed-font-weight-regular)"
|
|
37
|
+
},
|
|
38
|
+
"footer": {
|
|
39
|
+
"expandHeightDuration": "400ms",
|
|
40
|
+
"expandHeightTimingFunction": "var(--seed-timing-function-easing)",
|
|
41
|
+
"expandOpacityDuration": "var(--seed-duration-d6)",
|
|
42
|
+
"expandOpacityTimingFunction": "var(--seed-timing-function-easing)",
|
|
43
|
+
"collapseHeightDuration": "var(--seed-duration-d6)",
|
|
44
|
+
"collapseHeightTimingFunction": "var(--seed-timing-function-easing)",
|
|
45
|
+
"collapseOpacityDuration": "400ms",
|
|
46
|
+
"collapseOpacityTimingFunction": "var(--seed-timing-function-easing)"
|
|
29
47
|
}
|
|
30
48
|
},
|
|
31
|
-
"
|
|
49
|
+
"selected": {
|
|
32
50
|
"root": {
|
|
33
|
-
"
|
|
51
|
+
"strokeWidth": "2px"
|
|
34
52
|
}
|
|
35
53
|
},
|
|
36
54
|
"enabledSelected": {
|
|
37
55
|
"root": {
|
|
38
|
-
"
|
|
39
|
-
"strokeColor": "var(--seed-color-stroke-neutral-weak)"
|
|
56
|
+
"strokeColor": "var(--seed-color-stroke-neutral-contrast)"
|
|
40
57
|
}
|
|
41
58
|
},
|
|
42
|
-
"
|
|
59
|
+
"disabled": {
|
|
43
60
|
"root": {
|
|
44
|
-
"
|
|
61
|
+
"strokeColor": "var(--seed-color-stroke-neutral-muted)"
|
|
62
|
+
},
|
|
63
|
+
"prefixIcon": {
|
|
64
|
+
"color": "var(--seed-color-fg-disabled)"
|
|
65
|
+
},
|
|
66
|
+
"label": {
|
|
67
|
+
"color": "var(--seed-color-fg-disabled)"
|
|
68
|
+
},
|
|
69
|
+
"description": {
|
|
70
|
+
"color": "var(--seed-color-fg-disabled)"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"enabledPressed": {
|
|
74
|
+
"root": {
|
|
75
|
+
"color": "var(--seed-color-bg-transparent-pressed)"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"layoutHorizontal": {
|
|
80
|
+
"enabled": {
|
|
81
|
+
"trigger": {
|
|
82
|
+
"paddingLeft": "var(--seed-dimension-x5)",
|
|
83
|
+
"paddingRight": "var(--seed-dimension-x4)",
|
|
84
|
+
"paddingY": "var(--seed-dimension-x4)"
|
|
85
|
+
},
|
|
86
|
+
"content": {
|
|
87
|
+
"gap": "var(--seed-dimension-x3)"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"layoutVertical": {
|
|
92
|
+
"enabled": {
|
|
93
|
+
"trigger": {
|
|
94
|
+
"paddingX": "var(--seed-dimension-x4)",
|
|
95
|
+
"paddingY": "var(--seed-dimension-x5)"
|
|
96
|
+
},
|
|
97
|
+
"content": {
|
|
98
|
+
"gap": "var(--seed-dimension-x2_5)"
|
|
45
99
|
}
|
|
46
100
|
}
|
|
47
101
|
}
|
|
@@ -3,10 +3,9 @@ export declare const vars: {
|
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
5
|
"strokeColor": "var(--seed-color-stroke-neutral-weak)",
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"strokeWidthTimingFunction": "var(--seed-timing-function-easing)"
|
|
6
|
+
/** 1px stroke 위에 2px stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다. */
|
|
7
|
+
"strokeDuration": "0.1s",
|
|
8
|
+
"strokeTimingFunction": "var(--seed-timing-function-easing)"
|
|
10
9
|
},
|
|
11
10
|
"value": {
|
|
12
11
|
"color": "var(--seed-color-fg-neutral)",
|
|
@@ -3,10 +3,8 @@ export const vars = {
|
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
5
|
"strokeColor": "var(--seed-color-stroke-neutral-weak)",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"strokeWidthDuration": "var(--seed-duration-d3)",
|
|
9
|
-
"strokeWidthTimingFunction": "var(--seed-timing-function-easing)"
|
|
6
|
+
"strokeDuration": "0.1s",
|
|
7
|
+
"strokeTimingFunction": "var(--seed-timing-function-easing)"
|
|
10
8
|
},
|
|
11
9
|
"value": {
|
|
12
10
|
"color": "var(--seed-color-fg-neutral)",
|
package/recipes/switch-mark.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
declare interface SwitchMarkVariant {
|
|
2
|
-
/**
|
|
3
|
-
* @default "brand"
|
|
4
|
-
*/
|
|
5
|
-
tone: "neutral" | "brand";
|
|
6
|
-
/**
|
|
7
|
-
* @default 32
|
|
8
|
-
*/
|
|
9
|
-
size: "16" | "24" | "32";
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
declare type SwitchMarkVariantMap = {
|
|
13
|
-
[key in keyof SwitchMarkVariant]: Array<SwitchMarkVariant[key]>;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export declare type SwitchMarkVariantProps = Partial<SwitchMarkVariant>;
|
|
17
|
-
|
|
18
|
-
export declare type SwitchMarkSlotName = "root" | "thumb";
|
|
19
|
-
|
|
20
|
-
export declare const switchMarkVariantMap: SwitchMarkVariantMap;
|
|
21
|
-
|
|
22
|
-
export declare const switchMark: ((
|
|
23
|
-
props?: SwitchMarkVariantProps,
|
|
24
|
-
) => Record<SwitchMarkSlotName, string>) & {
|
|
25
|
-
splitVariantProps: <T extends SwitchMarkVariantProps>(
|
|
26
|
-
props: T,
|
|
27
|
-
) => [SwitchMarkVariantProps, Omit<T, keyof SwitchMarkVariantProps>];
|
|
28
|
-
}
|
|
File without changes
|
|
File without changes
|