@app-studio/web 0.8.66 → 0.8.69
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/components/Alert/Alert/Alert.type.d.ts +5 -5
- package/dist/components/AspectRatio/AspectRatio/AspectRatio.props.d.ts +5 -0
- package/dist/components/AspectRatio/AspectRatio/AspectRatio.view.d.ts +1 -1
- package/dist/components/Avatar/Avatar/Avatar.type.d.ts +4 -4
- package/dist/components/Badge/Badge/Badge.style.d.ts +3 -2
- package/dist/components/Badge/Badge/Badge.type.d.ts +3 -3
- package/dist/components/Button/Button/Button.props.d.ts +2 -2
- package/dist/components/Button/Button/Button.style.d.ts +3 -3
- package/dist/components/Button/Button/Button.view.d.ts +9 -1
- package/dist/components/DragAndDrop/DragAndDrop/DragAndDrop.props.d.ts +10 -0
- package/dist/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +1 -8
- package/dist/components/File/File.d.ts +7 -3
- package/dist/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +3 -2
- package/dist/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +2 -2
- package/dist/components/Form/CountryPicker/CountryPicker/CountryPicker.props.d.ts +5 -6
- package/dist/components/Form/DatePicker/DatePicker/DatePicker.props.d.ts +2 -2
- package/dist/components/Form/Select/Select/Select.props.d.ts +2 -3
- package/dist/components/Form/Select/Select/Select.style.d.ts +2 -2
- package/dist/components/Form/Switch/Switch/Switch.props.d.ts +3 -3
- package/dist/components/Form/Switch/Switch/Switch.style.d.ts +3 -3
- package/dist/components/Form/TextArea/TextArea/TextArea.props.d.ts +2 -3
- package/dist/components/Form/TextArea/TextArea/TextArea.type.d.ts +6 -6
- package/dist/components/Form/TextField/TextField/TextField.props.d.ts +3 -3
- package/dist/components/Icon/Icon.d.ts +1 -3
- package/dist/components/Layout/Center/Center.props.d.ts +1 -1
- package/dist/components/Layout/Input/FieldContent/FieldContent/FieldContent.props.d.ts +2 -2
- package/dist/components/Layout/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +1 -1
- package/dist/components/Layout/View/View.d.ts +3 -3
- package/dist/components/Layout/configs/Input.style.d.ts +3 -3
- package/dist/components/Layout/configs/Input.type.d.ts +5 -5
- package/dist/components/Loader/Loader/Loader.view.d.ts +8 -1
- package/dist/components/Message/Message/Message.style.d.ts +2 -2
- package/dist/components/Message/Message/Message.type.d.ts +8 -7
- package/dist/components/Modal/Modal/Modal.props.d.ts +18 -5
- package/dist/components/Modal/Modal/Modal.style.d.ts +4 -4
- package/dist/components/Modal/Modal/Modal.view.d.ts +16 -2
- package/dist/components/Table/Table/Table.context.d.ts +16 -13
- package/dist/components/Table/Table/Table.view.d.ts +9 -8
- package/dist/components/Text/Text/Text.props.d.ts +2 -2
- package/dist/components/Text/Text/Text.view.d.ts +7 -1
- package/dist/components/Text/Text.d.ts +1 -2
- package/dist/components/Toggle/Toggle/Toggle.view.d.ts +7 -1
- package/dist/components/ToggleGroup/ToggleGroup/ToggleGroup.props.d.ts +5 -1
- package/dist/components/ToggleGroup/ToggleGroup/ToggleGroup.view.d.ts +1 -1
- package/dist/components/Uploader/Uploader/Uploader.props.d.ts +7 -0
- package/dist/web.cjs.development.js +318 -312
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +319 -313
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +321 -316
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ require('core-js/modules/web.url.js');
|
|
|
22
22
|
require('core-js/modules/web.url.to-json.js');
|
|
23
23
|
require('core-js/modules/web.url-search-params.js');
|
|
24
24
|
var zustand = require('zustand');
|
|
25
|
+
var Layout = require('src/components/Layout');
|
|
25
26
|
|
|
26
27
|
var Top = props => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
27
28
|
marginBottom: "auto"
|
|
@@ -84,19 +85,25 @@ var HeadingSizes = {
|
|
|
84
85
|
}
|
|
85
86
|
};
|
|
86
87
|
|
|
87
|
-
var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size"];
|
|
88
|
+
var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size", "views"];
|
|
88
89
|
var TextContent = _ref => {
|
|
89
90
|
var {
|
|
90
91
|
children,
|
|
91
92
|
isSub,
|
|
92
|
-
isSup
|
|
93
|
+
isSup,
|
|
94
|
+
views
|
|
93
95
|
} = _ref;
|
|
94
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, isSub && /*#__PURE__*/React__default.createElement(
|
|
96
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, isSub && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
97
|
+
as: "sup"
|
|
98
|
+
}, views == null ? void 0 : views.sup), children)), isSup && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
99
|
+
as: "sup"
|
|
100
|
+
}, views == null ? void 0 : views.sup), children)), !isSub && !isSup && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children))) : children);
|
|
95
101
|
};
|
|
96
102
|
var TruncateText = _ref2 => {
|
|
97
103
|
var {
|
|
98
104
|
text,
|
|
99
|
-
maxLines = 1
|
|
105
|
+
maxLines = 1,
|
|
106
|
+
views
|
|
100
107
|
} = _ref2;
|
|
101
108
|
var containerRef = React.useRef(null);
|
|
102
109
|
var [truncatedLength, setTruncatedLength] = React.useState(text.length);
|
|
@@ -125,9 +132,9 @@ var TruncateText = _ref2 => {
|
|
|
125
132
|
updateTruncatedText();
|
|
126
133
|
}, [text, maxLines]);
|
|
127
134
|
var displayText = text.length > truncatedLength ? text.substring(0, truncatedLength) + '...' : text;
|
|
128
|
-
return /*#__PURE__*/React__default.createElement(
|
|
135
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
129
136
|
ref: containerRef
|
|
130
|
-
}, displayText);
|
|
137
|
+
}, views == null ? void 0 : views.truncateText), displayText);
|
|
131
138
|
};
|
|
132
139
|
var TextView = _ref3 => {
|
|
133
140
|
var {
|
|
@@ -140,7 +147,8 @@ var TextView = _ref3 => {
|
|
|
140
147
|
isSup = false,
|
|
141
148
|
isStriked = false,
|
|
142
149
|
weight = 'normal',
|
|
143
|
-
size = 'md'
|
|
150
|
+
size = 'md',
|
|
151
|
+
views
|
|
144
152
|
} = _ref3,
|
|
145
153
|
props = _objectWithoutPropertiesLoose(_ref3, _excluded);
|
|
146
154
|
var headingStyles = heading ? HeadingSizes[heading] : {};
|
|
@@ -154,13 +162,13 @@ var TextView = _ref3 => {
|
|
|
154
162
|
fontStyle: isItalic ? 'italic' : 'normal',
|
|
155
163
|
fontWeight: appStudio.Typography.fontWeights[weight],
|
|
156
164
|
textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
|
|
157
|
-
}, noLineBreak, headingStyles, props), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
|
|
165
|
+
}, noLineBreak, headingStyles, props, views == null ? void 0 : views.container), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
|
|
158
166
|
text: children,
|
|
159
167
|
maxLines: maxLines
|
|
160
|
-
})) : (/*#__PURE__*/React__default.createElement(TextContent,
|
|
168
|
+
})) : (/*#__PURE__*/React__default.createElement(TextContent, {
|
|
161
169
|
isSub: isSub,
|
|
162
170
|
isSup: isSup
|
|
163
|
-
},
|
|
171
|
+
}, children)));
|
|
164
172
|
};
|
|
165
173
|
|
|
166
174
|
var TextComponent = props => {
|
|
@@ -225,74 +233,74 @@ var CenterBase = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
225
233
|
CenterBase.displayName = 'Center';
|
|
226
234
|
var Center = CenterBase;
|
|
227
235
|
|
|
228
|
-
var _excluded$4 = ["
|
|
229
|
-
_excluded2 = ["
|
|
230
|
-
_excluded3 = ["
|
|
231
|
-
_excluded4 = ["
|
|
232
|
-
_excluded5 = ["
|
|
233
|
-
_excluded6 = ["
|
|
234
|
-
_excluded7 = ["
|
|
235
|
-
_excluded8 = ["
|
|
236
|
-
_excluded9 = ["
|
|
237
|
-
_excluded10 = ["
|
|
238
|
-
_excluded11 = ["
|
|
239
|
-
_excluded12 = ["
|
|
240
|
-
_excluded13 = ["
|
|
241
|
-
_excluded14 = ["
|
|
242
|
-
_excluded15 = ["
|
|
243
|
-
_excluded16 = ["
|
|
244
|
-
_excluded17 = ["
|
|
245
|
-
_excluded18 = ["
|
|
246
|
-
_excluded19 = ["
|
|
247
|
-
_excluded20 = ["
|
|
248
|
-
_excluded21 = ["
|
|
249
|
-
_excluded22 = ["
|
|
250
|
-
_excluded23 = ["
|
|
251
|
-
_excluded24 = ["
|
|
252
|
-
_excluded25 = ["
|
|
253
|
-
_excluded26 = ["
|
|
254
|
-
_excluded27 = ["
|
|
255
|
-
_excluded28 = ["
|
|
256
|
-
_excluded29 = ["
|
|
257
|
-
_excluded30 = ["
|
|
258
|
-
_excluded31 = ["
|
|
259
|
-
_excluded32 = ["
|
|
260
|
-
_excluded33 = ["
|
|
261
|
-
_excluded34 = ["
|
|
262
|
-
_excluded35 = ["
|
|
263
|
-
_excluded36 = ["
|
|
264
|
-
_excluded37 = ["
|
|
265
|
-
_excluded38 = ["
|
|
266
|
-
_excluded39 = ["
|
|
267
|
-
_excluded40 = ["
|
|
268
|
-
_excluded41 = ["
|
|
269
|
-
_excluded42 = ["
|
|
270
|
-
_excluded43 = ["
|
|
271
|
-
_excluded44 = ["
|
|
272
|
-
_excluded45 = ["
|
|
273
|
-
_excluded46 = ["
|
|
274
|
-
_excluded47 = ["
|
|
275
|
-
_excluded48 = ["
|
|
276
|
-
_excluded49 = ["
|
|
277
|
-
_excluded50 = ["
|
|
278
|
-
_excluded51 = ["
|
|
279
|
-
_excluded52 = ["
|
|
280
|
-
_excluded53 = ["
|
|
281
|
-
_excluded54 = ["
|
|
282
|
-
_excluded55 = ["
|
|
283
|
-
_excluded56 = ["
|
|
284
|
-
_excluded57 = ["
|
|
285
|
-
_excluded58 = ["
|
|
286
|
-
_excluded59 = ["
|
|
287
|
-
_excluded60 = ["
|
|
288
|
-
_excluded61 = ["
|
|
289
|
-
_excluded62 = ["
|
|
290
|
-
_excluded63 = ["
|
|
291
|
-
_excluded64 = ["
|
|
236
|
+
var _excluded$4 = ["widthHeight", "color", "transform", "orientation", "children"],
|
|
237
|
+
_excluded2 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
238
|
+
_excluded3 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
239
|
+
_excluded4 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
240
|
+
_excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
241
|
+
_excluded6 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
242
|
+
_excluded7 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
243
|
+
_excluded8 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
244
|
+
_excluded9 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
245
|
+
_excluded10 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
246
|
+
_excluded11 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
247
|
+
_excluded12 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
248
|
+
_excluded13 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
249
|
+
_excluded14 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
250
|
+
_excluded15 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
251
|
+
_excluded16 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
252
|
+
_excluded17 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
253
|
+
_excluded18 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
254
|
+
_excluded19 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
255
|
+
_excluded20 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
256
|
+
_excluded21 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
257
|
+
_excluded22 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
258
|
+
_excluded23 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
259
|
+
_excluded24 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
260
|
+
_excluded25 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
261
|
+
_excluded26 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
262
|
+
_excluded27 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
263
|
+
_excluded28 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
264
|
+
_excluded29 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
265
|
+
_excluded30 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
266
|
+
_excluded31 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
267
|
+
_excluded32 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
268
|
+
_excluded33 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
269
|
+
_excluded34 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
270
|
+
_excluded35 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
271
|
+
_excluded36 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
272
|
+
_excluded37 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
273
|
+
_excluded38 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
274
|
+
_excluded39 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
275
|
+
_excluded40 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
276
|
+
_excluded41 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
277
|
+
_excluded42 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
278
|
+
_excluded43 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
279
|
+
_excluded44 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
280
|
+
_excluded45 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
281
|
+
_excluded46 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
282
|
+
_excluded47 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
283
|
+
_excluded48 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
284
|
+
_excluded49 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
285
|
+
_excluded50 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
286
|
+
_excluded51 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
287
|
+
_excluded52 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
288
|
+
_excluded53 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
289
|
+
_excluded54 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
290
|
+
_excluded55 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
291
|
+
_excluded56 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
292
|
+
_excluded57 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
293
|
+
_excluded58 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
294
|
+
_excluded59 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
295
|
+
_excluded60 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
296
|
+
_excluded61 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
297
|
+
_excluded62 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
298
|
+
_excluded63 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
299
|
+
_excluded64 = ["widthHeight", "color", "strokeWidth", "filled"];
|
|
292
300
|
// Default wrapper component for consistent sizing and styling
|
|
293
301
|
var IconWrapper = _ref => {
|
|
294
302
|
var {
|
|
295
|
-
|
|
303
|
+
widthHeight,
|
|
296
304
|
color = 'black',
|
|
297
305
|
transform,
|
|
298
306
|
orientation = 'up',
|
|
@@ -300,8 +308,8 @@ var IconWrapper = _ref => {
|
|
|
300
308
|
} = _ref,
|
|
301
309
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
302
310
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
303
|
-
widthHeight:
|
|
304
|
-
lineHeight:
|
|
311
|
+
widthHeight: widthHeight,
|
|
312
|
+
lineHeight: widthHeight,
|
|
305
313
|
color: color,
|
|
306
314
|
display: "flex",
|
|
307
315
|
transform: transform ? transform : orientation === 'left' ? 'rotate(-90deg)' : orientation === 'right' ? 'rotate(90deg)' : orientation === 'up' ? 'rotate(0deg)' : orientation === 'down' ? 'rotate(180deg)' : 'none'
|
|
@@ -320,14 +328,14 @@ var getSvgProps = (filled, color, strokeWidth) => {
|
|
|
320
328
|
// Example Icon Component: ChevronIcon
|
|
321
329
|
var ChevronIcon = _ref2 => {
|
|
322
330
|
var {
|
|
323
|
-
|
|
331
|
+
widthHeight = 24,
|
|
324
332
|
color = 'currentColor',
|
|
325
333
|
filled = true,
|
|
326
334
|
strokeWidth = 1
|
|
327
335
|
} = _ref2,
|
|
328
336
|
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
329
337
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
330
|
-
widthHeight:
|
|
338
|
+
widthHeight: widthHeight,
|
|
331
339
|
color: color
|
|
332
340
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
333
341
|
viewBox: "0 0 24 24",
|
|
@@ -339,14 +347,14 @@ var ChevronIcon = _ref2 => {
|
|
|
339
347
|
};
|
|
340
348
|
var DragHandleIcon = _ref3 => {
|
|
341
349
|
var {
|
|
342
|
-
|
|
350
|
+
widthHeight = 24,
|
|
343
351
|
color = 'currentColor',
|
|
344
352
|
filled = true,
|
|
345
353
|
strokeWidth = 1
|
|
346
354
|
} = _ref3,
|
|
347
355
|
props = _objectWithoutPropertiesLoose(_ref3, _excluded3);
|
|
348
356
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
349
|
-
widthHeight:
|
|
357
|
+
widthHeight: widthHeight,
|
|
350
358
|
color: color
|
|
351
359
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
352
360
|
viewBox: "0 0 24 24",
|
|
@@ -381,14 +389,14 @@ var DragHandleIcon = _ref3 => {
|
|
|
381
389
|
// File Icon Component
|
|
382
390
|
var FileIcon = _ref4 => {
|
|
383
391
|
var {
|
|
384
|
-
|
|
392
|
+
widthHeight = 24,
|
|
385
393
|
color = 'currentColor',
|
|
386
394
|
filled = true,
|
|
387
395
|
strokeWidth = 1
|
|
388
396
|
} = _ref4,
|
|
389
397
|
props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
390
398
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
391
|
-
widthHeight:
|
|
399
|
+
widthHeight: widthHeight,
|
|
392
400
|
color: color
|
|
393
401
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
394
402
|
viewBox: "0 0 24 24",
|
|
@@ -409,14 +417,14 @@ var FileIcon = _ref4 => {
|
|
|
409
417
|
// Video Icon Component
|
|
410
418
|
var VideoIcon = _ref5 => {
|
|
411
419
|
var {
|
|
412
|
-
|
|
420
|
+
widthHeight = 24,
|
|
413
421
|
color = 'currentColor',
|
|
414
422
|
filled = true,
|
|
415
423
|
strokeWidth = 1
|
|
416
424
|
} = _ref5,
|
|
417
425
|
props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
418
426
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
419
|
-
widthHeight:
|
|
427
|
+
widthHeight: widthHeight,
|
|
420
428
|
color: color
|
|
421
429
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
422
430
|
viewBox: "0 0 24 24",
|
|
@@ -442,14 +450,14 @@ var VideoIcon = _ref5 => {
|
|
|
442
450
|
// Image Icon Component
|
|
443
451
|
var ImageIcon = _ref6 => {
|
|
444
452
|
var {
|
|
445
|
-
|
|
453
|
+
widthHeight = 24,
|
|
446
454
|
color = 'currentColor',
|
|
447
455
|
filled = true,
|
|
448
456
|
strokeWidth = 1
|
|
449
457
|
} = _ref6,
|
|
450
458
|
props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
|
|
451
459
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
452
|
-
widthHeight:
|
|
460
|
+
widthHeight: widthHeight,
|
|
453
461
|
color: color
|
|
454
462
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
455
463
|
viewBox: "0 0 24 24",
|
|
@@ -481,14 +489,14 @@ var ImageIcon = _ref6 => {
|
|
|
481
489
|
};
|
|
482
490
|
var TwitterIcon = _ref7 => {
|
|
483
491
|
var {
|
|
484
|
-
|
|
492
|
+
widthHeight = 24,
|
|
485
493
|
color = 'currentColor',
|
|
486
494
|
filled = true,
|
|
487
495
|
strokeWidth = 1
|
|
488
496
|
} = _ref7,
|
|
489
497
|
props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
490
498
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
491
|
-
widthHeight:
|
|
499
|
+
widthHeight: widthHeight,
|
|
492
500
|
color: color
|
|
493
501
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
494
502
|
viewBox: "0 0 24 24",
|
|
@@ -503,14 +511,14 @@ var TwitterIcon = _ref7 => {
|
|
|
503
511
|
};
|
|
504
512
|
var XIcon = _ref8 => {
|
|
505
513
|
var {
|
|
506
|
-
|
|
514
|
+
widthHeight = 24,
|
|
507
515
|
color = 'currentColor',
|
|
508
516
|
filled = true,
|
|
509
517
|
strokeWidth = 1
|
|
510
518
|
} = _ref8,
|
|
511
519
|
props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
512
520
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
513
|
-
widthHeight:
|
|
521
|
+
widthHeight: widthHeight,
|
|
514
522
|
color: color
|
|
515
523
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
516
524
|
viewBox: "0 0 24 24",
|
|
@@ -526,14 +534,14 @@ var XIcon = _ref8 => {
|
|
|
526
534
|
// Example of a Twitch Icon
|
|
527
535
|
var TwitchIcon = _ref9 => {
|
|
528
536
|
var {
|
|
529
|
-
|
|
537
|
+
widthHeight = 24,
|
|
530
538
|
color = 'currentColor',
|
|
531
539
|
filled = true,
|
|
532
540
|
strokeWidth = 1
|
|
533
541
|
} = _ref9,
|
|
534
542
|
props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
535
543
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
536
|
-
widthHeight:
|
|
544
|
+
widthHeight: widthHeight,
|
|
537
545
|
color: color
|
|
538
546
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
539
547
|
viewBox: "0 0 24 24",
|
|
@@ -554,14 +562,14 @@ var TwitchIcon = _ref9 => {
|
|
|
554
562
|
// Example of another Icon: CloseIcon
|
|
555
563
|
var CloseIcon = _ref10 => {
|
|
556
564
|
var {
|
|
557
|
-
|
|
565
|
+
widthHeight = 24,
|
|
558
566
|
color = 'currentColor',
|
|
559
567
|
filled = false,
|
|
560
568
|
strokeWidth = 1
|
|
561
569
|
} = _ref10,
|
|
562
570
|
props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
563
571
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
564
|
-
widthHeight:
|
|
572
|
+
widthHeight: widthHeight,
|
|
565
573
|
color: color
|
|
566
574
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
567
575
|
viewBox: "0 0 24 24",
|
|
@@ -583,14 +591,14 @@ var CloseIcon = _ref10 => {
|
|
|
583
591
|
};
|
|
584
592
|
var InstagramIcon = _ref11 => {
|
|
585
593
|
var {
|
|
586
|
-
|
|
594
|
+
widthHeight = 24,
|
|
587
595
|
color = 'currentColor',
|
|
588
596
|
filled = false,
|
|
589
597
|
strokeWidth = 1
|
|
590
598
|
} = _ref11,
|
|
591
599
|
props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
592
600
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
593
|
-
widthHeight:
|
|
601
|
+
widthHeight: widthHeight,
|
|
594
602
|
color: color
|
|
595
603
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
596
604
|
viewBox: "0 0 24 24",
|
|
@@ -614,14 +622,14 @@ var InstagramIcon = _ref11 => {
|
|
|
614
622
|
};
|
|
615
623
|
var YoutubeIcon = _ref12 => {
|
|
616
624
|
var {
|
|
617
|
-
|
|
625
|
+
widthHeight = 24,
|
|
618
626
|
color = 'currentColor',
|
|
619
627
|
filled = true,
|
|
620
628
|
strokeWidth = 1
|
|
621
629
|
} = _ref12,
|
|
622
630
|
props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
623
631
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
624
|
-
widthHeight:
|
|
632
|
+
widthHeight: widthHeight,
|
|
625
633
|
color: color
|
|
626
634
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
627
635
|
viewBox: "0 0 24 24",
|
|
@@ -642,14 +650,14 @@ var YoutubeIcon = _ref12 => {
|
|
|
642
650
|
};
|
|
643
651
|
var FacebookIcon = _ref13 => {
|
|
644
652
|
var {
|
|
645
|
-
|
|
653
|
+
widthHeight = 24,
|
|
646
654
|
color = 'currentColor',
|
|
647
655
|
filled = true,
|
|
648
656
|
strokeWidth = 1
|
|
649
657
|
} = _ref13,
|
|
650
658
|
props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
651
659
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
652
|
-
widthHeight:
|
|
660
|
+
widthHeight: widthHeight,
|
|
653
661
|
color: color
|
|
654
662
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
655
663
|
viewBox: "0 0 24 24",
|
|
@@ -664,14 +672,14 @@ var FacebookIcon = _ref13 => {
|
|
|
664
672
|
};
|
|
665
673
|
var LinkedinIcon = _ref14 => {
|
|
666
674
|
var {
|
|
667
|
-
|
|
675
|
+
widthHeight = 24,
|
|
668
676
|
color = 'currentColor',
|
|
669
677
|
filled = true,
|
|
670
678
|
strokeWidth = 1
|
|
671
679
|
} = _ref14,
|
|
672
680
|
props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
673
681
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
674
|
-
widthHeight:
|
|
682
|
+
widthHeight: widthHeight,
|
|
675
683
|
color: color
|
|
676
684
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
677
685
|
viewBox: "0 0 24 24"
|
|
@@ -690,14 +698,14 @@ var LinkedinIcon = _ref14 => {
|
|
|
690
698
|
};
|
|
691
699
|
var ThreadsIcon = _ref15 => {
|
|
692
700
|
var {
|
|
693
|
-
|
|
701
|
+
widthHeight = 24,
|
|
694
702
|
color = 'currentColor',
|
|
695
703
|
filled = false,
|
|
696
704
|
strokeWidth = 1
|
|
697
705
|
} = _ref15,
|
|
698
706
|
props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
699
707
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
700
|
-
widthHeight:
|
|
708
|
+
widthHeight: widthHeight,
|
|
701
709
|
color: color
|
|
702
710
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
703
711
|
viewBox: "0 0 24 24"
|
|
@@ -712,7 +720,7 @@ var ThreadsIcon = _ref15 => {
|
|
|
712
720
|
// Example Refactored Icon: MinusIcon without undefined 'padding' prop
|
|
713
721
|
var MinusIcon = _ref16 => {
|
|
714
722
|
var {
|
|
715
|
-
|
|
723
|
+
widthHeight = 24,
|
|
716
724
|
color = 'currentColor',
|
|
717
725
|
filled = false,
|
|
718
726
|
// Assuming minus can be filled; adjust as needed
|
|
@@ -720,7 +728,7 @@ var MinusIcon = _ref16 => {
|
|
|
720
728
|
} = _ref16,
|
|
721
729
|
props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
722
730
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
723
|
-
widthHeight:
|
|
731
|
+
widthHeight: widthHeight,
|
|
724
732
|
color: color
|
|
725
733
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
726
734
|
viewBox: "0 0 24 24",
|
|
@@ -737,14 +745,14 @@ var MinusIcon = _ref16 => {
|
|
|
737
745
|
// Example Refactored Icon: InfoIcon with accessibility enhancements
|
|
738
746
|
var InfoIcon = _ref17 => {
|
|
739
747
|
var {
|
|
740
|
-
|
|
748
|
+
widthHeight = 24,
|
|
741
749
|
color = 'currentColor',
|
|
742
750
|
filled = false,
|
|
743
751
|
strokeWidth = 1
|
|
744
752
|
} = _ref17,
|
|
745
753
|
props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
746
754
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
747
|
-
widthHeight:
|
|
755
|
+
widthHeight: widthHeight,
|
|
748
756
|
color: color
|
|
749
757
|
}, props, {
|
|
750
758
|
"aria-label": "Information"
|
|
@@ -758,14 +766,14 @@ var InfoIcon = _ref17 => {
|
|
|
758
766
|
};
|
|
759
767
|
var PlayIcon = _ref18 => {
|
|
760
768
|
var {
|
|
761
|
-
|
|
769
|
+
widthHeight = 24,
|
|
762
770
|
color = 'currentColor',
|
|
763
771
|
filled = true,
|
|
764
772
|
strokeWidth = 1
|
|
765
773
|
} = _ref18,
|
|
766
774
|
props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
767
775
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
768
|
-
widthHeight:
|
|
776
|
+
widthHeight: widthHeight,
|
|
769
777
|
color: color
|
|
770
778
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
771
779
|
viewBox: "0 0 24 24",
|
|
@@ -777,14 +785,14 @@ var PlayIcon = _ref18 => {
|
|
|
777
785
|
};
|
|
778
786
|
var PauseIcon = _ref19 => {
|
|
779
787
|
var {
|
|
780
|
-
|
|
788
|
+
widthHeight = 24,
|
|
781
789
|
color = 'currentColor',
|
|
782
790
|
filled = true,
|
|
783
791
|
strokeWidth = 1
|
|
784
792
|
} = _ref19,
|
|
785
793
|
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
786
794
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
787
|
-
widthHeight:
|
|
795
|
+
widthHeight: widthHeight,
|
|
788
796
|
color: color
|
|
789
797
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
790
798
|
viewBox: "0 0 24 24",
|
|
@@ -796,14 +804,14 @@ var PauseIcon = _ref19 => {
|
|
|
796
804
|
};
|
|
797
805
|
var HeartIcon = _ref20 => {
|
|
798
806
|
var {
|
|
799
|
-
|
|
807
|
+
widthHeight = 24,
|
|
800
808
|
color = 'currentColor',
|
|
801
809
|
filled = true,
|
|
802
810
|
strokeWidth = 1
|
|
803
811
|
} = _ref20,
|
|
804
812
|
props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
805
813
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
806
|
-
widthHeight:
|
|
814
|
+
widthHeight: widthHeight,
|
|
807
815
|
color: color
|
|
808
816
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
809
817
|
viewBox: "0 0 24 24",
|
|
@@ -815,14 +823,14 @@ var HeartIcon = _ref20 => {
|
|
|
815
823
|
};
|
|
816
824
|
var StarIcon = _ref21 => {
|
|
817
825
|
var {
|
|
818
|
-
|
|
826
|
+
widthHeight = 24,
|
|
819
827
|
color = 'currentColor',
|
|
820
828
|
filled = true,
|
|
821
829
|
strokeWidth = 1
|
|
822
830
|
} = _ref21,
|
|
823
831
|
props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
824
832
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
825
|
-
widthHeight:
|
|
833
|
+
widthHeight: widthHeight,
|
|
826
834
|
color: color
|
|
827
835
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
828
836
|
viewBox: "0 0 24 24",
|
|
@@ -834,14 +842,14 @@ var StarIcon = _ref21 => {
|
|
|
834
842
|
};
|
|
835
843
|
var SaveIcon = _ref22 => {
|
|
836
844
|
var {
|
|
837
|
-
|
|
845
|
+
widthHeight = 24,
|
|
838
846
|
color = 'currentColor',
|
|
839
847
|
filled = false,
|
|
840
848
|
strokeWidth = 1
|
|
841
849
|
} = _ref22,
|
|
842
850
|
props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
843
851
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
844
|
-
widthHeight:
|
|
852
|
+
widthHeight: widthHeight,
|
|
845
853
|
color: color
|
|
846
854
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
847
855
|
viewBox: "0 0 24 24",
|
|
@@ -857,14 +865,14 @@ var SaveIcon = _ref22 => {
|
|
|
857
865
|
};
|
|
858
866
|
var WarningIcon = _ref23 => {
|
|
859
867
|
var {
|
|
860
|
-
|
|
868
|
+
widthHeight = 24,
|
|
861
869
|
color = 'currentColor',
|
|
862
870
|
filled = false,
|
|
863
871
|
strokeWidth = 1
|
|
864
872
|
} = _ref23,
|
|
865
873
|
props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
|
|
866
874
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
867
|
-
widthHeight:
|
|
875
|
+
widthHeight: widthHeight,
|
|
868
876
|
color: color
|
|
869
877
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
870
878
|
viewBox: "0 0 24 24",
|
|
@@ -888,14 +896,14 @@ var WarningIcon = _ref23 => {
|
|
|
888
896
|
};
|
|
889
897
|
var BatteryIcon = _ref24 => {
|
|
890
898
|
var {
|
|
891
|
-
|
|
899
|
+
widthHeight = 24,
|
|
892
900
|
color = 'currentColor',
|
|
893
901
|
filled = true,
|
|
894
902
|
strokeWidth = 1
|
|
895
903
|
} = _ref24,
|
|
896
904
|
props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
|
|
897
905
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
898
|
-
widthHeight:
|
|
906
|
+
widthHeight: widthHeight,
|
|
899
907
|
color: color
|
|
900
908
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
901
909
|
viewBox: "0 0 24 24",
|
|
@@ -907,14 +915,14 @@ var BatteryIcon = _ref24 => {
|
|
|
907
915
|
};
|
|
908
916
|
var BookmarkIcon = _ref25 => {
|
|
909
917
|
var {
|
|
910
|
-
|
|
918
|
+
widthHeight = 24,
|
|
911
919
|
color = 'currentColor',
|
|
912
920
|
filled = false,
|
|
913
921
|
strokeWidth = 1
|
|
914
922
|
} = _ref25,
|
|
915
923
|
props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
|
|
916
924
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
917
|
-
widthHeight:
|
|
925
|
+
widthHeight: widthHeight,
|
|
918
926
|
color: color
|
|
919
927
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
920
928
|
viewBox: "0 0 24 24",
|
|
@@ -926,14 +934,14 @@ var BookmarkIcon = _ref25 => {
|
|
|
926
934
|
};
|
|
927
935
|
var CloudIcon = _ref26 => {
|
|
928
936
|
var {
|
|
929
|
-
|
|
937
|
+
widthHeight = 24,
|
|
930
938
|
color = 'currentColor',
|
|
931
939
|
filled = true,
|
|
932
940
|
strokeWidth = 1
|
|
933
941
|
} = _ref26,
|
|
934
942
|
props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
|
|
935
943
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
936
|
-
widthHeight:
|
|
944
|
+
widthHeight: widthHeight,
|
|
937
945
|
color: color
|
|
938
946
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
939
947
|
viewBox: "0 0 24 24",
|
|
@@ -945,14 +953,14 @@ var CloudIcon = _ref26 => {
|
|
|
945
953
|
};
|
|
946
954
|
var CopyIcon = _ref27 => {
|
|
947
955
|
var {
|
|
948
|
-
|
|
956
|
+
widthHeight = 24,
|
|
949
957
|
color = 'currentColor',
|
|
950
958
|
filled = false,
|
|
951
959
|
strokeWidth = 1
|
|
952
960
|
} = _ref27,
|
|
953
961
|
props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
|
|
954
962
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
955
|
-
widthHeight:
|
|
963
|
+
widthHeight: widthHeight,
|
|
956
964
|
color: color
|
|
957
965
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
958
966
|
viewBox: "0 0 24 24",
|
|
@@ -971,14 +979,14 @@ var CopyIcon = _ref27 => {
|
|
|
971
979
|
};
|
|
972
980
|
var DustBinIcon = _ref28 => {
|
|
973
981
|
var {
|
|
974
|
-
|
|
982
|
+
widthHeight = 24,
|
|
975
983
|
color = 'currentColor',
|
|
976
984
|
filled = false,
|
|
977
985
|
strokeWidth = 1
|
|
978
986
|
} = _ref28,
|
|
979
987
|
props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
|
|
980
988
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
981
|
-
widthHeight:
|
|
989
|
+
widthHeight: widthHeight,
|
|
982
990
|
color: color
|
|
983
991
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
984
992
|
viewBox: "0 0 24 24",
|
|
@@ -990,14 +998,14 @@ var DustBinIcon = _ref28 => {
|
|
|
990
998
|
};
|
|
991
999
|
var EditIcon = _ref29 => {
|
|
992
1000
|
var {
|
|
993
|
-
|
|
1001
|
+
widthHeight = 24,
|
|
994
1002
|
color = 'currentColor',
|
|
995
1003
|
filled = false,
|
|
996
1004
|
strokeWidth = 1
|
|
997
1005
|
} = _ref29,
|
|
998
1006
|
props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
|
|
999
1007
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1000
|
-
widthHeight:
|
|
1008
|
+
widthHeight: widthHeight,
|
|
1001
1009
|
color: color
|
|
1002
1010
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1003
1011
|
viewBox: "0 0 24 24",
|
|
@@ -1009,14 +1017,14 @@ var EditIcon = _ref29 => {
|
|
|
1009
1017
|
};
|
|
1010
1018
|
var ErrorIcon = _ref30 => {
|
|
1011
1019
|
var {
|
|
1012
|
-
|
|
1020
|
+
widthHeight = 24,
|
|
1013
1021
|
color = 'currentColor',
|
|
1014
1022
|
strokeWidth = 1,
|
|
1015
1023
|
filled = true
|
|
1016
1024
|
} = _ref30,
|
|
1017
1025
|
props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
|
|
1018
1026
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1019
|
-
widthHeight:
|
|
1027
|
+
widthHeight: widthHeight,
|
|
1020
1028
|
color: color
|
|
1021
1029
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1022
1030
|
viewBox: "0 0 24 24",
|
|
@@ -1042,14 +1050,14 @@ var ErrorIcon = _ref30 => {
|
|
|
1042
1050
|
};
|
|
1043
1051
|
var DownloadIcon = _ref31 => {
|
|
1044
1052
|
var {
|
|
1045
|
-
|
|
1053
|
+
widthHeight = 24,
|
|
1046
1054
|
color = 'currentColor',
|
|
1047
1055
|
filled = true,
|
|
1048
1056
|
strokeWidth = 1
|
|
1049
1057
|
} = _ref31,
|
|
1050
1058
|
props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
|
|
1051
1059
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1052
|
-
widthHeight:
|
|
1060
|
+
widthHeight: widthHeight,
|
|
1053
1061
|
color: color
|
|
1054
1062
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1055
1063
|
viewBox: "0 0 24 24",
|
|
@@ -1061,14 +1069,14 @@ var DownloadIcon = _ref31 => {
|
|
|
1061
1069
|
};
|
|
1062
1070
|
var MenuIcon = _ref32 => {
|
|
1063
1071
|
var {
|
|
1064
|
-
|
|
1072
|
+
widthHeight = 24,
|
|
1065
1073
|
color = 'currentColor',
|
|
1066
1074
|
strokeWidth = 1,
|
|
1067
1075
|
filled = false
|
|
1068
1076
|
} = _ref32,
|
|
1069
1077
|
props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
|
|
1070
1078
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1071
|
-
widthHeight:
|
|
1079
|
+
widthHeight: widthHeight,
|
|
1072
1080
|
color: color
|
|
1073
1081
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1074
1082
|
viewBox: "0 0 24 24",
|
|
@@ -1096,14 +1104,14 @@ var MenuIcon = _ref32 => {
|
|
|
1096
1104
|
};
|
|
1097
1105
|
var ShareIcon = _ref33 => {
|
|
1098
1106
|
var {
|
|
1099
|
-
|
|
1107
|
+
widthHeight = 24,
|
|
1100
1108
|
color = 'currentColor',
|
|
1101
1109
|
filled = false,
|
|
1102
1110
|
strokeWidth = 1
|
|
1103
1111
|
} = _ref33,
|
|
1104
1112
|
props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
|
|
1105
1113
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1106
|
-
widthHeight:
|
|
1114
|
+
widthHeight: widthHeight,
|
|
1107
1115
|
color: color
|
|
1108
1116
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1109
1117
|
viewBox: "0 0 24 24",
|
|
@@ -1137,14 +1145,14 @@ var ShareIcon = _ref33 => {
|
|
|
1137
1145
|
};
|
|
1138
1146
|
var RefreshIcon = _ref34 => {
|
|
1139
1147
|
var {
|
|
1140
|
-
|
|
1148
|
+
widthHeight = 24,
|
|
1141
1149
|
color = 'currentColor',
|
|
1142
1150
|
strokeWidth = 1,
|
|
1143
1151
|
filled = false
|
|
1144
1152
|
} = _ref34,
|
|
1145
1153
|
props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
|
|
1146
1154
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1147
|
-
widthHeight:
|
|
1155
|
+
widthHeight: widthHeight,
|
|
1148
1156
|
color: color
|
|
1149
1157
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1150
1158
|
viewBox: "0 0 24 24",
|
|
@@ -1158,14 +1166,14 @@ var RefreshIcon = _ref34 => {
|
|
|
1158
1166
|
};
|
|
1159
1167
|
var PrintIcon = _ref35 => {
|
|
1160
1168
|
var {
|
|
1161
|
-
|
|
1169
|
+
widthHeight = 24,
|
|
1162
1170
|
color = 'currentColor',
|
|
1163
1171
|
filled = true,
|
|
1164
1172
|
strokeWidth = 1
|
|
1165
1173
|
} = _ref35,
|
|
1166
1174
|
props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
|
|
1167
1175
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1168
|
-
widthHeight:
|
|
1176
|
+
widthHeight: widthHeight,
|
|
1169
1177
|
color: color
|
|
1170
1178
|
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1171
1179
|
viewBox: "0 0 24 24",
|
|
@@ -1178,14 +1186,14 @@ var PrintIcon = _ref35 => {
|
|
|
1178
1186
|
};
|
|
1179
1187
|
var PanelIcon = _ref36 => {
|
|
1180
1188
|
var {
|
|
1181
|
-
|
|
1189
|
+
widthHeight = 24,
|
|
1182
1190
|
color = 'currentColor',
|
|
1183
1191
|
strokeWidth = 1,
|
|
1184
1192
|
filled = false
|
|
1185
1193
|
} = _ref36,
|
|
1186
1194
|
props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
|
|
1187
1195
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1188
|
-
widthHeight:
|
|
1196
|
+
widthHeight: widthHeight,
|
|
1189
1197
|
color: color
|
|
1190
1198
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1191
1199
|
viewBox: "0 0 24 24",
|
|
@@ -1249,14 +1257,14 @@ var PanelIcon = _ref36 => {
|
|
|
1249
1257
|
};
|
|
1250
1258
|
var FilterIcon = _ref37 => {
|
|
1251
1259
|
var {
|
|
1252
|
-
|
|
1260
|
+
widthHeight = 24,
|
|
1253
1261
|
color = 'currentColor',
|
|
1254
1262
|
filled = false,
|
|
1255
1263
|
strokeWidth = 1
|
|
1256
1264
|
} = _ref37,
|
|
1257
1265
|
props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
|
|
1258
1266
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1259
|
-
widthHeight:
|
|
1267
|
+
widthHeight: widthHeight,
|
|
1260
1268
|
color: color
|
|
1261
1269
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1262
1270
|
viewBox: "0 0 24 24",
|
|
@@ -1268,14 +1276,14 @@ var FilterIcon = _ref37 => {
|
|
|
1268
1276
|
};
|
|
1269
1277
|
var HomeIcon = _ref38 => {
|
|
1270
1278
|
var {
|
|
1271
|
-
|
|
1279
|
+
widthHeight = 24,
|
|
1272
1280
|
color = 'currentColor',
|
|
1273
1281
|
filled = true,
|
|
1274
1282
|
strokeWidth = 1
|
|
1275
1283
|
} = _ref38,
|
|
1276
1284
|
props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
|
|
1277
1285
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1278
|
-
widthHeight:
|
|
1286
|
+
widthHeight: widthHeight,
|
|
1279
1287
|
color: color
|
|
1280
1288
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1281
1289
|
viewBox: "0 0 24 24",
|
|
@@ -1287,14 +1295,14 @@ var HomeIcon = _ref38 => {
|
|
|
1287
1295
|
};
|
|
1288
1296
|
var LocationIcon = _ref39 => {
|
|
1289
1297
|
var {
|
|
1290
|
-
|
|
1298
|
+
widthHeight = 24,
|
|
1291
1299
|
color = 'currentColor',
|
|
1292
1300
|
filled = true,
|
|
1293
1301
|
strokeWidth = 1
|
|
1294
1302
|
} = _ref39,
|
|
1295
1303
|
props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
|
|
1296
1304
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1297
|
-
widthHeight:
|
|
1305
|
+
widthHeight: widthHeight,
|
|
1298
1306
|
color: color
|
|
1299
1307
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1300
1308
|
viewBox: "0 0 24 24",
|
|
@@ -1306,14 +1314,14 @@ var LocationIcon = _ref39 => {
|
|
|
1306
1314
|
};
|
|
1307
1315
|
var LockIcon = _ref40 => {
|
|
1308
1316
|
var {
|
|
1309
|
-
|
|
1317
|
+
widthHeight = 24,
|
|
1310
1318
|
color = 'currentColor',
|
|
1311
1319
|
filled = false,
|
|
1312
1320
|
strokeWidth = 1
|
|
1313
1321
|
} = _ref40,
|
|
1314
1322
|
props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
|
|
1315
1323
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1316
|
-
widthHeight:
|
|
1324
|
+
widthHeight: widthHeight,
|
|
1317
1325
|
color: color
|
|
1318
1326
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1319
1327
|
viewBox: "0 0 24 24",
|
|
@@ -1332,14 +1340,14 @@ var LockIcon = _ref40 => {
|
|
|
1332
1340
|
};
|
|
1333
1341
|
var MicrophoneIcon = _ref41 => {
|
|
1334
1342
|
var {
|
|
1335
|
-
|
|
1343
|
+
widthHeight = 24,
|
|
1336
1344
|
color = 'currentColor',
|
|
1337
1345
|
filled = false,
|
|
1338
1346
|
strokeWidth = 1
|
|
1339
1347
|
} = _ref41,
|
|
1340
1348
|
props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
|
|
1341
1349
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1342
|
-
widthHeight:
|
|
1350
|
+
widthHeight: widthHeight,
|
|
1343
1351
|
color: color
|
|
1344
1352
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1345
1353
|
viewBox: "0 0 24 24",
|
|
@@ -1365,14 +1373,14 @@ var MicrophoneIcon = _ref41 => {
|
|
|
1365
1373
|
};
|
|
1366
1374
|
var MoonIcon = _ref42 => {
|
|
1367
1375
|
var {
|
|
1368
|
-
|
|
1376
|
+
widthHeight = 24,
|
|
1369
1377
|
color = 'currentColor',
|
|
1370
1378
|
filled = true,
|
|
1371
1379
|
strokeWidth = 1
|
|
1372
1380
|
} = _ref42,
|
|
1373
1381
|
props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
|
|
1374
1382
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1375
|
-
widthHeight:
|
|
1383
|
+
widthHeight: widthHeight,
|
|
1376
1384
|
color: color
|
|
1377
1385
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1378
1386
|
viewBox: "0 0 24 24",
|
|
@@ -1384,14 +1392,14 @@ var MoonIcon = _ref42 => {
|
|
|
1384
1392
|
};
|
|
1385
1393
|
var NotificationIcon = _ref43 => {
|
|
1386
1394
|
var {
|
|
1387
|
-
|
|
1395
|
+
widthHeight = 24,
|
|
1388
1396
|
color = 'currentColor',
|
|
1389
1397
|
filled = false,
|
|
1390
1398
|
strokeWidth = 1
|
|
1391
1399
|
} = _ref43,
|
|
1392
1400
|
props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
|
|
1393
1401
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1394
|
-
widthHeight:
|
|
1402
|
+
widthHeight: widthHeight,
|
|
1395
1403
|
color: color
|
|
1396
1404
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1397
1405
|
viewBox: "0 0 24 24",
|
|
@@ -1405,14 +1413,14 @@ var NotificationIcon = _ref43 => {
|
|
|
1405
1413
|
};
|
|
1406
1414
|
var OpenEyeIcon = _ref44 => {
|
|
1407
1415
|
var {
|
|
1408
|
-
|
|
1416
|
+
widthHeight = 24,
|
|
1409
1417
|
color = 'currentColor',
|
|
1410
1418
|
filled = true,
|
|
1411
1419
|
strokeWidth = 1
|
|
1412
1420
|
} = _ref44,
|
|
1413
1421
|
props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
|
|
1414
1422
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1415
|
-
widthHeight:
|
|
1423
|
+
widthHeight: widthHeight,
|
|
1416
1424
|
color: color
|
|
1417
1425
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1418
1426
|
viewBox: "0 0 24 24",
|
|
@@ -1424,14 +1432,14 @@ var OpenEyeIcon = _ref44 => {
|
|
|
1424
1432
|
};
|
|
1425
1433
|
var ProfileIcon = _ref45 => {
|
|
1426
1434
|
var {
|
|
1427
|
-
|
|
1435
|
+
widthHeight = 24,
|
|
1428
1436
|
color = 'currentColor',
|
|
1429
1437
|
filled = true,
|
|
1430
1438
|
strokeWidth = 1
|
|
1431
1439
|
} = _ref45,
|
|
1432
1440
|
props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
|
|
1433
1441
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1434
|
-
widthHeight:
|
|
1442
|
+
widthHeight: widthHeight,
|
|
1435
1443
|
color: color
|
|
1436
1444
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1437
1445
|
viewBox: "0 0 24 24",
|
|
@@ -1444,14 +1452,14 @@ var ProfileIcon = _ref45 => {
|
|
|
1444
1452
|
};
|
|
1445
1453
|
var SettingsIcon = _ref46 => {
|
|
1446
1454
|
var {
|
|
1447
|
-
|
|
1455
|
+
widthHeight = 24,
|
|
1448
1456
|
color = 'currentColor',
|
|
1449
1457
|
filled = false,
|
|
1450
1458
|
strokeWidth = 1
|
|
1451
1459
|
} = _ref46,
|
|
1452
1460
|
props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
|
|
1453
1461
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1454
|
-
widthHeight:
|
|
1462
|
+
widthHeight: widthHeight,
|
|
1455
1463
|
color: color
|
|
1456
1464
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1457
1465
|
viewBox: "0 0 24 24",
|
|
@@ -1463,14 +1471,14 @@ var SettingsIcon = _ref46 => {
|
|
|
1463
1471
|
};
|
|
1464
1472
|
var SuccessIcon = _ref47 => {
|
|
1465
1473
|
var {
|
|
1466
|
-
|
|
1474
|
+
widthHeight = 24,
|
|
1467
1475
|
color = 'currentColor',
|
|
1468
1476
|
filled = true,
|
|
1469
1477
|
strokeWidth = 1
|
|
1470
1478
|
} = _ref47,
|
|
1471
1479
|
props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
|
|
1472
1480
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1473
|
-
widthHeight:
|
|
1481
|
+
widthHeight: widthHeight,
|
|
1474
1482
|
color: color
|
|
1475
1483
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1476
1484
|
viewBox: "0 0 24 24",
|
|
@@ -1482,14 +1490,14 @@ var SuccessIcon = _ref47 => {
|
|
|
1482
1490
|
};
|
|
1483
1491
|
var UnLikeIcon = _ref48 => {
|
|
1484
1492
|
var {
|
|
1485
|
-
|
|
1493
|
+
widthHeight = 24,
|
|
1486
1494
|
color = 'currentColor',
|
|
1487
1495
|
filled = true,
|
|
1488
1496
|
strokeWidth = 1
|
|
1489
1497
|
} = _ref48,
|
|
1490
1498
|
props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
|
|
1491
1499
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1492
|
-
widthHeight:
|
|
1500
|
+
widthHeight: widthHeight,
|
|
1493
1501
|
color: color
|
|
1494
1502
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1495
1503
|
viewBox: "0 0 24 24",
|
|
@@ -1501,14 +1509,14 @@ var UnLikeIcon = _ref48 => {
|
|
|
1501
1509
|
};
|
|
1502
1510
|
var ClockIcon = _ref49 => {
|
|
1503
1511
|
var {
|
|
1504
|
-
|
|
1512
|
+
widthHeight = 24,
|
|
1505
1513
|
color = 'currentColor',
|
|
1506
1514
|
strokeWidth = 1,
|
|
1507
1515
|
filled = false
|
|
1508
1516
|
} = _ref49,
|
|
1509
1517
|
props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
|
|
1510
1518
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1511
|
-
widthHeight:
|
|
1519
|
+
widthHeight: widthHeight,
|
|
1512
1520
|
color: color
|
|
1513
1521
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1514
1522
|
viewBox: "0 0 24 24",
|
|
@@ -1524,14 +1532,14 @@ var ClockIcon = _ref49 => {
|
|
|
1524
1532
|
};
|
|
1525
1533
|
var CameraIcon = _ref50 => {
|
|
1526
1534
|
var {
|
|
1527
|
-
|
|
1535
|
+
widthHeight = 24,
|
|
1528
1536
|
color = 'currentColor',
|
|
1529
1537
|
strokeWidth = 1,
|
|
1530
1538
|
filled = false
|
|
1531
1539
|
} = _ref50,
|
|
1532
1540
|
props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
|
|
1533
1541
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1534
|
-
widthHeight:
|
|
1542
|
+
widthHeight: widthHeight,
|
|
1535
1543
|
color: color
|
|
1536
1544
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1537
1545
|
viewBox: "0 0 24 24",
|
|
@@ -1547,14 +1555,14 @@ var CameraIcon = _ref50 => {
|
|
|
1547
1555
|
};
|
|
1548
1556
|
var BluetoothIcon = _ref51 => {
|
|
1549
1557
|
var {
|
|
1550
|
-
|
|
1558
|
+
widthHeight = 24,
|
|
1551
1559
|
color = 'currentColor',
|
|
1552
1560
|
filled = true,
|
|
1553
1561
|
strokeWidth = 1
|
|
1554
1562
|
} = _ref51,
|
|
1555
1563
|
props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
|
|
1556
1564
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1557
|
-
widthHeight:
|
|
1565
|
+
widthHeight: widthHeight,
|
|
1558
1566
|
color: color
|
|
1559
1567
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1560
1568
|
viewBox: "0 0 24 24",
|
|
@@ -1566,14 +1574,14 @@ var BluetoothIcon = _ref51 => {
|
|
|
1566
1574
|
};
|
|
1567
1575
|
var LikeIcon = _ref52 => {
|
|
1568
1576
|
var {
|
|
1569
|
-
|
|
1577
|
+
widthHeight = 24,
|
|
1570
1578
|
color = 'currentColor',
|
|
1571
1579
|
filled = true,
|
|
1572
1580
|
strokeWidth = 1
|
|
1573
1581
|
} = _ref52,
|
|
1574
1582
|
props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
|
|
1575
1583
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1576
|
-
widthHeight:
|
|
1584
|
+
widthHeight: widthHeight,
|
|
1577
1585
|
color: color
|
|
1578
1586
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1579
1587
|
viewBox: "0 0 24 24",
|
|
@@ -1585,14 +1593,14 @@ var LikeIcon = _ref52 => {
|
|
|
1585
1593
|
};
|
|
1586
1594
|
var UnlockIcon = _ref53 => {
|
|
1587
1595
|
var {
|
|
1588
|
-
|
|
1596
|
+
widthHeight = 24,
|
|
1589
1597
|
color = 'currentColor',
|
|
1590
1598
|
filled = false,
|
|
1591
1599
|
strokeWidth = 1
|
|
1592
1600
|
} = _ref53,
|
|
1593
1601
|
props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
|
|
1594
1602
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1595
|
-
widthHeight:
|
|
1603
|
+
widthHeight: widthHeight,
|
|
1596
1604
|
color: color
|
|
1597
1605
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1598
1606
|
viewBox: "0 0 24 24",
|
|
@@ -1611,14 +1619,14 @@ var UnlockIcon = _ref53 => {
|
|
|
1611
1619
|
};
|
|
1612
1620
|
var WifiIcon = _ref54 => {
|
|
1613
1621
|
var {
|
|
1614
|
-
|
|
1622
|
+
widthHeight = 24,
|
|
1615
1623
|
color = 'currentColor',
|
|
1616
1624
|
filled = false,
|
|
1617
1625
|
strokeWidth = 1
|
|
1618
1626
|
} = _ref54,
|
|
1619
1627
|
props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
|
|
1620
1628
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1621
|
-
widthHeight:
|
|
1629
|
+
widthHeight: widthHeight,
|
|
1622
1630
|
color: color
|
|
1623
1631
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1624
1632
|
viewBox: "0 0 24 24",
|
|
@@ -1630,14 +1638,14 @@ var WifiIcon = _ref54 => {
|
|
|
1630
1638
|
};
|
|
1631
1639
|
var UploadIcon = _ref55 => {
|
|
1632
1640
|
var {
|
|
1633
|
-
|
|
1641
|
+
widthHeight = 24,
|
|
1634
1642
|
color = 'currentColor',
|
|
1635
1643
|
filled = false,
|
|
1636
1644
|
strokeWidth = 1
|
|
1637
1645
|
} = _ref55,
|
|
1638
1646
|
props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
|
|
1639
1647
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1640
|
-
widthHeight:
|
|
1648
|
+
widthHeight: widthHeight,
|
|
1641
1649
|
color: color
|
|
1642
1650
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1643
1651
|
viewBox: "0 0 24 24",
|
|
@@ -1653,14 +1661,14 @@ var UploadIcon = _ref55 => {
|
|
|
1653
1661
|
};
|
|
1654
1662
|
var SearchIcon = _ref56 => {
|
|
1655
1663
|
var {
|
|
1656
|
-
|
|
1664
|
+
widthHeight = 24,
|
|
1657
1665
|
color = 'currentColor',
|
|
1658
1666
|
filled = true,
|
|
1659
1667
|
strokeWidth = 1
|
|
1660
1668
|
} = _ref56,
|
|
1661
1669
|
props = _objectWithoutPropertiesLoose(_ref56, _excluded56);
|
|
1662
1670
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1663
|
-
widthHeight:
|
|
1671
|
+
widthHeight: widthHeight,
|
|
1664
1672
|
color: color
|
|
1665
1673
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1666
1674
|
viewBox: "0 0 24 24",
|
|
@@ -1672,14 +1680,14 @@ var SearchIcon = _ref56 => {
|
|
|
1672
1680
|
};
|
|
1673
1681
|
var CloseEyeIcon = _ref57 => {
|
|
1674
1682
|
var {
|
|
1675
|
-
|
|
1683
|
+
widthHeight = 24,
|
|
1676
1684
|
color = 'currentColor',
|
|
1677
1685
|
filled = true,
|
|
1678
1686
|
strokeWidth = 1
|
|
1679
1687
|
} = _ref57,
|
|
1680
1688
|
props = _objectWithoutPropertiesLoose(_ref57, _excluded57);
|
|
1681
1689
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1682
|
-
widthHeight:
|
|
1690
|
+
widthHeight: widthHeight,
|
|
1683
1691
|
color: color
|
|
1684
1692
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1685
1693
|
viewBox: "0 0 24 24",
|
|
@@ -1692,14 +1700,14 @@ var CloseEyeIcon = _ref57 => {
|
|
|
1692
1700
|
};
|
|
1693
1701
|
var ExternalLinkIcon = _ref58 => {
|
|
1694
1702
|
var {
|
|
1695
|
-
|
|
1703
|
+
widthHeight = 24,
|
|
1696
1704
|
color = 'currentColor',
|
|
1697
1705
|
filled = true,
|
|
1698
1706
|
strokeWidth = 1
|
|
1699
1707
|
} = _ref58,
|
|
1700
1708
|
props = _objectWithoutPropertiesLoose(_ref58, _excluded58);
|
|
1701
1709
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1702
|
-
widthHeight:
|
|
1710
|
+
widthHeight: widthHeight,
|
|
1703
1711
|
color: color
|
|
1704
1712
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1705
1713
|
viewBox: "0 0 24 24",
|
|
@@ -1711,14 +1719,14 @@ var ExternalLinkIcon = _ref58 => {
|
|
|
1711
1719
|
};
|
|
1712
1720
|
var PlusIcon = _ref59 => {
|
|
1713
1721
|
var {
|
|
1714
|
-
|
|
1722
|
+
widthHeight = 24,
|
|
1715
1723
|
color = 'currentColor',
|
|
1716
1724
|
filled = false,
|
|
1717
1725
|
strokeWidth = 1
|
|
1718
1726
|
} = _ref59,
|
|
1719
1727
|
props = _objectWithoutPropertiesLoose(_ref59, _excluded59);
|
|
1720
1728
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1721
|
-
widthHeight:
|
|
1729
|
+
widthHeight: widthHeight,
|
|
1722
1730
|
color: color
|
|
1723
1731
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1724
1732
|
viewBox: "0 0 24 24",
|
|
@@ -1740,14 +1748,14 @@ var PlusIcon = _ref59 => {
|
|
|
1740
1748
|
};
|
|
1741
1749
|
var TickIcon = _ref60 => {
|
|
1742
1750
|
var {
|
|
1743
|
-
|
|
1751
|
+
widthHeight = 24,
|
|
1744
1752
|
color = 'currentColor',
|
|
1745
1753
|
filled = false,
|
|
1746
1754
|
strokeWidth = 1
|
|
1747
1755
|
} = _ref60,
|
|
1748
1756
|
props = _objectWithoutPropertiesLoose(_ref60, _excluded60);
|
|
1749
1757
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1750
|
-
widthHeight:
|
|
1758
|
+
widthHeight: widthHeight,
|
|
1751
1759
|
color: color
|
|
1752
1760
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1753
1761
|
viewBox: "0 0 24 24",
|
|
@@ -1761,14 +1769,14 @@ var TickIcon = _ref60 => {
|
|
|
1761
1769
|
};
|
|
1762
1770
|
var BoldArrowIcon = _ref61 => {
|
|
1763
1771
|
var {
|
|
1764
|
-
|
|
1772
|
+
widthHeight = 24,
|
|
1765
1773
|
color = 'currentColor',
|
|
1766
1774
|
filled = true,
|
|
1767
1775
|
strokeWidth = 1
|
|
1768
1776
|
} = _ref61,
|
|
1769
1777
|
props = _objectWithoutPropertiesLoose(_ref61, _excluded61);
|
|
1770
1778
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1771
|
-
widthHeight:
|
|
1779
|
+
widthHeight: widthHeight,
|
|
1772
1780
|
color: color
|
|
1773
1781
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1774
1782
|
viewBox: "0 0 24 24",
|
|
@@ -1780,14 +1788,14 @@ var BoldArrowIcon = _ref61 => {
|
|
|
1780
1788
|
};
|
|
1781
1789
|
var ArrowIcon = _ref62 => {
|
|
1782
1790
|
var {
|
|
1783
|
-
|
|
1791
|
+
widthHeight = 24,
|
|
1784
1792
|
color = 'currentColor',
|
|
1785
1793
|
filled = false,
|
|
1786
1794
|
strokeWidth = 1
|
|
1787
1795
|
} = _ref62,
|
|
1788
1796
|
props = _objectWithoutPropertiesLoose(_ref62, _excluded62);
|
|
1789
1797
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1790
|
-
widthHeight:
|
|
1798
|
+
widthHeight: widthHeight,
|
|
1791
1799
|
color: color
|
|
1792
1800
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1793
1801
|
viewBox: "0 0 24 24",
|
|
@@ -1805,14 +1813,14 @@ var ArrowIcon = _ref62 => {
|
|
|
1805
1813
|
};
|
|
1806
1814
|
var SpinnerIcon = _ref63 => {
|
|
1807
1815
|
var {
|
|
1808
|
-
|
|
1816
|
+
widthHeight = 24,
|
|
1809
1817
|
color = 'currentColor',
|
|
1810
1818
|
filled = false,
|
|
1811
1819
|
strokeWidth = 1
|
|
1812
1820
|
} = _ref63,
|
|
1813
1821
|
props = _objectWithoutPropertiesLoose(_ref63, _excluded63);
|
|
1814
1822
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1815
|
-
widthHeight:
|
|
1823
|
+
widthHeight: widthHeight,
|
|
1816
1824
|
color: color
|
|
1817
1825
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1818
1826
|
viewBox: "0 0 24 24",
|
|
@@ -1830,14 +1838,14 @@ var SpinnerIcon = _ref63 => {
|
|
|
1830
1838
|
};
|
|
1831
1839
|
var CalendarIcon = _ref64 => {
|
|
1832
1840
|
var {
|
|
1833
|
-
|
|
1841
|
+
widthHeight = 24,
|
|
1834
1842
|
color = 'currentColor',
|
|
1835
1843
|
strokeWidth = 1,
|
|
1836
1844
|
filled = false
|
|
1837
1845
|
} = _ref64,
|
|
1838
1846
|
props = _objectWithoutPropertiesLoose(_ref64, _excluded64);
|
|
1839
1847
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1840
|
-
widthHeight:
|
|
1848
|
+
widthHeight: widthHeight,
|
|
1841
1849
|
color: color
|
|
1842
1850
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1843
1851
|
viewBox: "0 0 24 24",
|
|
@@ -1999,7 +2007,7 @@ var Themes = {
|
|
|
1999
2007
|
|
|
2000
2008
|
// Defines AlertView as a functional component using destructuring to extract props.
|
|
2001
2009
|
var AlertView = _ref => {
|
|
2002
|
-
var _views$icon$color;
|
|
2010
|
+
var _views$icon$color, _views$icon;
|
|
2003
2011
|
var {
|
|
2004
2012
|
icon,
|
|
2005
2013
|
title,
|
|
@@ -2018,8 +2026,8 @@ var AlertView = _ref => {
|
|
|
2018
2026
|
}, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(View, {
|
|
2019
2027
|
alignSelf: 'center'
|
|
2020
2028
|
}, icon ? icon : (/*#__PURE__*/React__default.createElement(WarningIcon, {
|
|
2021
|
-
|
|
2022
|
-
color: (_views$icon$color = views == null ? void 0 :
|
|
2029
|
+
widthHeight: 24,
|
|
2030
|
+
color: (_views$icon$color = views == null || (_views$icon = views.icon) == null ? void 0 : _views$icon.color) != null ? _views$icon$color : Themes[variant].content.color
|
|
2023
2031
|
}))), /*#__PURE__*/React__default.createElement(Vertical, {
|
|
2024
2032
|
gap: 10
|
|
2025
2033
|
}, /*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
@@ -2051,14 +2059,15 @@ var AlertComponent = _ref => {
|
|
|
2051
2059
|
// Exporting the AlertComponent as 'Alert' for use in other parts of the application.
|
|
2052
2060
|
var Alert = AlertComponent;
|
|
2053
2061
|
|
|
2054
|
-
var _excluded$5 = ["ratio", "children"];
|
|
2062
|
+
var _excluded$5 = ["ratio", "children", "views"];
|
|
2055
2063
|
// Declaration of a functional component named AspectRatioView.
|
|
2056
2064
|
var AspectRatioView = _ref => {
|
|
2057
2065
|
var {
|
|
2058
2066
|
// Set a default aspect ratio of 16:9 if no ratio is provided as a prop.
|
|
2059
2067
|
ratio = 16 / 9,
|
|
2060
2068
|
// children prop used to render enclosed components.
|
|
2061
|
-
children
|
|
2069
|
+
children,
|
|
2070
|
+
views
|
|
2062
2071
|
// Spread the rest of the props to inherit additional properties.
|
|
2063
2072
|
} = _ref,
|
|
2064
2073
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
@@ -2068,13 +2077,13 @@ var AspectRatioView = _ref => {
|
|
|
2068
2077
|
overflow: "hidden",
|
|
2069
2078
|
paddingTop: 1 / ratio * 100 + "%",
|
|
2070
2079
|
borderRadius: 8
|
|
2071
|
-
}, props), /*#__PURE__*/React__default.createElement(View, {
|
|
2080
|
+
}, props, views == null ? void 0 : views.center), /*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
2072
2081
|
position: "absolute",
|
|
2073
2082
|
top: 0,
|
|
2074
2083
|
right: 0,
|
|
2075
2084
|
bottom: 0,
|
|
2076
2085
|
left: 0
|
|
2077
|
-
}, children));
|
|
2086
|
+
}, views == null ? void 0 : views.view), children));
|
|
2078
2087
|
};
|
|
2079
2088
|
|
|
2080
2089
|
var _excluded$6 = ["ratio", "children"];
|
|
@@ -2537,7 +2546,7 @@ var DefaultSpeeds = {
|
|
|
2537
2546
|
var _excluded$8 = ["size", "speed", "color", "themeMode"],
|
|
2538
2547
|
_excluded2$1 = ["size", "speed", "color", "themeMode"],
|
|
2539
2548
|
_excluded3$1 = ["size", "speed", "color", "themeMode"],
|
|
2540
|
-
_excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
|
|
2549
|
+
_excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition", "views"];
|
|
2541
2550
|
var DefaultSpinner = _ref => {
|
|
2542
2551
|
var {
|
|
2543
2552
|
size = 'md',
|
|
@@ -2678,7 +2687,8 @@ var LoaderView = _ref4 => {
|
|
|
2678
2687
|
loaderColor,
|
|
2679
2688
|
type = 'default',
|
|
2680
2689
|
speed = 'normal',
|
|
2681
|
-
textPosition = 'right'
|
|
2690
|
+
textPosition = 'right',
|
|
2691
|
+
views
|
|
2682
2692
|
} = _ref4,
|
|
2683
2693
|
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
|
|
2684
2694
|
var style = {
|
|
@@ -2694,11 +2704,11 @@ var LoaderView = _ref4 => {
|
|
|
2694
2704
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
2695
2705
|
gap: 10,
|
|
2696
2706
|
flexDirection: textPosition === 'top' || textPosition === 'bottom' ? 'column' : 'row'
|
|
2697
|
-
}, props), (textPosition === 'left' || textPosition === 'top') && children && (/*#__PURE__*/React__default.createElement(View, {
|
|
2707
|
+
}, props, views == null ? void 0 : views.container), (textPosition === 'left' || textPosition === 'top') && children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
2698
2708
|
color: textColor
|
|
2699
|
-
}, children)), variants[type], (textPosition === 'right' || textPosition === 'bottom') && children && (/*#__PURE__*/React__default.createElement(View, {
|
|
2709
|
+
}, views == null ? void 0 : views.text), children)), variants[type], (textPosition === 'right' || textPosition === 'bottom') && children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
2700
2710
|
color: textColor
|
|
2701
|
-
}, children)));
|
|
2711
|
+
}, views == null ? void 0 : views.text), children)));
|
|
2702
2712
|
};
|
|
2703
2713
|
|
|
2704
2714
|
// Defines a LoaderComponent as a functional component with props defined by LoaderProps and returns the LoaderView component, passing along any received props.
|
|
@@ -2709,7 +2719,7 @@ React__default.createElement(LoaderView, Object.assign({}, props)));
|
|
|
2709
2719
|
// Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
|
|
2710
2720
|
var Loader = LoaderComponent;
|
|
2711
2721
|
|
|
2712
|
-
var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "to", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered", "isExternal", "themeMode", "containerProps", "linkProps"];
|
|
2722
|
+
var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "to", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered", "isExternal", "themeMode", "containerProps", "linkProps", "views"];
|
|
2713
2723
|
var contrast = /*#__PURE__*/require('contrast');
|
|
2714
2724
|
var ButtonView = _ref => {
|
|
2715
2725
|
var _props$onClick;
|
|
@@ -2717,24 +2727,16 @@ var ButtonView = _ref => {
|
|
|
2717
2727
|
icon,
|
|
2718
2728
|
shadow,
|
|
2719
2729
|
children,
|
|
2720
|
-
// Defines the functional component ButtonView with its expected props detailed in ButtonProps.
|
|
2721
2730
|
ariaLabel,
|
|
2722
|
-
// Initializes default values for the ButtonProps object; useful for defining states like isAuto, isFilled, etc.
|
|
2723
2731
|
to,
|
|
2724
2732
|
isAuto = false,
|
|
2725
|
-
// Determines if button should be active based on isDisabled and isLoading properties.
|
|
2726
2733
|
isFilled = false,
|
|
2727
|
-
// Prepares default properties for the native button element based on isActive state.
|
|
2728
2734
|
isIconRounded = false,
|
|
2729
|
-
// Sets button color; defaults to the theme's disabled color if button is not active.
|
|
2730
2735
|
isLoading = false,
|
|
2731
|
-
// Determines if the hover effect shall be applied based on isHovered and effect property.
|
|
2732
2736
|
isDisabled = false,
|
|
2733
|
-
// Determines if the reverse style shall be applied based on isHovered and effect property.
|
|
2734
2737
|
size = 'md',
|
|
2735
2738
|
variant = 'filled',
|
|
2736
2739
|
iconPosition = 'left',
|
|
2737
|
-
// Defines CSS properties for 'filled' variant of the button with conditional styles based on reverse state.
|
|
2738
2740
|
shape = 'rounded',
|
|
2739
2741
|
onClick = () => {},
|
|
2740
2742
|
loaderProps = {},
|
|
@@ -2744,9 +2746,8 @@ var ButtonView = _ref => {
|
|
|
2744
2746
|
setIsHovered = () => {},
|
|
2745
2747
|
isExternal = false,
|
|
2746
2748
|
themeMode: elementMode,
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
// Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
|
|
2749
|
+
linkProps,
|
|
2750
|
+
views
|
|
2750
2751
|
} = _ref,
|
|
2751
2752
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
2752
2753
|
var {
|
|
@@ -2764,7 +2765,6 @@ var ButtonView = _ref => {
|
|
|
2764
2765
|
var isLight = contrast(getColor(buttonColor, elementMode ? elementMode : themeMode)) == 'light';
|
|
2765
2766
|
var ButtonVariants = {
|
|
2766
2767
|
filled: {
|
|
2767
|
-
// Defines CSS properties for 'link' variant of the button with conditional styles based on reverse state, includes text decoration.
|
|
2768
2768
|
backgroundColor: reverse ? 'transparent' : buttonColor,
|
|
2769
2769
|
color: reverse ? isLight ? 'white' : buttonColor : isLight ? buttonColor : 'white',
|
|
2770
2770
|
borderWidth: 1,
|
|
@@ -2773,42 +2773,36 @@ var ButtonView = _ref => {
|
|
|
2773
2773
|
},
|
|
2774
2774
|
outline: {
|
|
2775
2775
|
backgroundColor: reverse ? buttonColor : 'transparent',
|
|
2776
|
-
// Defines CSS properties for 'ghost' variant of the button with conditional styles based on reverse state.
|
|
2777
2776
|
borderWidth: 1,
|
|
2778
2777
|
borderStyle: 'solid',
|
|
2779
2778
|
borderColor: reverse ? buttonColor : 'theme.primary',
|
|
2780
|
-
// Fetches size-specific styles from ButtonSizes based on the 'size' prop.
|
|
2781
2779
|
color: reverse ? 'white' : buttonColor
|
|
2782
2780
|
},
|
|
2783
|
-
// Adjusts button width based on isAuto and isFilled properties, using buttonSizeStyles for fallback width.
|
|
2784
2781
|
link: {
|
|
2785
2782
|
backgroundColor: 'transparent',
|
|
2786
|
-
// Changes padding for the button based on whether isIconRounded is true or false.
|
|
2787
2783
|
borderWidth: 1,
|
|
2788
2784
|
borderStyle: 'solid',
|
|
2789
|
-
// Creates the content for the button including loaders and icons positioned based on their respective properties.
|
|
2790
2785
|
borderColor: reverse ? buttonColor : 'transparent',
|
|
2791
2786
|
color: buttonColor,
|
|
2792
2787
|
textDecoration: reverse ? 'none' : 'underline'
|
|
2793
2788
|
},
|
|
2794
2789
|
ghost: {
|
|
2795
|
-
backgroundColor:
|
|
2790
|
+
backgroundColor: 'transparent',
|
|
2796
2791
|
color: reverse ? 'white' : buttonColor,
|
|
2797
2792
|
borderWidth: 1,
|
|
2798
2793
|
borderStyle: 'solid',
|
|
2799
2794
|
borderColor: reverse ? buttonColor : 'transparent'
|
|
2800
2795
|
}
|
|
2801
2796
|
};
|
|
2802
|
-
// Executes rendering of the button or a link element based on the variant; applies conditional rendering for to in 'link' variant.
|
|
2803
2797
|
var buttonSizeStyles = ButtonSizes[size];
|
|
2804
2798
|
var buttonVariant = ButtonVariants[variant];
|
|
2805
2799
|
var scaleWidth = {
|
|
2806
2800
|
width: isAuto === true ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
|
|
2807
2801
|
};
|
|
2808
2802
|
var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
|
|
2809
|
-
var content = /*#__PURE__*/React__default.createElement(Horizontal, {
|
|
2803
|
+
var content = /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
2810
2804
|
gap: 10
|
|
2811
|
-
}, isLoading && loaderPosition === 'left' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)), icon && iconPosition === 'left' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
|
|
2805
|
+
}, views == null ? void 0 : views.horizontal), isLoading && loaderPosition === 'left' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)), icon && iconPosition === 'left' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
|
|
2812
2806
|
animate: appStudio.Animation.jackInTheBox({})
|
|
2813
2807
|
} : {}), icon)), children, icon && iconPosition === 'right' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
|
|
2814
2808
|
animate: appStudio.Animation.jackInTheBox({})
|
|
@@ -2832,11 +2826,11 @@ var ButtonView = _ref => {
|
|
|
2832
2826
|
}, hovering && !props.isDisabled ? {
|
|
2833
2827
|
transition: 'transform 0.3s ease',
|
|
2834
2828
|
transform: 'translateY(-5px)'
|
|
2835
|
-
} : {}, defaultNativeProps, buttonSizeStyles, buttonVariant, scaleWidth, props.padding || props.paddingHorizontal || props.paddingVertical || props.paddingLeft || props.paddingRight || props.paddingTop || props.paddingBottom ? {} : changePadding, shadow, props,
|
|
2829
|
+
} : {}, defaultNativeProps, buttonSizeStyles, buttonVariant, scaleWidth, props.padding || props.paddingHorizontal || props.paddingVertical || props.paddingLeft || props.paddingRight || props.paddingTop || props.paddingBottom ? {} : changePadding, shadow, props, views == null ? void 0 : views.container), variant === 'link' && to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
|
|
2836
2830
|
to: to,
|
|
2837
2831
|
textDecorationColor: 'theme.primary',
|
|
2838
2832
|
isExternal: isExternal
|
|
2839
|
-
}, linkProps), content)) : content);
|
|
2833
|
+
}, linkProps, views == null ? void 0 : views.link), content)) : content);
|
|
2840
2834
|
};
|
|
2841
2835
|
|
|
2842
2836
|
// Importing a custom hook to manage the state specific to the button component.
|
|
@@ -2866,12 +2860,13 @@ var ButtonComponent = props => {
|
|
|
2866
2860
|
};
|
|
2867
2861
|
var Button = ButtonComponent;
|
|
2868
2862
|
|
|
2869
|
-
var _excluded$a = ["src", "color", "themeMode"],
|
|
2863
|
+
var _excluded$a = ["src", "color", "views", "themeMode"],
|
|
2870
2864
|
_excluded2$2 = ["path"];
|
|
2871
2865
|
var FileSVG = _ref => {
|
|
2872
2866
|
var {
|
|
2873
2867
|
src,
|
|
2874
|
-
color
|
|
2868
|
+
color,
|
|
2869
|
+
views
|
|
2875
2870
|
} = _ref,
|
|
2876
2871
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
2877
2872
|
var {
|
|
@@ -2886,11 +2881,11 @@ var FileSVG = _ref => {
|
|
|
2886
2881
|
themeMode
|
|
2887
2882
|
})
|
|
2888
2883
|
} : {};
|
|
2889
|
-
return /*#__PURE__*/React__default.createElement(Center, Object.assign({}, props), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({}, Colorprops, {
|
|
2884
|
+
return /*#__PURE__*/React__default.createElement(Center, Object.assign({}, props, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({}, Colorprops, {
|
|
2890
2885
|
content: 'url("' + src + '")',
|
|
2891
2886
|
width: "100%",
|
|
2892
2887
|
height: "100%"
|
|
2893
|
-
})));
|
|
2888
|
+
}, views == null ? void 0 : views.image)));
|
|
2894
2889
|
};
|
|
2895
2890
|
var FileImage = _ref2 => {
|
|
2896
2891
|
var {
|
|
@@ -3410,7 +3405,7 @@ var MultiSelect = _ref6 => {
|
|
|
3410
3405
|
}, option), /*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
3411
3406
|
role: "close-button",
|
|
3412
3407
|
color: "inherit",
|
|
3413
|
-
|
|
3408
|
+
widthHeight: IconSizes$2[size],
|
|
3414
3409
|
onClick: handleClick
|
|
3415
3410
|
}));
|
|
3416
3411
|
};
|
|
@@ -3521,13 +3516,13 @@ var SelectView = _ref7 => {
|
|
|
3521
3516
|
removeOption: handleRemoveOption
|
|
3522
3517
|
})), /*#__PURE__*/React__default.createElement(FieldIcons, null, !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
3523
3518
|
color: "inherit",
|
|
3524
|
-
|
|
3519
|
+
widthHeight: IconSizes$2[size],
|
|
3525
3520
|
style: views.icon,
|
|
3526
3521
|
orientation: "down"
|
|
3527
3522
|
})) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
3528
3523
|
color: "inherit",
|
|
3529
3524
|
orientation: "up",
|
|
3530
|
-
|
|
3525
|
+
widthHeight: IconSizes$2[size],
|
|
3531
3526
|
style: views.icon
|
|
3532
3527
|
})))))), !hide && (/*#__PURE__*/React__default.createElement(DropDown, {
|
|
3533
3528
|
size: size,
|
|
@@ -4122,7 +4117,7 @@ var TextFieldView = _ref => {
|
|
|
4122
4117
|
onChange: handleChange,
|
|
4123
4118
|
value: value
|
|
4124
4119
|
}))), isClearable && value && !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(FieldIcons, null, /*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
4125
|
-
|
|
4120
|
+
widthHeight: appStudio.Typography.fontSizes[size],
|
|
4126
4121
|
color: IconColor,
|
|
4127
4122
|
onClick: handleClear
|
|
4128
4123
|
}))), right));
|
|
@@ -4281,10 +4276,10 @@ var CheckboxView = _ref => {
|
|
|
4281
4276
|
}, labelPosition === 'left' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
4282
4277
|
size: size
|
|
4283
4278
|
}, views == null ? void 0 : views.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(MinusIcon, {
|
|
4284
|
-
|
|
4279
|
+
widthHeight: IconSizes$3[size],
|
|
4285
4280
|
color: "white"
|
|
4286
4281
|
})) : (isChecked || isSelected) && (icon != null ? icon : /*#__PURE__*/React__default.createElement(TickIcon, {
|
|
4287
|
-
|
|
4282
|
+
widthHeight: IconSizes$3[size],
|
|
4288
4283
|
color: "white"
|
|
4289
4284
|
}))), labelPosition === 'right' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
4290
4285
|
size: size
|
|
@@ -5850,7 +5845,7 @@ var DropDown$1 = _ref4 => {
|
|
|
5850
5845
|
views = {
|
|
5851
5846
|
dropDown: {}
|
|
5852
5847
|
},
|
|
5853
|
-
options,
|
|
5848
|
+
options = [],
|
|
5854
5849
|
callback = () => {}
|
|
5855
5850
|
} = _ref4;
|
|
5856
5851
|
var handleCallback = option => callback(option);
|
|
@@ -6000,12 +5995,12 @@ var CountryPickerView = _ref5 => {
|
|
|
6000
5995
|
onChange: handleChange
|
|
6001
5996
|
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
6002
5997
|
orientation: "down",
|
|
6003
|
-
|
|
5998
|
+
widthHeight: IconSizes$4[size],
|
|
6004
5999
|
color: IconColor,
|
|
6005
6000
|
style: views['icon']
|
|
6006
6001
|
})) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
6007
6002
|
orientation: "up",
|
|
6008
|
-
|
|
6003
|
+
widthHeight: IconSizes$4[size],
|
|
6009
6004
|
color: IconColor,
|
|
6010
6005
|
style: views['icon']
|
|
6011
6006
|
})))), !hide && (/*#__PURE__*/React__default.createElement(DropDown$1, {
|
|
@@ -7072,7 +7067,7 @@ var UploadView = _ref => {
|
|
|
7072
7067
|
color: "red",
|
|
7073
7068
|
fontSize: 12,
|
|
7074
7069
|
marginTop: 8
|
|
7075
|
-
}, errorMessageProps), errorMessage);
|
|
7070
|
+
}, errorMessageProps, views == null ? void 0 : views.text), errorMessage);
|
|
7076
7071
|
},
|
|
7077
7072
|
renderText = _ref3 => {
|
|
7078
7073
|
var {
|
|
@@ -7081,20 +7076,20 @@ var UploadView = _ref => {
|
|
|
7081
7076
|
} = _ref3;
|
|
7082
7077
|
return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7083
7078
|
marginTop: 8
|
|
7084
|
-
}, textProps), text);
|
|
7079
|
+
}, textProps, views == null ? void 0 : views.text), text);
|
|
7085
7080
|
},
|
|
7086
7081
|
renderFile = _ref4 => {
|
|
7087
7082
|
var {
|
|
7088
7083
|
selectedFile,
|
|
7089
7084
|
textProps
|
|
7090
7085
|
} = _ref4;
|
|
7091
|
-
return selectedFile ? (/*#__PURE__*/React__default.createElement(Center, {
|
|
7086
|
+
return selectedFile ? (/*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
7092
7087
|
marginTop: 8,
|
|
7093
7088
|
gap: 10,
|
|
7094
7089
|
flexDirection: "column"
|
|
7095
|
-
}, /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7090
|
+
}, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7096
7091
|
maxLines: 2
|
|
7097
|
-
}, textProps), selectedFile.name), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, textProps), "(", Math.round(selectedFile.size / 1024), " KB)"))) : null;
|
|
7092
|
+
}, textProps, views == null ? void 0 : views.text), selectedFile.name), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, textProps, views == null ? void 0 : views.text), "(", Math.round(selectedFile.size / 1024), " KB)"))) : null;
|
|
7098
7093
|
},
|
|
7099
7094
|
renderVideo = _ref5 => {
|
|
7100
7095
|
var {
|
|
@@ -7104,11 +7099,11 @@ var UploadView = _ref => {
|
|
|
7104
7099
|
videoProps,
|
|
7105
7100
|
imageProps
|
|
7106
7101
|
} = _ref5;
|
|
7107
|
-
return /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7102
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7108
7103
|
width: "100%",
|
|
7109
7104
|
height: "100%",
|
|
7110
7105
|
position: "relative"
|
|
7111
|
-
}, /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7106
|
+
}, views == null ? void 0 : views.view), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7112
7107
|
as: "video",
|
|
7113
7108
|
width: "100%",
|
|
7114
7109
|
height: "100%",
|
|
@@ -7117,13 +7112,13 @@ var UploadView = _ref => {
|
|
|
7117
7112
|
objectFit: 'cover'
|
|
7118
7113
|
},
|
|
7119
7114
|
ref: videoRef
|
|
7120
|
-
}, videoProps)), thumbnailUrl && (/*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
7115
|
+
}, videoProps, views == null ? void 0 : views.view)), thumbnailUrl && (/*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
7121
7116
|
src: thumbnailUrl,
|
|
7122
7117
|
alt: "Video Thumbnail",
|
|
7123
7118
|
width: "100%",
|
|
7124
7119
|
height: "100%",
|
|
7125
7120
|
objectFit: "cover"
|
|
7126
|
-
}, imageProps))));
|
|
7121
|
+
}, imageProps, views == null ? void 0 : views.image))));
|
|
7127
7122
|
},
|
|
7128
7123
|
renderImage = _ref6 => {
|
|
7129
7124
|
var {
|
|
@@ -7136,7 +7131,7 @@ var UploadView = _ref => {
|
|
|
7136
7131
|
width: "100%",
|
|
7137
7132
|
height: "100%",
|
|
7138
7133
|
objectFit: "cover"
|
|
7139
|
-
}, imageProps));
|
|
7134
|
+
}, imageProps, views == null ? void 0 : views.image));
|
|
7140
7135
|
},
|
|
7141
7136
|
renderProgress = _ref7 => {
|
|
7142
7137
|
var {
|
|
@@ -7146,20 +7141,21 @@ var UploadView = _ref => {
|
|
|
7146
7141
|
return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
|
|
7147
7142
|
gap: 8,
|
|
7148
7143
|
alignItems: "center"
|
|
7149
|
-
}, progressProps), /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7144
|
+
}, progressProps, views == null ? void 0 : views.horizontal), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7150
7145
|
height: 4,
|
|
7151
7146
|
backgroundColor: "rgba(0,0,0,0.1)",
|
|
7152
7147
|
width: "100%",
|
|
7153
7148
|
borderRadius: 2
|
|
7154
|
-
}, /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7149
|
+
}, views == null ? void 0 : views.view), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7155
7150
|
height: 4,
|
|
7156
7151
|
width: progress + "%",
|
|
7157
7152
|
borderRadius: 2,
|
|
7158
7153
|
backgroundColor: "#000"
|
|
7159
|
-
})), /*#__PURE__*/React__default.createElement(appStudio.Text, {
|
|
7154
|
+
}, views == null ? void 0 : views.view))), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7160
7155
|
fontSize: 12
|
|
7161
|
-
}, progress, "%"));
|
|
7162
|
-
}
|
|
7156
|
+
}, views == null ? void 0 : views.text), progress, "%"));
|
|
7157
|
+
},
|
|
7158
|
+
views = {}
|
|
7163
7159
|
} = _ref;
|
|
7164
7160
|
var finalPreviewUrl = externalPreviewUrl || previewUrl;
|
|
7165
7161
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
@@ -7171,7 +7167,7 @@ var UploadView = _ref => {
|
|
|
7171
7167
|
flexDirection: "column",
|
|
7172
7168
|
overflow: "hidden",
|
|
7173
7169
|
position: "relative"
|
|
7174
|
-
}, containerProps), progress === 100 && fileType === 'image' && finalPreviewUrl && renderImage({
|
|
7170
|
+
}, containerProps, views == null ? void 0 : views.container), progress === 100 && fileType === 'image' && finalPreviewUrl && renderImage({
|
|
7175
7171
|
previewUrl: finalPreviewUrl,
|
|
7176
7172
|
imageProps
|
|
7177
7173
|
}), progress === 100 && fileType === 'video' && thumbnailUrl && renderVideo({
|
|
@@ -7194,7 +7190,7 @@ var UploadView = _ref => {
|
|
|
7194
7190
|
}), errorMessage && renderError({
|
|
7195
7191
|
errorMessage,
|
|
7196
7192
|
errorMessageProps
|
|
7197
|
-
}), /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7193
|
+
}), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7198
7194
|
as: "input",
|
|
7199
7195
|
type: "file",
|
|
7200
7196
|
ref: fileInputRef,
|
|
@@ -7203,7 +7199,7 @@ var UploadView = _ref => {
|
|
|
7203
7199
|
style: {
|
|
7204
7200
|
display: 'none'
|
|
7205
7201
|
}
|
|
7206
|
-
}));
|
|
7202
|
+
}, views == null ? void 0 : views.view)));
|
|
7207
7203
|
};
|
|
7208
7204
|
|
|
7209
7205
|
var _excluded$y = ["accept", "icon", "text", "maxSize", "onFileSelect", "validateFile", "isLoading", "progress"];
|
|
@@ -7355,11 +7351,11 @@ var HeaderIconSizes = {
|
|
|
7355
7351
|
xl: 28
|
|
7356
7352
|
};
|
|
7357
7353
|
|
|
7358
|
-
var _excluded$z = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
|
|
7359
|
-
_excluded2$7 = ["children", "shadow", "isFullScreen", "shape"],
|
|
7360
|
-
_excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition"],
|
|
7361
|
-
_excluded4$3 = ["children"],
|
|
7362
|
-
_excluded5$1 = ["children"];
|
|
7354
|
+
var _excluded$z = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
|
|
7355
|
+
_excluded2$7 = ["children", "shadow", "isFullScreen", "shape", "views"],
|
|
7356
|
+
_excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
|
|
7357
|
+
_excluded4$3 = ["children", "views"],
|
|
7358
|
+
_excluded5$1 = ["children", "views"];
|
|
7363
7359
|
var ModalOverlay = _ref => {
|
|
7364
7360
|
var {
|
|
7365
7361
|
children,
|
|
@@ -7367,13 +7363,14 @@ var ModalOverlay = _ref => {
|
|
|
7367
7363
|
isOpen = false,
|
|
7368
7364
|
isClosePrevented = false,
|
|
7369
7365
|
onClose = () => {},
|
|
7370
|
-
position = 'center'
|
|
7366
|
+
position = 'center',
|
|
7367
|
+
views
|
|
7371
7368
|
} = _ref,
|
|
7372
7369
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
|
|
7373
7370
|
var handleClick = () => {
|
|
7374
7371
|
if (!isClosePrevented) onClose();
|
|
7375
7372
|
};
|
|
7376
|
-
return /*#__PURE__*/React__default.createElement(Center, {
|
|
7373
|
+
return /*#__PURE__*/React__default.createElement(Layout.Center, Object.assign({
|
|
7377
7374
|
position: "fixed",
|
|
7378
7375
|
top: 0,
|
|
7379
7376
|
left: 0,
|
|
@@ -7382,7 +7379,7 @@ var ModalOverlay = _ref => {
|
|
|
7382
7379
|
zIndex: 1000,
|
|
7383
7380
|
onClick: handleClick,
|
|
7384
7381
|
visibility: isOpen ? 'visible' : 'hidden'
|
|
7385
|
-
}, /*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
7382
|
+
}, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7386
7383
|
position: "absolute",
|
|
7387
7384
|
top: 0,
|
|
7388
7385
|
left: 0,
|
|
@@ -7393,14 +7390,15 @@ var ModalOverlay = _ref => {
|
|
|
7393
7390
|
backgroundColor: "color.blackAlpha.500",
|
|
7394
7391
|
backdropFilter: blur ? "blur(" + blur + "px)" : undefined,
|
|
7395
7392
|
onClick: handleClick
|
|
7396
|
-
}, OverlayAlignments[position], props), children));
|
|
7393
|
+
}, OverlayAlignments[position], props, views == null ? void 0 : views.view), children));
|
|
7397
7394
|
};
|
|
7398
7395
|
var ModalContainer = _ref2 => {
|
|
7399
7396
|
var {
|
|
7400
7397
|
children,
|
|
7401
7398
|
shadow,
|
|
7402
7399
|
isFullScreen = false,
|
|
7403
|
-
shape = 'rounded'
|
|
7400
|
+
shape = 'rounded',
|
|
7401
|
+
views
|
|
7404
7402
|
} = _ref2,
|
|
7405
7403
|
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
|
|
7406
7404
|
var defaultShadow = typeof document !== undefined ? {
|
|
@@ -7418,20 +7416,21 @@ var ModalContainer = _ref2 => {
|
|
|
7418
7416
|
var handleClick = event => {
|
|
7419
7417
|
if (event && event.stopPropagation) event.stopPropagation();
|
|
7420
7418
|
};
|
|
7421
|
-
return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
|
|
7419
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Vertical, Object.assign({
|
|
7422
7420
|
cursor: "default",
|
|
7423
7421
|
backgroundColor: "white",
|
|
7424
7422
|
width: isFullScreen ? '100%' : 600,
|
|
7425
7423
|
height: isFullScreen ? '100%' : 'fit-content',
|
|
7426
7424
|
onClick: handleClick
|
|
7427
|
-
}, shadow ? shadow : defaultShadow, ContainerShapes[shape], props), children);
|
|
7425
|
+
}, shadow ? shadow : defaultShadow, ContainerShapes[shape], props, views == null ? void 0 : views.container), children);
|
|
7428
7426
|
};
|
|
7429
7427
|
var ModalHeader = _ref3 => {
|
|
7430
7428
|
var {
|
|
7431
7429
|
children,
|
|
7432
7430
|
buttonColor = 'theme.primary',
|
|
7433
7431
|
iconSize = 'md',
|
|
7434
|
-
buttonPosition = 'right'
|
|
7432
|
+
buttonPosition = 'right',
|
|
7433
|
+
views
|
|
7435
7434
|
} = _ref3,
|
|
7436
7435
|
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
|
|
7437
7436
|
var onClose = props.onClose ? props.onClose : hideModal;
|
|
@@ -7446,16 +7445,17 @@ var ModalHeader = _ref3 => {
|
|
|
7446
7445
|
filter: "none",
|
|
7447
7446
|
width: 0
|
|
7448
7447
|
});
|
|
7449
|
-
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
7448
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
|
|
7450
7449
|
justifyContent: buttonPosition === 'none' ? 'center' : 'space-between',
|
|
7451
7450
|
alignItems: "center",
|
|
7452
7451
|
paddingVertical: 15,
|
|
7453
7452
|
paddingHorizontal: 20
|
|
7454
|
-
}, props), buttonPosition === 'left' && buttonIcon, children, buttonPosition === 'right' && buttonIcon);
|
|
7453
|
+
}, props, views == null ? void 0 : views.header), buttonPosition === 'left' && buttonIcon, children, buttonPosition === 'right' && buttonIcon);
|
|
7455
7454
|
};
|
|
7456
7455
|
var ModalBody = _ref4 => {
|
|
7457
7456
|
var {
|
|
7458
|
-
children
|
|
7457
|
+
children,
|
|
7458
|
+
views
|
|
7459
7459
|
} = _ref4,
|
|
7460
7460
|
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
|
|
7461
7461
|
var defaultBorder = {
|
|
@@ -7464,23 +7464,24 @@ var ModalBody = _ref4 => {
|
|
|
7464
7464
|
borderColor: 'rgba(250, 250, 250, 1)',
|
|
7465
7465
|
borderStyle: 'solid'
|
|
7466
7466
|
};
|
|
7467
|
-
return /*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
7467
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7468
7468
|
paddingVertical: 15,
|
|
7469
7469
|
paddingHorizontal: 20
|
|
7470
|
-
}, defaultBorder, props), children);
|
|
7470
|
+
}, defaultBorder, props, views == null ? void 0 : views.view), children);
|
|
7471
7471
|
};
|
|
7472
7472
|
var ModalFooter = _ref5 => {
|
|
7473
7473
|
var {
|
|
7474
|
-
children
|
|
7474
|
+
children,
|
|
7475
|
+
views
|
|
7475
7476
|
} = _ref5,
|
|
7476
7477
|
props = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
|
|
7477
|
-
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
7478
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
|
|
7478
7479
|
marginTop: "auto",
|
|
7479
7480
|
alignItems: "center",
|
|
7480
7481
|
justifyContent: "flex-end",
|
|
7481
7482
|
paddingVertical: 15,
|
|
7482
7483
|
paddingHorizontal: 20
|
|
7483
|
-
}, props), children);
|
|
7484
|
+
}, props, views == null ? void 0 : views.container), children);
|
|
7484
7485
|
};
|
|
7485
7486
|
|
|
7486
7487
|
var ModalLayout = _ref => {
|
|
@@ -7537,7 +7538,7 @@ Modal.Layout = ModalLayout;
|
|
|
7537
7538
|
|
|
7538
7539
|
var defaultStyles = {};
|
|
7539
7540
|
// Create a context that includes both styles and the onClick function
|
|
7540
|
-
var TableContext = /*#__PURE__*/
|
|
7541
|
+
var TableContext = /*#__PURE__*/React.createContext({
|
|
7541
7542
|
views: defaultStyles,
|
|
7542
7543
|
onRowClick: () => {}
|
|
7543
7544
|
});
|
|
@@ -7559,7 +7560,7 @@ var TableProvider = _ref => {
|
|
|
7559
7560
|
);
|
|
7560
7561
|
};
|
|
7561
7562
|
// Custom hook to consume the context and get the styles and onClick handler
|
|
7562
|
-
var useTableContext = () =>
|
|
7563
|
+
var useTableContext = () => React.useContext(TableContext);
|
|
7563
7564
|
|
|
7564
7565
|
var TableContainer = props => {
|
|
7565
7566
|
var {
|
|
@@ -7568,7 +7569,7 @@ var TableContainer = props => {
|
|
|
7568
7569
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7569
7570
|
as: "table",
|
|
7570
7571
|
borderCollapse: "collapse"
|
|
7571
|
-
}, views.table, props));
|
|
7572
|
+
}, views == null ? void 0 : views.table, props));
|
|
7572
7573
|
};
|
|
7573
7574
|
var TableHead = props => {
|
|
7574
7575
|
var {
|
|
@@ -7579,7 +7580,7 @@ var TableHead = props => {
|
|
|
7579
7580
|
borderBottom: "0.5px solid #ddd",
|
|
7580
7581
|
textAlign: "left",
|
|
7581
7582
|
color: "color.gray.400"
|
|
7582
|
-
}, views.thead, props));
|
|
7583
|
+
}, views == null ? void 0 : views.thead, props));
|
|
7583
7584
|
};
|
|
7584
7585
|
var TableHeadCell = props => {
|
|
7585
7586
|
var {
|
|
@@ -7590,7 +7591,7 @@ var TableHeadCell = props => {
|
|
|
7590
7591
|
padding: "14px",
|
|
7591
7592
|
whiteSpace: "nowrap",
|
|
7592
7593
|
fontWeight: "500"
|
|
7593
|
-
}, views.th, props));
|
|
7594
|
+
}, views == null ? void 0 : views.th, props));
|
|
7594
7595
|
};
|
|
7595
7596
|
var TableRow = props => {
|
|
7596
7597
|
var {
|
|
@@ -7599,7 +7600,7 @@ var TableRow = props => {
|
|
|
7599
7600
|
} = useTableContext();
|
|
7600
7601
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7601
7602
|
as: "tr"
|
|
7602
|
-
}, views.tr, {
|
|
7603
|
+
}, views == null ? void 0 : views.tr, {
|
|
7603
7604
|
onClick: onRowClick
|
|
7604
7605
|
}, props));
|
|
7605
7606
|
};
|
|
@@ -7612,7 +7613,7 @@ var TableCell = props => {
|
|
|
7612
7613
|
padding: "14px",
|
|
7613
7614
|
whiteSpace: "nowrap",
|
|
7614
7615
|
fontWeight: props.isFirstColumn ? '400' : '300'
|
|
7615
|
-
}, views.td, props));
|
|
7616
|
+
}, views == null ? void 0 : views.td, props));
|
|
7616
7617
|
};
|
|
7617
7618
|
var TableBody = props => {
|
|
7618
7619
|
var {
|
|
@@ -7620,7 +7621,7 @@ var TableBody = props => {
|
|
|
7620
7621
|
} = useTableContext();
|
|
7621
7622
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7622
7623
|
as: "tbody"
|
|
7623
|
-
}, views.tbody, props));
|
|
7624
|
+
}, views == null ? void 0 : views.tbody, props));
|
|
7624
7625
|
};
|
|
7625
7626
|
var TableFooter = props => {
|
|
7626
7627
|
var {
|
|
@@ -7628,7 +7629,7 @@ var TableFooter = props => {
|
|
|
7628
7629
|
} = useTableContext();
|
|
7629
7630
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7630
7631
|
as: "tfoot"
|
|
7631
|
-
}, views.tfoot, props));
|
|
7632
|
+
}, views == null ? void 0 : views.tfoot, props));
|
|
7632
7633
|
};
|
|
7633
7634
|
var TableCaption = props => {
|
|
7634
7635
|
var {
|
|
@@ -7638,7 +7639,7 @@ var TableCaption = props => {
|
|
|
7638
7639
|
as: "caption",
|
|
7639
7640
|
margin: '10px 0',
|
|
7640
7641
|
color: "color.gray.400"
|
|
7641
|
-
}, views.caption, props));
|
|
7642
|
+
}, views == null ? void 0 : views.caption, props));
|
|
7642
7643
|
};
|
|
7643
7644
|
var TableView = _ref => {
|
|
7644
7645
|
var {
|
|
@@ -7840,7 +7841,7 @@ var useToggleState = defaultToggled => {
|
|
|
7840
7841
|
};
|
|
7841
7842
|
};
|
|
7842
7843
|
|
|
7843
|
-
var _excluded$A = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
|
|
7844
|
+
var _excluded$A = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views"];
|
|
7844
7845
|
var ToggleView = _ref => {
|
|
7845
7846
|
var {
|
|
7846
7847
|
children,
|
|
@@ -7851,7 +7852,8 @@ var ToggleView = _ref => {
|
|
|
7851
7852
|
isDisabled,
|
|
7852
7853
|
isToggle,
|
|
7853
7854
|
setIsToggled,
|
|
7854
|
-
onToggle
|
|
7855
|
+
onToggle,
|
|
7856
|
+
views
|
|
7855
7857
|
} = _ref,
|
|
7856
7858
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
|
|
7857
7859
|
var toggleColor = !isDisabled ? 'color.trueGray.400' : 'theme.disabled';
|
|
@@ -7870,6 +7872,7 @@ var ToggleView = _ref => {
|
|
|
7870
7872
|
},
|
|
7871
7873
|
ghost: {}
|
|
7872
7874
|
};
|
|
7875
|
+
var handleHover = () => setIsHovered(!isHovered);
|
|
7873
7876
|
var handleToggle = () => {
|
|
7874
7877
|
if (!isDisabled) {
|
|
7875
7878
|
setIsToggled(prev => {
|
|
@@ -7887,12 +7890,12 @@ var ToggleView = _ref => {
|
|
|
7887
7890
|
width: "fit-content",
|
|
7888
7891
|
color: isActive ? 'color.white' : toggleColor,
|
|
7889
7892
|
backgroundColor: isActive ? toggleColor : 'transparent',
|
|
7890
|
-
onMouseEnter:
|
|
7893
|
+
onMouseEnter: handleHover,
|
|
7891
7894
|
onMouseLeave: () => setIsHovered(false),
|
|
7892
7895
|
cursor: isDisabled ? 'not-allowed' : 'pointer',
|
|
7893
7896
|
borderRadius: shape === 'pillShaped' ? '50px' : '8px',
|
|
7894
7897
|
onClick: handleToggle
|
|
7895
|
-
}, toggleVariants[variant], props), children);
|
|
7898
|
+
}, toggleVariants[variant], props, views == null ? void 0 : views.container), children);
|
|
7896
7899
|
};
|
|
7897
7900
|
|
|
7898
7901
|
var _excluded$B = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
|
|
@@ -7956,7 +7959,8 @@ var ToggleGroupView = _ref => {
|
|
|
7956
7959
|
// Prop 'shape' with default value 'rounded', determines the shape of the toggle buttons.
|
|
7957
7960
|
shape = 'rounded',
|
|
7958
7961
|
// Prop 'variant' with default value 'ghost' represents the visual style variant of the toggles.
|
|
7959
|
-
variant = 'ghost'
|
|
7962
|
+
variant = 'ghost',
|
|
7963
|
+
views
|
|
7960
7964
|
} = _ref;
|
|
7961
7965
|
// handleToggle is a memoized callback that handles the toggle state changes.
|
|
7962
7966
|
var handleToggle = React.useCallback((id, isActive) => {
|
|
@@ -7971,18 +7975,19 @@ var ToggleGroupView = _ref => {
|
|
|
7971
7975
|
return newActiveToggles;
|
|
7972
7976
|
});
|
|
7973
7977
|
}, [onToggleChange, setActiveToggles]);
|
|
7974
|
-
return /*#__PURE__*/React__default.createElement(Horizontal, {
|
|
7978
|
+
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
7975
7979
|
role: "ToggleGroup",
|
|
7976
7980
|
display: "flex",
|
|
7977
7981
|
gap: 5
|
|
7978
|
-
}, items.map(item => (/*#__PURE__*/React__default.createElement(Toggle, {
|
|
7982
|
+
}, views == null ? void 0 : views.container), items.map(item => (/*#__PURE__*/React__default.createElement(Toggle, {
|
|
7979
7983
|
role: "toggle-" + item.id,
|
|
7980
7984
|
key: item.id,
|
|
7981
7985
|
shape: shape,
|
|
7982
7986
|
variant: variant,
|
|
7983
7987
|
isToggled: activeToggles.includes(item.id) || item.isActive,
|
|
7984
7988
|
onToggle: state => handleToggle(item.id, state),
|
|
7985
|
-
isDisabled: item.isDisabled
|
|
7989
|
+
isDisabled: item.isDisabled,
|
|
7990
|
+
views: views == null ? void 0 : views.toggle
|
|
7986
7991
|
}, item.value))));
|
|
7987
7992
|
};
|
|
7988
7993
|
|
|
@@ -8111,12 +8116,13 @@ var DragAndDropView = _ref => {
|
|
|
8111
8116
|
itemProps,
|
|
8112
8117
|
draggedIndex,
|
|
8113
8118
|
itemRefs,
|
|
8114
|
-
handleDragStart
|
|
8119
|
+
handleDragStart,
|
|
8120
|
+
views
|
|
8115
8121
|
} = _ref;
|
|
8116
8122
|
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
8117
8123
|
overflow: "hidden",
|
|
8118
8124
|
position: "relative"
|
|
8119
|
-
}, containerProps), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
8125
|
+
}, containerProps, views == null ? void 0 : views.container), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
8120
8126
|
key: index,
|
|
8121
8127
|
ref: el => itemRefs.current[index] = el,
|
|
8122
8128
|
onMouseDown: e => handleDragStart(e, index),
|
|
@@ -8125,7 +8131,7 @@ var DragAndDropView = _ref => {
|
|
|
8125
8131
|
cursor: "grab",
|
|
8126
8132
|
transition: "transform 0.2s",
|
|
8127
8133
|
backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
|
|
8128
|
-
}, itemProps), renderItem ? renderItem(item, index) : item))));
|
|
8134
|
+
}, itemProps, views == null ? void 0 : views.item), renderItem ? renderItem(item, index) : item))));
|
|
8129
8135
|
};
|
|
8130
8136
|
|
|
8131
8137
|
var DragAndDropComponent = props => {
|