@seed-design/figma 1.1.16 → 1.1.18
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 +291 -58
- package/lib/codegen/index.d.ts +34 -65
- package/lib/codegen/index.d.ts.map +1 -1
- package/lib/codegen/index.js +291 -58
- package/lib/codegen/targets/react/index.cjs +389 -126
- package/lib/codegen/targets/react/index.d.ts.map +1 -1
- package/lib/codegen/targets/react/index.js +389 -126
- package/lib/index.cjs +317 -59
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +317 -59
- package/package.json +3 -3
- package/src/codegen/component-properties.ts +35 -8
- package/src/codegen/targets/react/component/handlers/{select-box.ts → legacy-select-box.ts} +23 -12
- package/src/codegen/targets/react/component/handlers/legacy-text-field.ts +4 -2
- package/src/codegen/targets/react/component/index.ts +8 -3
- package/src/entities/data/__generated__/component-sets/index.d.ts +170 -53
- package/src/entities/data/__generated__/component-sets/index.mjs +170 -53
- package/src/entities/data/__generated__/components/index.d.ts +0 -13
- package/src/entities/data/__generated__/components/index.mjs +0 -13
- package/src/entities/data/__generated__/icons/index.mjs +24 -0
- package/src/entities/data/__generated__/variable-collections/index.mjs +9 -4
- package/src/entities/data/__generated__/variables/index.mjs +111 -0
- package/src/normalizer/from-rest.ts +2 -1
package/lib/codegen/index.cjs
CHANGED
|
@@ -1178,9 +1178,11 @@ const FIGMA_VARIABLE_COLLECTIONS = {
|
|
|
1178
1178
|
"VariableID:654:20851",
|
|
1179
1179
|
"VariableID:1:171",
|
|
1180
1180
|
"VariableID:41186:6437",
|
|
1181
|
-
"VariableID:1:158",
|
|
1182
1181
|
"VariableID:1:172",
|
|
1182
|
+
"VariableID:1:158",
|
|
1183
1183
|
"VariableID:1:161",
|
|
1184
|
+
"VariableID:59176:2",
|
|
1185
|
+
"VariableID:59176:3",
|
|
1184
1186
|
"VariableID:1:159",
|
|
1185
1187
|
"VariableID:576:22878",
|
|
1186
1188
|
"VariableID:10181:32557",
|
|
@@ -1225,8 +1227,8 @@ const FIGMA_VARIABLE_COLLECTIONS = {
|
|
|
1225
1227
|
"VariableID:12479:23364",
|
|
1226
1228
|
"VariableID:12479:23365",
|
|
1227
1229
|
"VariableID:12479:23366",
|
|
1228
|
-
"VariableID:12548:1437",
|
|
1229
1230
|
"VariableID:1:7",
|
|
1231
|
+
"VariableID:12548:1437",
|
|
1230
1232
|
"VariableID:12479:23367",
|
|
1231
1233
|
"VariableID:12479:23368",
|
|
1232
1234
|
"VariableID:12479:23371",
|
|
@@ -1577,9 +1579,9 @@ const FIGMA_VARIABLE_COLLECTIONS = {
|
|
|
1577
1579
|
"VariableID:289:13772",
|
|
1578
1580
|
"VariableID:1886:93038",
|
|
1579
1581
|
"VariableID:289:13773",
|
|
1580
|
-
"VariableID:796:4448",
|
|
1581
1582
|
"VariableID:15518:15916",
|
|
1582
1583
|
"VariableID:19225:68732",
|
|
1584
|
+
"VariableID:796:4448",
|
|
1583
1585
|
"VariableID:17955:50606",
|
|
1584
1586
|
"VariableID:514:13178",
|
|
1585
1587
|
"VariableID:535:1747",
|
|
@@ -1587,7 +1589,10 @@ const FIGMA_VARIABLE_COLLECTIONS = {
|
|
|
1587
1589
|
"VariableID:1700:4280",
|
|
1588
1590
|
"VariableID:1700:4281",
|
|
1589
1591
|
"VariableID:1700:4282",
|
|
1590
|
-
"VariableID:40279:20413"
|
|
1592
|
+
"VariableID:40279:20413",
|
|
1593
|
+
"VariableID:58766:15457",
|
|
1594
|
+
"VariableID:58766:15458",
|
|
1595
|
+
"VariableID:58766:15459"
|
|
1591
1596
|
]
|
|
1592
1597
|
},
|
|
1593
1598
|
"VariableCollectionId:6075:34487": {
|
|
@@ -2704,6 +2709,54 @@ const FIGMA_VARIABLES = {
|
|
|
2704
2709
|
],
|
|
2705
2710
|
"codeSyntax": {}
|
|
2706
2711
|
},
|
|
2712
|
+
"VariableID:59176:2": {
|
|
2713
|
+
"name": "bg/neutral-weak-alpha",
|
|
2714
|
+
"id": "VariableID:59176:2",
|
|
2715
|
+
"remote": false,
|
|
2716
|
+
"key": "082218bada1fc4e2688ad59f30a980c191caf7b7",
|
|
2717
|
+
"variableCollectionId": "VariableCollectionId:1:3",
|
|
2718
|
+
"resolvedType": "COLOR",
|
|
2719
|
+
"description": "",
|
|
2720
|
+
"hiddenFromPublishing": false,
|
|
2721
|
+
"valuesByMode": {
|
|
2722
|
+
"1928:7": {
|
|
2723
|
+
"type": "VARIABLE_ALIAS",
|
|
2724
|
+
"id": "VariableID:30894:36296"
|
|
2725
|
+
},
|
|
2726
|
+
"1928:8": {
|
|
2727
|
+
"type": "VARIABLE_ALIAS",
|
|
2728
|
+
"id": "VariableID:30894:36307"
|
|
2729
|
+
}
|
|
2730
|
+
},
|
|
2731
|
+
"scopes": [
|
|
2732
|
+
"ALL_SCOPES"
|
|
2733
|
+
],
|
|
2734
|
+
"codeSyntax": {}
|
|
2735
|
+
},
|
|
2736
|
+
"VariableID:59176:3": {
|
|
2737
|
+
"name": "bg/neutral-weak-alpha-pressed",
|
|
2738
|
+
"id": "VariableID:59176:3",
|
|
2739
|
+
"remote": false,
|
|
2740
|
+
"key": "b67dd2511e5e4f41e0e392925fcccc752c67631f",
|
|
2741
|
+
"variableCollectionId": "VariableCollectionId:1:3",
|
|
2742
|
+
"resolvedType": "COLOR",
|
|
2743
|
+
"description": "",
|
|
2744
|
+
"hiddenFromPublishing": false,
|
|
2745
|
+
"valuesByMode": {
|
|
2746
|
+
"1928:7": {
|
|
2747
|
+
"type": "VARIABLE_ALIAS",
|
|
2748
|
+
"id": "VariableID:30894:36297"
|
|
2749
|
+
},
|
|
2750
|
+
"1928:8": {
|
|
2751
|
+
"type": "VARIABLE_ALIAS",
|
|
2752
|
+
"id": "VariableID:30894:36308"
|
|
2753
|
+
}
|
|
2754
|
+
},
|
|
2755
|
+
"scopes": [
|
|
2756
|
+
"ALL_SCOPES"
|
|
2757
|
+
],
|
|
2758
|
+
"codeSyntax": {}
|
|
2759
|
+
},
|
|
2707
2760
|
"VariableID:1:161": {
|
|
2708
2761
|
"name": "bg/neutral-weak-pressed",
|
|
2709
2762
|
"id": "VariableID:1:161",
|
|
@@ -3028,6 +3081,69 @@ const FIGMA_VARIABLES = {
|
|
|
3028
3081
|
],
|
|
3029
3082
|
"codeSyntax": {}
|
|
3030
3083
|
},
|
|
3084
|
+
"VariableID:58766:15459": {
|
|
3085
|
+
"name": "Component utility (Figma Only)/Select Box/1-column",
|
|
3086
|
+
"id": "VariableID:58766:15459",
|
|
3087
|
+
"remote": false,
|
|
3088
|
+
"key": "676178acd6e038ee5fe034a25818c16a4670a5b1",
|
|
3089
|
+
"variableCollectionId": "VariableCollectionId:1:197",
|
|
3090
|
+
"resolvedType": "FLOAT",
|
|
3091
|
+
"description": "(preview-width - x3 ) / 1 값입니다.",
|
|
3092
|
+
"hiddenFromPublishing": false,
|
|
3093
|
+
"valuesByMode": {
|
|
3094
|
+
"1:5": 358,
|
|
3095
|
+
"1:6": 358,
|
|
3096
|
+
"1:7": 358,
|
|
3097
|
+
"1:8": 358,
|
|
3098
|
+
"51907:0": 358
|
|
3099
|
+
},
|
|
3100
|
+
"scopes": [
|
|
3101
|
+
"ALL_SCOPES"
|
|
3102
|
+
],
|
|
3103
|
+
"codeSyntax": {}
|
|
3104
|
+
},
|
|
3105
|
+
"VariableID:58766:15458": {
|
|
3106
|
+
"name": "Component utility (Figma Only)/Select Box/2-column",
|
|
3107
|
+
"id": "VariableID:58766:15458",
|
|
3108
|
+
"remote": false,
|
|
3109
|
+
"key": "932afae9533322f9192fc8274b77a547d42a8804",
|
|
3110
|
+
"variableCollectionId": "VariableCollectionId:1:197",
|
|
3111
|
+
"resolvedType": "FLOAT",
|
|
3112
|
+
"description": "(preview-width - x3 ) / 2 값입니다.",
|
|
3113
|
+
"hiddenFromPublishing": false,
|
|
3114
|
+
"valuesByMode": {
|
|
3115
|
+
"1:5": 173,
|
|
3116
|
+
"1:6": 173,
|
|
3117
|
+
"1:7": 173,
|
|
3118
|
+
"1:8": 173,
|
|
3119
|
+
"51907:0": 173
|
|
3120
|
+
},
|
|
3121
|
+
"scopes": [
|
|
3122
|
+
"ALL_SCOPES"
|
|
3123
|
+
],
|
|
3124
|
+
"codeSyntax": {}
|
|
3125
|
+
},
|
|
3126
|
+
"VariableID:58766:15457": {
|
|
3127
|
+
"name": "Component utility (Figma Only)/Select Box/3-column",
|
|
3128
|
+
"id": "VariableID:58766:15457",
|
|
3129
|
+
"remote": false,
|
|
3130
|
+
"key": "f2cf2dfa2088f54ceafd7206b47bc2d3dbb057b0",
|
|
3131
|
+
"variableCollectionId": "VariableCollectionId:1:197",
|
|
3132
|
+
"resolvedType": "FLOAT",
|
|
3133
|
+
"description": "(preview-width - x3 ) / 3 값입니다.",
|
|
3134
|
+
"hiddenFromPublishing": false,
|
|
3135
|
+
"valuesByMode": {
|
|
3136
|
+
"1:5": 111.33000183105469,
|
|
3137
|
+
"1:6": 111.33000183105469,
|
|
3138
|
+
"1:7": 111.33000183105469,
|
|
3139
|
+
"1:8": 111.33000183105469,
|
|
3140
|
+
"51907:0": 111.33000183105469
|
|
3141
|
+
},
|
|
3142
|
+
"scopes": [
|
|
3143
|
+
"ALL_SCOPES"
|
|
3144
|
+
],
|
|
3145
|
+
"codeSyntax": {}
|
|
3146
|
+
},
|
|
3031
3147
|
"VariableID:6421:24605": {
|
|
3032
3148
|
"name": "dimension/spacing-x/between-chips",
|
|
3033
3149
|
"id": "VariableID:6421:24605",
|
|
@@ -8629,26 +8745,21 @@ const templateDisclaimer = {
|
|
|
8629
8745
|
}
|
|
8630
8746
|
}
|
|
8631
8747
|
};
|
|
8632
|
-
const
|
|
8633
|
-
"name": "
|
|
8634
|
-
"key": "
|
|
8748
|
+
const templateResultPage = {
|
|
8749
|
+
"name": "templateResultPage",
|
|
8750
|
+
"key": "4cc94782abbe7e58f0401c29ad8880a62e512ae7",
|
|
8635
8751
|
"componentPropertyDefinitions": {
|
|
8636
|
-
"
|
|
8637
|
-
"type": "
|
|
8638
|
-
"variantOptions": [
|
|
8639
|
-
"Checkbox",
|
|
8640
|
-
"Radio"
|
|
8641
|
-
]
|
|
8752
|
+
"Show Top Navigation#58717:0": {
|
|
8753
|
+
"type": "BOOLEAN"
|
|
8642
8754
|
},
|
|
8643
|
-
"
|
|
8755
|
+
"Show Bottom Action Bar#59845:0": {
|
|
8756
|
+
"type": "BOOLEAN"
|
|
8757
|
+
},
|
|
8758
|
+
"Show Bottom Action Bar": {
|
|
8644
8759
|
"type": "VARIANT",
|
|
8645
8760
|
"variantOptions": [
|
|
8646
|
-
"
|
|
8647
|
-
"
|
|
8648
|
-
"3",
|
|
8649
|
-
"4",
|
|
8650
|
-
"5",
|
|
8651
|
-
"6"
|
|
8761
|
+
"True",
|
|
8762
|
+
"False"
|
|
8652
8763
|
]
|
|
8653
8764
|
}
|
|
8654
8765
|
}
|
|
@@ -9394,6 +9505,164 @@ const helpBubble = {
|
|
|
9394
9505
|
}
|
|
9395
9506
|
}
|
|
9396
9507
|
};
|
|
9508
|
+
const imageFrame = {
|
|
9509
|
+
"name": "imageFrame",
|
|
9510
|
+
"key": "b12f0bdeb6c6a61e0d50fe7e0dfae8ecd323f0aa",
|
|
9511
|
+
"componentPropertyDefinitions": {
|
|
9512
|
+
"Has Image Contents#29729:0": {
|
|
9513
|
+
"type": "BOOLEAN"
|
|
9514
|
+
},
|
|
9515
|
+
"Left Top#58686:0": {
|
|
9516
|
+
"type": "INSTANCE_SWAP",
|
|
9517
|
+
"preferredValues": [
|
|
9518
|
+
{
|
|
9519
|
+
"type": "COMPONENT",
|
|
9520
|
+
"key": "00da9dcf0cc4e408d2e36da56d0701dce6cee6b0"
|
|
9521
|
+
},
|
|
9522
|
+
{
|
|
9523
|
+
"type": "COMPONENT",
|
|
9524
|
+
"key": "0135e13dd2ded277e5d024f2d9ccc37f9aa7cf38"
|
|
9525
|
+
},
|
|
9526
|
+
{
|
|
9527
|
+
"type": "COMPONENT",
|
|
9528
|
+
"key": "146925b01e772269f042df51f8d2cd5b4e492111"
|
|
9529
|
+
},
|
|
9530
|
+
{
|
|
9531
|
+
"type": "COMPONENT",
|
|
9532
|
+
"key": "a711c13770db66a6a9d8dfec9205b301fb4abf4d"
|
|
9533
|
+
},
|
|
9534
|
+
{
|
|
9535
|
+
"type": "COMPONENT",
|
|
9536
|
+
"key": "4907a3a324539a374a81c8255ac8ae2fc6769622"
|
|
9537
|
+
}
|
|
9538
|
+
]
|
|
9539
|
+
},
|
|
9540
|
+
"Show Overlay#58686:33": {
|
|
9541
|
+
"type": "BOOLEAN"
|
|
9542
|
+
},
|
|
9543
|
+
"Right Top#58686:66": {
|
|
9544
|
+
"type": "INSTANCE_SWAP",
|
|
9545
|
+
"preferredValues": [
|
|
9546
|
+
{
|
|
9547
|
+
"type": "COMPONENT",
|
|
9548
|
+
"key": "a711c13770db66a6a9d8dfec9205b301fb4abf4d"
|
|
9549
|
+
},
|
|
9550
|
+
{
|
|
9551
|
+
"type": "COMPONENT",
|
|
9552
|
+
"key": "00da9dcf0cc4e408d2e36da56d0701dce6cee6b0"
|
|
9553
|
+
},
|
|
9554
|
+
{
|
|
9555
|
+
"type": "COMPONENT",
|
|
9556
|
+
"key": "0135e13dd2ded277e5d024f2d9ccc37f9aa7cf38"
|
|
9557
|
+
},
|
|
9558
|
+
{
|
|
9559
|
+
"type": "COMPONENT",
|
|
9560
|
+
"key": "146925b01e772269f042df51f8d2cd5b4e492111"
|
|
9561
|
+
},
|
|
9562
|
+
{
|
|
9563
|
+
"type": "COMPONENT",
|
|
9564
|
+
"key": "4907a3a324539a374a81c8255ac8ae2fc6769622"
|
|
9565
|
+
}
|
|
9566
|
+
]
|
|
9567
|
+
},
|
|
9568
|
+
"Left Bottom#58686:99": {
|
|
9569
|
+
"type": "INSTANCE_SWAP",
|
|
9570
|
+
"preferredValues": [
|
|
9571
|
+
{
|
|
9572
|
+
"type": "COMPONENT",
|
|
9573
|
+
"key": "00da9dcf0cc4e408d2e36da56d0701dce6cee6b0"
|
|
9574
|
+
},
|
|
9575
|
+
{
|
|
9576
|
+
"type": "COMPONENT",
|
|
9577
|
+
"key": "0135e13dd2ded277e5d024f2d9ccc37f9aa7cf38"
|
|
9578
|
+
},
|
|
9579
|
+
{
|
|
9580
|
+
"type": "COMPONENT",
|
|
9581
|
+
"key": "146925b01e772269f042df51f8d2cd5b4e492111"
|
|
9582
|
+
},
|
|
9583
|
+
{
|
|
9584
|
+
"type": "COMPONENT",
|
|
9585
|
+
"key": "a711c13770db66a6a9d8dfec9205b301fb4abf4d"
|
|
9586
|
+
},
|
|
9587
|
+
{
|
|
9588
|
+
"type": "COMPONENT",
|
|
9589
|
+
"key": "4907a3a324539a374a81c8255ac8ae2fc6769622"
|
|
9590
|
+
}
|
|
9591
|
+
]
|
|
9592
|
+
},
|
|
9593
|
+
"Right Bottom#58686:132": {
|
|
9594
|
+
"type": "INSTANCE_SWAP",
|
|
9595
|
+
"preferredValues": [
|
|
9596
|
+
{
|
|
9597
|
+
"type": "COMPONENT",
|
|
9598
|
+
"key": "a711c13770db66a6a9d8dfec9205b301fb4abf4d"
|
|
9599
|
+
},
|
|
9600
|
+
{
|
|
9601
|
+
"type": "COMPONENT",
|
|
9602
|
+
"key": "00da9dcf0cc4e408d2e36da56d0701dce6cee6b0"
|
|
9603
|
+
},
|
|
9604
|
+
{
|
|
9605
|
+
"type": "COMPONENT",
|
|
9606
|
+
"key": "0135e13dd2ded277e5d024f2d9ccc37f9aa7cf38"
|
|
9607
|
+
},
|
|
9608
|
+
{
|
|
9609
|
+
"type": "COMPONENT",
|
|
9610
|
+
"key": "146925b01e772269f042df51f8d2cd5b4e492111"
|
|
9611
|
+
},
|
|
9612
|
+
{
|
|
9613
|
+
"type": "COMPONENT",
|
|
9614
|
+
"key": "4907a3a324539a374a81c8255ac8ae2fc6769622"
|
|
9615
|
+
}
|
|
9616
|
+
]
|
|
9617
|
+
},
|
|
9618
|
+
"ㄴ Left Top#58686:165": {
|
|
9619
|
+
"type": "BOOLEAN"
|
|
9620
|
+
},
|
|
9621
|
+
"ㄴ Right Top#58686:198": {
|
|
9622
|
+
"type": "BOOLEAN"
|
|
9623
|
+
},
|
|
9624
|
+
"ㄴ Left Bottom#58686:231": {
|
|
9625
|
+
"type": "BOOLEAN"
|
|
9626
|
+
},
|
|
9627
|
+
"ㄴ Right Bottom#58686:264": {
|
|
9628
|
+
"type": "BOOLEAN"
|
|
9629
|
+
},
|
|
9630
|
+
"Ratio": {
|
|
9631
|
+
"type": "VARIANT",
|
|
9632
|
+
"variantOptions": [
|
|
9633
|
+
"1:1",
|
|
9634
|
+
"2:1",
|
|
9635
|
+
"16:9",
|
|
9636
|
+
"4:3",
|
|
9637
|
+
"6:7",
|
|
9638
|
+
"4:5",
|
|
9639
|
+
"2:3"
|
|
9640
|
+
]
|
|
9641
|
+
},
|
|
9642
|
+
"Size": {
|
|
9643
|
+
"type": "VARIANT",
|
|
9644
|
+
"variantOptions": [
|
|
9645
|
+
"20",
|
|
9646
|
+
"24",
|
|
9647
|
+
"36",
|
|
9648
|
+
"42",
|
|
9649
|
+
"48",
|
|
9650
|
+
"64",
|
|
9651
|
+
"80",
|
|
9652
|
+
"96",
|
|
9653
|
+
"120",
|
|
9654
|
+
"\bFree"
|
|
9655
|
+
]
|
|
9656
|
+
},
|
|
9657
|
+
"Rounded": {
|
|
9658
|
+
"type": "VARIANT",
|
|
9659
|
+
"variantOptions": [
|
|
9660
|
+
"True",
|
|
9661
|
+
"False"
|
|
9662
|
+
]
|
|
9663
|
+
}
|
|
9664
|
+
}
|
|
9665
|
+
};
|
|
9397
9666
|
const listHeader = {
|
|
9398
9667
|
"name": "listHeader",
|
|
9399
9668
|
"key": "609f93ed0608ef0a6d9a351e47595ad631bae0fa",
|
|
@@ -10020,42 +10289,6 @@ const segmentedControl = {
|
|
|
10020
10289
|
}
|
|
10021
10290
|
}
|
|
10022
10291
|
};
|
|
10023
|
-
const selectBox = {
|
|
10024
|
-
"name": "selectBox",
|
|
10025
|
-
"key": "38722ffeb4c966256a709155e8ddac50c93d7c60",
|
|
10026
|
-
"componentPropertyDefinitions": {
|
|
10027
|
-
"Show Description#3033:0": {
|
|
10028
|
-
"type": "BOOLEAN"
|
|
10029
|
-
},
|
|
10030
|
-
"Description #3033:5": {
|
|
10031
|
-
"type": "TEXT"
|
|
10032
|
-
},
|
|
10033
|
-
"Label#3635:0": {
|
|
10034
|
-
"type": "TEXT"
|
|
10035
|
-
},
|
|
10036
|
-
"Control": {
|
|
10037
|
-
"type": "VARIANT",
|
|
10038
|
-
"variantOptions": [
|
|
10039
|
-
"Checkbox",
|
|
10040
|
-
"Radio"
|
|
10041
|
-
]
|
|
10042
|
-
},
|
|
10043
|
-
"Selected": {
|
|
10044
|
-
"type": "VARIANT",
|
|
10045
|
-
"variantOptions": [
|
|
10046
|
-
"True",
|
|
10047
|
-
"False"
|
|
10048
|
-
]
|
|
10049
|
-
},
|
|
10050
|
-
"State": {
|
|
10051
|
-
"type": "VARIANT",
|
|
10052
|
-
"variantOptions": [
|
|
10053
|
-
"Enabled",
|
|
10054
|
-
"Pressed"
|
|
10055
|
-
]
|
|
10056
|
-
}
|
|
10057
|
-
}
|
|
10058
|
-
};
|
|
10059
10292
|
const skeleton = {
|
|
10060
10293
|
"name": "skeleton",
|
|
10061
10294
|
"key": "ef22c3288722fbfa64a5ab73df397ade88f8e05a",
|
|
@@ -10455,6 +10688,7 @@ var FIGMA_COMPONENTS = {
|
|
|
10455
10688
|
divider: divider,
|
|
10456
10689
|
floatingActionButton: floatingActionButton,
|
|
10457
10690
|
helpBubble: helpBubble,
|
|
10691
|
+
imageFrame: imageFrame,
|
|
10458
10692
|
listHeader: listHeader,
|
|
10459
10693
|
listItem: listItem,
|
|
10460
10694
|
mannerTemp: mannerTemp,
|
|
@@ -10471,7 +10705,6 @@ var FIGMA_COMPONENTS = {
|
|
|
10471
10705
|
rootTopNavigationGlobal: rootTopNavigationGlobal,
|
|
10472
10706
|
rootTopNavigationKr: rootTopNavigationKr,
|
|
10473
10707
|
segmentedControl: segmentedControl,
|
|
10474
|
-
selectBox: selectBox,
|
|
10475
10708
|
skeleton: skeleton,
|
|
10476
10709
|
slider: slider,
|
|
10477
10710
|
snackbar: snackbar,
|
|
@@ -10483,7 +10716,7 @@ var FIGMA_COMPONENTS = {
|
|
|
10483
10716
|
templateChipGroup: templateChipGroup,
|
|
10484
10717
|
templateCustomPickerField: templateCustomPickerField,
|
|
10485
10718
|
templateDisclaimer: templateDisclaimer,
|
|
10486
|
-
|
|
10719
|
+
templateResultPage: templateResultPage,
|
|
10487
10720
|
templateSliderField: templateSliderField,
|
|
10488
10721
|
templateTextField: templateTextField,
|
|
10489
10722
|
templateTextareaField: templateTextareaField,
|
package/lib/codegen/index.d.ts
CHANGED
|
@@ -321,31 +321,6 @@ declare const templateCustomPickerField: {
|
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
323
|
|
|
324
|
-
declare const templateSelectBoxGroup: {
|
|
325
|
-
"name": "templateSelectBoxGroup",
|
|
326
|
-
"key": "a3d58bb8540600878742cdcf2608a4b3851667ec",
|
|
327
|
-
"componentPropertyDefinitions": {
|
|
328
|
-
"Control": {
|
|
329
|
-
"type": "VARIANT",
|
|
330
|
-
"variantOptions": [
|
|
331
|
-
"Checkbox",
|
|
332
|
-
"Radio"
|
|
333
|
-
]
|
|
334
|
-
},
|
|
335
|
-
"Item Count": {
|
|
336
|
-
"type": "VARIANT",
|
|
337
|
-
"variantOptions": [
|
|
338
|
-
"1",
|
|
339
|
-
"2",
|
|
340
|
-
"3",
|
|
341
|
-
"4",
|
|
342
|
-
"5",
|
|
343
|
-
"6"
|
|
344
|
-
]
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
|
|
349
324
|
declare const templateSliderField: {
|
|
350
325
|
"name": "templateSliderField",
|
|
351
326
|
"key": "7d2b449bcfb28ebf3c509ed76a141511f7d955eb",
|
|
@@ -1582,43 +1557,6 @@ declare const segmentedControl: {
|
|
|
1582
1557
|
}
|
|
1583
1558
|
};
|
|
1584
1559
|
|
|
1585
|
-
declare const selectBox: {
|
|
1586
|
-
"name": "selectBox",
|
|
1587
|
-
"key": "38722ffeb4c966256a709155e8ddac50c93d7c60",
|
|
1588
|
-
"componentPropertyDefinitions": {
|
|
1589
|
-
"Show Description#3033:0": {
|
|
1590
|
-
"type": "BOOLEAN"
|
|
1591
|
-
},
|
|
1592
|
-
"Description #3033:5": {
|
|
1593
|
-
"type": "TEXT"
|
|
1594
|
-
},
|
|
1595
|
-
"Label#3635:0": {
|
|
1596
|
-
"type": "TEXT"
|
|
1597
|
-
},
|
|
1598
|
-
"Control": {
|
|
1599
|
-
"type": "VARIANT",
|
|
1600
|
-
"variantOptions": [
|
|
1601
|
-
"Checkbox",
|
|
1602
|
-
"Radio"
|
|
1603
|
-
]
|
|
1604
|
-
},
|
|
1605
|
-
"Selected": {
|
|
1606
|
-
"type": "VARIANT",
|
|
1607
|
-
"variantOptions": [
|
|
1608
|
-
"True",
|
|
1609
|
-
"False"
|
|
1610
|
-
]
|
|
1611
|
-
},
|
|
1612
|
-
"State": {
|
|
1613
|
-
"type": "VARIANT",
|
|
1614
|
-
"variantOptions": [
|
|
1615
|
-
"Enabled",
|
|
1616
|
-
"Pressed"
|
|
1617
|
-
]
|
|
1618
|
-
}
|
|
1619
|
-
}
|
|
1620
|
-
};
|
|
1621
|
-
|
|
1622
1560
|
declare const skeleton: {
|
|
1623
1561
|
"name": "skeleton",
|
|
1624
1562
|
"key": "ef22c3288722fbfa64a5ab73df397ade88f8e05a",
|
|
@@ -2249,8 +2187,6 @@ type SnackbarProperties = InferComponentDefinition<typeof snackbar.componentProp
|
|
|
2249
2187
|
type SwitchProperties = InferComponentDefinition<typeof _switch.componentPropertyDefinitions>;
|
|
2250
2188
|
type SwitchmarkProperties = InferComponentDefinition<typeof switchmark.componentPropertyDefinitions>;
|
|
2251
2189
|
type ToggleButtonProperties = InferComponentDefinition<typeof toggleButton.componentPropertyDefinitions>;
|
|
2252
|
-
type SelectBoxGroupProperties = InferComponentDefinition<typeof templateSelectBoxGroup.componentPropertyDefinitions>;
|
|
2253
|
-
type SelectBoxProperties = InferComponentDefinition<typeof selectBox.componentPropertyDefinitions>;
|
|
2254
2190
|
type AppBarProperties = InferComponentDefinition<typeof topNavigation.componentPropertyDefinitions>;
|
|
2255
2191
|
type AppBarMainProperties = InferComponentDefinition<{
|
|
2256
2192
|
"Title#16944:0": {
|
|
@@ -2808,6 +2744,39 @@ type LegacyMultilineTextFieldProperties = InferComponentDefinition<{
|
|
|
2808
2744
|
variantOptions: ["True", "False"];
|
|
2809
2745
|
};
|
|
2810
2746
|
}>;
|
|
2747
|
+
type LegacySelectBoxProperties = InferComponentDefinition<{
|
|
2748
|
+
"Show Description#3033:0": {
|
|
2749
|
+
type: "BOOLEAN";
|
|
2750
|
+
};
|
|
2751
|
+
"Description #3033:5": {
|
|
2752
|
+
type: "TEXT";
|
|
2753
|
+
};
|
|
2754
|
+
"Label#3635:0": {
|
|
2755
|
+
type: "TEXT";
|
|
2756
|
+
};
|
|
2757
|
+
Control: {
|
|
2758
|
+
type: "VARIANT";
|
|
2759
|
+
variantOptions: ["Checkbox", "Radio"];
|
|
2760
|
+
};
|
|
2761
|
+
Selected: {
|
|
2762
|
+
type: "VARIANT";
|
|
2763
|
+
variantOptions: ["True", "False"];
|
|
2764
|
+
};
|
|
2765
|
+
State: {
|
|
2766
|
+
type: "VARIANT";
|
|
2767
|
+
variantOptions: ["Enabled", "Pressed"];
|
|
2768
|
+
};
|
|
2769
|
+
}>;
|
|
2770
|
+
type LegacySelectBoxGroupProperties = InferComponentDefinition<{
|
|
2771
|
+
Control: {
|
|
2772
|
+
type: "VARIANT";
|
|
2773
|
+
variantOptions: ["Checkbox", "Radio"];
|
|
2774
|
+
};
|
|
2775
|
+
"Item Count": {
|
|
2776
|
+
type: "VARIANT";
|
|
2777
|
+
variantOptions: ["1", "2", "3", "4", "5", "6"];
|
|
2778
|
+
};
|
|
2779
|
+
}>;
|
|
2811
2780
|
|
|
2812
2781
|
interface CreatePipelineConfig {
|
|
2813
2782
|
shouldInferAutoLayout?: boolean;
|
|
@@ -2975,5 +2944,5 @@ declare namespace index {
|
|
|
2975
2944
|
}
|
|
2976
2945
|
|
|
2977
2946
|
export { cloneElement, createCodeGenerator, createElement, createPropsConverter, createValueResolver, defineComponentHandler, defineElementTransformer, definePropsConverter, index as figma, inferLayout };
|
|
2978
|
-
export type { ActionButtonGhostProperties, ActionButtonProperties, AlertDialogFooterProperties, AlertDialogProperties, AppBarLeftIconButtonProperties, AppBarMainProperties, AppBarProperties, AppBarRightIconButtonProperties, AvatarProperties, AvatarStackProperties, BadgeProperties, BottomSheetProperties, CalloutProperties, CheckboxProperties, CheckmarkProperties, ChipIconSuffixProperties, ChipProperties, ChipTabsTriggerProperties, CodeGeneratorDeps, ComponentHandler, ComponentPropertyDefinition, ContextualFloatingButtonProperties, DividerProperties, ElementNode, ElementTransformer, FieldButtonProperties, FieldCharacterCountProperties, FieldFooterProperties, FieldHeaderProperties, FieldIndicatorProperties, FloatingActionButtonButtonItemProperties, FloatingActionButtonMenuItemProperties, FloatingActionButtonProperties, GenericFieldButtonProps, HelpBubbleProperties, IdentityPlaceholderProperties, InferComponentDefinition, InferComponentPropertyType, InputButtonPrefixProperties, InputButtonProperties, InputButtonSuffixProperties, LegacyMultilineTextFieldProperties, LegacyTextFieldProperties, ListHeaderProperties, ListItemPrefixIconProperties, ListItemProperties, ListItemSuffixIconProperties, MannerTempBadgeProperties, MannerTempProperties, MenuSheetGroupProperties, MenuSheetItemProperties, MenuSheetProperties, PageBannerButtonProperties, PageBannerProperties, ProgressCircleProperties, PropsConverter, RadioProperties, RadiomarkProperties, ReactionButtonProperties, ResultSectionProperties, SegmentedControlItemProperties, SegmentedControlProperties,
|
|
2947
|
+
export type { ActionButtonGhostProperties, ActionButtonProperties, AlertDialogFooterProperties, AlertDialogProperties, AppBarLeftIconButtonProperties, AppBarMainProperties, AppBarProperties, AppBarRightIconButtonProperties, AvatarProperties, AvatarStackProperties, BadgeProperties, BottomSheetProperties, CalloutProperties, CheckboxProperties, CheckmarkProperties, ChipIconSuffixProperties, ChipProperties, ChipTabsTriggerProperties, CodeGeneratorDeps, ComponentHandler, ComponentPropertyDefinition, ContextualFloatingButtonProperties, DividerProperties, ElementNode, ElementTransformer, FieldButtonProperties, FieldCharacterCountProperties, FieldFooterProperties, FieldHeaderProperties, FieldIndicatorProperties, FloatingActionButtonButtonItemProperties, FloatingActionButtonMenuItemProperties, FloatingActionButtonProperties, GenericFieldButtonProps, HelpBubbleProperties, IdentityPlaceholderProperties, InferComponentDefinition, InferComponentPropertyType, InputButtonPrefixProperties, InputButtonProperties, InputButtonSuffixProperties, LegacyMultilineTextFieldProperties, LegacySelectBoxGroupProperties, LegacySelectBoxProperties, LegacyTextFieldProperties, ListHeaderProperties, ListItemPrefixIconProperties, ListItemProperties, ListItemSuffixIconProperties, MannerTempBadgeProperties, MannerTempProperties, MenuSheetGroupProperties, MenuSheetItemProperties, MenuSheetProperties, PageBannerButtonProperties, PageBannerProperties, ProgressCircleProperties, PropsConverter, RadioProperties, RadiomarkProperties, ReactionButtonProperties, ResultSectionProperties, SegmentedControlItemProperties, SegmentedControlProperties, SkeletonProperties, SliderFieldProperties, SliderProperties, SliderTicksProperties, SnackbarProperties, SwitchProperties, SwitchmarkProperties, TabsChipWrapperProperties, TabsLineTriggerFillProperties, TabsLineTriggerHugProperties, TabsLineWrapperProperties, TabsProperties, TagGroupItemProperties, TagGroupProperties, TextInputFieldProperties, TextInputOutlinePrefixProperties, TextInputOutlineProperties, TextInputOutlineSuffixProperties, TextInputUnderlinePrefixProperties, TextInputUnderlineProperties, TextInputUnderlineSuffixProperties, TextareaFieldProperties, TextareaProperties, ToggleButtonProperties, ValueResolver };
|
|
2979
2948
|
//# sourceMappingURL=index.d.ts.map
|