@seed-design/figma 0.2.3 → 0.2.5
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/lib/codegen/index.cjs +5581 -5168
- package/lib/codegen/index.d.ts +460 -68
- package/lib/codegen/index.d.ts.map +1 -1
- package/lib/codegen/index.js +5581 -5168
- package/lib/codegen/targets/react/index.cjs +6143 -5348
- package/lib/codegen/targets/react/index.d.ts.map +1 -1
- package/lib/codegen/targets/react/index.js +6143 -5348
- package/lib/index.cjs +5567 -5165
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5567 -5165
- package/package.json +5 -4
- package/src/codegen/component-properties.ts +82 -6
- package/src/codegen/core/jsx.ts +14 -2
- package/src/codegen/core/value-resolver.ts +8 -4
- package/src/codegen/targets/react/component/handlers/checkbox.ts +7 -0
- package/src/codegen/targets/react/component/handlers/checkmark.ts +29 -0
- package/src/codegen/targets/react/component/handlers/chip.ts +5 -2
- package/src/codegen/targets/react/component/handlers/divider.ts +8 -2
- package/src/codegen/targets/react/component/handlers/help-bubble.ts +2 -0
- package/src/codegen/targets/react/component/handlers/list-item.ts +155 -0
- package/src/codegen/targets/react/component/handlers/radio-group.ts +31 -0
- package/src/codegen/targets/react/component/handlers/radio-mark.ts +27 -0
- package/src/codegen/targets/react/component/handlers/switch.ts +7 -0
- package/src/codegen/targets/react/component/handlers/tabs.ts +288 -5
- package/src/codegen/targets/react/component/index.ts +12 -2
- package/src/entities/data/__generated__/component-sets/checkbox.d.ts +9 -2
- package/src/entities/data/__generated__/component-sets/checkbox.mjs +9 -2
- package/src/entities/data/__generated__/component-sets/checkmark.d.ts +13 -6
- package/src/entities/data/__generated__/component-sets/checkmark.mjs +13 -6
- package/src/entities/data/__generated__/component-sets/divider.d.ts +2 -2
- package/src/entities/data/__generated__/component-sets/divider.mjs +2 -2
- package/src/entities/data/__generated__/component-sets/help-bubble.d.ts +3 -0
- package/src/entities/data/__generated__/component-sets/help-bubble.mjs +3 -0
- package/src/entities/data/__generated__/component-sets/index.d.ts +2 -0
- package/src/entities/data/__generated__/component-sets/index.mjs +2 -0
- package/src/entities/data/__generated__/component-sets/list-header.d.ts +24 -0
- package/src/entities/data/__generated__/component-sets/list-header.mjs +24 -0
- package/src/entities/data/__generated__/component-sets/list-item.d.ts +152 -0
- package/src/entities/data/__generated__/component-sets/list-item.mjs +152 -0
- package/src/entities/data/__generated__/component-sets/radio-mark.d.ts +7 -0
- package/src/entities/data/__generated__/component-sets/radio-mark.mjs +7 -0
- package/src/entities/data/__generated__/component-sets/radio.d.ts +14 -0
- package/src/entities/data/__generated__/component-sets/radio.mjs +14 -0
- package/src/entities/data/__generated__/component-sets/switch.d.ts +10 -3
- package/src/entities/data/__generated__/component-sets/switch.mjs +10 -3
- package/src/entities/data/__generated__/component-sets/tabs.d.ts +1 -1
- package/src/entities/data/__generated__/component-sets/tabs.mjs +1 -1
- package/src/entities/data/__generated__/variable-collections/index.d.ts +3 -0
- package/src/entities/data/{variable-collections.ts → __generated__/variable-collections/index.mjs} +229 -116
- package/src/entities/data/__generated__/variables/index.d.ts +3 -0
- package/src/entities/data/__generated__/variables/index.mjs +6442 -0
- package/src/entities/index.ts +2 -2
- package/src/entities/data/__generated__/component-sets/inline-banner.d.ts +0 -40
- package/src/entities/data/__generated__/component-sets/inline-banner.mjs +0 -40
- package/src/entities/data/variables.ts +0 -4706
package/src/entities/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createStaticIconRepository } from "./icon.repository";
|
|
2
2
|
import { FIGMA_ICONS } from "./data/icons";
|
|
3
3
|
import { FIGMA_FILL_STYLES, FIGMA_TEXT_STYLES } from "./data/styles";
|
|
4
|
-
import { FIGMA_VARIABLE_COLLECTIONS } from "./data/variable-collections";
|
|
5
|
-
import { FIGMA_VARIABLES } from "./data/variables";
|
|
4
|
+
import { FIGMA_VARIABLE_COLLECTIONS } from "./data/__generated__/variable-collections";
|
|
5
|
+
import { FIGMA_VARIABLES } from "./data/__generated__/variables";
|
|
6
6
|
import * as FIGMA_COMPONENTS from "./data/__generated__/component-sets";
|
|
7
7
|
import { createStaticStyleRepository } from "./style.repository";
|
|
8
8
|
import { createStaticVariableRepository } from "./variable.repository";
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export declare const metadata: {
|
|
2
|
-
"name": "🟢 Inline Banner",
|
|
3
|
-
"key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
|
|
4
|
-
"componentPropertyDefinitions": {
|
|
5
|
-
"Link Label#1547:81": {
|
|
6
|
-
"type": "TEXT"
|
|
7
|
-
},
|
|
8
|
-
"Show Icon#11840:27": {
|
|
9
|
-
"type": "BOOLEAN"
|
|
10
|
-
},
|
|
11
|
-
"Interaction": {
|
|
12
|
-
"type": "VARIANT",
|
|
13
|
-
"variantOptions": [
|
|
14
|
-
"Default",
|
|
15
|
-
"Link",
|
|
16
|
-
"Actionable",
|
|
17
|
-
"Dismissible"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"Variant": {
|
|
21
|
-
"type": "VARIANT",
|
|
22
|
-
"variantOptions": [
|
|
23
|
-
"Neutral Weak",
|
|
24
|
-
"Informative Weak",
|
|
25
|
-
"Positive Weak",
|
|
26
|
-
"Warning Solid",
|
|
27
|
-
"Warning Weak",
|
|
28
|
-
"Critical Solid",
|
|
29
|
-
"Critical Weak"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"Show Title": {
|
|
33
|
-
"type": "VARIANT",
|
|
34
|
-
"variantOptions": [
|
|
35
|
-
"True",
|
|
36
|
-
"False"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export const metadata = {
|
|
2
|
-
"name": "🟢 Inline Banner",
|
|
3
|
-
"key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
|
|
4
|
-
"componentPropertyDefinitions": {
|
|
5
|
-
"Link Label#1547:81": {
|
|
6
|
-
"type": "TEXT"
|
|
7
|
-
},
|
|
8
|
-
"Show Icon#11840:27": {
|
|
9
|
-
"type": "BOOLEAN"
|
|
10
|
-
},
|
|
11
|
-
"Interaction": {
|
|
12
|
-
"type": "VARIANT",
|
|
13
|
-
"variantOptions": [
|
|
14
|
-
"Default",
|
|
15
|
-
"Link",
|
|
16
|
-
"Actionable",
|
|
17
|
-
"Dismissible"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"Variant": {
|
|
21
|
-
"type": "VARIANT",
|
|
22
|
-
"variantOptions": [
|
|
23
|
-
"Neutral Weak",
|
|
24
|
-
"Informative Weak",
|
|
25
|
-
"Positive Weak",
|
|
26
|
-
"Warning Solid",
|
|
27
|
-
"Warning Weak",
|
|
28
|
-
"Critical Solid",
|
|
29
|
-
"Critical Weak"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"Show Title": {
|
|
33
|
-
"type": "VARIANT",
|
|
34
|
-
"variantOptions": [
|
|
35
|
-
"True",
|
|
36
|
-
"False"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|