@seed-design/figma 0.1.6 → 0.1.8

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 (165) hide show
  1. package/lib/codegen/index.cjs +746 -646
  2. package/lib/codegen/index.d.ts +707 -627
  3. package/lib/codegen/index.d.ts.map +1 -1
  4. package/lib/codegen/index.js +746 -646
  5. package/lib/codegen/targets/react/index.cjs +1170 -1180
  6. package/lib/codegen/targets/react/index.d.ts +20 -9
  7. package/lib/codegen/targets/react/index.d.ts.map +1 -1
  8. package/lib/codegen/targets/react/index.js +1170 -1180
  9. package/lib/index.cjs +883 -668
  10. package/lib/index.d.ts +3 -1
  11. package/lib/index.d.ts.map +1 -1
  12. package/lib/index.js +883 -668
  13. package/package.json +3 -3
  14. package/src/codegen/component-properties.ts +283 -146
  15. package/src/codegen/core/component-handler.ts +9 -3
  16. package/src/codegen/core/jsx.ts +7 -2
  17. package/src/codegen/core/value-resolver.ts +35 -21
  18. package/src/codegen/targets/figma/pipeline.ts +4 -2
  19. package/src/codegen/targets/figma/value-resolver.ts +38 -2
  20. package/src/codegen/targets/react/component/handlers/action-button.ts +69 -5
  21. package/src/codegen/targets/react/component/handlers/alert-dialog.ts +81 -0
  22. package/src/codegen/targets/react/component/handlers/app-bar.ts +93 -128
  23. package/src/codegen/targets/react/component/handlers/avatar.ts +17 -8
  24. package/src/codegen/targets/react/component/handlers/badge.ts +0 -1
  25. package/src/codegen/targets/react/component/handlers/bottom-sheet.ts +71 -0
  26. package/src/codegen/targets/react/component/handlers/callout.ts +13 -17
  27. package/src/codegen/targets/react/component/handlers/chip.ts +66 -0
  28. package/src/codegen/targets/react/component/handlers/contextual-floating-button.ts +52 -0
  29. package/src/codegen/targets/react/component/handlers/divider.ts +19 -0
  30. package/src/codegen/targets/react/component/handlers/error-state.ts +26 -23
  31. package/src/codegen/targets/react/component/handlers/floating-action-button.ts +48 -0
  32. package/src/codegen/targets/react/component/handlers/help-bubble.ts +4 -5
  33. package/src/codegen/targets/react/component/handlers/identity-placeholder.ts +3 -2
  34. package/src/codegen/targets/react/component/handlers/inline-banner.ts +7 -14
  35. package/src/codegen/targets/react/component/handlers/manner-temp.ts +18 -0
  36. package/src/codegen/targets/react/component/handlers/menu-sheet.ts +106 -0
  37. package/src/codegen/targets/react/component/handlers/multiline-text-field.ts +1 -1
  38. package/src/codegen/targets/react/component/handlers/progress-circle.ts +3 -1
  39. package/src/codegen/targets/react/component/handlers/segmented-control.ts +4 -2
  40. package/src/codegen/targets/react/component/handlers/select-box.ts +7 -4
  41. package/src/codegen/targets/react/component/handlers/snackbar.ts +2 -2
  42. package/src/codegen/targets/react/component/handlers/tabs.ts +8 -125
  43. package/src/codegen/targets/react/component/index.ts +22 -19
  44. package/src/codegen/targets/react/instance.ts +1 -1
  45. package/src/codegen/targets/react/pipeline.ts +4 -2
  46. package/src/codegen/targets/react/props.ts +11 -4
  47. package/src/codegen/targets/react/value-resolver.ts +38 -3
  48. package/src/entities/data/__generated__/component-sets/action-button.d.ts +5 -5
  49. package/src/entities/data/__generated__/component-sets/action-button.mjs +5 -5
  50. package/src/entities/data/__generated__/component-sets/alert-dialog.d.ts +26 -0
  51. package/src/entities/data/__generated__/component-sets/alert-dialog.mjs +26 -0
  52. package/src/entities/data/__generated__/component-sets/avatar-stack.d.ts +5 -18
  53. package/src/entities/data/__generated__/component-sets/avatar-stack.mjs +5 -18
  54. package/src/entities/data/__generated__/component-sets/avatar.d.ts +11 -5
  55. package/src/entities/data/__generated__/component-sets/avatar.mjs +11 -5
  56. package/src/entities/data/__generated__/component-sets/badge.d.ts +0 -7
  57. package/src/entities/data/__generated__/component-sets/badge.mjs +0 -7
  58. package/src/entities/data/__generated__/component-sets/bottom-navigation-global.d.ts +3 -0
  59. package/src/entities/data/__generated__/component-sets/bottom-navigation-global.mjs +3 -0
  60. package/src/entities/data/__generated__/component-sets/bottom-navigation-kr.d.ts +3 -0
  61. package/src/entities/data/__generated__/component-sets/bottom-navigation-kr.mjs +3 -0
  62. package/src/entities/data/__generated__/component-sets/bottom-sheet.d.ts +53 -4
  63. package/src/entities/data/__generated__/component-sets/bottom-sheet.mjs +53 -4
  64. package/src/entities/data/__generated__/component-sets/callout.d.ts +13 -22
  65. package/src/entities/data/__generated__/component-sets/callout.mjs +13 -22
  66. package/src/entities/data/__generated__/component-sets/checkbox.d.ts +3 -3
  67. package/src/entities/data/__generated__/component-sets/checkbox.mjs +3 -3
  68. package/src/entities/data/__generated__/component-sets/checkmark.d.ts +34 -0
  69. package/src/entities/data/__generated__/component-sets/checkmark.mjs +34 -0
  70. package/src/entities/data/__generated__/component-sets/chip.d.ts +86 -0
  71. package/src/entities/data/__generated__/component-sets/chip.mjs +86 -0
  72. package/src/entities/data/__generated__/component-sets/chlid.d.ts +14 -0
  73. package/src/entities/data/__generated__/component-sets/chlid.mjs +14 -0
  74. package/src/entities/data/__generated__/component-sets/{extended-floating-action-button.d.ts → contextual-floating-button.d.ts} +12 -10
  75. package/src/entities/data/__generated__/component-sets/{extended-floating-action-button.mjs → contextual-floating-button.mjs} +12 -10
  76. package/src/entities/data/__generated__/component-sets/floating-action-button.d.ts +4 -8
  77. package/src/entities/data/__generated__/component-sets/floating-action-button.mjs +4 -8
  78. package/src/entities/data/__generated__/component-sets/help-bubble.d.ts +3 -10
  79. package/src/entities/data/__generated__/component-sets/help-bubble.mjs +3 -10
  80. package/src/entities/data/__generated__/component-sets/index.d.ts +13 -13
  81. package/src/entities/data/__generated__/component-sets/index.mjs +13 -13
  82. package/src/entities/data/__generated__/component-sets/inline-banner.d.ts +3 -3
  83. package/src/entities/data/__generated__/component-sets/inline-banner.mjs +3 -3
  84. package/src/entities/data/__generated__/component-sets/main-tab-navigation-global.d.ts +2 -2
  85. package/src/entities/data/__generated__/component-sets/main-tab-navigation-global.mjs +2 -2
  86. package/src/entities/data/__generated__/component-sets/manner-temp-badge.d.ts +2 -2
  87. package/src/entities/data/__generated__/component-sets/manner-temp-badge.mjs +2 -2
  88. package/src/entities/data/__generated__/component-sets/manner-temp.d.ts +2 -2
  89. package/src/entities/data/__generated__/component-sets/manner-temp.mjs +2 -2
  90. package/src/entities/data/__generated__/component-sets/{extended-action-sheet.d.ts → menu-sheet.d.ts} +17 -13
  91. package/src/entities/data/__generated__/component-sets/{extended-action-sheet.mjs → menu-sheet.mjs} +17 -13
  92. package/src/entities/data/__generated__/component-sets/multiline-text-field.d.ts +18 -18
  93. package/src/entities/data/__generated__/component-sets/multiline-text-field.mjs +18 -18
  94. package/src/entities/data/__generated__/component-sets/progress-circle.d.ts +2 -1
  95. package/src/entities/data/__generated__/component-sets/progress-circle.mjs +2 -1
  96. package/src/entities/data/__generated__/component-sets/radio-mark.d.ts +34 -0
  97. package/src/entities/data/__generated__/component-sets/radio-mark.mjs +34 -0
  98. package/src/entities/data/__generated__/component-sets/radio.d.ts +2 -2
  99. package/src/entities/data/__generated__/component-sets/radio.mjs +2 -2
  100. package/src/entities/data/__generated__/component-sets/reaction-button.d.ts +6 -6
  101. package/src/entities/data/__generated__/component-sets/reaction-button.mjs +6 -6
  102. package/src/entities/data/__generated__/component-sets/resizable-child.d.ts +18 -0
  103. package/src/entities/data/__generated__/component-sets/resizable-child.mjs +18 -0
  104. package/src/entities/data/__generated__/component-sets/resizable-icon.d.ts +18 -0
  105. package/src/entities/data/__generated__/component-sets/resizable-icon.mjs +18 -0
  106. package/src/entities/data/__generated__/component-sets/select-box.d.ts +4 -4
  107. package/src/entities/data/__generated__/component-sets/select-box.mjs +4 -4
  108. package/src/entities/data/__generated__/component-sets/skeleton.d.ts +7 -0
  109. package/src/entities/data/__generated__/component-sets/skeleton.mjs +7 -0
  110. package/src/entities/data/__generated__/component-sets/snackbar.d.ts +4 -4
  111. package/src/entities/data/__generated__/component-sets/snackbar.mjs +4 -4
  112. package/src/entities/data/__generated__/component-sets/switch.d.ts +1 -1
  113. package/src/entities/data/__generated__/component-sets/switch.mjs +1 -1
  114. package/src/entities/data/__generated__/component-sets/tabs.d.ts +13 -0
  115. package/src/entities/data/__generated__/component-sets/tabs.mjs +13 -0
  116. package/src/entities/data/__generated__/component-sets/template-button-group.d.ts +9 -33
  117. package/src/entities/data/__generated__/component-sets/template-button-group.mjs +9 -33
  118. package/src/entities/data/__generated__/component-sets/template-chip-group.d.ts +15 -12
  119. package/src/entities/data/__generated__/component-sets/template-chip-group.mjs +15 -12
  120. package/src/entities/data/__generated__/component-sets/template-completion.d.ts +28 -0
  121. package/src/entities/data/__generated__/component-sets/template-completion.mjs +28 -0
  122. package/src/entities/data/__generated__/component-sets/{error-state.d.ts → template-error-state.d.ts} +5 -5
  123. package/src/entities/data/__generated__/component-sets/{error-state.mjs → template-error-state.mjs} +5 -5
  124. package/src/entities/data/__generated__/component-sets/template-top-navigation.d.ts +9 -7
  125. package/src/entities/data/__generated__/component-sets/template-top-navigation.mjs +9 -7
  126. package/src/entities/data/__generated__/component-sets/text-field.d.ts +35 -36
  127. package/src/entities/data/__generated__/component-sets/text-field.mjs +35 -36
  128. package/src/entities/data/__generated__/component-sets/toggle-button.d.ts +7 -7
  129. package/src/entities/data/__generated__/component-sets/toggle-button.mjs +7 -7
  130. package/src/entities/data/__generated__/component-sets/top-navigation.d.ts +42 -0
  131. package/src/entities/data/__generated__/component-sets/top-navigation.mjs +42 -0
  132. package/src/entities/data/styles.ts +94 -0
  133. package/src/entities/index.ts +5 -2
  134. package/src/normalizer/from-plugin.ts +104 -44
  135. package/src/normalizer/types.ts +3 -1
  136. package/src/utils/figma-gradient.ts +72 -0
  137. package/src/utils/figma-node.ts +4 -3
  138. package/src/codegen/targets/react/component/handlers/action-chip.ts +0 -72
  139. package/src/codegen/targets/react/component/handlers/action-sheet.ts +0 -82
  140. package/src/codegen/targets/react/component/handlers/chip-tabs.ts +0 -57
  141. package/src/codegen/targets/react/component/handlers/control-chip.ts +0 -81
  142. package/src/codegen/targets/react/component/handlers/extended-action-sheet.ts +0 -98
  143. package/src/codegen/targets/react/component/handlers/extended-fab.ts +0 -25
  144. package/src/codegen/targets/react/component/handlers/fab.ts +0 -22
  145. package/src/codegen/targets/react/component/handlers/text-button.ts +0 -49
  146. package/src/entities/data/__generated__/component-sets/action-chip.d.ts +0 -57
  147. package/src/entities/data/__generated__/component-sets/action-chip.mjs +0 -57
  148. package/src/entities/data/__generated__/component-sets/action-sheet.d.ts +0 -40
  149. package/src/entities/data/__generated__/component-sets/action-sheet.mjs +0 -40
  150. package/src/entities/data/__generated__/component-sets/chip-tablist.d.ts +0 -24
  151. package/src/entities/data/__generated__/component-sets/chip-tablist.mjs +0 -24
  152. package/src/entities/data/__generated__/component-sets/control-chip.d.ts +0 -60
  153. package/src/entities/data/__generated__/component-sets/control-chip.mjs +0 -60
  154. package/src/entities/data/__generated__/component-sets/identity-placeholder.d.ts +0 -13
  155. package/src/entities/data/__generated__/component-sets/identity-placeholder.mjs +0 -13
  156. package/src/entities/data/__generated__/component-sets/manner-temp-bar.d.ts +0 -23
  157. package/src/entities/data/__generated__/component-sets/manner-temp-bar.mjs +0 -23
  158. package/src/entities/data/__generated__/component-sets/standard-navigation.d.ts +0 -23
  159. package/src/entities/data/__generated__/component-sets/standard-navigation.mjs +0 -23
  160. package/src/entities/data/__generated__/component-sets/tablist.d.ts +0 -29
  161. package/src/entities/data/__generated__/component-sets/tablist.mjs +0 -29
  162. package/src/entities/data/__generated__/component-sets/template-bottom-fixed-bar.d.ts +0 -42
  163. package/src/entities/data/__generated__/component-sets/template-bottom-fixed-bar.mjs +0 -42
  164. package/src/entities/data/__generated__/component-sets/text-button.d.ts +0 -45
  165. package/src/entities/data/__generated__/component-sets/text-button.mjs +0 -45
@@ -1,9 +1,9 @@
1
1
  export declare const metadata: {
2
- "name": "🟢 Error State",
2
+ "name": "🔵 [Template] Error State",
3
3
  "key": "39b4ecd0b5b4d35f4dc5791765ca04aa062a5172",
4
4
  "componentPropertyDefinitions": {
5
- "Secondary Action Label#17042:0": {
6
- "type": "TEXT"
5
+ "Show Buttons#9080:5": {
6
+ "type": "BOOLEAN"
7
7
  },
8
8
  "Title#16237:0": {
9
9
  "type": "TEXT"
@@ -11,8 +11,8 @@ export declare const metadata: {
11
11
  "Description#16237:5": {
12
12
  "type": "TEXT"
13
13
  },
14
- "Show Buttons#9080:5": {
15
- "type": "BOOLEAN"
14
+ "Secondary Action Label#17042:0": {
15
+ "type": "TEXT"
16
16
  },
17
17
  "Variant": {
18
18
  "type": "VARIANT",
@@ -1,9 +1,9 @@
1
1
  export const metadata = {
2
- "name": "🟢 Error State",
2
+ "name": "🔵 [Template] Error State",
3
3
  "key": "39b4ecd0b5b4d35f4dc5791765ca04aa062a5172",
4
4
  "componentPropertyDefinitions": {
5
- "Secondary Action Label#17042:0": {
6
- "type": "TEXT"
5
+ "Show Buttons#9080:5": {
6
+ "type": "BOOLEAN"
7
7
  },
8
8
  "Title#16237:0": {
9
9
  "type": "TEXT"
@@ -11,8 +11,8 @@ export const metadata = {
11
11
  "Description#16237:5": {
12
12
  "type": "TEXT"
13
13
  },
14
- "Show Buttons#9080:5": {
15
- "type": "BOOLEAN"
14
+ "Secondary Action Label#17042:0": {
15
+ "type": "TEXT"
16
16
  },
17
17
  "Variant": {
18
18
  "type": "VARIANT",
@@ -5,6 +5,15 @@ export declare const metadata: {
5
5
  "Action Button#17406:0": {
6
6
  "type": "BOOLEAN"
7
7
  },
8
+ "Sub Title#20497:0": {
9
+ "type": "BOOLEAN"
10
+ },
11
+ "Large Title#20497:5": {
12
+ "type": "TEXT"
13
+ },
14
+ "Sub Title #20497:10": {
15
+ "type": "TEXT"
16
+ },
8
17
  "Variants": {
9
18
  "type": "VARIANT",
10
19
  "variantOptions": [
@@ -13,13 +22,6 @@ export declare const metadata: {
13
22
  "Standard Transparent",
14
23
  "Large Title"
15
24
  ]
16
- },
17
- "OS": {
18
- "type": "VARIANT",
19
- "variantOptions": [
20
- "iOS",
21
- "Android"
22
- ]
23
25
  }
24
26
  }
25
27
  };
@@ -5,6 +5,15 @@ export const metadata = {
5
5
  "Action Button#17406:0": {
6
6
  "type": "BOOLEAN"
7
7
  },
8
+ "Sub Title#20497:0": {
9
+ "type": "BOOLEAN"
10
+ },
11
+ "Large Title#20497:5": {
12
+ "type": "TEXT"
13
+ },
14
+ "Sub Title #20497:10": {
15
+ "type": "TEXT"
16
+ },
8
17
  "Variants": {
9
18
  "type": "VARIANT",
10
19
  "variantOptions": [
@@ -13,13 +22,6 @@ export const metadata = {
13
22
  "Standard Transparent",
14
23
  "Large Title"
15
24
  ]
16
- },
17
- "OS": {
18
- "type": "VARIANT",
19
- "variantOptions": [
20
- "iOS",
21
- "Android"
22
- ]
23
25
  }
24
26
  }
25
27
  };
@@ -2,80 +2,79 @@ export declare const metadata: {
2
2
  "name": "🟢 Text Field",
3
3
  "key": "c49873c37a639f0dffdea4efd0eb43760d66c141",
4
4
  "componentPropertyDefinitions": {
5
- "Suffix Text#15327:138": {
6
- "type": "TEXT"
5
+ "Show Header#870:0": {
6
+ "type": "BOOLEAN"
7
7
  },
8
- "Indicator#15327:249": {
8
+ "Placeholder#958:0": {
9
9
  "type": "TEXT"
10
10
  },
11
- "Label#14964:0": {
12
- "type": "TEXT"
11
+ "Show Footer#958:25": {
12
+ "type": "BOOLEAN"
13
13
  },
14
- "Character Count#15327:64": {
15
- "type": "TEXT"
14
+ "Show Description#958:50": {
15
+ "type": "BOOLEAN"
16
16
  },
17
- "Description#12626:5": {
18
- "type": "TEXT"
17
+ "Show Character Count#958:75": {
18
+ "type": "BOOLEAN"
19
19
  },
20
- "Filled Text#1304:0": {
21
- "type": "TEXT"
20
+ "Show Suffix#958:100": {
21
+ "type": "BOOLEAN"
22
22
  },
23
- "Show Suffix Icon#1267:75": {
23
+ "Show Prefix#958:125": {
24
24
  "type": "BOOLEAN"
25
25
  },
26
- "Show Prefix Icon#1267:50": {
26
+ "Show Indicator#1259:0": {
27
+ "type": "BOOLEAN"
28
+ },
29
+ "Show Prefix Text#1267:0": {
27
30
  "type": "BOOLEAN"
28
31
  },
29
32
  "Prefix Icon#1267:25": {
30
33
  "type": "INSTANCE_SWAP",
31
34
  "preferredValues": []
32
35
  },
33
- "Show Prefix#958:125": {
36
+ "Show Prefix Icon#1267:50": {
34
37
  "type": "BOOLEAN"
35
38
  },
36
- "Show Suffix#958:100": {
39
+ "Show Suffix Icon#1267:75": {
37
40
  "type": "BOOLEAN"
38
41
  },
39
- "Show Character Count#958:75": {
40
- "type": "BOOLEAN"
42
+ "Suffix Icon #1267:100": {
43
+ "type": "INSTANCE_SWAP",
44
+ "preferredValues": []
41
45
  },
42
- "Show Footer#958:25": {
46
+ "Show Suffix Text#1267:125": {
43
47
  "type": "BOOLEAN"
44
48
  },
45
- "Max Character Count#15327:27": {
49
+ "Filled Text#1304:0": {
46
50
  "type": "TEXT"
47
51
  },
48
- "Show Prefix Text#1267:0": {
49
- "type": "BOOLEAN"
52
+ "Description#12626:5": {
53
+ "type": "TEXT"
50
54
  },
51
- "Show Suffix Text#1267:125": {
52
- "type": "BOOLEAN"
55
+ "Label#14964:0": {
56
+ "type": "TEXT"
53
57
  },
54
- "Suffix Icon #1267:100": {
55
- "type": "INSTANCE_SWAP",
56
- "preferredValues": []
58
+ "Max Character Count#15327:27": {
59
+ "type": "TEXT"
57
60
  },
58
- "Show Description#958:50": {
59
- "type": "BOOLEAN"
61
+ "Character Count#15327:64": {
62
+ "type": "TEXT"
60
63
  },
61
64
  "Prefix Text#15327:101": {
62
65
  "type": "TEXT"
63
66
  },
64
- "Show Indicator#1259:0": {
65
- "type": "BOOLEAN"
66
- },
67
- "Placeholder#958:0": {
67
+ "Suffix Text#15327:138": {
68
68
  "type": "TEXT"
69
69
  },
70
- "Show Header#870:0": {
71
- "type": "BOOLEAN"
70
+ "Indicator#15327:249": {
71
+ "type": "TEXT"
72
72
  },
73
73
  "Size": {
74
74
  "type": "VARIANT",
75
75
  "variantOptions": [
76
76
  "Medium",
77
- "Large",
78
- "XLarge"
77
+ "Large(Default)"
79
78
  ]
80
79
  },
81
80
  "State": {
@@ -2,80 +2,79 @@ export const metadata = {
2
2
  "name": "🟢 Text Field",
3
3
  "key": "c49873c37a639f0dffdea4efd0eb43760d66c141",
4
4
  "componentPropertyDefinitions": {
5
- "Suffix Text#15327:138": {
6
- "type": "TEXT"
5
+ "Show Header#870:0": {
6
+ "type": "BOOLEAN"
7
7
  },
8
- "Indicator#15327:249": {
8
+ "Placeholder#958:0": {
9
9
  "type": "TEXT"
10
10
  },
11
- "Label#14964:0": {
12
- "type": "TEXT"
11
+ "Show Footer#958:25": {
12
+ "type": "BOOLEAN"
13
13
  },
14
- "Character Count#15327:64": {
15
- "type": "TEXT"
14
+ "Show Description#958:50": {
15
+ "type": "BOOLEAN"
16
16
  },
17
- "Description#12626:5": {
18
- "type": "TEXT"
17
+ "Show Character Count#958:75": {
18
+ "type": "BOOLEAN"
19
19
  },
20
- "Filled Text#1304:0": {
21
- "type": "TEXT"
20
+ "Show Suffix#958:100": {
21
+ "type": "BOOLEAN"
22
22
  },
23
- "Show Suffix Icon#1267:75": {
23
+ "Show Prefix#958:125": {
24
24
  "type": "BOOLEAN"
25
25
  },
26
- "Show Prefix Icon#1267:50": {
26
+ "Show Indicator#1259:0": {
27
+ "type": "BOOLEAN"
28
+ },
29
+ "Show Prefix Text#1267:0": {
27
30
  "type": "BOOLEAN"
28
31
  },
29
32
  "Prefix Icon#1267:25": {
30
33
  "type": "INSTANCE_SWAP",
31
34
  "preferredValues": []
32
35
  },
33
- "Show Prefix#958:125": {
36
+ "Show Prefix Icon#1267:50": {
34
37
  "type": "BOOLEAN"
35
38
  },
36
- "Show Suffix#958:100": {
39
+ "Show Suffix Icon#1267:75": {
37
40
  "type": "BOOLEAN"
38
41
  },
39
- "Show Character Count#958:75": {
40
- "type": "BOOLEAN"
42
+ "Suffix Icon #1267:100": {
43
+ "type": "INSTANCE_SWAP",
44
+ "preferredValues": []
41
45
  },
42
- "Show Footer#958:25": {
46
+ "Show Suffix Text#1267:125": {
43
47
  "type": "BOOLEAN"
44
48
  },
45
- "Max Character Count#15327:27": {
49
+ "Filled Text#1304:0": {
46
50
  "type": "TEXT"
47
51
  },
48
- "Show Prefix Text#1267:0": {
49
- "type": "BOOLEAN"
52
+ "Description#12626:5": {
53
+ "type": "TEXT"
50
54
  },
51
- "Show Suffix Text#1267:125": {
52
- "type": "BOOLEAN"
55
+ "Label#14964:0": {
56
+ "type": "TEXT"
53
57
  },
54
- "Suffix Icon #1267:100": {
55
- "type": "INSTANCE_SWAP",
56
- "preferredValues": []
58
+ "Max Character Count#15327:27": {
59
+ "type": "TEXT"
57
60
  },
58
- "Show Description#958:50": {
59
- "type": "BOOLEAN"
61
+ "Character Count#15327:64": {
62
+ "type": "TEXT"
60
63
  },
61
64
  "Prefix Text#15327:101": {
62
65
  "type": "TEXT"
63
66
  },
64
- "Show Indicator#1259:0": {
65
- "type": "BOOLEAN"
66
- },
67
- "Placeholder#958:0": {
67
+ "Suffix Text#15327:138": {
68
68
  "type": "TEXT"
69
69
  },
70
- "Show Header#870:0": {
71
- "type": "BOOLEAN"
70
+ "Indicator#15327:249": {
71
+ "type": "TEXT"
72
72
  },
73
73
  "Size": {
74
74
  "type": "VARIANT",
75
75
  "variantOptions": [
76
76
  "Medium",
77
- "Large",
78
- "XLarge"
77
+ "Large(Default)"
79
78
  ]
80
79
  },
81
80
  "State": {
@@ -2,22 +2,22 @@ export declare const metadata: {
2
2
  "name": "🟢 Toggle Button",
3
3
  "key": "1d240ee5fd7a56879713e69cbea1b6f006f0ea22",
4
4
  "componentPropertyDefinitions": {
5
- "Suffix Icon#6122:343": {
5
+ "Label#6122:49": {
6
+ "type": "TEXT"
7
+ },
8
+ "Prefix Icon#6122:98": {
6
9
  "type": "INSTANCE_SWAP",
7
10
  "preferredValues": []
8
11
  },
9
- "Show Prefix Icon#6122:392": {
10
- "type": "BOOLEAN"
11
- },
12
12
  "Show Suffix Icon#6122:147": {
13
13
  "type": "BOOLEAN"
14
14
  },
15
- "Prefix Icon#6122:98": {
15
+ "Suffix Icon#6122:343": {
16
16
  "type": "INSTANCE_SWAP",
17
17
  "preferredValues": []
18
18
  },
19
- "Label#6122:49": {
20
- "type": "TEXT"
19
+ "Show Prefix Icon#6122:392": {
20
+ "type": "BOOLEAN"
21
21
  },
22
22
  "Size": {
23
23
  "type": "VARIANT",
@@ -2,22 +2,22 @@ export const metadata = {
2
2
  "name": "🟢 Toggle Button",
3
3
  "key": "1d240ee5fd7a56879713e69cbea1b6f006f0ea22",
4
4
  "componentPropertyDefinitions": {
5
- "Suffix Icon#6122:343": {
5
+ "Label#6122:49": {
6
+ "type": "TEXT"
7
+ },
8
+ "Prefix Icon#6122:98": {
6
9
  "type": "INSTANCE_SWAP",
7
10
  "preferredValues": []
8
11
  },
9
- "Show Prefix Icon#6122:392": {
10
- "type": "BOOLEAN"
11
- },
12
12
  "Show Suffix Icon#6122:147": {
13
13
  "type": "BOOLEAN"
14
14
  },
15
- "Prefix Icon#6122:98": {
15
+ "Suffix Icon#6122:343": {
16
16
  "type": "INSTANCE_SWAP",
17
17
  "preferredValues": []
18
18
  },
19
- "Label#6122:49": {
20
- "type": "TEXT"
19
+ "Show Prefix Icon#6122:392": {
20
+ "type": "BOOLEAN"
21
21
  },
22
22
  "Size": {
23
23
  "type": "VARIANT",
@@ -0,0 +1,42 @@
1
+ export declare const metadata: {
2
+ "name": "🟢 Top Navigation",
3
+ "key": "f6d069d65f8ffc8b430fd8f3013910557f36e9da",
4
+ "componentPropertyDefinitions": {
5
+ "Show Title#33588:82": {
6
+ "type": "BOOLEAN"
7
+ },
8
+ "OS (Figma Only)": {
9
+ "type": "VARIANT",
10
+ "variantOptions": [
11
+ "iOS",
12
+ "Android"
13
+ ]
14
+ },
15
+ "Variant": {
16
+ "type": "VARIANT",
17
+ "variantOptions": [
18
+ "Layer Default",
19
+ "Transparent"
20
+ ]
21
+ },
22
+ "Left": {
23
+ "type": "VARIANT",
24
+ "variantOptions": [
25
+ "Back",
26
+ "Close",
27
+ "Custom",
28
+ "None"
29
+ ]
30
+ },
31
+ "Right": {
32
+ "type": "VARIANT",
33
+ "variantOptions": [
34
+ "1 Icon Button",
35
+ "2 Icon Button",
36
+ "3 Icon Button",
37
+ "Text Button",
38
+ "None"
39
+ ]
40
+ }
41
+ }
42
+ };
@@ -0,0 +1,42 @@
1
+ export const metadata = {
2
+ "name": "🟢 Top Navigation",
3
+ "key": "f6d069d65f8ffc8b430fd8f3013910557f36e9da",
4
+ "componentPropertyDefinitions": {
5
+ "Show Title#33588:82": {
6
+ "type": "BOOLEAN"
7
+ },
8
+ "OS (Figma Only)": {
9
+ "type": "VARIANT",
10
+ "variantOptions": [
11
+ "iOS",
12
+ "Android"
13
+ ]
14
+ },
15
+ "Variant": {
16
+ "type": "VARIANT",
17
+ "variantOptions": [
18
+ "Layer Default",
19
+ "Transparent"
20
+ ]
21
+ },
22
+ "Left": {
23
+ "type": "VARIANT",
24
+ "variantOptions": [
25
+ "Back",
26
+ "Close",
27
+ "Custom",
28
+ "None"
29
+ ]
30
+ },
31
+ "Right": {
32
+ "type": "VARIANT",
33
+ "variantOptions": [
34
+ "1 Icon Button",
35
+ "2 Icon Button",
36
+ "3 Icon Button",
37
+ "Text Button",
38
+ "None"
39
+ ]
40
+ }
41
+ }
42
+ };
@@ -1,5 +1,99 @@
1
1
  import type { Style } from "../style.interface";
2
2
 
3
+ export const FIGMA_FILL_STYLES: Style[] = [
4
+ {
5
+ styleType: "FILL",
6
+ key: "46186d7dd037e8e54983ee6677cf7915790d84cc",
7
+ name: "gradient/fade/layer-floating/↑(to-top)",
8
+ description: "스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.",
9
+ remote: false,
10
+ },
11
+ {
12
+ styleType: "FILL",
13
+ key: "b28d9c9adc816fdd4ecec3a0b3e25d8aec802b6a",
14
+ name: "gradient/fade/layer-floating/↓(to-bottom)",
15
+ description: "스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.",
16
+ remote: false,
17
+ },
18
+ {
19
+ styleType: "FILL",
20
+ key: "063c0dc05b438ac36499492e783520a722782d74",
21
+ name: "gradient/fade/layer-floating/→(to-right)",
22
+ description: "스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.",
23
+ remote: false,
24
+ },
25
+ {
26
+ styleType: "FILL",
27
+ key: "c1cee6b89c357c6a12d020654d73a4490cafdf51",
28
+ name: "gradient/fade/layer-default/←(to-left)",
29
+ description: "스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.",
30
+ remote: false,
31
+ },
32
+ {
33
+ styleType: "FILL",
34
+ key: "826457503b7ee3d472eab91581b1fcd499c47c00",
35
+ name: "gradient/fade/layer-default/↑(to-top)",
36
+ description: "스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.",
37
+ remote: false,
38
+ },
39
+ {
40
+ styleType: "FILL",
41
+ key: "df22450a8f8e9c323baf40d8981920d1b6376cbf",
42
+ name: "gradient/fade/layer-floating/←(to-left)",
43
+ description: "스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.",
44
+ remote: false,
45
+ },
46
+ {
47
+ styleType: "FILL",
48
+ key: "ff436e73cf9477a1006e6f8a1f9d2c9dbe0e5edd",
49
+ name: "gradient/fade/layer-default/→(to-right)",
50
+ description: "스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.",
51
+ remote: false,
52
+ },
53
+ {
54
+ styleType: "FILL",
55
+ key: "353baa82e0440385eb121cd0ae98d2fcb1a70b18",
56
+ name: "gradient/glow/magic",
57
+ description: "반짝이는 것처럼 느껴지는 배경에 쓰이는 ai 컬러입니다.",
58
+ remote: false,
59
+ },
60
+ {
61
+ styleType: "FILL",
62
+ key: "f83f54c1840aaf26742629e2c696c363b8df0a82",
63
+ name: "gradient/glow/magic-pressed",
64
+ description: "반짝이는 것처럼 느껴지는 배경에 쓰이는 ai 컬러의 pressed컬러입니다.",
65
+ remote: false,
66
+ },
67
+ {
68
+ styleType: "FILL",
69
+ key: "408cb970f1de672217f452152b0398a4bb4f4e12",
70
+ name: "gradient/fade/layer-default/↓(to-bottom)",
71
+ description: "스크롤이 가능하도록 그라디언트로 특정 영역을 덮는 요소로 사용해요.",
72
+ remote: false,
73
+ },
74
+ {
75
+ styleType: "FILL",
76
+ key: "71971dde923a11c615296a16f8172c0671d5a3a6",
77
+ name: "gradient/shimmer/neutral",
78
+ description: "Skeleton shimmer",
79
+ remote: false,
80
+ },
81
+ {
82
+ styleType: "FILL",
83
+ key: "2ed61bff1a187f39389698cf63b74d6997aed609",
84
+ name: "gradient/shimmer/magic",
85
+ description: "Skeleton AI shimmer",
86
+ remote: false,
87
+ },
88
+ {
89
+ styleType: "FILL",
90
+ key: "1101a7c6a505d97904c3a0ce6a9ee17fe15de879",
91
+ name: "gradient/highlight/magic",
92
+ description: "아이콘 및 shape 영역에서 AI 기능을 표현할 때 사용하는 컬러입니다.",
93
+ remote: false,
94
+ },
95
+ ];
96
+
3
97
  export const FIGMA_TEXT_STYLES: Style[] = [
4
98
  {
5
99
  styleType: "TEXT",
@@ -1,6 +1,6 @@
1
1
  import { createStaticIconRepository } from "./icon.repository";
2
2
  import { FIGMA_ICONS } from "./data/icons";
3
- import { FIGMA_TEXT_STYLES } from "./data/styles";
3
+ import { FIGMA_FILL_STYLES, FIGMA_TEXT_STYLES } from "./data/styles";
4
4
  import { FIGMA_VARIABLE_COLLECTIONS } from "./data/variable-collections";
5
5
  import { FIGMA_VARIABLES } from "./data/variables";
6
6
  import * as FIGMA_COMPONENTS from "./data/__generated__/component-sets";
@@ -20,7 +20,10 @@ export * from "./variable.service";
20
20
  export * from "./component.interface";
21
21
  export * from "./component.repository";
22
22
 
23
- export const styleRepository = createStaticStyleRepository(FIGMA_TEXT_STYLES);
23
+ export const styleRepository = createStaticStyleRepository([
24
+ ...FIGMA_TEXT_STYLES,
25
+ ...FIGMA_FILL_STYLES,
26
+ ]);
24
27
  export const variableRepository = createStaticVariableRepository({
25
28
  variables: FIGMA_VARIABLES,
26
29
  variableCollections: FIGMA_VARIABLE_COLLECTIONS,