@seed-design/figma 0.1.13 → 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
package/lib/index.js CHANGED
@@ -10638,7 +10638,8 @@ const metadata$D = {
10638
10638
  "48",
10639
10639
  "64",
10640
10640
  "80",
10641
- "96"
10641
+ "96",
10642
+ "108"
10642
10643
  ]
10643
10644
  },
10644
10645
  "Badge": {
@@ -10667,7 +10668,8 @@ const metadata$C = {
10667
10668
  "48",
10668
10669
  "64",
10669
10670
  "80",
10670
- "96"
10671
+ "96",
10672
+ "108"
10671
10673
  ]
10672
10674
  }
10673
10675
  }
@@ -10694,15 +10696,16 @@ const metadata$B = {
10694
10696
  "Brand",
10695
10697
  "Informative",
10696
10698
  "Positive",
10697
- "Critical"
10699
+ "Critical",
10700
+ "Warning"
10698
10701
  ]
10699
10702
  },
10700
10703
  "Variant": {
10701
10704
  "type": "VARIANT",
10702
10705
  "variantOptions": [
10703
- "Solid",
10704
10706
  "Weak",
10705
- "Outline"
10707
+ "Outline",
10708
+ "Solid"
10706
10709
  ]
10707
10710
  }
10708
10711
  }
@@ -11093,12 +11096,22 @@ const metadata$r = {
11093
11096
  "name": "🟢 Divider",
11094
11097
  "key": "848e953725f757ea1a79e1fecc0b608a035032d3",
11095
11098
  "componentPropertyDefinitions": {
11099
+ "Inset (Figma-Only)#36435:0": {
11100
+ "type": "BOOLEAN"
11101
+ },
11096
11102
  "Tone": {
11097
11103
  "type": "VARIANT",
11098
11104
  "variantOptions": [
11099
11105
  "Neutral",
11100
11106
  "Neutral Muted"
11101
11107
  ]
11108
+ },
11109
+ "Orientation": {
11110
+ "type": "VARIANT",
11111
+ "variantOptions": [
11112
+ "Vertical",
11113
+ "Horizontal"
11114
+ ]
11102
11115
  }
11103
11116
  }
11104
11117
  };
@@ -11151,47 +11164,6 @@ const metadata$p = {
11151
11164
  };
11152
11165
 
11153
11166
  const metadata$o = {
11154
- "name": "🟢 Inline Banner",
11155
- "key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
11156
- "componentPropertyDefinitions": {
11157
- "Link Label#1547:81": {
11158
- "type": "TEXT"
11159
- },
11160
- "Show Icon#11840:27": {
11161
- "type": "BOOLEAN"
11162
- },
11163
- "Interaction": {
11164
- "type": "VARIANT",
11165
- "variantOptions": [
11166
- "Default",
11167
- "Link",
11168
- "Actionable",
11169
- "Dismissible"
11170
- ]
11171
- },
11172
- "Variant": {
11173
- "type": "VARIANT",
11174
- "variantOptions": [
11175
- "Neutral Weak",
11176
- "Informative Weak",
11177
- "Positive Weak",
11178
- "Warning Solid",
11179
- "Warning Weak",
11180
- "Critical Solid",
11181
- "Critical Weak"
11182
- ]
11183
- },
11184
- "Show Title": {
11185
- "type": "VARIANT",
11186
- "variantOptions": [
11187
- "True",
11188
- "False"
11189
- ]
11190
- }
11191
- }
11192
- };
11193
-
11194
- const metadata$n = {
11195
11167
  "name": "🟢 Main Tab Navigation / Global",
11196
11168
  "key": "a694a1da14a5c1d7d5c66bc78218c0c61fb388ab",
11197
11169
  "componentPropertyDefinitions": {
@@ -11218,7 +11190,7 @@ const metadata$n = {
11218
11190
  }
11219
11191
  };
11220
11192
 
11221
- const metadata$m = {
11193
+ const metadata$n = {
11222
11194
  "name": "🟢 Main Tab Navigation / KR",
11223
11195
  "key": "41d3601e6b4c632a56cdc8fad485a76c026fdd8e",
11224
11196
  "componentPropertyDefinitions": {
@@ -11242,7 +11214,7 @@ const metadata$m = {
11242
11214
  }
11243
11215
  };
11244
11216
 
11245
- const metadata$l = {
11217
+ const metadata$m = {
11246
11218
  "name": "🟢 Manner Temp",
11247
11219
  "key": "37c0a35f73a730fdfba7929cea91a7590fc93733",
11248
11220
  "componentPropertyDefinitions": {
@@ -11260,7 +11232,7 @@ const metadata$l = {
11260
11232
  }
11261
11233
  };
11262
11234
 
11263
- const metadata$k = {
11235
+ const metadata$l = {
11264
11236
  "name": "🟢 Manner Temp Badge",
11265
11237
  "key": "3ef9a84d4d80046ff9a581136bd56269554a6e00",
11266
11238
  "componentPropertyDefinitions": {
@@ -11278,7 +11250,7 @@ const metadata$k = {
11278
11250
  }
11279
11251
  };
11280
11252
 
11281
- const metadata$j = {
11253
+ const metadata$k = {
11282
11254
  "name": "🟢 Menu Sheet",
11283
11255
  "key": "cd4cf8a850bf3de87b79080b36b421a649bf3fcb",
11284
11256
  "componentPropertyDefinitions": {
@@ -11315,7 +11287,7 @@ const metadata$j = {
11315
11287
  }
11316
11288
  };
11317
11289
 
11318
- const metadata$i = {
11290
+ const metadata$j = {
11319
11291
  "name": "🟢 Multiline Text Field",
11320
11292
  "key": "88b2399c930c85f9ce2972163a078bc684b84bbe",
11321
11293
  "componentPropertyDefinitions": {
@@ -11384,6 +11356,57 @@ const metadata$i = {
11384
11356
  }
11385
11357
  };
11386
11358
 
11359
+ const metadata$i = {
11360
+ "name": "🟢 Page Banner",
11361
+ "key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
11362
+ "componentPropertyDefinitions": {
11363
+ "Show Prefix Icon#11840:27": {
11364
+ "type": "BOOLEAN"
11365
+ },
11366
+ "Prefix Icon#35433:45": {
11367
+ "type": "INSTANCE_SWAP",
11368
+ "preferredValues": []
11369
+ },
11370
+ "Pressed#36736:0": {
11371
+ "type": "BOOLEAN"
11372
+ },
11373
+ "Interaction": {
11374
+ "type": "VARIANT",
11375
+ "variantOptions": [
11376
+ "Display",
11377
+ "Actionable",
11378
+ "Dismissible",
11379
+ "With Action",
11380
+ "Custom"
11381
+ ]
11382
+ },
11383
+ "Tone": {
11384
+ "type": "VARIANT",
11385
+ "variantOptions": [
11386
+ "Neutral",
11387
+ "Informative",
11388
+ "Positive",
11389
+ "Warning",
11390
+ "Critical"
11391
+ ]
11392
+ },
11393
+ "Variant": {
11394
+ "type": "VARIANT",
11395
+ "variantOptions": [
11396
+ "Weak",
11397
+ "Solid"
11398
+ ]
11399
+ },
11400
+ "Show Title": {
11401
+ "type": "VARIANT",
11402
+ "variantOptions": [
11403
+ "False",
11404
+ "True"
11405
+ ]
11406
+ }
11407
+ }
11408
+ };
11409
+
11387
11410
  const metadata$h = {
11388
11411
  "name": "🟢 Progress Circle",
11389
11412
  "key": "6e6779a372cab2485a0e25529bc4dbc9932a7346",
@@ -12020,13 +12043,13 @@ var FIGMA_COMPONENTS = {
12020
12043
  divider: metadata$r,
12021
12044
  floatingActionButton: metadata$q,
12022
12045
  helpBubble: metadata$p,
12023
- inlineBanner: metadata$o,
12024
- mainTabNavigationGlobal: metadata$n,
12025
- mainTabNavigationKr: metadata$m,
12026
- mannerTemp: metadata$l,
12027
- mannerTempBadge: metadata$k,
12028
- menuSheet: metadata$j,
12029
- multilineTextField: metadata$i,
12046
+ mainTabNavigationGlobal: metadata$o,
12047
+ mainTabNavigationKr: metadata$n,
12048
+ mannerTemp: metadata$m,
12049
+ mannerTempBadge: metadata$l,
12050
+ menuSheet: metadata$k,
12051
+ multilineTextField: metadata$j,
12052
+ pageBanner: metadata$i,
12030
12053
  progressCircle: metadata$h,
12031
12054
  radio: metadata$g,
12032
12055
  radioMark: metadata$f,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/figma",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",
@@ -38,7 +38,7 @@
38
38
  "lint:publish": "bun publint"
39
39
  },
40
40
  "dependencies": {
41
- "@seed-design/css": "0.1.13",
41
+ "@seed-design/css": "0.1.14",
42
42
  "change-case": "^5.4.4",
43
43
  "ts-pattern": "^5.7.0"
44
44
  },
@@ -239,10 +239,17 @@ export type IdentityPlaceholderProperties = InferComponentDefinition<{
239
239
  };
240
240
  }>;
241
241
 
242
- export type InlineBannerProperties = InferComponentDefinition<
243
- typeof metadata.inlineBanner.componentPropertyDefinitions
242
+ export type PageBannerProperties = InferComponentDefinition<
243
+ typeof metadata.pageBanner.componentPropertyDefinitions
244
244
  >;
245
245
 
246
+ export type PageBannerButtonProperties = InferComponentDefinition<{
247
+ "Label#39890:0": {
248
+ type: "TEXT";
249
+ defaultValue: "라벨";
250
+ };
251
+ }>;
252
+
246
253
  export type MannerTempProperties = InferComponentDefinition<
247
254
  typeof metadata.mannerTemp.componentPropertyDefinitions
248
255
  >;
@@ -0,0 +1,101 @@
1
+ import type {
2
+ PageBannerButtonProperties,
3
+ PageBannerProperties,
4
+ } from "@/codegen/component-properties";
5
+ import { createElement, defineComponentHandler } from "@/codegen/core";
6
+ import * as metadata from "@/entities/data/__generated__/component-sets";
7
+ import type { NormalizedInstanceNode, NormalizedTextNode } from "@/normalizer";
8
+ import { findAllInstances, findOne } from "@/utils/figma-node";
9
+ import { camelCase } from "change-case";
10
+ import { createLocalSnippetHelper } from "../../element-factories";
11
+ import type { ComponentHandlerDeps } from "../deps.interface";
12
+ import { match } from "ts-pattern";
13
+
14
+ const { createLocalSnippetElement } = createLocalSnippetHelper("page-banner");
15
+
16
+ const SUFFIX_BUTTON_KEY = "7dce4e1242761ccd8e5da42278fc2d870918039c";
17
+
18
+ const createPageBannerButtonHandler = (_ctx: ComponentHandlerDeps) =>
19
+ defineComponentHandler<PageBannerButtonProperties>(SUFFIX_BUTTON_KEY, (node) => {
20
+ return createElement(
21
+ "PageBannerButton",
22
+ undefined,
23
+ node.componentProperties["Label#39890:0"].value,
24
+ );
25
+ });
26
+
27
+ export const createPageBannerHandler = (ctx: ComponentHandlerDeps) => {
28
+ const buttonHandler = createPageBannerButtonHandler(ctx);
29
+
30
+ return defineComponentHandler<PageBannerProperties>(metadata.pageBanner.key, (node, traverse) => {
31
+ const { componentProperties: props } = node;
32
+
33
+ const { tag, suffix } = match(props.Interaction.value)
34
+ .with("Actionable", () => ({ tag: "ActionablePageBanner", suffix: undefined }))
35
+ .with("Dismissible", () => ({ tag: "DismissiblePageBanner", suffix: undefined }))
36
+ .with("Display", () => ({ tag: "PageBanner", suffix: undefined }))
37
+ .with("With Action", () => {
38
+ const [buttonNode] = findAllInstances<PageBannerButtonProperties>({
39
+ node,
40
+ key: SUFFIX_BUTTON_KEY,
41
+ });
42
+ const suffix = buttonNode ? buttonHandler.transform(buttonNode, traverse) : undefined;
43
+
44
+ return { tag: "PageBanner", suffix };
45
+ })
46
+ .with("Custom", () => ({
47
+ tag: "PageBanner",
48
+ suffix: createElement("div", undefined, "Custom Content"),
49
+ }))
50
+ .exhaustive();
51
+
52
+ const textNode = findOne(
53
+ node,
54
+ (child) => child.type === "TEXT" && child.name === "Text",
55
+ ) as NormalizedTextNode | null;
56
+
57
+ if (!textNode) {
58
+ return createLocalSnippetElement(tag, undefined, undefined, {
59
+ comment: "내용을 제공해주세요.",
60
+ });
61
+ }
62
+
63
+ const slices = textNode.segments;
64
+
65
+ let title: string | undefined;
66
+ let description: string | undefined;
67
+
68
+ switch (slices.length) {
69
+ case 1: {
70
+ description = slices[0]?.characters.trim();
71
+
72
+ break;
73
+ }
74
+ case 2: {
75
+ title = slices[0]?.characters.trim();
76
+ description = slices[1]?.characters.trim();
77
+
78
+ break;
79
+ }
80
+ }
81
+
82
+ const iconNode = findOne(
83
+ node,
84
+ (child) => child.type === "INSTANCE" && child.name === "icon",
85
+ ) as NormalizedInstanceNode | null;
86
+
87
+ const showPrefixIcon = props["Show Prefix Icon#11840:27"].value && iconNode;
88
+ const prefixIcon = showPrefixIcon ? ctx.iconHandler.transform(iconNode) : undefined;
89
+
90
+ const commonProps = {
91
+ title,
92
+ description,
93
+ prefixIcon,
94
+ tone: camelCase(props.Tone.value),
95
+ variant: camelCase(props.Variant.value),
96
+ ...(suffix && { suffix }),
97
+ };
98
+
99
+ return createLocalSnippetElement(tag, commonProps);
100
+ });
101
+ };
@@ -21,7 +21,7 @@ import { createErrorStateHandler } from "./handlers/error-state";
21
21
  import { createFloatingActionButtonHandler } from "./handlers/floating-action-button";
22
22
  import { createHelpBubbleHandler } from "./handlers/help-bubble";
23
23
  import { createIdentityPlaceholderHandler } from "./handlers/identity-placeholder";
24
- import { createInlineBannerHandler } from "./handlers/inline-banner";
24
+ import { createPageBannerHandler } from "./handlers/page-banner";
25
25
  import { createMannerTempBadgeHandler } from "./handlers/manner-temp-badge";
26
26
  import { createMannerTempHandler } from "./handlers/manner-temp";
27
27
  import { createMenuSheetHandler } from "./handlers/menu-sheet";
@@ -66,7 +66,7 @@ export const unboundSeedComponentHandlers: Array<UnboundComponentHandler<any>> =
66
66
  createFloatingActionButtonHandler,
67
67
  createHelpBubbleHandler,
68
68
  createIdentityPlaceholderHandler,
69
- createInlineBannerHandler,
69
+ createPageBannerHandler,
70
70
  createMannerTempBadgeHandler,
71
71
  createMannerTempHandler,
72
72
  createMenuSheetHandler,
@@ -12,7 +12,8 @@ export declare const metadata: {
12
12
  "48",
13
13
  "64",
14
14
  "80",
15
- "96"
15
+ "96",
16
+ "108"
16
17
  ]
17
18
  }
18
19
  }
@@ -12,7 +12,8 @@ export const metadata = {
12
12
  "48",
13
13
  "64",
14
14
  "80",
15
- "96"
15
+ "96",
16
+ "108"
16
17
  ]
17
18
  }
18
19
  }
@@ -15,7 +15,8 @@ export declare const metadata: {
15
15
  "48",
16
16
  "64",
17
17
  "80",
18
- "96"
18
+ "96",
19
+ "108"
19
20
  ]
20
21
  },
21
22
  "Badge": {
@@ -15,7 +15,8 @@ export const metadata = {
15
15
  "48",
16
16
  "64",
17
17
  "80",
18
- "96"
18
+ "96",
19
+ "108"
19
20
  ]
20
21
  },
21
22
  "Badge": {
@@ -19,15 +19,16 @@ export declare const metadata: {
19
19
  "Brand",
20
20
  "Informative",
21
21
  "Positive",
22
- "Critical"
22
+ "Critical",
23
+ "Warning"
23
24
  ]
24
25
  },
25
26
  "Variant": {
26
27
  "type": "VARIANT",
27
28
  "variantOptions": [
28
- "Solid",
29
29
  "Weak",
30
- "Outline"
30
+ "Outline",
31
+ "Solid"
31
32
  ]
32
33
  }
33
34
  }
@@ -19,15 +19,16 @@ export const metadata = {
19
19
  "Brand",
20
20
  "Informative",
21
21
  "Positive",
22
- "Critical"
22
+ "Critical",
23
+ "Warning"
23
24
  ]
24
25
  },
25
26
  "Variant": {
26
27
  "type": "VARIANT",
27
28
  "variantOptions": [
28
- "Solid",
29
29
  "Weak",
30
- "Outline"
30
+ "Outline",
31
+ "Solid"
31
32
  ]
32
33
  }
33
34
  }
@@ -2,12 +2,22 @@ export declare const metadata: {
2
2
  "name": "🟢 Divider",
3
3
  "key": "848e953725f757ea1a79e1fecc0b608a035032d3",
4
4
  "componentPropertyDefinitions": {
5
+ "Inset (Figma-Only)#36435:0": {
6
+ "type": "BOOLEAN"
7
+ },
5
8
  "Tone": {
6
9
  "type": "VARIANT",
7
10
  "variantOptions": [
8
11
  "Neutral",
9
12
  "Neutral Muted"
10
13
  ]
14
+ },
15
+ "Orientation": {
16
+ "type": "VARIANT",
17
+ "variantOptions": [
18
+ "Vertical",
19
+ "Horizontal"
20
+ ]
11
21
  }
12
22
  }
13
23
  };
@@ -2,12 +2,22 @@ export const metadata = {
2
2
  "name": "🟢 Divider",
3
3
  "key": "848e953725f757ea1a79e1fecc0b608a035032d3",
4
4
  "componentPropertyDefinitions": {
5
+ "Inset (Figma-Only)#36435:0": {
6
+ "type": "BOOLEAN"
7
+ },
5
8
  "Tone": {
6
9
  "type": "VARIANT",
7
10
  "variantOptions": [
8
11
  "Neutral",
9
12
  "Neutral Muted"
10
13
  ]
14
+ },
15
+ "Orientation": {
16
+ "type": "VARIANT",
17
+ "variantOptions": [
18
+ "Vertical",
19
+ "Horizontal"
20
+ ]
11
21
  }
12
22
  }
13
23
  };
@@ -21,13 +21,13 @@ export { metadata as contextualFloatingButton } from "./contextual-floating-butt
21
21
  export { metadata as divider } from "./divider";
22
22
  export { metadata as floatingActionButton } from "./floating-action-button";
23
23
  export { metadata as helpBubble } from "./help-bubble";
24
- export { metadata as inlineBanner } from "./inline-banner";
25
24
  export { metadata as mainTabNavigationGlobal } from "./main-tab-navigation-global";
26
25
  export { metadata as mainTabNavigationKr } from "./main-tab-navigation-kr";
27
26
  export { metadata as mannerTemp } from "./manner-temp";
28
27
  export { metadata as mannerTempBadge } from "./manner-temp-badge";
29
28
  export { metadata as menuSheet } from "./menu-sheet";
30
29
  export { metadata as multilineTextField } from "./multiline-text-field";
30
+ export { metadata as pageBanner } from "./page-banner";
31
31
  export { metadata as progressCircle } from "./progress-circle";
32
32
  export { metadata as radio } from "./radio";
33
33
  export { metadata as radioMark } from "./radio-mark";
@@ -21,13 +21,13 @@ export { metadata as contextualFloatingButton } from "./contextual-floating-butt
21
21
  export { metadata as divider } from "./divider.mjs";
22
22
  export { metadata as floatingActionButton } from "./floating-action-button.mjs";
23
23
  export { metadata as helpBubble } from "./help-bubble.mjs";
24
- export { metadata as inlineBanner } from "./inline-banner.mjs";
25
24
  export { metadata as mainTabNavigationGlobal } from "./main-tab-navigation-global.mjs";
26
25
  export { metadata as mainTabNavigationKr } from "./main-tab-navigation-kr.mjs";
27
26
  export { metadata as mannerTemp } from "./manner-temp.mjs";
28
27
  export { metadata as mannerTempBadge } from "./manner-temp-badge.mjs";
29
28
  export { metadata as menuSheet } from "./menu-sheet.mjs";
30
29
  export { metadata as multilineTextField } from "./multiline-text-field.mjs";
30
+ export { metadata as pageBanner } from "./page-banner.mjs";
31
31
  export { metadata as progressCircle } from "./progress-circle.mjs";
32
32
  export { metadata as radio } from "./radio.mjs";
33
33
  export { metadata as radioMark } from "./radio-mark.mjs";
@@ -0,0 +1,50 @@
1
+ export declare const metadata: {
2
+ "name": "🟢 Page Banner",
3
+ "key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
4
+ "componentPropertyDefinitions": {
5
+ "Show Prefix Icon#11840:27": {
6
+ "type": "BOOLEAN"
7
+ },
8
+ "Prefix Icon#35433:45": {
9
+ "type": "INSTANCE_SWAP",
10
+ "preferredValues": []
11
+ },
12
+ "Pressed#36736:0": {
13
+ "type": "BOOLEAN"
14
+ },
15
+ "Interaction": {
16
+ "type": "VARIANT",
17
+ "variantOptions": [
18
+ "Display",
19
+ "Actionable",
20
+ "Dismissible",
21
+ "With Action",
22
+ "Custom"
23
+ ]
24
+ },
25
+ "Tone": {
26
+ "type": "VARIANT",
27
+ "variantOptions": [
28
+ "Neutral",
29
+ "Informative",
30
+ "Positive",
31
+ "Warning",
32
+ "Critical"
33
+ ]
34
+ },
35
+ "Variant": {
36
+ "type": "VARIANT",
37
+ "variantOptions": [
38
+ "Weak",
39
+ "Solid"
40
+ ]
41
+ },
42
+ "Show Title": {
43
+ "type": "VARIANT",
44
+ "variantOptions": [
45
+ "False",
46
+ "True"
47
+ ]
48
+ }
49
+ }
50
+ };
@@ -0,0 +1,50 @@
1
+ export const metadata = {
2
+ "name": "🟢 Page Banner",
3
+ "key": "ce587d0f21754af05240cb32a4880227cb0ea1e1",
4
+ "componentPropertyDefinitions": {
5
+ "Show Prefix Icon#11840:27": {
6
+ "type": "BOOLEAN"
7
+ },
8
+ "Prefix Icon#35433:45": {
9
+ "type": "INSTANCE_SWAP",
10
+ "preferredValues": []
11
+ },
12
+ "Pressed#36736:0": {
13
+ "type": "BOOLEAN"
14
+ },
15
+ "Interaction": {
16
+ "type": "VARIANT",
17
+ "variantOptions": [
18
+ "Display",
19
+ "Actionable",
20
+ "Dismissible",
21
+ "With Action",
22
+ "Custom"
23
+ ]
24
+ },
25
+ "Tone": {
26
+ "type": "VARIANT",
27
+ "variantOptions": [
28
+ "Neutral",
29
+ "Informative",
30
+ "Positive",
31
+ "Warning",
32
+ "Critical"
33
+ ]
34
+ },
35
+ "Variant": {
36
+ "type": "VARIANT",
37
+ "variantOptions": [
38
+ "Weak",
39
+ "Solid"
40
+ ]
41
+ },
42
+ "Show Title": {
43
+ "type": "VARIANT",
44
+ "variantOptions": [
45
+ "False",
46
+ "True"
47
+ ]
48
+ }
49
+ }
50
+ };