@seed-design/figma 0.0.2

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 (121) hide show
  1. package/lib/index.cjs +13918 -0
  2. package/lib/index.d.ts +63 -0
  3. package/lib/index.js +13916 -0
  4. package/package.json +44 -0
  5. package/src/color.ts +78 -0
  6. package/src/component/index.ts +1688 -0
  7. package/src/component/properties.ts +20 -0
  8. package/src/component/type-helper.ts +29 -0
  9. package/src/component/type.ts +318 -0
  10. package/src/data/__generated__/component-sets/action-button.d.ts +59 -0
  11. package/src/data/__generated__/component-sets/action-button.mjs +59 -0
  12. package/src/data/__generated__/component-sets/action-chip.d.ts +57 -0
  13. package/src/data/__generated__/component-sets/action-chip.mjs +57 -0
  14. package/src/data/__generated__/component-sets/action-sheet.d.ts +40 -0
  15. package/src/data/__generated__/component-sets/action-sheet.mjs +40 -0
  16. package/src/data/__generated__/component-sets/avatar-stack.d.ts +32 -0
  17. package/src/data/__generated__/component-sets/avatar-stack.mjs +32 -0
  18. package/src/data/__generated__/component-sets/avatar.d.ts +25 -0
  19. package/src/data/__generated__/component-sets/avatar.mjs +25 -0
  20. package/src/data/__generated__/component-sets/badge.d.ts +41 -0
  21. package/src/data/__generated__/component-sets/badge.mjs +41 -0
  22. package/src/data/__generated__/component-sets/bottom-navigation-global.d.ts +20 -0
  23. package/src/data/__generated__/component-sets/bottom-navigation-global.mjs +20 -0
  24. package/src/data/__generated__/component-sets/bottom-navigation-kr.d.ts +13 -0
  25. package/src/data/__generated__/component-sets/bottom-navigation-kr.mjs +13 -0
  26. package/src/data/__generated__/component-sets/bottom-sheet.d.ts +14 -0
  27. package/src/data/__generated__/component-sets/bottom-sheet.mjs +14 -0
  28. package/src/data/__generated__/component-sets/callout.d.ts +57 -0
  29. package/src/data/__generated__/component-sets/callout.mjs +57 -0
  30. package/src/data/__generated__/component-sets/checkbox.d.ts +44 -0
  31. package/src/data/__generated__/component-sets/checkbox.mjs +44 -0
  32. package/src/data/__generated__/component-sets/chip-tablist.d.ts +24 -0
  33. package/src/data/__generated__/component-sets/chip-tablist.mjs +24 -0
  34. package/src/data/__generated__/component-sets/control-chip.d.ts +60 -0
  35. package/src/data/__generated__/component-sets/control-chip.mjs +60 -0
  36. package/src/data/__generated__/component-sets/divider.d.ts +13 -0
  37. package/src/data/__generated__/component-sets/divider.mjs +13 -0
  38. package/src/data/__generated__/component-sets/error-state.d.ts +32 -0
  39. package/src/data/__generated__/component-sets/error-state.mjs +32 -0
  40. package/src/data/__generated__/component-sets/extended-action-sheet.d.ts +32 -0
  41. package/src/data/__generated__/component-sets/extended-action-sheet.mjs +32 -0
  42. package/src/data/__generated__/component-sets/extended-floating-action-button.d.ts +34 -0
  43. package/src/data/__generated__/component-sets/extended-floating-action-button.mjs +34 -0
  44. package/src/data/__generated__/component-sets/floating-action-button.d.ts +17 -0
  45. package/src/data/__generated__/component-sets/floating-action-button.mjs +17 -0
  46. package/src/data/__generated__/component-sets/help-bubble.d.ts +39 -0
  47. package/src/data/__generated__/component-sets/help-bubble.mjs +39 -0
  48. package/src/data/__generated__/component-sets/identity-placeholder.d.ts +13 -0
  49. package/src/data/__generated__/component-sets/identity-placeholder.mjs +13 -0
  50. package/src/data/__generated__/component-sets/index.d.ts +47 -0
  51. package/src/data/__generated__/component-sets/index.mjs +47 -0
  52. package/src/data/__generated__/component-sets/inline-banner.d.ts +40 -0
  53. package/src/data/__generated__/component-sets/inline-banner.mjs +40 -0
  54. package/src/data/__generated__/component-sets/main-tab-navigation-global.d.ts +26 -0
  55. package/src/data/__generated__/component-sets/main-tab-navigation-global.mjs +26 -0
  56. package/src/data/__generated__/component-sets/main-tab-navigation-kr.d.ts +23 -0
  57. package/src/data/__generated__/component-sets/main-tab-navigation-kr.mjs +23 -0
  58. package/src/data/__generated__/component-sets/manner-temp-badge.d.ts +17 -0
  59. package/src/data/__generated__/component-sets/manner-temp-badge.mjs +17 -0
  60. package/src/data/__generated__/component-sets/manner-temp-bar.d.ts +23 -0
  61. package/src/data/__generated__/component-sets/manner-temp-bar.mjs +23 -0
  62. package/src/data/__generated__/component-sets/manner-temp.d.ts +17 -0
  63. package/src/data/__generated__/component-sets/manner-temp.mjs +17 -0
  64. package/src/data/__generated__/component-sets/multiline-text-field.d.ts +68 -0
  65. package/src/data/__generated__/component-sets/multiline-text-field.mjs +68 -0
  66. package/src/data/__generated__/component-sets/progress-circle.d.ts +31 -0
  67. package/src/data/__generated__/component-sets/progress-circle.mjs +31 -0
  68. package/src/data/__generated__/component-sets/radio.d.ts +27 -0
  69. package/src/data/__generated__/component-sets/radio.mjs +27 -0
  70. package/src/data/__generated__/component-sets/range-slider.d.ts +31 -0
  71. package/src/data/__generated__/component-sets/range-slider.mjs +31 -0
  72. package/src/data/__generated__/component-sets/reaction-button.d.ts +39 -0
  73. package/src/data/__generated__/component-sets/reaction-button.mjs +39 -0
  74. package/src/data/__generated__/component-sets/segmented-control.d.ts +23 -0
  75. package/src/data/__generated__/component-sets/segmented-control.mjs +23 -0
  76. package/src/data/__generated__/component-sets/select-box.d.ts +31 -0
  77. package/src/data/__generated__/component-sets/select-box.mjs +31 -0
  78. package/src/data/__generated__/component-sets/skeleton.d.ts +15 -0
  79. package/src/data/__generated__/component-sets/skeleton.mjs +15 -0
  80. package/src/data/__generated__/component-sets/slider.d.ts +31 -0
  81. package/src/data/__generated__/component-sets/slider.mjs +31 -0
  82. package/src/data/__generated__/component-sets/snackbar.d.ts +23 -0
  83. package/src/data/__generated__/component-sets/snackbar.mjs +23 -0
  84. package/src/data/__generated__/component-sets/standard-navigation.d.ts +23 -0
  85. package/src/data/__generated__/component-sets/standard-navigation.mjs +23 -0
  86. package/src/data/__generated__/component-sets/switch.d.ts +25 -0
  87. package/src/data/__generated__/component-sets/switch.mjs +25 -0
  88. package/src/data/__generated__/component-sets/tablist.d.ts +29 -0
  89. package/src/data/__generated__/component-sets/tablist.mjs +29 -0
  90. package/src/data/__generated__/component-sets/template-bottom-fixed-bar.d.ts +42 -0
  91. package/src/data/__generated__/component-sets/template-bottom-fixed-bar.mjs +42 -0
  92. package/src/data/__generated__/component-sets/template-button-group.d.ts +51 -0
  93. package/src/data/__generated__/component-sets/template-button-group.mjs +51 -0
  94. package/src/data/__generated__/component-sets/template-chip-group.d.ts +26 -0
  95. package/src/data/__generated__/component-sets/template-chip-group.mjs +26 -0
  96. package/src/data/__generated__/component-sets/template-select-box-group.d.ts +24 -0
  97. package/src/data/__generated__/component-sets/template-select-box-group.mjs +24 -0
  98. package/src/data/__generated__/component-sets/template-top-navigation.d.ts +25 -0
  99. package/src/data/__generated__/component-sets/template-top-navigation.mjs +25 -0
  100. package/src/data/__generated__/component-sets/text-button.d.ts +45 -0
  101. package/src/data/__generated__/component-sets/text-button.mjs +45 -0
  102. package/src/data/__generated__/component-sets/text-field.d.ts +100 -0
  103. package/src/data/__generated__/component-sets/text-field.mjs +100 -0
  104. package/src/data/__generated__/component-sets/toggle-button.d.ts +50 -0
  105. package/src/data/__generated__/component-sets/toggle-button.mjs +50 -0
  106. package/src/data/icons.ts +2774 -0
  107. package/src/data/styles.ts +142 -0
  108. package/src/data/variables.ts +7772 -0
  109. package/src/generate-code.ts +213 -0
  110. package/src/icon.ts +46 -0
  111. package/src/index.ts +3 -0
  112. package/src/jsx.ts +104 -0
  113. package/src/layout.ts +289 -0
  114. package/src/node-util.ts +49 -0
  115. package/src/normalizer/from-plugin.ts +345 -0
  116. package/src/normalizer/from-rest.ts +178 -0
  117. package/src/normalizer/types.ts +94 -0
  118. package/src/sizing.ts +58 -0
  119. package/src/text.ts +20 -0
  120. package/src/util.ts +17 -0
  121. package/src/variable.ts +66 -0
@@ -0,0 +1,20 @@
1
+ import { camelCase } from "change-case";
2
+
3
+ type Size = "XSmall" | "Small" | "Medium" | "Large" | "XLarge" | ({} & string);
4
+
5
+ export function handleSize(size: Size) {
6
+ switch (size) {
7
+ case "XSmall":
8
+ return "xsmall";
9
+ case "Small":
10
+ return "small";
11
+ case "Medium":
12
+ return "medium";
13
+ case "Large":
14
+ return "large";
15
+ case "XLarge":
16
+ return "xlarge";
17
+ default:
18
+ return camelCase(size);
19
+ }
20
+ }
@@ -0,0 +1,29 @@
1
+ interface ComponentPropertyDefinition {
2
+ type: ComponentPropertyType;
3
+ preferredValues?: InstanceSwapPreferredValue[];
4
+ variantOptions?: string[];
5
+ }
6
+
7
+ export type InferPropertyType<T extends ComponentPropertyDefinition> = T["type"] extends "TEXT"
8
+ ? string
9
+ : T["type"] extends "BOOLEAN"
10
+ ? boolean
11
+ : T["type"] extends "INSTANCE_SWAP"
12
+ ? string
13
+ : T["type"] extends "VARIANT"
14
+ ? T["variantOptions"] extends string[]
15
+ ? T["variantOptions"][number]
16
+ : never
17
+ : never;
18
+
19
+ export type InferFromDefinition<T extends Record<string, ComponentPropertyDefinition>> = {
20
+ [K in keyof T]: {
21
+ type: T[K]["type"];
22
+ value: InferPropertyType<T[K]>;
23
+ componentKey?: string;
24
+ preferredValues?: InstanceSwapPreferredValue[];
25
+ readonly boundVariables?: {
26
+ [field in VariableBindableComponentPropertyField]?: VariableAlias;
27
+ };
28
+ };
29
+ };
@@ -0,0 +1,318 @@
1
+ import type { InferFromDefinition } from "./type-helper";
2
+ import type * as metadata from "../data/__generated__/component-sets";
3
+
4
+ export type ActionButtonProperties = InferFromDefinition<
5
+ typeof metadata.actionButton.componentPropertyDefinitions
6
+ >;
7
+
8
+ export type ActionChipProperties = InferFromDefinition<
9
+ typeof metadata.actionChip.componentPropertyDefinitions
10
+ >;
11
+
12
+ export type ActionSheetProperties = InferFromDefinition<
13
+ typeof metadata.actionSheet.componentPropertyDefinitions
14
+ >;
15
+
16
+ export type ActionSheetItemProperties = InferFromDefinition<{
17
+ "Label#15420:4": {
18
+ type: "TEXT";
19
+ defaultValue: "액션 버튼";
20
+ };
21
+ Tone: {
22
+ type: "VARIANT";
23
+ defaultValue: "Default";
24
+ variantOptions: ["Default", "Critical"];
25
+ };
26
+ State: {
27
+ type: "VARIANT";
28
+ defaultValue: "Enabled";
29
+ variantOptions: ["Enabled", "Enabled-Pressed", "Disabled"];
30
+ };
31
+ }>;
32
+
33
+ export type AvatarProperties = InferFromDefinition<
34
+ typeof metadata.avatar.componentPropertyDefinitions
35
+ >;
36
+
37
+ export type AvatarStackProperties = InferFromDefinition<
38
+ typeof metadata.avatarStack.componentPropertyDefinitions
39
+ >;
40
+
41
+ export type BadgeProperties = InferFromDefinition<
42
+ typeof metadata.badge.componentPropertyDefinitions
43
+ >;
44
+
45
+ export type CalloutProperties = InferFromDefinition<
46
+ typeof metadata.callout.componentPropertyDefinitions
47
+ >;
48
+
49
+ export type CheckboxProperties = InferFromDefinition<
50
+ typeof metadata.checkbox.componentPropertyDefinitions
51
+ >;
52
+
53
+ export type ChipTabsProperties = InferFromDefinition<
54
+ typeof metadata.chipTablist.componentPropertyDefinitions
55
+ >;
56
+
57
+ export type ChipTabsItemProperties = InferFromDefinition<{
58
+ "Label#8876:0": {
59
+ type: "TEXT";
60
+ defaultValue: "라벨";
61
+ };
62
+ Variant: {
63
+ type: "VARIANT";
64
+ defaultValue: "Neutral Solid";
65
+ variantOptions: ["Neutral Solid", "Brand Solid"];
66
+ };
67
+ State: {
68
+ type: "VARIANT";
69
+ defaultValue: "Enabled";
70
+ variantOptions: [
71
+ "Enabled",
72
+ "Enabled-Pressed",
73
+ "Enabled-Selected",
74
+ "Enabled-Selected-Pressed",
75
+ "Disabled",
76
+ "Disabled-Selected",
77
+ ];
78
+ };
79
+ }>;
80
+
81
+ export type ControlChipProperties = InferFromDefinition<
82
+ typeof metadata.controlChip.componentPropertyDefinitions
83
+ >;
84
+
85
+ export type ErrorStateProperties = InferFromDefinition<
86
+ typeof metadata.errorState.componentPropertyDefinitions
87
+ >;
88
+
89
+ export type ExtendedActionSheetProperties = InferFromDefinition<
90
+ typeof metadata.extendedActionSheet.componentPropertyDefinitions
91
+ >;
92
+
93
+ export type ExtendedActionSheetGroupProperties = InferFromDefinition<{
94
+ "Action Count": {
95
+ type: "VARIANT";
96
+ defaultValue: "8";
97
+ variantOptions: ["1", "2", "3", "4", "5", "6", "7", "8"];
98
+ };
99
+ }>;
100
+
101
+ export type ExtendedActionSheetItemProperties = InferFromDefinition<{
102
+ "Show Prefix Icon#17043:5": {
103
+ type: "BOOLEAN";
104
+ defaultValue: true;
105
+ };
106
+ "Label#55905:8": {
107
+ type: "TEXT";
108
+ defaultValue: "액션 버튼";
109
+ };
110
+ "Prefix Icon#55948:0": {
111
+ type: "INSTANCE_SWAP";
112
+ defaultValue: "17024:100799";
113
+ preferredValues: [];
114
+ };
115
+ Tone: {
116
+ type: "VARIANT";
117
+ defaultValue: "Neutral";
118
+ variantOptions: ["Neutral", "Critical"];
119
+ };
120
+ State: {
121
+ type: "VARIANT";
122
+ defaultValue: "Enabled";
123
+ variantOptions: ["Enabled", "Enabled-Pressed", "Disabled"];
124
+ };
125
+ }>;
126
+
127
+ export type ExtendedFabProperties = InferFromDefinition<
128
+ typeof metadata.extendedFloatingActionButton.componentPropertyDefinitions
129
+ >;
130
+
131
+ export type FabProperties = InferFromDefinition<
132
+ typeof metadata.floatingActionButton.componentPropertyDefinitions
133
+ >;
134
+
135
+ export type HelpBubbleProperties = InferFromDefinition<
136
+ typeof metadata.helpBubble.componentPropertyDefinitions
137
+ >;
138
+
139
+ export type IdentityPlaceholderProperties = InferFromDefinition<
140
+ typeof metadata.identityPlaceholder.componentPropertyDefinitions
141
+ >;
142
+
143
+ export type InlineBannerProperties = InferFromDefinition<
144
+ typeof metadata.inlineBanner.componentPropertyDefinitions
145
+ >;
146
+
147
+ export type MannerTempBadgeProperties = InferFromDefinition<
148
+ typeof metadata.mannerTempBadge.componentPropertyDefinitions
149
+ >;
150
+
151
+ export type MultilineTextFieldProperties = InferFromDefinition<
152
+ typeof metadata.multilineTextField.componentPropertyDefinitions
153
+ >;
154
+
155
+ export type ProgressCircleProperties = InferFromDefinition<
156
+ typeof metadata.progressCircle.componentPropertyDefinitions
157
+ >;
158
+
159
+ export type ReactionButtonProperties = InferFromDefinition<
160
+ typeof metadata.reactionButton.componentPropertyDefinitions
161
+ >;
162
+
163
+ export type SegmentedControlProperties = InferFromDefinition<
164
+ typeof metadata.segmentedControl.componentPropertyDefinitions
165
+ >;
166
+
167
+ export type SegmentedControlItemProperties = InferFromDefinition<{
168
+ "Label#11366:15": {
169
+ type: "TEXT";
170
+ defaultValue: "라벨";
171
+ };
172
+ State: {
173
+ type: "VARIANT";
174
+ defaultValue: "Enabled-Selected";
175
+ variantOptions: [
176
+ "Enabled",
177
+ "Enabled-Selected",
178
+ "Enabled-Pressed",
179
+ "Enabled-Selected-Pressed",
180
+ "Disabled",
181
+ "Disabled-Selected",
182
+ ];
183
+ };
184
+ }>;
185
+
186
+ export type SelectBoxGroupProperties = InferFromDefinition<
187
+ typeof metadata.templateSelectBoxGroup.componentPropertyDefinitions
188
+ >;
189
+
190
+ export type SelectBoxProperties = InferFromDefinition<
191
+ typeof metadata.selectBox.componentPropertyDefinitions
192
+ >;
193
+
194
+ export type SkeletonProperties = InferFromDefinition<
195
+ typeof metadata.skeleton.componentPropertyDefinitions
196
+ >;
197
+
198
+ export type SnackbarProperties = InferFromDefinition<
199
+ typeof metadata.snackbar.componentPropertyDefinitions
200
+ >;
201
+
202
+ export type SwitchProperties = InferFromDefinition<
203
+ typeof metadata.switch.componentPropertyDefinitions
204
+ >;
205
+
206
+ export type TabsProperties = InferFromDefinition<
207
+ typeof metadata.tablist.componentPropertyDefinitions
208
+ >;
209
+
210
+ export type TabsHugItemProperties = InferFromDefinition<{
211
+ "Label#4478:2": {
212
+ type: "TEXT";
213
+ defaultValue: "라벨";
214
+ };
215
+ Size: {
216
+ type: "VARIANT";
217
+ defaultValue: "Small";
218
+ variantOptions: ["Small", "Medium"];
219
+ };
220
+ Notification: {
221
+ type: "VARIANT";
222
+ defaultValue: "False";
223
+ variantOptions: ["True", "False"];
224
+ };
225
+ State: {
226
+ type: "VARIANT";
227
+ defaultValue: "Enabled-Selected";
228
+ variantOptions: ["Enabled", "Enabled-Selected", "Disabled"];
229
+ };
230
+ }>;
231
+
232
+ export type TabsFillItemProperties = InferFromDefinition<{
233
+ "Label#4478:2": {
234
+ type: "TEXT";
235
+ defaultValue: "라벨";
236
+ };
237
+ Size: {
238
+ type: "VARIANT";
239
+ defaultValue: "Small";
240
+ variantOptions: ["Small", "Medium"];
241
+ };
242
+ Notification: {
243
+ type: "VARIANT";
244
+ defaultValue: "False";
245
+ variantOptions: ["True", "False"];
246
+ };
247
+ State: {
248
+ type: "VARIANT";
249
+ defaultValue: "Enabled-Selected";
250
+ variantOptions: ["Enabled", "Enabled-Selected", "Disabled"];
251
+ };
252
+ }>;
253
+
254
+ export type TextButtonProperties = InferFromDefinition<
255
+ typeof metadata.textButton.componentPropertyDefinitions
256
+ >;
257
+
258
+ export type TextFieldProperties = InferFromDefinition<
259
+ typeof metadata.textField.componentPropertyDefinitions
260
+ >;
261
+
262
+ export type ToggleButtonProperties = InferFromDefinition<
263
+ typeof metadata.toggleButton.componentPropertyDefinitions
264
+ >;
265
+
266
+ export type AppBarProperties = InferFromDefinition<
267
+ typeof metadata.standardNavigation.componentPropertyDefinitions
268
+ >;
269
+
270
+ export type AppBarMainProperties = InferFromDefinition<{
271
+ "Show Right#16958:13": {
272
+ type: "BOOLEAN";
273
+ defaultValue: false;
274
+ };
275
+ "Subtitle#16958:9": {
276
+ type: "TEXT";
277
+ defaultValue: "서브타이틀";
278
+ };
279
+ "Logo#16958:5": {
280
+ type: "INSTANCE_SWAP";
281
+ defaultValue: "1574:3942";
282
+ preferredValues: [
283
+ {
284
+ type: "COMPONENT_SET";
285
+ key: "c7dab3f6d0df0a150564e696c0df00bd43ffef3f";
286
+ },
287
+ ];
288
+ };
289
+ "Show Left#16958:17": {
290
+ type: "BOOLEAN";
291
+ defaultValue: false;
292
+ };
293
+ "Title#16944:0": {
294
+ type: "TEXT";
295
+ defaultValue: "타이틀";
296
+ };
297
+ Type: {
298
+ type: "VARIANT";
299
+ defaultValue: "Title";
300
+ variantOptions: ["Title", "Title-Subtitle", "Logo"];
301
+ };
302
+ }>;
303
+
304
+ export type AppBarLeftProperties = InferFromDefinition<{
305
+ Action: {
306
+ type: "VARIANT";
307
+ defaultValue: "Back";
308
+ variantOptions: ["Back", "Close", "Other"];
309
+ };
310
+ }>;
311
+
312
+ export type AppBarRightProperties = InferFromDefinition<{
313
+ Type: {
314
+ type: "VARIANT";
315
+ defaultValue: "1 Icon";
316
+ variantOptions: ["1 Icon", "2 Icons", "3 Icons", "1 Text"];
317
+ };
318
+ }>;
@@ -0,0 +1,59 @@
1
+ export declare const metadata: {
2
+ "name": "🟢 Action Button",
3
+ "key": "450ede9d0bf42fc6ef14345c77e6e407d6d5ee89",
4
+ "componentPropertyDefinitions": {
5
+ "Suffix Icon#5987:244": {
6
+ "type": "INSTANCE_SWAP",
7
+ "preferredValues": []
8
+ },
9
+ "Icon#7574:0": {
10
+ "type": "INSTANCE_SWAP",
11
+ "preferredValues": []
12
+ },
13
+ "Prefix Icon#5987:305": {
14
+ "type": "INSTANCE_SWAP",
15
+ "preferredValues": []
16
+ },
17
+ "Label#5987:61": {
18
+ "type": "TEXT"
19
+ },
20
+ "Size": {
21
+ "type": "VARIANT",
22
+ "variantOptions": [
23
+ "XSmall",
24
+ "Small",
25
+ "Medium",
26
+ "Large"
27
+ ]
28
+ },
29
+ "Layout": {
30
+ "type": "VARIANT",
31
+ "variantOptions": [
32
+ "Text Only",
33
+ "Icon First",
34
+ "Icon Last",
35
+ "Icon Only"
36
+ ]
37
+ },
38
+ "Variant": {
39
+ "type": "VARIANT",
40
+ "variantOptions": [
41
+ "Neutral Solid",
42
+ "Neutral Weak",
43
+ "Neutral Outline",
44
+ "Brand Solid",
45
+ "Brand Outline",
46
+ "Critical Solid"
47
+ ]
48
+ },
49
+ "State": {
50
+ "type": "VARIANT",
51
+ "variantOptions": [
52
+ "Enabled",
53
+ "Pressed",
54
+ "Loading",
55
+ "Disabled"
56
+ ]
57
+ }
58
+ }
59
+ };
@@ -0,0 +1,59 @@
1
+ export const metadata = {
2
+ "name": "🟢 Action Button",
3
+ "key": "450ede9d0bf42fc6ef14345c77e6e407d6d5ee89",
4
+ "componentPropertyDefinitions": {
5
+ "Suffix Icon#5987:244": {
6
+ "type": "INSTANCE_SWAP",
7
+ "preferredValues": []
8
+ },
9
+ "Icon#7574:0": {
10
+ "type": "INSTANCE_SWAP",
11
+ "preferredValues": []
12
+ },
13
+ "Prefix Icon#5987:305": {
14
+ "type": "INSTANCE_SWAP",
15
+ "preferredValues": []
16
+ },
17
+ "Label#5987:61": {
18
+ "type": "TEXT"
19
+ },
20
+ "Size": {
21
+ "type": "VARIANT",
22
+ "variantOptions": [
23
+ "XSmall",
24
+ "Small",
25
+ "Medium",
26
+ "Large"
27
+ ]
28
+ },
29
+ "Layout": {
30
+ "type": "VARIANT",
31
+ "variantOptions": [
32
+ "Text Only",
33
+ "Icon First",
34
+ "Icon Last",
35
+ "Icon Only"
36
+ ]
37
+ },
38
+ "Variant": {
39
+ "type": "VARIANT",
40
+ "variantOptions": [
41
+ "Neutral Solid",
42
+ "Neutral Weak",
43
+ "Neutral Outline",
44
+ "Brand Solid",
45
+ "Brand Outline",
46
+ "Critical Solid"
47
+ ]
48
+ },
49
+ "State": {
50
+ "type": "VARIANT",
51
+ "variantOptions": [
52
+ "Enabled",
53
+ "Pressed",
54
+ "Loading",
55
+ "Disabled"
56
+ ]
57
+ }
58
+ }
59
+ };
@@ -0,0 +1,57 @@
1
+ export declare const metadata: {
2
+ "name": "🟢 Action Chip",
3
+ "key": "3d21594ef116e94a9465d507447b858aea062575",
4
+ "componentPropertyDefinitions": {
5
+ "Icon#8714:0": {
6
+ "type": "INSTANCE_SWAP",
7
+ "preferredValues": []
8
+ },
9
+ "Prefix Icon#8711:0": {
10
+ "type": "INSTANCE_SWAP",
11
+ "preferredValues": [
12
+ {
13
+ "type": "COMPONENT_SET",
14
+ "key": "8ed05ef62a40f2dc034ee7eb6945bd0e63ad49aa"
15
+ }
16
+ ]
17
+ },
18
+ "Suffix Icon#8711:3": {
19
+ "type": "INSTANCE_SWAP",
20
+ "preferredValues": []
21
+ },
22
+ "Label#7185:0": {
23
+ "type": "TEXT"
24
+ },
25
+ "Show Count#7185:42": {
26
+ "type": "BOOLEAN"
27
+ },
28
+ "Count#7185:21": {
29
+ "type": "TEXT"
30
+ },
31
+ "Size": {
32
+ "type": "VARIANT",
33
+ "variantOptions": [
34
+ "Medium",
35
+ "Small"
36
+ ]
37
+ },
38
+ "Layout": {
39
+ "type": "VARIANT",
40
+ "variantOptions": [
41
+ "Text Only",
42
+ "Icon First",
43
+ "Icon Last",
44
+ "Icon Both",
45
+ "Icon Only"
46
+ ]
47
+ },
48
+ "State": {
49
+ "type": "VARIANT",
50
+ "variantOptions": [
51
+ "Enabled",
52
+ "Pressed",
53
+ "Disabled"
54
+ ]
55
+ }
56
+ }
57
+ };
@@ -0,0 +1,57 @@
1
+ export const metadata = {
2
+ "name": "🟢 Action Chip",
3
+ "key": "3d21594ef116e94a9465d507447b858aea062575",
4
+ "componentPropertyDefinitions": {
5
+ "Icon#8714:0": {
6
+ "type": "INSTANCE_SWAP",
7
+ "preferredValues": []
8
+ },
9
+ "Prefix Icon#8711:0": {
10
+ "type": "INSTANCE_SWAP",
11
+ "preferredValues": [
12
+ {
13
+ "type": "COMPONENT_SET",
14
+ "key": "8ed05ef62a40f2dc034ee7eb6945bd0e63ad49aa"
15
+ }
16
+ ]
17
+ },
18
+ "Suffix Icon#8711:3": {
19
+ "type": "INSTANCE_SWAP",
20
+ "preferredValues": []
21
+ },
22
+ "Label#7185:0": {
23
+ "type": "TEXT"
24
+ },
25
+ "Show Count#7185:42": {
26
+ "type": "BOOLEAN"
27
+ },
28
+ "Count#7185:21": {
29
+ "type": "TEXT"
30
+ },
31
+ "Size": {
32
+ "type": "VARIANT",
33
+ "variantOptions": [
34
+ "Medium",
35
+ "Small"
36
+ ]
37
+ },
38
+ "Layout": {
39
+ "type": "VARIANT",
40
+ "variantOptions": [
41
+ "Text Only",
42
+ "Icon First",
43
+ "Icon Last",
44
+ "Icon Both",
45
+ "Icon Only"
46
+ ]
47
+ },
48
+ "State": {
49
+ "type": "VARIANT",
50
+ "variantOptions": [
51
+ "Enabled",
52
+ "Pressed",
53
+ "Disabled"
54
+ ]
55
+ }
56
+ }
57
+ };
@@ -0,0 +1,40 @@
1
+ export declare const metadata: {
2
+ "name": "🟢 Action Sheet",
3
+ "key": "7c29b70b7e71618e1894c26f61f336de2730d76e",
4
+ "componentPropertyDefinitions": {
5
+ "Description#15641:70": {
6
+ "type": "TEXT"
7
+ },
8
+ "Title#15641:37": {
9
+ "type": "TEXT"
10
+ },
11
+ "OS Indicator (Figma Only)#15641:20": {
12
+ "type": "BOOLEAN"
13
+ },
14
+ "Type": {
15
+ "type": "VARIANT",
16
+ "variantOptions": [
17
+ "Normal",
18
+ "Destructive"
19
+ ]
20
+ },
21
+ "Header": {
22
+ "type": "VARIANT",
23
+ "variantOptions": [
24
+ "Title Only",
25
+ "Description Only",
26
+ "Title With Description",
27
+ "None"
28
+ ]
29
+ },
30
+ "Action Count": {
31
+ "type": "VARIANT",
32
+ "variantOptions": [
33
+ "1",
34
+ "2",
35
+ "3",
36
+ "4"
37
+ ]
38
+ }
39
+ }
40
+ };
@@ -0,0 +1,40 @@
1
+ export const metadata = {
2
+ "name": "🟢 Action Sheet",
3
+ "key": "7c29b70b7e71618e1894c26f61f336de2730d76e",
4
+ "componentPropertyDefinitions": {
5
+ "Description#15641:70": {
6
+ "type": "TEXT"
7
+ },
8
+ "Title#15641:37": {
9
+ "type": "TEXT"
10
+ },
11
+ "OS Indicator (Figma Only)#15641:20": {
12
+ "type": "BOOLEAN"
13
+ },
14
+ "Type": {
15
+ "type": "VARIANT",
16
+ "variantOptions": [
17
+ "Normal",
18
+ "Destructive"
19
+ ]
20
+ },
21
+ "Header": {
22
+ "type": "VARIANT",
23
+ "variantOptions": [
24
+ "Title Only",
25
+ "Description Only",
26
+ "Title With Description",
27
+ "None"
28
+ ]
29
+ },
30
+ "Action Count": {
31
+ "type": "VARIANT",
32
+ "variantOptions": [
33
+ "1",
34
+ "2",
35
+ "3",
36
+ "4"
37
+ ]
38
+ }
39
+ }
40
+ };