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