@seed-design/figma 1.1.0 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/lib/codegen/index.cjs +366 -286
  2. package/lib/codegen/index.d.ts +663 -256
  3. package/lib/codegen/index.d.ts.map +1 -1
  4. package/lib/codegen/index.js +366 -286
  5. package/lib/codegen/targets/react/index.cjs +1155 -542
  6. package/lib/codegen/targets/react/index.d.ts.map +1 -1
  7. package/lib/codegen/targets/react/index.js +1155 -542
  8. package/lib/index.cjs +394 -286
  9. package/lib/index.js +394 -286
  10. package/package.json +2 -2
  11. package/src/codegen/component-properties.ts +496 -103
  12. package/src/codegen/targets/react/component/handlers/bottom-sheet.ts +2 -3
  13. package/src/codegen/targets/react/component/handlers/error-state.ts +18 -6
  14. package/src/codegen/targets/react/component/handlers/field-button.ts +197 -0
  15. package/src/codegen/targets/react/component/handlers/field.ts +167 -0
  16. package/src/codegen/targets/react/component/handlers/legacy-text-field.ts +196 -0
  17. package/src/codegen/targets/react/component/handlers/slider.ts +114 -0
  18. package/src/codegen/targets/react/component/handlers/text-field.ts +245 -92
  19. package/src/codegen/targets/react/component/index.ts +48 -23
  20. package/src/codegen/targets/react/element-factories.ts +1 -1
  21. package/src/codegen/targets/react/instance.ts +23 -2
  22. package/src/entities/data/__generated__/component-sets/index.d.ts +225 -222
  23. package/src/entities/data/__generated__/component-sets/index.mjs +225 -222
  24. package/src/entities/data/__generated__/components/index.d.ts +121 -0
  25. package/src/entities/data/__generated__/components/index.mjs +121 -0
  26. package/src/entities/data/__generated__/icons/index.mjs +28 -0
  27. package/src/entities/data/__generated__/styles/index.mjs +0 -56
  28. package/src/entities/data/__generated__/variable-collections/index.mjs +11 -8
  29. package/src/entities/data/__generated__/variables/index.mjs +130 -0
  30. package/src/codegen/targets/react/component/handlers/multiline-text-field.ts +0 -84
@@ -265,11 +265,40 @@ interface InferResult {
265
265
  type LayoutNode = NormalizedIsLayerTrait & NormalizedHasFramePropertiesTrait & NormalizedHasChildrenTrait & NormalizedHasLayoutTrait;
266
266
  declare function inferLayout(parentNode: LayoutNode): InferResult;
267
267
 
268
+ declare const templateCustomPickerField: {
269
+ "name": "templateCustomPickerField",
270
+ "key": "91d73dfc297a467d78dc91ade6ff9be9a152619e",
271
+ "componentPropertyDefinitions": {
272
+ "Show Header#40606:8": {
273
+ "type": "BOOLEAN"
274
+ },
275
+ "Show Footer#40606:9": {
276
+ "type": "BOOLEAN"
277
+ },
278
+ "State": {
279
+ "type": "VARIANT",
280
+ "variantOptions": [
281
+ "Default",
282
+ "Error",
283
+ "Disabled",
284
+ "Read Only"
285
+ ]
286
+ },
287
+ "Has Value": {
288
+ "type": "VARIANT",
289
+ "variantOptions": [
290
+ "False",
291
+ "True"
292
+ ]
293
+ }
294
+ }
295
+ };
296
+
268
297
  declare const templateErrorState: {
269
298
  "name": "templateErrorState",
270
299
  "key": "39b4ecd0b5b4d35f4dc5791765ca04aa062a5172",
271
300
  "componentPropertyDefinitions": {
272
- "Show Buttons#9080:5": {
301
+ "Show Action Button#9080:5": {
273
302
  "type": "BOOLEAN"
274
303
  },
275
304
  "Title#16237:0": {
@@ -278,9 +307,6 @@ declare const templateErrorState: {
278
307
  "Description#16237:5": {
279
308
  "type": "TEXT"
280
309
  },
281
- "Secondary Action Label#17042:0": {
282
- "type": "TEXT"
283
- },
284
310
  "Variant": {
285
311
  "type": "VARIANT",
286
312
  "variantOptions": [
@@ -323,6 +349,86 @@ declare const templateSelectBoxGroup: {
323
349
  }
324
350
  };
325
351
 
352
+ declare const templateSliderField: {
353
+ "name": "templateSliderField",
354
+ "key": "7d2b449bcfb28ebf3c509ed76a141511f7d955eb",
355
+ "componentPropertyDefinitions": {
356
+ "Show Header#40606:8": {
357
+ "type": "BOOLEAN"
358
+ },
359
+ "Show Footer#40606:9": {
360
+ "type": "BOOLEAN"
361
+ },
362
+ "State": {
363
+ "type": "VARIANT",
364
+ "variantOptions": [
365
+ "Default",
366
+ "Error",
367
+ "Disabled",
368
+ "Read Only",
369
+ "Pressed"
370
+ ]
371
+ }
372
+ }
373
+ };
374
+
375
+ declare const templateTextField: {
376
+ "name": "templateTextField",
377
+ "key": "0a83a0ff9d18d98a14536b21aa5411622f9f0c05",
378
+ "componentPropertyDefinitions": {
379
+ "Show Header#40606:8": {
380
+ "type": "BOOLEAN"
381
+ },
382
+ "Show Footer#40606:9": {
383
+ "type": "BOOLEAN"
384
+ },
385
+ "Variant": {
386
+ "type": "VARIANT",
387
+ "variantOptions": [
388
+ "Outline",
389
+ "Underline"
390
+ ]
391
+ },
392
+ "State": {
393
+ "type": "VARIANT",
394
+ "variantOptions": [
395
+ "Default",
396
+ "Focused",
397
+ "Error",
398
+ "Error Focused",
399
+ "Disabled",
400
+ "Read Only",
401
+ "AI Loading (Figma Only)"
402
+ ]
403
+ }
404
+ }
405
+ };
406
+
407
+ declare const templateTextareaField: {
408
+ "name": "templateTextareaField",
409
+ "key": "cdc688eccd78b947289e8089a620bdc494f6c809",
410
+ "componentPropertyDefinitions": {
411
+ "Show Header#40606:8": {
412
+ "type": "BOOLEAN"
413
+ },
414
+ "Show Footer#40606:9": {
415
+ "type": "BOOLEAN"
416
+ },
417
+ "State": {
418
+ "type": "VARIANT",
419
+ "variantOptions": [
420
+ "Default",
421
+ "Focused",
422
+ "Error",
423
+ "Error Focused",
424
+ "Disabled",
425
+ "Read Only",
426
+ "AI Loading (Figma Only)"
427
+ ]
428
+ }
429
+ }
430
+ };
431
+
326
432
  declare const actionButton: {
327
433
  "name": "actionButton",
328
434
  "key": "450ede9d0bf42fc6ef14345c77e6e407d6d5ee89",
@@ -551,6 +657,9 @@ declare const bottomSheet: {
551
657
  "Show Safe Area#25488:8": {
552
658
  "type": "BOOLEAN"
553
659
  },
660
+ "Show Handle#49774:6": {
661
+ "type": "BOOLEAN"
662
+ },
554
663
  "Header Layout": {
555
664
  "type": "VARIANT",
556
665
  "variantOptions": [
@@ -925,8 +1034,8 @@ declare const listHeader: {
925
1034
  "type": "VARIANT",
926
1035
  "variantOptions": [
927
1036
  "None",
928
- "Button",
929
- "Custom"
1037
+ "Custom",
1038
+ "Button"
930
1039
  ]
931
1040
  },
932
1041
  "Variant": {
@@ -1173,75 +1282,6 @@ declare const menuSheet: {
1173
1282
  }
1174
1283
  };
1175
1284
 
1176
- declare const multilineTextField: {
1177
- "name": "multilineTextField",
1178
- "key": "88b2399c930c85f9ce2972163a078bc684b84bbe",
1179
- "componentPropertyDefinitions": {
1180
- "Show Header#870:0": {
1181
- "type": "BOOLEAN"
1182
- },
1183
- "Placeholder#958:0": {
1184
- "type": "TEXT"
1185
- },
1186
- "Show Footer#958:25": {
1187
- "type": "BOOLEAN"
1188
- },
1189
- "Show Description#958:50": {
1190
- "type": "BOOLEAN"
1191
- },
1192
- "Show Character count#958:75": {
1193
- "type": "BOOLEAN"
1194
- },
1195
- "Show Indicator#1259:0": {
1196
- "type": "BOOLEAN"
1197
- },
1198
- "Filled Text#1304:0": {
1199
- "type": "TEXT"
1200
- },
1201
- "Max Character Count#15327:175": {
1202
- "type": "TEXT"
1203
- },
1204
- "Description#15327:212": {
1205
- "type": "TEXT"
1206
- },
1207
- "Indicator#15327:286": {
1208
- "type": "TEXT"
1209
- },
1210
- "Label#15327:323": {
1211
- "type": "TEXT"
1212
- },
1213
- "Character Count#15327:360": {
1214
- "type": "TEXT"
1215
- },
1216
- "Size": {
1217
- "type": "VARIANT",
1218
- "variantOptions": [
1219
- "Medium",
1220
- "Large",
1221
- "XLarge"
1222
- ]
1223
- },
1224
- "State": {
1225
- "type": "VARIANT",
1226
- "variantOptions": [
1227
- "Enabled",
1228
- "Focused",
1229
- "Invalid",
1230
- "Invalid-Focused",
1231
- "Disabled",
1232
- "Read Only"
1233
- ]
1234
- },
1235
- "Filled": {
1236
- "type": "VARIANT",
1237
- "variantOptions": [
1238
- "True",
1239
- "False"
1240
- ]
1241
- }
1242
- }
1243
- };
1244
-
1245
1285
  declare const pageBanner: {
1246
1286
  "name": "pageBanner",
1247
1287
  "key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
@@ -1526,6 +1566,37 @@ declare const skeleton: {
1526
1566
  }
1527
1567
  };
1528
1568
 
1569
+ declare const slider: {
1570
+ "name": "slider",
1571
+ "key": "c748f314f790eb804138bd105bfb0bd0584c9aa1",
1572
+ "componentPropertyDefinitions": {
1573
+ "Has Tick Mark#47921:0": {
1574
+ "type": "BOOLEAN"
1575
+ },
1576
+ "Show Active Track#48156:0": {
1577
+ "type": "BOOLEAN"
1578
+ },
1579
+ "Show Markers#49596:0": {
1580
+ "type": "BOOLEAN"
1581
+ },
1582
+ "Value": {
1583
+ "type": "VARIANT",
1584
+ "variantOptions": [
1585
+ "Single",
1586
+ "Range"
1587
+ ]
1588
+ },
1589
+ "State": {
1590
+ "type": "VARIANT",
1591
+ "variantOptions": [
1592
+ "Enabled",
1593
+ "Pressed",
1594
+ "Disabled"
1595
+ ]
1596
+ }
1597
+ }
1598
+ };
1599
+
1529
1600
  declare const snackbar: {
1530
1601
  "name": "snackbar",
1531
1602
  "key": "81b17fb8c7d731a19cf8d36a8605559d41414eca",
@@ -1671,155 +1742,55 @@ declare const tagGroup: {
1671
1742
  }
1672
1743
  };
1673
1744
 
1674
- declare const textField: {
1675
- "name": "textField",
1676
- "key": "c49873c37a639f0dffdea4efd0eb43760d66c141",
1745
+ declare const toggleButton: {
1746
+ "name": "toggleButton",
1747
+ "key": "1d240ee5fd7a56879713e69cbea1b6f006f0ea22",
1677
1748
  "componentPropertyDefinitions": {
1678
- "Show Header#870:0": {
1679
- "type": "BOOLEAN"
1680
- },
1681
- "Placeholder#958:0": {
1749
+ "Label#6122:49": {
1682
1750
  "type": "TEXT"
1683
1751
  },
1684
- "Show Footer#958:25": {
1685
- "type": "BOOLEAN"
1686
- },
1687
- "Show Description#958:50": {
1688
- "type": "BOOLEAN"
1689
- },
1690
- "Show Character Count#958:75": {
1691
- "type": "BOOLEAN"
1692
- },
1693
- "Show Suffix#958:100": {
1694
- "type": "BOOLEAN"
1695
- },
1696
- "Show Prefix#958:125": {
1697
- "type": "BOOLEAN"
1698
- },
1699
- "Show Indicator#1259:0": {
1700
- "type": "BOOLEAN"
1701
- },
1702
- "Show Prefix Text#1267:0": {
1703
- "type": "BOOLEAN"
1704
- },
1705
- "Prefix Icon#1267:25": {
1752
+ "Prefix Icon#6122:98": {
1706
1753
  "type": "INSTANCE_SWAP",
1707
1754
  "preferredValues": []
1708
1755
  },
1709
- "Show Prefix Icon#1267:50": {
1710
- "type": "BOOLEAN"
1711
- },
1712
- "Show Suffix Icon#1267:75": {
1756
+ "Show Suffix Icon#6122:147": {
1713
1757
  "type": "BOOLEAN"
1714
1758
  },
1715
- "Suffix Icon #1267:100": {
1759
+ "Suffix Icon#6122:343": {
1716
1760
  "type": "INSTANCE_SWAP",
1717
1761
  "preferredValues": []
1718
1762
  },
1719
- "Show Suffix Text#1267:125": {
1763
+ "Show Prefix Icon#6122:392": {
1720
1764
  "type": "BOOLEAN"
1721
1765
  },
1722
- "Filled Text#1304:0": {
1723
- "type": "TEXT"
1724
- },
1725
- "Description#12626:5": {
1726
- "type": "TEXT"
1727
- },
1728
- "Label#14964:0": {
1729
- "type": "TEXT"
1730
- },
1731
- "Max Character Count#15327:27": {
1732
- "type": "TEXT"
1733
- },
1734
- "Character Count#15327:64": {
1735
- "type": "TEXT"
1736
- },
1737
- "Prefix Text#15327:101": {
1738
- "type": "TEXT"
1739
- },
1740
- "Suffix Text#15327:138": {
1741
- "type": "TEXT"
1742
- },
1743
- "Indicator#15327:249": {
1744
- "type": "TEXT"
1745
- },
1746
1766
  "Size": {
1747
1767
  "type": "VARIANT",
1748
1768
  "variantOptions": [
1749
- "Medium",
1750
- "Large(Default)"
1769
+ "Small",
1770
+ "XSmall"
1751
1771
  ]
1752
1772
  },
1753
- "State": {
1773
+ "Variant": {
1754
1774
  "type": "VARIANT",
1755
1775
  "variantOptions": [
1756
- "Enabled",
1757
- "Focused",
1758
- "Invalid",
1759
- "Invalid-Focused",
1760
- "Disabled",
1761
- "Read Only"
1776
+ "Neutral Weak",
1777
+ "Brand Solid"
1762
1778
  ]
1763
1779
  },
1764
- "Filled": {
1780
+ "Selected": {
1765
1781
  "type": "VARIANT",
1766
1782
  "variantOptions": [
1767
1783
  "True",
1768
1784
  "False"
1769
- ]
1770
- }
1771
- }
1772
- };
1773
-
1774
- declare const toggleButton: {
1775
- "name": "toggleButton",
1776
- "key": "1d240ee5fd7a56879713e69cbea1b6f006f0ea22",
1777
- "componentPropertyDefinitions": {
1778
- "Label#6122:49": {
1779
- "type": "TEXT"
1780
- },
1781
- "Prefix Icon#6122:98": {
1782
- "type": "INSTANCE_SWAP",
1783
- "preferredValues": []
1784
- },
1785
- "Show Suffix Icon#6122:147": {
1786
- "type": "BOOLEAN"
1787
- },
1788
- "Suffix Icon#6122:343": {
1789
- "type": "INSTANCE_SWAP",
1790
- "preferredValues": []
1791
- },
1792
- "Show Prefix Icon#6122:392": {
1793
- "type": "BOOLEAN"
1794
- },
1795
- "Size": {
1796
- "type": "VARIANT",
1797
- "variantOptions": [
1798
- "Small",
1799
- "XSmall"
1800
- ]
1801
- },
1802
- "Variant": {
1803
- "type": "VARIANT",
1804
- "variantOptions": [
1805
- "Neutral Weak",
1806
- "Brand Solid"
1807
- ]
1808
- },
1809
- "Selected": {
1810
- "type": "VARIANT",
1811
- "variantOptions": [
1812
- "True",
1813
- "False"
1814
- ]
1815
- },
1816
- "State": {
1817
- "type": "VARIANT",
1818
- "variantOptions": [
1819
- "Enabled",
1820
- "Pressed",
1821
- "Loading",
1822
- "Disabled"
1785
+ ]
1786
+ },
1787
+ "State": {
1788
+ "type": "VARIANT",
1789
+ "variantOptions": [
1790
+ "Enabled",
1791
+ "Pressed",
1792
+ "Loading",
1793
+ "Disabled"
1823
1794
  ]
1824
1795
  }
1825
1796
  }
@@ -1868,65 +1839,81 @@ declare const topNavigation: {
1868
1839
  }
1869
1840
  };
1870
1841
 
1871
- type ActionButtonProperties = InferComponentDefinition<typeof actionButton.componentPropertyDefinitions>;
1872
- type ActionButtonGhostProperties = InferComponentDefinition<{
1842
+ declare const actionButtonGhostButton: {
1843
+ "name": "actionButtonGhostButton",
1844
+ "key": "ea69291fb4d76217419f3d9613ae16aadafb56a5",
1845
+ "componentPropertyDefinitions": {
1873
1846
  "Label#30511:2": {
1874
- type: "TEXT";
1875
- defaultValue: "라벨";
1876
- };
1847
+ "type": "TEXT"
1848
+ },
1877
1849
  "Prefix Icon#30511:3": {
1878
- type: "INSTANCE_SWAP";
1879
- defaultValue: "26621:24682";
1880
- preferredValues: [];
1881
- };
1850
+ "type": "INSTANCE_SWAP",
1851
+ "preferredValues": []
1852
+ },
1882
1853
  "Suffix Icon#30525:0": {
1883
- type: "INSTANCE_SWAP";
1884
- defaultValue: "26621:23545";
1885
- preferredValues: [
1886
- {
1887
- type: "COMPONENT_SET";
1888
- key: "c8415f85843e5aea5a1d3620d03d16b643bf86cd";
1889
- },
1890
- {
1891
- type: "COMPONENT_SET";
1892
- key: "0d0a2bc648a2c4e1f06a56a30ef16299b6e91037";
1893
- },
1894
- {
1895
- type: "COMPONENT_SET";
1896
- key: "8f28ae559baf8f388d84ccc3ad65a282966e1b05";
1897
- },
1898
- {
1899
- type: "COMPONENT_SET";
1900
- key: "57341e8a9961bf31590240dd288e57c76969098d";
1901
- }
1902
- ];
1903
- };
1854
+ "type": "INSTANCE_SWAP",
1855
+ "preferredValues": [
1856
+ {
1857
+ "type": "COMPONENT_SET",
1858
+ "key": "c8415f85843e5aea5a1d3620d03d16b643bf86cd"
1859
+ },
1860
+ {
1861
+ "type": "COMPONENT_SET",
1862
+ "key": "0d0a2bc648a2c4e1f06a56a30ef16299b6e91037"
1863
+ },
1864
+ {
1865
+ "type": "COMPONENT_SET",
1866
+ "key": "8f28ae559baf8f388d84ccc3ad65a282966e1b05"
1867
+ },
1868
+ {
1869
+ "type": "COMPONENT_SET",
1870
+ "key": "57341e8a9961bf31590240dd288e57c76969098d"
1871
+ }
1872
+ ]
1873
+ },
1904
1874
  "Icon#30525:15": {
1905
- type: "INSTANCE_SWAP";
1906
- defaultValue: "34885:102336";
1907
- preferredValues: [];
1908
- };
1909
- Bleed: {
1910
- type: "VARIANT";
1911
- defaultValue: "true";
1912
- variantOptions: ["true", "false"];
1913
- };
1914
- Size: {
1915
- type: "VARIANT";
1916
- defaultValue: "Medium";
1917
- variantOptions: ["Xsmall", "Small", "Medium", "Large"];
1918
- };
1919
- Layout: {
1920
- type: "VARIANT";
1921
- defaultValue: "Icon First";
1922
- variantOptions: ["Text Only", "Icon First", "Icon Last", "Icon Only"];
1923
- };
1924
- State: {
1925
- type: "VARIANT";
1926
- defaultValue: "Enabled";
1927
- variantOptions: ["Enabled", "Pressed", "Loading", "Disabled"];
1928
- };
1929
- }>;
1875
+ "type": "INSTANCE_SWAP",
1876
+ "preferredValues": []
1877
+ },
1878
+ "Bleed": {
1879
+ "type": "VARIANT",
1880
+ "variantOptions": [
1881
+ "true",
1882
+ "false"
1883
+ ]
1884
+ },
1885
+ "Size": {
1886
+ "type": "VARIANT",
1887
+ "variantOptions": [
1888
+ "Xsmall",
1889
+ "Small",
1890
+ "Medium",
1891
+ "Large"
1892
+ ]
1893
+ },
1894
+ "Layout": {
1895
+ "type": "VARIANT",
1896
+ "variantOptions": [
1897
+ "Text Only",
1898
+ "Icon First",
1899
+ "Icon Last",
1900
+ "Icon Only"
1901
+ ]
1902
+ },
1903
+ "State": {
1904
+ "type": "VARIANT",
1905
+ "variantOptions": [
1906
+ "Enabled",
1907
+ "Pressed",
1908
+ "Loading",
1909
+ "Disabled"
1910
+ ]
1911
+ }
1912
+ }
1913
+ };
1914
+
1915
+ type ActionButtonProperties = InferComponentDefinition<typeof actionButton.componentPropertyDefinitions>;
1916
+ type ActionButtonGhostProperties = InferComponentDefinition<typeof actionButtonGhostButton.componentPropertyDefinitions>;
1930
1917
  type AlertDialogProperties = InferComponentDefinition<typeof alertDialog.componentPropertyDefinitions>;
1931
1918
  type AlertDialogFooterProperties = InferComponentDefinition<{
1932
1919
  Type: {
@@ -1960,6 +1947,75 @@ type ChipIconSuffixProperties = InferComponentDefinition<{
1960
1947
  type ContextualFloatingButtonProperties = InferComponentDefinition<typeof contextualFloatingButton.componentPropertyDefinitions>;
1961
1948
  type DividerProperties = InferComponentDefinition<typeof divider.componentPropertyDefinitions>;
1962
1949
  type ErrorStateProperties = InferComponentDefinition<typeof templateErrorState.componentPropertyDefinitions>;
1950
+ type FieldHeaderProperties = InferComponentDefinition<{
1951
+ "Label#34796:0": {
1952
+ type: "TEXT";
1953
+ defaultValue: "라벨";
1954
+ };
1955
+ "Has Indicator#34796:1": {
1956
+ type: "BOOLEAN";
1957
+ defaultValue: false;
1958
+ };
1959
+ "Has Suffix#34796:2": {
1960
+ type: "BOOLEAN";
1961
+ defaultValue: false;
1962
+ };
1963
+ Weight: {
1964
+ type: "VARIANT";
1965
+ defaultValue: "Medium";
1966
+ variantOptions: ["Medium", "Bold"];
1967
+ };
1968
+ }>;
1969
+ type FieldIndicatorProperties = InferComponentDefinition<{
1970
+ "Required Label#40606:3": {
1971
+ type: "TEXT";
1972
+ defaultValue: "선택";
1973
+ };
1974
+ Type: {
1975
+ type: "VARIANT";
1976
+ defaultValue: "Required Mark";
1977
+ variantOptions: ["Required Mark", "Text"];
1978
+ };
1979
+ }>;
1980
+ type FieldFooterProperties = InferComponentDefinition<{
1981
+ "Text#2770:0": {
1982
+ type: "TEXT";
1983
+ defaultValue: "도움말 텍스트 입력";
1984
+ };
1985
+ "Has Prefix#2778:13": {
1986
+ type: "BOOLEAN";
1987
+ defaultValue: false;
1988
+ };
1989
+ "Error Text#32821:0": {
1990
+ type: "TEXT";
1991
+ defaultValue: "에러 메시지 입력";
1992
+ };
1993
+ Type: {
1994
+ type: "VARIANT";
1995
+ defaultValue: "Description With Character Count";
1996
+ variantOptions: ["Description", "Description With Character Count", "Character Count"];
1997
+ };
1998
+ Error: {
1999
+ type: "VARIANT";
2000
+ defaultValue: "false";
2001
+ variantOptions: ["true", "false"];
2002
+ };
2003
+ }>;
2004
+ type FieldCharacterCountProperties = InferComponentDefinition<{
2005
+ "Counter#40960:0": {
2006
+ type: "TEXT";
2007
+ defaultValue: "10";
2008
+ };
2009
+ "Max Count#40960:4": {
2010
+ type: "TEXT";
2011
+ defaultValue: "500";
2012
+ };
2013
+ State: {
2014
+ type: "VARIANT";
2015
+ defaultValue: "Null";
2016
+ variantOptions: ["Null", "Has Value", "Error"];
2017
+ };
2018
+ }>;
1963
2019
  type MenuSheetProperties = InferComponentDefinition<typeof menuSheet.componentPropertyDefinitions>;
1964
2020
  type MenuSheetGroupProperties = InferComponentDefinition<{
1965
2021
  "Action Count": {
@@ -2082,7 +2138,6 @@ type ListItemSuffixIconProperties = InferComponentDefinition<{
2082
2138
  }>;
2083
2139
  type MannerTempProperties = InferComponentDefinition<typeof mannerTemp.componentPropertyDefinitions>;
2084
2140
  type MannerTempBadgeProperties = InferComponentDefinition<typeof mannerTempBadge.componentPropertyDefinitions>;
2085
- type MultilineTextFieldProperties = InferComponentDefinition<typeof multilineTextField.componentPropertyDefinitions>;
2086
2141
  type ProgressCircleProperties = InferComponentDefinition<typeof progressCircle.componentPropertyDefinitions>;
2087
2142
  type RadioProperties = InferComponentDefinition<typeof radio.componentPropertyDefinitions>;
2088
2143
  type RadioMarkProperties = InferComponentDefinition<typeof radioMark.componentPropertyDefinitions>;
@@ -2100,13 +2155,26 @@ type SegmentedControlItemProperties = InferComponentDefinition<{
2100
2155
  };
2101
2156
  }>;
2102
2157
  type SkeletonProperties = InferComponentDefinition<typeof skeleton.componentPropertyDefinitions>;
2158
+ type SliderProperties = InferComponentDefinition<typeof slider.componentPropertyDefinitions>;
2159
+ type SliderTicksProperties = InferComponentDefinition<{
2160
+ Type: {
2161
+ type: "VARIANT";
2162
+ defaultValue: "Continuous";
2163
+ variantOptions: ["Continuous", "Discrete"];
2164
+ };
2165
+ Step: {
2166
+ type: "VARIANT";
2167
+ defaultValue: "2";
2168
+ variantOptions: ["2", "3", "4", "5"];
2169
+ };
2170
+ }>;
2171
+ type SliderFieldProperties = InferComponentDefinition<typeof templateSliderField.componentPropertyDefinitions>;
2103
2172
  type SnackbarProperties = InferComponentDefinition<typeof snackbar.componentPropertyDefinitions>;
2104
2173
  type SwitchProperties = InferComponentDefinition<typeof _switch.componentPropertyDefinitions>;
2105
2174
  type SwitchMarkProperties = InferComponentDefinition<typeof switchMark.componentPropertyDefinitions>;
2106
2175
  type ToggleButtonProperties = InferComponentDefinition<typeof toggleButton.componentPropertyDefinitions>;
2107
2176
  type SelectBoxGroupProperties = InferComponentDefinition<typeof templateSelectBoxGroup.componentPropertyDefinitions>;
2108
2177
  type SelectBoxProperties = InferComponentDefinition<typeof selectBox.componentPropertyDefinitions>;
2109
- type TextFieldProperties = InferComponentDefinition<typeof textField.componentPropertyDefinitions>;
2110
2178
  type AppBarProperties = InferComponentDefinition<typeof topNavigation.componentPropertyDefinitions>;
2111
2179
  type AppBarMainProperties = InferComponentDefinition<{
2112
2180
  "Title#16944:0": {
@@ -2325,6 +2393,345 @@ type TagGroupItemProperties = InferComponentDefinition<{
2325
2393
  variantOptions: ["Regular", "Bold"];
2326
2394
  };
2327
2395
  }>;
2396
+ type TextInputFieldProperties = InferComponentDefinition<typeof templateTextField.componentPropertyDefinitions>;
2397
+ type TextInputOutlineProperties = InferComponentDefinition<{
2398
+ "Has Prefix#32514:10": {
2399
+ type: "BOOLEAN";
2400
+ defaultValue: false;
2401
+ };
2402
+ "Loading Text#32734:0": {
2403
+ type: "TEXT";
2404
+ defaultValue: "단서를 모아서 추리 중...";
2405
+ };
2406
+ "Has Suffix#32865:68": {
2407
+ type: "BOOLEAN";
2408
+ defaultValue: false;
2409
+ };
2410
+ State: {
2411
+ type: "VARIANT";
2412
+ defaultValue: "Enabled";
2413
+ variantOptions: [
2414
+ "Enabled",
2415
+ "Focused",
2416
+ "Error",
2417
+ "Error Focused",
2418
+ "Disabled",
2419
+ "Read Only",
2420
+ "AI Loading (Figma Only)"
2421
+ ];
2422
+ };
2423
+ }>;
2424
+ type TextInputOutlinePrefixProperties = InferComponentDefinition<{
2425
+ "Icon#34021:2": {
2426
+ type: "INSTANCE_SWAP";
2427
+ defaultValue: "32633:80013";
2428
+ preferredValues: [];
2429
+ };
2430
+ Type: {
2431
+ type: "VARIANT";
2432
+ defaultValue: "Icon";
2433
+ variantOptions: ["Icon", "Custom (Figma Only)"];
2434
+ };
2435
+ }>;
2436
+ type TextInputOutlineSuffixProperties = InferComponentDefinition<{
2437
+ "Suffix Text#34021:4": {
2438
+ type: "TEXT";
2439
+ defaultValue: "원";
2440
+ };
2441
+ "Icon#45391:0": {
2442
+ type: "INSTANCE_SWAP";
2443
+ defaultValue: "34885:102331";
2444
+ preferredValues: [];
2445
+ };
2446
+ "Type (Figma Only)": {
2447
+ type: "VARIANT";
2448
+ defaultValue: "Text";
2449
+ variantOptions: ["Text", "Icon", "Icon Button (Ghost Button)", "Custom"];
2450
+ };
2451
+ }>;
2452
+ type TextInputUnderlinePrefixProperties = InferComponentDefinition<{
2453
+ "Icon#34021:2": {
2454
+ type: "INSTANCE_SWAP";
2455
+ defaultValue: "32633:80013";
2456
+ preferredValues: [];
2457
+ };
2458
+ Type: {
2459
+ type: "VARIANT";
2460
+ defaultValue: "Icon";
2461
+ variantOptions: ["Icon", "Custom (Figma Only)"];
2462
+ };
2463
+ }>;
2464
+ type TextInputUnderlineSuffixProperties = InferComponentDefinition<{
2465
+ "Suffix Text#34021:4": {
2466
+ type: "TEXT";
2467
+ defaultValue: "원";
2468
+ };
2469
+ "Icon#45391:5": {
2470
+ type: "INSTANCE_SWAP";
2471
+ defaultValue: "34885:102331";
2472
+ preferredValues: [];
2473
+ };
2474
+ "Type (Figma Only)": {
2475
+ type: "VARIANT";
2476
+ defaultValue: "Text";
2477
+ variantOptions: ["Text", "Icon", "Icon Button (Ghost Button)", "Custom"];
2478
+ };
2479
+ }>;
2480
+ type TextInputUnderlineProperties = InferComponentDefinition<{
2481
+ "Show Footer#33213:14": {
2482
+ type: "BOOLEAN";
2483
+ defaultValue: true;
2484
+ };
2485
+ "Has Prefix#34125:0": {
2486
+ type: "BOOLEAN";
2487
+ defaultValue: false;
2488
+ };
2489
+ "Has Suffix#34125:8": {
2490
+ type: "BOOLEAN";
2491
+ defaultValue: false;
2492
+ };
2493
+ "Show Header#34125:16": {
2494
+ type: "BOOLEAN";
2495
+ defaultValue: false;
2496
+ };
2497
+ State: {
2498
+ type: "VARIANT";
2499
+ defaultValue: "Enabled";
2500
+ variantOptions: [
2501
+ "Enabled",
2502
+ "Focused",
2503
+ "Error",
2504
+ "Error Focused",
2505
+ "Disabled",
2506
+ "Read Only",
2507
+ "AI Loading (Figma Only)"
2508
+ ];
2509
+ };
2510
+ }>;
2511
+ type TextareaFieldProperties = InferComponentDefinition<typeof templateTextareaField.componentPropertyDefinitions>;
2512
+ type TextareaProperties = InferComponentDefinition<{
2513
+ "Auto Size (Figma Only)": {
2514
+ type: "VARIANT";
2515
+ defaultValue: "true";
2516
+ variantOptions: ["true", "false"];
2517
+ };
2518
+ State: {
2519
+ type: "VARIANT";
2520
+ defaultValue: "Enabled";
2521
+ variantOptions: [
2522
+ "Enabled",
2523
+ "Focused",
2524
+ "Error",
2525
+ "Error Focused",
2526
+ "Disabled",
2527
+ "Read Only",
2528
+ "AI Loading (Figma Only)"
2529
+ ];
2530
+ };
2531
+ }>;
2532
+ type FieldButtonProperties = InferComponentDefinition<typeof templateCustomPickerField.componentPropertyDefinitions>;
2533
+ type InputButtonProperties = InferComponentDefinition<{
2534
+ "Has Prefix#32514:10": {
2535
+ type: "BOOLEAN";
2536
+ defaultValue: false;
2537
+ };
2538
+ "Has Suffix#32865:68": {
2539
+ type: "BOOLEAN";
2540
+ defaultValue: false;
2541
+ };
2542
+ State: {
2543
+ type: "VARIANT";
2544
+ defaultValue: "Enabled";
2545
+ variantOptions: ["Enabled", "Error", "Disabled", "Read Only", "Pressed", "Error Pressed"];
2546
+ };
2547
+ }>;
2548
+ type InputButtonPrefixProperties = InferComponentDefinition<{
2549
+ "Icon#34021:2": {
2550
+ type: "INSTANCE_SWAP";
2551
+ defaultValue: "34885:102321";
2552
+ preferredValues: [
2553
+ {
2554
+ type: "COMPONENT_SET";
2555
+ key: "e6ff71538e21f2e117c72727e5e5cc526d2328ba";
2556
+ },
2557
+ {
2558
+ type: "COMPONENT_SET";
2559
+ key: "b4cad90025daa85c417154f8f61e09fbddb34fa7";
2560
+ }
2561
+ ];
2562
+ };
2563
+ Type: {
2564
+ type: "VARIANT";
2565
+ defaultValue: "Icon";
2566
+ variantOptions: ["Icon", "Custom (Figma Only)"];
2567
+ };
2568
+ }>;
2569
+ type InputButtonSuffixProperties = InferComponentDefinition<{
2570
+ "Suffix Text#34021:4": {
2571
+ type: "TEXT";
2572
+ defaultValue: "원";
2573
+ };
2574
+ "Icon#37963:0": {
2575
+ type: "INSTANCE_SWAP";
2576
+ defaultValue: "43573:11862";
2577
+ preferredValues: [
2578
+ {
2579
+ type: "COMPONENT_SET";
2580
+ key: "422f4be7a88e2c41c079de9202e0b8e7da429971";
2581
+ },
2582
+ {
2583
+ type: "COMPONENT_SET";
2584
+ key: "5c704613ff444e38fe356e3991738965bd43fcec";
2585
+ },
2586
+ {
2587
+ type: "COMPONENT_SET";
2588
+ key: "29314e598cfae33d3b325feaaa39cb71449d521a";
2589
+ },
2590
+ {
2591
+ type: "COMPONENT_SET";
2592
+ key: "ffe429c229000d814017f87a62ff9746639e3bbb";
2593
+ }
2594
+ ];
2595
+ };
2596
+ "Type (Figma Only)": {
2597
+ type: "VARIANT";
2598
+ defaultValue: "Icon";
2599
+ variantOptions: ["Icon", "Text", "Custom"];
2600
+ };
2601
+ }>;
2602
+ type GenericFieldButtonProps = InferComponentDefinition<{}>;
2603
+ type LegacyTextFieldProperties = InferComponentDefinition<{
2604
+ "Show Header#870:0": {
2605
+ type: "BOOLEAN";
2606
+ };
2607
+ "Placeholder#958:0": {
2608
+ type: "TEXT";
2609
+ };
2610
+ "Show Footer#958:25": {
2611
+ type: "BOOLEAN";
2612
+ };
2613
+ "Show Description#958:50": {
2614
+ type: "BOOLEAN";
2615
+ };
2616
+ "Show Character Count#958:75": {
2617
+ type: "BOOLEAN";
2618
+ };
2619
+ "Show Suffix#958:100": {
2620
+ type: "BOOLEAN";
2621
+ };
2622
+ "Show Prefix#958:125": {
2623
+ type: "BOOLEAN";
2624
+ };
2625
+ "Show Indicator#1259:0": {
2626
+ type: "BOOLEAN";
2627
+ };
2628
+ "Show Prefix Text#1267:0": {
2629
+ type: "BOOLEAN";
2630
+ };
2631
+ "Prefix Icon#1267:25": {
2632
+ type: "INSTANCE_SWAP";
2633
+ preferredValues: [];
2634
+ };
2635
+ "Show Prefix Icon#1267:50": {
2636
+ type: "BOOLEAN";
2637
+ };
2638
+ "Show Suffix Icon#1267:75": {
2639
+ type: "BOOLEAN";
2640
+ };
2641
+ "Suffix Icon #1267:100": {
2642
+ type: "INSTANCE_SWAP";
2643
+ preferredValues: [];
2644
+ };
2645
+ "Show Suffix Text#1267:125": {
2646
+ type: "BOOLEAN";
2647
+ };
2648
+ "Filled Text#1304:0": {
2649
+ type: "TEXT";
2650
+ };
2651
+ "Description#12626:5": {
2652
+ type: "TEXT";
2653
+ };
2654
+ "Label#14964:0": {
2655
+ type: "TEXT";
2656
+ };
2657
+ "Max Character Count#15327:27": {
2658
+ type: "TEXT";
2659
+ };
2660
+ "Character Count#15327:64": {
2661
+ type: "TEXT";
2662
+ };
2663
+ "Prefix Text#15327:101": {
2664
+ type: "TEXT";
2665
+ };
2666
+ "Suffix Text#15327:138": {
2667
+ type: "TEXT";
2668
+ };
2669
+ "Indicator#15327:249": {
2670
+ type: "TEXT";
2671
+ };
2672
+ Size: {
2673
+ type: "VARIANT";
2674
+ variantOptions: ["Medium", "Large(Default)"];
2675
+ };
2676
+ State: {
2677
+ type: "VARIANT";
2678
+ variantOptions: ["Enabled", "Focused", "Invalid", "Invalid-Focused", "Disabled", "Read Only"];
2679
+ };
2680
+ Filled: {
2681
+ type: "VARIANT";
2682
+ variantOptions: ["True", "False"];
2683
+ };
2684
+ }>;
2685
+ type LegacyMultilineTextFieldProperties = InferComponentDefinition<{
2686
+ "Show Header#870:0": {
2687
+ type: "BOOLEAN";
2688
+ };
2689
+ "Placeholder#958:0": {
2690
+ type: "TEXT";
2691
+ };
2692
+ "Show Footer#958:25": {
2693
+ type: "BOOLEAN";
2694
+ };
2695
+ "Show Description#958:50": {
2696
+ type: "BOOLEAN";
2697
+ };
2698
+ "Show Character count#958:75": {
2699
+ type: "BOOLEAN";
2700
+ };
2701
+ "Show Indicator#1259:0": {
2702
+ type: "BOOLEAN";
2703
+ };
2704
+ "Filled Text#1304:0": {
2705
+ type: "TEXT";
2706
+ };
2707
+ "Max Character Count#15327:175": {
2708
+ type: "TEXT";
2709
+ };
2710
+ "Description#15327:212": {
2711
+ type: "TEXT";
2712
+ };
2713
+ "Indicator#15327:286": {
2714
+ type: "TEXT";
2715
+ };
2716
+ "Label#15327:323": {
2717
+ type: "TEXT";
2718
+ };
2719
+ "Character Count#15327:360": {
2720
+ type: "TEXT";
2721
+ };
2722
+ Size: {
2723
+ type: "VARIANT";
2724
+ variantOptions: ["Medium", "Large", "XLarge"];
2725
+ };
2726
+ State: {
2727
+ type: "VARIANT";
2728
+ variantOptions: ["Enabled", "Focused", "Invalid", "Invalid-Focused", "Disabled", "Read Only"];
2729
+ };
2730
+ Filled: {
2731
+ type: "VARIANT";
2732
+ variantOptions: ["True", "False"];
2733
+ };
2734
+ }>;
2328
2735
 
2329
2736
  interface CreatePipelineConfig {
2330
2737
  shouldInferAutoLayout?: boolean;
@@ -2478,5 +2885,5 @@ declare namespace index {
2478
2885
  }
2479
2886
 
2480
2887
  export { cloneElement, createCodeGenerator, createElement, createPropsConverter, createValueResolver, defineComponentHandler, defineElementTransformer, definePropsConverter, index as figma, inferLayout };
2481
- 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, ErrorStateProperties, FloatingActionButtonButtonItemProperties, FloatingActionButtonMenuItemProperties, FloatingActionButtonProperties, HelpBubbleProperties, IdentityPlaceholderProperties, InferComponentDefinition, InferComponentPropertyType, ListHeaderProperties, ListItemPrefixIconProperties, ListItemProperties, ListItemSuffixIconProperties, MannerTempBadgeProperties, MannerTempProperties, MenuSheetGroupProperties, MenuSheetItemProperties, MenuSheetProperties, MultilineTextFieldProperties, PageBannerButtonProperties, PageBannerProperties, ProgressCircleProperties, PropsConverter, RadioMarkProperties, RadioProperties, ReactionButtonProperties, SegmentedControlItemProperties, SegmentedControlProperties, SelectBoxGroupProperties, SelectBoxProperties, SkeletonProperties, SnackbarProperties, SwitchMarkProperties, SwitchProperties, TabsChipWrapperProperties, TabsLineTriggerFillProperties, TabsLineTriggerHugProperties, TabsLineWrapperProperties, TabsProperties, TagGroupItemProperties, TagGroupProperties, TextFieldProperties, ToggleButtonProperties, ValueResolver };
2888
+ 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, ErrorStateProperties, 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, RadioMarkProperties, RadioProperties, ReactionButtonProperties, SegmentedControlItemProperties, SegmentedControlProperties, SelectBoxGroupProperties, SelectBoxProperties, SkeletonProperties, SliderFieldProperties, SliderProperties, SliderTicksProperties, SnackbarProperties, SwitchMarkProperties, SwitchProperties, TabsChipWrapperProperties, TabsLineTriggerFillProperties, TabsLineTriggerHugProperties, TabsLineWrapperProperties, TabsProperties, TagGroupItemProperties, TagGroupProperties, TextInputFieldProperties, TextInputOutlinePrefixProperties, TextInputOutlineProperties, TextInputOutlineSuffixProperties, TextInputUnderlinePrefixProperties, TextInputUnderlineProperties, TextInputUnderlineSuffixProperties, TextareaFieldProperties, TextareaProperties, ToggleButtonProperties, ValueResolver };
2482
2889
  //# sourceMappingURL=index.d.ts.map