@seed-design/figma 0.1.12 β†’ 0.1.14

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 (26) hide show
  1. package/lib/codegen/index.cjs +81 -58
  2. package/lib/codegen/index.d.ts +84 -55
  3. package/lib/codegen/index.d.ts.map +1 -1
  4. package/lib/codegen/index.js +81 -58
  5. package/lib/codegen/targets/react/index.cjs +127 -76
  6. package/lib/codegen/targets/react/index.d.ts.map +1 -1
  7. package/lib/codegen/targets/react/index.js +127 -76
  8. package/lib/index.cjs +81 -58
  9. package/lib/index.js +81 -58
  10. package/package.json +2 -2
  11. package/src/codegen/component-properties.ts +9 -2
  12. package/src/codegen/targets/react/component/handlers/page-banner.ts +101 -0
  13. package/src/codegen/targets/react/component/index.ts +2 -2
  14. package/src/entities/data/__generated__/component-sets/avatar-stack.d.ts +2 -1
  15. package/src/entities/data/__generated__/component-sets/avatar-stack.mjs +2 -1
  16. package/src/entities/data/__generated__/component-sets/avatar.d.ts +2 -1
  17. package/src/entities/data/__generated__/component-sets/avatar.mjs +2 -1
  18. package/src/entities/data/__generated__/component-sets/badge.d.ts +4 -3
  19. package/src/entities/data/__generated__/component-sets/badge.mjs +4 -3
  20. package/src/entities/data/__generated__/component-sets/divider.d.ts +10 -0
  21. package/src/entities/data/__generated__/component-sets/divider.mjs +10 -0
  22. package/src/entities/data/__generated__/component-sets/index.d.ts +1 -1
  23. package/src/entities/data/__generated__/component-sets/index.mjs +1 -1
  24. package/src/entities/data/__generated__/component-sets/page-banner.d.ts +50 -0
  25. package/src/entities/data/__generated__/component-sets/page-banner.mjs +50 -0
  26. package/src/codegen/targets/react/component/handlers/inline-banner.ts +0 -75
@@ -7923,7 +7923,8 @@ const metadata$D = {
7923
7923
  "48",
7924
7924
  "64",
7925
7925
  "80",
7926
- "96"
7926
+ "96",
7927
+ "108"
7927
7928
  ]
7928
7929
  },
7929
7930
  "Badge": {
@@ -7952,7 +7953,8 @@ const metadata$C = {
7952
7953
  "48",
7953
7954
  "64",
7954
7955
  "80",
7955
- "96"
7956
+ "96",
7957
+ "108"
7956
7958
  ]
7957
7959
  }
7958
7960
  }
@@ -7979,15 +7981,16 @@ const metadata$B = {
7979
7981
  "Brand",
7980
7982
  "Informative",
7981
7983
  "Positive",
7982
- "Critical"
7984
+ "Critical",
7985
+ "Warning"
7983
7986
  ]
7984
7987
  },
7985
7988
  "Variant": {
7986
7989
  "type": "VARIANT",
7987
7990
  "variantOptions": [
7988
- "Solid",
7989
7991
  "Weak",
7990
- "Outline"
7992
+ "Outline",
7993
+ "Solid"
7991
7994
  ]
7992
7995
  }
7993
7996
  }
@@ -8378,12 +8381,22 @@ const metadata$r = {
8378
8381
  "name": "🟒 Divider",
8379
8382
  "key": "848e953725f757ea1a79e1fecc0b608a035032d3",
8380
8383
  "componentPropertyDefinitions": {
8384
+ "Inset (Figma-Only)#36435:0": {
8385
+ "type": "BOOLEAN"
8386
+ },
8381
8387
  "Tone": {
8382
8388
  "type": "VARIANT",
8383
8389
  "variantOptions": [
8384
8390
  "Neutral",
8385
8391
  "Neutral Muted"
8386
8392
  ]
8393
+ },
8394
+ "Orientation": {
8395
+ "type": "VARIANT",
8396
+ "variantOptions": [
8397
+ "Vertical",
8398
+ "Horizontal"
8399
+ ]
8387
8400
  }
8388
8401
  }
8389
8402
  };
@@ -8436,47 +8449,6 @@ const metadata$p = {
8436
8449
  };
8437
8450
 
8438
8451
  const metadata$o = {
8439
- "name": "🟒 Inline Banner",
8440
- "key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
8441
- "componentPropertyDefinitions": {
8442
- "Link Label#1547:81": {
8443
- "type": "TEXT"
8444
- },
8445
- "Show Icon#11840:27": {
8446
- "type": "BOOLEAN"
8447
- },
8448
- "Interaction": {
8449
- "type": "VARIANT",
8450
- "variantOptions": [
8451
- "Default",
8452
- "Link",
8453
- "Actionable",
8454
- "Dismissible"
8455
- ]
8456
- },
8457
- "Variant": {
8458
- "type": "VARIANT",
8459
- "variantOptions": [
8460
- "Neutral Weak",
8461
- "Informative Weak",
8462
- "Positive Weak",
8463
- "Warning Solid",
8464
- "Warning Weak",
8465
- "Critical Solid",
8466
- "Critical Weak"
8467
- ]
8468
- },
8469
- "Show Title": {
8470
- "type": "VARIANT",
8471
- "variantOptions": [
8472
- "True",
8473
- "False"
8474
- ]
8475
- }
8476
- }
8477
- };
8478
-
8479
- const metadata$n = {
8480
8452
  "name": "🟒 Main Tab Navigation / Global",
8481
8453
  "key": "a694a1da14a5c1d7d5c66bc78218c0c61fb388ab",
8482
8454
  "componentPropertyDefinitions": {
@@ -8503,7 +8475,7 @@ const metadata$n = {
8503
8475
  }
8504
8476
  };
8505
8477
 
8506
- const metadata$m = {
8478
+ const metadata$n = {
8507
8479
  "name": "🟒 Main Tab Navigation / KR",
8508
8480
  "key": "41d3601e6b4c632a56cdc8fad485a76c026fdd8e",
8509
8481
  "componentPropertyDefinitions": {
@@ -8527,7 +8499,7 @@ const metadata$m = {
8527
8499
  }
8528
8500
  };
8529
8501
 
8530
- const metadata$l = {
8502
+ const metadata$m = {
8531
8503
  "name": "🟒 Manner Temp",
8532
8504
  "key": "37c0a35f73a730fdfba7929cea91a7590fc93733",
8533
8505
  "componentPropertyDefinitions": {
@@ -8545,7 +8517,7 @@ const metadata$l = {
8545
8517
  }
8546
8518
  };
8547
8519
 
8548
- const metadata$k = {
8520
+ const metadata$l = {
8549
8521
  "name": "🟒 Manner Temp Badge",
8550
8522
  "key": "3ef9a84d4d80046ff9a581136bd56269554a6e00",
8551
8523
  "componentPropertyDefinitions": {
@@ -8563,7 +8535,7 @@ const metadata$k = {
8563
8535
  }
8564
8536
  };
8565
8537
 
8566
- const metadata$j = {
8538
+ const metadata$k = {
8567
8539
  "name": "🟒 Menu Sheet",
8568
8540
  "key": "cd4cf8a850bf3de87b79080b36b421a649bf3fcb",
8569
8541
  "componentPropertyDefinitions": {
@@ -8600,7 +8572,7 @@ const metadata$j = {
8600
8572
  }
8601
8573
  };
8602
8574
 
8603
- const metadata$i = {
8575
+ const metadata$j = {
8604
8576
  "name": "🟒 Multiline Text Field",
8605
8577
  "key": "88b2399c930c85f9ce2972163a078bc684b84bbe",
8606
8578
  "componentPropertyDefinitions": {
@@ -8669,6 +8641,57 @@ const metadata$i = {
8669
8641
  }
8670
8642
  };
8671
8643
 
8644
+ const metadata$i = {
8645
+ "name": "🟒 Page Banner",
8646
+ "key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
8647
+ "componentPropertyDefinitions": {
8648
+ "Show Prefix Icon#11840:27": {
8649
+ "type": "BOOLEAN"
8650
+ },
8651
+ "Prefix Icon#35433:45": {
8652
+ "type": "INSTANCE_SWAP",
8653
+ "preferredValues": []
8654
+ },
8655
+ "Pressed#36736:0": {
8656
+ "type": "BOOLEAN"
8657
+ },
8658
+ "Interaction": {
8659
+ "type": "VARIANT",
8660
+ "variantOptions": [
8661
+ "Display",
8662
+ "Actionable",
8663
+ "Dismissible",
8664
+ "With Action",
8665
+ "Custom"
8666
+ ]
8667
+ },
8668
+ "Tone": {
8669
+ "type": "VARIANT",
8670
+ "variantOptions": [
8671
+ "Neutral",
8672
+ "Informative",
8673
+ "Positive",
8674
+ "Warning",
8675
+ "Critical"
8676
+ ]
8677
+ },
8678
+ "Variant": {
8679
+ "type": "VARIANT",
8680
+ "variantOptions": [
8681
+ "Weak",
8682
+ "Solid"
8683
+ ]
8684
+ },
8685
+ "Show Title": {
8686
+ "type": "VARIANT",
8687
+ "variantOptions": [
8688
+ "False",
8689
+ "True"
8690
+ ]
8691
+ }
8692
+ }
8693
+ };
8694
+
8672
8695
  const metadata$h = {
8673
8696
  "name": "🟒 Progress Circle",
8674
8697
  "key": "6e6779a372cab2485a0e25529bc4dbc9932a7346",
@@ -9305,13 +9328,13 @@ var FIGMA_COMPONENTS = {
9305
9328
  divider: metadata$r,
9306
9329
  floatingActionButton: metadata$q,
9307
9330
  helpBubble: metadata$p,
9308
- inlineBanner: metadata$o,
9309
- mainTabNavigationGlobal: metadata$n,
9310
- mainTabNavigationKr: metadata$m,
9311
- mannerTemp: metadata$l,
9312
- mannerTempBadge: metadata$k,
9313
- menuSheet: metadata$j,
9314
- multilineTextField: metadata$i,
9331
+ mainTabNavigationGlobal: metadata$o,
9332
+ mainTabNavigationKr: metadata$n,
9333
+ mannerTemp: metadata$m,
9334
+ mannerTempBadge: metadata$l,
9335
+ menuSheet: metadata$k,
9336
+ multilineTextField: metadata$j,
9337
+ pageBanner: metadata$i,
9315
9338
  progressCircle: metadata$h,
9316
9339
  radio: metadata$g,
9317
9340
  radioMark: metadata$f,
@@ -427,7 +427,8 @@ declare const metadata$p: {
427
427
  "48",
428
428
  "64",
429
429
  "80",
430
- "96"
430
+ "96",
431
+ "108"
431
432
  ]
432
433
  },
433
434
  "Badge": {
@@ -456,7 +457,8 @@ declare const metadata$o: {
456
457
  "48",
457
458
  "64",
458
459
  "80",
459
- "96"
460
+ "96",
461
+ "108"
460
462
  ]
461
463
  }
462
464
  }
@@ -483,15 +485,16 @@ declare const metadata$n: {
483
485
  "Brand",
484
486
  "Informative",
485
487
  "Positive",
486
- "Critical"
488
+ "Critical",
489
+ "Warning"
487
490
  ]
488
491
  },
489
492
  "Variant": {
490
493
  "type": "VARIANT",
491
494
  "variantOptions": [
492
- "Solid",
493
495
  "Weak",
494
- "Outline"
496
+ "Outline",
497
+ "Solid"
495
498
  ]
496
499
  }
497
500
  }
@@ -789,12 +792,22 @@ declare const metadata$h: {
789
792
  "name": "🟒 Divider",
790
793
  "key": "848e953725f757ea1a79e1fecc0b608a035032d3",
791
794
  "componentPropertyDefinitions": {
795
+ "Inset (Figma-Only)#36435:0": {
796
+ "type": "BOOLEAN"
797
+ },
792
798
  "Tone": {
793
799
  "type": "VARIANT",
794
800
  "variantOptions": [
795
801
  "Neutral",
796
802
  "Neutral Muted"
797
803
  ]
804
+ },
805
+ "Orientation": {
806
+ "type": "VARIANT",
807
+ "variantOptions": [
808
+ "Vertical",
809
+ "Horizontal"
810
+ ]
798
811
  }
799
812
  }
800
813
  };
@@ -847,47 +860,6 @@ declare const metadata$f: {
847
860
  };
848
861
 
849
862
  declare const metadata$e: {
850
- "name": "🟒 Inline Banner",
851
- "key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
852
- "componentPropertyDefinitions": {
853
- "Link Label#1547:81": {
854
- "type": "TEXT"
855
- },
856
- "Show Icon#11840:27": {
857
- "type": "BOOLEAN"
858
- },
859
- "Interaction": {
860
- "type": "VARIANT",
861
- "variantOptions": [
862
- "Default",
863
- "Link",
864
- "Actionable",
865
- "Dismissible"
866
- ]
867
- },
868
- "Variant": {
869
- "type": "VARIANT",
870
- "variantOptions": [
871
- "Neutral Weak",
872
- "Informative Weak",
873
- "Positive Weak",
874
- "Warning Solid",
875
- "Warning Weak",
876
- "Critical Solid",
877
- "Critical Weak"
878
- ]
879
- },
880
- "Show Title": {
881
- "type": "VARIANT",
882
- "variantOptions": [
883
- "True",
884
- "False"
885
- ]
886
- }
887
- }
888
- };
889
-
890
- declare const metadata$d: {
891
863
  "name": "🟒 Manner Temp",
892
864
  "key": "37c0a35f73a730fdfba7929cea91a7590fc93733",
893
865
  "componentPropertyDefinitions": {
@@ -905,7 +877,7 @@ declare const metadata$d: {
905
877
  }
906
878
  };
907
879
 
908
- declare const metadata$c: {
880
+ declare const metadata$d: {
909
881
  "name": "🟒 Manner Temp Badge",
910
882
  "key": "3ef9a84d4d80046ff9a581136bd56269554a6e00",
911
883
  "componentPropertyDefinitions": {
@@ -923,7 +895,7 @@ declare const metadata$c: {
923
895
  }
924
896
  };
925
897
 
926
- declare const metadata$b: {
898
+ declare const metadata$c: {
927
899
  "name": "🟒 Menu Sheet",
928
900
  "key": "cd4cf8a850bf3de87b79080b36b421a649bf3fcb",
929
901
  "componentPropertyDefinitions": {
@@ -960,7 +932,7 @@ declare const metadata$b: {
960
932
  }
961
933
  };
962
934
 
963
- declare const metadata$a: {
935
+ declare const metadata$b: {
964
936
  "name": "🟒 Multiline Text Field",
965
937
  "key": "88b2399c930c85f9ce2972163a078bc684b84bbe",
966
938
  "componentPropertyDefinitions": {
@@ -1029,6 +1001,57 @@ declare const metadata$a: {
1029
1001
  }
1030
1002
  };
1031
1003
 
1004
+ declare const metadata$a: {
1005
+ "name": "🟒 Page Banner",
1006
+ "key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
1007
+ "componentPropertyDefinitions": {
1008
+ "Show Prefix Icon#11840:27": {
1009
+ "type": "BOOLEAN"
1010
+ },
1011
+ "Prefix Icon#35433:45": {
1012
+ "type": "INSTANCE_SWAP",
1013
+ "preferredValues": []
1014
+ },
1015
+ "Pressed#36736:0": {
1016
+ "type": "BOOLEAN"
1017
+ },
1018
+ "Interaction": {
1019
+ "type": "VARIANT",
1020
+ "variantOptions": [
1021
+ "Display",
1022
+ "Actionable",
1023
+ "Dismissible",
1024
+ "With Action",
1025
+ "Custom"
1026
+ ]
1027
+ },
1028
+ "Tone": {
1029
+ "type": "VARIANT",
1030
+ "variantOptions": [
1031
+ "Neutral",
1032
+ "Informative",
1033
+ "Positive",
1034
+ "Warning",
1035
+ "Critical"
1036
+ ]
1037
+ },
1038
+ "Variant": {
1039
+ "type": "VARIANT",
1040
+ "variantOptions": [
1041
+ "Weak",
1042
+ "Solid"
1043
+ ]
1044
+ },
1045
+ "Show Title": {
1046
+ "type": "VARIANT",
1047
+ "variantOptions": [
1048
+ "False",
1049
+ "True"
1050
+ ]
1051
+ }
1052
+ }
1053
+ };
1054
+
1032
1055
  declare const metadata$9: {
1033
1056
  "name": "🟒 Progress Circle",
1034
1057
  "key": "6e6779a372cab2485a0e25529bc4dbc9932a7346",
@@ -1541,7 +1564,7 @@ type ChipIconSuffixProperties = InferComponentDefinition<{
1541
1564
  type ContextualFloatingButtonProperties = InferComponentDefinition<typeof metadata$i.componentPropertyDefinitions>;
1542
1565
  type DividerProperties = InferComponentDefinition<typeof metadata$h.componentPropertyDefinitions>;
1543
1566
  type ErrorStateProperties = InferComponentDefinition<typeof metadata$t.componentPropertyDefinitions>;
1544
- type MenuSheetProperties = InferComponentDefinition<typeof metadata$b.componentPropertyDefinitions>;
1567
+ type MenuSheetProperties = InferComponentDefinition<typeof metadata$c.componentPropertyDefinitions>;
1545
1568
  type MenuSheetGroupProperties = InferComponentDefinition<{
1546
1569
  "Action Count": {
1547
1570
  type: "VARIANT";
@@ -1635,10 +1658,16 @@ type IdentityPlaceholderProperties = InferComponentDefinition<{
1635
1658
  variantOptions: ["Person", "Business"];
1636
1659
  };
1637
1660
  }>;
1638
- type InlineBannerProperties = InferComponentDefinition<typeof metadata$e.componentPropertyDefinitions>;
1639
- type MannerTempProperties = InferComponentDefinition<typeof metadata$d.componentPropertyDefinitions>;
1640
- type MannerTempBadgeProperties = InferComponentDefinition<typeof metadata$c.componentPropertyDefinitions>;
1641
- type MultilineTextFieldProperties = InferComponentDefinition<typeof metadata$a.componentPropertyDefinitions>;
1661
+ type PageBannerProperties = InferComponentDefinition<typeof metadata$a.componentPropertyDefinitions>;
1662
+ type PageBannerButtonProperties = InferComponentDefinition<{
1663
+ "Label#39890:0": {
1664
+ type: "TEXT";
1665
+ defaultValue: "라벨";
1666
+ };
1667
+ }>;
1668
+ type MannerTempProperties = InferComponentDefinition<typeof metadata$e.componentPropertyDefinitions>;
1669
+ type MannerTempBadgeProperties = InferComponentDefinition<typeof metadata$d.componentPropertyDefinitions>;
1670
+ type MultilineTextFieldProperties = InferComponentDefinition<typeof metadata$b.componentPropertyDefinitions>;
1642
1671
  type ProgressCircleProperties = InferComponentDefinition<typeof metadata$9.componentPropertyDefinitions>;
1643
1672
  type ReactionButtonProperties = InferComponentDefinition<typeof metadata$8.componentPropertyDefinitions>;
1644
1673
  type SegmentedControlProperties = InferComponentDefinition<typeof metadata$7.componentPropertyDefinitions>;
@@ -1959,5 +1988,5 @@ declare namespace index {
1959
1988
  }
1960
1989
 
1961
1990
  export { cloneElement, createCodeGenerator, createElement, createPropsConverter, createValueResolver, defineComponentHandler, defineElementTransformer, definePropsConverter, index as figma, inferLayout };
1962
- export type { ActionButtonGhostProperties, ActionButtonProperties, AlertDialogFooterProperties, AlertDialogProperties, AppBarLeftIconButtonProperties, AppBarMainProperties, AppBarProperties, AppBarRightIconButtonProperties, AvatarProperties, AvatarStackProperties, BadgeProperties, BottomSheetProperties, CalloutProperties, CheckboxProperties, ChipIconSuffixProperties, ChipProperties, CodeGeneratorDeps, ComponentHandler, ComponentPropertyDefinition, ContextualFloatingButtonProperties, DividerProperties, ElementNode, ElementTransformer, ErrorStateProperties, FloatingActionButtonButtonItemProperties, FloatingActionButtonMenuItemProperties, FloatingActionButtonProperties, HelpBubbleProperties, IdentityPlaceholderProperties, InferComponentDefinition, InferComponentPropertyType, InlineBannerProperties, MannerTempBadgeProperties, MannerTempProperties, MenuSheetGroupProperties, MenuSheetItemProperties, MenuSheetProperties, MultilineTextFieldProperties, ProgressCircleProperties, PropsConverter, ReactionButtonProperties, SegmentedControlItemProperties, SegmentedControlProperties, SelectBoxGroupProperties, SelectBoxProperties, SkeletonProperties, SnackbarProperties, SwitchProperties, TabsChipItemProperties, TabsUnderlineFillItemProperties, TabsUnderlineHugItemProperties, TextFieldProperties, ToggleButtonProperties, ValueResolver };
1991
+ export type { ActionButtonGhostProperties, ActionButtonProperties, AlertDialogFooterProperties, AlertDialogProperties, AppBarLeftIconButtonProperties, AppBarMainProperties, AppBarProperties, AppBarRightIconButtonProperties, AvatarProperties, AvatarStackProperties, BadgeProperties, BottomSheetProperties, CalloutProperties, CheckboxProperties, ChipIconSuffixProperties, ChipProperties, CodeGeneratorDeps, ComponentHandler, ComponentPropertyDefinition, ContextualFloatingButtonProperties, DividerProperties, ElementNode, ElementTransformer, ErrorStateProperties, FloatingActionButtonButtonItemProperties, FloatingActionButtonMenuItemProperties, FloatingActionButtonProperties, HelpBubbleProperties, IdentityPlaceholderProperties, InferComponentDefinition, InferComponentPropertyType, MannerTempBadgeProperties, MannerTempProperties, MenuSheetGroupProperties, MenuSheetItemProperties, MenuSheetProperties, MultilineTextFieldProperties, PageBannerButtonProperties, PageBannerProperties, ProgressCircleProperties, PropsConverter, ReactionButtonProperties, SegmentedControlItemProperties, SegmentedControlProperties, SelectBoxGroupProperties, SelectBoxProperties, SkeletonProperties, SnackbarProperties, SwitchProperties, TabsChipItemProperties, TabsUnderlineFillItemProperties, TabsUnderlineHugItemProperties, TextFieldProperties, ToggleButtonProperties, ValueResolver };
1963
1992
  //# sourceMappingURL=index.d.ts.map