@seed-design/lynx-css 0.8.1 → 0.9.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.
Files changed (53) hide show
  1. package/all.css +885 -87
  2. package/all.min.css +1 -1
  3. package/package.json +1 -1
  4. package/recipes/accordion.css +174 -0
  5. package/recipes/accordion.d.ts +40 -0
  6. package/recipes/accordion.mjs +116 -0
  7. package/recipes/bottom-sheet.css +1 -0
  8. package/recipes/callout.css +190 -0
  9. package/recipes/callout.d.ts +28 -0
  10. package/recipes/callout.mjs +101 -0
  11. package/recipes/checkmark.css +46 -14
  12. package/recipes/checkmark.d.ts +1 -1
  13. package/recipes/checkmark.mjs +46 -21
  14. package/recipes/chip.css +239 -0
  15. package/recipes/chip.d.ts +44 -0
  16. package/recipes/chip.mjs +153 -0
  17. package/recipes/tabs.css +136 -0
  18. package/recipes/tabs.d.ts +39 -0
  19. package/recipes/tabs.mjs +103 -0
  20. package/vars/component/accordion-item.d.ts +1 -1
  21. package/vars/component/accordion-item.mjs +1 -1
  22. package/vars/component/action-button.d.ts +1 -23
  23. package/vars/component/action-button.mjs +1 -23
  24. package/vars/component/bottom-sheet.d.ts +1 -1
  25. package/vars/component/bottom-sheet.mjs +1 -1
  26. package/vars/component/callout-close-button.d.ts +81 -0
  27. package/vars/component/callout-close-button.mjs +63 -0
  28. package/vars/component/callout.d.ts +1 -2
  29. package/vars/component/callout.mjs +1 -2
  30. package/vars/component/checkbox.d.ts +3 -0
  31. package/vars/component/help-bubble.d.ts +1 -0
  32. package/vars/component/help-bubble.mjs +1 -0
  33. package/vars/component/index.d.ts +6 -1
  34. package/vars/component/index.mjs +6 -1
  35. package/vars/component/list-item.d.ts +2 -6
  36. package/vars/component/list-item.mjs +2 -5
  37. package/vars/component/page-banner-close-button.d.ts +133 -0
  38. package/vars/component/page-banner-close-button.mjs +99 -0
  39. package/vars/component/page-banner.d.ts +0 -1
  40. package/vars/component/page-banner.mjs +0 -1
  41. package/vars/component/pagination-button.d.ts +33 -0
  42. package/vars/component/pagination-button.mjs +33 -0
  43. package/vars/component/pagination-page-item.d.ts +54 -0
  44. package/vars/component/pagination-page-item.mjs +54 -0
  45. package/vars/component/radio.d.ts +3 -0
  46. package/vars/component/select-box.d.ts +2 -2
  47. package/vars/component/select-box.mjs +2 -2
  48. package/vars/component/snackbar.d.ts +1 -1
  49. package/vars/component/snackbar.mjs +1 -1
  50. package/vars/component/switch.d.ts +3 -0
  51. package/vars/component/switchmark.d.ts +2 -0
  52. package/vars/component/wheel-picker.d.ts +72 -0
  53. package/vars/component/wheel-picker.mjs +72 -0
@@ -0,0 +1,99 @@
1
+ export const vars = {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "color": "var(--seed-color-bg-transparent)",
6
+ "cornerRadius": "var(--seed-radius-r2)",
7
+ "size": "var(--seed-dimension-x10)",
8
+ "marginLeft": "var(--seed-dimension-x2)",
9
+ "colorDuration": "var(--seed-duration-color-transition)",
10
+ "colorTimingFunction": "var(--seed-timing-function-easing)"
11
+ },
12
+ "icon": {
13
+ "size": "var(--seed-dimension-x4)"
14
+ }
15
+ },
16
+ "pressed": {
17
+ "root": {
18
+ "color": "var(--seed-color-bg-transparent-pressed)"
19
+ }
20
+ }
21
+ },
22
+ "toneNeutralVariantWeak": {
23
+ "enabled": {
24
+ "icon": {
25
+ "color": "var(--seed-color-fg-neutral)"
26
+ }
27
+ }
28
+ },
29
+ "toneNeutralVariantSolid": {
30
+ "enabled": {
31
+ "icon": {
32
+ "color": "var(--seed-color-fg-neutral-inverted)"
33
+ }
34
+ }
35
+ },
36
+ "tonePositiveVariantWeak": {
37
+ "enabled": {
38
+ "icon": {
39
+ "color": "var(--seed-color-fg-positive-contrast)"
40
+ }
41
+ }
42
+ },
43
+ "tonePositiveVariantSolid": {
44
+ "enabled": {
45
+ "icon": {
46
+ "color": "var(--seed-color-palette-static-white)"
47
+ }
48
+ }
49
+ },
50
+ "toneInformativeVariantWeak": {
51
+ "enabled": {
52
+ "icon": {
53
+ "color": "var(--seed-color-fg-informative-contrast)"
54
+ }
55
+ }
56
+ },
57
+ "toneInformativeVariantSolid": {
58
+ "enabled": {
59
+ "icon": {
60
+ "color": "var(--seed-color-palette-static-white)"
61
+ }
62
+ }
63
+ },
64
+ "toneWarningVariantWeak": {
65
+ "enabled": {
66
+ "icon": {
67
+ "color": "var(--seed-color-fg-warning-contrast)"
68
+ }
69
+ }
70
+ },
71
+ "toneWarningVariantSolid": {
72
+ "enabled": {
73
+ "icon": {
74
+ "color": "var(--seed-color-palette-static-black-alpha-900)"
75
+ }
76
+ }
77
+ },
78
+ "toneCriticalVariantWeak": {
79
+ "enabled": {
80
+ "icon": {
81
+ "color": "var(--seed-color-fg-critical-contrast)"
82
+ }
83
+ }
84
+ },
85
+ "toneCriticalVariantSolid": {
86
+ "enabled": {
87
+ "icon": {
88
+ "color": "var(--seed-color-palette-static-white)"
89
+ }
90
+ }
91
+ },
92
+ "toneMagicVariantWeak": {
93
+ "enabled": {
94
+ "icon": {
95
+ "color": "var(--seed-color-fg-neutral)"
96
+ }
97
+ }
98
+ }
99
+ }
@@ -32,7 +32,6 @@ export declare const vars: {
32
32
  },
33
33
  "suffixIcon": {
34
34
  "size": "var(--seed-dimension-x4)",
35
- "targetSize": "var(--seed-dimension-x10)",
36
35
  "marginLeft": "var(--seed-dimension-x2)"
37
36
  }
38
37
  }
@@ -31,7 +31,6 @@ export const vars = {
31
31
  },
32
32
  "suffixIcon": {
33
33
  "size": "var(--seed-dimension-x4)",
34
- "targetSize": "var(--seed-dimension-x10)",
35
34
  "marginLeft": "var(--seed-dimension-x2)"
36
35
  }
37
36
  }
@@ -0,0 +1,33 @@
1
+ export declare const vars: {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "color": "var(--seed-color-bg-transparent)",
6
+ "colorDuration": "var(--seed-duration-color-transition)",
7
+ "colorTimingFunction": "var(--seed-timing-function-easing)",
8
+ "scaleDuration": "var(--seed-duration-pressed-scale)",
9
+ "scaleTimingFunction": "var(--seed-timing-function-pressed-scale)",
10
+ "size": "var(--seed-dimension-x10)",
11
+ "cornerRadius": "var(--seed-radius-r2)"
12
+ },
13
+ "icon": {
14
+ "color": "var(--seed-color-fg-neutral)",
15
+ "size": "var(--seed-dimension-x4)"
16
+ }
17
+ },
18
+ "pressed": {
19
+ "root": {
20
+ "color": "var(--seed-color-bg-transparent-pressed)",
21
+ "scale": "var(--seed-scale-s97)"
22
+ }
23
+ },
24
+ "disabled": {
25
+ "root": {
26
+ "color": "var(--seed-color-bg-transparent)"
27
+ },
28
+ "icon": {
29
+ "color": "var(--seed-color-fg-disabled)"
30
+ }
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,33 @@
1
+ export const vars = {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "color": "var(--seed-color-bg-transparent)",
6
+ "colorDuration": "var(--seed-duration-color-transition)",
7
+ "colorTimingFunction": "var(--seed-timing-function-easing)",
8
+ "scaleDuration": "var(--seed-duration-pressed-scale)",
9
+ "scaleTimingFunction": "var(--seed-timing-function-pressed-scale)",
10
+ "size": "var(--seed-dimension-x10)",
11
+ "cornerRadius": "var(--seed-radius-r2)"
12
+ },
13
+ "icon": {
14
+ "color": "var(--seed-color-fg-neutral)",
15
+ "size": "var(--seed-dimension-x4)"
16
+ }
17
+ },
18
+ "pressed": {
19
+ "root": {
20
+ "color": "var(--seed-color-bg-transparent-pressed)",
21
+ "scale": "var(--seed-scale-s97)"
22
+ }
23
+ },
24
+ "disabled": {
25
+ "root": {
26
+ "color": "var(--seed-color-bg-transparent)"
27
+ },
28
+ "icon": {
29
+ "color": "var(--seed-color-fg-disabled)"
30
+ }
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,54 @@
1
+ export declare const vars: {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "color": "var(--seed-color-bg-transparent)",
6
+ "scaleDuration": "var(--seed-duration-pressed-scale)",
7
+ "scaleTimingFunction": "var(--seed-timing-function-pressed-scale)",
8
+ "size": "var(--seed-dimension-x10)",
9
+ "cornerRadius": "var(--seed-radius-r2)"
10
+ },
11
+ "label": {
12
+ "color": "var(--seed-color-fg-neutral)",
13
+ "fontSize": "var(--seed-font-size-t4)",
14
+ "lineHeight": "var(--seed-line-height-t4)",
15
+ "fontWeight": "var(--seed-font-weight-bold)"
16
+ }
17
+ },
18
+ "pressed": {
19
+ "root": {
20
+ "color": "var(--seed-color-bg-transparent-pressed)",
21
+ "scale": "var(--seed-scale-s97)"
22
+ }
23
+ },
24
+ "selected": {
25
+ "root": {
26
+ "color": "var(--seed-color-bg-neutral-inverted)"
27
+ },
28
+ "label": {
29
+ "color": "var(--seed-color-fg-neutral-inverted)"
30
+ }
31
+ },
32
+ "selectedPressed": {
33
+ "root": {
34
+ "color": "var(--seed-color-bg-neutral-inverted-pressed)"
35
+ }
36
+ },
37
+ "disabled": {
38
+ "root": {
39
+ "color": "var(--seed-color-bg-transparent)"
40
+ },
41
+ "label": {
42
+ "color": "var(--seed-color-fg-disabled)"
43
+ }
44
+ },
45
+ "selectedDisabled": {
46
+ "root": {
47
+ "color": "var(--seed-color-bg-disabled)"
48
+ },
49
+ "label": {
50
+ "color": "var(--seed-color-fg-disabled)"
51
+ }
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,54 @@
1
+ export const vars = {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "color": "var(--seed-color-bg-transparent)",
6
+ "scaleDuration": "var(--seed-duration-pressed-scale)",
7
+ "scaleTimingFunction": "var(--seed-timing-function-pressed-scale)",
8
+ "size": "var(--seed-dimension-x10)",
9
+ "cornerRadius": "var(--seed-radius-r2)"
10
+ },
11
+ "label": {
12
+ "color": "var(--seed-color-fg-neutral)",
13
+ "fontSize": "var(--seed-font-size-t4)",
14
+ "lineHeight": "var(--seed-line-height-t4)",
15
+ "fontWeight": "var(--seed-font-weight-bold)"
16
+ }
17
+ },
18
+ "pressed": {
19
+ "root": {
20
+ "color": "var(--seed-color-bg-transparent-pressed)",
21
+ "scale": "var(--seed-scale-s97)"
22
+ }
23
+ },
24
+ "selected": {
25
+ "root": {
26
+ "color": "var(--seed-color-bg-neutral-inverted)"
27
+ },
28
+ "label": {
29
+ "color": "var(--seed-color-fg-neutral-inverted)"
30
+ }
31
+ },
32
+ "selectedPressed": {
33
+ "root": {
34
+ "color": "var(--seed-color-bg-neutral-inverted-pressed)"
35
+ }
36
+ },
37
+ "disabled": {
38
+ "root": {
39
+ "color": "var(--seed-color-bg-transparent)"
40
+ },
41
+ "label": {
42
+ "color": "var(--seed-color-fg-disabled)"
43
+ }
44
+ },
45
+ "selectedDisabled": {
46
+ "root": {
47
+ "color": "var(--seed-color-bg-disabled)"
48
+ },
49
+ "label": {
50
+ "color": "var(--seed-color-fg-disabled)"
51
+ }
52
+ }
53
+ }
54
+ }
@@ -4,6 +4,7 @@ export declare const vars: {
4
4
  "label": {
5
5
  "color": "var(--seed-color-fg-neutral)"
6
6
  },
7
+ /** root 전체가 누르는 영역이며, pressed 피드백은 Radiomark의 축소로 표현됩니다. */
7
8
  "root": {
8
9
  "gap": "var(--seed-dimension-x2)"
9
10
  }
@@ -30,6 +31,7 @@ export declare const vars: {
30
31
  },
31
32
  "sizeMedium": {
32
33
  "enabled": {
34
+ /** root 전체가 누르는 영역이며, pressed 피드백은 Radiomark의 축소로 표현됩니다. */
33
35
  "root": {
34
36
  "minHeight": "var(--seed-dimension-x8)"
35
37
  },
@@ -41,6 +43,7 @@ export declare const vars: {
41
43
  },
42
44
  "sizeLarge": {
43
45
  "enabled": {
46
+ /** root 전체가 누르는 영역이며, pressed 피드백은 Radiomark의 축소로 표현됩니다. */
44
47
  "root": {
45
48
  "minHeight": "var(--seed-dimension-x9)"
46
49
  },
@@ -4,7 +4,7 @@ export declare const vars: {
4
4
  "root": {
5
5
  "cornerRadius": "var(--seed-radius-r3)",
6
6
  "color": "var(--seed-color-bg-transparent)",
7
- "strokeColor": "var(--seed-color-stroke-neutral-muted)",
7
+ "strokeColor": "var(--seed-color-stroke-neutral-weak)",
8
8
  "strokeWidth": "1px",
9
9
  "colorDuration": "var(--seed-duration-color-transition)",
10
10
  "colorTimingFunction": "var(--seed-timing-function-easing)",
@@ -63,7 +63,7 @@ export declare const vars: {
63
63
  },
64
64
  "disabled": {
65
65
  "root": {
66
- "strokeColor": "var(--seed-color-stroke-neutral-muted)"
66
+ "strokeColor": "var(--seed-color-stroke-neutral-weak)"
67
67
  },
68
68
  "prefixIcon": {
69
69
  "color": "var(--seed-color-fg-disabled)"
@@ -4,7 +4,7 @@ export const vars = {
4
4
  "root": {
5
5
  "cornerRadius": "var(--seed-radius-r3)",
6
6
  "color": "var(--seed-color-bg-transparent)",
7
- "strokeColor": "var(--seed-color-stroke-neutral-muted)",
7
+ "strokeColor": "var(--seed-color-stroke-neutral-weak)",
8
8
  "strokeWidth": "1px",
9
9
  "colorDuration": "var(--seed-duration-color-transition)",
10
10
  "colorTimingFunction": "var(--seed-timing-function-easing)",
@@ -58,7 +58,7 @@ export const vars = {
58
58
  },
59
59
  "disabled": {
60
60
  "root": {
61
- "strokeColor": "var(--seed-color-stroke-neutral-muted)"
61
+ "strokeColor": "var(--seed-color-stroke-neutral-weak)"
62
62
  },
63
63
  "prefixIcon": {
64
64
  "color": "var(--seed-color-fg-disabled)"
@@ -11,7 +11,7 @@ export declare const vars: {
11
11
  "color": "var(--seed-color-bg-neutral-inverted)",
12
12
  "cornerRadius": "var(--seed-radius-r2)",
13
13
  "minHeight": "44px",
14
- "maxWidth": "560px",
14
+ "maxWidth": "464px",
15
15
  "paddingX": "var(--seed-dimension-x2_5)",
16
16
  "paddingY": "var(--seed-dimension-x2_5)",
17
17
  "enterOpacity": "0",
@@ -11,7 +11,7 @@ export const vars = {
11
11
  "color": "var(--seed-color-bg-neutral-inverted)",
12
12
  "cornerRadius": "var(--seed-radius-r2)",
13
13
  "minHeight": "44px",
14
- "maxWidth": "560px",
14
+ "maxWidth": "464px",
15
15
  "paddingX": "var(--seed-dimension-x2_5)",
16
16
  "paddingY": "var(--seed-dimension-x2_5)",
17
17
  "enterOpacity": "0",
@@ -16,6 +16,7 @@ export declare const vars: {
16
16
  },
17
17
  "size32": {
18
18
  "enabled": {
19
+ /** root 전체가 누르는 영역이며, pressed 피드백은 Switchmark의 축소로 표현됩니다. */
19
20
  "root": {
20
21
  "height": "var(--seed-dimension-x8)",
21
22
  "gap": "var(--seed-dimension-x2_5)"
@@ -28,6 +29,7 @@ export declare const vars: {
28
29
  },
29
30
  "size24": {
30
31
  "enabled": {
32
+ /** root 전체가 누르는 영역이며, pressed 피드백은 Switchmark의 축소로 표현됩니다. */
31
33
  "root": {
32
34
  "height": "var(--seed-dimension-x6)",
33
35
  "gap": "var(--seed-dimension-x2)"
@@ -40,6 +42,7 @@ export declare const vars: {
40
42
  },
41
43
  "size16": {
42
44
  "enabled": {
45
+ /** root 전체가 누르는 영역이며, pressed 피드백은 Switchmark의 축소로 표현됩니다. */
43
46
  "root": {
44
47
  "height": "var(--seed-dimension-x6)",
45
48
  "gap": "var(--seed-dimension-x1_5)"
@@ -10,6 +10,7 @@ export declare const vars: {
10
10
  },
11
11
  "thumb": {
12
12
  "cornerRadius": "var(--seed-radius-full)",
13
+ /** selected 여부에 따른 thumb 크기입니다. pressed 축소는 root에 적용되므로 이 값과 무관합니다. */
13
14
  "scale": "0.8",
14
15
  "scaleDuration": "var(--seed-duration-d3)",
15
16
  "scaleTimingFunction": "var(--seed-timing-function-easing)",
@@ -29,6 +30,7 @@ export declare const vars: {
29
30
  },
30
31
  "selected": {
31
32
  "thumb": {
33
+ /** selected 여부에 따른 thumb 크기입니다. pressed 축소는 root에 적용되므로 이 값과 무관합니다. */
32
34
  "scale": "1"
33
35
  }
34
36
  }
@@ -0,0 +1,72 @@
1
+ export declare const vars: {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "color": "var(--seed-color-bg-layer-floating)"
6
+ },
7
+ "selectionIndicator": {
8
+ "insetX": "var(--seed-dimension-x4)",
9
+ "cornerRadius": "var(--seed-radius-r2)",
10
+ "color": "var(--seed-color-bg-neutral-weak)"
11
+ },
12
+ "scrollFog": {
13
+ "maxHeightFraction": "0.4"
14
+ },
15
+ "itemLabel": {
16
+ "paddingX": "var(--seed-dimension-x4)",
17
+ "fontWeight": "var(--seed-font-weight-medium)",
18
+ "color": "var(--seed-color-fg-disabled)"
19
+ }
20
+ },
21
+ "selected": {
22
+ "itemLabel": {
23
+ "color": "var(--seed-color-fg-neutral)"
24
+ }
25
+ },
26
+ "disabled": {
27
+ "itemLabel": {
28
+ "color": "var(--seed-color-fg-disabled)"
29
+ }
30
+ }
31
+ },
32
+ "sizeSmall": {
33
+ "enabled": {
34
+ "root": {
35
+ "height": "180px"
36
+ },
37
+ "selectionIndicator": {
38
+ "height": "36px"
39
+ },
40
+ "scrollFog": {
41
+ "maxHeight": "108px"
42
+ },
43
+ "item": {
44
+ "height": "36px"
45
+ },
46
+ "itemLabel": {
47
+ "fontSize": "var(--seed-font-size-t7-static)",
48
+ "lineHeight": "var(--seed-line-height-t7-static)"
49
+ }
50
+ }
51
+ },
52
+ "sizeMedium": {
53
+ "enabled": {
54
+ "root": {
55
+ "height": "220px"
56
+ },
57
+ "selectionIndicator": {
58
+ "height": "44px"
59
+ },
60
+ "scrollFog": {
61
+ "maxHeight": "132px"
62
+ },
63
+ "item": {
64
+ "height": "44px"
65
+ },
66
+ "itemLabel": {
67
+ "fontSize": "var(--seed-font-size-t10-static)",
68
+ "lineHeight": "var(--seed-line-height-t10-static)"
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,72 @@
1
+ export const vars = {
2
+ "base": {
3
+ "enabled": {
4
+ "root": {
5
+ "color": "var(--seed-color-bg-layer-floating)"
6
+ },
7
+ "selectionIndicator": {
8
+ "insetX": "var(--seed-dimension-x4)",
9
+ "cornerRadius": "var(--seed-radius-r2)",
10
+ "color": "var(--seed-color-bg-neutral-weak)"
11
+ },
12
+ "scrollFog": {
13
+ "maxHeightFraction": "0.4"
14
+ },
15
+ "itemLabel": {
16
+ "paddingX": "var(--seed-dimension-x4)",
17
+ "fontWeight": "var(--seed-font-weight-medium)",
18
+ "color": "var(--seed-color-fg-disabled)"
19
+ }
20
+ },
21
+ "selected": {
22
+ "itemLabel": {
23
+ "color": "var(--seed-color-fg-neutral)"
24
+ }
25
+ },
26
+ "disabled": {
27
+ "itemLabel": {
28
+ "color": "var(--seed-color-fg-disabled)"
29
+ }
30
+ }
31
+ },
32
+ "sizeSmall": {
33
+ "enabled": {
34
+ "root": {
35
+ "height": "180px"
36
+ },
37
+ "selectionIndicator": {
38
+ "height": "36px"
39
+ },
40
+ "scrollFog": {
41
+ "maxHeight": "108px"
42
+ },
43
+ "item": {
44
+ "height": "36px"
45
+ },
46
+ "itemLabel": {
47
+ "fontSize": "var(--seed-font-size-t7-static)",
48
+ "lineHeight": "var(--seed-line-height-t7-static)"
49
+ }
50
+ }
51
+ },
52
+ "sizeMedium": {
53
+ "enabled": {
54
+ "root": {
55
+ "height": "220px"
56
+ },
57
+ "selectionIndicator": {
58
+ "height": "44px"
59
+ },
60
+ "scrollFog": {
61
+ "maxHeight": "132px"
62
+ },
63
+ "item": {
64
+ "height": "44px"
65
+ },
66
+ "itemLabel": {
67
+ "fontSize": "var(--seed-font-size-t10-static)",
68
+ "lineHeight": "var(--seed-line-height-t10-static)"
69
+ }
70
+ }
71
+ }
72
+ }