@plasmicpkgs/plasmic-chakra-ui 0.0.2 → 0.0.4

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.
@@ -6,432 +6,348 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
6
6
 
7
7
  var react = require('@chakra-ui/react');
8
8
  var registerComponent = _interopDefault(require('@plasmicapp/host/registerComponent'));
9
+ var registerGlobalContext = _interopDefault(require('@plasmicapp/host/registerGlobalContext'));
9
10
  var React = _interopDefault(require('react'));
10
11
 
11
- var aspectRatioMeta = {
12
- name: "AspectRatio",
13
- importPath: "@chakra-ui/react",
14
- defaultStyles: {
15
- width: "320px"
16
- },
17
- props: {
18
- ratio: {
19
- type: "number",
20
- defaultValue: 1.333
21
- },
22
- children: {
23
- type: "slot",
24
- defaultValue: {
25
- type: "component",
26
- name: "Image"
12
+ function _extends() {
13
+ _extends = Object.assign || function (target) {
14
+ for (var i = 1; i < arguments.length; i++) {
15
+ var source = arguments[i];
16
+
17
+ for (var key in source) {
18
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
19
+ target[key] = source[key];
20
+ }
27
21
  }
28
22
  }
29
- }
30
- };
31
- function registerAspectRatio(loader, customAspectRatioMeta) {
32
- var doRegisterComponent = function doRegisterComponent() {
33
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
23
+
24
+ return target;
34
25
  };
35
26
 
36
- doRegisterComponent(react.AspectRatio, customAspectRatioMeta != null ? customAspectRatioMeta : aspectRatioMeta);
27
+ return _extends.apply(this, arguments);
37
28
  }
38
29
 
39
- var badgeMeta = {
40
- name: "Badge",
41
- importPath: "@chakra-ui/react",
42
- props: {
43
- colorScheme: {
44
- type: "choice",
45
- options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
46
- defaultValue: "gray"
47
- },
48
- variant: {
49
- type: "choice",
50
- options: ["solid", "subtle", "outline"],
51
- defaultValue: "subtle"
52
- }
53
- }
30
+ var CHAKRA_UI_IMPORT_PATH = "@chakra-ui/react";
31
+ var getPlasmicComponentName = function getPlasmicComponentName(componentName) {
32
+ return "chakra-ui-" + componentName;
54
33
  };
55
- function registerBadge(loader, customBadgeMeta) {
56
- var doRegisterComponent = function doRegisterComponent() {
57
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
58
- };
34
+ var getDisplayComponentName = function getDisplayComponentName(componentName) {
35
+ return "Chakra-UI " + componentName;
36
+ };
37
+ var getComponentNameAndImportMeta = function getComponentNameAndImportMeta(componentName, parentComponentName, opts) {
38
+ var _opts$displayName, _opts$importPath;
59
39
 
60
- doRegisterComponent(react.Badge, customBadgeMeta != null ? customBadgeMeta : badgeMeta);
61
- }
40
+ return _extends({
41
+ name: getPlasmicComponentName(componentName),
42
+ displayName: (_opts$displayName = opts == null ? void 0 : opts.displayName) != null ? _opts$displayName : getDisplayComponentName(componentName),
43
+ importPath: (_opts$importPath = opts == null ? void 0 : opts.importPath) != null ? _opts$importPath : CHAKRA_UI_IMPORT_PATH,
44
+ importName: componentName
45
+ }, parentComponentName ? {
46
+ parentComponentName: parentComponentName
47
+ } : {});
48
+ };
62
49
 
63
- var breadcrumbItemMeta = {
64
- name: "BreadcrumbItem",
65
- importPath: "@chakra-ui/react",
66
- parentComponentName: "Breadcrumb",
50
+ var accordionMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Accordion"), {
67
51
  props: {
68
- isCurrentPage: {
69
- type: "boolean"
52
+ allowMultiple: {
53
+ type: "boolean",
54
+ description: "If true, multiple accordion items can be expanded at the same time."
70
55
  },
71
- isLastChild: {
72
- type: "boolean"
56
+ allowToggle: {
57
+ type: "boolean",
58
+ description: "If true, an expanded accordion item can be collapsed again."
73
59
  },
74
- seperator: {
75
- type: "string",
76
- defaultValue: "/"
60
+ defaultIndex: {
61
+ type: "number",
62
+ description: "The index of the accordion item that should be expanded by default."
77
63
  },
78
- spacing: {
79
- type: "string",
80
- defaultValue: "8px"
64
+ reduceMotion: {
65
+ type: "boolean",
66
+ description: "If true, height animation and transitions will be disabled."
81
67
  },
82
68
  children: {
83
69
  type: "slot",
70
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("AccordionItem")],
84
71
  defaultValue: [{
85
72
  type: "component",
86
- name: "BreadcrumbLink",
87
- props: {
88
- children: {
89
- type: "text",
90
- value: "BreadcrumbItem"
91
- }
92
- }
73
+ name: /*#__PURE__*/getPlasmicComponentName("AccordionItem")
74
+ }, {
75
+ type: "component",
76
+ name: /*#__PURE__*/getPlasmicComponentName("AccordionItem")
93
77
  }]
94
78
  }
95
79
  }
96
- };
97
- function registerBreadcrumbItem(loader, customBreadcrumbItemMeta) {
80
+ });
81
+ function registerAccordion(loader, customAccordionMeta) {
98
82
  var doRegisterComponent = function doRegisterComponent() {
99
83
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
100
84
  };
101
85
 
102
- doRegisterComponent(react.BreadcrumbItem, customBreadcrumbItemMeta != null ? customBreadcrumbItemMeta : breadcrumbItemMeta);
86
+ doRegisterComponent(react.Accordion, customAccordionMeta != null ? customAccordionMeta : accordionMeta);
103
87
  }
104
- var breadcrumbLinkMeta = {
105
- name: "BreadcrumbLink",
106
- importPath: "@chakra-ui/react",
107
- parentComponentName: "BreadcrumbItem",
88
+ var accordionItemMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("AccordionItem", "Accordion"), {
108
89
  props: {
109
- href: {
90
+ id: {
110
91
  type: "string",
111
- defaultValue: "#"
92
+ description: "The unique id of the accordion item."
93
+ },
94
+ isDisabled: {
95
+ type: "boolean",
96
+ description: "If true, the accordion item will be disabled."
97
+ },
98
+ isFocusable: {
99
+ type: "boolean",
100
+ description: "If true, the accordion item will be focusable."
112
101
  },
113
102
  children: {
114
103
  type: "slot",
104
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("AccordionButton"), /*#__PURE__*/getPlasmicComponentName("AccordionPanel")],
115
105
  defaultValue: [{
116
- type: "text",
117
- value: "Home"
106
+ type: "component",
107
+ name: /*#__PURE__*/getPlasmicComponentName("AccordionButton")
108
+ }, {
109
+ type: "component",
110
+ name: /*#__PURE__*/getPlasmicComponentName("AccordionPanel")
118
111
  }]
119
112
  }
120
113
  }
121
- };
122
- function registerBreadcrumbLink(loader, customBreadcrumbLinkMeta) {
114
+ });
115
+ function registerAccordionItem(loader, customAccordionItemMeta) {
123
116
  var doRegisterComponent = function doRegisterComponent() {
124
117
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
125
118
  };
126
119
 
127
- doRegisterComponent(react.BreadcrumbLink, customBreadcrumbLinkMeta != null ? customBreadcrumbLinkMeta : breadcrumbLinkMeta);
120
+ doRegisterComponent(react.AccordionItem, customAccordionItemMeta != null ? customAccordionItemMeta : accordionItemMeta);
128
121
  }
129
- var breadcrumbMeta = {
130
- name: "Breadcrumb",
131
- importPath: "@chakra-ui/react",
122
+ var accordionButtonMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("AccordionButton", "AccordionItem"), {
132
123
  props: {
133
- separator: {
134
- type: "string",
135
- defaultValue: "/"
136
- },
137
- spacing: {
138
- type: "string",
139
- defaultValue: "8px"
124
+ _expanded: {
125
+ type: "object",
126
+ displayName: "expandedStyle",
127
+ defaultValueHint: {
128
+ bg: "orange",
129
+ color: "white"
130
+ }
140
131
  },
141
132
  children: {
142
133
  type: "slot",
143
134
  defaultValue: [{
144
- type: "component",
145
- name: "BreadcrumbItem",
146
- props: {
147
- children: {
148
- type: "component",
149
- name: "BreadcrumbLink",
150
- props: {
151
- children: {
152
- type: "text",
153
- value: "Home"
154
- }
155
- }
156
- }
157
- }
158
- }, {
159
- type: "component",
160
- name: "BreadcrumbItem",
161
- props: {
162
- children: {
163
- type: "component",
164
- name: "BreadcrumbLink",
165
- props: {
166
- children: {
167
- type: "text",
168
- value: "Docs"
169
- }
170
- }
171
- }
135
+ type: "text",
136
+ value: "Section 1 title",
137
+ styles: {
138
+ textAlign: "left"
172
139
  }
173
140
  }, {
174
141
  type: "component",
175
- name: "BreadcrumbItem",
176
- props: {
177
- isLastChild: true,
178
- isCurrentPage: true,
179
- children: {
180
- type: "component",
181
- name: "BreadcrumbLink",
182
- props: {
183
- children: {
184
- type: "text",
185
- value: "Breadcrumb"
186
- }
187
- }
188
- }
189
- }
142
+ name: /*#__PURE__*/getPlasmicComponentName("AccordionIcon")
190
143
  }]
191
144
  }
192
145
  }
193
- };
194
- function registerBreadcrumb(loader, customBreadcrumbMeta) {
146
+ });
147
+ function registerAccordionButton(loader, customAccordionButtonMeta) {
195
148
  var doRegisterComponent = function doRegisterComponent() {
196
149
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
197
150
  };
198
151
 
199
- doRegisterComponent(react.Breadcrumb, customBreadcrumbMeta != null ? customBreadcrumbMeta : breadcrumbMeta);
152
+ doRegisterComponent(react.AccordionButton, customAccordionButtonMeta != null ? customAccordionButtonMeta : accordionButtonMeta);
200
153
  }
201
- var breadcrumbSeparatorMeta = {
202
- name: "BreadcrumbSeparator",
203
- importPath: "@chakra-ui/react",
204
- parentComponentName: "Breadcrumb",
154
+ var accordionPanelMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("AccordionPanel", "AccordionItem"), {
205
155
  props: {
206
156
  children: {
207
157
  type: "slot",
208
158
  defaultValue: {
209
- type: "text",
210
- value: "/"
159
+ type: "component",
160
+ name: /*#__PURE__*/getPlasmicComponentName("Text"),
161
+ props: {
162
+ children: {
163
+ type: "text",
164
+ value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
165
+ }
166
+ }
211
167
  }
212
168
  }
213
169
  }
214
- };
215
- function registerBreadcrumbSeparator(loader, customBreadcrumbSeparatorMeta) {
170
+ });
171
+ function registerAccordionPanel(loader, customAccordionPanelMeta) {
216
172
  var doRegisterComponent = function doRegisterComponent() {
217
173
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
218
174
  };
219
175
 
220
- doRegisterComponent(react.BreadcrumbSeparator, customBreadcrumbSeparatorMeta != null ? customBreadcrumbSeparatorMeta : breadcrumbSeparatorMeta);
176
+ doRegisterComponent(react.AccordionPanel, customAccordionPanelMeta != null ? customAccordionPanelMeta : accordionPanelMeta);
221
177
  }
178
+ var accordionIconMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("AccordionIcon", "AccordionButton"), {
179
+ props: {}
180
+ });
181
+ function registerAccordionIcon(loader, customAccordionIconMeta) {
182
+ var doRegisterComponent = function doRegisterComponent() {
183
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
184
+ };
222
185
 
223
- var buttonGroupMeta = {
224
- name: "ButtonGroup",
225
- importPath: "@chakra-ui/react",
186
+ doRegisterComponent(react.AccordionIcon, customAccordionIconMeta != null ? customAccordionIconMeta : accordionIconMeta);
187
+ }
188
+
189
+ var aspectRatioMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("AspectRatio"), {
190
+ defaultStyles: {
191
+ width: "320px"
192
+ },
226
193
  props: {
227
- colorScheme: {
228
- type: "choice",
229
- options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"]
230
- },
231
- size: {
232
- type: "choice",
233
- options: ["xl", "sm", "md", "lg"],
234
- defaultValue: "md"
235
- },
236
- isAttached: {
237
- type: "boolean",
238
- defaultValue: false
239
- },
240
- isDisabled: {
241
- type: "boolean",
242
- defaultValue: false
243
- },
244
- spacing: {
245
- type: "string",
246
- defaultValue: "0.5rem"
194
+ ratio: {
195
+ type: "number",
196
+ defaultValue: 1.333
247
197
  },
248
198
  children: {
249
199
  type: "slot",
250
- defaultValue: [{
251
- type: "component",
252
- name: "Button",
253
- props: {
254
- children: {
255
- type: "text",
256
- value: "Button 1"
257
- }
258
- }
259
- }, {
200
+ defaultValue: {
260
201
  type: "component",
261
- name: "Button",
262
- props: {
263
- children: {
264
- type: "text",
265
- value: "Button 2"
266
- }
267
- }
268
- }]
202
+ name: /*#__PURE__*/getPlasmicComponentName("Image")
203
+ }
269
204
  }
270
205
  }
271
- };
272
- function registerButtonGroup(loader, customButtonGroupMeta) {
206
+ });
207
+ function registerAspectRatio(loader, customAspectRatioMeta) {
273
208
  var doRegisterComponent = function doRegisterComponent() {
274
209
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
275
210
  };
276
211
 
277
- doRegisterComponent(react.ButtonGroup, customButtonGroupMeta != null ? customButtonGroupMeta : buttonGroupMeta);
212
+ doRegisterComponent(react.AspectRatio, customAspectRatioMeta != null ? customAspectRatioMeta : aspectRatioMeta);
278
213
  }
279
- var buttonMeta = {
280
- name: "Button",
281
- importPath: "@chakra-ui/react",
282
- parentComponentName: "ButtonGroup",
214
+
215
+ var avatarBadgeMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("AvatarBadge", "Avatar"), {
283
216
  props: {
284
- size: {
285
- type: "choice",
286
- options: ["xl", "sm", "md", "lg"]
287
- },
288
- variant: {
289
- type: "choice",
290
- options: ["ghost", "outline", "solid", "link", "unstyled"],
291
- defaultValue: "solid"
217
+ boxSize: {
218
+ type: "string",
219
+ defaultValue: "1.25em"
292
220
  },
293
- colorScheme: {
294
- type: "choice",
295
- options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"]
221
+ bg: {
222
+ type: "string",
223
+ defaultValue: "green.500"
296
224
  },
297
- iconSpacing: "number",
298
- isActive: {
299
- type: "boolean"
300
- },
301
- isDisabled: {
302
- type: "boolean"
303
- },
304
- isLoading: {
305
- type: "boolean"
306
- },
307
- children: {
308
- type: "slot",
309
- defaultValue: {
310
- type: "text",
311
- value: "Button"
312
- }
313
- }
225
+ borderColor: "string"
314
226
  }
315
- };
316
- function registerButton(loader, customButtonMeta) {
227
+ });
228
+ function registerAvatarBadge(loader, customAvatarBadgeMeta) {
317
229
  var doRegisterComponent = function doRegisterComponent() {
318
230
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
319
231
  };
320
232
 
321
- doRegisterComponent(react.Button, customButtonMeta != null ? customButtonMeta : buttonMeta);
233
+ doRegisterComponent(react.AvatarBadge, customAvatarBadgeMeta != null ? customAvatarBadgeMeta : avatarBadgeMeta);
322
234
  }
323
-
324
- var checkboxMeta = {
325
- name: "Checkbox",
326
- importPath: "@chakra-ui/react",
327
- parentComponentName: "CheckboxGroup",
235
+ var avatarMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Avatar", "AvatarGroup"), {
328
236
  props: {
329
- colorScheme: {
330
- type: "choice",
331
- options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
332
- defaultValue: "blue"
333
- },
334
- size: {
335
- type: "choice",
336
- options: ["xl", "sm", "md", "lg"]
337
- },
338
- value: {
339
- type: "string"
340
- },
341
- spacing: {
237
+ name: {
342
238
  type: "string",
343
- defaultValue: "0.5rem"
344
- },
345
- isChecked: {
346
- type: "boolean"
347
- },
348
- isIndeterminate: {
349
- type: "boolean"
239
+ defaultValue: "Kola Tioluwani"
350
240
  },
351
- isDisabled: {
352
- type: "boolean"
241
+ src: {
242
+ type: "string",
243
+ defaultValue: "https://bit.ly/dan-abramov"
353
244
  },
354
- isRequired: {
355
- type: "boolean"
245
+ size: {
246
+ type: "choice",
247
+ options: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl", "full"]
356
248
  },
357
- isInvalid: {
358
- type: "boolean"
249
+ loading: {
250
+ type: "choice",
251
+ options: ["eager", "lazy"]
359
252
  },
253
+ showBorder: "boolean",
360
254
  children: {
361
255
  type: "slot",
256
+ hidePlaceholder: true,
257
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("AvatarBadge")],
362
258
  defaultValue: {
363
- type: "text",
364
- value: "Checkbox"
259
+ type: "component",
260
+ name: /*#__PURE__*/getPlasmicComponentName("AvatarBadge")
365
261
  }
366
262
  }
367
263
  }
368
- };
369
- function registerCheckbox(loader, customCheckboxMeta) {
264
+ });
265
+ function registerAvatar(loader, customAvatarMeta) {
370
266
  var doRegisterComponent = function doRegisterComponent() {
371
267
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
372
268
  };
373
269
 
374
- doRegisterComponent(react.Checkbox, customCheckboxMeta != null ? customCheckboxMeta : checkboxMeta);
270
+ doRegisterComponent(react.Avatar, customAvatarMeta != null ? customAvatarMeta : avatarMeta);
375
271
  }
376
- var checkboxGroupMeta = {
377
- name: "CheckboxGroup",
378
- importPath: "@chakra-ui/react",
272
+ var avatarGroupMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("AvatarGroup"), {
379
273
  props: {
380
274
  size: {
381
275
  type: "choice",
382
- options: ["xl", "sm", "md", "lg"],
383
- defaultValue: "md"
276
+ options: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl", "full"]
384
277
  },
385
- isDisabled: {
386
- type: "boolean"
278
+ max: {
279
+ type: "number",
280
+ description: "The maximum number of avatars to show before truncating."
281
+ },
282
+ spacing: {
283
+ type: "string",
284
+ defaultValue: "-0.75rem"
387
285
  },
388
286
  children: {
389
287
  type: "slot",
390
- allowedComponents: ["Checkbox"],
288
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("Avatar")],
391
289
  defaultValue: [{
392
290
  type: "component",
393
- name: "Checkbox",
291
+ name: /*#__PURE__*/getPlasmicComponentName("Avatar"),
394
292
  props: {
395
- value: "1",
396
- children: {
397
- type: "text",
398
- value: "Checkbox 1"
399
- }
293
+ name: "Dan Abrahmov",
294
+ src: "https://bit.ly/dan-abramov"
400
295
  }
401
296
  }, {
402
297
  type: "component",
403
- name: "Checkbox",
298
+ name: /*#__PURE__*/getPlasmicComponentName("Avatar"),
404
299
  props: {
405
- value: "2",
406
- children: {
407
- type: "text",
408
- value: "Checkbox 2"
409
- }
300
+ name: "Kola Tioluwani",
301
+ src: "https://bit.ly/tioluwani-kolawole"
410
302
  }
411
303
  }, {
412
304
  type: "component",
413
- name: "Checkbox",
305
+ name: /*#__PURE__*/getPlasmicComponentName("Avatar"),
414
306
  props: {
415
- value: "3",
416
- children: {
417
- type: "text",
418
- value: "Checkbox 3"
419
- }
307
+ name: "Kent Dodds",
308
+ src: "https://bit.ly/kent-c-dodds"
309
+ }
310
+ }, {
311
+ type: "component",
312
+ name: /*#__PURE__*/getPlasmicComponentName("Avatar"),
313
+ props: {
314
+ name: "Ryan Florence",
315
+ src: "https://bit.ly/ryan-florence"
316
+ }
317
+ }, {
318
+ type: "component",
319
+ name: /*#__PURE__*/getPlasmicComponentName("Avatar"),
320
+ props: {
321
+ name: "Prosper Otemuyiwa",
322
+ src: "https://bit.ly/prosper-baba"
323
+ }
324
+ }, {
325
+ type: "component",
326
+ name: /*#__PURE__*/getPlasmicComponentName("Avatar"),
327
+ props: {
328
+ name: "Christian Nwamba",
329
+ src: "https://bit.ly/code-beast"
330
+ }
331
+ }, {
332
+ type: "component",
333
+ name: /*#__PURE__*/getPlasmicComponentName("Avatar"),
334
+ props: {
335
+ name: "Segun Adebayo",
336
+ src: "https://bit.ly/sage-adebayo"
420
337
  }
421
338
  }]
422
339
  }
423
340
  }
424
- };
425
- function registerCheckboxGroup(loader, customCheckboxGroupMeta) {
341
+ });
342
+ function registerAvatarGroup(loader, customAvatarGroupMeta) {
426
343
  var doRegisterComponent = function doRegisterComponent() {
427
344
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
428
345
  };
429
346
 
430
- doRegisterComponent(react.CheckboxGroup, customCheckboxGroupMeta != null ? customCheckboxGroupMeta : checkboxGroupMeta);
347
+ doRegisterComponent(react.AvatarGroup, customAvatarGroupMeta != null ? customAvatarGroupMeta : avatarGroupMeta);
431
348
  }
432
349
 
433
- var codeMeta = {
434
- name: "Code",
350
+ var badgeMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Badge"), {
435
351
  importPath: "@chakra-ui/react",
436
352
  props: {
437
353
  colorScheme: {
@@ -443,652 +359,289 @@ var codeMeta = {
443
359
  type: "choice",
444
360
  options: ["solid", "subtle", "outline"],
445
361
  defaultValue: "subtle"
446
- },
447
- children: {
448
- type: "slot",
449
- defaultValue: [{
450
- type: "text",
451
- value: "Code"
452
- }]
453
362
  }
454
363
  }
455
- };
456
- function registerCode(loader, customCodeMeta) {
364
+ });
365
+ function registerBadge(loader, customBadgeMeta) {
457
366
  var doRegisterComponent = function doRegisterComponent() {
458
367
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
459
368
  };
460
369
 
461
- doRegisterComponent(react.Code, customCodeMeta != null ? customCodeMeta : codeMeta);
370
+ doRegisterComponent(react.Badge, customBadgeMeta != null ? customBadgeMeta : badgeMeta);
462
371
  }
463
372
 
464
- var dividerMeta = {
465
- name: "Divider",
466
- importPath: "@chakra-ui/react",
373
+ var breadcrumbItemMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("BreadcrumbItem", "Breadcrumb"), {
467
374
  props: {
468
- orientation: {
469
- type: "choice",
470
- options: ["vertical", "horizontal"]
375
+ isCurrentPage: {
376
+ type: "boolean"
471
377
  },
472
- variant: {
473
- type: "choice",
474
- options: ["solid", "dashed"]
475
- }
476
- }
477
- };
478
- function registerDivider(loader, customDividerMeta) {
479
- var doRegisterComponent = function doRegisterComponent() {
480
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
481
- };
482
-
483
- doRegisterComponent(react.Divider, customDividerMeta != null ? customDividerMeta : dividerMeta);
484
- }
485
-
486
- var imageMeta = {
487
- name: "Image",
488
- importPath: "@chakra-ui/react",
489
- props: {
490
- src: {
491
- type: "string",
492
- defaultValue: "https://bit.ly/naruto-sage"
378
+ isLastChild: {
379
+ type: "boolean"
493
380
  },
494
- fallbackSrc: {
381
+ seperator: {
495
382
  type: "string",
496
- defaultValue: "https://via.placeholder.com/150"
383
+ defaultValue: "/"
497
384
  },
498
- alt: {
385
+ spacing: {
499
386
  type: "string",
500
- defaultValueHint: "name of the image"
387
+ defaultValue: "8px"
501
388
  },
502
- loading: {
503
- type: "choice",
504
- options: ["lazy", "eager"]
389
+ children: {
390
+ type: "slot",
391
+ defaultValue: [{
392
+ type: "component",
393
+ name: /*#__PURE__*/getPlasmicComponentName("BreadcrumbLink"),
394
+ props: {
395
+ children: {
396
+ type: "text",
397
+ value: "BreadcrumbItem"
398
+ }
399
+ }
400
+ }]
505
401
  }
506
402
  }
507
- };
508
- function registerImage(loader, customImageMeta) {
403
+ });
404
+ function registerBreadcrumbItem(loader, customBreadcrumbItemMeta) {
509
405
  var doRegisterComponent = function doRegisterComponent() {
510
406
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
511
407
  };
512
408
 
513
- doRegisterComponent(react.Image, customImageMeta != null ? customImageMeta : imageMeta);
409
+ doRegisterComponent(react.BreadcrumbItem, customBreadcrumbItemMeta != null ? customBreadcrumbItemMeta : breadcrumbItemMeta);
514
410
  }
515
-
516
- var inputMeta = {
517
- name: "Input",
518
- importPath: "@chakra-ui/react",
411
+ var breadcrumbLinkMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("BreadcrumbLink", "BreadcrumbItem"), {
519
412
  props: {
520
- size: {
521
- type: "choice",
522
- options: ["xl", "sm", "md", "lg"]
523
- },
524
- variant: {
525
- type: "choice",
526
- options: ["outline", "filled", "flushed", "unstyled"]
527
- },
528
- isDisabled: {
529
- type: "boolean"
530
- },
531
- isInvalid: {
532
- type: "boolean"
533
- },
534
- isReadOnly: {
535
- type: "boolean"
536
- },
537
- isRequired: {
538
- type: "boolean"
539
- },
540
- errorBorderColor: {
413
+ href: {
541
414
  type: "string",
542
- defaultValue: "red.500"
415
+ defaultValue: "#"
543
416
  },
544
- focusBorderColor: {
545
- type: "string",
546
- defaultValue: "blue.500"
547
- }
548
- }
549
- };
550
- function registerInput(loader, customInputMeta) {
551
- var doRegisterComponent = function doRegisterComponent() {
552
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
553
- };
554
-
555
- doRegisterComponent(react.Input, customInputMeta != null ? customInputMeta : inputMeta);
556
- }
557
-
558
- var kbdMeta = {
559
- name: "Kbd",
560
- importPath: "@chakra-ui/react",
561
- displayName: "Keyboard Key",
562
- props: {
563
417
  children: {
564
418
  type: "slot",
565
419
  defaultValue: [{
566
420
  type: "text",
567
- value: ""
421
+ value: "Home"
568
422
  }]
569
423
  }
570
424
  }
571
- };
572
- function registerKbd(loader, customKbdMeta) {
425
+ });
426
+ function registerBreadcrumbLink(loader, customBreadcrumbLinkMeta) {
573
427
  var doRegisterComponent = function doRegisterComponent() {
574
428
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
575
429
  };
576
430
 
577
- doRegisterComponent(react.Kbd, customKbdMeta != null ? customKbdMeta : kbdMeta);
431
+ doRegisterComponent(react.BreadcrumbLink, customBreadcrumbLinkMeta != null ? customBreadcrumbLinkMeta : breadcrumbLinkMeta);
578
432
  }
579
-
580
- var numberInputMeta = {
581
- name: "NumberInput",
582
- importPath: "@chakra-ui/react",
433
+ var breadcrumbMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Breadcrumb"), {
583
434
  props: {
584
- size: {
585
- type: "choice",
586
- options: ["xl", "sm", "md", "lg"]
587
- },
588
- variant: {
589
- type: "choice",
590
- options: ["outline", "filled", "flushed", "unstyled"]
591
- },
592
- inputMode: {
593
- type: "choice",
594
- options: ["text", "search", "none", "tel", "url", "email", "numeric", "decimal"]
595
- },
596
- format: {
597
- type: "string"
598
- },
599
- step: {
600
- type: "number"
601
- },
602
- precision: {
603
- type: "number"
604
- },
605
- max: {
606
- type: "number"
607
- },
608
- min: {
609
- type: "number"
610
- },
611
- errorBorderColor: {
435
+ separator: {
612
436
  type: "string",
613
- defaultValue: "red.500"
437
+ defaultValue: "/"
614
438
  },
615
- focusBorderColor: {
439
+ spacing: {
616
440
  type: "string",
617
- defaultValue: "blue.500"
618
- },
619
- allowMouseWheel: {
620
- type: "boolean"
621
- },
622
- isDisabled: {
623
- type: "boolean"
624
- },
625
- isInvalid: {
626
- type: "boolean"
627
- },
628
- isReadOnly: {
629
- type: "boolean"
630
- },
631
- isRequired: {
632
- type: "boolean"
441
+ defaultValue: "8px"
633
442
  },
634
443
  children: {
635
444
  type: "slot",
636
445
  defaultValue: [{
637
446
  type: "component",
638
- name: "NumberInputField"
447
+ name: /*#__PURE__*/getPlasmicComponentName("BreadcrumbItem"),
448
+ props: {
449
+ children: {
450
+ type: "component",
451
+ name: /*#__PURE__*/getPlasmicComponentName("BreadcrumbLink"),
452
+ props: {
453
+ children: {
454
+ type: "text",
455
+ value: "Home"
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }, {
461
+ type: "component",
462
+ name: /*#__PURE__*/getPlasmicComponentName("BreadcrumbItem"),
463
+ props: {
464
+ children: {
465
+ type: "component",
466
+ name: /*#__PURE__*/getPlasmicComponentName("BreadcrumbLink"),
467
+ props: {
468
+ children: {
469
+ type: "text",
470
+ value: "Docs"
471
+ }
472
+ }
473
+ }
474
+ }
639
475
  }, {
640
476
  type: "component",
641
- name: "NumberInputStepper"
477
+ name: /*#__PURE__*/getPlasmicComponentName("BreadcrumbItem"),
478
+ props: {
479
+ isLastChild: true,
480
+ isCurrentPage: true,
481
+ children: {
482
+ type: "component",
483
+ name: /*#__PURE__*/getPlasmicComponentName("BreadcrumbLink"),
484
+ props: {
485
+ children: {
486
+ type: "text",
487
+ value: "Breadcrumb"
488
+ }
489
+ }
490
+ }
491
+ }
642
492
  }]
643
493
  }
644
494
  }
645
- };
646
- function registerNumberInput(loader, customNumberInputMeta) {
495
+ });
496
+ function registerBreadcrumb(loader, customBreadcrumbMeta) {
647
497
  var doRegisterComponent = function doRegisterComponent() {
648
498
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
649
499
  };
650
500
 
651
- doRegisterComponent(react.NumberInput, customNumberInputMeta != null ? customNumberInputMeta : numberInputMeta);
501
+ doRegisterComponent(react.Breadcrumb, customBreadcrumbMeta != null ? customBreadcrumbMeta : breadcrumbMeta);
652
502
  }
653
- var numberInputStepperMeta = {
654
- name: "NumberInputStepper",
655
- importPath: "@chakra-ui/react",
656
- parentComponentName: "NumberInput",
503
+ var breadcrumbSeparatorMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("BreadcrumbSeparator", "Breadcrumb"), {
657
504
  props: {
658
505
  children: {
659
506
  type: "slot",
660
- allowedComponents: ["NumberIncrementStepper", "NumberDecrementStepper"],
661
- defaultValue: [{
662
- type: "component",
663
- name: "NumberIncrementStepper"
664
- }, {
665
- type: "component",
666
- name: "NumberDecrementStepper"
667
- }]
507
+ defaultValue: {
508
+ type: "text",
509
+ value: "/"
510
+ }
668
511
  }
669
512
  }
670
- };
671
- function registerNumberInputStepper(loader, customNumberInputStepperMeta) {
672
- var doRegisterComponent = function doRegisterComponent() {
673
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
674
- };
675
-
676
- doRegisterComponent(react.NumberInputStepper, customNumberInputStepperMeta != null ? customNumberInputStepperMeta : numberInputStepperMeta);
677
- }
678
- var numberDecrementStepperMeta = {
679
- name: "NumberDecrementStepper",
680
- importPath: "@chakra-ui/react",
681
- parentComponentName: "NumberInputStepper",
682
- props: {}
683
- };
684
- function registerNumberDecrementStepper(loader, customNumberDecrementStepperMeta) {
685
- var doRegisterComponent = function doRegisterComponent() {
686
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
687
- };
688
-
689
- doRegisterComponent(react.NumberDecrementStepper, customNumberDecrementStepperMeta != null ? customNumberDecrementStepperMeta : numberDecrementStepperMeta);
690
- }
691
- var numberIncrementStepperMeta = {
692
- name: "NumberIncrementStepper",
693
- importPath: "@chakra-ui/react",
694
- parentComponentName: "NumberInputStepper",
695
- props: {}
696
- };
697
- function registerNumberIncrementStepper(loader, customNumberIncrementStepperMeta) {
698
- var doRegisterComponent = function doRegisterComponent() {
699
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
700
- };
701
-
702
- doRegisterComponent(react.NumberIncrementStepper, customNumberIncrementStepperMeta != null ? customNumberIncrementStepperMeta : numberIncrementStepperMeta);
703
- }
704
- var numberInputFieldMeta = {
705
- name: "NumberInputField",
706
- importPath: "@chakra-ui/react",
707
- parentComponentName: "NumberInput",
708
- props: {}
709
- };
710
- function registerNumberInputField(loader, customNumberInputFieldMeta) {
513
+ });
514
+ function registerBreadcrumbSeparator(loader, customBreadcrumbSeparatorMeta) {
711
515
  var doRegisterComponent = function doRegisterComponent() {
712
516
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
713
517
  };
714
518
 
715
- doRegisterComponent(react.NumberInputField, customNumberInputFieldMeta != null ? customNumberInputFieldMeta : numberInputFieldMeta);
519
+ doRegisterComponent(react.BreadcrumbSeparator, customBreadcrumbSeparatorMeta != null ? customBreadcrumbSeparatorMeta : breadcrumbSeparatorMeta);
716
520
  }
717
521
 
718
- var pinInputMeta = {
719
- name: "PinInput",
720
- importPath: "@chakra-ui/react",
522
+ var buttonGroupMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("ButtonGroup"), {
721
523
  props: {
722
- size: {
723
- type: "choice",
724
- options: ["xl", "sm", "md", "lg"]
725
- },
726
- type: {
524
+ colorScheme: {
727
525
  type: "choice",
728
- options: ["number", "alphanumeric"]
526
+ options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"]
729
527
  },
730
- variant: {
528
+ size: {
731
529
  type: "choice",
732
- options: ["outline", "filled", "flushed", "unstyled"]
733
- },
734
- mask: {
735
- type: "boolean",
736
- description: "Whether the pin input's value should be masked like 'type=password'."
737
- },
738
- manageFocus: {
739
- type: "boolean",
740
- defaultValue: true,
741
- description: "Whether the pin input should move automatically to the next input once filled."
530
+ options: ["xl", "sm", "md", "lg"],
531
+ defaultValue: "md"
742
532
  },
743
- autoFocus: {
533
+ isAttached: {
744
534
  type: "boolean",
745
- description: "Whether the pin input should be focused on mount."
535
+ defaultValue: false
746
536
  },
747
- opt: {
537
+ isDisabled: {
748
538
  type: "boolean",
749
- description: "autocomplete='one-time-code'"
750
- },
751
- errorBorderColor: {
752
- type: "string",
753
- defaultValue: "red.500"
539
+ defaultValue: false
754
540
  },
755
- focusBorderColor: {
541
+ spacing: {
756
542
  type: "string",
757
- defaultValue: "blue.500"
758
- },
759
- isDisabled: {
760
- type: "boolean"
761
- },
762
- isInvalid: {
763
- type: "boolean"
543
+ defaultValue: "0.5rem"
764
544
  },
765
545
  children: {
766
546
  type: "slot",
767
- allowedComponents: ["PintInputField"],
768
547
  defaultValue: [{
769
548
  type: "component",
770
- name: "PinInputField"
771
- }, {
772
- type: "component",
773
- name: "PinInputField"
774
- }, {
775
- type: "component",
776
- name: "PinInputField"
549
+ name: /*#__PURE__*/getPlasmicComponentName("Button"),
550
+ props: {
551
+ children: {
552
+ type: "text",
553
+ value: "Button 1"
554
+ }
555
+ }
777
556
  }, {
778
557
  type: "component",
779
- name: "PinInputField"
558
+ name: /*#__PURE__*/getPlasmicComponentName("Button"),
559
+ props: {
560
+ children: {
561
+ type: "text",
562
+ value: "Button 2"
563
+ }
564
+ }
780
565
  }]
781
566
  }
782
567
  }
783
- };
784
- function registerPinInput(loader, customPinInputMeta) {
785
- var doRegisterComponent = function doRegisterComponent() {
786
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
787
- };
788
-
789
- doRegisterComponent(react.PinInput, customPinInputMeta != null ? customPinInputMeta : pinInputMeta);
790
- }
791
- var pinInputFieldMeta = {
792
- name: "PinInputField",
793
- importPath: "@chakra-ui/react",
794
- parentComponentName: "PinInput",
795
- props: {}
796
- };
797
- function registerPinInputField(loader, customPinInputFieldMeta) {
568
+ });
569
+ function registerButtonGroup(loader, customButtonGroupMeta) {
798
570
  var doRegisterComponent = function doRegisterComponent() {
799
571
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
800
572
  };
801
573
 
802
- doRegisterComponent(react.PinInputField, customPinInputFieldMeta != null ? customPinInputFieldMeta : pinInputFieldMeta);
574
+ doRegisterComponent(react.ButtonGroup, customButtonGroupMeta != null ? customButtonGroupMeta : buttonGroupMeta);
803
575
  }
804
-
805
- var popoverMeta = {
806
- name: "Popover",
807
- importPath: "@chakra-ui/react",
576
+ var buttonMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Button", "ButtonGroup"), {
808
577
  props: {
809
- gutter: {
810
- type: "number",
811
- defaultValue: 8
812
- },
813
- arrowPadding: "number",
814
- arrowShadowColor: {
815
- type: "string",
816
- defaultValue: "rgba(0, 0, 0, 0.15)"
817
- },
818
- arrowSize: {
819
- type: "number"
820
- },
821
- offset: {
822
- type: "array",
823
- defaultValue: [0, 0]
824
- },
825
- closeDelay: "number",
826
- orientation: {
578
+ size: {
827
579
  type: "choice",
828
- options: ["horizontal", "vertical"]
580
+ options: ["xl", "sm", "md", "lg"]
829
581
  },
830
- placement: {
582
+ variant: {
831
583
  type: "choice",
832
- options: ["top", "bottom", "left", "right"],
833
- defaultValue: "bottom"
584
+ options: ["ghost", "outline", "solid", "link", "unstyled"],
585
+ defaultValue: "solid"
834
586
  },
835
- direction: {
587
+ colorScheme: {
836
588
  type: "choice",
837
- options: ["ltr", "rtl"],
838
- defaultValue: "ltr"
589
+ options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"]
839
590
  },
840
- trigger: {
841
- type: "choice",
842
- options: ["click", "hover"],
843
- defaultValue: "click"
591
+ iconSpacing: "number",
592
+ isActive: {
593
+ type: "boolean"
844
594
  },
845
- isLazy: {
595
+ isDisabled: {
846
596
  type: "boolean"
847
597
  },
848
- isOpen: {
598
+ isLoading: {
849
599
  type: "boolean"
850
600
  },
851
- children: {
852
- type: "slot",
853
- defaultValue: [{
854
- type: "component",
855
- name: "PopoverTrigger"
856
- }, {
857
- type: "component",
858
- name: "PopoverContent"
859
- }]
860
- }
861
- }
862
- };
863
- function registerPopover(loader, customPopoverMeta) {
864
- var doRegisterComponent = function doRegisterComponent() {
865
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
866
- };
867
-
868
- doRegisterComponent(react.Popover, customPopoverMeta != null ? customPopoverMeta : popoverMeta);
869
- }
870
- var popoverContentMeta = {
871
- name: "PopoverContent",
872
- importPath: "@chakra-ui/react",
873
- parentComponentName: "Popover",
874
- props: {
875
- children: {
876
- type: "slot",
877
- defaultValue: [{
878
- type: "component",
879
- name: "PopoverArrow"
880
- }, {
881
- type: "component",
882
- name: "PopoverCloseButton"
883
- }, {
884
- type: "component",
885
- name: "PopoverHeader",
886
- props: {
887
- children: {
888
- type: "text",
889
- value: "Confirmation!"
890
- }
891
- }
892
- }, {
893
- type: "component",
894
- name: "PopoverBody",
895
- props: {
896
- children: {
897
- type: "text",
898
- value: "Are you sure you want to have that milkshake?"
899
- }
900
- }
901
- }]
902
- }
903
- }
904
- };
905
- function registerPopoverContent(loader, customPopoverContentMeta) {
906
- var doRegisterComponent = function doRegisterComponent() {
907
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
908
- };
909
-
910
- doRegisterComponent(react.PopoverContent, customPopoverContentMeta != null ? customPopoverContentMeta : popoverContentMeta);
911
- }
912
- var popoverArrowMeta = {
913
- name: "PopoverArrow",
914
- importPath: "@chakra-ui/react",
915
- parentComponentName: "PopoverContent",
916
- props: {}
917
- };
918
- function registerPopoverArrow(loader, customPopoverArrowMeta) {
919
- var doRegisterComponent = function doRegisterComponent() {
920
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
921
- };
922
-
923
- doRegisterComponent(react.PopoverArrow, customPopoverArrowMeta != null ? customPopoverArrowMeta : popoverArrowMeta);
924
- }
925
- var popoverCloseButtonMeta = {
926
- name: "PopoverCloseButton",
927
- importPath: "@chakra-ui/react",
928
- parentComponentName: "PopoverContent",
929
- props: {}
930
- };
931
- function registerPopoverCloseButton(loader, customPopoverCloseButtonMeta) {
932
- var doRegisterComponent = function doRegisterComponent() {
933
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
934
- };
935
-
936
- doRegisterComponent(react.PopoverCloseButton, customPopoverCloseButtonMeta != null ? customPopoverCloseButtonMeta : popoverCloseButtonMeta);
937
- }
938
- var popoverHeaderMeta = {
939
- name: "PopoverHeader",
940
- importPath: "@chakra-ui/react",
941
- parentComponentName: "PopoverContent",
942
- props: {
943
601
  children: {
944
602
  type: "slot",
945
603
  defaultValue: {
946
604
  type: "text",
947
- value: "Confirmation!"
605
+ value: "Button"
948
606
  }
949
607
  }
950
608
  }
951
- };
952
- function registerPopoverHeader(loader, customPopoverHeaderMeta) {
609
+ });
610
+ function registerButton(loader, customButtonMeta) {
953
611
  var doRegisterComponent = function doRegisterComponent() {
954
612
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
955
613
  };
956
614
 
957
- doRegisterComponent(react.PopoverHeader, customPopoverHeaderMeta != null ? customPopoverHeaderMeta : popoverHeaderMeta);
615
+ doRegisterComponent(react.Button, customButtonMeta != null ? customButtonMeta : buttonMeta);
958
616
  }
959
- var popoverBodyMeta = {
960
- name: "PopoverBody",
961
- importPath: "@chakra-ui/react",
962
- parentComponentName: "PopoverContent",
963
- props: {
964
- children: {
965
- type: "slot",
966
- defaultValue: {
967
- type: "text",
968
- value: "Are you sure you want to have that milkshake?"
969
- }
970
- }
971
- }
972
- };
973
- function registerPopoverBody(loader, customPopoverBodyMeta) {
974
- var doRegisterComponent = function doRegisterComponent() {
975
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
976
- };
977
617
 
978
- doRegisterComponent(react.PopoverBody, customPopoverBodyMeta != null ? customPopoverBodyMeta : popoverBodyMeta);
979
- }
980
- var popoverTriggerMeta = {
981
- name: "PopoverTrigger",
982
- importPath: "@chakra-ui/react",
983
- parentComponentName: "Popover",
618
+ var chakraProviderMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("ChakraProvider"), {
984
619
  props: {
985
- children: {
986
- type: "slot",
987
- defaultValue: {
988
- type: "component",
989
- name: "Button",
990
- props: {
991
- children: {
992
- type: "text",
993
- value: "Trigger"
994
- }
995
- }
996
- }
997
- }
620
+ theme: "object"
998
621
  }
999
- };
1000
- function registerPopoverTrigger(loader, customPopoverTriggerMeta) {
622
+ });
623
+ function registerChakraProvider(loader, customChakraProviderMeta) {
1001
624
  var doRegisterComponent = function doRegisterComponent() {
1002
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
625
+ return loader ? loader.registerGlobalContext.apply(loader, arguments) : registerGlobalContext.apply(void 0, arguments);
1003
626
  };
1004
627
 
1005
- doRegisterComponent(react.PopoverTrigger, customPopoverTriggerMeta != null ? customPopoverTriggerMeta : popoverTriggerMeta);
628
+ doRegisterComponent(react.ChakraProvider, customChakraProviderMeta != null ? customChakraProviderMeta : chakraProviderMeta);
1006
629
  }
1007
630
 
1008
- var radioGroupMeta = {
1009
- name: "RadioGroup",
1010
- importPath: "@chakra-ui/react",
631
+ var checkboxMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Checkbox", "CheckboxGroup"), {
1011
632
  props: {
1012
- value: {
1013
- type: "string"
633
+ colorScheme: {
634
+ type: "choice",
635
+ options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
636
+ defaultValue: "blue"
1014
637
  },
1015
638
  size: {
1016
639
  type: "choice",
1017
640
  options: ["xl", "sm", "md", "lg"]
1018
641
  },
1019
- isDisabled: {
1020
- type: "boolean"
1021
- },
1022
- isInvalid: {
1023
- type: "boolean"
1024
- },
1025
- isReadOnly: {
1026
- type: "boolean"
1027
- },
1028
- isRequired: {
1029
- type: "boolean"
1030
- },
1031
- children: {
1032
- type: "slot",
1033
- defaultValue: {
1034
- type: "hbox",
1035
- styles: {
1036
- gap: "12px"
1037
- },
1038
- children: [{
1039
- type: "component",
1040
- name: "Radio",
1041
- props: {
1042
- value: "1",
1043
- children: {
1044
- type: "text",
1045
- value: "Radio 1"
1046
- }
1047
- }
1048
- }, {
1049
- type: "component",
1050
- name: "Radio",
1051
- props: {
1052
- value: "2",
1053
- children: {
1054
- type: "text",
1055
- value: "Radio 2"
1056
- }
1057
- }
1058
- }, {
1059
- type: "component",
1060
- name: "Radio",
1061
- props: {
1062
- value: "3",
1063
- children: {
1064
- type: "text",
1065
- value: "Radio 3"
1066
- }
1067
- }
1068
- }]
1069
- }
1070
- }
1071
- }
1072
- };
1073
- function registerRadioGroup(loader, customRadioGroupMeta) {
1074
- var doRegisterComponent = function doRegisterComponent() {
1075
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1076
- };
1077
-
1078
- doRegisterComponent(react.RadioGroup, customRadioGroupMeta != null ? customRadioGroupMeta : radioGroupMeta);
1079
- }
1080
- var radioMeta = {
1081
- name: "Radio",
1082
- importPath: "@chakra-ui/react",
1083
- parentComponentName: "RadioGroup",
1084
- props: {
1085
642
  value: {
1086
643
  type: "string"
1087
644
  },
1088
- size: {
1089
- type: "choice",
1090
- options: ["xl", "sm", "md", "lg"]
1091
- },
1092
645
  spacing: {
1093
646
  type: "string",
1094
647
  defaultValue: "0.5rem"
@@ -1096,1438 +649,1764 @@ var radioMeta = {
1096
649
  isChecked: {
1097
650
  type: "boolean"
1098
651
  },
1099
- isDisabled: {
652
+ isIndeterminate: {
1100
653
  type: "boolean"
1101
654
  },
1102
- isInvalid: {
655
+ isDisabled: {
1103
656
  type: "boolean"
1104
657
  },
1105
- isReadOnly: {
658
+ isRequired: {
1106
659
  type: "boolean"
1107
660
  },
1108
- isRequired: {
661
+ isInvalid: {
1109
662
  type: "boolean"
1110
663
  },
1111
664
  children: {
1112
665
  type: "slot",
1113
- defaultValue: [{
666
+ defaultValue: {
1114
667
  type: "text",
1115
- value: "Radio"
1116
- }]
668
+ value: "Checkbox"
669
+ }
1117
670
  }
1118
671
  }
1119
- };
1120
- function registerRadio(loader, customRadioMeta) {
672
+ });
673
+ function registerCheckbox(loader, customCheckboxMeta) {
1121
674
  var doRegisterComponent = function doRegisterComponent() {
1122
675
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1123
676
  };
1124
677
 
1125
- doRegisterComponent(react.Radio, customRadioMeta != null ? customRadioMeta : radioMeta);
678
+ doRegisterComponent(react.Checkbox, customCheckboxMeta != null ? customCheckboxMeta : checkboxMeta);
1126
679
  }
1127
-
1128
- var selectMeta = {
1129
- name: "Select",
1130
- importPath: "@chakra-ui/react",
680
+ var checkboxGroupMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("CheckboxGroup"), {
1131
681
  props: {
1132
682
  size: {
1133
683
  type: "choice",
1134
- options: ["lg", "md", "sm", "xs"],
684
+ options: ["xl", "sm", "md", "lg"],
1135
685
  defaultValue: "md"
1136
686
  },
1137
- variant: {
1138
- type: "choice",
1139
- options: ["outline", "filled", "flushed", "unstyled"],
1140
- defaultValue: "outline"
1141
- },
1142
- placeholder: {
1143
- type: "string"
1144
- },
1145
- errorBorderColor: {
1146
- type: "string",
1147
- defaultValueHint: "red.500"
1148
- },
1149
687
  isDisabled: {
1150
688
  type: "boolean"
1151
689
  },
1152
- isInvalid: {
1153
- type: "boolean"
1154
- },
1155
- isReadOnly: {
1156
- type: "boolean"
1157
- },
1158
- isRequred: {
1159
- type: "boolean"
1160
- },
1161
690
  children: {
1162
691
  type: "slot",
692
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("Checkbox")],
1163
693
  defaultValue: [{
1164
694
  type: "component",
1165
- name: "Option",
695
+ name: /*#__PURE__*/getPlasmicComponentName("Checkbox"),
1166
696
  props: {
697
+ value: "1",
1167
698
  children: {
1168
699
  type: "text",
1169
- value: "Option 01"
700
+ value: "Checkbox 1"
1170
701
  }
1171
702
  }
1172
703
  }, {
1173
704
  type: "component",
1174
- name: "Option",
705
+ name: /*#__PURE__*/getPlasmicComponentName("Checkbox"),
1175
706
  props: {
707
+ value: "2",
1176
708
  children: {
1177
709
  type: "text",
1178
- value: "Option 02"
710
+ value: "Checkbox 2"
1179
711
  }
1180
712
  }
1181
713
  }, {
1182
714
  type: "component",
1183
- name: "Option",
715
+ name: /*#__PURE__*/getPlasmicComponentName("Checkbox"),
1184
716
  props: {
717
+ value: "3",
1185
718
  children: {
1186
719
  type: "text",
1187
- value: "Option 03"
720
+ value: "Checkbox 3"
1188
721
  }
1189
722
  }
1190
723
  }]
1191
724
  }
1192
725
  }
1193
- };
1194
- function registerSelect(loader, customSelectMeta) {
726
+ });
727
+ function registerCheckboxGroup(loader, customCheckboxGroupMeta) {
1195
728
  var doRegisterComponent = function doRegisterComponent() {
1196
729
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1197
730
  };
1198
731
 
1199
- doRegisterComponent(react.Select, customSelectMeta != null ? customSelectMeta : selectMeta);
1200
- }
1201
- function Option(props) {
1202
- var value = props.value,
1203
- className = props.className,
1204
- children = props.children;
1205
- return React.createElement("option", {
1206
- className: className,
1207
- value: value
1208
- }, children);
732
+ doRegisterComponent(react.CheckboxGroup, customCheckboxGroupMeta != null ? customCheckboxGroupMeta : checkboxGroupMeta);
1209
733
  }
1210
- var optionMeta = {
1211
- name: "Option",
1212
- importPath: "@plasmicpkgs/plasmic-chakra-ui",
1213
- parentComponentName: "Select",
734
+
735
+ var codeMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Code"), {
1214
736
  props: {
1215
- value: "string",
1216
- children: {
1217
- type: "slot",
1218
- defaultValue: {
1219
- type: "text",
1220
- value: "Option"
1221
- }
737
+ colorScheme: {
738
+ type: "choice",
739
+ options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
740
+ defaultValue: "gray"
741
+ },
742
+ variant: {
743
+ type: "choice",
744
+ options: ["solid", "subtle", "outline"],
745
+ defaultValue: "subtle"
746
+ },
747
+ children: {
748
+ type: "slot",
749
+ defaultValue: [{
750
+ type: "text",
751
+ value: "Code"
752
+ }]
1222
753
  }
1223
754
  }
1224
- };
1225
- function registerOption(loader, customOptionMeta) {
755
+ });
756
+ function registerCode(loader, customCodeMeta) {
1226
757
  var doRegisterComponent = function doRegisterComponent() {
1227
758
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1228
759
  };
1229
760
 
1230
- doRegisterComponent(Option, customOptionMeta != null ? customOptionMeta : optionMeta);
761
+ doRegisterComponent(react.Code, customCodeMeta != null ? customCodeMeta : codeMeta);
1231
762
  }
1232
763
 
1233
- var statMeta = {
1234
- name: "Stat",
1235
- importPath: "@chakra-ui/react",
764
+ var dividerMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Divider"), {
765
+ props: {
766
+ orientation: {
767
+ type: "choice",
768
+ options: ["vertical", "horizontal"]
769
+ },
770
+ variant: {
771
+ type: "choice",
772
+ options: ["solid", "dashed"]
773
+ }
774
+ }
775
+ });
776
+ function registerDivider(loader, customDividerMeta) {
777
+ var doRegisterComponent = function doRegisterComponent() {
778
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
779
+ };
780
+
781
+ doRegisterComponent(react.Divider, customDividerMeta != null ? customDividerMeta : dividerMeta);
782
+ }
783
+
784
+ var formControlMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("FormControl"), {
1236
785
  props: {
786
+ label: "string",
787
+ isDisabled: "boolean",
788
+ isInvalid: "boolean",
789
+ isRequired: "boolean",
790
+ isreadOnly: "boolean",
1237
791
  children: {
1238
792
  type: "slot",
1239
793
  defaultValue: [{
1240
794
  type: "component",
1241
- name: "StatLabel",
1242
- props: {
1243
- children: {
1244
- type: "text",
1245
- value: "Collected Fees"
1246
- }
1247
- }
1248
- }, {
1249
- type: "component",
1250
- name: "StatNumber",
1251
- props: {
1252
- children: {
1253
- type: "text",
1254
- value: "£345,670"
1255
- }
1256
- }
795
+ name: /*#__PURE__*/getPlasmicComponentName("FormLabel")
1257
796
  }, {
1258
797
  type: "component",
1259
- name: "StatHelpText",
1260
- props: {
1261
- children: {
1262
- type: "hbox",
1263
- styles: {
1264
- alignItems: "center",
1265
- padding: "0px"
1266
- },
1267
- children: [{
1268
- type: "component",
1269
- name: "StatArrow",
1270
- props: {
1271
- type: "increase"
1272
- }
1273
- }, {
1274
- type: "text",
1275
- value: "Last 7 days"
1276
- }]
1277
- }
1278
- }
798
+ name: /*#__PURE__*/getPlasmicComponentName("Input")
1279
799
  }]
1280
800
  }
1281
801
  }
1282
- };
1283
- function registerStat(loader, customStatMeta) {
802
+ });
803
+ function registerFormControl(loader, customFormControlMeta) {
1284
804
  var doRegisterComponent = function doRegisterComponent() {
1285
805
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1286
806
  };
1287
807
 
1288
- doRegisterComponent(react.Stat, customStatMeta != null ? customStatMeta : statMeta);
808
+ doRegisterComponent(react.FormControl, customFormControlMeta != null ? customFormControlMeta : formControlMeta);
1289
809
  }
1290
- var statHelpTextMeta = {
1291
- name: "StatHelpText",
1292
- importPath: "@chakra-ui/react",
1293
- parentComponentName: "Stat",
810
+ var formLabelMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("FormLabel", "FormControl"), {
1294
811
  props: {
1295
812
  children: {
1296
813
  type: "slot",
1297
- defaultValue: [{
814
+ defaultValue: {
1298
815
  type: "text",
1299
- value: "StatHelpText"
1300
- }]
816
+ value: "Label",
817
+ styles: {
818
+ display: "inline-block",
819
+ width: "auto"
820
+ }
821
+ }
1301
822
  }
1302
823
  }
1303
- };
1304
- function registerStatHelpText(loader, customStatHelpTextMeta) {
824
+ });
825
+ function registerFormLabel(loader, customFormLabelMeta) {
1305
826
  var doRegisterComponent = function doRegisterComponent() {
1306
827
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1307
828
  };
1308
829
 
1309
- doRegisterComponent(react.StatHelpText, customStatHelpTextMeta != null ? customStatHelpTextMeta : statHelpTextMeta);
830
+ doRegisterComponent(react.FormLabel, customFormLabelMeta != null ? customFormLabelMeta : formLabelMeta);
1310
831
  }
1311
- var statArrowMeta = {
1312
- name: "StatArrow",
1313
- importPath: "@chakra-ui/react",
1314
- parentComponentName: "Stat",
832
+ var formHelperTextMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("FormHelperText", "FormControl"), {
1315
833
  props: {
1316
- type: {
1317
- type: "choice",
1318
- options: ["increase", "decrease"]
834
+ children: {
835
+ type: "slot",
836
+ defaultValue: {
837
+ type: "text",
838
+ value: "We'll never share your email."
839
+ }
1319
840
  }
1320
841
  }
1321
- };
1322
- function registerStatArrow(loader, customStatArrowMeta) {
842
+ });
843
+ function registerFormHelperText(loader, customFormHelperTextMeta) {
1323
844
  var doRegisterComponent = function doRegisterComponent() {
1324
845
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1325
846
  };
1326
847
 
1327
- doRegisterComponent(react.StatArrow, customStatArrowMeta != null ? customStatArrowMeta : statArrowMeta);
848
+ doRegisterComponent(react.FormHelperText, customFormHelperTextMeta != null ? customFormHelperTextMeta : formHelperTextMeta);
1328
849
  }
1329
- var statNumberMeta = {
1330
- name: "StatNumber",
1331
- importPath: "@chakra-ui/react",
1332
- parentComponentName: "Stat",
850
+ var formErrorMessageMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("FormErrorMessage", "FormControl"), {
1333
851
  props: {
1334
852
  children: {
1335
853
  type: "slot",
1336
- defaultValue: [{
854
+ defaultValue: {
1337
855
  type: "text",
1338
- value: "£345,670"
1339
- }]
856
+ value: "This is an error message."
857
+ }
1340
858
  }
1341
859
  }
1342
- };
1343
- function registerStatNumber(loader, customStatNumberMeta) {
860
+ });
861
+ function registerFormErrorMessage(loader, customFormErrorMessageMeta) {
1344
862
  var doRegisterComponent = function doRegisterComponent() {
1345
863
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1346
864
  };
1347
865
 
1348
- doRegisterComponent(react.StatNumber, customStatNumberMeta != null ? customStatNumberMeta : statNumberMeta);
866
+ doRegisterComponent(react.FormErrorMessage, customFormErrorMessageMeta != null ? customFormErrorMessageMeta : formErrorMessageMeta);
1349
867
  }
1350
- var statLabelMeta = {
1351
- name: "StatLabel",
1352
- importPath: "@chakra-ui/react",
1353
- parentComponentName: "Stat",
868
+
869
+ var headingMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Heading"), {
1354
870
  props: {
1355
871
  children: {
1356
872
  type: "slot",
1357
- defaultValue: [{
873
+ defaultValue: {
1358
874
  type: "text",
1359
- value: "StatLabel"
1360
- }]
875
+ value: "Basic text writing, including headings, body text, lists, and more."
876
+ }
877
+ },
878
+ size: {
879
+ type: "choice",
880
+ options: ["4xl", "3xl", "2xl", "xl", "lg", "md", "sm", "xs"],
881
+ defaultValue: "xl"
882
+ },
883
+ noOfLines: {
884
+ type: "number",
885
+ defaultValue: 1
1361
886
  }
1362
887
  }
1363
- };
1364
- function registerStatLabel(loader, customStatLabelMeta) {
888
+ });
889
+ function registerHeading(loader, customHeadingMeta) {
1365
890
  var doRegisterComponent = function doRegisterComponent() {
1366
891
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1367
892
  };
1368
893
 
1369
- doRegisterComponent(react.StatLabel, customStatLabelMeta != null ? customStatLabelMeta : statLabelMeta);
894
+ doRegisterComponent(react.Heading, customHeadingMeta != null ? customHeadingMeta : headingMeta);
1370
895
  }
1371
896
 
1372
- var switchMeta = {
1373
- name: "Switch",
1374
- importPath: "@chakra-ui/react",
897
+ var highlightMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Highlight"), {
1375
898
  props: {
1376
- isChecked: "boolean",
1377
- colorScheme: {
1378
- type: "choice",
1379
- options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
1380
- defaultValue: "blue"
899
+ children: {
900
+ displayName: "text",
901
+ type: "string",
902
+ defaultValue: "With the Highlight component, you can spotlight words."
1381
903
  },
1382
- size: {
1383
- type: "choice",
1384
- options: ["sm", "md", "lg"],
1385
- defaultValue: "md"
904
+ query: {
905
+ type: "array",
906
+ defaultValue: ["Spotlight", "words"]
1386
907
  },
1387
- spacing: {
908
+ styles: {
909
+ type: "object",
910
+ defaultValue: {
911
+ backgroundColor: "orange.100",
912
+ px: "0.3em",
913
+ py: "0.1em",
914
+ borderRadius: "0.3em"
915
+ }
916
+ }
917
+ }
918
+ });
919
+ function registerHighlight(loader, customHighlightMeta) {
920
+ var doRegisterComponent = function doRegisterComponent() {
921
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
922
+ };
923
+
924
+ doRegisterComponent(react.Highlight, customHighlightMeta != null ? customHighlightMeta : highlightMeta);
925
+ }
926
+
927
+ var imageMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Image"), {
928
+ props: {
929
+ src: {
1388
930
  type: "string",
1389
- defaultValue: "0.5rem"
931
+ defaultValue: "https://bit.ly/naruto-sage"
1390
932
  },
1391
- id: "string",
1392
- isDisabled: "boolean",
1393
- isInvalid: "boolean",
1394
- isReadOnly: "boolean",
1395
- isRequired: "boolean"
933
+ fallbackSrc: {
934
+ type: "string",
935
+ defaultValue: "https://via.placeholder.com/150"
936
+ },
937
+ alt: {
938
+ type: "string",
939
+ defaultValueHint: "name of the image"
940
+ },
941
+ loading: {
942
+ type: "choice",
943
+ options: ["lazy", "eager"]
944
+ }
1396
945
  }
1397
- };
1398
- function registerSwitch(loader, customSwitchMeta) {
946
+ });
947
+ function registerImage(loader, customImageMeta) {
1399
948
  var doRegisterComponent = function doRegisterComponent() {
1400
949
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1401
950
  };
1402
951
 
1403
- doRegisterComponent(react.Switch, customSwitchMeta != null ? customSwitchMeta : switchMeta);
952
+ doRegisterComponent(react.Image, customImageMeta != null ? customImageMeta : imageMeta);
1404
953
  }
1405
954
 
1406
- var tableMeta = {
1407
- name: "Table",
1408
- importPath: "@chakra-ui/react",
1409
- parentComponentName: "TableContainer",
955
+ var inputMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Input"), {
1410
956
  props: {
1411
- colorScheme: {
1412
- type: "choice",
1413
- options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
1414
- defaultValue: "gray"
1415
- },
1416
957
  size: {
1417
958
  type: "choice",
1418
- options: ["sm", "md", "lg"],
1419
- defaultValue: "md"
959
+ options: ["xl", "sm", "md", "lg"]
1420
960
  },
1421
961
  variant: {
1422
962
  type: "choice",
1423
- options: ["simple", "striped", "unstyled"],
1424
- defaultValue: "simple"
963
+ options: ["outline", "filled", "flushed", "unstyled"]
1425
964
  },
1426
- children: {
1427
- type: "slot"
965
+ isDisabled: {
966
+ type: "boolean"
967
+ },
968
+ isInvalid: {
969
+ type: "boolean"
970
+ },
971
+ isReadOnly: {
972
+ type: "boolean"
973
+ },
974
+ isRequired: {
975
+ type: "boolean"
976
+ },
977
+ errorBorderColor: {
978
+ type: "string",
979
+ defaultValue: "red.500"
980
+ },
981
+ focusBorderColor: {
982
+ type: "string",
983
+ defaultValue: "blue.500"
1428
984
  }
1429
985
  }
1430
- };
1431
- function registerTable(loader, customTableMeta) {
986
+ });
987
+ function registerInput(loader, customInputMeta) {
1432
988
  var doRegisterComponent = function doRegisterComponent() {
1433
989
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1434
990
  };
1435
991
 
1436
- doRegisterComponent(react.Table, customTableMeta != null ? customTableMeta : tableMeta);
992
+ doRegisterComponent(react.Input, customInputMeta != null ? customInputMeta : inputMeta);
1437
993
  }
1438
- var tableCaptionMeta = {
1439
- name: "TableCaption",
1440
- importPath: "@chakra-ui/react",
1441
- parentComponentName: "Table",
994
+
995
+ var kbdMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Kbd", undefined, {
996
+ displayName: "Chakra-UI Keyboard Key"
997
+ }), {
1442
998
  props: {
1443
- placement: {
1444
- type: "choice",
1445
- options: ["top", "bottom"],
1446
- defaultValue: "bottom"
1447
- },
1448
999
  children: {
1449
1000
  type: "slot",
1450
- defaultValue: {
1001
+ defaultValue: [{
1451
1002
  type: "text",
1452
- value: "Imperial to metric conversion factors"
1453
- }
1003
+ value: ""
1004
+ }]
1454
1005
  }
1455
1006
  }
1456
- };
1457
- function registerTableCaption(loader, customTableCaptionMeta) {
1007
+ });
1008
+ function registerKbd(loader, customKbdMeta) {
1458
1009
  var doRegisterComponent = function doRegisterComponent() {
1459
1010
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1460
1011
  };
1461
1012
 
1462
- doRegisterComponent(react.TableCaption, customTableCaptionMeta != null ? customTableCaptionMeta : tableCaptionMeta);
1013
+ doRegisterComponent(react.Kbd, customKbdMeta != null ? customKbdMeta : kbdMeta);
1463
1014
  }
1464
- var theadMeta = {
1465
- name: "Thead",
1466
- importPath: "@chakra-ui/react",
1467
- parentComponentName: "Table",
1015
+
1016
+ var numberInputMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("NumberInput"), {
1468
1017
  props: {
1018
+ size: {
1019
+ type: "choice",
1020
+ options: ["xl", "sm", "md", "lg"]
1021
+ },
1022
+ variant: {
1023
+ type: "choice",
1024
+ options: ["outline", "filled", "flushed", "unstyled"]
1025
+ },
1026
+ inputMode: {
1027
+ type: "choice",
1028
+ options: ["text", "search", "none", "tel", "url", "email", "numeric", "decimal"]
1029
+ },
1030
+ format: {
1031
+ type: "string"
1032
+ },
1033
+ step: {
1034
+ type: "number"
1035
+ },
1036
+ precision: {
1037
+ type: "number"
1038
+ },
1039
+ max: {
1040
+ type: "number"
1041
+ },
1042
+ min: {
1043
+ type: "number"
1044
+ },
1045
+ errorBorderColor: {
1046
+ type: "string",
1047
+ defaultValue: "red.500"
1048
+ },
1049
+ focusBorderColor: {
1050
+ type: "string",
1051
+ defaultValue: "blue.500"
1052
+ },
1053
+ allowMouseWheel: {
1054
+ type: "boolean"
1055
+ },
1056
+ isDisabled: {
1057
+ type: "boolean"
1058
+ },
1059
+ isInvalid: {
1060
+ type: "boolean"
1061
+ },
1062
+ isReadOnly: {
1063
+ type: "boolean"
1064
+ },
1065
+ isRequired: {
1066
+ type: "boolean"
1067
+ },
1469
1068
  children: {
1470
1069
  type: "slot",
1471
- allowedComponents: ["Th", "Tr"]
1070
+ defaultValue: [{
1071
+ type: "component",
1072
+ name: /*#__PURE__*/getPlasmicComponentName("NumberInputField")
1073
+ }, {
1074
+ type: "component",
1075
+ name: /*#__PURE__*/getPlasmicComponentName("NumberInputStepper")
1076
+ }]
1472
1077
  }
1473
1078
  }
1474
- };
1475
- function registerThead(loader, customTheadMeta) {
1079
+ });
1080
+ function registerNumberInput(loader, customNumberInputMeta) {
1476
1081
  var doRegisterComponent = function doRegisterComponent() {
1477
1082
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1478
1083
  };
1479
1084
 
1480
- doRegisterComponent(react.Thead, customTheadMeta != null ? customTheadMeta : theadMeta);
1085
+ doRegisterComponent(react.NumberInput, customNumberInputMeta != null ? customNumberInputMeta : numberInputMeta);
1481
1086
  }
1482
- var tbodyMeta = {
1483
- name: "Tbody",
1484
- importPath: "@chakra-ui/react",
1485
- parentComponentName: "Table",
1087
+ var numberInputStepperMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("NumberInputStepper", "NumberInput"), {
1486
1088
  props: {
1487
1089
  children: {
1488
1090
  type: "slot",
1489
- allowedComponents: ["Td", "Tr"]
1091
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("NumberIncrementStepper"), /*#__PURE__*/getPlasmicComponentName("NumberDecrementStepper")],
1092
+ defaultValue: [{
1093
+ type: "component",
1094
+ name: /*#__PURE__*/getPlasmicComponentName("NumberIncrementStepper")
1095
+ }, {
1096
+ type: "component",
1097
+ name: /*#__PURE__*/getPlasmicComponentName("NumberDecrementStepper")
1098
+ }]
1490
1099
  }
1491
1100
  }
1492
- };
1493
- function registerTbody(loader, customTbodyMeta) {
1101
+ });
1102
+ function registerNumberInputStepper(loader, customNumberInputStepperMeta) {
1494
1103
  var doRegisterComponent = function doRegisterComponent() {
1495
1104
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1496
1105
  };
1497
1106
 
1498
- doRegisterComponent(react.Tbody, customTbodyMeta != null ? customTbodyMeta : tbodyMeta);
1107
+ doRegisterComponent(react.NumberInputStepper, customNumberInputStepperMeta != null ? customNumberInputStepperMeta : numberInputStepperMeta);
1499
1108
  }
1500
- var trMeta = {
1501
- name: "Tr",
1502
- importPath: "@chakra-ui/react",
1503
- parentComponentName: "Table",
1504
- props: {
1505
- children: {
1506
- type: "slot",
1507
- allowedComponents: ["Td", "Th"]
1508
- }
1509
- }
1510
- };
1511
- function registerTr(loader, customTrMeta) {
1109
+ var numberDecrementStepperMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("NumberDecrementStepper", "NumberInputStepper"), {
1110
+ props: {}
1111
+ });
1112
+ function registerNumberDecrementStepper(loader, customNumberDecrementStepperMeta) {
1512
1113
  var doRegisterComponent = function doRegisterComponent() {
1513
1114
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1514
1115
  };
1515
1116
 
1516
- doRegisterComponent(react.Tr, customTrMeta != null ? customTrMeta : trMeta);
1117
+ doRegisterComponent(react.NumberDecrementStepper, customNumberDecrementStepperMeta != null ? customNumberDecrementStepperMeta : numberDecrementStepperMeta);
1517
1118
  }
1518
- var tdMeta = {
1519
- name: "Td",
1520
- importPath: "@chakra-ui/react",
1521
- parentComponentName: "Tr",
1522
- props: {
1523
- isNumeric: "boolean",
1524
- children: {
1525
- type: "slot",
1526
- defaultValue: {
1527
- type: "text",
1528
- value: "Table Cell"
1529
- }
1530
- }
1531
- }
1532
- };
1533
- function registerTd(loader, customTdMeta) {
1119
+ var numberIncrementStepperMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("NumberIncrementStepper", "NumberInputStepper"), {
1120
+ props: {}
1121
+ });
1122
+ function registerNumberIncrementStepper(loader, customNumberIncrementStepperMeta) {
1534
1123
  var doRegisterComponent = function doRegisterComponent() {
1535
1124
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1536
1125
  };
1537
1126
 
1538
- doRegisterComponent(react.Td, customTdMeta != null ? customTdMeta : tdMeta);
1127
+ doRegisterComponent(react.NumberIncrementStepper, customNumberIncrementStepperMeta != null ? customNumberIncrementStepperMeta : numberIncrementStepperMeta);
1539
1128
  }
1540
- var thMeta = {
1541
- name: "Th",
1542
- importPath: "@chakra-ui/react",
1543
- parentComponentName: "Tr",
1129
+ var numberInputFieldMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("NumberInputField", "NumberInput"), {
1130
+ props: {}
1131
+ });
1132
+ function registerNumberInputField(loader, customNumberInputFieldMeta) {
1133
+ var doRegisterComponent = function doRegisterComponent() {
1134
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1135
+ };
1136
+
1137
+ doRegisterComponent(react.NumberInputField, customNumberInputFieldMeta != null ? customNumberInputFieldMeta : numberInputFieldMeta);
1138
+ }
1139
+
1140
+ var pinInputMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("PinInput"), {
1544
1141
  props: {
1545
- isNumeric: "boolean",
1142
+ size: {
1143
+ type: "choice",
1144
+ options: ["xl", "sm", "md", "lg"]
1145
+ },
1146
+ type: {
1147
+ type: "choice",
1148
+ options: ["number", "alphanumeric"]
1149
+ },
1150
+ variant: {
1151
+ type: "choice",
1152
+ options: ["outline", "filled", "flushed", "unstyled"]
1153
+ },
1154
+ mask: {
1155
+ type: "boolean",
1156
+ description: "Whether the pin input's value should be masked like 'type=password'."
1157
+ },
1158
+ manageFocus: {
1159
+ type: "boolean",
1160
+ defaultValue: true,
1161
+ description: "Whether the pin input should move automatically to the next input once filled."
1162
+ },
1163
+ autoFocus: {
1164
+ type: "boolean",
1165
+ description: "Whether the pin input should be focused on mount."
1166
+ },
1167
+ opt: {
1168
+ type: "boolean",
1169
+ description: "autocomplete='one-time-code'"
1170
+ },
1171
+ errorBorderColor: {
1172
+ type: "string",
1173
+ defaultValue: "red.500"
1174
+ },
1175
+ focusBorderColor: {
1176
+ type: "string",
1177
+ defaultValue: "blue.500"
1178
+ },
1179
+ isDisabled: {
1180
+ type: "boolean"
1181
+ },
1182
+ isInvalid: {
1183
+ type: "boolean"
1184
+ },
1546
1185
  children: {
1547
1186
  type: "slot",
1548
- defaultValue: {
1549
- type: "text",
1550
- value: "Table Cell"
1551
- }
1187
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("PinInputField")],
1188
+ defaultValue: [{
1189
+ type: "component",
1190
+ name: /*#__PURE__*/getPlasmicComponentName("PinInputField")
1191
+ }, {
1192
+ type: "component",
1193
+ name: /*#__PURE__*/getPlasmicComponentName("PinInputField")
1194
+ }, {
1195
+ type: "component",
1196
+ name: /*#__PURE__*/getPlasmicComponentName("PinInputField")
1197
+ }, {
1198
+ type: "component",
1199
+ name: /*#__PURE__*/getPlasmicComponentName("PinInputField")
1200
+ }]
1552
1201
  }
1553
1202
  }
1554
- };
1555
- function registerTh(loader, customThMeta) {
1203
+ });
1204
+ function registerPinInput(loader, customPinInputMeta) {
1556
1205
  var doRegisterComponent = function doRegisterComponent() {
1557
1206
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1558
1207
  };
1559
1208
 
1560
- doRegisterComponent(react.Th, customThMeta != null ? customThMeta : thMeta);
1209
+ doRegisterComponent(react.PinInput, customPinInputMeta != null ? customPinInputMeta : pinInputMeta);
1561
1210
  }
1562
- var tableContainerMeta = {
1563
- name: "TableContainer",
1564
- importPath: "@chakra-ui/react",
1211
+ var pinInputFieldMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("PinInputField", "PinInput"), {
1212
+ props: {}
1213
+ });
1214
+ function registerPinInputField(loader, customPinInputFieldMeta) {
1215
+ var doRegisterComponent = function doRegisterComponent() {
1216
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1217
+ };
1218
+
1219
+ doRegisterComponent(react.PinInputField, customPinInputFieldMeta != null ? customPinInputFieldMeta : pinInputFieldMeta);
1220
+ }
1221
+
1222
+ var popoverMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Popover"), {
1565
1223
  props: {
1566
- overflowX: {
1224
+ gutter: {
1225
+ type: "number",
1226
+ defaultValue: 8
1227
+ },
1228
+ arrowPadding: "number",
1229
+ arrowShadowColor: {
1230
+ type: "string",
1231
+ defaultValue: "rgba(0, 0, 0, 0.15)"
1232
+ },
1233
+ arrowSize: {
1234
+ type: "number"
1235
+ },
1236
+ offset: {
1237
+ type: "array",
1238
+ defaultValue: [0, 0]
1239
+ },
1240
+ closeDelay: "number",
1241
+ orientation: {
1567
1242
  type: "choice",
1568
- options: ["auto", "scroll", "hidden", "visible"]
1243
+ options: ["horizontal", "vertical"]
1569
1244
  },
1570
- overflowY: {
1245
+ placement: {
1571
1246
  type: "choice",
1572
- options: ["auto", "scroll", "hidden", "visible"]
1247
+ options: ["top", "bottom", "left", "right"],
1248
+ defaultValue: "bottom"
1573
1249
  },
1574
- whiteSpace: {
1250
+ direction: {
1575
1251
  type: "choice",
1576
- options: ["normal", "nowrap", "pre", "pre-line", "pre-wrap"]
1252
+ options: ["ltr", "rtl"],
1253
+ defaultValue: "ltr"
1254
+ },
1255
+ trigger: {
1256
+ type: "choice",
1257
+ options: ["click", "hover"],
1258
+ defaultValue: "click"
1259
+ },
1260
+ isLazy: {
1261
+ type: "boolean"
1262
+ },
1263
+ isOpen: {
1264
+ type: "boolean"
1577
1265
  },
1578
1266
  children: {
1579
1267
  type: "slot",
1580
- allowedComponents: ["Table"],
1581
- defaultValue: {
1268
+ defaultValue: [{
1582
1269
  type: "component",
1583
- name: "Table",
1584
- props: {
1585
- children: [{
1586
- type: "component",
1587
- name: "Thead",
1588
- props: {
1589
- children: {
1590
- type: "component",
1591
- name: "Tr",
1592
- props: {
1593
- children: [{
1594
- type: "component",
1595
- name: "Th",
1596
- props: {
1597
- children: {
1598
- type: "text",
1599
- value: "TO CONVERT"
1600
- }
1601
- }
1602
- }, {
1603
- type: "component",
1604
- name: "Th",
1605
- props: {
1606
- children: {
1607
- type: "text",
1608
- value: "INTO"
1609
- }
1610
- }
1611
- }, {
1612
- type: "component",
1613
- name: "Th",
1614
- props: {
1615
- children: {
1616
- type: "text",
1617
- value: "MULTIPLY BY"
1618
- }
1619
- }
1620
- }]
1621
- }
1622
- }
1623
- }
1624
- }, {
1625
- type: "component",
1626
- name: "Tbody",
1627
- props: {
1628
- children: [{
1629
- type: "component",
1630
- name: "Tr",
1631
- props: {
1632
- children: [{
1633
- type: "component",
1634
- name: "Td",
1635
- props: {
1636
- children: {
1637
- type: "text",
1638
- value: "inches"
1639
- }
1640
- }
1641
- }, {
1642
- type: "component",
1643
- name: "Td",
1644
- props: {
1645
- children: {
1646
- type: "text",
1647
- value: "millimetres (mm)"
1648
- }
1649
- }
1650
- }, {
1651
- type: "component",
1652
- name: "Td",
1653
- props: {
1654
- children: {
1655
- type: "text",
1656
- value: "25.4"
1657
- }
1658
- }
1659
- }]
1660
- }
1661
- }]
1662
- }
1663
- }]
1664
- }
1665
- }
1270
+ name: /*#__PURE__*/getPlasmicComponentName("PopoverTrigger")
1271
+ }, {
1272
+ type: "component",
1273
+ name: /*#__PURE__*/getPlasmicComponentName("PopoverContent")
1274
+ }]
1666
1275
  }
1667
1276
  }
1668
- };
1669
- function registerTableContainer(loader, customTableContainerMeta) {
1277
+ });
1278
+ function registerPopover(loader, customPopoverMeta) {
1670
1279
  var doRegisterComponent = function doRegisterComponent() {
1671
1280
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1672
1281
  };
1673
1282
 
1674
- doRegisterComponent(react.TableContainer, customTableContainerMeta != null ? customTableContainerMeta : tableContainerMeta);
1283
+ doRegisterComponent(react.Popover, customPopoverMeta != null ? customPopoverMeta : popoverMeta);
1675
1284
  }
1676
- var tfootMeta = {
1677
- name: "Tfoot",
1678
- importPath: "@chakra-ui/react",
1679
- parentComponentName: "Table",
1285
+ var popoverContentMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("PopoverContent", "Popover"), {
1680
1286
  props: {
1681
1287
  children: {
1682
1288
  type: "slot",
1683
1289
  defaultValue: [{
1684
1290
  type: "component",
1685
- name: "Tr",
1291
+ name: /*#__PURE__*/getPlasmicComponentName("PopoverArrow")
1292
+ }, {
1293
+ type: "component",
1294
+ name: /*#__PURE__*/getPlasmicComponentName("PopoverCloseButton")
1295
+ }, {
1296
+ type: "component",
1297
+ name: /*#__PURE__*/getPlasmicComponentName("PopoverHeader"),
1686
1298
  props: {
1687
- children: [{
1688
- type: "component",
1689
- name: "Th",
1690
- props: {
1691
- children: {
1692
- type: "text",
1693
- value: "Name"
1694
- }
1695
- }
1696
- }]
1299
+ children: {
1300
+ type: "text",
1301
+ value: "Confirmation!"
1302
+ }
1303
+ }
1304
+ }, {
1305
+ type: "component",
1306
+ name: /*#__PURE__*/getPlasmicComponentName("PopoverBody"),
1307
+ props: {
1308
+ children: {
1309
+ type: "text",
1310
+ value: "Are you sure you want to have that milkshake?"
1311
+ }
1697
1312
  }
1698
1313
  }]
1699
1314
  }
1700
1315
  }
1701
- };
1702
- function registerTfoot(loader, customTfootMeta) {
1316
+ });
1317
+ function registerPopoverContent(loader, customPopoverContentMeta) {
1703
1318
  var doRegisterComponent = function doRegisterComponent() {
1704
1319
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1705
1320
  };
1706
1321
 
1707
- doRegisterComponent(react.Tfoot, customTfootMeta != null ? customTfootMeta : tfootMeta);
1322
+ doRegisterComponent(react.PopoverContent, customPopoverContentMeta != null ? customPopoverContentMeta : popoverContentMeta);
1708
1323
  }
1709
-
1710
- var tabListMeta = {
1711
- name: "TabList",
1712
- importPath: "@chakra-ui/react",
1713
- parentComponentName: "Tabs",
1714
- props: {
1715
- children: {
1716
- type: "slot",
1717
- allowedComponents: ["Tab"]
1718
- }
1719
- }
1720
- };
1721
- function registerTabList(loader, customTabListMeta) {
1324
+ var popoverArrowMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("PopoverArrow", "PopoverContent"), {
1325
+ props: {}
1326
+ });
1327
+ function registerPopoverArrow(loader, customPopoverArrowMeta) {
1722
1328
  var doRegisterComponent = function doRegisterComponent() {
1723
1329
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1724
1330
  };
1725
1331
 
1726
- doRegisterComponent(react.TabList, customTabListMeta != null ? customTabListMeta : tabListMeta);
1332
+ doRegisterComponent(react.PopoverArrow, customPopoverArrowMeta != null ? customPopoverArrowMeta : popoverArrowMeta);
1727
1333
  }
1728
- var tabsMeta = {
1729
- name: "Tabs",
1730
- importPath: "@chakra-ui/react",
1731
- props: {
1732
- align: {
1733
- type: "choice",
1734
- options: ["start", "center", "end"]
1735
- },
1736
- colorScheme: {
1737
- type: "choice",
1738
- options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"]
1739
- },
1740
- orientation: {
1741
- type: "choice",
1742
- options: ["horizontal", "vertical"]
1743
- },
1744
- size: {
1745
- type: "choice",
1746
- options: ["sm", "md", "lg"]
1747
- },
1748
- variant: {
1749
- type: "choice",
1750
- options: ["line", "enclosed", "enclosed-colored", "soft-rounded", "solid-rounded", "unstyled"],
1751
- defaultValue: "line"
1752
- },
1753
- direction: {
1754
- type: "choice",
1755
- options: ["ltr", "rtl"]
1756
- },
1757
- index: {
1758
- type: "number"
1759
- },
1760
- isFitted: "boolean",
1761
- isLazy: "boolean",
1762
- isManual: "boolean",
1763
- children: {
1764
- type: "slot",
1765
- allowedComponents: ["TabList", "TabPanels"],
1766
- defaultValue: [{
1767
- type: "component",
1768
- name: "TabList",
1769
- props: {
1770
- children: [{
1771
- type: "component",
1772
- name: "Tab",
1773
- props: {
1774
- children: {
1775
- type: "text",
1776
- value: "Tab 1"
1777
- }
1778
- }
1779
- }, {
1780
- type: "component",
1781
- name: "Tab",
1782
- props: {
1783
- children: {
1784
- type: "text",
1785
- value: "Tab 2"
1786
- }
1787
- }
1788
- }, {
1789
- type: "component",
1790
- name: "Tab",
1791
- props: {
1792
- children: {
1793
- type: "text",
1794
- value: "Tab 3"
1795
- }
1796
- }
1797
- }]
1798
- }
1799
- }, {
1800
- type: "component",
1801
- name: "TabPanels",
1802
- props: {
1803
- children: [{
1804
- type: "component",
1805
- name: "TabPanel",
1806
- props: {
1807
- children: {
1808
- type: "text",
1809
- value: "Tab 1's Panel Content"
1810
- }
1811
- }
1812
- }, {
1813
- type: "component",
1814
- name: "TabPanel",
1815
- props: {
1816
- children: {
1817
- type: "text",
1818
- value: "Tab 2's Panel Content"
1819
- }
1820
- }
1821
- }, {
1822
- type: "component",
1823
- name: "TabPanel",
1824
- props: {
1825
- children: {
1826
- type: "text",
1827
- value: "Tab 3's Panel Content"
1828
- }
1829
- }
1830
- }]
1831
- }
1832
- }]
1833
- }
1834
- }
1835
- };
1836
- function registerTabs(loader, customTabsMeta) {
1334
+ var popoverCloseButtonMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("PopoverCloseButton", "PopoverContent"), {
1335
+ props: {}
1336
+ });
1337
+ function registerPopoverCloseButton(loader, customPopoverCloseButtonMeta) {
1837
1338
  var doRegisterComponent = function doRegisterComponent() {
1838
1339
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1839
1340
  };
1840
1341
 
1841
- doRegisterComponent(react.Tabs, customTabsMeta != null ? customTabsMeta : tabsMeta);
1342
+ doRegisterComponent(react.PopoverCloseButton, customPopoverCloseButtonMeta != null ? customPopoverCloseButtonMeta : popoverCloseButtonMeta);
1842
1343
  }
1843
- var tabMeta = {
1844
- name: "Tab",
1845
- importPath: "@chakra-ui/react",
1846
- parentComponentName: "TabList",
1344
+ var popoverHeaderMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("PopoverHeader", "PopoverContent"), {
1847
1345
  props: {
1848
- id: "string",
1849
- isDisabled: "boolean",
1850
- panelId: "string",
1851
1346
  children: {
1852
1347
  type: "slot",
1853
1348
  defaultValue: {
1854
1349
  type: "text",
1855
- value: "Tab"
1350
+ value: "Confirmation!"
1856
1351
  }
1857
1352
  }
1858
1353
  }
1859
- };
1860
- function registerTab(loader, customTabMeta) {
1354
+ });
1355
+ function registerPopoverHeader(loader, customPopoverHeaderMeta) {
1861
1356
  var doRegisterComponent = function doRegisterComponent() {
1862
1357
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1863
1358
  };
1864
1359
 
1865
- doRegisterComponent(react.Tab, customTabMeta != null ? customTabMeta : tabMeta);
1360
+ doRegisterComponent(react.PopoverHeader, customPopoverHeaderMeta != null ? customPopoverHeaderMeta : popoverHeaderMeta);
1866
1361
  }
1867
- var tabPanelsMeta = {
1868
- name: "TabPanels",
1869
- importPath: "@chakra-ui/react",
1870
- parentComponentName: "Tabs",
1362
+ var popoverBodyMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("PopoverBody", "PopoverContent"), {
1871
1363
  props: {
1872
1364
  children: {
1873
1365
  type: "slot",
1874
- allowedComponents: ["TabPanel"]
1366
+ defaultValue: {
1367
+ type: "text",
1368
+ value: "Are you sure you want to have that milkshake?"
1369
+ }
1875
1370
  }
1876
1371
  }
1877
- };
1878
- function registerTabPanels(loader, customTabPanelsMeta) {
1372
+ });
1373
+ function registerPopoverBody(loader, customPopoverBodyMeta) {
1879
1374
  var doRegisterComponent = function doRegisterComponent() {
1880
1375
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1881
1376
  };
1882
1377
 
1883
- doRegisterComponent(react.TabPanels, customTabPanelsMeta != null ? customTabPanelsMeta : tabPanelsMeta);
1378
+ doRegisterComponent(react.PopoverBody, customPopoverBodyMeta != null ? customPopoverBodyMeta : popoverBodyMeta);
1884
1379
  }
1885
- var tabPanelMeta = {
1886
- name: "TabPanel",
1887
- importPath: "@chakra-ui/react",
1888
- parentComponentName: "TabPanels",
1380
+ var popoverTriggerMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("PopoverTrigger", "Popover"), {
1889
1381
  props: {
1890
1382
  children: {
1891
1383
  type: "slot",
1892
1384
  defaultValue: {
1893
- type: "text",
1894
- value: "Tab Panel Content"
1385
+ type: "component",
1386
+ name: /*#__PURE__*/getPlasmicComponentName("Button"),
1387
+ props: {
1388
+ children: {
1389
+ type: "text",
1390
+ value: "Trigger"
1391
+ }
1392
+ }
1895
1393
  }
1896
1394
  }
1897
1395
  }
1898
- };
1899
- function registerTabPanel(loader, customTabPanelMeta) {
1396
+ });
1397
+ function registerPopoverTrigger(loader, customPopoverTriggerMeta) {
1900
1398
  var doRegisterComponent = function doRegisterComponent() {
1901
1399
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1902
1400
  };
1903
1401
 
1904
- doRegisterComponent(react.TabPanel, customTabPanelMeta != null ? customTabPanelMeta : tabPanelMeta);
1402
+ doRegisterComponent(react.PopoverTrigger, customPopoverTriggerMeta != null ? customPopoverTriggerMeta : popoverTriggerMeta);
1905
1403
  }
1906
1404
 
1907
- var textMeta = {
1908
- name: "Text",
1909
- importPath: "@chakra-ui/react",
1405
+ var progressMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Progress"), {
1910
1406
  props: {
1911
- children: {
1912
- type: "slot",
1913
- defaultValue: [{
1914
- type: "text",
1915
- value: "Some Text"
1916
- }]
1917
- }
1918
- }
1919
- };
1920
- function registerText(loader, customTextMeta) {
1407
+ colorScheme: {
1408
+ type: "choice",
1409
+ options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
1410
+ defaultValue: "blue"
1411
+ },
1412
+ size: {
1413
+ type: "choice",
1414
+ options: ["xs", "sm", "md", "lg"],
1415
+ defaultValue: "md"
1416
+ },
1417
+ max: {
1418
+ type: "number",
1419
+ defaultValue: 100
1420
+ },
1421
+ min: {
1422
+ type: "number",
1423
+ defaultValue: 0
1424
+ },
1425
+ value: "number",
1426
+ isIndeterminate: {
1427
+ type: "boolean"
1428
+ },
1429
+ hasStripe: {
1430
+ type: "boolean"
1431
+ },
1432
+ isAnimated: {
1433
+ type: "boolean",
1434
+ hidden: function hidden(props) {
1435
+ return !props.hasStripe;
1436
+ }
1437
+ }
1438
+ }
1439
+ });
1440
+ function registerProgress(loader, customProgressMeta) {
1921
1441
  var doRegisterComponent = function doRegisterComponent() {
1922
1442
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1923
1443
  };
1924
1444
 
1925
- doRegisterComponent(react.Text, customTextMeta != null ? customTextMeta : textMeta);
1445
+ doRegisterComponent(react.Progress, customProgressMeta != null ? customProgressMeta : progressMeta);
1926
1446
  }
1927
1447
 
1928
- var highlightMeta = {
1929
- name: "Highlight",
1930
- importPath: "@chakra-ui/react",
1448
+ var radioGroupMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("RadioGroup"), {
1931
1449
  props: {
1932
- children: {
1933
- displayName: "text",
1934
- type: "string",
1935
- defaultValue: "With the Highlight component, you can spotlight words."
1450
+ value: {
1451
+ type: "string"
1936
1452
  },
1937
- query: {
1938
- type: "array",
1939
- defaultValue: ["Spotlight", "words"]
1453
+ size: {
1454
+ type: "choice",
1455
+ options: ["xl", "sm", "md", "lg"]
1940
1456
  },
1941
- styles: {
1942
- type: "object",
1457
+ isDisabled: {
1458
+ type: "boolean"
1459
+ },
1460
+ isInvalid: {
1461
+ type: "boolean"
1462
+ },
1463
+ isReadOnly: {
1464
+ type: "boolean"
1465
+ },
1466
+ isRequired: {
1467
+ type: "boolean"
1468
+ },
1469
+ children: {
1470
+ type: "slot",
1943
1471
  defaultValue: {
1944
- backgroundColor: "orange.100",
1945
- px: "0.3em",
1946
- py: "0.1em",
1947
- borderRadius: "0.3em"
1472
+ type: "hbox",
1473
+ styles: {
1474
+ gap: "12px"
1475
+ },
1476
+ children: [{
1477
+ type: "component",
1478
+ name: /*#__PURE__*/getPlasmicComponentName("Radio"),
1479
+ props: {
1480
+ value: "1",
1481
+ children: {
1482
+ type: "text",
1483
+ value: "Radio 1"
1484
+ }
1485
+ }
1486
+ }, {
1487
+ type: "component",
1488
+ name: /*#__PURE__*/getPlasmicComponentName("Radio"),
1489
+ props: {
1490
+ value: "2",
1491
+ children: {
1492
+ type: "text",
1493
+ value: "Radio 2"
1494
+ }
1495
+ }
1496
+ }, {
1497
+ type: "component",
1498
+ name: /*#__PURE__*/getPlasmicComponentName("Radio"),
1499
+ props: {
1500
+ value: "3",
1501
+ children: {
1502
+ type: "text",
1503
+ value: "Radio 3"
1504
+ }
1505
+ }
1506
+ }]
1948
1507
  }
1949
1508
  }
1950
1509
  }
1951
- };
1952
- function registerHighlight(loader, customHighlightMeta) {
1510
+ });
1511
+ function registerRadioGroup(loader, customRadioGroupMeta) {
1953
1512
  var doRegisterComponent = function doRegisterComponent() {
1954
1513
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1955
1514
  };
1956
1515
 
1957
- doRegisterComponent(react.Highlight, customHighlightMeta != null ? customHighlightMeta : highlightMeta);
1516
+ doRegisterComponent(react.RadioGroup, customRadioGroupMeta != null ? customRadioGroupMeta : radioGroupMeta);
1958
1517
  }
1959
-
1960
- var headingMeta = {
1961
- name: "Heading",
1962
- importPath: "@chakra-ui/react",
1518
+ var radioMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Radio", "RadioGroup"), {
1963
1519
  props: {
1964
- children: {
1965
- type: "slot",
1966
- defaultValue: {
1967
- type: "text",
1968
- value: "Basic text writing, including headings, body text, lists, and more."
1969
- }
1520
+ value: {
1521
+ type: "string"
1970
1522
  },
1971
1523
  size: {
1972
1524
  type: "choice",
1973
- options: ["4xl", "3xl", "2xl", "xl", "lg", "md", "sm", "xs"],
1974
- defaultValue: "xl"
1525
+ options: ["xl", "sm", "md", "lg"]
1975
1526
  },
1976
- noOfLines: {
1977
- type: "number",
1978
- defaultValue: 1
1527
+ spacing: {
1528
+ type: "string",
1529
+ defaultValue: "0.5rem"
1530
+ },
1531
+ isChecked: {
1532
+ type: "boolean"
1533
+ },
1534
+ isDisabled: {
1535
+ type: "boolean"
1536
+ },
1537
+ isInvalid: {
1538
+ type: "boolean"
1539
+ },
1540
+ isReadOnly: {
1541
+ type: "boolean"
1542
+ },
1543
+ isRequired: {
1544
+ type: "boolean"
1545
+ },
1546
+ children: {
1547
+ type: "slot",
1548
+ defaultValue: [{
1549
+ type: "text",
1550
+ value: "Radio"
1551
+ }]
1979
1552
  }
1980
1553
  }
1981
- };
1982
- function registerHeading(loader, customHeadingMeta) {
1554
+ });
1555
+ function registerRadio(loader, customRadioMeta) {
1983
1556
  var doRegisterComponent = function doRegisterComponent() {
1984
1557
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1985
1558
  };
1986
1559
 
1987
- doRegisterComponent(react.Heading, customHeadingMeta != null ? customHeadingMeta : headingMeta);
1560
+ doRegisterComponent(react.Radio, customRadioMeta != null ? customRadioMeta : radioMeta);
1988
1561
  }
1989
1562
 
1990
- var toastMeta = {
1991
- name: "Toast",
1992
- importPath: "@chakra-ui/react",
1563
+ var selectMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Select"), {
1993
1564
  props: {
1994
- title: {
1995
- type: "string",
1996
- defaultValue: "Toast Title"
1997
- },
1998
- description: {
1999
- type: "string",
2000
- defaultValue: "Toast description"
1565
+ size: {
1566
+ type: "choice",
1567
+ options: ["lg", "md", "sm", "xs"],
1568
+ defaultValue: "md"
2001
1569
  },
2002
1570
  variant: {
2003
1571
  type: "choice",
2004
- options: ["solid", "subtle", "left-accent", "top-accent"]
1572
+ options: ["outline", "filled", "flushed", "unstyled"],
1573
+ defaultValue: "outline"
2005
1574
  },
2006
- duration: {
2007
- type: "number",
2008
- defaultValue: 5000
1575
+ placeholder: {
1576
+ type: "string"
2009
1577
  },
2010
- isClosable: {
1578
+ errorBorderColor: {
1579
+ type: "string",
1580
+ defaultValueHint: "red.500"
1581
+ },
1582
+ isDisabled: {
2011
1583
  type: "boolean"
2012
1584
  },
2013
- position: {
2014
- type: "choice",
2015
- options: ["top", "top-right", "top-left", "bottom", "bottom-right", "bottom-left"]
1585
+ isInvalid: {
1586
+ type: "boolean"
2016
1587
  },
2017
- status: {
2018
- type: "choice",
2019
- options: ["info", "success", "warning", "error", "loading"]
1588
+ isReadOnly: {
1589
+ type: "boolean"
1590
+ },
1591
+ isRequred: {
1592
+ type: "boolean"
1593
+ },
1594
+ children: {
1595
+ type: "slot",
1596
+ defaultValue: [{
1597
+ type: "component",
1598
+ name: /*#__PURE__*/getPlasmicComponentName("Option"),
1599
+ props: {
1600
+ children: {
1601
+ type: "text",
1602
+ value: "Option 01"
1603
+ }
1604
+ }
1605
+ }, {
1606
+ type: "component",
1607
+ name: /*#__PURE__*/getPlasmicComponentName("Option"),
1608
+ props: {
1609
+ children: {
1610
+ type: "text",
1611
+ value: "Option 02"
1612
+ }
1613
+ }
1614
+ }, {
1615
+ type: "component",
1616
+ name: /*#__PURE__*/getPlasmicComponentName("Option"),
1617
+ props: {
1618
+ children: {
1619
+ type: "text",
1620
+ value: "Option 03"
1621
+ }
1622
+ }
1623
+ }]
2020
1624
  }
2021
1625
  }
2022
- };
2023
- function registerToast(loader, customToastMeta) {
1626
+ });
1627
+ function registerSelect(loader, customSelectMeta) {
2024
1628
  var doRegisterComponent = function doRegisterComponent() {
2025
1629
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2026
1630
  };
2027
1631
 
2028
- doRegisterComponent(react.Toast, customToastMeta != null ? customToastMeta : toastMeta);
1632
+ doRegisterComponent(react.Select, customSelectMeta != null ? customSelectMeta : selectMeta);
2029
1633
  }
2030
-
2031
- var tooltipMeta = {
2032
- name: "Tooltip",
2033
- importPath: "@chakra-ui/react",
1634
+ function Option(props) {
1635
+ var value = props.value,
1636
+ className = props.className,
1637
+ children = props.children;
1638
+ return React.createElement("option", {
1639
+ className: className,
1640
+ value: value
1641
+ }, children);
1642
+ }
1643
+ var optionMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Option", "Select", {
1644
+ importPath: "@plasmicpkgs/plasmic-chakra-ui"
1645
+ }), {
2034
1646
  props: {
1647
+ value: "string",
2035
1648
  children: {
2036
1649
  type: "slot",
2037
1650
  defaultValue: {
1651
+ type: "text",
1652
+ value: "Option"
1653
+ }
1654
+ }
1655
+ }
1656
+ });
1657
+ function registerOption(loader, customOptionMeta) {
1658
+ var doRegisterComponent = function doRegisterComponent() {
1659
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1660
+ };
1661
+
1662
+ doRegisterComponent(Option, customOptionMeta != null ? customOptionMeta : optionMeta);
1663
+ }
1664
+
1665
+ var statMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Stat"), {
1666
+ props: {
1667
+ children: {
1668
+ type: "slot",
1669
+ defaultValue: [{
2038
1670
  type: "component",
2039
- name: "Button",
1671
+ name: /*#__PURE__*/getPlasmicComponentName("StatLabel"),
2040
1672
  props: {
2041
1673
  children: {
2042
1674
  type: "text",
2043
- value: "Hover me"
1675
+ value: "Collected Fees"
2044
1676
  }
2045
1677
  }
2046
- }
2047
- },
2048
- label: {
2049
- type: "string",
2050
- defaultValue: "Hi! I am a tooltip"
2051
- },
2052
- placement: {
2053
- type: "choice",
2054
- options: ["auto", "auto-start", "auto-end", "top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "right", "right-start", "right-end", "left", "left-start", "left-end"],
2055
- defaultValue: "bottom"
2056
- },
2057
- hasArrow: "boolean",
2058
- arrowSize: {
2059
- type: "number",
2060
- defaultValue: 10
2061
- },
2062
- arrowShadowColor: {
2063
- type: "string"
2064
- },
2065
- arrowPadding: {
2066
- type: "number",
2067
- defaultValue: 8
2068
- },
2069
- defaultIsOpen: "boolean",
2070
- isDisabled: "boolean",
2071
- offset: {
2072
- type: "array",
2073
- defaultValue: [0, 0]
2074
- },
2075
- closeOnClick: {
2076
- type: "boolean",
2077
- defaultValue: true
2078
- },
2079
- closeDelay: {
2080
- type: "number",
2081
- defaultValue: 0
1678
+ }, {
1679
+ type: "component",
1680
+ name: /*#__PURE__*/getPlasmicComponentName("StatNumber"),
1681
+ props: {
1682
+ children: {
1683
+ type: "text",
1684
+ value: "£345,670"
1685
+ }
1686
+ }
1687
+ }, {
1688
+ type: "component",
1689
+ name: /*#__PURE__*/getPlasmicComponentName("StatHelpText"),
1690
+ props: {
1691
+ children: {
1692
+ type: "hbox",
1693
+ styles: {
1694
+ alignItems: "center",
1695
+ padding: "0px"
1696
+ },
1697
+ children: [{
1698
+ type: "component",
1699
+ name: /*#__PURE__*/getPlasmicComponentName("StatArrow"),
1700
+ props: {
1701
+ type: "increase"
1702
+ }
1703
+ }, {
1704
+ type: "text",
1705
+ value: "Last 7 days"
1706
+ }]
1707
+ }
1708
+ }
1709
+ }]
2082
1710
  }
2083
1711
  }
2084
- };
2085
- function registerTooltip(loader, customTooltipMeta) {
1712
+ });
1713
+ function registerStat(loader, customStatMeta) {
2086
1714
  var doRegisterComponent = function doRegisterComponent() {
2087
1715
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2088
1716
  };
2089
1717
 
2090
- doRegisterComponent(react.Tooltip, customTooltipMeta != null ? customTooltipMeta : tooltipMeta);
1718
+ doRegisterComponent(react.Stat, customStatMeta != null ? customStatMeta : statMeta);
2091
1719
  }
2092
-
2093
- var accordionMeta = {
2094
- name: "Accordion",
2095
- importPath: "@chakra-ui/react",
1720
+ var statHelpTextMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("StatHelpText", "Stat"), {
2096
1721
  props: {
2097
- allowMultiple: {
2098
- type: "boolean",
2099
- description: "If true, multiple accordion items can be expanded at the same time."
2100
- },
2101
- allowToggle: {
2102
- type: "boolean",
2103
- description: "If true, an expanded accordion item can be collapsed again."
2104
- },
2105
- defaultIndex: {
2106
- type: "number",
2107
- description: "The index of the accordion item that should be expanded by default."
2108
- },
2109
- reduceMotion: {
2110
- type: "boolean",
2111
- description: "If true, height animation and transitions will be disabled."
2112
- },
2113
1722
  children: {
2114
1723
  type: "slot",
2115
- allowedComponents: ["AccordionItem"],
2116
1724
  defaultValue: [{
2117
- type: "component",
2118
- name: "AccordionItem"
2119
- }, {
2120
- type: "component",
2121
- name: "AccordionItem"
1725
+ type: "text",
1726
+ value: "StatHelpText"
2122
1727
  }]
2123
1728
  }
2124
1729
  }
2125
- };
2126
- function registerAccordion(loader, customAccordionMeta) {
1730
+ });
1731
+ function registerStatHelpText(loader, customStatHelpTextMeta) {
2127
1732
  var doRegisterComponent = function doRegisterComponent() {
2128
1733
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2129
1734
  };
2130
1735
 
2131
- doRegisterComponent(react.Accordion, customAccordionMeta != null ? customAccordionMeta : accordionMeta);
1736
+ doRegisterComponent(react.StatHelpText, customStatHelpTextMeta != null ? customStatHelpTextMeta : statHelpTextMeta);
2132
1737
  }
2133
- var accordionItemMeta = {
2134
- name: "AccordionItem",
2135
- importPath: "@chakra-ui/react",
2136
- parentComponentName: "Accordion",
1738
+ var statArrowMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("StatArrow", "Stat"), {
2137
1739
  props: {
2138
- id: {
2139
- type: "string",
2140
- description: "The unique id of the accordion item."
2141
- },
2142
- isDisabled: {
2143
- type: "boolean",
2144
- description: "If true, the accordion item will be disabled."
2145
- },
2146
- isFocusable: {
2147
- type: "boolean",
2148
- description: "If true, the accordion item will be focusable."
2149
- },
2150
- children: {
2151
- type: "slot",
2152
- allowedComponents: ["AccordionButton", "AccordionPanel"],
2153
- defaultValue: [{
2154
- type: "component",
2155
- name: "AccordionButton"
2156
- }, {
2157
- type: "component",
2158
- name: "AccordionPanel"
2159
- }]
1740
+ type: {
1741
+ type: "choice",
1742
+ options: ["increase", "decrease"]
2160
1743
  }
2161
1744
  }
2162
- };
2163
- function registerAccordionItem(loader, customAccordionItemMeta) {
1745
+ });
1746
+ function registerStatArrow(loader, customStatArrowMeta) {
2164
1747
  var doRegisterComponent = function doRegisterComponent() {
2165
1748
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2166
1749
  };
2167
1750
 
2168
- doRegisterComponent(react.AccordionItem, customAccordionItemMeta != null ? customAccordionItemMeta : accordionItemMeta);
1751
+ doRegisterComponent(react.StatArrow, customStatArrowMeta != null ? customStatArrowMeta : statArrowMeta);
2169
1752
  }
2170
- var accordionButtonMeta = {
2171
- name: "AccordionButton",
2172
- importPath: "@chakra-ui/react",
2173
- parentComponentName: "AccordionItem",
1753
+ var statNumberMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("StatNumber", "Stat"), {
2174
1754
  props: {
2175
- _expanded: {
2176
- type: "object",
2177
- displayName: "expandedStyle",
2178
- defaultValueHint: {
2179
- bg: "orange",
2180
- color: "white"
2181
- }
2182
- },
2183
1755
  children: {
2184
1756
  type: "slot",
2185
1757
  defaultValue: [{
2186
1758
  type: "text",
2187
- value: "Section 1 title",
2188
- styles: {
2189
- textAlign: "left"
2190
- }
2191
- }, {
2192
- type: "component",
2193
- name: "AccordionIcon"
1759
+ value: "£345,670"
2194
1760
  }]
2195
1761
  }
2196
1762
  }
2197
- };
2198
- function registerAccordionButton(loader, customAccordionButtonMeta) {
1763
+ });
1764
+ function registerStatNumber(loader, customStatNumberMeta) {
2199
1765
  var doRegisterComponent = function doRegisterComponent() {
2200
1766
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2201
1767
  };
2202
1768
 
2203
- doRegisterComponent(react.AccordionButton, customAccordionButtonMeta != null ? customAccordionButtonMeta : accordionButtonMeta);
1769
+ doRegisterComponent(react.StatNumber, customStatNumberMeta != null ? customStatNumberMeta : statNumberMeta);
2204
1770
  }
2205
- var accordionPanelMeta = {
2206
- name: "AccordionPanel",
2207
- importPath: "@chakra-ui/react",
2208
- parentComponentName: "AccordionItem",
1771
+ var statLabelMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("StatLabel", "Stat"), {
2209
1772
  props: {
2210
1773
  children: {
2211
1774
  type: "slot",
2212
- defaultValue: {
2213
- type: "component",
2214
- name: "Text",
2215
- props: {
2216
- children: {
2217
- type: "text",
2218
- value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
2219
- }
2220
- }
2221
- }
1775
+ defaultValue: [{
1776
+ type: "text",
1777
+ value: "StatLabel"
1778
+ }]
2222
1779
  }
2223
1780
  }
2224
- };
2225
- function registerAccordionPanel(loader, customAccordionPanelMeta) {
2226
- var doRegisterComponent = function doRegisterComponent() {
2227
- return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2228
- };
2229
-
2230
- doRegisterComponent(react.AccordionPanel, customAccordionPanelMeta != null ? customAccordionPanelMeta : accordionPanelMeta);
2231
- }
2232
- var accordionIconMeta = {
2233
- name: "AccordionIcon",
2234
- importPath: "@chakra-ui/react",
2235
- parentComponentName: "AccordionButton",
2236
- props: {}
2237
- };
2238
- function registerAccordionIcon(loader, customAccordionIconMeta) {
1781
+ });
1782
+ function registerStatLabel(loader, customStatLabelMeta) {
2239
1783
  var doRegisterComponent = function doRegisterComponent() {
2240
1784
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2241
1785
  };
2242
1786
 
2243
- doRegisterComponent(react.AccordionIcon, customAccordionIconMeta != null ? customAccordionIconMeta : accordionIconMeta);
1787
+ doRegisterComponent(react.StatLabel, customStatLabelMeta != null ? customStatLabelMeta : statLabelMeta);
2244
1788
  }
2245
1789
 
2246
- var avatarBadgeMeta = {
2247
- name: "AvatarBadge",
2248
- importPath: "@chakra-ui/react",
2249
- parentComponentName: "Avatar",
1790
+ var switchMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Switch"), {
2250
1791
  props: {
2251
- boxSize: {
2252
- type: "string",
2253
- defaultValue: "1.25em"
1792
+ isChecked: "boolean",
1793
+ colorScheme: {
1794
+ type: "choice",
1795
+ options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
1796
+ defaultValue: "blue"
2254
1797
  },
2255
- bg: {
1798
+ size: {
1799
+ type: "choice",
1800
+ options: ["sm", "md", "lg"],
1801
+ defaultValue: "md"
1802
+ },
1803
+ spacing: {
2256
1804
  type: "string",
2257
- defaultValue: "green.500"
1805
+ defaultValue: "0.5rem"
2258
1806
  },
2259
- borderColor: "string"
1807
+ id: "string",
1808
+ isDisabled: "boolean",
1809
+ isInvalid: "boolean",
1810
+ isReadOnly: "boolean",
1811
+ isRequired: "boolean"
2260
1812
  }
2261
- };
2262
- function registerAvatarBadge(loader, customAvatarBadgeMeta) {
1813
+ });
1814
+ function registerSwitch(loader, customSwitchMeta) {
2263
1815
  var doRegisterComponent = function doRegisterComponent() {
2264
1816
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2265
1817
  };
2266
1818
 
2267
- doRegisterComponent(react.AvatarBadge, customAvatarBadgeMeta != null ? customAvatarBadgeMeta : avatarBadgeMeta);
1819
+ doRegisterComponent(react.Switch, customSwitchMeta != null ? customSwitchMeta : switchMeta);
2268
1820
  }
2269
- var avatarMeta = {
2270
- name: "Avatar",
2271
- importPath: "@chakra-ui/react",
2272
- parentComponentName: "AvatarGroup",
1821
+
1822
+ var tableMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Table", "TableContainer"), {
2273
1823
  props: {
2274
- name: {
2275
- type: "string",
2276
- defaultValue: "Kola Tioluwani"
2277
- },
2278
- src: {
2279
- type: "string",
2280
- defaultValue: "https://bit.ly/dan-abramov"
1824
+ colorScheme: {
1825
+ type: "choice",
1826
+ options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
1827
+ defaultValue: "gray"
2281
1828
  },
2282
1829
  size: {
2283
1830
  type: "choice",
2284
- options: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl", "full"]
1831
+ options: ["sm", "md", "lg"],
1832
+ defaultValue: "md"
2285
1833
  },
2286
- loading: {
1834
+ variant: {
2287
1835
  type: "choice",
2288
- options: ["eager", "lazy"]
1836
+ options: ["simple", "striped", "unstyled"],
1837
+ defaultValue: "simple"
2289
1838
  },
2290
- showBorder: "boolean",
2291
1839
  children: {
2292
- type: "slot",
2293
- hidePlaceholder: true,
2294
- allowedComponents: ["AvatarBadge"],
2295
- defaultValue: {
2296
- type: "component",
2297
- name: "Badge"
2298
- }
1840
+ type: "slot"
2299
1841
  }
2300
1842
  }
2301
- };
2302
- function registerAvatar(loader, customAvatarMeta) {
1843
+ });
1844
+ function registerTable(loader, customTableMeta) {
2303
1845
  var doRegisterComponent = function doRegisterComponent() {
2304
1846
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2305
1847
  };
2306
1848
 
2307
- doRegisterComponent(react.Avatar, customAvatarMeta != null ? customAvatarMeta : avatarMeta);
1849
+ doRegisterComponent(react.Table, customTableMeta != null ? customTableMeta : tableMeta);
2308
1850
  }
2309
- var avatarGroupMeta = {
2310
- name: "AvatarGroup",
2311
- importPath: "@chakra-ui/react",
1851
+ var tableCaptionMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("TableCaption", "Table"), {
2312
1852
  props: {
2313
- size: {
1853
+ placement: {
2314
1854
  type: "choice",
2315
- options: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl", "full"]
2316
- },
2317
- max: {
2318
- type: "number",
2319
- description: "The maximum number of avatars to show before truncating."
2320
- },
2321
- spacing: {
2322
- type: "string",
2323
- defaultValue: "-0.75rem"
1855
+ options: ["top", "bottom"],
1856
+ defaultValue: "bottom"
2324
1857
  },
2325
1858
  children: {
2326
1859
  type: "slot",
2327
- allowedComponents: ["Avatar"],
2328
- defaultValue: [{
2329
- type: "component",
2330
- name: "Avatar",
2331
- props: {
2332
- name: "Dan Abrahmov",
2333
- src: "https://bit.ly/dan-abramov"
2334
- }
2335
- }, {
2336
- type: "component",
2337
- name: "Avatar",
2338
- props: {
2339
- name: "Kola Tioluwani",
2340
- src: "https://bit.ly/tioluwani-kolawole"
2341
- }
2342
- }, {
2343
- type: "component",
2344
- name: "Avatar",
2345
- props: {
2346
- name: "Kent Dodds",
2347
- src: "https://bit.ly/kent-c-dodds"
2348
- }
2349
- }, {
1860
+ defaultValue: {
1861
+ type: "text",
1862
+ value: "Imperial to metric conversion factors"
1863
+ }
1864
+ }
1865
+ }
1866
+ });
1867
+ function registerTableCaption(loader, customTableCaptionMeta) {
1868
+ var doRegisterComponent = function doRegisterComponent() {
1869
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1870
+ };
1871
+
1872
+ doRegisterComponent(react.TableCaption, customTableCaptionMeta != null ? customTableCaptionMeta : tableCaptionMeta);
1873
+ }
1874
+ var theadMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Thead", "Table"), {
1875
+ props: {
1876
+ children: {
1877
+ type: "slot",
1878
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("Th"), /*#__PURE__*/getPlasmicComponentName("Tr")]
1879
+ }
1880
+ }
1881
+ });
1882
+ function registerThead(loader, customTheadMeta) {
1883
+ var doRegisterComponent = function doRegisterComponent() {
1884
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1885
+ };
1886
+
1887
+ doRegisterComponent(react.Thead, customTheadMeta != null ? customTheadMeta : theadMeta);
1888
+ }
1889
+ var tbodyMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Tbody", "Table"), {
1890
+ props: {
1891
+ children: {
1892
+ type: "slot",
1893
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("Td"), /*#__PURE__*/getPlasmicComponentName("Tr")]
1894
+ }
1895
+ }
1896
+ });
1897
+ function registerTbody(loader, customTbodyMeta) {
1898
+ var doRegisterComponent = function doRegisterComponent() {
1899
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1900
+ };
1901
+
1902
+ doRegisterComponent(react.Tbody, customTbodyMeta != null ? customTbodyMeta : tbodyMeta);
1903
+ }
1904
+ var trMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Tr", "Table"), {
1905
+ props: {
1906
+ children: {
1907
+ type: "slot",
1908
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("Td"), /*#__PURE__*/getPlasmicComponentName("Th")]
1909
+ }
1910
+ }
1911
+ });
1912
+ function registerTr(loader, customTrMeta) {
1913
+ var doRegisterComponent = function doRegisterComponent() {
1914
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1915
+ };
1916
+
1917
+ doRegisterComponent(react.Tr, customTrMeta != null ? customTrMeta : trMeta);
1918
+ }
1919
+ var tdMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Td", "Tr"), {
1920
+ props: {
1921
+ isNumeric: "boolean",
1922
+ children: {
1923
+ type: "slot",
1924
+ defaultValue: {
1925
+ type: "text",
1926
+ value: "Table Cell"
1927
+ }
1928
+ }
1929
+ }
1930
+ });
1931
+ function registerTd(loader, customTdMeta) {
1932
+ var doRegisterComponent = function doRegisterComponent() {
1933
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1934
+ };
1935
+
1936
+ doRegisterComponent(react.Td, customTdMeta != null ? customTdMeta : tdMeta);
1937
+ }
1938
+ var thMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Th", "Tr"), {
1939
+ props: {
1940
+ isNumeric: "boolean",
1941
+ children: {
1942
+ type: "slot",
1943
+ defaultValue: {
1944
+ type: "text",
1945
+ value: "Table Cell"
1946
+ }
1947
+ }
1948
+ }
1949
+ });
1950
+ function registerTh(loader, customThMeta) {
1951
+ var doRegisterComponent = function doRegisterComponent() {
1952
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1953
+ };
1954
+
1955
+ doRegisterComponent(react.Th, customThMeta != null ? customThMeta : thMeta);
1956
+ }
1957
+ var tableContainerMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("TableContainer"), {
1958
+ props: {
1959
+ overflowX: {
1960
+ type: "choice",
1961
+ options: ["auto", "scroll", "hidden", "visible"]
1962
+ },
1963
+ overflowY: {
1964
+ type: "choice",
1965
+ options: ["auto", "scroll", "hidden", "visible"]
1966
+ },
1967
+ whiteSpace: {
1968
+ type: "choice",
1969
+ options: ["normal", "nowrap", "pre", "pre-line", "pre-wrap"]
1970
+ },
1971
+ children: {
1972
+ type: "slot",
1973
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("Table")],
1974
+ defaultValue: {
2350
1975
  type: "component",
2351
- name: "Avatar",
1976
+ name: /*#__PURE__*/getPlasmicComponentName("Table"),
2352
1977
  props: {
2353
- name: "Ryan Florence",
2354
- src: "https://bit.ly/ryan-florence"
1978
+ children: [{
1979
+ type: "component",
1980
+ name: /*#__PURE__*/getPlasmicComponentName("Thead"),
1981
+ props: {
1982
+ children: {
1983
+ type: "component",
1984
+ name: /*#__PURE__*/getPlasmicComponentName("Tr"),
1985
+ props: {
1986
+ children: [{
1987
+ type: "component",
1988
+ name: /*#__PURE__*/getPlasmicComponentName("Th"),
1989
+ props: {
1990
+ children: {
1991
+ type: "text",
1992
+ value: "TO CONVERT"
1993
+ }
1994
+ }
1995
+ }, {
1996
+ type: "component",
1997
+ name: /*#__PURE__*/getPlasmicComponentName("Th"),
1998
+ props: {
1999
+ children: {
2000
+ type: "text",
2001
+ value: "INTO"
2002
+ }
2003
+ }
2004
+ }, {
2005
+ type: "component",
2006
+ name: /*#__PURE__*/getPlasmicComponentName("Th"),
2007
+ props: {
2008
+ children: {
2009
+ type: "text",
2010
+ value: "MULTIPLY BY"
2011
+ }
2012
+ }
2013
+ }]
2014
+ }
2015
+ }
2016
+ }
2017
+ }, {
2018
+ type: "component",
2019
+ name: /*#__PURE__*/getPlasmicComponentName("Tbody"),
2020
+ props: {
2021
+ children: [{
2022
+ type: "component",
2023
+ name: /*#__PURE__*/getPlasmicComponentName("Tr"),
2024
+ props: {
2025
+ children: [{
2026
+ type: "component",
2027
+ name: /*#__PURE__*/getPlasmicComponentName("Td"),
2028
+ props: {
2029
+ children: {
2030
+ type: "text",
2031
+ value: "inches"
2032
+ }
2033
+ }
2034
+ }, {
2035
+ type: "component",
2036
+ name: /*#__PURE__*/getPlasmicComponentName("Td"),
2037
+ props: {
2038
+ children: {
2039
+ type: "text",
2040
+ value: "millimetres (mm)"
2041
+ }
2042
+ }
2043
+ }, {
2044
+ type: "component",
2045
+ name: /*#__PURE__*/getPlasmicComponentName("Td"),
2046
+ props: {
2047
+ children: {
2048
+ type: "text",
2049
+ value: "25.4"
2050
+ }
2051
+ }
2052
+ }]
2053
+ }
2054
+ }]
2055
+ }
2056
+ }]
2355
2057
  }
2356
- }, {
2058
+ }
2059
+ }
2060
+ }
2061
+ });
2062
+ function registerTableContainer(loader, customTableContainerMeta) {
2063
+ var doRegisterComponent = function doRegisterComponent() {
2064
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2065
+ };
2066
+
2067
+ doRegisterComponent(react.TableContainer, customTableContainerMeta != null ? customTableContainerMeta : tableContainerMeta);
2068
+ }
2069
+ var tfootMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Tfoot", "Table"), {
2070
+ props: {
2071
+ children: {
2072
+ type: "slot",
2073
+ defaultValue: [{
2357
2074
  type: "component",
2358
- name: "Avatar",
2075
+ name: /*#__PURE__*/getPlasmicComponentName("Tr"),
2359
2076
  props: {
2360
- name: "Prosper Otemuyiwa",
2361
- src: "https://bit.ly/prosper-baba"
2077
+ children: [{
2078
+ type: "component",
2079
+ name: /*#__PURE__*/getPlasmicComponentName("Th"),
2080
+ props: {
2081
+ children: {
2082
+ type: "text",
2083
+ value: "Name"
2084
+ }
2085
+ }
2086
+ }]
2362
2087
  }
2363
- }, {
2088
+ }]
2089
+ }
2090
+ }
2091
+ });
2092
+ function registerTfoot(loader, customTfootMeta) {
2093
+ var doRegisterComponent = function doRegisterComponent() {
2094
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2095
+ };
2096
+
2097
+ doRegisterComponent(react.Tfoot, customTfootMeta != null ? customTfootMeta : tfootMeta);
2098
+ }
2099
+
2100
+ var tabListMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("TabList", "Tabs"), {
2101
+ props: {
2102
+ children: {
2103
+ type: "slot",
2104
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("Tab")]
2105
+ }
2106
+ }
2107
+ });
2108
+ function registerTabList(loader, customTabListMeta) {
2109
+ var doRegisterComponent = function doRegisterComponent() {
2110
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2111
+ };
2112
+
2113
+ doRegisterComponent(react.TabList, customTabListMeta != null ? customTabListMeta : tabListMeta);
2114
+ }
2115
+ var tabsMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Tabs"), {
2116
+ props: {
2117
+ align: {
2118
+ type: "choice",
2119
+ options: ["start", "center", "end"]
2120
+ },
2121
+ colorScheme: {
2122
+ type: "choice",
2123
+ options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"]
2124
+ },
2125
+ orientation: {
2126
+ type: "choice",
2127
+ options: ["horizontal", "vertical"]
2128
+ },
2129
+ size: {
2130
+ type: "choice",
2131
+ options: ["sm", "md", "lg"]
2132
+ },
2133
+ variant: {
2134
+ type: "choice",
2135
+ options: ["line", "enclosed", "enclosed-colored", "soft-rounded", "solid-rounded", "unstyled"],
2136
+ defaultValue: "line"
2137
+ },
2138
+ direction: {
2139
+ type: "choice",
2140
+ options: ["ltr", "rtl"]
2141
+ },
2142
+ index: {
2143
+ type: "number"
2144
+ },
2145
+ isFitted: "boolean",
2146
+ isLazy: "boolean",
2147
+ isManual: "boolean",
2148
+ children: {
2149
+ type: "slot",
2150
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("TabList"), /*#__PURE__*/getPlasmicComponentName("TabPanels")],
2151
+ defaultValue: [{
2364
2152
  type: "component",
2365
- name: "Avatar",
2153
+ name: /*#__PURE__*/getPlasmicComponentName("TabList"),
2366
2154
  props: {
2367
- name: "Christian Nwamba",
2368
- src: "https://bit.ly/code-beast"
2155
+ children: [{
2156
+ type: "component",
2157
+ name: /*#__PURE__*/getPlasmicComponentName("Tab"),
2158
+ props: {
2159
+ children: {
2160
+ type: "text",
2161
+ value: "Tab 1"
2162
+ }
2163
+ }
2164
+ }, {
2165
+ type: "component",
2166
+ name: /*#__PURE__*/getPlasmicComponentName("Tab"),
2167
+ props: {
2168
+ children: {
2169
+ type: "text",
2170
+ value: "Tab 2"
2171
+ }
2172
+ }
2173
+ }, {
2174
+ type: "component",
2175
+ name: /*#__PURE__*/getPlasmicComponentName("Tab"),
2176
+ props: {
2177
+ children: {
2178
+ type: "text",
2179
+ value: "Tab 3"
2180
+ }
2181
+ }
2182
+ }]
2369
2183
  }
2370
2184
  }, {
2371
2185
  type: "component",
2372
- name: "Avatar",
2186
+ name: /*#__PURE__*/getPlasmicComponentName("TabPanels"),
2373
2187
  props: {
2374
- name: "Segun Adebayo",
2375
- src: "https://bit.ly/sage-adebayo"
2188
+ children: [{
2189
+ type: "component",
2190
+ name: /*#__PURE__*/getPlasmicComponentName("TabPanel"),
2191
+ props: {
2192
+ children: {
2193
+ type: "text",
2194
+ value: "Tab 1's Panel Content"
2195
+ }
2196
+ }
2197
+ }, {
2198
+ type: "component",
2199
+ name: /*#__PURE__*/getPlasmicComponentName("TabPanel"),
2200
+ props: {
2201
+ children: {
2202
+ type: "text",
2203
+ value: "Tab 2's Panel Content"
2204
+ }
2205
+ }
2206
+ }, {
2207
+ type: "component",
2208
+ name: /*#__PURE__*/getPlasmicComponentName("TabPanel"),
2209
+ props: {
2210
+ children: {
2211
+ type: "text",
2212
+ value: "Tab 3's Panel Content"
2213
+ }
2214
+ }
2215
+ }]
2376
2216
  }
2377
2217
  }]
2378
2218
  }
2379
2219
  }
2380
- };
2381
- function registerAvatarGroup(loader, customAvatarGroupMeta) {
2220
+ });
2221
+ function registerTabs(loader, customTabsMeta) {
2382
2222
  var doRegisterComponent = function doRegisterComponent() {
2383
2223
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2384
2224
  };
2385
2225
 
2386
- doRegisterComponent(react.AvatarGroup, customAvatarGroupMeta != null ? customAvatarGroupMeta : avatarGroupMeta);
2226
+ doRegisterComponent(react.Tabs, customTabsMeta != null ? customTabsMeta : tabsMeta);
2387
2227
  }
2388
-
2389
- var formControlMeta = {
2390
- name: "FormControl",
2391
- importPath: "@chakra-ui/react",
2228
+ var tabMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Tab", "TabList"), {
2392
2229
  props: {
2393
- label: "string",
2230
+ id: "string",
2394
2231
  isDisabled: "boolean",
2395
- isInvalid: "boolean",
2396
- isRequired: "boolean",
2397
- isreadOnly: "boolean",
2232
+ panelId: "string",
2398
2233
  children: {
2399
2234
  type: "slot",
2400
- defaultValue: [{
2401
- type: "component",
2402
- name: "FormLabel"
2403
- }, {
2404
- type: "component",
2405
- name: "Input"
2406
- }]
2235
+ defaultValue: {
2236
+ type: "text",
2237
+ value: "Tab"
2238
+ }
2407
2239
  }
2408
2240
  }
2409
- };
2410
- function registerFormControl(loader, customFormControlMeta) {
2241
+ });
2242
+ function registerTab(loader, customTabMeta) {
2411
2243
  var doRegisterComponent = function doRegisterComponent() {
2412
2244
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2413
2245
  };
2414
2246
 
2415
- doRegisterComponent(react.FormControl, customFormControlMeta != null ? customFormControlMeta : formControlMeta);
2247
+ doRegisterComponent(react.Tab, customTabMeta != null ? customTabMeta : tabMeta);
2416
2248
  }
2417
- var formLabelMeta = {
2418
- name: "FormLabel",
2419
- importPath: "@chakra-ui/react",
2420
- parentComponentName: "FormControl",
2249
+ var tabPanelsMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("TabPanels", "Tabs"), {
2421
2250
  props: {
2422
2251
  children: {
2423
2252
  type: "slot",
2424
- defaultValue: {
2425
- type: "text",
2426
- value: "Label",
2427
- styles: {
2428
- display: "inline-block",
2429
- width: "auto"
2430
- }
2431
- }
2253
+ allowedComponents: [/*#__PURE__*/getPlasmicComponentName("TabPanel")]
2432
2254
  }
2433
2255
  }
2434
- };
2435
- function registerFormLabel(loader, customFormLabelMeta) {
2256
+ });
2257
+ function registerTabPanels(loader, customTabPanelsMeta) {
2436
2258
  var doRegisterComponent = function doRegisterComponent() {
2437
2259
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2438
2260
  };
2439
2261
 
2440
- doRegisterComponent(react.FormLabel, customFormLabelMeta != null ? customFormLabelMeta : formLabelMeta);
2262
+ doRegisterComponent(react.TabPanels, customTabPanelsMeta != null ? customTabPanelsMeta : tabPanelsMeta);
2441
2263
  }
2442
- var formHelperTextMeta = {
2443
- name: "FormHelperText",
2444
- importPath: "@chakra-ui/react",
2445
- parentComponentName: "FormControl",
2264
+ var tabPanelMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("TabPanel", "TabPanels"), {
2446
2265
  props: {
2447
2266
  children: {
2448
2267
  type: "slot",
2449
2268
  defaultValue: {
2450
2269
  type: "text",
2451
- value: "We'll never share your email."
2270
+ value: "Tab Panel Content"
2452
2271
  }
2453
2272
  }
2454
2273
  }
2455
- };
2456
- function registerFormHelperText(loader, customFormHelperTextMeta) {
2274
+ });
2275
+ function registerTabPanel(loader, customTabPanelMeta) {
2457
2276
  var doRegisterComponent = function doRegisterComponent() {
2458
2277
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2459
2278
  };
2460
2279
 
2461
- doRegisterComponent(react.FormHelperText, customFormHelperTextMeta != null ? customFormHelperTextMeta : formHelperTextMeta);
2280
+ doRegisterComponent(react.TabPanel, customTabPanelMeta != null ? customTabPanelMeta : tabPanelMeta);
2462
2281
  }
2463
- var formErrorMessageMeta = {
2464
- name: "FormErrorMessage",
2465
- importPath: "@chakra-ui/react",
2466
- parentComponentName: "FormControl",
2282
+
2283
+ var textMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Text"), {
2467
2284
  props: {
2468
2285
  children: {
2469
2286
  type: "slot",
2470
- defaultValue: {
2287
+ defaultValue: [{
2471
2288
  type: "text",
2472
- value: "This is an error message."
2473
- }
2289
+ value: "Some Text"
2290
+ }]
2474
2291
  }
2475
2292
  }
2476
- };
2477
- function registerFormErrorMessage(loader, customFormErrorMessageMeta) {
2293
+ });
2294
+ function registerText(loader, customTextMeta) {
2478
2295
  var doRegisterComponent = function doRegisterComponent() {
2479
2296
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2480
2297
  };
2481
2298
 
2482
- doRegisterComponent(react.FormErrorMessage, customFormErrorMessageMeta != null ? customFormErrorMessageMeta : formErrorMessageMeta);
2299
+ doRegisterComponent(react.Text, customTextMeta != null ? customTextMeta : textMeta);
2483
2300
  }
2484
2301
 
2485
- var progressMeta = {
2486
- name: "Progress",
2487
- importPath: "@chakra-ui/react",
2302
+ var toastMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Toast"), {
2488
2303
  props: {
2489
- colorScheme: {
2490
- type: "choice",
2491
- options: ["whiteAlpha", "blackAlpha", "gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink", "linkedin", "facebook", "messenger", "whatsapp", "twitter", "telegram"],
2492
- defaultValue: "blue"
2304
+ title: {
2305
+ type: "string",
2306
+ defaultValue: "Toast Title"
2493
2307
  },
2494
- size: {
2308
+ description: {
2309
+ type: "string",
2310
+ defaultValue: "Toast description"
2311
+ },
2312
+ variant: {
2495
2313
  type: "choice",
2496
- options: ["xs", "sm", "md", "lg"],
2497
- defaultValue: "md"
2314
+ options: ["solid", "subtle", "left-accent", "top-accent"]
2498
2315
  },
2499
- max: {
2316
+ duration: {
2500
2317
  type: "number",
2501
- defaultValue: 100
2318
+ defaultValue: 5000
2502
2319
  },
2503
- min: {
2320
+ isClosable: {
2321
+ type: "boolean"
2322
+ },
2323
+ position: {
2324
+ type: "choice",
2325
+ options: ["top", "top-right", "top-left", "bottom", "bottom-right", "bottom-left"]
2326
+ },
2327
+ status: {
2328
+ type: "choice",
2329
+ options: ["info", "success", "warning", "error", "loading"]
2330
+ }
2331
+ }
2332
+ });
2333
+ function registerToast(loader, customToastMeta) {
2334
+ var doRegisterComponent = function doRegisterComponent() {
2335
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2336
+ };
2337
+
2338
+ doRegisterComponent(react.Toast, customToastMeta != null ? customToastMeta : toastMeta);
2339
+ }
2340
+
2341
+ var tooltipMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/getComponentNameAndImportMeta("Tooltip"), {
2342
+ props: {
2343
+ children: {
2344
+ type: "slot",
2345
+ defaultValue: {
2346
+ type: "component",
2347
+ name: /*#__PURE__*/getPlasmicComponentName("Button"),
2348
+ props: {
2349
+ children: {
2350
+ type: "text",
2351
+ value: "Hover me"
2352
+ }
2353
+ }
2354
+ }
2355
+ },
2356
+ label: {
2357
+ type: "string",
2358
+ defaultValue: "Hi! I am a tooltip"
2359
+ },
2360
+ placement: {
2361
+ type: "choice",
2362
+ options: ["auto", "auto-start", "auto-end", "top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "right", "right-start", "right-end", "left", "left-start", "left-end"],
2363
+ defaultValue: "bottom"
2364
+ },
2365
+ hasArrow: "boolean",
2366
+ arrowSize: {
2504
2367
  type: "number",
2505
- defaultValue: 0
2368
+ defaultValue: 10
2506
2369
  },
2507
- value: "number",
2508
- isIndeterminate: {
2509
- type: "boolean"
2370
+ arrowShadowColor: {
2371
+ type: "string"
2510
2372
  },
2511
- hasStripe: {
2512
- type: "boolean"
2373
+ arrowPadding: {
2374
+ type: "number",
2375
+ defaultValue: 8
2513
2376
  },
2514
- isAnimated: {
2377
+ defaultIsOpen: "boolean",
2378
+ isDisabled: "boolean",
2379
+ offset: {
2380
+ type: "array",
2381
+ defaultValue: [0, 0]
2382
+ },
2383
+ closeOnClick: {
2515
2384
  type: "boolean",
2516
- hidden: function hidden(props) {
2517
- return !props.hasStripe;
2518
- }
2385
+ defaultValue: true
2386
+ },
2387
+ closeDelay: {
2388
+ type: "number",
2389
+ defaultValue: 0
2519
2390
  }
2520
2391
  }
2521
- };
2522
- function registerProgress(loader, customProgressMeta) {
2392
+ });
2393
+ function registerTooltip(loader, customTooltipMeta) {
2523
2394
  var doRegisterComponent = function doRegisterComponent() {
2524
2395
  return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2525
2396
  };
2526
2397
 
2527
- doRegisterComponent(react.Progress, customProgressMeta != null ? customProgressMeta : progressMeta);
2398
+ doRegisterComponent(react.Tooltip, customTooltipMeta != null ? customTooltipMeta : tooltipMeta);
2528
2399
  }
2529
2400
 
2530
2401
  function registerAll(loader) {
2402
+ registerAccordion(loader);
2403
+ registerAccordionButton(loader);
2404
+ registerAccordionIcon(loader);
2405
+ registerAccordionItem(loader);
2406
+ registerAccordionPanel(loader);
2407
+ registerAvatar(loader);
2408
+ registerAvatarBadge(loader);
2409
+ registerAvatarGroup(loader);
2531
2410
  registerAspectRatio(loader);
2532
2411
  registerBadge(loader);
2533
2412
  registerBreadcrumb(loader);
@@ -2536,69 +2415,62 @@ function registerAll(loader) {
2536
2415
  registerBreadcrumbSeparator(loader);
2537
2416
  registerButton(loader);
2538
2417
  registerButtonGroup(loader);
2418
+ registerChakraProvider(loader);
2539
2419
  registerCheckbox(loader);
2540
2420
  registerCheckboxGroup(loader);
2541
2421
  registerCode(loader);
2542
2422
  registerDivider(loader);
2423
+ registerFormControl(loader);
2424
+ registerFormErrorMessage(loader);
2425
+ registerFormHelperText(loader);
2426
+ registerFormLabel(loader);
2427
+ registerHeading(loader);
2428
+ registerHighlight(loader);
2543
2429
  registerImage(loader);
2544
2430
  registerInput(loader);
2545
2431
  registerKbd(loader);
2546
2432
  registerNumberInput(loader);
2547
- registerNumberInputStepper(loader);
2548
2433
  registerNumberDecrementStepper(loader);
2549
2434
  registerNumberIncrementStepper(loader);
2550
2435
  registerNumberInputField(loader);
2436
+ registerNumberInputStepper(loader);
2437
+ registerOption(loader);
2551
2438
  registerPinInput(loader);
2552
2439
  registerPinInputField(loader);
2553
2440
  registerPopover(loader);
2554
- registerPopoverContent(loader);
2441
+ registerPopoverBody(loader);
2555
2442
  registerPopoverArrow(loader);
2556
2443
  registerPopoverCloseButton(loader);
2444
+ registerPopoverContent(loader);
2557
2445
  registerPopoverHeader(loader);
2558
- registerPopoverBody(loader);
2559
2446
  registerPopoverTrigger(loader);
2447
+ registerProgress(loader);
2560
2448
  registerRadio(loader);
2561
2449
  registerRadioGroup(loader);
2562
2450
  registerSelect(loader);
2563
- registerOption(loader);
2564
2451
  registerStat(loader);
2565
- registerStatHelpText(loader);
2566
2452
  registerStatArrow(loader);
2567
- registerStatNumber(loader);
2453
+ registerStatHelpText(loader);
2568
2454
  registerStatLabel(loader);
2455
+ registerStatNumber(loader);
2569
2456
  registerSwitch(loader);
2570
2457
  registerTable(loader);
2571
2458
  registerTableCaption(loader);
2572
- registerThead(loader);
2573
2459
  registerTbody(loader);
2574
- registerTr(loader);
2460
+ registerTfoot(loader);
2461
+ registerThead(loader);
2575
2462
  registerTd(loader);
2576
2463
  registerTh(loader);
2464
+ registerTr(loader);
2577
2465
  registerTableContainer(loader);
2578
2466
  registerTabList(loader);
2579
- registerTabs(loader);
2580
2467
  registerTab(loader);
2581
- registerTabPanels(loader);
2582
2468
  registerTabPanel(loader);
2469
+ registerTabPanels(loader);
2470
+ registerTabs(loader);
2583
2471
  registerText(loader);
2584
- registerTfoot(loader);
2585
- registerHighlight(loader);
2586
- registerHeading(loader);
2587
2472
  registerToast(loader);
2588
2473
  registerTooltip(loader);
2589
- registerAvatarBadge(loader);
2590
- registerAvatar(loader);
2591
- registerAvatarGroup(loader);
2592
- registerAccordion(loader);
2593
- registerAccordionItem(loader);
2594
- registerAccordionButton(loader);
2595
- registerAccordionPanel(loader);
2596
- registerAccordionIcon(loader);
2597
- registerFormControl(loader);
2598
- registerFormLabel(loader);
2599
- registerFormHelperText(loader);
2600
- registerFormErrorMessage(loader);
2601
- registerProgress(loader);
2602
2474
  }
2603
2475
 
2604
2476
  exports.Option = Option;
@@ -2618,6 +2490,7 @@ exports.breadcrumbMeta = breadcrumbMeta;
2618
2490
  exports.breadcrumbSeparatorMeta = breadcrumbSeparatorMeta;
2619
2491
  exports.buttonGroupMeta = buttonGroupMeta;
2620
2492
  exports.buttonMeta = buttonMeta;
2493
+ exports.chakraProviderMeta = chakraProviderMeta;
2621
2494
  exports.checkboxGroupMeta = checkboxGroupMeta;
2622
2495
  exports.checkboxMeta = checkboxMeta;
2623
2496
  exports.codeMeta = codeMeta;
@@ -2666,6 +2539,7 @@ exports.registerBreadcrumbLink = registerBreadcrumbLink;
2666
2539
  exports.registerBreadcrumbSeparator = registerBreadcrumbSeparator;
2667
2540
  exports.registerButton = registerButton;
2668
2541
  exports.registerButtonGroup = registerButtonGroup;
2542
+ exports.registerChakraProvider = registerChakraProvider;
2669
2543
  exports.registerCheckbox = registerCheckbox;
2670
2544
  exports.registerCheckboxGroup = registerCheckboxGroup;
2671
2545
  exports.registerCode = registerCode;