@seed-design/figma 0.0.27 → 0.0.28
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 +1694 -3
- package/lib/codegen/index.d.ts +16 -13
- package/lib/codegen/index.js +1694 -3
- package/lib/codegen/targets/react/index.cjs +1641 -57
- package/lib/codegen/targets/react/index.d.ts +11 -9
- package/lib/codegen/targets/react/index.js +1641 -57
- package/lib/index.cjs +1682 -0
- package/lib/index.d.ts +19 -2
- package/lib/index.js +1681 -1
- package/package.json +2 -2
- package/src/codegen/core/codegen.ts +9 -1
- package/src/codegen/targets/figma/instance.ts +21 -1
- package/src/codegen/targets/figma/pipeline.ts +4 -1
- package/src/entities/component.interface.ts +7 -0
- package/src/entities/component.repository.ts +16 -0
- package/src/entities/index.ts +5 -0
|
@@ -996,101 +996,1674 @@ function createTextTransformer({ propsConverters }) {
|
|
|
996
996
|
});
|
|
997
997
|
}
|
|
998
998
|
|
|
999
|
+
const metadata$K = {
|
|
1000
|
+
"name": "🔵 [Template] Bottom Fixed Bar",
|
|
1001
|
+
"key": "bac8592d10ee12452d79d5db6353850c0f0c9c3f",
|
|
1002
|
+
"componentPropertyDefinitions": {
|
|
1003
|
+
"Text#30483:84": {
|
|
1004
|
+
"type": "TEXT"
|
|
1005
|
+
},
|
|
1006
|
+
"Show Text Button#30483:80": {
|
|
1007
|
+
"type": "BOOLEAN"
|
|
1008
|
+
},
|
|
1009
|
+
"Show Favorite#29056:0": {
|
|
1010
|
+
"type": "BOOLEAN"
|
|
1011
|
+
},
|
|
1012
|
+
"Show Indicator#28768:0": {
|
|
1013
|
+
"type": "BOOLEAN"
|
|
1014
|
+
},
|
|
1015
|
+
"Show Pay Logo#15354:5": {
|
|
1016
|
+
"type": "BOOLEAN"
|
|
1017
|
+
},
|
|
1018
|
+
"Type": {
|
|
1019
|
+
"type": "VARIANT",
|
|
1020
|
+
"variantOptions": [
|
|
1021
|
+
"Information",
|
|
1022
|
+
"Multi Actions"
|
|
1023
|
+
]
|
|
1024
|
+
},
|
|
1025
|
+
"OS": {
|
|
1026
|
+
"type": "VARIANT",
|
|
1027
|
+
"variantOptions": [
|
|
1028
|
+
"iOS",
|
|
1029
|
+
"Andorid"
|
|
1030
|
+
]
|
|
1031
|
+
},
|
|
1032
|
+
"Show Divider": {
|
|
1033
|
+
"type": "VARIANT",
|
|
1034
|
+
"variantOptions": [
|
|
1035
|
+
"True",
|
|
1036
|
+
"False"
|
|
1037
|
+
]
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
const metadata$J = {
|
|
1043
|
+
"name": "🔵 [Template] Button Group",
|
|
1044
|
+
"key": "de6c65d34cc4a01c18c9a7c0ded34635170ca11f",
|
|
1045
|
+
"componentPropertyDefinitions": {
|
|
1046
|
+
"Show Secondary Button#29056:29": {
|
|
1047
|
+
"type": "BOOLEAN"
|
|
1048
|
+
},
|
|
1049
|
+
"Show Favorite Button#29056:0": {
|
|
1050
|
+
"type": "BOOLEAN"
|
|
1051
|
+
},
|
|
1052
|
+
"Show Step Indicator#25896:0": {
|
|
1053
|
+
"type": "BOOLEAN"
|
|
1054
|
+
},
|
|
1055
|
+
"Show Indicator#28768:0": {
|
|
1056
|
+
"type": "BOOLEAN"
|
|
1057
|
+
},
|
|
1058
|
+
"Text#16839:0": {
|
|
1059
|
+
"type": "TEXT"
|
|
1060
|
+
},
|
|
1061
|
+
"OS": {
|
|
1062
|
+
"type": "VARIANT",
|
|
1063
|
+
"variantOptions": [
|
|
1064
|
+
"iOS",
|
|
1065
|
+
"Andorid"
|
|
1066
|
+
]
|
|
1067
|
+
},
|
|
1068
|
+
"Position": {
|
|
1069
|
+
"type": "VARIANT",
|
|
1070
|
+
"variantOptions": [
|
|
1071
|
+
"Bottom fixed",
|
|
1072
|
+
"On keyboard"
|
|
1073
|
+
]
|
|
1074
|
+
},
|
|
1075
|
+
"Type": {
|
|
1076
|
+
"type": "VARIANT",
|
|
1077
|
+
"variantOptions": [
|
|
1078
|
+
"Single",
|
|
1079
|
+
"Vertical",
|
|
1080
|
+
"Horizontal",
|
|
1081
|
+
"Horizontal ratio"
|
|
1082
|
+
]
|
|
1083
|
+
},
|
|
1084
|
+
"Show Divider": {
|
|
1085
|
+
"type": "VARIANT",
|
|
1086
|
+
"variantOptions": [
|
|
1087
|
+
"True",
|
|
1088
|
+
"False"
|
|
1089
|
+
]
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
const metadata$I = {
|
|
1095
|
+
"name": "🔵 [Template] Chip Group",
|
|
1096
|
+
"key": "d46dc9059bf351928a2d403317ad7db34e70826e",
|
|
1097
|
+
"componentPropertyDefinitions": {
|
|
1098
|
+
"Refresh Button#15888:2": {
|
|
1099
|
+
"type": "BOOLEAN"
|
|
1100
|
+
},
|
|
1101
|
+
"Type": {
|
|
1102
|
+
"type": "VARIANT",
|
|
1103
|
+
"variantOptions": [
|
|
1104
|
+
"Filter",
|
|
1105
|
+
"Control",
|
|
1106
|
+
"Action"
|
|
1107
|
+
]
|
|
1108
|
+
},
|
|
1109
|
+
"Chip Count": {
|
|
1110
|
+
"type": "VARIANT",
|
|
1111
|
+
"variantOptions": [
|
|
1112
|
+
"Full",
|
|
1113
|
+
"3",
|
|
1114
|
+
"2",
|
|
1115
|
+
"4"
|
|
1116
|
+
]
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
const metadata$H = {
|
|
1122
|
+
"name": "🔵 [Template] Select Box Group",
|
|
1123
|
+
"key": "a3d58bb8540600878742cdcf2608a4b3851667ec",
|
|
1124
|
+
"componentPropertyDefinitions": {
|
|
1125
|
+
"Control": {
|
|
1126
|
+
"type": "VARIANT",
|
|
1127
|
+
"variantOptions": [
|
|
1128
|
+
"Checkbox",
|
|
1129
|
+
"Radio"
|
|
1130
|
+
]
|
|
1131
|
+
},
|
|
1132
|
+
"Item Count": {
|
|
1133
|
+
"type": "VARIANT",
|
|
1134
|
+
"variantOptions": [
|
|
1135
|
+
"1",
|
|
1136
|
+
"2",
|
|
1137
|
+
"3",
|
|
1138
|
+
"4",
|
|
1139
|
+
"5",
|
|
1140
|
+
"6"
|
|
1141
|
+
]
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
const metadata$G = {
|
|
1147
|
+
"name": "🔵 [Template] Top Navigation",
|
|
1148
|
+
"key": "74f045c1972dc31d0fddd0a0027537b6779cd0e8",
|
|
1149
|
+
"componentPropertyDefinitions": {
|
|
1150
|
+
"Action Button#17406:0": {
|
|
1151
|
+
"type": "BOOLEAN"
|
|
1152
|
+
},
|
|
1153
|
+
"Variants": {
|
|
1154
|
+
"type": "VARIANT",
|
|
1155
|
+
"variantOptions": [
|
|
1156
|
+
"Main Tab",
|
|
1157
|
+
"Standard",
|
|
1158
|
+
"Standard Transparent",
|
|
1159
|
+
"Large Title"
|
|
1160
|
+
]
|
|
1161
|
+
},
|
|
1162
|
+
"OS": {
|
|
1163
|
+
"type": "VARIANT",
|
|
1164
|
+
"variantOptions": [
|
|
1165
|
+
"iOS",
|
|
1166
|
+
"Android"
|
|
1167
|
+
]
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
const metadata$F = {
|
|
1173
|
+
"name": "🟢 Action Button",
|
|
1174
|
+
"key": "450ede9d0bf42fc6ef14345c77e6e407d6d5ee89",
|
|
1175
|
+
"componentPropertyDefinitions": {
|
|
1176
|
+
"Suffix Icon#5987:244": {
|
|
1177
|
+
"type": "INSTANCE_SWAP",
|
|
1178
|
+
"preferredValues": []
|
|
1179
|
+
},
|
|
1180
|
+
"Icon#7574:0": {
|
|
1181
|
+
"type": "INSTANCE_SWAP",
|
|
1182
|
+
"preferredValues": []
|
|
1183
|
+
},
|
|
1184
|
+
"Prefix Icon#5987:305": {
|
|
1185
|
+
"type": "INSTANCE_SWAP",
|
|
1186
|
+
"preferredValues": []
|
|
1187
|
+
},
|
|
1188
|
+
"Label#5987:61": {
|
|
1189
|
+
"type": "TEXT"
|
|
1190
|
+
},
|
|
1191
|
+
"Size": {
|
|
1192
|
+
"type": "VARIANT",
|
|
1193
|
+
"variantOptions": [
|
|
1194
|
+
"XSmall",
|
|
1195
|
+
"Small",
|
|
1196
|
+
"Medium",
|
|
1197
|
+
"Large"
|
|
1198
|
+
]
|
|
1199
|
+
},
|
|
1200
|
+
"Layout": {
|
|
1201
|
+
"type": "VARIANT",
|
|
1202
|
+
"variantOptions": [
|
|
1203
|
+
"Text Only",
|
|
1204
|
+
"Icon First",
|
|
1205
|
+
"Icon Last",
|
|
1206
|
+
"Icon Only"
|
|
1207
|
+
]
|
|
1208
|
+
},
|
|
1209
|
+
"Variant": {
|
|
1210
|
+
"type": "VARIANT",
|
|
1211
|
+
"variantOptions": [
|
|
1212
|
+
"Neutral Solid",
|
|
1213
|
+
"Neutral Weak",
|
|
1214
|
+
"Neutral Outline",
|
|
1215
|
+
"Brand Solid",
|
|
1216
|
+
"Brand Outline",
|
|
1217
|
+
"Critical Solid"
|
|
1218
|
+
]
|
|
1219
|
+
},
|
|
1220
|
+
"State": {
|
|
1221
|
+
"type": "VARIANT",
|
|
1222
|
+
"variantOptions": [
|
|
1223
|
+
"Enabled",
|
|
1224
|
+
"Pressed",
|
|
1225
|
+
"Loading",
|
|
1226
|
+
"Disabled"
|
|
1227
|
+
]
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
};
|
|
1231
|
+
|
|
1232
|
+
const metadata$E = {
|
|
1233
|
+
"name": "🟢 Action Chip",
|
|
1234
|
+
"key": "3d21594ef116e94a9465d507447b858aea062575",
|
|
1235
|
+
"componentPropertyDefinitions": {
|
|
1236
|
+
"Icon#8714:0": {
|
|
1237
|
+
"type": "INSTANCE_SWAP",
|
|
1238
|
+
"preferredValues": []
|
|
1239
|
+
},
|
|
1240
|
+
"Prefix Icon#8711:0": {
|
|
1241
|
+
"type": "INSTANCE_SWAP",
|
|
1242
|
+
"preferredValues": [
|
|
1243
|
+
{
|
|
1244
|
+
"type": "COMPONENT_SET",
|
|
1245
|
+
"key": "8ed05ef62a40f2dc034ee7eb6945bd0e63ad49aa"
|
|
1246
|
+
}
|
|
1247
|
+
]
|
|
1248
|
+
},
|
|
1249
|
+
"Suffix Icon#8711:3": {
|
|
1250
|
+
"type": "INSTANCE_SWAP",
|
|
1251
|
+
"preferredValues": []
|
|
1252
|
+
},
|
|
1253
|
+
"Label#7185:0": {
|
|
1254
|
+
"type": "TEXT"
|
|
1255
|
+
},
|
|
1256
|
+
"Show Count#7185:42": {
|
|
1257
|
+
"type": "BOOLEAN"
|
|
1258
|
+
},
|
|
1259
|
+
"Count#7185:21": {
|
|
1260
|
+
"type": "TEXT"
|
|
1261
|
+
},
|
|
1262
|
+
"Size": {
|
|
1263
|
+
"type": "VARIANT",
|
|
1264
|
+
"variantOptions": [
|
|
1265
|
+
"Medium",
|
|
1266
|
+
"Small"
|
|
1267
|
+
]
|
|
1268
|
+
},
|
|
1269
|
+
"Layout": {
|
|
1270
|
+
"type": "VARIANT",
|
|
1271
|
+
"variantOptions": [
|
|
1272
|
+
"Text Only",
|
|
1273
|
+
"Icon First",
|
|
1274
|
+
"Icon Last",
|
|
1275
|
+
"Icon Both",
|
|
1276
|
+
"Icon Only"
|
|
1277
|
+
]
|
|
1278
|
+
},
|
|
1279
|
+
"State": {
|
|
1280
|
+
"type": "VARIANT",
|
|
1281
|
+
"variantOptions": [
|
|
1282
|
+
"Enabled",
|
|
1283
|
+
"Pressed",
|
|
1284
|
+
"Disabled"
|
|
1285
|
+
]
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
const metadata$D = {
|
|
1291
|
+
"name": "🟢 Action Sheet",
|
|
1292
|
+
"key": "7c29b70b7e71618e1894c26f61f336de2730d76e",
|
|
1293
|
+
"componentPropertyDefinitions": {
|
|
1294
|
+
"Description#15641:70": {
|
|
1295
|
+
"type": "TEXT"
|
|
1296
|
+
},
|
|
1297
|
+
"Title#15641:37": {
|
|
1298
|
+
"type": "TEXT"
|
|
1299
|
+
},
|
|
1300
|
+
"OS Indicator (Figma Only)#15641:20": {
|
|
1301
|
+
"type": "BOOLEAN"
|
|
1302
|
+
},
|
|
1303
|
+
"Type": {
|
|
1304
|
+
"type": "VARIANT",
|
|
1305
|
+
"variantOptions": [
|
|
1306
|
+
"Normal",
|
|
1307
|
+
"Destructive"
|
|
1308
|
+
]
|
|
1309
|
+
},
|
|
1310
|
+
"Header": {
|
|
1311
|
+
"type": "VARIANT",
|
|
1312
|
+
"variantOptions": [
|
|
1313
|
+
"Title Only",
|
|
1314
|
+
"Description Only",
|
|
1315
|
+
"Title With Description",
|
|
1316
|
+
"None"
|
|
1317
|
+
]
|
|
1318
|
+
},
|
|
1319
|
+
"Action Count": {
|
|
1320
|
+
"type": "VARIANT",
|
|
1321
|
+
"variantOptions": [
|
|
1322
|
+
"1",
|
|
1323
|
+
"2",
|
|
1324
|
+
"3",
|
|
1325
|
+
"4"
|
|
1326
|
+
]
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1331
|
+
const metadata$C = {
|
|
1332
|
+
"name": "🟢 Avatar",
|
|
1333
|
+
"key": "d71644aeba2e29deda366798fdfe35977166d120",
|
|
1334
|
+
"componentPropertyDefinitions": {
|
|
1335
|
+
"Show Image#71850:57": {
|
|
1336
|
+
"type": "BOOLEAN"
|
|
1337
|
+
},
|
|
1338
|
+
"Show Badge#1398:26": {
|
|
1339
|
+
"type": "BOOLEAN"
|
|
1340
|
+
},
|
|
1341
|
+
"Size": {
|
|
1342
|
+
"type": "VARIANT",
|
|
1343
|
+
"variantOptions": [
|
|
1344
|
+
"20",
|
|
1345
|
+
"24",
|
|
1346
|
+
"36",
|
|
1347
|
+
"42",
|
|
1348
|
+
"48",
|
|
1349
|
+
"64",
|
|
1350
|
+
"80",
|
|
1351
|
+
"96"
|
|
1352
|
+
]
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
const metadata$B = {
|
|
1358
|
+
"name": "🟢 Avatar Stack",
|
|
1359
|
+
"key": "019467fdad2192abb48699dcfb79e344df04b799",
|
|
1360
|
+
"componentPropertyDefinitions": {
|
|
1361
|
+
"Size": {
|
|
1362
|
+
"type": "VARIANT",
|
|
1363
|
+
"variantOptions": [
|
|
1364
|
+
"20",
|
|
1365
|
+
"24",
|
|
1366
|
+
"36",
|
|
1367
|
+
"48",
|
|
1368
|
+
"64"
|
|
1369
|
+
]
|
|
1370
|
+
},
|
|
1371
|
+
"Item Count": {
|
|
1372
|
+
"type": "VARIANT",
|
|
1373
|
+
"variantOptions": [
|
|
1374
|
+
"2",
|
|
1375
|
+
"3",
|
|
1376
|
+
"4",
|
|
1377
|
+
"5"
|
|
1378
|
+
]
|
|
1379
|
+
},
|
|
1380
|
+
"Top Item": {
|
|
1381
|
+
"type": "VARIANT",
|
|
1382
|
+
"variantOptions": [
|
|
1383
|
+
"Last Item",
|
|
1384
|
+
"First Item"
|
|
1385
|
+
]
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
const metadata$A = {
|
|
1391
|
+
"name": "🟢 Badge",
|
|
1392
|
+
"key": "04609a35d47a1a0ef4904b3c25f79451892a85a1",
|
|
1393
|
+
"componentPropertyDefinitions": {
|
|
1394
|
+
"Label#1584:0": {
|
|
1395
|
+
"type": "TEXT"
|
|
1396
|
+
},
|
|
1397
|
+
"Size": {
|
|
1398
|
+
"type": "VARIANT",
|
|
1399
|
+
"variantOptions": [
|
|
1400
|
+
"Medium",
|
|
1401
|
+
"Large"
|
|
1402
|
+
]
|
|
1403
|
+
},
|
|
1404
|
+
"Tone": {
|
|
1405
|
+
"type": "VARIANT",
|
|
1406
|
+
"variantOptions": [
|
|
1407
|
+
"Neutral",
|
|
1408
|
+
"Brand",
|
|
1409
|
+
"Informative",
|
|
1410
|
+
"Positive",
|
|
1411
|
+
"Critical"
|
|
1412
|
+
]
|
|
1413
|
+
},
|
|
1414
|
+
"Variant": {
|
|
1415
|
+
"type": "VARIANT",
|
|
1416
|
+
"variantOptions": [
|
|
1417
|
+
"Solid",
|
|
1418
|
+
"Weak",
|
|
1419
|
+
"Outline"
|
|
1420
|
+
]
|
|
1421
|
+
},
|
|
1422
|
+
"Shape": {
|
|
1423
|
+
"type": "VARIANT",
|
|
1424
|
+
"variantOptions": [
|
|
1425
|
+
"Rectangle",
|
|
1426
|
+
"Pill"
|
|
1427
|
+
]
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
const metadata$z = {
|
|
1433
|
+
"name": "🟢 Bottom Navigation / Global",
|
|
1434
|
+
"key": "983650a4dff639b38bf68ff6004efc8ec4fb5c20",
|
|
1435
|
+
"componentPropertyDefinitions": {
|
|
1436
|
+
"OS": {
|
|
1437
|
+
"type": "VARIANT",
|
|
1438
|
+
"variantOptions": [
|
|
1439
|
+
"iOS",
|
|
1440
|
+
"Android"
|
|
1441
|
+
]
|
|
1442
|
+
},
|
|
1443
|
+
"Language": {
|
|
1444
|
+
"type": "VARIANT",
|
|
1445
|
+
"variantOptions": [
|
|
1446
|
+
"English",
|
|
1447
|
+
"Japanese"
|
|
1448
|
+
]
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
const metadata$y = {
|
|
1454
|
+
"name": "🟢 Bottom Navigation / KR",
|
|
1455
|
+
"key": "accc7cea2d0250cdfbf0197ce00a677c6b9e0dae",
|
|
1456
|
+
"componentPropertyDefinitions": {
|
|
1457
|
+
"OS": {
|
|
1458
|
+
"type": "VARIANT",
|
|
1459
|
+
"variantOptions": [
|
|
1460
|
+
"\biOS",
|
|
1461
|
+
"Android"
|
|
1462
|
+
]
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
};
|
|
1466
|
+
|
|
1467
|
+
const metadata$x = {
|
|
1468
|
+
"name": "🟢 Bottom Sheet",
|
|
1469
|
+
"key": "16bafa5d1155896fe18fb6f52f904f5cd2048686",
|
|
1470
|
+
"componentPropertyDefinitions": {
|
|
1471
|
+
"Layout": {
|
|
1472
|
+
"type": "VARIANT",
|
|
1473
|
+
"variantOptions": [
|
|
1474
|
+
"Center",
|
|
1475
|
+
"Left",
|
|
1476
|
+
"None"
|
|
1477
|
+
]
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
};
|
|
1481
|
+
|
|
1482
|
+
const metadata$w = {
|
|
1483
|
+
"name": "🟢 Callout",
|
|
1484
|
+
"key": "ec46d38baac3c367c4a5ffa47a2110d51ba0a4fe",
|
|
1485
|
+
"componentPropertyDefinitions": {
|
|
1486
|
+
"Show Icon#12598:229": {
|
|
1487
|
+
"type": "BOOLEAN"
|
|
1488
|
+
},
|
|
1489
|
+
"Icon#12598:210": {
|
|
1490
|
+
"type": "INSTANCE_SWAP",
|
|
1491
|
+
"preferredValues": [
|
|
1492
|
+
{
|
|
1493
|
+
"type": "COMPONENT_SET",
|
|
1494
|
+
"key": "f2c04b68b0bec4ec9145d832de45947030d3b653"
|
|
1495
|
+
}
|
|
1496
|
+
]
|
|
1497
|
+
},
|
|
1498
|
+
"Interaction": {
|
|
1499
|
+
"type": "VARIANT",
|
|
1500
|
+
"variantOptions": [
|
|
1501
|
+
"Default",
|
|
1502
|
+
"Actionable",
|
|
1503
|
+
"Dismissible"
|
|
1504
|
+
]
|
|
1505
|
+
},
|
|
1506
|
+
"Tone": {
|
|
1507
|
+
"type": "VARIANT",
|
|
1508
|
+
"variantOptions": [
|
|
1509
|
+
"Neutral",
|
|
1510
|
+
"Informative",
|
|
1511
|
+
"Warning",
|
|
1512
|
+
"Critical",
|
|
1513
|
+
"Magic"
|
|
1514
|
+
]
|
|
1515
|
+
},
|
|
1516
|
+
"State": {
|
|
1517
|
+
"type": "VARIANT",
|
|
1518
|
+
"variantOptions": [
|
|
1519
|
+
"Enabled",
|
|
1520
|
+
"Pressed"
|
|
1521
|
+
]
|
|
1522
|
+
},
|
|
1523
|
+
"Show Title": {
|
|
1524
|
+
"type": "VARIANT",
|
|
1525
|
+
"variantOptions": [
|
|
1526
|
+
"True",
|
|
1527
|
+
"False"
|
|
1528
|
+
]
|
|
1529
|
+
},
|
|
1530
|
+
"Show Link Label": {
|
|
1531
|
+
"type": "VARIANT",
|
|
1532
|
+
"variantOptions": [
|
|
1533
|
+
"True",
|
|
1534
|
+
"False"
|
|
1535
|
+
]
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
};
|
|
1539
|
+
|
|
999
1540
|
const metadata$v = {
|
|
1000
|
-
"
|
|
1541
|
+
"name": "🟢 Checkbox",
|
|
1542
|
+
"key": "94a2f6957a86f8ae3b8c7ca200dfcd5e29f6075b",
|
|
1543
|
+
"componentPropertyDefinitions": {
|
|
1544
|
+
"Label#49990:0": {
|
|
1545
|
+
"type": "TEXT"
|
|
1546
|
+
},
|
|
1547
|
+
"Size": {
|
|
1548
|
+
"type": "VARIANT",
|
|
1549
|
+
"variantOptions": [
|
|
1550
|
+
"Medium",
|
|
1551
|
+
"Large"
|
|
1552
|
+
]
|
|
1553
|
+
},
|
|
1554
|
+
"Shape": {
|
|
1555
|
+
"type": "VARIANT",
|
|
1556
|
+
"variantOptions": [
|
|
1557
|
+
"Square",
|
|
1558
|
+
"Ghost"
|
|
1559
|
+
]
|
|
1560
|
+
},
|
|
1561
|
+
"Weight": {
|
|
1562
|
+
"type": "VARIANT",
|
|
1563
|
+
"variantOptions": [
|
|
1564
|
+
"Default",
|
|
1565
|
+
"Stronger"
|
|
1566
|
+
]
|
|
1567
|
+
},
|
|
1568
|
+
"State": {
|
|
1569
|
+
"type": "VARIANT",
|
|
1570
|
+
"variantOptions": [
|
|
1571
|
+
"Enabled",
|
|
1572
|
+
"Pressed",
|
|
1573
|
+
"Selected",
|
|
1574
|
+
"Selected-Pressed",
|
|
1575
|
+
"Indeterminate",
|
|
1576
|
+
"Indeterminate-Pressed",
|
|
1577
|
+
"Disabled",
|
|
1578
|
+
"Disabled-Selected",
|
|
1579
|
+
"Disabled-Indeterminate"
|
|
1580
|
+
]
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
};
|
|
1001
1584
|
|
|
1002
1585
|
const metadata$u = {
|
|
1003
|
-
"
|
|
1586
|
+
"name": "🟢 Chip Tablist",
|
|
1587
|
+
"key": "d098159beacf7713e9116f0ef38d8a20f64ec84f",
|
|
1588
|
+
"componentPropertyDefinitions": {
|
|
1589
|
+
"Tab Count": {
|
|
1590
|
+
"type": "VARIANT",
|
|
1591
|
+
"variantOptions": [
|
|
1592
|
+
"2",
|
|
1593
|
+
"3",
|
|
1594
|
+
"4",
|
|
1595
|
+
"5",
|
|
1596
|
+
"6",
|
|
1597
|
+
"Max"
|
|
1598
|
+
]
|
|
1599
|
+
},
|
|
1600
|
+
"Variant": {
|
|
1601
|
+
"type": "VARIANT",
|
|
1602
|
+
"variantOptions": [
|
|
1603
|
+
"Neutral Solid",
|
|
1604
|
+
"Brand Solid"
|
|
1605
|
+
]
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
};
|
|
1004
1609
|
|
|
1005
1610
|
const metadata$t = {
|
|
1006
|
-
"
|
|
1611
|
+
"name": "🟢 Control Chip",
|
|
1612
|
+
"key": "5780d56fc2f9bc4bbd6bc3db93949d8a8b7b7563",
|
|
1613
|
+
"componentPropertyDefinitions": {
|
|
1614
|
+
"Suffix Icon#8722:82": {
|
|
1615
|
+
"type": "INSTANCE_SWAP",
|
|
1616
|
+
"preferredValues": []
|
|
1617
|
+
},
|
|
1618
|
+
"Label#7185:0": {
|
|
1619
|
+
"type": "TEXT"
|
|
1620
|
+
},
|
|
1621
|
+
"Show Count#7185:42": {
|
|
1622
|
+
"type": "BOOLEAN"
|
|
1623
|
+
},
|
|
1624
|
+
"Icon#8722:41": {
|
|
1625
|
+
"type": "INSTANCE_SWAP",
|
|
1626
|
+
"preferredValues": []
|
|
1627
|
+
},
|
|
1628
|
+
"Prefix Icon#8722:0": {
|
|
1629
|
+
"type": "INSTANCE_SWAP",
|
|
1630
|
+
"preferredValues": [
|
|
1631
|
+
{
|
|
1632
|
+
"type": "COMPONENT_SET",
|
|
1633
|
+
"key": "8ed05ef62a40f2dc034ee7eb6945bd0e63ad49aa"
|
|
1634
|
+
}
|
|
1635
|
+
]
|
|
1636
|
+
},
|
|
1637
|
+
"Count#7185:21": {
|
|
1638
|
+
"type": "TEXT"
|
|
1639
|
+
},
|
|
1640
|
+
"Size": {
|
|
1641
|
+
"type": "VARIANT",
|
|
1642
|
+
"variantOptions": [
|
|
1643
|
+
"Medium",
|
|
1644
|
+
"Small"
|
|
1645
|
+
]
|
|
1646
|
+
},
|
|
1647
|
+
"Layout": {
|
|
1648
|
+
"type": "VARIANT",
|
|
1649
|
+
"variantOptions": [
|
|
1650
|
+
"Text Only",
|
|
1651
|
+
"Icon First",
|
|
1652
|
+
"Icon Last",
|
|
1653
|
+
"Icon Both",
|
|
1654
|
+
"Icon Only"
|
|
1655
|
+
]
|
|
1656
|
+
},
|
|
1657
|
+
"State": {
|
|
1658
|
+
"type": "VARIANT",
|
|
1659
|
+
"variantOptions": [
|
|
1660
|
+
"Enabled",
|
|
1661
|
+
"Pressed",
|
|
1662
|
+
"Selected",
|
|
1663
|
+
"Selected-Pressed",
|
|
1664
|
+
"Disabled",
|
|
1665
|
+
"Disabled-Selected"
|
|
1666
|
+
]
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
};
|
|
1007
1670
|
|
|
1008
1671
|
const metadata$s = {
|
|
1009
|
-
"
|
|
1672
|
+
"name": "🟢 Divider",
|
|
1673
|
+
"key": "848e953725f757ea1a79e1fecc0b608a035032d3",
|
|
1674
|
+
"componentPropertyDefinitions": {
|
|
1675
|
+
"Tone": {
|
|
1676
|
+
"type": "VARIANT",
|
|
1677
|
+
"variantOptions": [
|
|
1678
|
+
"Neutral",
|
|
1679
|
+
"Neutral Muted"
|
|
1680
|
+
]
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
};
|
|
1010
1684
|
|
|
1011
1685
|
const metadata$r = {
|
|
1012
|
-
"
|
|
1686
|
+
"name": "🟢 Error State",
|
|
1687
|
+
"key": "39b4ecd0b5b4d35f4dc5791765ca04aa062a5172",
|
|
1688
|
+
"componentPropertyDefinitions": {
|
|
1689
|
+
"Secondary Action Label#17042:0": {
|
|
1690
|
+
"type": "TEXT"
|
|
1691
|
+
},
|
|
1692
|
+
"Title#16237:0": {
|
|
1693
|
+
"type": "TEXT"
|
|
1694
|
+
},
|
|
1695
|
+
"Description#16237:5": {
|
|
1696
|
+
"type": "TEXT"
|
|
1697
|
+
},
|
|
1698
|
+
"Show Buttons#9080:5": {
|
|
1699
|
+
"type": "BOOLEAN"
|
|
1700
|
+
},
|
|
1701
|
+
"Variant": {
|
|
1702
|
+
"type": "VARIANT",
|
|
1703
|
+
"variantOptions": [
|
|
1704
|
+
"Default",
|
|
1705
|
+
"Basement"
|
|
1706
|
+
]
|
|
1707
|
+
},
|
|
1708
|
+
"Layout": {
|
|
1709
|
+
"type": "VARIANT",
|
|
1710
|
+
"variantOptions": [
|
|
1711
|
+
"With Title",
|
|
1712
|
+
"Description Only"
|
|
1713
|
+
]
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
};
|
|
1013
1717
|
|
|
1014
1718
|
const metadata$q = {
|
|
1015
|
-
"
|
|
1719
|
+
"name": "🟢 Extended Action Sheet",
|
|
1720
|
+
"key": "cd4cf8a850bf3de87b79080b36b421a649bf3fcb",
|
|
1721
|
+
"componentPropertyDefinitions": {
|
|
1722
|
+
"Show Title#17043:12": {
|
|
1723
|
+
"type": "BOOLEAN"
|
|
1724
|
+
},
|
|
1725
|
+
"OS Indicator (Figma Only)#81637:129": {
|
|
1726
|
+
"type": "BOOLEAN"
|
|
1727
|
+
},
|
|
1728
|
+
"Description#14599:13": {
|
|
1729
|
+
"type": "TEXT"
|
|
1730
|
+
},
|
|
1731
|
+
"Title#14599:0": {
|
|
1732
|
+
"type": "TEXT"
|
|
1733
|
+
},
|
|
1734
|
+
"Type": {
|
|
1735
|
+
"type": "VARIANT",
|
|
1736
|
+
"variantOptions": [
|
|
1737
|
+
"Normal",
|
|
1738
|
+
"Destructive"
|
|
1739
|
+
]
|
|
1740
|
+
},
|
|
1741
|
+
"Action Group Count": {
|
|
1742
|
+
"type": "VARIANT",
|
|
1743
|
+
"variantOptions": [
|
|
1744
|
+
"1",
|
|
1745
|
+
"2"
|
|
1746
|
+
]
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
};
|
|
1016
1750
|
|
|
1017
1751
|
const metadata$p = {
|
|
1018
|
-
"
|
|
1752
|
+
"name": "🟢 Extended Floating Action Button",
|
|
1753
|
+
"key": "032f3fddaad0aa3fa5a7f680768c1f5d02fb463f",
|
|
1754
|
+
"componentPropertyDefinitions": {
|
|
1755
|
+
"Label#28936:0": {
|
|
1756
|
+
"type": "TEXT"
|
|
1757
|
+
},
|
|
1758
|
+
"Icon#28796:0": {
|
|
1759
|
+
"type": "INSTANCE_SWAP",
|
|
1760
|
+
"preferredValues": []
|
|
1761
|
+
},
|
|
1762
|
+
"Size": {
|
|
1763
|
+
"type": "VARIANT",
|
|
1764
|
+
"variantOptions": [
|
|
1765
|
+
"Small",
|
|
1766
|
+
"Medium"
|
|
1767
|
+
]
|
|
1768
|
+
},
|
|
1769
|
+
"Variant": {
|
|
1770
|
+
"type": "VARIANT",
|
|
1771
|
+
"variantOptions": [
|
|
1772
|
+
"Neutral Solid",
|
|
1773
|
+
"Layer Floating"
|
|
1774
|
+
]
|
|
1775
|
+
},
|
|
1776
|
+
"State": {
|
|
1777
|
+
"type": "VARIANT",
|
|
1778
|
+
"variantOptions": [
|
|
1779
|
+
"Enabled",
|
|
1780
|
+
"Pressed"
|
|
1781
|
+
]
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
};
|
|
1019
1785
|
|
|
1020
1786
|
const metadata$o = {
|
|
1021
|
-
"
|
|
1787
|
+
"name": "🟢 Floating Action Button",
|
|
1788
|
+
"key": "1974b94703032585bb9e20bd54743e01094b965c",
|
|
1789
|
+
"componentPropertyDefinitions": {
|
|
1790
|
+
"Icon#28796:0": {
|
|
1791
|
+
"type": "INSTANCE_SWAP",
|
|
1792
|
+
"preferredValues": []
|
|
1793
|
+
},
|
|
1794
|
+
"State": {
|
|
1795
|
+
"type": "VARIANT",
|
|
1796
|
+
"variantOptions": [
|
|
1797
|
+
"Enabled",
|
|
1798
|
+
"Pressed"
|
|
1799
|
+
]
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
};
|
|
1022
1803
|
|
|
1023
1804
|
const metadata$n = {
|
|
1024
|
-
"
|
|
1805
|
+
"name": "🟢 Help Bubble",
|
|
1806
|
+
"key": "804b327c091278a40d5891939eaed90bb2889659",
|
|
1807
|
+
"componentPropertyDefinitions": {
|
|
1808
|
+
"Title#62535:0": {
|
|
1809
|
+
"type": "TEXT"
|
|
1810
|
+
},
|
|
1811
|
+
"Description#62535:98": {
|
|
1812
|
+
"type": "TEXT"
|
|
1813
|
+
},
|
|
1814
|
+
"Show Description#62499:0": {
|
|
1815
|
+
"type": "BOOLEAN"
|
|
1816
|
+
},
|
|
1817
|
+
"Placement": {
|
|
1818
|
+
"type": "VARIANT",
|
|
1819
|
+
"variantOptions": [
|
|
1820
|
+
"Right-Top",
|
|
1821
|
+
"Right-Center",
|
|
1822
|
+
"Right-Bottom",
|
|
1823
|
+
"Left-Top",
|
|
1824
|
+
"Left-Center",
|
|
1825
|
+
"Left-Bottom",
|
|
1826
|
+
"Bottom-Left",
|
|
1827
|
+
"Bottom-Center",
|
|
1828
|
+
"Bottom-Right",
|
|
1829
|
+
"Top-Left",
|
|
1830
|
+
"Top-Center",
|
|
1831
|
+
"Top-Right"
|
|
1832
|
+
]
|
|
1833
|
+
},
|
|
1834
|
+
"Show Close Button": {
|
|
1835
|
+
"type": "VARIANT",
|
|
1836
|
+
"variantOptions": [
|
|
1837
|
+
"True",
|
|
1838
|
+
"False"
|
|
1839
|
+
]
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
};
|
|
1025
1843
|
|
|
1026
1844
|
const metadata$m = {
|
|
1027
|
-
"
|
|
1845
|
+
"name": "🟢 Identity Placeholder",
|
|
1846
|
+
"key": "808206c07408aa1056ec85a55925e9844e9265c2",
|
|
1847
|
+
"componentPropertyDefinitions": {
|
|
1848
|
+
"Identity": {
|
|
1849
|
+
"type": "VARIANT",
|
|
1850
|
+
"variantOptions": [
|
|
1851
|
+
"Person",
|
|
1852
|
+
"Business"
|
|
1853
|
+
]
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
};
|
|
1028
1857
|
|
|
1029
1858
|
const metadata$l = {
|
|
1030
|
-
"
|
|
1859
|
+
"name": "🟢 Inline Banner",
|
|
1860
|
+
"key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
|
|
1861
|
+
"componentPropertyDefinitions": {
|
|
1862
|
+
"Show Icon#11840:27": {
|
|
1863
|
+
"type": "BOOLEAN"
|
|
1864
|
+
},
|
|
1865
|
+
"Link Label#1547:81": {
|
|
1866
|
+
"type": "TEXT"
|
|
1867
|
+
},
|
|
1868
|
+
"Interaction": {
|
|
1869
|
+
"type": "VARIANT",
|
|
1870
|
+
"variantOptions": [
|
|
1871
|
+
"Default",
|
|
1872
|
+
"Link",
|
|
1873
|
+
"Actionable",
|
|
1874
|
+
"Dismissible"
|
|
1875
|
+
]
|
|
1876
|
+
},
|
|
1877
|
+
"Variant": {
|
|
1878
|
+
"type": "VARIANT",
|
|
1879
|
+
"variantOptions": [
|
|
1880
|
+
"Neutral Weak",
|
|
1881
|
+
"Informative Weak",
|
|
1882
|
+
"Positive Weak",
|
|
1883
|
+
"Warning Solid",
|
|
1884
|
+
"Warning Weak",
|
|
1885
|
+
"Critical Solid",
|
|
1886
|
+
"Critical Weak"
|
|
1887
|
+
]
|
|
1888
|
+
},
|
|
1889
|
+
"Show Title": {
|
|
1890
|
+
"type": "VARIANT",
|
|
1891
|
+
"variantOptions": [
|
|
1892
|
+
"True",
|
|
1893
|
+
"False"
|
|
1894
|
+
]
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
};
|
|
1031
1898
|
|
|
1032
1899
|
const metadata$k = {
|
|
1033
|
-
"
|
|
1900
|
+
"name": "🟢 Main Tab Navigation / Global",
|
|
1901
|
+
"key": "a694a1da14a5c1d7d5c66bc78218c0c61fb388ab",
|
|
1902
|
+
"componentPropertyDefinitions": {
|
|
1903
|
+
"Button Label#6409:18": {
|
|
1904
|
+
"type": "TEXT"
|
|
1905
|
+
},
|
|
1906
|
+
"Title#6406:6": {
|
|
1907
|
+
"type": "TEXT"
|
|
1908
|
+
},
|
|
1909
|
+
"Title Type": {
|
|
1910
|
+
"type": "VARIANT",
|
|
1911
|
+
"variantOptions": [
|
|
1912
|
+
"Text",
|
|
1913
|
+
"Text + Button"
|
|
1914
|
+
]
|
|
1915
|
+
},
|
|
1916
|
+
"Variant": {
|
|
1917
|
+
"type": "VARIANT",
|
|
1918
|
+
"variantOptions": [
|
|
1919
|
+
"Layer Default",
|
|
1920
|
+
"Transparent"
|
|
1921
|
+
]
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
};
|
|
1034
1925
|
|
|
1035
1926
|
const metadata$j = {
|
|
1036
|
-
"
|
|
1927
|
+
"name": "🟢 Main Tab Navigation / KR",
|
|
1928
|
+
"key": "41d3601e6b4c632a56cdc8fad485a76c026fdd8e",
|
|
1929
|
+
"componentPropertyDefinitions": {
|
|
1930
|
+
"Title#6406:6": {
|
|
1931
|
+
"type": "TEXT"
|
|
1932
|
+
},
|
|
1933
|
+
"Title Type": {
|
|
1934
|
+
"type": "VARIANT",
|
|
1935
|
+
"variantOptions": [
|
|
1936
|
+
"Text",
|
|
1937
|
+
"Button"
|
|
1938
|
+
]
|
|
1939
|
+
},
|
|
1940
|
+
"Variant": {
|
|
1941
|
+
"type": "VARIANT",
|
|
1942
|
+
"variantOptions": [
|
|
1943
|
+
"Layer Default",
|
|
1944
|
+
"Transparent"
|
|
1945
|
+
]
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
};
|
|
1037
1949
|
|
|
1038
1950
|
const metadata$i = {
|
|
1039
|
-
"
|
|
1951
|
+
"name": "🟢 Manner Temp",
|
|
1952
|
+
"key": "030dc68a26c24c37090c8b95ae21043855b5d589",
|
|
1953
|
+
"componentPropertyDefinitions": {
|
|
1954
|
+
"State": {
|
|
1955
|
+
"type": "VARIANT",
|
|
1956
|
+
"variantOptions": [
|
|
1957
|
+
"L1 (~29.9)",
|
|
1958
|
+
"L2 (30.0~36.2)",
|
|
1959
|
+
"L3 (36.3~37.5)",
|
|
1960
|
+
"L4 (37.6~41.9)",
|
|
1961
|
+
"L5 (42~51.9)",
|
|
1962
|
+
"L6 (52~)"
|
|
1963
|
+
]
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
};
|
|
1040
1967
|
|
|
1041
1968
|
const metadata$h = {
|
|
1042
|
-
"
|
|
1969
|
+
"name": "🟢 Manner Temp (Bar)",
|
|
1970
|
+
"key": "49ca92c450fb5d450be00f69fae709dbb8edc494",
|
|
1971
|
+
"componentPropertyDefinitions": {
|
|
1972
|
+
"Size": {
|
|
1973
|
+
"type": "VARIANT",
|
|
1974
|
+
"variantOptions": [
|
|
1975
|
+
"Medium"
|
|
1976
|
+
]
|
|
1977
|
+
},
|
|
1978
|
+
"State": {
|
|
1979
|
+
"type": "VARIANT",
|
|
1980
|
+
"variantOptions": [
|
|
1981
|
+
"L1 (29.9 이하)",
|
|
1982
|
+
"L2 (29.9~36.2)",
|
|
1983
|
+
"L3 (36.3~37.5)",
|
|
1984
|
+
"L4 (37.6~41.9)",
|
|
1985
|
+
"L5 (42~51.9)",
|
|
1986
|
+
"L6 (52~)"
|
|
1987
|
+
]
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
};
|
|
1043
1991
|
|
|
1044
1992
|
const metadata$g = {
|
|
1045
|
-
"
|
|
1993
|
+
"name": "🟢 Manner Temp Badge",
|
|
1994
|
+
"key": "ac5331cec7a2c75b671df5b85ef247dfd820dd2f",
|
|
1995
|
+
"componentPropertyDefinitions": {
|
|
1996
|
+
"State": {
|
|
1997
|
+
"type": "VARIANT",
|
|
1998
|
+
"variantOptions": [
|
|
1999
|
+
"L1 (~29.9)",
|
|
2000
|
+
"L2 (30.0~36.2)",
|
|
2001
|
+
"L3 (36.3~37.5)",
|
|
2002
|
+
"L4 (37.6~41.9)",
|
|
2003
|
+
"L5 (42~51.9)",
|
|
2004
|
+
"L6 (52~)"
|
|
2005
|
+
]
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
};
|
|
1046
2009
|
|
|
1047
2010
|
const metadata$f = {
|
|
1048
|
-
"
|
|
2011
|
+
"name": "🟢 Multiline Text Field",
|
|
2012
|
+
"key": "88b2399c930c85f9ce2972163a078bc684b84bbe",
|
|
2013
|
+
"componentPropertyDefinitions": {
|
|
2014
|
+
"Indicator#15327:286": {
|
|
2015
|
+
"type": "TEXT"
|
|
2016
|
+
},
|
|
2017
|
+
"Character Count#15327:360": {
|
|
2018
|
+
"type": "TEXT"
|
|
2019
|
+
},
|
|
2020
|
+
"Max Character Count#15327:175": {
|
|
2021
|
+
"type": "TEXT"
|
|
2022
|
+
},
|
|
2023
|
+
"Label#15327:323": {
|
|
2024
|
+
"type": "TEXT"
|
|
2025
|
+
},
|
|
2026
|
+
"Filled Text#1304:0": {
|
|
2027
|
+
"type": "TEXT"
|
|
2028
|
+
},
|
|
2029
|
+
"Show Character count#958:75": {
|
|
2030
|
+
"type": "BOOLEAN"
|
|
2031
|
+
},
|
|
2032
|
+
"Show Footer#958:25": {
|
|
2033
|
+
"type": "BOOLEAN"
|
|
2034
|
+
},
|
|
2035
|
+
"Show Description#958:50": {
|
|
2036
|
+
"type": "BOOLEAN"
|
|
2037
|
+
},
|
|
2038
|
+
"Description#15327:212": {
|
|
2039
|
+
"type": "TEXT"
|
|
2040
|
+
},
|
|
2041
|
+
"Show Indicator#1259:0": {
|
|
2042
|
+
"type": "BOOLEAN"
|
|
2043
|
+
},
|
|
2044
|
+
"Placeholder#958:0": {
|
|
2045
|
+
"type": "TEXT"
|
|
2046
|
+
},
|
|
2047
|
+
"Show Header#870:0": {
|
|
2048
|
+
"type": "BOOLEAN"
|
|
2049
|
+
},
|
|
2050
|
+
"Size": {
|
|
2051
|
+
"type": "VARIANT",
|
|
2052
|
+
"variantOptions": [
|
|
2053
|
+
"Medium",
|
|
2054
|
+
"Large",
|
|
2055
|
+
"XLarge"
|
|
2056
|
+
]
|
|
2057
|
+
},
|
|
2058
|
+
"State": {
|
|
2059
|
+
"type": "VARIANT",
|
|
2060
|
+
"variantOptions": [
|
|
2061
|
+
"Enabled",
|
|
2062
|
+
"Focused",
|
|
2063
|
+
"Invalid",
|
|
2064
|
+
"Invalid-Focused",
|
|
2065
|
+
"Disabled",
|
|
2066
|
+
"Read Only"
|
|
2067
|
+
]
|
|
2068
|
+
},
|
|
2069
|
+
"Filled": {
|
|
2070
|
+
"type": "VARIANT",
|
|
2071
|
+
"variantOptions": [
|
|
2072
|
+
"True",
|
|
2073
|
+
"False"
|
|
2074
|
+
]
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
};
|
|
1049
2078
|
|
|
1050
2079
|
const metadata$e = {
|
|
1051
|
-
"
|
|
2080
|
+
"name": "🟢 Progress Circle",
|
|
2081
|
+
"key": "6e6779a372cab2485a0e25529bc4dbc9932a7346",
|
|
2082
|
+
"componentPropertyDefinitions": {
|
|
2083
|
+
"Size": {
|
|
2084
|
+
"type": "VARIANT",
|
|
2085
|
+
"variantOptions": [
|
|
2086
|
+
"24",
|
|
2087
|
+
"40"
|
|
2088
|
+
]
|
|
2089
|
+
},
|
|
2090
|
+
"Tone": {
|
|
2091
|
+
"type": "VARIANT",
|
|
2092
|
+
"variantOptions": [
|
|
2093
|
+
"Neutral",
|
|
2094
|
+
"Brand",
|
|
2095
|
+
"Static White"
|
|
2096
|
+
]
|
|
2097
|
+
},
|
|
2098
|
+
"Value": {
|
|
2099
|
+
"type": "VARIANT",
|
|
2100
|
+
"variantOptions": [
|
|
2101
|
+
"Indeterminate",
|
|
2102
|
+
"0%",
|
|
2103
|
+
"25%",
|
|
2104
|
+
"75%",
|
|
2105
|
+
"100%"
|
|
2106
|
+
]
|
|
2107
|
+
}
|
|
2108
|
+
}
|
|
2109
|
+
};
|
|
1052
2110
|
|
|
1053
2111
|
const metadata$d = {
|
|
1054
|
-
"
|
|
2112
|
+
"name": "🟢 Radio",
|
|
2113
|
+
"key": "ac72d9e5ab04a1d59eaf77dffd380fd6e491ecf8",
|
|
2114
|
+
"componentPropertyDefinitions": {
|
|
2115
|
+
"Label#49990:171": {
|
|
2116
|
+
"type": "TEXT"
|
|
2117
|
+
},
|
|
2118
|
+
"Size": {
|
|
2119
|
+
"type": "VARIANT",
|
|
2120
|
+
"variantOptions": [
|
|
2121
|
+
"Medium",
|
|
2122
|
+
"Large"
|
|
2123
|
+
]
|
|
2124
|
+
},
|
|
2125
|
+
"State": {
|
|
2126
|
+
"type": "VARIANT",
|
|
2127
|
+
"variantOptions": [
|
|
2128
|
+
"Enabled",
|
|
2129
|
+
"Pressed",
|
|
2130
|
+
"Selected",
|
|
2131
|
+
"Selected-Pressed",
|
|
2132
|
+
"Disabled",
|
|
2133
|
+
"Disabled-Selected"
|
|
2134
|
+
]
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
};
|
|
1055
2138
|
|
|
1056
2139
|
const metadata$c = {
|
|
1057
|
-
"
|
|
2140
|
+
"name": "🟢 Range Slider",
|
|
2141
|
+
"key": "64fc49184979e0be40aa367ca98868601eb7dad5",
|
|
2142
|
+
"componentPropertyDefinitions": {
|
|
2143
|
+
"Steps": {
|
|
2144
|
+
"type": "VARIANT",
|
|
2145
|
+
"variantOptions": [
|
|
2146
|
+
"0",
|
|
2147
|
+
"1",
|
|
2148
|
+
"2",
|
|
2149
|
+
"3",
|
|
2150
|
+
"4"
|
|
2151
|
+
]
|
|
2152
|
+
},
|
|
2153
|
+
"State": {
|
|
2154
|
+
"type": "VARIANT",
|
|
2155
|
+
"variantOptions": [
|
|
2156
|
+
"Enabled",
|
|
2157
|
+
"Disabled"
|
|
2158
|
+
]
|
|
2159
|
+
},
|
|
2160
|
+
"Marker": {
|
|
2161
|
+
"type": "VARIANT",
|
|
2162
|
+
"variantOptions": [
|
|
2163
|
+
"None",
|
|
2164
|
+
"Min Max",
|
|
2165
|
+
"All"
|
|
2166
|
+
]
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
};
|
|
1058
2170
|
|
|
1059
2171
|
const metadata$b = {
|
|
1060
|
-
"
|
|
2172
|
+
"name": "🟢 Reaction Button",
|
|
2173
|
+
"key": "ec43e4e881f7048e95601f8b58c01a0905a174e0",
|
|
2174
|
+
"componentPropertyDefinitions": {
|
|
2175
|
+
"Icon#12379:0": {
|
|
2176
|
+
"type": "INSTANCE_SWAP",
|
|
2177
|
+
"preferredValues": []
|
|
2178
|
+
},
|
|
2179
|
+
"Show Count#6397:33": {
|
|
2180
|
+
"type": "BOOLEAN"
|
|
2181
|
+
},
|
|
2182
|
+
"Count#15816:0": {
|
|
2183
|
+
"type": "TEXT"
|
|
2184
|
+
},
|
|
2185
|
+
"Label#6397:0": {
|
|
2186
|
+
"type": "TEXT"
|
|
2187
|
+
},
|
|
2188
|
+
"Size": {
|
|
2189
|
+
"type": "VARIANT",
|
|
2190
|
+
"variantOptions": [
|
|
2191
|
+
"XSmall",
|
|
2192
|
+
"Small"
|
|
2193
|
+
]
|
|
2194
|
+
},
|
|
2195
|
+
"State": {
|
|
2196
|
+
"type": "VARIANT",
|
|
2197
|
+
"variantOptions": [
|
|
2198
|
+
"Enabled",
|
|
2199
|
+
"Pressed",
|
|
2200
|
+
"Loading",
|
|
2201
|
+
"Selected",
|
|
2202
|
+
"Selected-Pressed",
|
|
2203
|
+
"Selected-Loading",
|
|
2204
|
+
"Disabled",
|
|
2205
|
+
"Disabled-Selected"
|
|
2206
|
+
]
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
};
|
|
1061
2210
|
|
|
1062
2211
|
const metadata$a = {
|
|
1063
|
-
"
|
|
2212
|
+
"name": "🟢 Segmented Control",
|
|
2213
|
+
"key": "3ad7133ba52755867f42f9232375f75639e00d58",
|
|
2214
|
+
"componentPropertyDefinitions": {
|
|
2215
|
+
"Item Count": {
|
|
2216
|
+
"type": "VARIANT",
|
|
2217
|
+
"variantOptions": [
|
|
2218
|
+
"2",
|
|
2219
|
+
"3",
|
|
2220
|
+
"4"
|
|
2221
|
+
]
|
|
2222
|
+
},
|
|
2223
|
+
"Selected Item": {
|
|
2224
|
+
"type": "VARIANT",
|
|
2225
|
+
"variantOptions": [
|
|
2226
|
+
"1",
|
|
2227
|
+
"2",
|
|
2228
|
+
"3",
|
|
2229
|
+
"4"
|
|
2230
|
+
]
|
|
2231
|
+
}
|
|
2232
|
+
}
|
|
2233
|
+
};
|
|
1064
2234
|
|
|
1065
2235
|
const metadata$9 = {
|
|
1066
|
-
"
|
|
2236
|
+
"name": "🟢 Select Box",
|
|
2237
|
+
"key": "38722ffeb4c966256a709155e8ddac50c93d7c60",
|
|
2238
|
+
"componentPropertyDefinitions": {
|
|
2239
|
+
"Label#3635:0": {
|
|
2240
|
+
"type": "TEXT"
|
|
2241
|
+
},
|
|
2242
|
+
"Description #3033:5": {
|
|
2243
|
+
"type": "TEXT"
|
|
2244
|
+
},
|
|
2245
|
+
"Show Description#3033:0": {
|
|
2246
|
+
"type": "BOOLEAN"
|
|
2247
|
+
},
|
|
2248
|
+
"Control": {
|
|
2249
|
+
"type": "VARIANT",
|
|
2250
|
+
"variantOptions": [
|
|
2251
|
+
"Checkbox",
|
|
2252
|
+
"Radio"
|
|
2253
|
+
]
|
|
2254
|
+
},
|
|
2255
|
+
"State": {
|
|
2256
|
+
"type": "VARIANT",
|
|
2257
|
+
"variantOptions": [
|
|
2258
|
+
"Enabled",
|
|
2259
|
+
"Pressed",
|
|
2260
|
+
"Selected",
|
|
2261
|
+
"Selected-Pressed"
|
|
2262
|
+
]
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
};
|
|
1067
2266
|
|
|
1068
2267
|
const metadata$8 = {
|
|
1069
|
-
"
|
|
2268
|
+
"name": "🟢 Skeleton",
|
|
2269
|
+
"key": "ef22c3288722fbfa64a5ab73df397ade88f8e05a",
|
|
2270
|
+
"componentPropertyDefinitions": {
|
|
2271
|
+
"Radius": {
|
|
2272
|
+
"type": "VARIANT",
|
|
2273
|
+
"variantOptions": [
|
|
2274
|
+
"0",
|
|
2275
|
+
"8",
|
|
2276
|
+
"16",
|
|
2277
|
+
"Full"
|
|
2278
|
+
]
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
};
|
|
1070
2282
|
|
|
1071
2283
|
const metadata$7 = {
|
|
1072
|
-
"
|
|
2284
|
+
"name": "🟢 Slider",
|
|
2285
|
+
"key": "aee027230a478315e380704c4523141e67e464ee",
|
|
2286
|
+
"componentPropertyDefinitions": {
|
|
2287
|
+
"Steps": {
|
|
2288
|
+
"type": "VARIANT",
|
|
2289
|
+
"variantOptions": [
|
|
2290
|
+
"0",
|
|
2291
|
+
"1",
|
|
2292
|
+
"2",
|
|
2293
|
+
"3",
|
|
2294
|
+
"4"
|
|
2295
|
+
]
|
|
2296
|
+
},
|
|
2297
|
+
"State": {
|
|
2298
|
+
"type": "VARIANT",
|
|
2299
|
+
"variantOptions": [
|
|
2300
|
+
"Enabled",
|
|
2301
|
+
"Disabled"
|
|
2302
|
+
]
|
|
2303
|
+
},
|
|
2304
|
+
"Marker": {
|
|
2305
|
+
"type": "VARIANT",
|
|
2306
|
+
"variantOptions": [
|
|
2307
|
+
"None",
|
|
2308
|
+
"Min Max",
|
|
2309
|
+
"All"
|
|
2310
|
+
]
|
|
2311
|
+
}
|
|
2312
|
+
}
|
|
2313
|
+
};
|
|
1073
2314
|
|
|
1074
2315
|
const metadata$6 = {
|
|
1075
|
-
"
|
|
2316
|
+
"name": "🟢 Snackbar",
|
|
2317
|
+
"key": "81b17fb8c7d731a19cf8d36a8605559d41414eca",
|
|
2318
|
+
"componentPropertyDefinitions": {
|
|
2319
|
+
"Action Button Label#1528:8": {
|
|
2320
|
+
"type": "TEXT"
|
|
2321
|
+
},
|
|
2322
|
+
"Message#1528:4": {
|
|
2323
|
+
"type": "TEXT"
|
|
2324
|
+
},
|
|
2325
|
+
"Show Action Button#1528:0": {
|
|
2326
|
+
"type": "BOOLEAN"
|
|
2327
|
+
},
|
|
2328
|
+
"Variant": {
|
|
2329
|
+
"type": "VARIANT",
|
|
2330
|
+
"variantOptions": [
|
|
2331
|
+
"Default",
|
|
2332
|
+
"Positive",
|
|
2333
|
+
"Critical"
|
|
2334
|
+
]
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
};
|
|
1076
2338
|
|
|
1077
2339
|
const metadata$5 = {
|
|
1078
|
-
"
|
|
2340
|
+
"name": "🟢 Standard Navigation",
|
|
2341
|
+
"key": "c07bfe331cf214375fce9ad47cb6fdb459d1fb1b",
|
|
2342
|
+
"componentPropertyDefinitions": {
|
|
2343
|
+
"Title#28176:5": {
|
|
2344
|
+
"type": "BOOLEAN"
|
|
2345
|
+
},
|
|
2346
|
+
"Variant": {
|
|
2347
|
+
"type": "VARIANT",
|
|
2348
|
+
"variantOptions": [
|
|
2349
|
+
"Layer Default",
|
|
2350
|
+
"Transparent"
|
|
2351
|
+
]
|
|
2352
|
+
},
|
|
2353
|
+
"OS": {
|
|
2354
|
+
"type": "VARIANT",
|
|
2355
|
+
"variantOptions": [
|
|
2356
|
+
"iOS",
|
|
2357
|
+
"Android"
|
|
2358
|
+
]
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
};
|
|
1079
2362
|
|
|
1080
2363
|
const metadata$4 = {
|
|
1081
|
-
"
|
|
2364
|
+
"name": "🟢 Switch",
|
|
2365
|
+
"key": "80ce5a33b5ab713ab3bd2449472e2fb13d78c7f3",
|
|
2366
|
+
"componentPropertyDefinitions": {
|
|
2367
|
+
"Label#15191:2": {
|
|
2368
|
+
"type": "TEXT"
|
|
2369
|
+
},
|
|
2370
|
+
"Size": {
|
|
2371
|
+
"type": "VARIANT",
|
|
2372
|
+
"variantOptions": [
|
|
2373
|
+
"Small",
|
|
2374
|
+
"Medium"
|
|
2375
|
+
]
|
|
2376
|
+
},
|
|
2377
|
+
"State": {
|
|
2378
|
+
"type": "VARIANT",
|
|
2379
|
+
"variantOptions": [
|
|
2380
|
+
"Enabled",
|
|
2381
|
+
"Selected",
|
|
2382
|
+
"Disabled",
|
|
2383
|
+
"Disabled-Selected"
|
|
2384
|
+
]
|
|
2385
|
+
}
|
|
2386
|
+
}
|
|
2387
|
+
};
|
|
1082
2388
|
|
|
1083
2389
|
const metadata$3 = {
|
|
1084
|
-
"
|
|
2390
|
+
"name": "🟢 Tablist",
|
|
2391
|
+
"key": "ffe33411fb8796f7a95d3637b90150007f0dd954",
|
|
2392
|
+
"componentPropertyDefinitions": {
|
|
2393
|
+
"Size": {
|
|
2394
|
+
"type": "VARIANT",
|
|
2395
|
+
"variantOptions": [
|
|
2396
|
+
"Small",
|
|
2397
|
+
"Medium"
|
|
2398
|
+
]
|
|
2399
|
+
},
|
|
2400
|
+
"Layout": {
|
|
2401
|
+
"type": "VARIANT",
|
|
2402
|
+
"variantOptions": [
|
|
2403
|
+
"Hug",
|
|
2404
|
+
"Fill"
|
|
2405
|
+
]
|
|
2406
|
+
},
|
|
2407
|
+
"Tab Count": {
|
|
2408
|
+
"type": "VARIANT",
|
|
2409
|
+
"variantOptions": [
|
|
2410
|
+
"2",
|
|
2411
|
+
"3",
|
|
2412
|
+
"4",
|
|
2413
|
+
"5+"
|
|
2414
|
+
]
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
};
|
|
1085
2418
|
|
|
1086
2419
|
const metadata$2 = {
|
|
1087
|
-
"
|
|
2420
|
+
"name": "🟢 Text Button",
|
|
2421
|
+
"key": "601f788792916250e33d04bd3165dee1404342df",
|
|
2422
|
+
"componentPropertyDefinitions": {
|
|
2423
|
+
"Prefix Icon#7561:0": {
|
|
2424
|
+
"type": "INSTANCE_SWAP",
|
|
2425
|
+
"preferredValues": []
|
|
2426
|
+
},
|
|
2427
|
+
"Label#6148:0": {
|
|
2428
|
+
"type": "TEXT"
|
|
2429
|
+
},
|
|
2430
|
+
"Size": {
|
|
2431
|
+
"type": "VARIANT",
|
|
2432
|
+
"variantOptions": [
|
|
2433
|
+
"Small",
|
|
2434
|
+
"Medium",
|
|
2435
|
+
"Large"
|
|
2436
|
+
]
|
|
2437
|
+
},
|
|
2438
|
+
"Layout": {
|
|
2439
|
+
"type": "VARIANT",
|
|
2440
|
+
"variantOptions": [
|
|
2441
|
+
"Icon First",
|
|
2442
|
+
"Icon Last"
|
|
2443
|
+
]
|
|
2444
|
+
},
|
|
2445
|
+
"Tone": {
|
|
2446
|
+
"type": "VARIANT",
|
|
2447
|
+
"variantOptions": [
|
|
2448
|
+
"Neutral",
|
|
2449
|
+
"Neutral Subtle",
|
|
2450
|
+
"Brand",
|
|
2451
|
+
"Critical"
|
|
2452
|
+
]
|
|
2453
|
+
},
|
|
2454
|
+
"State": {
|
|
2455
|
+
"type": "VARIANT",
|
|
2456
|
+
"variantOptions": [
|
|
2457
|
+
"Enabled",
|
|
2458
|
+
"Pressed",
|
|
2459
|
+
"Disabled"
|
|
2460
|
+
]
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
};
|
|
1088
2464
|
|
|
1089
2465
|
const metadata$1 = {
|
|
1090
|
-
"
|
|
2466
|
+
"name": "🟢 Text Field",
|
|
2467
|
+
"key": "c49873c37a639f0dffdea4efd0eb43760d66c141",
|
|
2468
|
+
"componentPropertyDefinitions": {
|
|
2469
|
+
"Suffix Text#15327:138": {
|
|
2470
|
+
"type": "TEXT"
|
|
2471
|
+
},
|
|
2472
|
+
"Indicator#15327:249": {
|
|
2473
|
+
"type": "TEXT"
|
|
2474
|
+
},
|
|
2475
|
+
"Label#14964:0": {
|
|
2476
|
+
"type": "TEXT"
|
|
2477
|
+
},
|
|
2478
|
+
"Character Count#15327:64": {
|
|
2479
|
+
"type": "TEXT"
|
|
2480
|
+
},
|
|
2481
|
+
"Description#12626:5": {
|
|
2482
|
+
"type": "TEXT"
|
|
2483
|
+
},
|
|
2484
|
+
"Filled Text#1304:0": {
|
|
2485
|
+
"type": "TEXT"
|
|
2486
|
+
},
|
|
2487
|
+
"Show Suffix Icon#1267:75": {
|
|
2488
|
+
"type": "BOOLEAN"
|
|
2489
|
+
},
|
|
2490
|
+
"Show Prefix Icon#1267:50": {
|
|
2491
|
+
"type": "BOOLEAN"
|
|
2492
|
+
},
|
|
2493
|
+
"Prefix Icon#1267:25": {
|
|
2494
|
+
"type": "INSTANCE_SWAP",
|
|
2495
|
+
"preferredValues": []
|
|
2496
|
+
},
|
|
2497
|
+
"Show Prefix#958:125": {
|
|
2498
|
+
"type": "BOOLEAN"
|
|
2499
|
+
},
|
|
2500
|
+
"Show Suffix#958:100": {
|
|
2501
|
+
"type": "BOOLEAN"
|
|
2502
|
+
},
|
|
2503
|
+
"Show Character Count#958:75": {
|
|
2504
|
+
"type": "BOOLEAN"
|
|
2505
|
+
},
|
|
2506
|
+
"Show Footer#958:25": {
|
|
2507
|
+
"type": "BOOLEAN"
|
|
2508
|
+
},
|
|
2509
|
+
"Max Character Count#15327:27": {
|
|
2510
|
+
"type": "TEXT"
|
|
2511
|
+
},
|
|
2512
|
+
"Show Prefix Text#1267:0": {
|
|
2513
|
+
"type": "BOOLEAN"
|
|
2514
|
+
},
|
|
2515
|
+
"Show Suffix Text#1267:125": {
|
|
2516
|
+
"type": "BOOLEAN"
|
|
2517
|
+
},
|
|
2518
|
+
"Suffix Icon #1267:100": {
|
|
2519
|
+
"type": "INSTANCE_SWAP",
|
|
2520
|
+
"preferredValues": []
|
|
2521
|
+
},
|
|
2522
|
+
"Show Description#958:50": {
|
|
2523
|
+
"type": "BOOLEAN"
|
|
2524
|
+
},
|
|
2525
|
+
"Prefix Text#15327:101": {
|
|
2526
|
+
"type": "TEXT"
|
|
2527
|
+
},
|
|
2528
|
+
"Show Indicator#1259:0": {
|
|
2529
|
+
"type": "BOOLEAN"
|
|
2530
|
+
},
|
|
2531
|
+
"Placeholder#958:0": {
|
|
2532
|
+
"type": "TEXT"
|
|
2533
|
+
},
|
|
2534
|
+
"Show Header#870:0": {
|
|
2535
|
+
"type": "BOOLEAN"
|
|
2536
|
+
},
|
|
2537
|
+
"Size": {
|
|
2538
|
+
"type": "VARIANT",
|
|
2539
|
+
"variantOptions": [
|
|
2540
|
+
"Medium",
|
|
2541
|
+
"Large",
|
|
2542
|
+
"XLarge"
|
|
2543
|
+
]
|
|
2544
|
+
},
|
|
2545
|
+
"State": {
|
|
2546
|
+
"type": "VARIANT",
|
|
2547
|
+
"variantOptions": [
|
|
2548
|
+
"Enabled",
|
|
2549
|
+
"Focused",
|
|
2550
|
+
"Invalid",
|
|
2551
|
+
"Invalid-Focused",
|
|
2552
|
+
"Disabled",
|
|
2553
|
+
"Read Only"
|
|
2554
|
+
]
|
|
2555
|
+
},
|
|
2556
|
+
"Filled": {
|
|
2557
|
+
"type": "VARIANT",
|
|
2558
|
+
"variantOptions": [
|
|
2559
|
+
"True",
|
|
2560
|
+
"False"
|
|
2561
|
+
]
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
};
|
|
1091
2565
|
|
|
1092
2566
|
const metadata = {
|
|
1093
|
-
"
|
|
2567
|
+
"name": "🟢 Toggle Button",
|
|
2568
|
+
"key": "1d240ee5fd7a56879713e69cbea1b6f006f0ea22",
|
|
2569
|
+
"componentPropertyDefinitions": {
|
|
2570
|
+
"Suffix Icon#6122:343": {
|
|
2571
|
+
"type": "INSTANCE_SWAP",
|
|
2572
|
+
"preferredValues": []
|
|
2573
|
+
},
|
|
2574
|
+
"Show Prefix Icon#6122:392": {
|
|
2575
|
+
"type": "BOOLEAN"
|
|
2576
|
+
},
|
|
2577
|
+
"Show Suffix Icon#6122:147": {
|
|
2578
|
+
"type": "BOOLEAN"
|
|
2579
|
+
},
|
|
2580
|
+
"Prefix Icon#6122:98": {
|
|
2581
|
+
"type": "INSTANCE_SWAP",
|
|
2582
|
+
"preferredValues": []
|
|
2583
|
+
},
|
|
2584
|
+
"Label#6122:49": {
|
|
2585
|
+
"type": "TEXT"
|
|
2586
|
+
},
|
|
2587
|
+
"Size": {
|
|
2588
|
+
"type": "VARIANT",
|
|
2589
|
+
"variantOptions": [
|
|
2590
|
+
"Small",
|
|
2591
|
+
"XSmall"
|
|
2592
|
+
]
|
|
2593
|
+
},
|
|
2594
|
+
"Variant": {
|
|
2595
|
+
"type": "VARIANT",
|
|
2596
|
+
"variantOptions": [
|
|
2597
|
+
"Neutral Weak",
|
|
2598
|
+
"Brand Solid"
|
|
2599
|
+
]
|
|
2600
|
+
},
|
|
2601
|
+
"State": {
|
|
2602
|
+
"type": "VARIANT",
|
|
2603
|
+
"variantOptions": [
|
|
2604
|
+
"Enabled",
|
|
2605
|
+
"Pressed",
|
|
2606
|
+
"Loading",
|
|
2607
|
+
"Selected",
|
|
2608
|
+
"Selected-Pressed",
|
|
2609
|
+
"Selected-Loading",
|
|
2610
|
+
"Disabled",
|
|
2611
|
+
"Disabled-Selected"
|
|
2612
|
+
]
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
};
|
|
2616
|
+
|
|
2617
|
+
var FIGMA_COMPONENTS = {
|
|
2618
|
+
__proto__: null,
|
|
2619
|
+
actionButton: metadata$F,
|
|
2620
|
+
actionChip: metadata$E,
|
|
2621
|
+
actionSheet: metadata$D,
|
|
2622
|
+
avatar: metadata$C,
|
|
2623
|
+
avatarStack: metadata$B,
|
|
2624
|
+
badge: metadata$A,
|
|
2625
|
+
bottomNavigationGlobal: metadata$z,
|
|
2626
|
+
bottomNavigationKr: metadata$y,
|
|
2627
|
+
bottomSheet: metadata$x,
|
|
2628
|
+
callout: metadata$w,
|
|
2629
|
+
checkbox: metadata$v,
|
|
2630
|
+
chipTablist: metadata$u,
|
|
2631
|
+
controlChip: metadata$t,
|
|
2632
|
+
divider: metadata$s,
|
|
2633
|
+
errorState: metadata$r,
|
|
2634
|
+
extendedActionSheet: metadata$q,
|
|
2635
|
+
extendedFloatingActionButton: metadata$p,
|
|
2636
|
+
floatingActionButton: metadata$o,
|
|
2637
|
+
helpBubble: metadata$n,
|
|
2638
|
+
identityPlaceholder: metadata$m,
|
|
2639
|
+
inlineBanner: metadata$l,
|
|
2640
|
+
mainTabNavigationGlobal: metadata$k,
|
|
2641
|
+
mainTabNavigationKr: metadata$j,
|
|
2642
|
+
mannerTemp: metadata$i,
|
|
2643
|
+
mannerTempBadge: metadata$g,
|
|
2644
|
+
mannerTempBar: metadata$h,
|
|
2645
|
+
multilineTextField: metadata$f,
|
|
2646
|
+
progressCircle: metadata$e,
|
|
2647
|
+
radio: metadata$d,
|
|
2648
|
+
rangeSlider: metadata$c,
|
|
2649
|
+
reactionButton: metadata$b,
|
|
2650
|
+
segmentedControl: metadata$a,
|
|
2651
|
+
selectBox: metadata$9,
|
|
2652
|
+
skeleton: metadata$8,
|
|
2653
|
+
slider: metadata$7,
|
|
2654
|
+
snackbar: metadata$6,
|
|
2655
|
+
standardNavigation: metadata$5,
|
|
2656
|
+
switch: metadata$4,
|
|
2657
|
+
tablist: metadata$3,
|
|
2658
|
+
templateBottomFixedBar: metadata$K,
|
|
2659
|
+
templateButtonGroup: metadata$J,
|
|
2660
|
+
templateChipGroup: metadata$I,
|
|
2661
|
+
templateSelectBoxGroup: metadata$H,
|
|
2662
|
+
templateTopNavigation: metadata$G,
|
|
2663
|
+
textButton: metadata$2,
|
|
2664
|
+
textField: metadata$1,
|
|
2665
|
+
toggleButton: metadata
|
|
2666
|
+
};
|
|
1094
2667
|
|
|
1095
2668
|
// TODO: move this file to relevant directory
|
|
1096
2669
|
function handleSizeProp(size) {
|
|
@@ -1111,7 +2684,7 @@ function handleSizeProp(size) {
|
|
|
1111
2684
|
}
|
|
1112
2685
|
|
|
1113
2686
|
const { createLocalSnippetElement: createLocalSnippetElement$n } = createLocalSnippetHelper("action-button");
|
|
1114
|
-
const createActionButtonHandler = (ctx)=>defineComponentHandler(metadata$
|
|
2687
|
+
const createActionButtonHandler = (ctx)=>defineComponentHandler(metadata$F.key, ({ componentProperties: props })=>{
|
|
1115
2688
|
const states = props.State.value.split("-");
|
|
1116
2689
|
const { layout, children } = match(props.Layout.value).with("Icon Only", ()=>({
|
|
1117
2690
|
layout: "iconOnly",
|
|
@@ -1154,7 +2727,7 @@ const createActionButtonHandler = (ctx)=>defineComponentHandler(metadata$u.key,
|
|
|
1154
2727
|
return createLocalSnippetElement$n("ActionButton", commonProps, children);
|
|
1155
2728
|
});
|
|
1156
2729
|
|
|
1157
|
-
const createActionChipHandler = (ctx)=>defineComponentHandler(metadata$
|
|
2730
|
+
const createActionChipHandler = (ctx)=>defineComponentHandler(metadata$E.key, ({ componentProperties: props })=>{
|
|
1158
2731
|
const states = props.State.value.split("-");
|
|
1159
2732
|
const { layout, children } = match(props.Layout.value).with("Icon Only", ()=>({
|
|
1160
2733
|
layout: "iconOnly",
|
|
@@ -1222,7 +2795,7 @@ const createActionSheetItemHandler = (_ctx)=>defineComponentHandler(ACTION_SHEET
|
|
|
1222
2795
|
});
|
|
1223
2796
|
const createActionSheetHandler = (ctx)=>{
|
|
1224
2797
|
const actionSheetItemHandler = createActionSheetItemHandler();
|
|
1225
|
-
return defineComponentHandler(metadata$
|
|
2798
|
+
return defineComponentHandler(metadata$D.key, (node)=>{
|
|
1226
2799
|
const { componentProperties: props } = node;
|
|
1227
2800
|
const contentProps = match(props.Header.value).with("None", ()=>({
|
|
1228
2801
|
title: undefined,
|
|
@@ -1379,7 +2952,7 @@ const createAppBarHandler = (ctx)=>{
|
|
|
1379
2952
|
});
|
|
1380
2953
|
};
|
|
1381
2954
|
|
|
1382
|
-
const createIdentityPlaceholderHandler = (_ctx)=>defineComponentHandler(metadata$
|
|
2955
|
+
const createIdentityPlaceholderHandler = (_ctx)=>defineComponentHandler(metadata$m.key, ({ componentProperties: props })=>{
|
|
1383
2956
|
const commonProps = {
|
|
1384
2957
|
identity: camelCase(props.Identity.value)
|
|
1385
2958
|
};
|
|
@@ -1389,7 +2962,7 @@ const createIdentityPlaceholderHandler = (_ctx)=>defineComponentHandler(metadata
|
|
|
1389
2962
|
const { createLocalSnippetElement: createLocalSnippetElement$k } = createLocalSnippetHelper("avatar");
|
|
1390
2963
|
const createAvatarHandler = (ctx)=>{
|
|
1391
2964
|
const identityPlaceholderHandler = createIdentityPlaceholderHandler();
|
|
1392
|
-
return defineComponentHandler(metadata$
|
|
2965
|
+
return defineComponentHandler(metadata$C.key, (node)=>{
|
|
1393
2966
|
const [placeholder] = findAllInstances({
|
|
1394
2967
|
node,
|
|
1395
2968
|
key: identityPlaceholderHandler.key
|
|
@@ -1415,7 +2988,7 @@ const createAvatarHandler = (ctx)=>{
|
|
|
1415
2988
|
const { createLocalSnippetElement: createLocalSnippetElement$j } = createLocalSnippetHelper("avatar");
|
|
1416
2989
|
const createAvatarStackHandler = (ctx)=>{
|
|
1417
2990
|
const avatarHandler = createAvatarHandler();
|
|
1418
|
-
return defineComponentHandler(metadata$
|
|
2991
|
+
return defineComponentHandler(metadata$B.key, (node)=>{
|
|
1419
2992
|
const avatarNodes = findAllInstances({
|
|
1420
2993
|
node,
|
|
1421
2994
|
key: avatarHandler.key
|
|
@@ -1429,7 +3002,7 @@ const createAvatarStackHandler = (ctx)=>{
|
|
|
1429
3002
|
});
|
|
1430
3003
|
};
|
|
1431
3004
|
|
|
1432
|
-
const createBadgeHandler = (_ctx)=>defineComponentHandler(metadata$
|
|
3005
|
+
const createBadgeHandler = (_ctx)=>defineComponentHandler(metadata$A.key, ({ componentProperties: props })=>{
|
|
1433
3006
|
const commonProps = {
|
|
1434
3007
|
size: handleSizeProp(props.Size.value),
|
|
1435
3008
|
tone: camelCase(props.Tone.value),
|
|
@@ -1440,7 +3013,7 @@ const createBadgeHandler = (_ctx)=>defineComponentHandler(metadata$p.key, ({ com
|
|
|
1440
3013
|
});
|
|
1441
3014
|
|
|
1442
3015
|
const { createLocalSnippetElement: createLocalSnippetElement$i } = createLocalSnippetHelper("callout");
|
|
1443
|
-
const createCalloutHandler = (ctx)=>defineComponentHandler(metadata$
|
|
3016
|
+
const createCalloutHandler = (ctx)=>defineComponentHandler(metadata$w.key, ({ componentProperties: props, children })=>{
|
|
1444
3017
|
const tag = (()=>{
|
|
1445
3018
|
switch(props.Interaction.value){
|
|
1446
3019
|
case "Default":
|
|
@@ -1509,7 +3082,7 @@ const createCalloutHandler = (ctx)=>defineComponentHandler(metadata$o.key, ({ co
|
|
|
1509
3082
|
});
|
|
1510
3083
|
|
|
1511
3084
|
const { createLocalSnippetElement: createLocalSnippetElement$h } = createLocalSnippetHelper("checkbox");
|
|
1512
|
-
const createCheckboxHandler = (_ctx)=>defineComponentHandler(metadata$
|
|
3085
|
+
const createCheckboxHandler = (_ctx)=>defineComponentHandler(metadata$v.key, ({ componentProperties: props })=>{
|
|
1513
3086
|
const states = props.State.value.split("-");
|
|
1514
3087
|
const commonProps = {
|
|
1515
3088
|
label: props["Label#49990:0"].value,
|
|
@@ -1544,7 +3117,7 @@ const createChipTabsItemHandler = (_ctx)=>defineComponentHandler(CHIP_TABS_ITEM_
|
|
|
1544
3117
|
});
|
|
1545
3118
|
const createChipTabsHandler = (ctx)=>{
|
|
1546
3119
|
const chipTabsItemHandler = createChipTabsItemHandler();
|
|
1547
|
-
return defineComponentHandler(metadata$
|
|
3120
|
+
return defineComponentHandler(metadata$u.key, (node)=>{
|
|
1548
3121
|
const chipTabsItems = findAllInstances({
|
|
1549
3122
|
node,
|
|
1550
3123
|
key: chipTabsItemHandler.key
|
|
@@ -1562,7 +3135,7 @@ const createChipTabsHandler = (ctx)=>{
|
|
|
1562
3135
|
};
|
|
1563
3136
|
|
|
1564
3137
|
const { createLocalSnippetElement: createLocalSnippetElement$f } = createLocalSnippetHelper("control-chip");
|
|
1565
|
-
const createControlChipHandler = (ctx)=>defineComponentHandler(metadata$
|
|
3138
|
+
const createControlChipHandler = (ctx)=>defineComponentHandler(metadata$t.key, ({ componentProperties: props })=>{
|
|
1566
3139
|
const states = props.State.value.split("-");
|
|
1567
3140
|
const count = props["Show Count#7185:42"].value ? props["Count#7185:21"].value : undefined;
|
|
1568
3141
|
const { layout, children } = match(props.Layout.value).with("Icon Only", ()=>({
|
|
@@ -1625,7 +3198,7 @@ const createControlChipHandler = (ctx)=>defineComponentHandler(metadata$l.key, (
|
|
|
1625
3198
|
const { createLocalSnippetElement: createLocalSnippetElement$e } = createLocalSnippetHelper("error-state");
|
|
1626
3199
|
const createErrorStateHandler = (ctx)=>{
|
|
1627
3200
|
const actionButtonHandler = createActionButtonHandler(ctx);
|
|
1628
|
-
return defineComponentHandler(metadata$
|
|
3201
|
+
return defineComponentHandler(metadata$r.key, (node)=>{
|
|
1629
3202
|
const props = node.componentProperties;
|
|
1630
3203
|
const [actionButtonNode] = findAllInstances({
|
|
1631
3204
|
node,
|
|
@@ -1681,7 +3254,7 @@ const createExtendedActionSheetGroupHandler = (ctx)=>{
|
|
|
1681
3254
|
};
|
|
1682
3255
|
const createExtendedActionSheetHandler = (ctx)=>{
|
|
1683
3256
|
const extendedActionSheetGroupHandler = createExtendedActionSheetGroupHandler(ctx);
|
|
1684
|
-
return defineComponentHandler(metadata$
|
|
3257
|
+
return defineComponentHandler(metadata$q.key, (node)=>{
|
|
1685
3258
|
const { componentProperties: props } = node;
|
|
1686
3259
|
const groups = findAllInstances({
|
|
1687
3260
|
node,
|
|
@@ -1706,7 +3279,7 @@ const createExtendedActionSheetHandler = (ctx)=>{
|
|
|
1706
3279
|
});
|
|
1707
3280
|
};
|
|
1708
3281
|
|
|
1709
|
-
const createExtendedFabHandler = (ctx)=>defineComponentHandler(metadata$
|
|
3282
|
+
const createExtendedFabHandler = (ctx)=>defineComponentHandler(metadata$p.key, ({ componentProperties: props })=>{
|
|
1710
3283
|
const commonProps = {
|
|
1711
3284
|
size: handleSizeProp(props.Size.value),
|
|
1712
3285
|
variant: camelCase(props.Variant.value)
|
|
@@ -1719,7 +3292,7 @@ const createExtendedFabHandler = (ctx)=>defineComponentHandler(metadata$i.key, (
|
|
|
1719
3292
|
]);
|
|
1720
3293
|
});
|
|
1721
3294
|
|
|
1722
|
-
const createFabHandler = (ctx)=>defineComponentHandler(metadata$
|
|
3295
|
+
const createFabHandler = (ctx)=>defineComponentHandler(metadata$o.key, ({ componentProperties: props })=>{
|
|
1723
3296
|
return createSeedReactElement("Fab", undefined, createSeedReactElement("Icon", {
|
|
1724
3297
|
svg: ctx.iconHandler.transform(props["Icon#28796:0"])
|
|
1725
3298
|
}), {
|
|
@@ -1728,7 +3301,7 @@ const createFabHandler = (ctx)=>defineComponentHandler(metadata$h.key, ({ compon
|
|
|
1728
3301
|
});
|
|
1729
3302
|
|
|
1730
3303
|
const { createLocalSnippetElement: createLocalSnippetElement$c } = createLocalSnippetHelper("help-bubble");
|
|
1731
|
-
const createHelpBubbleHandler = (_ctx)=>defineComponentHandler(metadata$
|
|
3304
|
+
const createHelpBubbleHandler = (_ctx)=>defineComponentHandler(metadata$n.key, ({ componentProperties: props })=>{
|
|
1732
3305
|
const placement = (()=>{
|
|
1733
3306
|
switch(props.Placement.value){
|
|
1734
3307
|
case "Bottom-Left":
|
|
@@ -1772,7 +3345,7 @@ const createHelpBubbleHandler = (_ctx)=>defineComponentHandler(metadata$g.key, (
|
|
|
1772
3345
|
});
|
|
1773
3346
|
|
|
1774
3347
|
const { createLocalSnippetElement: createLocalSnippetElement$b } = createLocalSnippetHelper("inline-banner");
|
|
1775
|
-
const createInlineBannerHandler = (ctx)=>defineComponentHandler(metadata$
|
|
3348
|
+
const createInlineBannerHandler = (ctx)=>defineComponentHandler(metadata$l.key, (node)=>{
|
|
1776
3349
|
const { componentProperties: props } = node;
|
|
1777
3350
|
const tag = (()=>{
|
|
1778
3351
|
switch(props.Interaction.value){
|
|
@@ -1828,7 +3401,7 @@ const createInlineBannerHandler = (ctx)=>defineComponentHandler(metadata$e.key,
|
|
|
1828
3401
|
});
|
|
1829
3402
|
|
|
1830
3403
|
const { createLocalSnippetElement: createLocalSnippetElement$a } = createLocalSnippetHelper("manner-temp-badge");
|
|
1831
|
-
const createMannerTempBadgeHandler = (_ctx)=>defineComponentHandler(metadata$
|
|
3404
|
+
const createMannerTempBadgeHandler = (_ctx)=>defineComponentHandler(metadata$g.key, ({ children })=>{
|
|
1832
3405
|
const textNode = children.find((child)=>child.type === "TEXT");
|
|
1833
3406
|
const commonProps = {
|
|
1834
3407
|
temperature: Number(textNode?.characters.replace(/[^\d.-]/g, "") ?? "-1")
|
|
@@ -1837,7 +3410,7 @@ const createMannerTempBadgeHandler = (_ctx)=>defineComponentHandler(metadata$d.k
|
|
|
1837
3410
|
});
|
|
1838
3411
|
|
|
1839
3412
|
const { createLocalSnippetElement: createLocalSnippetElement$9 } = createLocalSnippetHelper("multiline-text-field");
|
|
1840
|
-
const createMultilineTextFieldHandler = (_ctx)=>defineComponentHandler(metadata$
|
|
3413
|
+
const createMultilineTextFieldHandler = (_ctx)=>defineComponentHandler(metadata$f.key, ({ componentProperties: props })=>{
|
|
1841
3414
|
const { Size: { value: size }, State: { value: state }, Filled: { value: filled }, "Show Header#870:0": { value: showHeader }, "Label#15327:323": { value: label }, "Show Indicator#1259:0": { value: showIndicator }, "Indicator#15327:286": { value: indicator }, "Placeholder#958:0": { value: placeholder }, "Filled Text#1304:0": { value: defaultValue }, "Show Footer#958:25": { value: showFooter }, "Show Description#958:50": { value: showDescription }, "Description#15327:212": { value: description }, "Show Character count#958:75": { value: showCharacterCount }, "Character Count#15327:360": { value: _characterCount }, "Max Character Count#15327:175": { value: maxCharacterCount } } = props;
|
|
1842
3415
|
const states = state.split("-");
|
|
1843
3416
|
const commonProps = {
|
|
@@ -1883,7 +3456,7 @@ const createMultilineTextFieldHandler = (_ctx)=>defineComponentHandler(metadata$
|
|
|
1883
3456
|
});
|
|
1884
3457
|
|
|
1885
3458
|
const { createLocalSnippetElement: createLocalSnippetElement$8 } = createLocalSnippetHelper("progress-circle");
|
|
1886
|
-
const createProgressCircleHandler = (_ctx)=>defineComponentHandler(metadata$
|
|
3459
|
+
const createProgressCircleHandler = (_ctx)=>defineComponentHandler(metadata$e.key, ({ componentProperties: props })=>{
|
|
1887
3460
|
const { value, minValue, maxValue } = match(props.Value.value).with("Indeterminate", ()=>({
|
|
1888
3461
|
value: undefined,
|
|
1889
3462
|
minValue: undefined,
|
|
@@ -1916,7 +3489,7 @@ const createProgressCircleHandler = (_ctx)=>defineComponentHandler(metadata$b.ke
|
|
|
1916
3489
|
});
|
|
1917
3490
|
|
|
1918
3491
|
const { createLocalSnippetElement: createLocalSnippetElement$7 } = createLocalSnippetHelper("reaction-button");
|
|
1919
|
-
const createReactionButtonHandler = (ctx)=>defineComponentHandler(metadata$
|
|
3492
|
+
const createReactionButtonHandler = (ctx)=>defineComponentHandler(metadata$b.key, ({ componentProperties: props })=>{
|
|
1920
3493
|
const states = props.State.value.split("-");
|
|
1921
3494
|
const commonProps = {
|
|
1922
3495
|
size: handleSizeProp(props.Size.value),
|
|
@@ -1953,7 +3526,7 @@ const createSegmentedControlItemHandler = (_ctx)=>defineComponentHandler(SEGMENT
|
|
|
1953
3526
|
});
|
|
1954
3527
|
const createSegmentedControlHandler = (ctx)=>{
|
|
1955
3528
|
const segmentedControlItemHandler = createSegmentedControlItemHandler();
|
|
1956
|
-
return defineComponentHandler(metadata$
|
|
3529
|
+
return defineComponentHandler(metadata$a.key, (node)=>{
|
|
1957
3530
|
const segments = findAllInstances({
|
|
1958
3531
|
node,
|
|
1959
3532
|
key: segmentedControlItemHandler.key
|
|
@@ -1972,7 +3545,7 @@ const createSegmentedControlHandler = (ctx)=>{
|
|
|
1972
3545
|
};
|
|
1973
3546
|
|
|
1974
3547
|
const { createLocalSnippetElement: createLocalSnippetElement$5 } = createLocalSnippetHelper("select-box");
|
|
1975
|
-
const createSelectBoxHandler = (_ctx)=>defineComponentHandler(metadata$
|
|
3548
|
+
const createSelectBoxHandler = (_ctx)=>defineComponentHandler(metadata$9.key, ({ componentProperties: props })=>{
|
|
1976
3549
|
const tag = match(props.Control.value).with("Checkbox", ()=>"CheckSelectBox").with("Radio", ()=>"RadioSelectBox").exhaustive();
|
|
1977
3550
|
const states = props.State.value.split("-");
|
|
1978
3551
|
const commonProps = {
|
|
@@ -1991,7 +3564,7 @@ const createSelectBoxHandler = (_ctx)=>defineComponentHandler(metadata$8.key, ({
|
|
|
1991
3564
|
});
|
|
1992
3565
|
const createSelectBoxGroupHandler = (ctx)=>{
|
|
1993
3566
|
const selectBoxHandler = createSelectBoxHandler();
|
|
1994
|
-
return defineComponentHandler(metadata$
|
|
3567
|
+
return defineComponentHandler(metadata$H.key, (node)=>{
|
|
1995
3568
|
const props = node.componentProperties;
|
|
1996
3569
|
const tag = match(props.Control.value).with("Checkbox", ()=>"CheckSelectBoxGroup").with("Radio", ()=>"RadioSelectBoxGroup").exhaustive();
|
|
1997
3570
|
const selectBoxes = findAllInstances({
|
|
@@ -2011,7 +3584,7 @@ const createSelectBoxGroupHandler = (ctx)=>{
|
|
|
2011
3584
|
});
|
|
2012
3585
|
};
|
|
2013
3586
|
|
|
2014
|
-
const createSkeletonHandler = (ctx)=>defineComponentHandler(metadata$
|
|
3587
|
+
const createSkeletonHandler = (ctx)=>defineComponentHandler(metadata$8.key, (node)=>{
|
|
2015
3588
|
const { componentProperties: props, layoutSizingHorizontal, layoutSizingVertical } = node;
|
|
2016
3589
|
const commonProps = {
|
|
2017
3590
|
radius: camelCase(props.Radius.value),
|
|
@@ -11999,6 +13572,16 @@ function createStaticVariableRepository({ variables, variableCollections }) {
|
|
|
11999
13572
|
};
|
|
12000
13573
|
}
|
|
12001
13574
|
|
|
13575
|
+
function createStaticComponentRepository(data) {
|
|
13576
|
+
const componentRecord = {};
|
|
13577
|
+
Object.values(data).forEach((component)=>{
|
|
13578
|
+
componentRecord[component.key] = component;
|
|
13579
|
+
});
|
|
13580
|
+
return {
|
|
13581
|
+
getOne: (key)=>componentRecord[key]
|
|
13582
|
+
};
|
|
13583
|
+
}
|
|
13584
|
+
|
|
12002
13585
|
function createIconService({ iconRepository }) {
|
|
12003
13586
|
function isAvailable(componentKey) {
|
|
12004
13587
|
return iconRepository.getOne(componentKey) !== undefined;
|
|
@@ -12121,6 +13704,7 @@ const variableRepository = createStaticVariableRepository({
|
|
|
12121
13704
|
variableCollections: FIGMA_VARIABLE_COLLECTIONS
|
|
12122
13705
|
});
|
|
12123
13706
|
const iconRepository = createStaticIconRepository(FIGMA_ICONS);
|
|
13707
|
+
createStaticComponentRepository(FIGMA_COMPONENTS);
|
|
12124
13708
|
|
|
12125
13709
|
const styleService = createStyleService({
|
|
12126
13710
|
styleRepository
|