@app-studio/web 0.8.66 → 0.8.67
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 +0 -1
- 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 +19 -6
- 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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.symbol.description.js'), require('react'), require('core-js/modules/es.object.assign.js'), require('app-studio'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('react-router-dom'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/es.string.starts-with.js'), require('date-fns/format'), require('formik'), require('core-js/modules/web.url.js'), require('core-js/modules/web.url.to-json.js'), require('core-js/modules/web.url-search-params.js'), require('zustand')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.symbol.description.js', 'react', 'core-js/modules/es.object.assign.js', 'app-studio', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/web.dom-collections.iterator.js', 'react-router-dom', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/es.string.starts-with.js', 'date-fns/format', 'formik', 'core-js/modules/web.url.js', 'core-js/modules/web.url.to-json.js', 'core-js/modules/web.url-search-params.js', 'zustand'], factory) :
|
|
4
|
-
(global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, global.appStudio, null, null, null, global.reactRouterDom, null, null, null, global.format, global.formik, null, null, null, global.zustand));
|
|
5
|
-
}(this, (function (exports, es_symbol_description_js, React, es_object_assign_js, appStudio, es_array_iterator_js, es_parseFloat_js, web_domCollections_iterator_js, reactRouterDom, es_array_includes_js, es_string_includes_js, es_string_startsWith_js, format, formik, web_url_js, web_url_toJson_js, web_urlSearchParams_js, zustand) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.symbol.description.js'), require('react'), require('core-js/modules/es.object.assign.js'), require('app-studio'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('react-router-dom'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/es.string.starts-with.js'), require('date-fns/format'), require('formik'), require('core-js/modules/web.url.js'), require('core-js/modules/web.url.to-json.js'), require('core-js/modules/web.url-search-params.js'), require('zustand'), require('src/components/Layout')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.symbol.description.js', 'react', 'core-js/modules/es.object.assign.js', 'app-studio', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/web.dom-collections.iterator.js', 'react-router-dom', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/es.string.starts-with.js', 'date-fns/format', 'formik', 'core-js/modules/web.url.js', 'core-js/modules/web.url.to-json.js', 'core-js/modules/web.url-search-params.js', 'zustand', 'src/components/Layout'], factory) :
|
|
4
|
+
(global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, global.appStudio, null, null, null, global.reactRouterDom, null, null, null, global.format, global.formik, null, null, null, global.zustand, global.Layout));
|
|
5
|
+
}(this, (function (exports, es_symbol_description_js, React, es_object_assign_js, appStudio, es_array_iterator_js, es_parseFloat_js, web_domCollections_iterator_js, reactRouterDom, es_array_includes_js, es_string_includes_js, es_string_startsWith_js, format, formik, web_url_js, web_url_toJson_js, web_urlSearchParams_js, zustand, Layout) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var React__default = 'default' in React ? React['default'] : React;
|
|
8
8
|
format = format && Object.prototype.hasOwnProperty.call(format, 'default') ? format['default'] : format;
|
|
@@ -68,19 +68,25 @@
|
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size"];
|
|
71
|
+
var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size", "views"];
|
|
72
72
|
var TextContent = _ref => {
|
|
73
73
|
var {
|
|
74
74
|
children,
|
|
75
75
|
isSub,
|
|
76
|
-
isSup
|
|
76
|
+
isSup,
|
|
77
|
+
views
|
|
77
78
|
} = _ref;
|
|
78
|
-
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(
|
|
79
|
+
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({
|
|
80
|
+
as: "sup"
|
|
81
|
+
}, views == null ? void 0 : views.sup), children)), isSup && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
82
|
+
as: "sup"
|
|
83
|
+
}, views == null ? void 0 : views.sup), children)), !isSub && !isSup && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children))) : children);
|
|
79
84
|
};
|
|
80
85
|
var TruncateText = _ref2 => {
|
|
81
86
|
var {
|
|
82
87
|
text,
|
|
83
|
-
maxLines = 1
|
|
88
|
+
maxLines = 1,
|
|
89
|
+
views
|
|
84
90
|
} = _ref2;
|
|
85
91
|
var containerRef = React.useRef(null);
|
|
86
92
|
var [truncatedLength, setTruncatedLength] = React.useState(text.length);
|
|
@@ -109,9 +115,9 @@
|
|
|
109
115
|
updateTruncatedText();
|
|
110
116
|
}, [text, maxLines]);
|
|
111
117
|
var displayText = text.length > truncatedLength ? text.substring(0, truncatedLength) + '...' : text;
|
|
112
|
-
return /*#__PURE__*/React__default.createElement(
|
|
118
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
113
119
|
ref: containerRef
|
|
114
|
-
}, displayText);
|
|
120
|
+
}, views == null ? void 0 : views.truncateText), displayText);
|
|
115
121
|
};
|
|
116
122
|
var TextView = _ref3 => {
|
|
117
123
|
var {
|
|
@@ -124,7 +130,8 @@
|
|
|
124
130
|
isSup = false,
|
|
125
131
|
isStriked = false,
|
|
126
132
|
weight = 'normal',
|
|
127
|
-
size = 'md'
|
|
133
|
+
size = 'md',
|
|
134
|
+
views
|
|
128
135
|
} = _ref3,
|
|
129
136
|
props = _objectWithoutPropertiesLoose(_ref3, _excluded);
|
|
130
137
|
var headingStyles = heading ? HeadingSizes[heading] : {};
|
|
@@ -138,13 +145,13 @@
|
|
|
138
145
|
fontStyle: isItalic ? 'italic' : 'normal',
|
|
139
146
|
fontWeight: appStudio.Typography.fontWeights[weight],
|
|
140
147
|
textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
|
|
141
|
-
}, noLineBreak, headingStyles, props), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
|
|
148
|
+
}, noLineBreak, headingStyles, props, views == null ? void 0 : views.container), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
|
|
142
149
|
text: children,
|
|
143
150
|
maxLines: maxLines
|
|
144
|
-
})) : (/*#__PURE__*/React__default.createElement(TextContent,
|
|
151
|
+
})) : (/*#__PURE__*/React__default.createElement(TextContent, {
|
|
145
152
|
isSub: isSub,
|
|
146
153
|
isSup: isSup
|
|
147
|
-
},
|
|
154
|
+
}, children)));
|
|
148
155
|
};
|
|
149
156
|
|
|
150
157
|
var TextComponent = props => {
|
|
@@ -209,74 +216,74 @@
|
|
|
209
216
|
CenterBase.displayName = 'Center';
|
|
210
217
|
var Center = CenterBase;
|
|
211
218
|
|
|
212
|
-
var _excluded$4 = ["
|
|
213
|
-
_excluded2 = ["
|
|
214
|
-
_excluded3 = ["
|
|
215
|
-
_excluded4 = ["
|
|
216
|
-
_excluded5 = ["
|
|
217
|
-
_excluded6 = ["
|
|
218
|
-
_excluded7 = ["
|
|
219
|
-
_excluded8 = ["
|
|
220
|
-
_excluded9 = ["
|
|
221
|
-
_excluded10 = ["
|
|
222
|
-
_excluded11 = ["
|
|
223
|
-
_excluded12 = ["
|
|
224
|
-
_excluded13 = ["
|
|
225
|
-
_excluded14 = ["
|
|
226
|
-
_excluded15 = ["
|
|
227
|
-
_excluded16 = ["
|
|
228
|
-
_excluded17 = ["
|
|
229
|
-
_excluded18 = ["
|
|
230
|
-
_excluded19 = ["
|
|
231
|
-
_excluded20 = ["
|
|
232
|
-
_excluded21 = ["
|
|
233
|
-
_excluded22 = ["
|
|
234
|
-
_excluded23 = ["
|
|
235
|
-
_excluded24 = ["
|
|
236
|
-
_excluded25 = ["
|
|
237
|
-
_excluded26 = ["
|
|
238
|
-
_excluded27 = ["
|
|
239
|
-
_excluded28 = ["
|
|
240
|
-
_excluded29 = ["
|
|
241
|
-
_excluded30 = ["
|
|
242
|
-
_excluded31 = ["
|
|
243
|
-
_excluded32 = ["
|
|
244
|
-
_excluded33 = ["
|
|
245
|
-
_excluded34 = ["
|
|
246
|
-
_excluded35 = ["
|
|
247
|
-
_excluded36 = ["
|
|
248
|
-
_excluded37 = ["
|
|
249
|
-
_excluded38 = ["
|
|
250
|
-
_excluded39 = ["
|
|
251
|
-
_excluded40 = ["
|
|
252
|
-
_excluded41 = ["
|
|
253
|
-
_excluded42 = ["
|
|
254
|
-
_excluded43 = ["
|
|
255
|
-
_excluded44 = ["
|
|
256
|
-
_excluded45 = ["
|
|
257
|
-
_excluded46 = ["
|
|
258
|
-
_excluded47 = ["
|
|
259
|
-
_excluded48 = ["
|
|
260
|
-
_excluded49 = ["
|
|
261
|
-
_excluded50 = ["
|
|
262
|
-
_excluded51 = ["
|
|
263
|
-
_excluded52 = ["
|
|
264
|
-
_excluded53 = ["
|
|
265
|
-
_excluded54 = ["
|
|
266
|
-
_excluded55 = ["
|
|
267
|
-
_excluded56 = ["
|
|
268
|
-
_excluded57 = ["
|
|
269
|
-
_excluded58 = ["
|
|
270
|
-
_excluded59 = ["
|
|
271
|
-
_excluded60 = ["
|
|
272
|
-
_excluded61 = ["
|
|
273
|
-
_excluded62 = ["
|
|
274
|
-
_excluded63 = ["
|
|
275
|
-
_excluded64 = ["
|
|
219
|
+
var _excluded$4 = ["widthHeight", "color", "transform", "orientation", "children"],
|
|
220
|
+
_excluded2 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
221
|
+
_excluded3 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
222
|
+
_excluded4 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
223
|
+
_excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
224
|
+
_excluded6 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
225
|
+
_excluded7 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
226
|
+
_excluded8 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
227
|
+
_excluded9 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
228
|
+
_excluded10 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
229
|
+
_excluded11 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
230
|
+
_excluded12 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
231
|
+
_excluded13 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
232
|
+
_excluded14 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
233
|
+
_excluded15 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
234
|
+
_excluded16 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
235
|
+
_excluded17 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
236
|
+
_excluded18 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
237
|
+
_excluded19 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
238
|
+
_excluded20 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
239
|
+
_excluded21 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
240
|
+
_excluded22 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
241
|
+
_excluded23 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
242
|
+
_excluded24 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
243
|
+
_excluded25 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
244
|
+
_excluded26 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
245
|
+
_excluded27 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
246
|
+
_excluded28 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
247
|
+
_excluded29 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
248
|
+
_excluded30 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
249
|
+
_excluded31 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
250
|
+
_excluded32 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
251
|
+
_excluded33 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
252
|
+
_excluded34 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
253
|
+
_excluded35 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
254
|
+
_excluded36 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
255
|
+
_excluded37 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
256
|
+
_excluded38 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
257
|
+
_excluded39 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
258
|
+
_excluded40 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
259
|
+
_excluded41 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
260
|
+
_excluded42 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
261
|
+
_excluded43 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
262
|
+
_excluded44 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
263
|
+
_excluded45 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
264
|
+
_excluded46 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
265
|
+
_excluded47 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
266
|
+
_excluded48 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
267
|
+
_excluded49 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
268
|
+
_excluded50 = ["widthHeight", "color", "strokeWidth", "filled"],
|
|
269
|
+
_excluded51 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
270
|
+
_excluded52 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
271
|
+
_excluded53 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
272
|
+
_excluded54 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
273
|
+
_excluded55 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
274
|
+
_excluded56 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
275
|
+
_excluded57 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
276
|
+
_excluded58 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
277
|
+
_excluded59 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
278
|
+
_excluded60 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
279
|
+
_excluded61 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
280
|
+
_excluded62 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
281
|
+
_excluded63 = ["widthHeight", "color", "filled", "strokeWidth"],
|
|
282
|
+
_excluded64 = ["widthHeight", "color", "strokeWidth", "filled"];
|
|
276
283
|
// Default wrapper component for consistent sizing and styling
|
|
277
284
|
var IconWrapper = _ref => {
|
|
278
285
|
var {
|
|
279
|
-
|
|
286
|
+
widthHeight,
|
|
280
287
|
color = 'black',
|
|
281
288
|
transform,
|
|
282
289
|
orientation = 'up',
|
|
@@ -284,8 +291,8 @@
|
|
|
284
291
|
} = _ref,
|
|
285
292
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
286
293
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
287
|
-
widthHeight:
|
|
288
|
-
lineHeight:
|
|
294
|
+
widthHeight: widthHeight,
|
|
295
|
+
lineHeight: widthHeight,
|
|
289
296
|
color: color,
|
|
290
297
|
display: "flex",
|
|
291
298
|
transform: transform ? transform : orientation === 'left' ? 'rotate(-90deg)' : orientation === 'right' ? 'rotate(90deg)' : orientation === 'up' ? 'rotate(0deg)' : orientation === 'down' ? 'rotate(180deg)' : 'none'
|
|
@@ -304,14 +311,14 @@
|
|
|
304
311
|
// Example Icon Component: ChevronIcon
|
|
305
312
|
var ChevronIcon = _ref2 => {
|
|
306
313
|
var {
|
|
307
|
-
|
|
314
|
+
widthHeight = 24,
|
|
308
315
|
color = 'currentColor',
|
|
309
316
|
filled = true,
|
|
310
317
|
strokeWidth = 1
|
|
311
318
|
} = _ref2,
|
|
312
319
|
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
313
320
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
314
|
-
widthHeight:
|
|
321
|
+
widthHeight: widthHeight,
|
|
315
322
|
color: color
|
|
316
323
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
317
324
|
viewBox: "0 0 24 24",
|
|
@@ -323,14 +330,14 @@
|
|
|
323
330
|
};
|
|
324
331
|
var DragHandleIcon = _ref3 => {
|
|
325
332
|
var {
|
|
326
|
-
|
|
333
|
+
widthHeight = 24,
|
|
327
334
|
color = 'currentColor',
|
|
328
335
|
filled = true,
|
|
329
336
|
strokeWidth = 1
|
|
330
337
|
} = _ref3,
|
|
331
338
|
props = _objectWithoutPropertiesLoose(_ref3, _excluded3);
|
|
332
339
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
333
|
-
widthHeight:
|
|
340
|
+
widthHeight: widthHeight,
|
|
334
341
|
color: color
|
|
335
342
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
336
343
|
viewBox: "0 0 24 24",
|
|
@@ -365,14 +372,14 @@
|
|
|
365
372
|
// File Icon Component
|
|
366
373
|
var FileIcon = _ref4 => {
|
|
367
374
|
var {
|
|
368
|
-
|
|
375
|
+
widthHeight = 24,
|
|
369
376
|
color = 'currentColor',
|
|
370
377
|
filled = true,
|
|
371
378
|
strokeWidth = 1
|
|
372
379
|
} = _ref4,
|
|
373
380
|
props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
374
381
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
375
|
-
widthHeight:
|
|
382
|
+
widthHeight: widthHeight,
|
|
376
383
|
color: color
|
|
377
384
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
378
385
|
viewBox: "0 0 24 24",
|
|
@@ -393,14 +400,14 @@
|
|
|
393
400
|
// Video Icon Component
|
|
394
401
|
var VideoIcon = _ref5 => {
|
|
395
402
|
var {
|
|
396
|
-
|
|
403
|
+
widthHeight = 24,
|
|
397
404
|
color = 'currentColor',
|
|
398
405
|
filled = true,
|
|
399
406
|
strokeWidth = 1
|
|
400
407
|
} = _ref5,
|
|
401
408
|
props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
402
409
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
403
|
-
widthHeight:
|
|
410
|
+
widthHeight: widthHeight,
|
|
404
411
|
color: color
|
|
405
412
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
406
413
|
viewBox: "0 0 24 24",
|
|
@@ -426,14 +433,14 @@
|
|
|
426
433
|
// Image Icon Component
|
|
427
434
|
var ImageIcon = _ref6 => {
|
|
428
435
|
var {
|
|
429
|
-
|
|
436
|
+
widthHeight = 24,
|
|
430
437
|
color = 'currentColor',
|
|
431
438
|
filled = true,
|
|
432
439
|
strokeWidth = 1
|
|
433
440
|
} = _ref6,
|
|
434
441
|
props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
|
|
435
442
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
436
|
-
widthHeight:
|
|
443
|
+
widthHeight: widthHeight,
|
|
437
444
|
color: color
|
|
438
445
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
439
446
|
viewBox: "0 0 24 24",
|
|
@@ -465,14 +472,14 @@
|
|
|
465
472
|
};
|
|
466
473
|
var TwitterIcon = _ref7 => {
|
|
467
474
|
var {
|
|
468
|
-
|
|
475
|
+
widthHeight = 24,
|
|
469
476
|
color = 'currentColor',
|
|
470
477
|
filled = true,
|
|
471
478
|
strokeWidth = 1
|
|
472
479
|
} = _ref7,
|
|
473
480
|
props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
474
481
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
475
|
-
widthHeight:
|
|
482
|
+
widthHeight: widthHeight,
|
|
476
483
|
color: color
|
|
477
484
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
478
485
|
viewBox: "0 0 24 24",
|
|
@@ -487,14 +494,14 @@
|
|
|
487
494
|
};
|
|
488
495
|
var XIcon = _ref8 => {
|
|
489
496
|
var {
|
|
490
|
-
|
|
497
|
+
widthHeight = 24,
|
|
491
498
|
color = 'currentColor',
|
|
492
499
|
filled = true,
|
|
493
500
|
strokeWidth = 1
|
|
494
501
|
} = _ref8,
|
|
495
502
|
props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
496
503
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
497
|
-
widthHeight:
|
|
504
|
+
widthHeight: widthHeight,
|
|
498
505
|
color: color
|
|
499
506
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
500
507
|
viewBox: "0 0 24 24",
|
|
@@ -510,14 +517,14 @@
|
|
|
510
517
|
// Example of a Twitch Icon
|
|
511
518
|
var TwitchIcon = _ref9 => {
|
|
512
519
|
var {
|
|
513
|
-
|
|
520
|
+
widthHeight = 24,
|
|
514
521
|
color = 'currentColor',
|
|
515
522
|
filled = true,
|
|
516
523
|
strokeWidth = 1
|
|
517
524
|
} = _ref9,
|
|
518
525
|
props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
519
526
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
520
|
-
widthHeight:
|
|
527
|
+
widthHeight: widthHeight,
|
|
521
528
|
color: color
|
|
522
529
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
523
530
|
viewBox: "0 0 24 24",
|
|
@@ -538,14 +545,14 @@
|
|
|
538
545
|
// Example of another Icon: CloseIcon
|
|
539
546
|
var CloseIcon = _ref10 => {
|
|
540
547
|
var {
|
|
541
|
-
|
|
548
|
+
widthHeight = 24,
|
|
542
549
|
color = 'currentColor',
|
|
543
550
|
filled = false,
|
|
544
551
|
strokeWidth = 1
|
|
545
552
|
} = _ref10,
|
|
546
553
|
props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
547
554
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
548
|
-
widthHeight:
|
|
555
|
+
widthHeight: widthHeight,
|
|
549
556
|
color: color
|
|
550
557
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
551
558
|
viewBox: "0 0 24 24",
|
|
@@ -567,14 +574,14 @@
|
|
|
567
574
|
};
|
|
568
575
|
var InstagramIcon = _ref11 => {
|
|
569
576
|
var {
|
|
570
|
-
|
|
577
|
+
widthHeight = 24,
|
|
571
578
|
color = 'currentColor',
|
|
572
579
|
filled = false,
|
|
573
580
|
strokeWidth = 1
|
|
574
581
|
} = _ref11,
|
|
575
582
|
props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
576
583
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
577
|
-
widthHeight:
|
|
584
|
+
widthHeight: widthHeight,
|
|
578
585
|
color: color
|
|
579
586
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
580
587
|
viewBox: "0 0 24 24",
|
|
@@ -598,14 +605,14 @@
|
|
|
598
605
|
};
|
|
599
606
|
var YoutubeIcon = _ref12 => {
|
|
600
607
|
var {
|
|
601
|
-
|
|
608
|
+
widthHeight = 24,
|
|
602
609
|
color = 'currentColor',
|
|
603
610
|
filled = true,
|
|
604
611
|
strokeWidth = 1
|
|
605
612
|
} = _ref12,
|
|
606
613
|
props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
607
614
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
608
|
-
widthHeight:
|
|
615
|
+
widthHeight: widthHeight,
|
|
609
616
|
color: color
|
|
610
617
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
611
618
|
viewBox: "0 0 24 24",
|
|
@@ -626,14 +633,14 @@
|
|
|
626
633
|
};
|
|
627
634
|
var FacebookIcon = _ref13 => {
|
|
628
635
|
var {
|
|
629
|
-
|
|
636
|
+
widthHeight = 24,
|
|
630
637
|
color = 'currentColor',
|
|
631
638
|
filled = true,
|
|
632
639
|
strokeWidth = 1
|
|
633
640
|
} = _ref13,
|
|
634
641
|
props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
635
642
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
636
|
-
widthHeight:
|
|
643
|
+
widthHeight: widthHeight,
|
|
637
644
|
color: color
|
|
638
645
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
639
646
|
viewBox: "0 0 24 24",
|
|
@@ -648,14 +655,14 @@
|
|
|
648
655
|
};
|
|
649
656
|
var LinkedinIcon = _ref14 => {
|
|
650
657
|
var {
|
|
651
|
-
|
|
658
|
+
widthHeight = 24,
|
|
652
659
|
color = 'currentColor',
|
|
653
660
|
filled = true,
|
|
654
661
|
strokeWidth = 1
|
|
655
662
|
} = _ref14,
|
|
656
663
|
props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
657
664
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
658
|
-
widthHeight:
|
|
665
|
+
widthHeight: widthHeight,
|
|
659
666
|
color: color
|
|
660
667
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
661
668
|
viewBox: "0 0 24 24"
|
|
@@ -674,14 +681,14 @@
|
|
|
674
681
|
};
|
|
675
682
|
var ThreadsIcon = _ref15 => {
|
|
676
683
|
var {
|
|
677
|
-
|
|
684
|
+
widthHeight = 24,
|
|
678
685
|
color = 'currentColor',
|
|
679
686
|
filled = false,
|
|
680
687
|
strokeWidth = 1
|
|
681
688
|
} = _ref15,
|
|
682
689
|
props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
683
690
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
684
|
-
widthHeight:
|
|
691
|
+
widthHeight: widthHeight,
|
|
685
692
|
color: color
|
|
686
693
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
687
694
|
viewBox: "0 0 24 24"
|
|
@@ -696,7 +703,7 @@
|
|
|
696
703
|
// Example Refactored Icon: MinusIcon without undefined 'padding' prop
|
|
697
704
|
var MinusIcon = _ref16 => {
|
|
698
705
|
var {
|
|
699
|
-
|
|
706
|
+
widthHeight = 24,
|
|
700
707
|
color = 'currentColor',
|
|
701
708
|
filled = false,
|
|
702
709
|
// Assuming minus can be filled; adjust as needed
|
|
@@ -704,7 +711,7 @@
|
|
|
704
711
|
} = _ref16,
|
|
705
712
|
props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
706
713
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
707
|
-
widthHeight:
|
|
714
|
+
widthHeight: widthHeight,
|
|
708
715
|
color: color
|
|
709
716
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
710
717
|
viewBox: "0 0 24 24",
|
|
@@ -721,14 +728,14 @@
|
|
|
721
728
|
// Example Refactored Icon: InfoIcon with accessibility enhancements
|
|
722
729
|
var InfoIcon = _ref17 => {
|
|
723
730
|
var {
|
|
724
|
-
|
|
731
|
+
widthHeight = 24,
|
|
725
732
|
color = 'currentColor',
|
|
726
733
|
filled = false,
|
|
727
734
|
strokeWidth = 1
|
|
728
735
|
} = _ref17,
|
|
729
736
|
props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
730
737
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
731
|
-
widthHeight:
|
|
738
|
+
widthHeight: widthHeight,
|
|
732
739
|
color: color
|
|
733
740
|
}, props, {
|
|
734
741
|
"aria-label": "Information"
|
|
@@ -742,14 +749,14 @@
|
|
|
742
749
|
};
|
|
743
750
|
var PlayIcon = _ref18 => {
|
|
744
751
|
var {
|
|
745
|
-
|
|
752
|
+
widthHeight = 24,
|
|
746
753
|
color = 'currentColor',
|
|
747
754
|
filled = true,
|
|
748
755
|
strokeWidth = 1
|
|
749
756
|
} = _ref18,
|
|
750
757
|
props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
751
758
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
752
|
-
widthHeight:
|
|
759
|
+
widthHeight: widthHeight,
|
|
753
760
|
color: color
|
|
754
761
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
755
762
|
viewBox: "0 0 24 24",
|
|
@@ -761,14 +768,14 @@
|
|
|
761
768
|
};
|
|
762
769
|
var PauseIcon = _ref19 => {
|
|
763
770
|
var {
|
|
764
|
-
|
|
771
|
+
widthHeight = 24,
|
|
765
772
|
color = 'currentColor',
|
|
766
773
|
filled = true,
|
|
767
774
|
strokeWidth = 1
|
|
768
775
|
} = _ref19,
|
|
769
776
|
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
770
777
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
771
|
-
widthHeight:
|
|
778
|
+
widthHeight: widthHeight,
|
|
772
779
|
color: color
|
|
773
780
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
774
781
|
viewBox: "0 0 24 24",
|
|
@@ -780,14 +787,14 @@
|
|
|
780
787
|
};
|
|
781
788
|
var HeartIcon = _ref20 => {
|
|
782
789
|
var {
|
|
783
|
-
|
|
790
|
+
widthHeight = 24,
|
|
784
791
|
color = 'currentColor',
|
|
785
792
|
filled = true,
|
|
786
793
|
strokeWidth = 1
|
|
787
794
|
} = _ref20,
|
|
788
795
|
props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
789
796
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
790
|
-
widthHeight:
|
|
797
|
+
widthHeight: widthHeight,
|
|
791
798
|
color: color
|
|
792
799
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
793
800
|
viewBox: "0 0 24 24",
|
|
@@ -799,14 +806,14 @@
|
|
|
799
806
|
};
|
|
800
807
|
var StarIcon = _ref21 => {
|
|
801
808
|
var {
|
|
802
|
-
|
|
809
|
+
widthHeight = 24,
|
|
803
810
|
color = 'currentColor',
|
|
804
811
|
filled = true,
|
|
805
812
|
strokeWidth = 1
|
|
806
813
|
} = _ref21,
|
|
807
814
|
props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
808
815
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
809
|
-
widthHeight:
|
|
816
|
+
widthHeight: widthHeight,
|
|
810
817
|
color: color
|
|
811
818
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
812
819
|
viewBox: "0 0 24 24",
|
|
@@ -818,14 +825,14 @@
|
|
|
818
825
|
};
|
|
819
826
|
var SaveIcon = _ref22 => {
|
|
820
827
|
var {
|
|
821
|
-
|
|
828
|
+
widthHeight = 24,
|
|
822
829
|
color = 'currentColor',
|
|
823
830
|
filled = false,
|
|
824
831
|
strokeWidth = 1
|
|
825
832
|
} = _ref22,
|
|
826
833
|
props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
827
834
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
828
|
-
widthHeight:
|
|
835
|
+
widthHeight: widthHeight,
|
|
829
836
|
color: color
|
|
830
837
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
831
838
|
viewBox: "0 0 24 24",
|
|
@@ -841,14 +848,14 @@
|
|
|
841
848
|
};
|
|
842
849
|
var WarningIcon = _ref23 => {
|
|
843
850
|
var {
|
|
844
|
-
|
|
851
|
+
widthHeight = 24,
|
|
845
852
|
color = 'currentColor',
|
|
846
853
|
filled = false,
|
|
847
854
|
strokeWidth = 1
|
|
848
855
|
} = _ref23,
|
|
849
856
|
props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
|
|
850
857
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
851
|
-
widthHeight:
|
|
858
|
+
widthHeight: widthHeight,
|
|
852
859
|
color: color
|
|
853
860
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
854
861
|
viewBox: "0 0 24 24",
|
|
@@ -872,14 +879,14 @@
|
|
|
872
879
|
};
|
|
873
880
|
var BatteryIcon = _ref24 => {
|
|
874
881
|
var {
|
|
875
|
-
|
|
882
|
+
widthHeight = 24,
|
|
876
883
|
color = 'currentColor',
|
|
877
884
|
filled = true,
|
|
878
885
|
strokeWidth = 1
|
|
879
886
|
} = _ref24,
|
|
880
887
|
props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
|
|
881
888
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
882
|
-
widthHeight:
|
|
889
|
+
widthHeight: widthHeight,
|
|
883
890
|
color: color
|
|
884
891
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
885
892
|
viewBox: "0 0 24 24",
|
|
@@ -891,14 +898,14 @@
|
|
|
891
898
|
};
|
|
892
899
|
var BookmarkIcon = _ref25 => {
|
|
893
900
|
var {
|
|
894
|
-
|
|
901
|
+
widthHeight = 24,
|
|
895
902
|
color = 'currentColor',
|
|
896
903
|
filled = false,
|
|
897
904
|
strokeWidth = 1
|
|
898
905
|
} = _ref25,
|
|
899
906
|
props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
|
|
900
907
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
901
|
-
widthHeight:
|
|
908
|
+
widthHeight: widthHeight,
|
|
902
909
|
color: color
|
|
903
910
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
904
911
|
viewBox: "0 0 24 24",
|
|
@@ -910,14 +917,14 @@
|
|
|
910
917
|
};
|
|
911
918
|
var CloudIcon = _ref26 => {
|
|
912
919
|
var {
|
|
913
|
-
|
|
920
|
+
widthHeight = 24,
|
|
914
921
|
color = 'currentColor',
|
|
915
922
|
filled = true,
|
|
916
923
|
strokeWidth = 1
|
|
917
924
|
} = _ref26,
|
|
918
925
|
props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
|
|
919
926
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
920
|
-
widthHeight:
|
|
927
|
+
widthHeight: widthHeight,
|
|
921
928
|
color: color
|
|
922
929
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
923
930
|
viewBox: "0 0 24 24",
|
|
@@ -929,14 +936,14 @@
|
|
|
929
936
|
};
|
|
930
937
|
var CopyIcon = _ref27 => {
|
|
931
938
|
var {
|
|
932
|
-
|
|
939
|
+
widthHeight = 24,
|
|
933
940
|
color = 'currentColor',
|
|
934
941
|
filled = false,
|
|
935
942
|
strokeWidth = 1
|
|
936
943
|
} = _ref27,
|
|
937
944
|
props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
|
|
938
945
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
939
|
-
widthHeight:
|
|
946
|
+
widthHeight: widthHeight,
|
|
940
947
|
color: color
|
|
941
948
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
942
949
|
viewBox: "0 0 24 24",
|
|
@@ -955,14 +962,14 @@
|
|
|
955
962
|
};
|
|
956
963
|
var DustBinIcon = _ref28 => {
|
|
957
964
|
var {
|
|
958
|
-
|
|
965
|
+
widthHeight = 24,
|
|
959
966
|
color = 'currentColor',
|
|
960
967
|
filled = false,
|
|
961
968
|
strokeWidth = 1
|
|
962
969
|
} = _ref28,
|
|
963
970
|
props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
|
|
964
971
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
965
|
-
widthHeight:
|
|
972
|
+
widthHeight: widthHeight,
|
|
966
973
|
color: color
|
|
967
974
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
968
975
|
viewBox: "0 0 24 24",
|
|
@@ -974,14 +981,14 @@
|
|
|
974
981
|
};
|
|
975
982
|
var EditIcon = _ref29 => {
|
|
976
983
|
var {
|
|
977
|
-
|
|
984
|
+
widthHeight = 24,
|
|
978
985
|
color = 'currentColor',
|
|
979
986
|
filled = false,
|
|
980
987
|
strokeWidth = 1
|
|
981
988
|
} = _ref29,
|
|
982
989
|
props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
|
|
983
990
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
984
|
-
widthHeight:
|
|
991
|
+
widthHeight: widthHeight,
|
|
985
992
|
color: color
|
|
986
993
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
987
994
|
viewBox: "0 0 24 24",
|
|
@@ -993,14 +1000,14 @@
|
|
|
993
1000
|
};
|
|
994
1001
|
var ErrorIcon = _ref30 => {
|
|
995
1002
|
var {
|
|
996
|
-
|
|
1003
|
+
widthHeight = 24,
|
|
997
1004
|
color = 'currentColor',
|
|
998
1005
|
strokeWidth = 1,
|
|
999
1006
|
filled = true
|
|
1000
1007
|
} = _ref30,
|
|
1001
1008
|
props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
|
|
1002
1009
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1003
|
-
widthHeight:
|
|
1010
|
+
widthHeight: widthHeight,
|
|
1004
1011
|
color: color
|
|
1005
1012
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1006
1013
|
viewBox: "0 0 24 24",
|
|
@@ -1026,14 +1033,14 @@
|
|
|
1026
1033
|
};
|
|
1027
1034
|
var DownloadIcon = _ref31 => {
|
|
1028
1035
|
var {
|
|
1029
|
-
|
|
1036
|
+
widthHeight = 24,
|
|
1030
1037
|
color = 'currentColor',
|
|
1031
1038
|
filled = true,
|
|
1032
1039
|
strokeWidth = 1
|
|
1033
1040
|
} = _ref31,
|
|
1034
1041
|
props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
|
|
1035
1042
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1036
|
-
widthHeight:
|
|
1043
|
+
widthHeight: widthHeight,
|
|
1037
1044
|
color: color
|
|
1038
1045
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1039
1046
|
viewBox: "0 0 24 24",
|
|
@@ -1045,14 +1052,14 @@
|
|
|
1045
1052
|
};
|
|
1046
1053
|
var MenuIcon = _ref32 => {
|
|
1047
1054
|
var {
|
|
1048
|
-
|
|
1055
|
+
widthHeight = 24,
|
|
1049
1056
|
color = 'currentColor',
|
|
1050
1057
|
strokeWidth = 1,
|
|
1051
1058
|
filled = false
|
|
1052
1059
|
} = _ref32,
|
|
1053
1060
|
props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
|
|
1054
1061
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1055
|
-
widthHeight:
|
|
1062
|
+
widthHeight: widthHeight,
|
|
1056
1063
|
color: color
|
|
1057
1064
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1058
1065
|
viewBox: "0 0 24 24",
|
|
@@ -1080,14 +1087,14 @@
|
|
|
1080
1087
|
};
|
|
1081
1088
|
var ShareIcon = _ref33 => {
|
|
1082
1089
|
var {
|
|
1083
|
-
|
|
1090
|
+
widthHeight = 24,
|
|
1084
1091
|
color = 'currentColor',
|
|
1085
1092
|
filled = false,
|
|
1086
1093
|
strokeWidth = 1
|
|
1087
1094
|
} = _ref33,
|
|
1088
1095
|
props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
|
|
1089
1096
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1090
|
-
widthHeight:
|
|
1097
|
+
widthHeight: widthHeight,
|
|
1091
1098
|
color: color
|
|
1092
1099
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1093
1100
|
viewBox: "0 0 24 24",
|
|
@@ -1121,14 +1128,14 @@
|
|
|
1121
1128
|
};
|
|
1122
1129
|
var RefreshIcon = _ref34 => {
|
|
1123
1130
|
var {
|
|
1124
|
-
|
|
1131
|
+
widthHeight = 24,
|
|
1125
1132
|
color = 'currentColor',
|
|
1126
1133
|
strokeWidth = 1,
|
|
1127
1134
|
filled = false
|
|
1128
1135
|
} = _ref34,
|
|
1129
1136
|
props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
|
|
1130
1137
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1131
|
-
widthHeight:
|
|
1138
|
+
widthHeight: widthHeight,
|
|
1132
1139
|
color: color
|
|
1133
1140
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1134
1141
|
viewBox: "0 0 24 24",
|
|
@@ -1142,14 +1149,14 @@
|
|
|
1142
1149
|
};
|
|
1143
1150
|
var PrintIcon = _ref35 => {
|
|
1144
1151
|
var {
|
|
1145
|
-
|
|
1152
|
+
widthHeight = 24,
|
|
1146
1153
|
color = 'currentColor',
|
|
1147
1154
|
filled = true,
|
|
1148
1155
|
strokeWidth = 1
|
|
1149
1156
|
} = _ref35,
|
|
1150
1157
|
props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
|
|
1151
1158
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1152
|
-
widthHeight:
|
|
1159
|
+
widthHeight: widthHeight,
|
|
1153
1160
|
color: color
|
|
1154
1161
|
}, props), /*#__PURE__*/React__default.createElement("svg", {
|
|
1155
1162
|
viewBox: "0 0 24 24",
|
|
@@ -1162,14 +1169,14 @@
|
|
|
1162
1169
|
};
|
|
1163
1170
|
var PanelIcon = _ref36 => {
|
|
1164
1171
|
var {
|
|
1165
|
-
|
|
1172
|
+
widthHeight = 24,
|
|
1166
1173
|
color = 'currentColor',
|
|
1167
1174
|
strokeWidth = 1,
|
|
1168
1175
|
filled = false
|
|
1169
1176
|
} = _ref36,
|
|
1170
1177
|
props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
|
|
1171
1178
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1172
|
-
widthHeight:
|
|
1179
|
+
widthHeight: widthHeight,
|
|
1173
1180
|
color: color
|
|
1174
1181
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1175
1182
|
viewBox: "0 0 24 24",
|
|
@@ -1233,14 +1240,14 @@
|
|
|
1233
1240
|
};
|
|
1234
1241
|
var FilterIcon = _ref37 => {
|
|
1235
1242
|
var {
|
|
1236
|
-
|
|
1243
|
+
widthHeight = 24,
|
|
1237
1244
|
color = 'currentColor',
|
|
1238
1245
|
filled = false,
|
|
1239
1246
|
strokeWidth = 1
|
|
1240
1247
|
} = _ref37,
|
|
1241
1248
|
props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
|
|
1242
1249
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1243
|
-
widthHeight:
|
|
1250
|
+
widthHeight: widthHeight,
|
|
1244
1251
|
color: color
|
|
1245
1252
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1246
1253
|
viewBox: "0 0 24 24",
|
|
@@ -1252,14 +1259,14 @@
|
|
|
1252
1259
|
};
|
|
1253
1260
|
var HomeIcon = _ref38 => {
|
|
1254
1261
|
var {
|
|
1255
|
-
|
|
1262
|
+
widthHeight = 24,
|
|
1256
1263
|
color = 'currentColor',
|
|
1257
1264
|
filled = true,
|
|
1258
1265
|
strokeWidth = 1
|
|
1259
1266
|
} = _ref38,
|
|
1260
1267
|
props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
|
|
1261
1268
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1262
|
-
widthHeight:
|
|
1269
|
+
widthHeight: widthHeight,
|
|
1263
1270
|
color: color
|
|
1264
1271
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1265
1272
|
viewBox: "0 0 24 24",
|
|
@@ -1271,14 +1278,14 @@
|
|
|
1271
1278
|
};
|
|
1272
1279
|
var LocationIcon = _ref39 => {
|
|
1273
1280
|
var {
|
|
1274
|
-
|
|
1281
|
+
widthHeight = 24,
|
|
1275
1282
|
color = 'currentColor',
|
|
1276
1283
|
filled = true,
|
|
1277
1284
|
strokeWidth = 1
|
|
1278
1285
|
} = _ref39,
|
|
1279
1286
|
props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
|
|
1280
1287
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1281
|
-
widthHeight:
|
|
1288
|
+
widthHeight: widthHeight,
|
|
1282
1289
|
color: color
|
|
1283
1290
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1284
1291
|
viewBox: "0 0 24 24",
|
|
@@ -1290,14 +1297,14 @@
|
|
|
1290
1297
|
};
|
|
1291
1298
|
var LockIcon = _ref40 => {
|
|
1292
1299
|
var {
|
|
1293
|
-
|
|
1300
|
+
widthHeight = 24,
|
|
1294
1301
|
color = 'currentColor',
|
|
1295
1302
|
filled = false,
|
|
1296
1303
|
strokeWidth = 1
|
|
1297
1304
|
} = _ref40,
|
|
1298
1305
|
props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
|
|
1299
1306
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1300
|
-
widthHeight:
|
|
1307
|
+
widthHeight: widthHeight,
|
|
1301
1308
|
color: color
|
|
1302
1309
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1303
1310
|
viewBox: "0 0 24 24",
|
|
@@ -1316,14 +1323,14 @@
|
|
|
1316
1323
|
};
|
|
1317
1324
|
var MicrophoneIcon = _ref41 => {
|
|
1318
1325
|
var {
|
|
1319
|
-
|
|
1326
|
+
widthHeight = 24,
|
|
1320
1327
|
color = 'currentColor',
|
|
1321
1328
|
filled = false,
|
|
1322
1329
|
strokeWidth = 1
|
|
1323
1330
|
} = _ref41,
|
|
1324
1331
|
props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
|
|
1325
1332
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1326
|
-
widthHeight:
|
|
1333
|
+
widthHeight: widthHeight,
|
|
1327
1334
|
color: color
|
|
1328
1335
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1329
1336
|
viewBox: "0 0 24 24",
|
|
@@ -1349,14 +1356,14 @@
|
|
|
1349
1356
|
};
|
|
1350
1357
|
var MoonIcon = _ref42 => {
|
|
1351
1358
|
var {
|
|
1352
|
-
|
|
1359
|
+
widthHeight = 24,
|
|
1353
1360
|
color = 'currentColor',
|
|
1354
1361
|
filled = true,
|
|
1355
1362
|
strokeWidth = 1
|
|
1356
1363
|
} = _ref42,
|
|
1357
1364
|
props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
|
|
1358
1365
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1359
|
-
widthHeight:
|
|
1366
|
+
widthHeight: widthHeight,
|
|
1360
1367
|
color: color
|
|
1361
1368
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1362
1369
|
viewBox: "0 0 24 24",
|
|
@@ -1368,14 +1375,14 @@
|
|
|
1368
1375
|
};
|
|
1369
1376
|
var NotificationIcon = _ref43 => {
|
|
1370
1377
|
var {
|
|
1371
|
-
|
|
1378
|
+
widthHeight = 24,
|
|
1372
1379
|
color = 'currentColor',
|
|
1373
1380
|
filled = false,
|
|
1374
1381
|
strokeWidth = 1
|
|
1375
1382
|
} = _ref43,
|
|
1376
1383
|
props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
|
|
1377
1384
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1378
|
-
widthHeight:
|
|
1385
|
+
widthHeight: widthHeight,
|
|
1379
1386
|
color: color
|
|
1380
1387
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1381
1388
|
viewBox: "0 0 24 24",
|
|
@@ -1389,14 +1396,14 @@
|
|
|
1389
1396
|
};
|
|
1390
1397
|
var OpenEyeIcon = _ref44 => {
|
|
1391
1398
|
var {
|
|
1392
|
-
|
|
1399
|
+
widthHeight = 24,
|
|
1393
1400
|
color = 'currentColor',
|
|
1394
1401
|
filled = true,
|
|
1395
1402
|
strokeWidth = 1
|
|
1396
1403
|
} = _ref44,
|
|
1397
1404
|
props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
|
|
1398
1405
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1399
|
-
widthHeight:
|
|
1406
|
+
widthHeight: widthHeight,
|
|
1400
1407
|
color: color
|
|
1401
1408
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1402
1409
|
viewBox: "0 0 24 24",
|
|
@@ -1408,14 +1415,14 @@
|
|
|
1408
1415
|
};
|
|
1409
1416
|
var ProfileIcon = _ref45 => {
|
|
1410
1417
|
var {
|
|
1411
|
-
|
|
1418
|
+
widthHeight = 24,
|
|
1412
1419
|
color = 'currentColor',
|
|
1413
1420
|
filled = true,
|
|
1414
1421
|
strokeWidth = 1
|
|
1415
1422
|
} = _ref45,
|
|
1416
1423
|
props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
|
|
1417
1424
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1418
|
-
widthHeight:
|
|
1425
|
+
widthHeight: widthHeight,
|
|
1419
1426
|
color: color
|
|
1420
1427
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1421
1428
|
viewBox: "0 0 24 24",
|
|
@@ -1428,14 +1435,14 @@
|
|
|
1428
1435
|
};
|
|
1429
1436
|
var SettingsIcon = _ref46 => {
|
|
1430
1437
|
var {
|
|
1431
|
-
|
|
1438
|
+
widthHeight = 24,
|
|
1432
1439
|
color = 'currentColor',
|
|
1433
1440
|
filled = false,
|
|
1434
1441
|
strokeWidth = 1
|
|
1435
1442
|
} = _ref46,
|
|
1436
1443
|
props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
|
|
1437
1444
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1438
|
-
widthHeight:
|
|
1445
|
+
widthHeight: widthHeight,
|
|
1439
1446
|
color: color
|
|
1440
1447
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1441
1448
|
viewBox: "0 0 24 24",
|
|
@@ -1447,14 +1454,14 @@
|
|
|
1447
1454
|
};
|
|
1448
1455
|
var SuccessIcon = _ref47 => {
|
|
1449
1456
|
var {
|
|
1450
|
-
|
|
1457
|
+
widthHeight = 24,
|
|
1451
1458
|
color = 'currentColor',
|
|
1452
1459
|
filled = true,
|
|
1453
1460
|
strokeWidth = 1
|
|
1454
1461
|
} = _ref47,
|
|
1455
1462
|
props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
|
|
1456
1463
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1457
|
-
widthHeight:
|
|
1464
|
+
widthHeight: widthHeight,
|
|
1458
1465
|
color: color
|
|
1459
1466
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1460
1467
|
viewBox: "0 0 24 24",
|
|
@@ -1466,14 +1473,14 @@
|
|
|
1466
1473
|
};
|
|
1467
1474
|
var UnLikeIcon = _ref48 => {
|
|
1468
1475
|
var {
|
|
1469
|
-
|
|
1476
|
+
widthHeight = 24,
|
|
1470
1477
|
color = 'currentColor',
|
|
1471
1478
|
filled = true,
|
|
1472
1479
|
strokeWidth = 1
|
|
1473
1480
|
} = _ref48,
|
|
1474
1481
|
props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
|
|
1475
1482
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1476
|
-
widthHeight:
|
|
1483
|
+
widthHeight: widthHeight,
|
|
1477
1484
|
color: color
|
|
1478
1485
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1479
1486
|
viewBox: "0 0 24 24",
|
|
@@ -1485,14 +1492,14 @@
|
|
|
1485
1492
|
};
|
|
1486
1493
|
var ClockIcon = _ref49 => {
|
|
1487
1494
|
var {
|
|
1488
|
-
|
|
1495
|
+
widthHeight = 24,
|
|
1489
1496
|
color = 'currentColor',
|
|
1490
1497
|
strokeWidth = 1,
|
|
1491
1498
|
filled = false
|
|
1492
1499
|
} = _ref49,
|
|
1493
1500
|
props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
|
|
1494
1501
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1495
|
-
widthHeight:
|
|
1502
|
+
widthHeight: widthHeight,
|
|
1496
1503
|
color: color
|
|
1497
1504
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1498
1505
|
viewBox: "0 0 24 24",
|
|
@@ -1508,14 +1515,14 @@
|
|
|
1508
1515
|
};
|
|
1509
1516
|
var CameraIcon = _ref50 => {
|
|
1510
1517
|
var {
|
|
1511
|
-
|
|
1518
|
+
widthHeight = 24,
|
|
1512
1519
|
color = 'currentColor',
|
|
1513
1520
|
strokeWidth = 1,
|
|
1514
1521
|
filled = false
|
|
1515
1522
|
} = _ref50,
|
|
1516
1523
|
props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
|
|
1517
1524
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1518
|
-
widthHeight:
|
|
1525
|
+
widthHeight: widthHeight,
|
|
1519
1526
|
color: color
|
|
1520
1527
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1521
1528
|
viewBox: "0 0 24 24",
|
|
@@ -1531,14 +1538,14 @@
|
|
|
1531
1538
|
};
|
|
1532
1539
|
var BluetoothIcon = _ref51 => {
|
|
1533
1540
|
var {
|
|
1534
|
-
|
|
1541
|
+
widthHeight = 24,
|
|
1535
1542
|
color = 'currentColor',
|
|
1536
1543
|
filled = true,
|
|
1537
1544
|
strokeWidth = 1
|
|
1538
1545
|
} = _ref51,
|
|
1539
1546
|
props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
|
|
1540
1547
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1541
|
-
widthHeight:
|
|
1548
|
+
widthHeight: widthHeight,
|
|
1542
1549
|
color: color
|
|
1543
1550
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1544
1551
|
viewBox: "0 0 24 24",
|
|
@@ -1550,14 +1557,14 @@
|
|
|
1550
1557
|
};
|
|
1551
1558
|
var LikeIcon = _ref52 => {
|
|
1552
1559
|
var {
|
|
1553
|
-
|
|
1560
|
+
widthHeight = 24,
|
|
1554
1561
|
color = 'currentColor',
|
|
1555
1562
|
filled = true,
|
|
1556
1563
|
strokeWidth = 1
|
|
1557
1564
|
} = _ref52,
|
|
1558
1565
|
props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
|
|
1559
1566
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1560
|
-
widthHeight:
|
|
1567
|
+
widthHeight: widthHeight,
|
|
1561
1568
|
color: color
|
|
1562
1569
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1563
1570
|
viewBox: "0 0 24 24",
|
|
@@ -1569,14 +1576,14 @@
|
|
|
1569
1576
|
};
|
|
1570
1577
|
var UnlockIcon = _ref53 => {
|
|
1571
1578
|
var {
|
|
1572
|
-
|
|
1579
|
+
widthHeight = 24,
|
|
1573
1580
|
color = 'currentColor',
|
|
1574
1581
|
filled = false,
|
|
1575
1582
|
strokeWidth = 1
|
|
1576
1583
|
} = _ref53,
|
|
1577
1584
|
props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
|
|
1578
1585
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1579
|
-
widthHeight:
|
|
1586
|
+
widthHeight: widthHeight,
|
|
1580
1587
|
color: color
|
|
1581
1588
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1582
1589
|
viewBox: "0 0 24 24",
|
|
@@ -1595,14 +1602,14 @@
|
|
|
1595
1602
|
};
|
|
1596
1603
|
var WifiIcon = _ref54 => {
|
|
1597
1604
|
var {
|
|
1598
|
-
|
|
1605
|
+
widthHeight = 24,
|
|
1599
1606
|
color = 'currentColor',
|
|
1600
1607
|
filled = false,
|
|
1601
1608
|
strokeWidth = 1
|
|
1602
1609
|
} = _ref54,
|
|
1603
1610
|
props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
|
|
1604
1611
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1605
|
-
widthHeight:
|
|
1612
|
+
widthHeight: widthHeight,
|
|
1606
1613
|
color: color
|
|
1607
1614
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1608
1615
|
viewBox: "0 0 24 24",
|
|
@@ -1614,14 +1621,14 @@
|
|
|
1614
1621
|
};
|
|
1615
1622
|
var UploadIcon = _ref55 => {
|
|
1616
1623
|
var {
|
|
1617
|
-
|
|
1624
|
+
widthHeight = 24,
|
|
1618
1625
|
color = 'currentColor',
|
|
1619
1626
|
filled = false,
|
|
1620
1627
|
strokeWidth = 1
|
|
1621
1628
|
} = _ref55,
|
|
1622
1629
|
props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
|
|
1623
1630
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1624
|
-
widthHeight:
|
|
1631
|
+
widthHeight: widthHeight,
|
|
1625
1632
|
color: color
|
|
1626
1633
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1627
1634
|
viewBox: "0 0 24 24",
|
|
@@ -1637,14 +1644,14 @@
|
|
|
1637
1644
|
};
|
|
1638
1645
|
var SearchIcon = _ref56 => {
|
|
1639
1646
|
var {
|
|
1640
|
-
|
|
1647
|
+
widthHeight = 24,
|
|
1641
1648
|
color = 'currentColor',
|
|
1642
1649
|
filled = true,
|
|
1643
1650
|
strokeWidth = 1
|
|
1644
1651
|
} = _ref56,
|
|
1645
1652
|
props = _objectWithoutPropertiesLoose(_ref56, _excluded56);
|
|
1646
1653
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1647
|
-
widthHeight:
|
|
1654
|
+
widthHeight: widthHeight,
|
|
1648
1655
|
color: color
|
|
1649
1656
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1650
1657
|
viewBox: "0 0 24 24",
|
|
@@ -1656,14 +1663,14 @@
|
|
|
1656
1663
|
};
|
|
1657
1664
|
var CloseEyeIcon = _ref57 => {
|
|
1658
1665
|
var {
|
|
1659
|
-
|
|
1666
|
+
widthHeight = 24,
|
|
1660
1667
|
color = 'currentColor',
|
|
1661
1668
|
filled = true,
|
|
1662
1669
|
strokeWidth = 1
|
|
1663
1670
|
} = _ref57,
|
|
1664
1671
|
props = _objectWithoutPropertiesLoose(_ref57, _excluded57);
|
|
1665
1672
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1666
|
-
widthHeight:
|
|
1673
|
+
widthHeight: widthHeight,
|
|
1667
1674
|
color: color
|
|
1668
1675
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1669
1676
|
viewBox: "0 0 24 24",
|
|
@@ -1676,14 +1683,14 @@
|
|
|
1676
1683
|
};
|
|
1677
1684
|
var ExternalLinkIcon = _ref58 => {
|
|
1678
1685
|
var {
|
|
1679
|
-
|
|
1686
|
+
widthHeight = 24,
|
|
1680
1687
|
color = 'currentColor',
|
|
1681
1688
|
filled = true,
|
|
1682
1689
|
strokeWidth = 1
|
|
1683
1690
|
} = _ref58,
|
|
1684
1691
|
props = _objectWithoutPropertiesLoose(_ref58, _excluded58);
|
|
1685
1692
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1686
|
-
widthHeight:
|
|
1693
|
+
widthHeight: widthHeight,
|
|
1687
1694
|
color: color
|
|
1688
1695
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1689
1696
|
viewBox: "0 0 24 24",
|
|
@@ -1695,14 +1702,14 @@
|
|
|
1695
1702
|
};
|
|
1696
1703
|
var PlusIcon = _ref59 => {
|
|
1697
1704
|
var {
|
|
1698
|
-
|
|
1705
|
+
widthHeight = 24,
|
|
1699
1706
|
color = 'currentColor',
|
|
1700
1707
|
filled = false,
|
|
1701
1708
|
strokeWidth = 1
|
|
1702
1709
|
} = _ref59,
|
|
1703
1710
|
props = _objectWithoutPropertiesLoose(_ref59, _excluded59);
|
|
1704
1711
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1705
|
-
widthHeight:
|
|
1712
|
+
widthHeight: widthHeight,
|
|
1706
1713
|
color: color
|
|
1707
1714
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1708
1715
|
viewBox: "0 0 24 24",
|
|
@@ -1724,14 +1731,14 @@
|
|
|
1724
1731
|
};
|
|
1725
1732
|
var TickIcon = _ref60 => {
|
|
1726
1733
|
var {
|
|
1727
|
-
|
|
1734
|
+
widthHeight = 24,
|
|
1728
1735
|
color = 'currentColor',
|
|
1729
1736
|
filled = false,
|
|
1730
1737
|
strokeWidth = 1
|
|
1731
1738
|
} = _ref60,
|
|
1732
1739
|
props = _objectWithoutPropertiesLoose(_ref60, _excluded60);
|
|
1733
1740
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1734
|
-
widthHeight:
|
|
1741
|
+
widthHeight: widthHeight,
|
|
1735
1742
|
color: color
|
|
1736
1743
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1737
1744
|
viewBox: "0 0 24 24",
|
|
@@ -1745,14 +1752,14 @@
|
|
|
1745
1752
|
};
|
|
1746
1753
|
var BoldArrowIcon = _ref61 => {
|
|
1747
1754
|
var {
|
|
1748
|
-
|
|
1755
|
+
widthHeight = 24,
|
|
1749
1756
|
color = 'currentColor',
|
|
1750
1757
|
filled = true,
|
|
1751
1758
|
strokeWidth = 1
|
|
1752
1759
|
} = _ref61,
|
|
1753
1760
|
props = _objectWithoutPropertiesLoose(_ref61, _excluded61);
|
|
1754
1761
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1755
|
-
widthHeight:
|
|
1762
|
+
widthHeight: widthHeight,
|
|
1756
1763
|
color: color
|
|
1757
1764
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1758
1765
|
viewBox: "0 0 24 24",
|
|
@@ -1764,14 +1771,14 @@
|
|
|
1764
1771
|
};
|
|
1765
1772
|
var ArrowIcon = _ref62 => {
|
|
1766
1773
|
var {
|
|
1767
|
-
|
|
1774
|
+
widthHeight = 24,
|
|
1768
1775
|
color = 'currentColor',
|
|
1769
1776
|
filled = false,
|
|
1770
1777
|
strokeWidth = 1
|
|
1771
1778
|
} = _ref62,
|
|
1772
1779
|
props = _objectWithoutPropertiesLoose(_ref62, _excluded62);
|
|
1773
1780
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1774
|
-
widthHeight:
|
|
1781
|
+
widthHeight: widthHeight,
|
|
1775
1782
|
color: color
|
|
1776
1783
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1777
1784
|
viewBox: "0 0 24 24",
|
|
@@ -1789,14 +1796,14 @@
|
|
|
1789
1796
|
};
|
|
1790
1797
|
var SpinnerIcon = _ref63 => {
|
|
1791
1798
|
var {
|
|
1792
|
-
|
|
1799
|
+
widthHeight = 24,
|
|
1793
1800
|
color = 'currentColor',
|
|
1794
1801
|
filled = false,
|
|
1795
1802
|
strokeWidth = 1
|
|
1796
1803
|
} = _ref63,
|
|
1797
1804
|
props = _objectWithoutPropertiesLoose(_ref63, _excluded63);
|
|
1798
1805
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1799
|
-
widthHeight:
|
|
1806
|
+
widthHeight: widthHeight,
|
|
1800
1807
|
color: color
|
|
1801
1808
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1802
1809
|
viewBox: "0 0 24 24",
|
|
@@ -1814,14 +1821,14 @@
|
|
|
1814
1821
|
};
|
|
1815
1822
|
var CalendarIcon = _ref64 => {
|
|
1816
1823
|
var {
|
|
1817
|
-
|
|
1824
|
+
widthHeight = 24,
|
|
1818
1825
|
color = 'currentColor',
|
|
1819
1826
|
strokeWidth = 1,
|
|
1820
1827
|
filled = false
|
|
1821
1828
|
} = _ref64,
|
|
1822
1829
|
props = _objectWithoutPropertiesLoose(_ref64, _excluded64);
|
|
1823
1830
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1824
|
-
widthHeight:
|
|
1831
|
+
widthHeight: widthHeight,
|
|
1825
1832
|
color: color
|
|
1826
1833
|
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
1827
1834
|
viewBox: "0 0 24 24",
|
|
@@ -1983,7 +1990,7 @@
|
|
|
1983
1990
|
|
|
1984
1991
|
// Defines AlertView as a functional component using destructuring to extract props.
|
|
1985
1992
|
var AlertView = _ref => {
|
|
1986
|
-
var _views$icon$color;
|
|
1993
|
+
var _views$icon$color, _views$icon;
|
|
1987
1994
|
var {
|
|
1988
1995
|
icon,
|
|
1989
1996
|
title,
|
|
@@ -2002,8 +2009,8 @@
|
|
|
2002
2009
|
}, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(View, {
|
|
2003
2010
|
alignSelf: 'center'
|
|
2004
2011
|
}, icon ? icon : (/*#__PURE__*/React__default.createElement(WarningIcon, {
|
|
2005
|
-
|
|
2006
|
-
color: (_views$icon$color = views == null ? void 0 :
|
|
2012
|
+
widthHeight: 24,
|
|
2013
|
+
color: (_views$icon$color = views == null || (_views$icon = views.icon) == null ? void 0 : _views$icon.color) != null ? _views$icon$color : Themes[variant].content.color
|
|
2007
2014
|
}))), /*#__PURE__*/React__default.createElement(Vertical, {
|
|
2008
2015
|
gap: 10
|
|
2009
2016
|
}, /*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
@@ -2035,14 +2042,15 @@
|
|
|
2035
2042
|
// Exporting the AlertComponent as 'Alert' for use in other parts of the application.
|
|
2036
2043
|
var Alert = AlertComponent;
|
|
2037
2044
|
|
|
2038
|
-
var _excluded$5 = ["ratio", "children"];
|
|
2045
|
+
var _excluded$5 = ["ratio", "children", "views"];
|
|
2039
2046
|
// Declaration of a functional component named AspectRatioView.
|
|
2040
2047
|
var AspectRatioView = _ref => {
|
|
2041
2048
|
var {
|
|
2042
2049
|
// Set a default aspect ratio of 16:9 if no ratio is provided as a prop.
|
|
2043
2050
|
ratio = 16 / 9,
|
|
2044
2051
|
// children prop used to render enclosed components.
|
|
2045
|
-
children
|
|
2052
|
+
children,
|
|
2053
|
+
views
|
|
2046
2054
|
// Spread the rest of the props to inherit additional properties.
|
|
2047
2055
|
} = _ref,
|
|
2048
2056
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
@@ -2052,13 +2060,13 @@
|
|
|
2052
2060
|
overflow: "hidden",
|
|
2053
2061
|
paddingTop: 1 / ratio * 100 + "%",
|
|
2054
2062
|
borderRadius: 8
|
|
2055
|
-
}, props), /*#__PURE__*/React__default.createElement(View, {
|
|
2063
|
+
}, props, views == null ? void 0 : views.center), /*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
2056
2064
|
position: "absolute",
|
|
2057
2065
|
top: 0,
|
|
2058
2066
|
right: 0,
|
|
2059
2067
|
bottom: 0,
|
|
2060
2068
|
left: 0
|
|
2061
|
-
}, children));
|
|
2069
|
+
}, views == null ? void 0 : views.view), children));
|
|
2062
2070
|
};
|
|
2063
2071
|
|
|
2064
2072
|
var _excluded$6 = ["ratio", "children"];
|
|
@@ -2521,7 +2529,7 @@
|
|
|
2521
2529
|
var _excluded$8 = ["size", "speed", "color", "themeMode"],
|
|
2522
2530
|
_excluded2$1 = ["size", "speed", "color", "themeMode"],
|
|
2523
2531
|
_excluded3$1 = ["size", "speed", "color", "themeMode"],
|
|
2524
|
-
_excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
|
|
2532
|
+
_excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition", "views"];
|
|
2525
2533
|
var DefaultSpinner = _ref => {
|
|
2526
2534
|
var {
|
|
2527
2535
|
size = 'md',
|
|
@@ -2662,7 +2670,8 @@
|
|
|
2662
2670
|
loaderColor,
|
|
2663
2671
|
type = 'default',
|
|
2664
2672
|
speed = 'normal',
|
|
2665
|
-
textPosition = 'right'
|
|
2673
|
+
textPosition = 'right',
|
|
2674
|
+
views
|
|
2666
2675
|
} = _ref4,
|
|
2667
2676
|
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
|
|
2668
2677
|
var style = {
|
|
@@ -2678,11 +2687,11 @@
|
|
|
2678
2687
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
2679
2688
|
gap: 10,
|
|
2680
2689
|
flexDirection: textPosition === 'top' || textPosition === 'bottom' ? 'column' : 'row'
|
|
2681
|
-
}, props), (textPosition === 'left' || textPosition === 'top') && children && (/*#__PURE__*/React__default.createElement(View, {
|
|
2690
|
+
}, props, views == null ? void 0 : views.container), (textPosition === 'left' || textPosition === 'top') && children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
2682
2691
|
color: textColor
|
|
2683
|
-
}, children)), variants[type], (textPosition === 'right' || textPosition === 'bottom') && children && (/*#__PURE__*/React__default.createElement(View, {
|
|
2692
|
+
}, views == null ? void 0 : views.text), children)), variants[type], (textPosition === 'right' || textPosition === 'bottom') && children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
2684
2693
|
color: textColor
|
|
2685
|
-
}, children)));
|
|
2694
|
+
}, views == null ? void 0 : views.text), children)));
|
|
2686
2695
|
};
|
|
2687
2696
|
|
|
2688
2697
|
// Defines a LoaderComponent as a functional component with props defined by LoaderProps and returns the LoaderView component, passing along any received props.
|
|
@@ -2693,7 +2702,7 @@
|
|
|
2693
2702
|
// Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
|
|
2694
2703
|
var Loader = LoaderComponent;
|
|
2695
2704
|
|
|
2696
|
-
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"];
|
|
2705
|
+
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"];
|
|
2697
2706
|
var contrast = /*#__PURE__*/require('contrast');
|
|
2698
2707
|
var ButtonView = _ref => {
|
|
2699
2708
|
var _props$onClick;
|
|
@@ -2701,24 +2710,16 @@
|
|
|
2701
2710
|
icon,
|
|
2702
2711
|
shadow,
|
|
2703
2712
|
children,
|
|
2704
|
-
// Defines the functional component ButtonView with its expected props detailed in ButtonProps.
|
|
2705
2713
|
ariaLabel,
|
|
2706
|
-
// Initializes default values for the ButtonProps object; useful for defining states like isAuto, isFilled, etc.
|
|
2707
2714
|
to,
|
|
2708
2715
|
isAuto = false,
|
|
2709
|
-
// Determines if button should be active based on isDisabled and isLoading properties.
|
|
2710
2716
|
isFilled = false,
|
|
2711
|
-
// Prepares default properties for the native button element based on isActive state.
|
|
2712
2717
|
isIconRounded = false,
|
|
2713
|
-
// Sets button color; defaults to the theme's disabled color if button is not active.
|
|
2714
2718
|
isLoading = false,
|
|
2715
|
-
// Determines if the hover effect shall be applied based on isHovered and effect property.
|
|
2716
2719
|
isDisabled = false,
|
|
2717
|
-
// Determines if the reverse style shall be applied based on isHovered and effect property.
|
|
2718
2720
|
size = 'md',
|
|
2719
2721
|
variant = 'filled',
|
|
2720
2722
|
iconPosition = 'left',
|
|
2721
|
-
// Defines CSS properties for 'filled' variant of the button with conditional styles based on reverse state.
|
|
2722
2723
|
shape = 'rounded',
|
|
2723
2724
|
onClick = () => {},
|
|
2724
2725
|
loaderProps = {},
|
|
@@ -2728,9 +2729,8 @@
|
|
|
2728
2729
|
setIsHovered = () => {},
|
|
2729
2730
|
isExternal = false,
|
|
2730
2731
|
themeMode: elementMode,
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
// Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
|
|
2732
|
+
linkProps,
|
|
2733
|
+
views
|
|
2734
2734
|
} = _ref,
|
|
2735
2735
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
2736
2736
|
var {
|
|
@@ -2748,7 +2748,6 @@
|
|
|
2748
2748
|
var isLight = contrast(getColor(buttonColor, elementMode ? elementMode : themeMode)) == 'light';
|
|
2749
2749
|
var ButtonVariants = {
|
|
2750
2750
|
filled: {
|
|
2751
|
-
// Defines CSS properties for 'link' variant of the button with conditional styles based on reverse state, includes text decoration.
|
|
2752
2751
|
backgroundColor: reverse ? 'transparent' : buttonColor,
|
|
2753
2752
|
color: reverse ? isLight ? 'white' : buttonColor : isLight ? buttonColor : 'white',
|
|
2754
2753
|
borderWidth: 1,
|
|
@@ -2757,42 +2756,36 @@
|
|
|
2757
2756
|
},
|
|
2758
2757
|
outline: {
|
|
2759
2758
|
backgroundColor: reverse ? buttonColor : 'transparent',
|
|
2760
|
-
// Defines CSS properties for 'ghost' variant of the button with conditional styles based on reverse state.
|
|
2761
2759
|
borderWidth: 1,
|
|
2762
2760
|
borderStyle: 'solid',
|
|
2763
2761
|
borderColor: reverse ? buttonColor : 'theme.primary',
|
|
2764
|
-
// Fetches size-specific styles from ButtonSizes based on the 'size' prop.
|
|
2765
2762
|
color: reverse ? 'white' : buttonColor
|
|
2766
2763
|
},
|
|
2767
|
-
// Adjusts button width based on isAuto and isFilled properties, using buttonSizeStyles for fallback width.
|
|
2768
2764
|
link: {
|
|
2769
2765
|
backgroundColor: 'transparent',
|
|
2770
|
-
// Changes padding for the button based on whether isIconRounded is true or false.
|
|
2771
2766
|
borderWidth: 1,
|
|
2772
2767
|
borderStyle: 'solid',
|
|
2773
|
-
// Creates the content for the button including loaders and icons positioned based on their respective properties.
|
|
2774
2768
|
borderColor: reverse ? buttonColor : 'transparent',
|
|
2775
2769
|
color: buttonColor,
|
|
2776
2770
|
textDecoration: reverse ? 'none' : 'underline'
|
|
2777
2771
|
},
|
|
2778
2772
|
ghost: {
|
|
2779
|
-
backgroundColor:
|
|
2773
|
+
backgroundColor: 'transparent',
|
|
2780
2774
|
color: reverse ? 'white' : buttonColor,
|
|
2781
2775
|
borderWidth: 1,
|
|
2782
2776
|
borderStyle: 'solid',
|
|
2783
2777
|
borderColor: reverse ? buttonColor : 'transparent'
|
|
2784
2778
|
}
|
|
2785
2779
|
};
|
|
2786
|
-
// Executes rendering of the button or a link element based on the variant; applies conditional rendering for to in 'link' variant.
|
|
2787
2780
|
var buttonSizeStyles = ButtonSizes[size];
|
|
2788
2781
|
var buttonVariant = ButtonVariants[variant];
|
|
2789
2782
|
var scaleWidth = {
|
|
2790
2783
|
width: isAuto === true ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
|
|
2791
2784
|
};
|
|
2792
2785
|
var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
|
|
2793
|
-
var content = /*#__PURE__*/React__default.createElement(Horizontal, {
|
|
2786
|
+
var content = /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
2794
2787
|
gap: 10
|
|
2795
|
-
}, isLoading && loaderPosition === 'left' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)), icon && iconPosition === 'left' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
|
|
2788
|
+
}, 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 ? {
|
|
2796
2789
|
animate: appStudio.Animation.jackInTheBox({})
|
|
2797
2790
|
} : {}), icon)), children, icon && iconPosition === 'right' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
|
|
2798
2791
|
animate: appStudio.Animation.jackInTheBox({})
|
|
@@ -2816,11 +2809,11 @@
|
|
|
2816
2809
|
}, hovering && !props.isDisabled ? {
|
|
2817
2810
|
transition: 'transform 0.3s ease',
|
|
2818
2811
|
transform: 'translateY(-5px)'
|
|
2819
|
-
} : {}, defaultNativeProps, buttonSizeStyles, buttonVariant, scaleWidth, props.padding || props.paddingHorizontal || props.paddingVertical || props.paddingLeft || props.paddingRight || props.paddingTop || props.paddingBottom ? {} : changePadding, shadow, props,
|
|
2812
|
+
} : {}, 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({
|
|
2820
2813
|
to: to,
|
|
2821
2814
|
textDecorationColor: 'theme.primary',
|
|
2822
2815
|
isExternal: isExternal
|
|
2823
|
-
}, linkProps), content)) : content);
|
|
2816
|
+
}, linkProps, views == null ? void 0 : views.link), content)) : content);
|
|
2824
2817
|
};
|
|
2825
2818
|
|
|
2826
2819
|
// Importing a custom hook to manage the state specific to the button component.
|
|
@@ -2850,12 +2843,13 @@
|
|
|
2850
2843
|
};
|
|
2851
2844
|
var Button = ButtonComponent;
|
|
2852
2845
|
|
|
2853
|
-
var _excluded$a = ["src", "color", "themeMode"],
|
|
2846
|
+
var _excluded$a = ["src", "color", "views", "themeMode"],
|
|
2854
2847
|
_excluded2$2 = ["path"];
|
|
2855
2848
|
var FileSVG = _ref => {
|
|
2856
2849
|
var {
|
|
2857
2850
|
src,
|
|
2858
|
-
color
|
|
2851
|
+
color,
|
|
2852
|
+
views
|
|
2859
2853
|
} = _ref,
|
|
2860
2854
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
2861
2855
|
var {
|
|
@@ -2870,11 +2864,11 @@
|
|
|
2870
2864
|
themeMode
|
|
2871
2865
|
})
|
|
2872
2866
|
} : {};
|
|
2873
|
-
return /*#__PURE__*/React__default.createElement(Center, Object.assign({}, props), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({}, Colorprops, {
|
|
2867
|
+
return /*#__PURE__*/React__default.createElement(Center, Object.assign({}, props, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({}, Colorprops, {
|
|
2874
2868
|
content: 'url("' + src + '")',
|
|
2875
2869
|
width: "100%",
|
|
2876
2870
|
height: "100%"
|
|
2877
|
-
})));
|
|
2871
|
+
}, views == null ? void 0 : views.image)));
|
|
2878
2872
|
};
|
|
2879
2873
|
var FileImage = _ref2 => {
|
|
2880
2874
|
var {
|
|
@@ -3394,7 +3388,7 @@
|
|
|
3394
3388
|
}, option), /*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
3395
3389
|
role: "close-button",
|
|
3396
3390
|
color: "inherit",
|
|
3397
|
-
|
|
3391
|
+
widthHeight: IconSizes$2[size],
|
|
3398
3392
|
onClick: handleClick
|
|
3399
3393
|
}));
|
|
3400
3394
|
};
|
|
@@ -3505,13 +3499,13 @@
|
|
|
3505
3499
|
removeOption: handleRemoveOption
|
|
3506
3500
|
})), /*#__PURE__*/React__default.createElement(FieldIcons, null, !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
3507
3501
|
color: "inherit",
|
|
3508
|
-
|
|
3502
|
+
widthHeight: IconSizes$2[size],
|
|
3509
3503
|
style: views.icon,
|
|
3510
3504
|
orientation: "down"
|
|
3511
3505
|
})) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
3512
3506
|
color: "inherit",
|
|
3513
3507
|
orientation: "up",
|
|
3514
|
-
|
|
3508
|
+
widthHeight: IconSizes$2[size],
|
|
3515
3509
|
style: views.icon
|
|
3516
3510
|
})))))), !hide && (/*#__PURE__*/React__default.createElement(DropDown, {
|
|
3517
3511
|
size: size,
|
|
@@ -4106,7 +4100,7 @@
|
|
|
4106
4100
|
onChange: handleChange,
|
|
4107
4101
|
value: value
|
|
4108
4102
|
}))), isClearable && value && !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(FieldIcons, null, /*#__PURE__*/React__default.createElement(CloseIcon, {
|
|
4109
|
-
|
|
4103
|
+
widthHeight: appStudio.Typography.fontSizes[size],
|
|
4110
4104
|
color: IconColor,
|
|
4111
4105
|
onClick: handleClear
|
|
4112
4106
|
}))), right));
|
|
@@ -4265,10 +4259,10 @@
|
|
|
4265
4259
|
}, labelPosition === 'left' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
4266
4260
|
size: size
|
|
4267
4261
|
}, views == null ? void 0 : views.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(MinusIcon, {
|
|
4268
|
-
|
|
4262
|
+
widthHeight: IconSizes$3[size],
|
|
4269
4263
|
color: "white"
|
|
4270
4264
|
})) : (isChecked || isSelected) && (icon != null ? icon : /*#__PURE__*/React__default.createElement(TickIcon, {
|
|
4271
|
-
|
|
4265
|
+
widthHeight: IconSizes$3[size],
|
|
4272
4266
|
color: "white"
|
|
4273
4267
|
}))), labelPosition === 'right' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
4274
4268
|
size: size
|
|
@@ -5834,7 +5828,7 @@
|
|
|
5834
5828
|
views = {
|
|
5835
5829
|
dropDown: {}
|
|
5836
5830
|
},
|
|
5837
|
-
options,
|
|
5831
|
+
options = [],
|
|
5838
5832
|
callback = () => {}
|
|
5839
5833
|
} = _ref4;
|
|
5840
5834
|
var handleCallback = option => callback(option);
|
|
@@ -5984,12 +5978,12 @@
|
|
|
5984
5978
|
onChange: handleChange
|
|
5985
5979
|
}))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
5986
5980
|
orientation: "down",
|
|
5987
|
-
|
|
5981
|
+
widthHeight: IconSizes$4[size],
|
|
5988
5982
|
color: IconColor,
|
|
5989
5983
|
style: views['icon']
|
|
5990
5984
|
})) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
|
|
5991
5985
|
orientation: "up",
|
|
5992
|
-
|
|
5986
|
+
widthHeight: IconSizes$4[size],
|
|
5993
5987
|
color: IconColor,
|
|
5994
5988
|
style: views['icon']
|
|
5995
5989
|
})))), !hide && (/*#__PURE__*/React__default.createElement(DropDown$1, {
|
|
@@ -7056,7 +7050,7 @@
|
|
|
7056
7050
|
color: "red",
|
|
7057
7051
|
fontSize: 12,
|
|
7058
7052
|
marginTop: 8
|
|
7059
|
-
}, errorMessageProps), errorMessage);
|
|
7053
|
+
}, errorMessageProps, views == null ? void 0 : views.text), errorMessage);
|
|
7060
7054
|
},
|
|
7061
7055
|
renderText = _ref3 => {
|
|
7062
7056
|
var {
|
|
@@ -7065,20 +7059,20 @@
|
|
|
7065
7059
|
} = _ref3;
|
|
7066
7060
|
return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7067
7061
|
marginTop: 8
|
|
7068
|
-
}, textProps), text);
|
|
7062
|
+
}, textProps, views == null ? void 0 : views.text), text);
|
|
7069
7063
|
},
|
|
7070
7064
|
renderFile = _ref4 => {
|
|
7071
7065
|
var {
|
|
7072
7066
|
selectedFile,
|
|
7073
7067
|
textProps
|
|
7074
7068
|
} = _ref4;
|
|
7075
|
-
return selectedFile ? (/*#__PURE__*/React__default.createElement(Center, {
|
|
7069
|
+
return selectedFile ? (/*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
7076
7070
|
marginTop: 8,
|
|
7077
7071
|
gap: 10,
|
|
7078
7072
|
flexDirection: "column"
|
|
7079
|
-
}, /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7073
|
+
}, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7080
7074
|
maxLines: 2
|
|
7081
|
-
}, textProps), selectedFile.name), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, textProps), "(", Math.round(selectedFile.size / 1024), " KB)"))) : null;
|
|
7075
|
+
}, 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;
|
|
7082
7076
|
},
|
|
7083
7077
|
renderVideo = _ref5 => {
|
|
7084
7078
|
var {
|
|
@@ -7088,11 +7082,11 @@
|
|
|
7088
7082
|
videoProps,
|
|
7089
7083
|
imageProps
|
|
7090
7084
|
} = _ref5;
|
|
7091
|
-
return /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7085
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7092
7086
|
width: "100%",
|
|
7093
7087
|
height: "100%",
|
|
7094
7088
|
position: "relative"
|
|
7095
|
-
}, /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7089
|
+
}, views == null ? void 0 : views.view), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7096
7090
|
as: "video",
|
|
7097
7091
|
width: "100%",
|
|
7098
7092
|
height: "100%",
|
|
@@ -7101,13 +7095,13 @@
|
|
|
7101
7095
|
objectFit: 'cover'
|
|
7102
7096
|
},
|
|
7103
7097
|
ref: videoRef
|
|
7104
|
-
}, videoProps)), thumbnailUrl && (/*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
7098
|
+
}, videoProps, views == null ? void 0 : views.view)), thumbnailUrl && (/*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
|
|
7105
7099
|
src: thumbnailUrl,
|
|
7106
7100
|
alt: "Video Thumbnail",
|
|
7107
7101
|
width: "100%",
|
|
7108
7102
|
height: "100%",
|
|
7109
7103
|
objectFit: "cover"
|
|
7110
|
-
}, imageProps))));
|
|
7104
|
+
}, imageProps, views == null ? void 0 : views.image))));
|
|
7111
7105
|
},
|
|
7112
7106
|
renderImage = _ref6 => {
|
|
7113
7107
|
var {
|
|
@@ -7120,7 +7114,7 @@
|
|
|
7120
7114
|
width: "100%",
|
|
7121
7115
|
height: "100%",
|
|
7122
7116
|
objectFit: "cover"
|
|
7123
|
-
}, imageProps));
|
|
7117
|
+
}, imageProps, views == null ? void 0 : views.image));
|
|
7124
7118
|
},
|
|
7125
7119
|
renderProgress = _ref7 => {
|
|
7126
7120
|
var {
|
|
@@ -7130,20 +7124,21 @@
|
|
|
7130
7124
|
return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
|
|
7131
7125
|
gap: 8,
|
|
7132
7126
|
alignItems: "center"
|
|
7133
|
-
}, progressProps), /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7127
|
+
}, progressProps, views == null ? void 0 : views.horizontal), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7134
7128
|
height: 4,
|
|
7135
7129
|
backgroundColor: "rgba(0,0,0,0.1)",
|
|
7136
7130
|
width: "100%",
|
|
7137
7131
|
borderRadius: 2
|
|
7138
|
-
}, /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7132
|
+
}, views == null ? void 0 : views.view), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7139
7133
|
height: 4,
|
|
7140
7134
|
width: progress + "%",
|
|
7141
7135
|
borderRadius: 2,
|
|
7142
7136
|
backgroundColor: "#000"
|
|
7143
|
-
})), /*#__PURE__*/React__default.createElement(appStudio.Text, {
|
|
7137
|
+
}, views == null ? void 0 : views.view))), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
7144
7138
|
fontSize: 12
|
|
7145
|
-
}, progress, "%"));
|
|
7146
|
-
}
|
|
7139
|
+
}, views == null ? void 0 : views.text), progress, "%"));
|
|
7140
|
+
},
|
|
7141
|
+
views = {}
|
|
7147
7142
|
} = _ref;
|
|
7148
7143
|
var finalPreviewUrl = externalPreviewUrl || previewUrl;
|
|
7149
7144
|
return /*#__PURE__*/React__default.createElement(Center, Object.assign({
|
|
@@ -7155,7 +7150,7 @@
|
|
|
7155
7150
|
flexDirection: "column",
|
|
7156
7151
|
overflow: "hidden",
|
|
7157
7152
|
position: "relative"
|
|
7158
|
-
}, containerProps), progress === 100 && fileType === 'image' && finalPreviewUrl && renderImage({
|
|
7153
|
+
}, containerProps, views == null ? void 0 : views.container), progress === 100 && fileType === 'image' && finalPreviewUrl && renderImage({
|
|
7159
7154
|
previewUrl: finalPreviewUrl,
|
|
7160
7155
|
imageProps
|
|
7161
7156
|
}), progress === 100 && fileType === 'video' && thumbnailUrl && renderVideo({
|
|
@@ -7178,7 +7173,7 @@
|
|
|
7178
7173
|
}), errorMessage && renderError({
|
|
7179
7174
|
errorMessage,
|
|
7180
7175
|
errorMessageProps
|
|
7181
|
-
}), /*#__PURE__*/React__default.createElement(appStudio.View, {
|
|
7176
|
+
}), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7182
7177
|
as: "input",
|
|
7183
7178
|
type: "file",
|
|
7184
7179
|
ref: fileInputRef,
|
|
@@ -7187,7 +7182,7 @@
|
|
|
7187
7182
|
style: {
|
|
7188
7183
|
display: 'none'
|
|
7189
7184
|
}
|
|
7190
|
-
}));
|
|
7185
|
+
}, views == null ? void 0 : views.view)));
|
|
7191
7186
|
};
|
|
7192
7187
|
|
|
7193
7188
|
var _excluded$y = ["accept", "icon", "text", "maxSize", "onFileSelect", "validateFile", "isLoading", "progress"];
|
|
@@ -7339,11 +7334,11 @@
|
|
|
7339
7334
|
xl: 28
|
|
7340
7335
|
};
|
|
7341
7336
|
|
|
7342
|
-
var _excluded$z = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
|
|
7343
|
-
_excluded2$7 = ["children", "shadow", "isFullScreen", "shape"],
|
|
7344
|
-
_excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition"],
|
|
7345
|
-
_excluded4$3 = ["children"],
|
|
7346
|
-
_excluded5$1 = ["children"];
|
|
7337
|
+
var _excluded$z = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
|
|
7338
|
+
_excluded2$7 = ["children", "shadow", "isFullScreen", "shape", "views"],
|
|
7339
|
+
_excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
|
|
7340
|
+
_excluded4$3 = ["children", "views"],
|
|
7341
|
+
_excluded5$1 = ["children", "views"];
|
|
7347
7342
|
var ModalOverlay = _ref => {
|
|
7348
7343
|
var {
|
|
7349
7344
|
children,
|
|
@@ -7351,13 +7346,14 @@
|
|
|
7351
7346
|
isOpen = false,
|
|
7352
7347
|
isClosePrevented = false,
|
|
7353
7348
|
onClose = () => {},
|
|
7354
|
-
position = 'center'
|
|
7349
|
+
position = 'center',
|
|
7350
|
+
views
|
|
7355
7351
|
} = _ref,
|
|
7356
7352
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
|
|
7357
7353
|
var handleClick = () => {
|
|
7358
7354
|
if (!isClosePrevented) onClose();
|
|
7359
7355
|
};
|
|
7360
|
-
return /*#__PURE__*/React__default.createElement(Center, {
|
|
7356
|
+
return /*#__PURE__*/React__default.createElement(Layout.Center, Object.assign({
|
|
7361
7357
|
position: "fixed",
|
|
7362
7358
|
top: 0,
|
|
7363
7359
|
left: 0,
|
|
@@ -7366,7 +7362,7 @@
|
|
|
7366
7362
|
zIndex: 1000,
|
|
7367
7363
|
onClick: handleClick,
|
|
7368
7364
|
visibility: isOpen ? 'visible' : 'hidden'
|
|
7369
|
-
}, /*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
7365
|
+
}, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7370
7366
|
position: "absolute",
|
|
7371
7367
|
top: 0,
|
|
7372
7368
|
left: 0,
|
|
@@ -7377,14 +7373,15 @@
|
|
|
7377
7373
|
backgroundColor: "color.blackAlpha.500",
|
|
7378
7374
|
backdropFilter: blur ? "blur(" + blur + "px)" : undefined,
|
|
7379
7375
|
onClick: handleClick
|
|
7380
|
-
}, OverlayAlignments[position], props), children));
|
|
7376
|
+
}, OverlayAlignments[position], props, views == null ? void 0 : views.view), children));
|
|
7381
7377
|
};
|
|
7382
7378
|
var ModalContainer = _ref2 => {
|
|
7383
7379
|
var {
|
|
7384
7380
|
children,
|
|
7385
7381
|
shadow,
|
|
7386
7382
|
isFullScreen = false,
|
|
7387
|
-
shape = 'rounded'
|
|
7383
|
+
shape = 'rounded',
|
|
7384
|
+
views
|
|
7388
7385
|
} = _ref2,
|
|
7389
7386
|
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
|
|
7390
7387
|
var defaultShadow = typeof document !== undefined ? {
|
|
@@ -7402,20 +7399,21 @@
|
|
|
7402
7399
|
var handleClick = event => {
|
|
7403
7400
|
if (event && event.stopPropagation) event.stopPropagation();
|
|
7404
7401
|
};
|
|
7405
|
-
return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
|
|
7402
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Vertical, Object.assign({
|
|
7406
7403
|
cursor: "default",
|
|
7407
7404
|
backgroundColor: "white",
|
|
7408
7405
|
width: isFullScreen ? '100%' : 600,
|
|
7409
7406
|
height: isFullScreen ? '100%' : 'fit-content',
|
|
7410
7407
|
onClick: handleClick
|
|
7411
|
-
}, shadow ? shadow : defaultShadow, ContainerShapes[shape], props), children);
|
|
7408
|
+
}, shadow ? shadow : defaultShadow, ContainerShapes[shape], props, views == null ? void 0 : views.container), children);
|
|
7412
7409
|
};
|
|
7413
7410
|
var ModalHeader = _ref3 => {
|
|
7414
7411
|
var {
|
|
7415
7412
|
children,
|
|
7416
7413
|
buttonColor = 'theme.primary',
|
|
7417
7414
|
iconSize = 'md',
|
|
7418
|
-
buttonPosition = 'right'
|
|
7415
|
+
buttonPosition = 'right',
|
|
7416
|
+
views
|
|
7419
7417
|
} = _ref3,
|
|
7420
7418
|
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
|
|
7421
7419
|
var onClose = props.onClose ? props.onClose : hideModal;
|
|
@@ -7430,16 +7428,17 @@
|
|
|
7430
7428
|
filter: "none",
|
|
7431
7429
|
width: 0
|
|
7432
7430
|
});
|
|
7433
|
-
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
7431
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
|
|
7434
7432
|
justifyContent: buttonPosition === 'none' ? 'center' : 'space-between',
|
|
7435
7433
|
alignItems: "center",
|
|
7436
7434
|
paddingVertical: 15,
|
|
7437
7435
|
paddingHorizontal: 20
|
|
7438
|
-
}, props), buttonPosition === 'left' && buttonIcon, children, buttonPosition === 'right' && buttonIcon);
|
|
7436
|
+
}, props, views == null ? void 0 : views.header), buttonPosition === 'left' && buttonIcon, children, buttonPosition === 'right' && buttonIcon);
|
|
7439
7437
|
};
|
|
7440
7438
|
var ModalBody = _ref4 => {
|
|
7441
7439
|
var {
|
|
7442
|
-
children
|
|
7440
|
+
children,
|
|
7441
|
+
views
|
|
7443
7442
|
} = _ref4,
|
|
7444
7443
|
props = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
|
|
7445
7444
|
var defaultBorder = {
|
|
@@ -7448,23 +7447,24 @@
|
|
|
7448
7447
|
borderColor: 'rgba(250, 250, 250, 1)',
|
|
7449
7448
|
borderStyle: 'solid'
|
|
7450
7449
|
};
|
|
7451
|
-
return /*#__PURE__*/React__default.createElement(View, Object.assign({
|
|
7450
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7452
7451
|
paddingVertical: 15,
|
|
7453
7452
|
paddingHorizontal: 20
|
|
7454
|
-
}, defaultBorder, props), children);
|
|
7453
|
+
}, defaultBorder, props, views == null ? void 0 : views.view), children);
|
|
7455
7454
|
};
|
|
7456
7455
|
var ModalFooter = _ref5 => {
|
|
7457
7456
|
var {
|
|
7458
|
-
children
|
|
7457
|
+
children,
|
|
7458
|
+
views
|
|
7459
7459
|
} = _ref5,
|
|
7460
7460
|
props = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
|
|
7461
|
-
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
7461
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
|
|
7462
7462
|
marginTop: "auto",
|
|
7463
7463
|
alignItems: "center",
|
|
7464
7464
|
justifyContent: "flex-end",
|
|
7465
7465
|
paddingVertical: 15,
|
|
7466
7466
|
paddingHorizontal: 20
|
|
7467
|
-
}, props), children);
|
|
7467
|
+
}, props, views == null ? void 0 : views.container), children);
|
|
7468
7468
|
};
|
|
7469
7469
|
|
|
7470
7470
|
var ModalLayout = _ref => {
|
|
@@ -7521,7 +7521,7 @@
|
|
|
7521
7521
|
|
|
7522
7522
|
var defaultStyles = {};
|
|
7523
7523
|
// Create a context that includes both styles and the onClick function
|
|
7524
|
-
var TableContext = /*#__PURE__*/
|
|
7524
|
+
var TableContext = /*#__PURE__*/React.createContext({
|
|
7525
7525
|
views: defaultStyles,
|
|
7526
7526
|
onRowClick: () => {}
|
|
7527
7527
|
});
|
|
@@ -7543,7 +7543,7 @@
|
|
|
7543
7543
|
);
|
|
7544
7544
|
};
|
|
7545
7545
|
// Custom hook to consume the context and get the styles and onClick handler
|
|
7546
|
-
var useTableContext = () =>
|
|
7546
|
+
var useTableContext = () => React.useContext(TableContext);
|
|
7547
7547
|
|
|
7548
7548
|
var TableContainer = props => {
|
|
7549
7549
|
var {
|
|
@@ -7552,7 +7552,7 @@
|
|
|
7552
7552
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7553
7553
|
as: "table",
|
|
7554
7554
|
borderCollapse: "collapse"
|
|
7555
|
-
}, views.table, props));
|
|
7555
|
+
}, views == null ? void 0 : views.table, props));
|
|
7556
7556
|
};
|
|
7557
7557
|
var TableHead = props => {
|
|
7558
7558
|
var {
|
|
@@ -7563,7 +7563,7 @@
|
|
|
7563
7563
|
borderBottom: "0.5px solid #ddd",
|
|
7564
7564
|
textAlign: "left",
|
|
7565
7565
|
color: "color.gray.400"
|
|
7566
|
-
}, views.thead, props));
|
|
7566
|
+
}, views == null ? void 0 : views.thead, props));
|
|
7567
7567
|
};
|
|
7568
7568
|
var TableHeadCell = props => {
|
|
7569
7569
|
var {
|
|
@@ -7574,7 +7574,7 @@
|
|
|
7574
7574
|
padding: "14px",
|
|
7575
7575
|
whiteSpace: "nowrap",
|
|
7576
7576
|
fontWeight: "500"
|
|
7577
|
-
}, views.th, props));
|
|
7577
|
+
}, views == null ? void 0 : views.th, props));
|
|
7578
7578
|
};
|
|
7579
7579
|
var TableRow = props => {
|
|
7580
7580
|
var {
|
|
@@ -7583,7 +7583,7 @@
|
|
|
7583
7583
|
} = useTableContext();
|
|
7584
7584
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7585
7585
|
as: "tr"
|
|
7586
|
-
}, views.tr, {
|
|
7586
|
+
}, views == null ? void 0 : views.tr, {
|
|
7587
7587
|
onClick: onRowClick
|
|
7588
7588
|
}, props));
|
|
7589
7589
|
};
|
|
@@ -7596,7 +7596,7 @@
|
|
|
7596
7596
|
padding: "14px",
|
|
7597
7597
|
whiteSpace: "nowrap",
|
|
7598
7598
|
fontWeight: props.isFirstColumn ? '400' : '300'
|
|
7599
|
-
}, views.td, props));
|
|
7599
|
+
}, views == null ? void 0 : views.td, props));
|
|
7600
7600
|
};
|
|
7601
7601
|
var TableBody = props => {
|
|
7602
7602
|
var {
|
|
@@ -7604,7 +7604,7 @@
|
|
|
7604
7604
|
} = useTableContext();
|
|
7605
7605
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7606
7606
|
as: "tbody"
|
|
7607
|
-
}, views.tbody, props));
|
|
7607
|
+
}, views == null ? void 0 : views.tbody, props));
|
|
7608
7608
|
};
|
|
7609
7609
|
var TableFooter = props => {
|
|
7610
7610
|
var {
|
|
@@ -7612,7 +7612,7 @@
|
|
|
7612
7612
|
} = useTableContext();
|
|
7613
7613
|
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
7614
7614
|
as: "tfoot"
|
|
7615
|
-
}, views.tfoot, props));
|
|
7615
|
+
}, views == null ? void 0 : views.tfoot, props));
|
|
7616
7616
|
};
|
|
7617
7617
|
var TableCaption = props => {
|
|
7618
7618
|
var {
|
|
@@ -7622,7 +7622,7 @@
|
|
|
7622
7622
|
as: "caption",
|
|
7623
7623
|
margin: '10px 0',
|
|
7624
7624
|
color: "color.gray.400"
|
|
7625
|
-
}, views.caption, props));
|
|
7625
|
+
}, views == null ? void 0 : views.caption, props));
|
|
7626
7626
|
};
|
|
7627
7627
|
var TableView = _ref => {
|
|
7628
7628
|
var {
|
|
@@ -7824,7 +7824,7 @@
|
|
|
7824
7824
|
};
|
|
7825
7825
|
};
|
|
7826
7826
|
|
|
7827
|
-
var _excluded$A = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
|
|
7827
|
+
var _excluded$A = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views"];
|
|
7828
7828
|
var ToggleView = _ref => {
|
|
7829
7829
|
var {
|
|
7830
7830
|
children,
|
|
@@ -7835,7 +7835,8 @@
|
|
|
7835
7835
|
isDisabled,
|
|
7836
7836
|
isToggle,
|
|
7837
7837
|
setIsToggled,
|
|
7838
|
-
onToggle
|
|
7838
|
+
onToggle,
|
|
7839
|
+
views
|
|
7839
7840
|
} = _ref,
|
|
7840
7841
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
|
|
7841
7842
|
var toggleColor = !isDisabled ? 'color.trueGray.400' : 'theme.disabled';
|
|
@@ -7854,6 +7855,7 @@
|
|
|
7854
7855
|
},
|
|
7855
7856
|
ghost: {}
|
|
7856
7857
|
};
|
|
7858
|
+
var handleHover = () => setIsHovered(!isHovered);
|
|
7857
7859
|
var handleToggle = () => {
|
|
7858
7860
|
if (!isDisabled) {
|
|
7859
7861
|
setIsToggled(prev => {
|
|
@@ -7871,12 +7873,12 @@
|
|
|
7871
7873
|
width: "fit-content",
|
|
7872
7874
|
color: isActive ? 'color.white' : toggleColor,
|
|
7873
7875
|
backgroundColor: isActive ? toggleColor : 'transparent',
|
|
7874
|
-
onMouseEnter:
|
|
7876
|
+
onMouseEnter: handleHover,
|
|
7875
7877
|
onMouseLeave: () => setIsHovered(false),
|
|
7876
7878
|
cursor: isDisabled ? 'not-allowed' : 'pointer',
|
|
7877
7879
|
borderRadius: shape === 'pillShaped' ? '50px' : '8px',
|
|
7878
7880
|
onClick: handleToggle
|
|
7879
|
-
}, toggleVariants[variant], props), children);
|
|
7881
|
+
}, toggleVariants[variant], props, views == null ? void 0 : views.container), children);
|
|
7880
7882
|
};
|
|
7881
7883
|
|
|
7882
7884
|
var _excluded$B = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
|
|
@@ -7940,7 +7942,8 @@
|
|
|
7940
7942
|
// Prop 'shape' with default value 'rounded', determines the shape of the toggle buttons.
|
|
7941
7943
|
shape = 'rounded',
|
|
7942
7944
|
// Prop 'variant' with default value 'ghost' represents the visual style variant of the toggles.
|
|
7943
|
-
variant = 'ghost'
|
|
7945
|
+
variant = 'ghost',
|
|
7946
|
+
views
|
|
7944
7947
|
} = _ref;
|
|
7945
7948
|
// handleToggle is a memoized callback that handles the toggle state changes.
|
|
7946
7949
|
var handleToggle = React.useCallback((id, isActive) => {
|
|
@@ -7955,18 +7958,19 @@
|
|
|
7955
7958
|
return newActiveToggles;
|
|
7956
7959
|
});
|
|
7957
7960
|
}, [onToggleChange, setActiveToggles]);
|
|
7958
|
-
return /*#__PURE__*/React__default.createElement(Horizontal, {
|
|
7961
|
+
return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
|
|
7959
7962
|
role: "ToggleGroup",
|
|
7960
7963
|
display: "flex",
|
|
7961
7964
|
gap: 5
|
|
7962
|
-
}, items.map(item => (/*#__PURE__*/React__default.createElement(Toggle, {
|
|
7965
|
+
}, views == null ? void 0 : views.container), items.map(item => (/*#__PURE__*/React__default.createElement(Toggle, {
|
|
7963
7966
|
role: "toggle-" + item.id,
|
|
7964
7967
|
key: item.id,
|
|
7965
7968
|
shape: shape,
|
|
7966
7969
|
variant: variant,
|
|
7967
7970
|
isToggled: activeToggles.includes(item.id) || item.isActive,
|
|
7968
7971
|
onToggle: state => handleToggle(item.id, state),
|
|
7969
|
-
isDisabled: item.isDisabled
|
|
7972
|
+
isDisabled: item.isDisabled,
|
|
7973
|
+
views: views == null ? void 0 : views.toggle
|
|
7970
7974
|
}, item.value))));
|
|
7971
7975
|
};
|
|
7972
7976
|
|
|
@@ -8095,12 +8099,13 @@
|
|
|
8095
8099
|
itemProps,
|
|
8096
8100
|
draggedIndex,
|
|
8097
8101
|
itemRefs,
|
|
8098
|
-
handleDragStart
|
|
8102
|
+
handleDragStart,
|
|
8103
|
+
views
|
|
8099
8104
|
} = _ref;
|
|
8100
8105
|
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
8101
8106
|
overflow: "hidden",
|
|
8102
8107
|
position: "relative"
|
|
8103
|
-
}, containerProps), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
8108
|
+
}, containerProps, views == null ? void 0 : views.container), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
8104
8109
|
key: index,
|
|
8105
8110
|
ref: el => itemRefs.current[index] = el,
|
|
8106
8111
|
onMouseDown: e => handleDragStart(e, index),
|
|
@@ -8109,7 +8114,7 @@
|
|
|
8109
8114
|
cursor: "grab",
|
|
8110
8115
|
transition: "transform 0.2s",
|
|
8111
8116
|
backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
|
|
8112
|
-
}, itemProps), renderItem ? renderItem(item, index) : item))));
|
|
8117
|
+
}, itemProps, views == null ? void 0 : views.item), renderItem ? renderItem(item, index) : item))));
|
|
8113
8118
|
};
|
|
8114
8119
|
|
|
8115
8120
|
var DragAndDropComponent = props => {
|