@app-studio/web 0.8.65 → 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.
Files changed (90) hide show
  1. package/dist/components/Alert/Alert/Alert.props.d.ts +1 -1
  2. package/dist/components/Alert/Alert/Alert.type.d.ts +5 -5
  3. package/dist/components/Alert/Alert/Alert.view.d.ts +1 -1
  4. package/dist/components/Alert/Alert.d.ts +1 -1
  5. package/dist/components/AspectRatio/AspectRatio/AspectRatio.props.d.ts +5 -0
  6. package/dist/components/AspectRatio/AspectRatio/AspectRatio.view.d.ts +1 -1
  7. package/dist/components/Avatar/Avatar/Avatar.props.d.ts +1 -1
  8. package/dist/components/Avatar/Avatar/Avatar.type.d.ts +4 -4
  9. package/dist/components/Avatar/Avatar/Avatar.view.d.ts +1 -1
  10. package/dist/components/Avatar/Avatar.d.ts +1 -1
  11. package/dist/components/Badge/Badge/Badge.props.d.ts +1 -2
  12. package/dist/components/Badge/Badge/Badge.style.d.ts +3 -2
  13. package/dist/components/Badge/Badge/Badge.type.d.ts +3 -3
  14. package/dist/components/Badge/Badge.d.ts +1 -1
  15. package/dist/components/Badge/examples/index.d.ts +0 -1
  16. package/dist/components/Button/Button/Button.props.d.ts +2 -3
  17. package/dist/components/Button/Button/Button.style.d.ts +3 -3
  18. package/dist/components/Button/Button/Button.view.d.ts +9 -1
  19. package/dist/components/Button/examples/index.d.ts +0 -1
  20. package/dist/components/DragAndDrop/DragAndDrop/DragAndDrop.props.d.ts +10 -0
  21. package/dist/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +1 -8
  22. package/dist/components/File/File.d.ts +7 -3
  23. package/dist/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +4 -4
  24. package/dist/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +2 -2
  25. package/dist/components/Form/ComboBox/ComboBox/ComboBox.props.d.ts +1 -1
  26. package/dist/components/Form/CountryPicker/CountryPicker/CountryPicker.props.d.ts +8 -10
  27. package/dist/components/Form/CountryPicker/CountryPicker/CountryPicker.view.d.ts +1 -2
  28. package/dist/components/Form/DatePicker/DatePicker/DatePicker.props.d.ts +3 -4
  29. package/dist/components/Form/Password/Password/Password.state.d.ts +1 -2
  30. package/dist/components/Form/Select/Select/Select.props.d.ts +5 -7
  31. package/dist/components/Form/Select/Select/Select.style.d.ts +2 -2
  32. package/dist/components/Form/Switch/Switch/Switch.props.d.ts +4 -5
  33. package/dist/components/Form/Switch/Switch/Switch.style.d.ts +3 -3
  34. package/dist/components/Form/TextArea/TextArea/TextArea.props.d.ts +3 -5
  35. package/dist/components/Form/TextArea/TextArea/TextArea.type.d.ts +6 -6
  36. package/dist/components/Form/TextField/TextField/TextField.props.d.ts +4 -5
  37. package/dist/components/Icon/Icon.d.ts +1 -3
  38. package/dist/components/Layout/Center/Center.d.ts +2 -2
  39. package/dist/components/Layout/Center/Center.props.d.ts +1 -1
  40. package/dist/components/Layout/Horizontal/Horizontal.d.ts +2 -2
  41. package/dist/components/Layout/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +1 -1
  42. package/dist/components/Layout/Input/FieldContent/FieldContent/FieldContent.props.d.ts +3 -7
  43. package/dist/components/Layout/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +2 -2
  44. package/dist/components/Layout/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +1 -1
  45. package/dist/components/Layout/Input/HelperText/HelperText.props.d.ts +1 -1
  46. package/dist/components/Layout/Vertical/Vertical.d.ts +2 -2
  47. package/dist/components/Layout/View/View.d.ts +1 -2
  48. package/dist/components/Layout/configs/Input.style.d.ts +3 -3
  49. package/dist/components/Layout/configs/Input.type.d.ts +5 -5
  50. package/dist/components/Link/Link/Link.props.d.ts +1 -2
  51. package/dist/components/Loader/Loader/Loader.view.d.ts +8 -1
  52. package/dist/components/Message/Message/Message.props.d.ts +3 -3
  53. package/dist/components/Message/Message/Message.style.d.ts +2 -2
  54. package/dist/components/Message/Message/Message.type.d.ts +9 -8
  55. package/dist/components/Message/Message/Message.view.d.ts +1 -1
  56. package/dist/components/Modal/Modal/Modal.props.d.ts +19 -6
  57. package/dist/components/Modal/Modal/Modal.style.d.ts +4 -4
  58. package/dist/components/Modal/Modal/Modal.view.d.ts +16 -2
  59. package/dist/components/Table/Table/Table.context.d.ts +17 -14
  60. package/dist/components/Table/Table/Table.props.d.ts +2 -2
  61. package/dist/components/Table/Table/Table.view.d.ts +9 -8
  62. package/dist/components/Table/Table.d.ts +1 -1
  63. package/dist/components/Tabs/Tabs/Tabs.props.d.ts +2 -2
  64. package/dist/components/Text/Text/Text.props.d.ts +2 -2
  65. package/dist/components/Text/Text/Text.view.d.ts +7 -1
  66. package/dist/components/Text/Text.d.ts +1 -2
  67. package/dist/components/Toggle/Toggle/Toggle.props.d.ts +1 -2
  68. package/dist/components/Toggle/Toggle/Toggle.view.d.ts +7 -1
  69. package/dist/components/Toggle/Toggle.d.ts +1 -1
  70. package/dist/components/Toggle/examples/index.d.ts +0 -1
  71. package/dist/components/ToggleGroup/ToggleGroup/ToggleGroup.props.d.ts +6 -3
  72. package/dist/components/ToggleGroup/ToggleGroup/ToggleGroup.view.d.ts +1 -1
  73. package/dist/components/ToggleGroup/ToggleGroup.d.ts +1 -1
  74. package/dist/components/ToggleGroup/examples/index.d.ts +0 -1
  75. package/dist/components/Uploader/{Uploader.props.d.ts → Uploader/Uploader.props.d.ts} +30 -10
  76. package/dist/components/Uploader/Uploader/Uploader.state.d.ts +13 -0
  77. package/dist/components/Uploader/Uploader/Uploader.view.d.ts +3 -0
  78. package/dist/components/Uploader/Uploader.d.ts +1 -12
  79. package/dist/components/index.d.ts +1 -1
  80. package/dist/web.cjs.development.js +602 -588
  81. package/dist/web.cjs.development.js.map +1 -1
  82. package/dist/web.cjs.production.min.js +1 -1
  83. package/dist/web.cjs.production.min.js.map +1 -1
  84. package/dist/web.esm.js +604 -588
  85. package/dist/web.esm.js.map +1 -1
  86. package/dist/web.umd.development.js +605 -592
  87. package/dist/web.umd.development.js.map +1 -1
  88. package/dist/web.umd.production.min.js +1 -1
  89. package/dist/web.umd.production.min.js.map +1 -1
  90. package/package.json +6 -4
@@ -22,6 +22,7 @@ require('core-js/modules/web.url.js');
22
22
  require('core-js/modules/web.url.to-json.js');
23
23
  require('core-js/modules/web.url-search-params.js');
24
24
  var zustand = require('zustand');
25
+ var Layout = require('src/components/Layout');
25
26
 
26
27
  var Top = props => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
27
28
  marginBottom: "auto"
@@ -84,19 +85,25 @@ var HeadingSizes = {
84
85
  }
85
86
  };
86
87
 
87
- var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size"];
88
+ var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size", "views"];
88
89
  var TextContent = _ref => {
89
90
  var {
90
91
  children,
91
92
  isSub,
92
- isSup
93
+ isSup,
94
+ views
93
95
  } = _ref;
94
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, isSub && /*#__PURE__*/React__default.createElement("sup", null, children), isSup && /*#__PURE__*/React__default.createElement("sup", null, children), !isSub && !isSup && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children))) : children);
96
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, isSub && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
97
+ as: "sup"
98
+ }, views == null ? void 0 : views.sup), children)), isSup && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
99
+ as: "sup"
100
+ }, views == null ? void 0 : views.sup), children)), !isSub && !isSup && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children))) : children);
95
101
  };
96
102
  var TruncateText = _ref2 => {
97
103
  var {
98
104
  text,
99
- maxLines = 1
105
+ maxLines = 1,
106
+ views
100
107
  } = _ref2;
101
108
  var containerRef = React.useRef(null);
102
109
  var [truncatedLength, setTruncatedLength] = React.useState(text.length);
@@ -125,9 +132,9 @@ var TruncateText = _ref2 => {
125
132
  updateTruncatedText();
126
133
  }, [text, maxLines]);
127
134
  var displayText = text.length > truncatedLength ? text.substring(0, truncatedLength) + '...' : text;
128
- return /*#__PURE__*/React__default.createElement("div", {
135
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
129
136
  ref: containerRef
130
- }, displayText);
137
+ }, views == null ? void 0 : views.truncateText), displayText);
131
138
  };
132
139
  var TextView = _ref3 => {
133
140
  var {
@@ -140,7 +147,8 @@ var TextView = _ref3 => {
140
147
  isSup = false,
141
148
  isStriked = false,
142
149
  weight = 'normal',
143
- size = 'md'
150
+ size = 'md',
151
+ views
144
152
  } = _ref3,
145
153
  props = _objectWithoutPropertiesLoose(_ref3, _excluded);
146
154
  var headingStyles = heading ? HeadingSizes[heading] : {};
@@ -154,13 +162,13 @@ var TextView = _ref3 => {
154
162
  fontStyle: isItalic ? 'italic' : 'normal',
155
163
  fontWeight: appStudio.Typography.fontWeights[weight],
156
164
  textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
157
- }, noLineBreak, headingStyles, props), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
165
+ }, noLineBreak, headingStyles, props, views == null ? void 0 : views.container), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
158
166
  text: children,
159
167
  maxLines: maxLines
160
- })) : (/*#__PURE__*/React__default.createElement(TextContent, Object.assign({
168
+ })) : (/*#__PURE__*/React__default.createElement(TextContent, {
161
169
  isSub: isSub,
162
170
  isSup: isSup
163
- }, props), children)));
171
+ }, children)));
164
172
  };
165
173
 
166
174
  var TextComponent = props => {
@@ -225,74 +233,74 @@ var CenterBase = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
225
233
  CenterBase.displayName = 'Center';
226
234
  var Center = CenterBase;
227
235
 
228
- var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
229
- _excluded2 = ["size", "color", "filled", "strokeWidth"],
230
- _excluded3 = ["size", "color", "filled", "strokeWidth"],
231
- _excluded4 = ["size", "color", "filled", "strokeWidth"],
232
- _excluded5 = ["size", "color", "filled", "strokeWidth"],
233
- _excluded6 = ["size", "color", "filled", "strokeWidth"],
234
- _excluded7 = ["size", "color", "filled", "strokeWidth"],
235
- _excluded8 = ["size", "color", "filled", "strokeWidth"],
236
- _excluded9 = ["size", "color", "filled", "strokeWidth"],
237
- _excluded10 = ["size", "color", "filled", "strokeWidth"],
238
- _excluded11 = ["size", "color", "filled", "strokeWidth"],
239
- _excluded12 = ["size", "color", "filled", "strokeWidth"],
240
- _excluded13 = ["size", "color", "filled", "strokeWidth"],
241
- _excluded14 = ["size", "color", "filled", "strokeWidth"],
242
- _excluded15 = ["size", "color", "filled", "strokeWidth"],
243
- _excluded16 = ["size", "color", "filled", "strokeWidth"],
244
- _excluded17 = ["size", "color", "filled", "strokeWidth"],
245
- _excluded18 = ["size", "color", "filled", "strokeWidth"],
246
- _excluded19 = ["size", "color", "filled", "strokeWidth"],
247
- _excluded20 = ["size", "color", "filled", "strokeWidth"],
248
- _excluded21 = ["size", "color", "filled", "strokeWidth"],
249
- _excluded22 = ["size", "color", "filled", "strokeWidth"],
250
- _excluded23 = ["size", "color", "filled", "strokeWidth"],
251
- _excluded24 = ["size", "color", "filled", "strokeWidth"],
252
- _excluded25 = ["size", "color", "filled", "strokeWidth"],
253
- _excluded26 = ["size", "color", "filled", "strokeWidth"],
254
- _excluded27 = ["size", "color", "filled", "strokeWidth"],
255
- _excluded28 = ["size", "color", "filled", "strokeWidth"],
256
- _excluded29 = ["size", "color", "filled", "strokeWidth"],
257
- _excluded30 = ["size", "color", "strokeWidth", "filled"],
258
- _excluded31 = ["size", "color", "filled", "strokeWidth"],
259
- _excluded32 = ["size", "color", "strokeWidth", "filled"],
260
- _excluded33 = ["size", "color", "filled", "strokeWidth"],
261
- _excluded34 = ["size", "color", "strokeWidth", "filled"],
262
- _excluded35 = ["size", "color", "filled", "strokeWidth"],
263
- _excluded36 = ["size", "color", "strokeWidth", "filled"],
264
- _excluded37 = ["size", "color", "filled", "strokeWidth"],
265
- _excluded38 = ["size", "color", "filled", "strokeWidth"],
266
- _excluded39 = ["size", "color", "filled", "strokeWidth"],
267
- _excluded40 = ["size", "color", "filled", "strokeWidth"],
268
- _excluded41 = ["size", "color", "filled", "strokeWidth"],
269
- _excluded42 = ["size", "color", "filled", "strokeWidth"],
270
- _excluded43 = ["size", "color", "filled", "strokeWidth"],
271
- _excluded44 = ["size", "color", "filled", "strokeWidth"],
272
- _excluded45 = ["size", "color", "filled", "strokeWidth"],
273
- _excluded46 = ["size", "color", "filled", "strokeWidth"],
274
- _excluded47 = ["size", "color", "filled", "strokeWidth"],
275
- _excluded48 = ["size", "color", "filled", "strokeWidth"],
276
- _excluded49 = ["size", "color", "strokeWidth", "filled"],
277
- _excluded50 = ["size", "color", "strokeWidth", "filled"],
278
- _excluded51 = ["size", "color", "filled", "strokeWidth"],
279
- _excluded52 = ["size", "color", "filled", "strokeWidth"],
280
- _excluded53 = ["size", "color", "filled", "strokeWidth"],
281
- _excluded54 = ["size", "color", "filled", "strokeWidth"],
282
- _excluded55 = ["size", "color", "filled", "strokeWidth"],
283
- _excluded56 = ["size", "color", "filled", "strokeWidth"],
284
- _excluded57 = ["size", "color", "filled", "strokeWidth"],
285
- _excluded58 = ["size", "color", "filled", "strokeWidth"],
286
- _excluded59 = ["size", "color", "filled", "strokeWidth"],
287
- _excluded60 = ["size", "color", "filled", "strokeWidth"],
288
- _excluded61 = ["size", "color", "filled", "strokeWidth"],
289
- _excluded62 = ["size", "color", "filled", "strokeWidth"],
290
- _excluded63 = ["size", "color", "filled", "strokeWidth"],
291
- _excluded64 = ["size", "color", "strokeWidth", "filled"];
236
+ var _excluded$4 = ["widthHeight", "color", "transform", "orientation", "children"],
237
+ _excluded2 = ["widthHeight", "color", "filled", "strokeWidth"],
238
+ _excluded3 = ["widthHeight", "color", "filled", "strokeWidth"],
239
+ _excluded4 = ["widthHeight", "color", "filled", "strokeWidth"],
240
+ _excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
241
+ _excluded6 = ["widthHeight", "color", "filled", "strokeWidth"],
242
+ _excluded7 = ["widthHeight", "color", "filled", "strokeWidth"],
243
+ _excluded8 = ["widthHeight", "color", "filled", "strokeWidth"],
244
+ _excluded9 = ["widthHeight", "color", "filled", "strokeWidth"],
245
+ _excluded10 = ["widthHeight", "color", "filled", "strokeWidth"],
246
+ _excluded11 = ["widthHeight", "color", "filled", "strokeWidth"],
247
+ _excluded12 = ["widthHeight", "color", "filled", "strokeWidth"],
248
+ _excluded13 = ["widthHeight", "color", "filled", "strokeWidth"],
249
+ _excluded14 = ["widthHeight", "color", "filled", "strokeWidth"],
250
+ _excluded15 = ["widthHeight", "color", "filled", "strokeWidth"],
251
+ _excluded16 = ["widthHeight", "color", "filled", "strokeWidth"],
252
+ _excluded17 = ["widthHeight", "color", "filled", "strokeWidth"],
253
+ _excluded18 = ["widthHeight", "color", "filled", "strokeWidth"],
254
+ _excluded19 = ["widthHeight", "color", "filled", "strokeWidth"],
255
+ _excluded20 = ["widthHeight", "color", "filled", "strokeWidth"],
256
+ _excluded21 = ["widthHeight", "color", "filled", "strokeWidth"],
257
+ _excluded22 = ["widthHeight", "color", "filled", "strokeWidth"],
258
+ _excluded23 = ["widthHeight", "color", "filled", "strokeWidth"],
259
+ _excluded24 = ["widthHeight", "color", "filled", "strokeWidth"],
260
+ _excluded25 = ["widthHeight", "color", "filled", "strokeWidth"],
261
+ _excluded26 = ["widthHeight", "color", "filled", "strokeWidth"],
262
+ _excluded27 = ["widthHeight", "color", "filled", "strokeWidth"],
263
+ _excluded28 = ["widthHeight", "color", "filled", "strokeWidth"],
264
+ _excluded29 = ["widthHeight", "color", "filled", "strokeWidth"],
265
+ _excluded30 = ["widthHeight", "color", "strokeWidth", "filled"],
266
+ _excluded31 = ["widthHeight", "color", "filled", "strokeWidth"],
267
+ _excluded32 = ["widthHeight", "color", "strokeWidth", "filled"],
268
+ _excluded33 = ["widthHeight", "color", "filled", "strokeWidth"],
269
+ _excluded34 = ["widthHeight", "color", "strokeWidth", "filled"],
270
+ _excluded35 = ["widthHeight", "color", "filled", "strokeWidth"],
271
+ _excluded36 = ["widthHeight", "color", "strokeWidth", "filled"],
272
+ _excluded37 = ["widthHeight", "color", "filled", "strokeWidth"],
273
+ _excluded38 = ["widthHeight", "color", "filled", "strokeWidth"],
274
+ _excluded39 = ["widthHeight", "color", "filled", "strokeWidth"],
275
+ _excluded40 = ["widthHeight", "color", "filled", "strokeWidth"],
276
+ _excluded41 = ["widthHeight", "color", "filled", "strokeWidth"],
277
+ _excluded42 = ["widthHeight", "color", "filled", "strokeWidth"],
278
+ _excluded43 = ["widthHeight", "color", "filled", "strokeWidth"],
279
+ _excluded44 = ["widthHeight", "color", "filled", "strokeWidth"],
280
+ _excluded45 = ["widthHeight", "color", "filled", "strokeWidth"],
281
+ _excluded46 = ["widthHeight", "color", "filled", "strokeWidth"],
282
+ _excluded47 = ["widthHeight", "color", "filled", "strokeWidth"],
283
+ _excluded48 = ["widthHeight", "color", "filled", "strokeWidth"],
284
+ _excluded49 = ["widthHeight", "color", "strokeWidth", "filled"],
285
+ _excluded50 = ["widthHeight", "color", "strokeWidth", "filled"],
286
+ _excluded51 = ["widthHeight", "color", "filled", "strokeWidth"],
287
+ _excluded52 = ["widthHeight", "color", "filled", "strokeWidth"],
288
+ _excluded53 = ["widthHeight", "color", "filled", "strokeWidth"],
289
+ _excluded54 = ["widthHeight", "color", "filled", "strokeWidth"],
290
+ _excluded55 = ["widthHeight", "color", "filled", "strokeWidth"],
291
+ _excluded56 = ["widthHeight", "color", "filled", "strokeWidth"],
292
+ _excluded57 = ["widthHeight", "color", "filled", "strokeWidth"],
293
+ _excluded58 = ["widthHeight", "color", "filled", "strokeWidth"],
294
+ _excluded59 = ["widthHeight", "color", "filled", "strokeWidth"],
295
+ _excluded60 = ["widthHeight", "color", "filled", "strokeWidth"],
296
+ _excluded61 = ["widthHeight", "color", "filled", "strokeWidth"],
297
+ _excluded62 = ["widthHeight", "color", "filled", "strokeWidth"],
298
+ _excluded63 = ["widthHeight", "color", "filled", "strokeWidth"],
299
+ _excluded64 = ["widthHeight", "color", "strokeWidth", "filled"];
292
300
  // Default wrapper component for consistent sizing and styling
293
301
  var IconWrapper = _ref => {
294
302
  var {
295
- size,
303
+ widthHeight,
296
304
  color = 'black',
297
305
  transform,
298
306
  orientation = 'up',
@@ -300,8 +308,8 @@ var IconWrapper = _ref => {
300
308
  } = _ref,
301
309
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
302
310
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
303
- size: size,
304
- lineHeight: size,
311
+ widthHeight: widthHeight,
312
+ lineHeight: widthHeight,
305
313
  color: color,
306
314
  display: "flex",
307
315
  transform: transform ? transform : orientation === 'left' ? 'rotate(-90deg)' : orientation === 'right' ? 'rotate(90deg)' : orientation === 'up' ? 'rotate(0deg)' : orientation === 'down' ? 'rotate(180deg)' : 'none'
@@ -320,14 +328,14 @@ var getSvgProps = (filled, color, strokeWidth) => {
320
328
  // Example Icon Component: ChevronIcon
321
329
  var ChevronIcon = _ref2 => {
322
330
  var {
323
- size = 24,
331
+ widthHeight = 24,
324
332
  color = 'currentColor',
325
333
  filled = true,
326
334
  strokeWidth = 1
327
335
  } = _ref2,
328
336
  props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
329
337
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
330
- size: size,
338
+ widthHeight: widthHeight,
331
339
  color: color
332
340
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
333
341
  viewBox: "0 0 24 24",
@@ -339,14 +347,14 @@ var ChevronIcon = _ref2 => {
339
347
  };
340
348
  var DragHandleIcon = _ref3 => {
341
349
  var {
342
- size = 24,
350
+ widthHeight = 24,
343
351
  color = 'currentColor',
344
352
  filled = true,
345
353
  strokeWidth = 1
346
354
  } = _ref3,
347
355
  props = _objectWithoutPropertiesLoose(_ref3, _excluded3);
348
356
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
349
- size: size,
357
+ widthHeight: widthHeight,
350
358
  color: color
351
359
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
352
360
  viewBox: "0 0 24 24",
@@ -381,14 +389,14 @@ var DragHandleIcon = _ref3 => {
381
389
  // File Icon Component
382
390
  var FileIcon = _ref4 => {
383
391
  var {
384
- size = 24,
392
+ widthHeight = 24,
385
393
  color = 'currentColor',
386
394
  filled = true,
387
395
  strokeWidth = 1
388
396
  } = _ref4,
389
397
  props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
390
398
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
391
- size: size,
399
+ widthHeight: widthHeight,
392
400
  color: color
393
401
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
394
402
  viewBox: "0 0 24 24",
@@ -409,14 +417,14 @@ var FileIcon = _ref4 => {
409
417
  // Video Icon Component
410
418
  var VideoIcon = _ref5 => {
411
419
  var {
412
- size = 24,
420
+ widthHeight = 24,
413
421
  color = 'currentColor',
414
422
  filled = true,
415
423
  strokeWidth = 1
416
424
  } = _ref5,
417
425
  props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
418
426
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
419
- size: size,
427
+ widthHeight: widthHeight,
420
428
  color: color
421
429
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
422
430
  viewBox: "0 0 24 24",
@@ -442,14 +450,14 @@ var VideoIcon = _ref5 => {
442
450
  // Image Icon Component
443
451
  var ImageIcon = _ref6 => {
444
452
  var {
445
- size = 24,
453
+ widthHeight = 24,
446
454
  color = 'currentColor',
447
455
  filled = true,
448
456
  strokeWidth = 1
449
457
  } = _ref6,
450
458
  props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
451
459
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
452
- size: size,
460
+ widthHeight: widthHeight,
453
461
  color: color
454
462
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
455
463
  viewBox: "0 0 24 24",
@@ -481,14 +489,14 @@ var ImageIcon = _ref6 => {
481
489
  };
482
490
  var TwitterIcon = _ref7 => {
483
491
  var {
484
- size = 24,
492
+ widthHeight = 24,
485
493
  color = 'currentColor',
486
494
  filled = true,
487
495
  strokeWidth = 1
488
496
  } = _ref7,
489
497
  props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
490
498
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
491
- size: size,
499
+ widthHeight: widthHeight,
492
500
  color: color
493
501
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
494
502
  viewBox: "0 0 24 24",
@@ -503,14 +511,14 @@ var TwitterIcon = _ref7 => {
503
511
  };
504
512
  var XIcon = _ref8 => {
505
513
  var {
506
- size = 24,
514
+ widthHeight = 24,
507
515
  color = 'currentColor',
508
516
  filled = true,
509
517
  strokeWidth = 1
510
518
  } = _ref8,
511
519
  props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
512
520
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
513
- size: size,
521
+ widthHeight: widthHeight,
514
522
  color: color
515
523
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
516
524
  viewBox: "0 0 24 24",
@@ -526,14 +534,14 @@ var XIcon = _ref8 => {
526
534
  // Example of a Twitch Icon
527
535
  var TwitchIcon = _ref9 => {
528
536
  var {
529
- size = 24,
537
+ widthHeight = 24,
530
538
  color = 'currentColor',
531
539
  filled = true,
532
540
  strokeWidth = 1
533
541
  } = _ref9,
534
542
  props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
535
543
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
536
- size: size,
544
+ widthHeight: widthHeight,
537
545
  color: color
538
546
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
539
547
  viewBox: "0 0 24 24",
@@ -554,14 +562,14 @@ var TwitchIcon = _ref9 => {
554
562
  // Example of another Icon: CloseIcon
555
563
  var CloseIcon = _ref10 => {
556
564
  var {
557
- size = 24,
565
+ widthHeight = 24,
558
566
  color = 'currentColor',
559
567
  filled = false,
560
568
  strokeWidth = 1
561
569
  } = _ref10,
562
570
  props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
563
571
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
564
- size: size,
572
+ widthHeight: widthHeight,
565
573
  color: color
566
574
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
567
575
  viewBox: "0 0 24 24",
@@ -583,14 +591,14 @@ var CloseIcon = _ref10 => {
583
591
  };
584
592
  var InstagramIcon = _ref11 => {
585
593
  var {
586
- size = 24,
594
+ widthHeight = 24,
587
595
  color = 'currentColor',
588
596
  filled = false,
589
597
  strokeWidth = 1
590
598
  } = _ref11,
591
599
  props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
592
600
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
593
- size: size,
601
+ widthHeight: widthHeight,
594
602
  color: color
595
603
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
596
604
  viewBox: "0 0 24 24",
@@ -614,14 +622,14 @@ var InstagramIcon = _ref11 => {
614
622
  };
615
623
  var YoutubeIcon = _ref12 => {
616
624
  var {
617
- size = 24,
625
+ widthHeight = 24,
618
626
  color = 'currentColor',
619
627
  filled = true,
620
628
  strokeWidth = 1
621
629
  } = _ref12,
622
630
  props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
623
631
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
624
- size: size,
632
+ widthHeight: widthHeight,
625
633
  color: color
626
634
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
627
635
  viewBox: "0 0 24 24",
@@ -642,14 +650,14 @@ var YoutubeIcon = _ref12 => {
642
650
  };
643
651
  var FacebookIcon = _ref13 => {
644
652
  var {
645
- size = 24,
653
+ widthHeight = 24,
646
654
  color = 'currentColor',
647
655
  filled = true,
648
656
  strokeWidth = 1
649
657
  } = _ref13,
650
658
  props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
651
659
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
652
- size: size,
660
+ widthHeight: widthHeight,
653
661
  color: color
654
662
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
655
663
  viewBox: "0 0 24 24",
@@ -664,14 +672,14 @@ var FacebookIcon = _ref13 => {
664
672
  };
665
673
  var LinkedinIcon = _ref14 => {
666
674
  var {
667
- size = 24,
675
+ widthHeight = 24,
668
676
  color = 'currentColor',
669
677
  filled = true,
670
678
  strokeWidth = 1
671
679
  } = _ref14,
672
680
  props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
673
681
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
674
- size: size,
682
+ widthHeight: widthHeight,
675
683
  color: color
676
684
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
677
685
  viewBox: "0 0 24 24"
@@ -690,14 +698,14 @@ var LinkedinIcon = _ref14 => {
690
698
  };
691
699
  var ThreadsIcon = _ref15 => {
692
700
  var {
693
- size = 24,
701
+ widthHeight = 24,
694
702
  color = 'currentColor',
695
703
  filled = false,
696
704
  strokeWidth = 1
697
705
  } = _ref15,
698
706
  props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
699
707
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
700
- size: size,
708
+ widthHeight: widthHeight,
701
709
  color: color
702
710
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
703
711
  viewBox: "0 0 24 24"
@@ -712,7 +720,7 @@ var ThreadsIcon = _ref15 => {
712
720
  // Example Refactored Icon: MinusIcon without undefined 'padding' prop
713
721
  var MinusIcon = _ref16 => {
714
722
  var {
715
- size = 24,
723
+ widthHeight = 24,
716
724
  color = 'currentColor',
717
725
  filled = false,
718
726
  // Assuming minus can be filled; adjust as needed
@@ -720,7 +728,7 @@ var MinusIcon = _ref16 => {
720
728
  } = _ref16,
721
729
  props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
722
730
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
723
- size: size,
731
+ widthHeight: widthHeight,
724
732
  color: color
725
733
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
726
734
  viewBox: "0 0 24 24",
@@ -737,14 +745,14 @@ var MinusIcon = _ref16 => {
737
745
  // Example Refactored Icon: InfoIcon with accessibility enhancements
738
746
  var InfoIcon = _ref17 => {
739
747
  var {
740
- size = 24,
748
+ widthHeight = 24,
741
749
  color = 'currentColor',
742
750
  filled = false,
743
751
  strokeWidth = 1
744
752
  } = _ref17,
745
753
  props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
746
754
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
747
- size: size,
755
+ widthHeight: widthHeight,
748
756
  color: color
749
757
  }, props, {
750
758
  "aria-label": "Information"
@@ -758,14 +766,14 @@ var InfoIcon = _ref17 => {
758
766
  };
759
767
  var PlayIcon = _ref18 => {
760
768
  var {
761
- size = 24,
769
+ widthHeight = 24,
762
770
  color = 'currentColor',
763
771
  filled = true,
764
772
  strokeWidth = 1
765
773
  } = _ref18,
766
774
  props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
767
775
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
768
- size: size,
776
+ widthHeight: widthHeight,
769
777
  color: color
770
778
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
771
779
  viewBox: "0 0 24 24",
@@ -777,14 +785,14 @@ var PlayIcon = _ref18 => {
777
785
  };
778
786
  var PauseIcon = _ref19 => {
779
787
  var {
780
- size = 24,
788
+ widthHeight = 24,
781
789
  color = 'currentColor',
782
790
  filled = true,
783
791
  strokeWidth = 1
784
792
  } = _ref19,
785
793
  props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
786
794
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
787
- size: size,
795
+ widthHeight: widthHeight,
788
796
  color: color
789
797
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
790
798
  viewBox: "0 0 24 24",
@@ -796,14 +804,14 @@ var PauseIcon = _ref19 => {
796
804
  };
797
805
  var HeartIcon = _ref20 => {
798
806
  var {
799
- size = 24,
807
+ widthHeight = 24,
800
808
  color = 'currentColor',
801
809
  filled = true,
802
810
  strokeWidth = 1
803
811
  } = _ref20,
804
812
  props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
805
813
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
806
- size: size,
814
+ widthHeight: widthHeight,
807
815
  color: color
808
816
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
809
817
  viewBox: "0 0 24 24",
@@ -815,14 +823,14 @@ var HeartIcon = _ref20 => {
815
823
  };
816
824
  var StarIcon = _ref21 => {
817
825
  var {
818
- size = 24,
826
+ widthHeight = 24,
819
827
  color = 'currentColor',
820
828
  filled = true,
821
829
  strokeWidth = 1
822
830
  } = _ref21,
823
831
  props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
824
832
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
825
- size: size,
833
+ widthHeight: widthHeight,
826
834
  color: color
827
835
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
828
836
  viewBox: "0 0 24 24",
@@ -834,14 +842,14 @@ var StarIcon = _ref21 => {
834
842
  };
835
843
  var SaveIcon = _ref22 => {
836
844
  var {
837
- size = 24,
845
+ widthHeight = 24,
838
846
  color = 'currentColor',
839
847
  filled = false,
840
848
  strokeWidth = 1
841
849
  } = _ref22,
842
850
  props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
843
851
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
844
- size: size,
852
+ widthHeight: widthHeight,
845
853
  color: color
846
854
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
847
855
  viewBox: "0 0 24 24",
@@ -857,14 +865,14 @@ var SaveIcon = _ref22 => {
857
865
  };
858
866
  var WarningIcon = _ref23 => {
859
867
  var {
860
- size = 24,
868
+ widthHeight = 24,
861
869
  color = 'currentColor',
862
870
  filled = false,
863
871
  strokeWidth = 1
864
872
  } = _ref23,
865
873
  props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
866
874
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
867
- size: size,
875
+ widthHeight: widthHeight,
868
876
  color: color
869
877
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
870
878
  viewBox: "0 0 24 24",
@@ -888,14 +896,14 @@ var WarningIcon = _ref23 => {
888
896
  };
889
897
  var BatteryIcon = _ref24 => {
890
898
  var {
891
- size = 24,
899
+ widthHeight = 24,
892
900
  color = 'currentColor',
893
901
  filled = true,
894
902
  strokeWidth = 1
895
903
  } = _ref24,
896
904
  props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
897
905
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
898
- size: size,
906
+ widthHeight: widthHeight,
899
907
  color: color
900
908
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
901
909
  viewBox: "0 0 24 24",
@@ -907,14 +915,14 @@ var BatteryIcon = _ref24 => {
907
915
  };
908
916
  var BookmarkIcon = _ref25 => {
909
917
  var {
910
- size = 24,
918
+ widthHeight = 24,
911
919
  color = 'currentColor',
912
920
  filled = false,
913
921
  strokeWidth = 1
914
922
  } = _ref25,
915
923
  props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
916
924
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
917
- size: size,
925
+ widthHeight: widthHeight,
918
926
  color: color
919
927
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
920
928
  viewBox: "0 0 24 24",
@@ -926,14 +934,14 @@ var BookmarkIcon = _ref25 => {
926
934
  };
927
935
  var CloudIcon = _ref26 => {
928
936
  var {
929
- size = 24,
937
+ widthHeight = 24,
930
938
  color = 'currentColor',
931
939
  filled = true,
932
940
  strokeWidth = 1
933
941
  } = _ref26,
934
942
  props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
935
943
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
936
- size: size,
944
+ widthHeight: widthHeight,
937
945
  color: color
938
946
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
939
947
  viewBox: "0 0 24 24",
@@ -945,14 +953,14 @@ var CloudIcon = _ref26 => {
945
953
  };
946
954
  var CopyIcon = _ref27 => {
947
955
  var {
948
- size = 24,
956
+ widthHeight = 24,
949
957
  color = 'currentColor',
950
958
  filled = false,
951
959
  strokeWidth = 1
952
960
  } = _ref27,
953
961
  props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
954
962
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
955
- size: size,
963
+ widthHeight: widthHeight,
956
964
  color: color
957
965
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
958
966
  viewBox: "0 0 24 24",
@@ -971,14 +979,14 @@ var CopyIcon = _ref27 => {
971
979
  };
972
980
  var DustBinIcon = _ref28 => {
973
981
  var {
974
- size = 24,
982
+ widthHeight = 24,
975
983
  color = 'currentColor',
976
984
  filled = false,
977
985
  strokeWidth = 1
978
986
  } = _ref28,
979
987
  props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
980
988
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
981
- size: size,
989
+ widthHeight: widthHeight,
982
990
  color: color
983
991
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
984
992
  viewBox: "0 0 24 24",
@@ -990,14 +998,14 @@ var DustBinIcon = _ref28 => {
990
998
  };
991
999
  var EditIcon = _ref29 => {
992
1000
  var {
993
- size = 24,
1001
+ widthHeight = 24,
994
1002
  color = 'currentColor',
995
1003
  filled = false,
996
1004
  strokeWidth = 1
997
1005
  } = _ref29,
998
1006
  props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
999
1007
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1000
- size: size,
1008
+ widthHeight: widthHeight,
1001
1009
  color: color
1002
1010
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1003
1011
  viewBox: "0 0 24 24",
@@ -1009,14 +1017,14 @@ var EditIcon = _ref29 => {
1009
1017
  };
1010
1018
  var ErrorIcon = _ref30 => {
1011
1019
  var {
1012
- size = 24,
1020
+ widthHeight = 24,
1013
1021
  color = 'currentColor',
1014
1022
  strokeWidth = 1,
1015
1023
  filled = true
1016
1024
  } = _ref30,
1017
1025
  props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
1018
1026
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1019
- size: size,
1027
+ widthHeight: widthHeight,
1020
1028
  color: color
1021
1029
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1022
1030
  viewBox: "0 0 24 24",
@@ -1042,14 +1050,14 @@ var ErrorIcon = _ref30 => {
1042
1050
  };
1043
1051
  var DownloadIcon = _ref31 => {
1044
1052
  var {
1045
- size = 24,
1053
+ widthHeight = 24,
1046
1054
  color = 'currentColor',
1047
1055
  filled = true,
1048
1056
  strokeWidth = 1
1049
1057
  } = _ref31,
1050
1058
  props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
1051
1059
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1052
- size: size,
1060
+ widthHeight: widthHeight,
1053
1061
  color: color
1054
1062
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1055
1063
  viewBox: "0 0 24 24",
@@ -1061,14 +1069,14 @@ var DownloadIcon = _ref31 => {
1061
1069
  };
1062
1070
  var MenuIcon = _ref32 => {
1063
1071
  var {
1064
- size = 24,
1072
+ widthHeight = 24,
1065
1073
  color = 'currentColor',
1066
1074
  strokeWidth = 1,
1067
1075
  filled = false
1068
1076
  } = _ref32,
1069
1077
  props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
1070
1078
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1071
- size: size,
1079
+ widthHeight: widthHeight,
1072
1080
  color: color
1073
1081
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1074
1082
  viewBox: "0 0 24 24",
@@ -1096,14 +1104,14 @@ var MenuIcon = _ref32 => {
1096
1104
  };
1097
1105
  var ShareIcon = _ref33 => {
1098
1106
  var {
1099
- size = 24,
1107
+ widthHeight = 24,
1100
1108
  color = 'currentColor',
1101
1109
  filled = false,
1102
1110
  strokeWidth = 1
1103
1111
  } = _ref33,
1104
1112
  props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
1105
1113
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1106
- size: size,
1114
+ widthHeight: widthHeight,
1107
1115
  color: color
1108
1116
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1109
1117
  viewBox: "0 0 24 24",
@@ -1137,14 +1145,14 @@ var ShareIcon = _ref33 => {
1137
1145
  };
1138
1146
  var RefreshIcon = _ref34 => {
1139
1147
  var {
1140
- size = 24,
1148
+ widthHeight = 24,
1141
1149
  color = 'currentColor',
1142
1150
  strokeWidth = 1,
1143
1151
  filled = false
1144
1152
  } = _ref34,
1145
1153
  props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
1146
1154
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1147
- size: size,
1155
+ widthHeight: widthHeight,
1148
1156
  color: color
1149
1157
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1150
1158
  viewBox: "0 0 24 24",
@@ -1158,14 +1166,14 @@ var RefreshIcon = _ref34 => {
1158
1166
  };
1159
1167
  var PrintIcon = _ref35 => {
1160
1168
  var {
1161
- size = 24,
1169
+ widthHeight = 24,
1162
1170
  color = 'currentColor',
1163
1171
  filled = true,
1164
1172
  strokeWidth = 1
1165
1173
  } = _ref35,
1166
1174
  props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
1167
1175
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1168
- size: size,
1176
+ widthHeight: widthHeight,
1169
1177
  color: color
1170
1178
  }, props), /*#__PURE__*/React__default.createElement("svg", {
1171
1179
  viewBox: "0 0 24 24",
@@ -1178,14 +1186,14 @@ var PrintIcon = _ref35 => {
1178
1186
  };
1179
1187
  var PanelIcon = _ref36 => {
1180
1188
  var {
1181
- size = 24,
1189
+ widthHeight = 24,
1182
1190
  color = 'currentColor',
1183
1191
  strokeWidth = 1,
1184
1192
  filled = false
1185
1193
  } = _ref36,
1186
1194
  props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
1187
1195
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1188
- size: size,
1196
+ widthHeight: widthHeight,
1189
1197
  color: color
1190
1198
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1191
1199
  viewBox: "0 0 24 24",
@@ -1249,14 +1257,14 @@ var PanelIcon = _ref36 => {
1249
1257
  };
1250
1258
  var FilterIcon = _ref37 => {
1251
1259
  var {
1252
- size = 24,
1260
+ widthHeight = 24,
1253
1261
  color = 'currentColor',
1254
1262
  filled = false,
1255
1263
  strokeWidth = 1
1256
1264
  } = _ref37,
1257
1265
  props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
1258
1266
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1259
- size: size,
1267
+ widthHeight: widthHeight,
1260
1268
  color: color
1261
1269
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1262
1270
  viewBox: "0 0 24 24",
@@ -1268,14 +1276,14 @@ var FilterIcon = _ref37 => {
1268
1276
  };
1269
1277
  var HomeIcon = _ref38 => {
1270
1278
  var {
1271
- size = 24,
1279
+ widthHeight = 24,
1272
1280
  color = 'currentColor',
1273
1281
  filled = true,
1274
1282
  strokeWidth = 1
1275
1283
  } = _ref38,
1276
1284
  props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
1277
1285
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1278
- size: size,
1286
+ widthHeight: widthHeight,
1279
1287
  color: color
1280
1288
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1281
1289
  viewBox: "0 0 24 24",
@@ -1287,14 +1295,14 @@ var HomeIcon = _ref38 => {
1287
1295
  };
1288
1296
  var LocationIcon = _ref39 => {
1289
1297
  var {
1290
- size = 24,
1298
+ widthHeight = 24,
1291
1299
  color = 'currentColor',
1292
1300
  filled = true,
1293
1301
  strokeWidth = 1
1294
1302
  } = _ref39,
1295
1303
  props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
1296
1304
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1297
- size: size,
1305
+ widthHeight: widthHeight,
1298
1306
  color: color
1299
1307
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1300
1308
  viewBox: "0 0 24 24",
@@ -1306,14 +1314,14 @@ var LocationIcon = _ref39 => {
1306
1314
  };
1307
1315
  var LockIcon = _ref40 => {
1308
1316
  var {
1309
- size = 24,
1317
+ widthHeight = 24,
1310
1318
  color = 'currentColor',
1311
1319
  filled = false,
1312
1320
  strokeWidth = 1
1313
1321
  } = _ref40,
1314
1322
  props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
1315
1323
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1316
- size: size,
1324
+ widthHeight: widthHeight,
1317
1325
  color: color
1318
1326
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1319
1327
  viewBox: "0 0 24 24",
@@ -1332,14 +1340,14 @@ var LockIcon = _ref40 => {
1332
1340
  };
1333
1341
  var MicrophoneIcon = _ref41 => {
1334
1342
  var {
1335
- size = 24,
1343
+ widthHeight = 24,
1336
1344
  color = 'currentColor',
1337
1345
  filled = false,
1338
1346
  strokeWidth = 1
1339
1347
  } = _ref41,
1340
1348
  props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
1341
1349
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1342
- size: size,
1350
+ widthHeight: widthHeight,
1343
1351
  color: color
1344
1352
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1345
1353
  viewBox: "0 0 24 24",
@@ -1365,14 +1373,14 @@ var MicrophoneIcon = _ref41 => {
1365
1373
  };
1366
1374
  var MoonIcon = _ref42 => {
1367
1375
  var {
1368
- size = 24,
1376
+ widthHeight = 24,
1369
1377
  color = 'currentColor',
1370
1378
  filled = true,
1371
1379
  strokeWidth = 1
1372
1380
  } = _ref42,
1373
1381
  props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
1374
1382
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1375
- size: size,
1383
+ widthHeight: widthHeight,
1376
1384
  color: color
1377
1385
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1378
1386
  viewBox: "0 0 24 24",
@@ -1384,14 +1392,14 @@ var MoonIcon = _ref42 => {
1384
1392
  };
1385
1393
  var NotificationIcon = _ref43 => {
1386
1394
  var {
1387
- size = 24,
1395
+ widthHeight = 24,
1388
1396
  color = 'currentColor',
1389
1397
  filled = false,
1390
1398
  strokeWidth = 1
1391
1399
  } = _ref43,
1392
1400
  props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
1393
1401
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1394
- size: size,
1402
+ widthHeight: widthHeight,
1395
1403
  color: color
1396
1404
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1397
1405
  viewBox: "0 0 24 24",
@@ -1405,14 +1413,14 @@ var NotificationIcon = _ref43 => {
1405
1413
  };
1406
1414
  var OpenEyeIcon = _ref44 => {
1407
1415
  var {
1408
- size = 24,
1416
+ widthHeight = 24,
1409
1417
  color = 'currentColor',
1410
1418
  filled = true,
1411
1419
  strokeWidth = 1
1412
1420
  } = _ref44,
1413
1421
  props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
1414
1422
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1415
- size: size,
1423
+ widthHeight: widthHeight,
1416
1424
  color: color
1417
1425
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1418
1426
  viewBox: "0 0 24 24",
@@ -1424,14 +1432,14 @@ var OpenEyeIcon = _ref44 => {
1424
1432
  };
1425
1433
  var ProfileIcon = _ref45 => {
1426
1434
  var {
1427
- size = 24,
1435
+ widthHeight = 24,
1428
1436
  color = 'currentColor',
1429
1437
  filled = true,
1430
1438
  strokeWidth = 1
1431
1439
  } = _ref45,
1432
1440
  props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
1433
1441
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1434
- size: size,
1442
+ widthHeight: widthHeight,
1435
1443
  color: color
1436
1444
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1437
1445
  viewBox: "0 0 24 24",
@@ -1444,14 +1452,14 @@ var ProfileIcon = _ref45 => {
1444
1452
  };
1445
1453
  var SettingsIcon = _ref46 => {
1446
1454
  var {
1447
- size = 24,
1455
+ widthHeight = 24,
1448
1456
  color = 'currentColor',
1449
1457
  filled = false,
1450
1458
  strokeWidth = 1
1451
1459
  } = _ref46,
1452
1460
  props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
1453
1461
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1454
- size: size,
1462
+ widthHeight: widthHeight,
1455
1463
  color: color
1456
1464
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1457
1465
  viewBox: "0 0 24 24",
@@ -1463,14 +1471,14 @@ var SettingsIcon = _ref46 => {
1463
1471
  };
1464
1472
  var SuccessIcon = _ref47 => {
1465
1473
  var {
1466
- size = 24,
1474
+ widthHeight = 24,
1467
1475
  color = 'currentColor',
1468
1476
  filled = true,
1469
1477
  strokeWidth = 1
1470
1478
  } = _ref47,
1471
1479
  props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
1472
1480
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1473
- size: size,
1481
+ widthHeight: widthHeight,
1474
1482
  color: color
1475
1483
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1476
1484
  viewBox: "0 0 24 24",
@@ -1482,14 +1490,14 @@ var SuccessIcon = _ref47 => {
1482
1490
  };
1483
1491
  var UnLikeIcon = _ref48 => {
1484
1492
  var {
1485
- size = 24,
1493
+ widthHeight = 24,
1486
1494
  color = 'currentColor',
1487
1495
  filled = true,
1488
1496
  strokeWidth = 1
1489
1497
  } = _ref48,
1490
1498
  props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
1491
1499
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1492
- size: size,
1500
+ widthHeight: widthHeight,
1493
1501
  color: color
1494
1502
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1495
1503
  viewBox: "0 0 24 24",
@@ -1501,14 +1509,14 @@ var UnLikeIcon = _ref48 => {
1501
1509
  };
1502
1510
  var ClockIcon = _ref49 => {
1503
1511
  var {
1504
- size = 24,
1512
+ widthHeight = 24,
1505
1513
  color = 'currentColor',
1506
1514
  strokeWidth = 1,
1507
1515
  filled = false
1508
1516
  } = _ref49,
1509
1517
  props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
1510
1518
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1511
- size: size,
1519
+ widthHeight: widthHeight,
1512
1520
  color: color
1513
1521
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1514
1522
  viewBox: "0 0 24 24",
@@ -1524,14 +1532,14 @@ var ClockIcon = _ref49 => {
1524
1532
  };
1525
1533
  var CameraIcon = _ref50 => {
1526
1534
  var {
1527
- size = 24,
1535
+ widthHeight = 24,
1528
1536
  color = 'currentColor',
1529
1537
  strokeWidth = 1,
1530
1538
  filled = false
1531
1539
  } = _ref50,
1532
1540
  props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
1533
1541
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1534
- size: size,
1542
+ widthHeight: widthHeight,
1535
1543
  color: color
1536
1544
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1537
1545
  viewBox: "0 0 24 24",
@@ -1547,14 +1555,14 @@ var CameraIcon = _ref50 => {
1547
1555
  };
1548
1556
  var BluetoothIcon = _ref51 => {
1549
1557
  var {
1550
- size = 24,
1558
+ widthHeight = 24,
1551
1559
  color = 'currentColor',
1552
1560
  filled = true,
1553
1561
  strokeWidth = 1
1554
1562
  } = _ref51,
1555
1563
  props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
1556
1564
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1557
- size: size,
1565
+ widthHeight: widthHeight,
1558
1566
  color: color
1559
1567
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1560
1568
  viewBox: "0 0 24 24",
@@ -1566,14 +1574,14 @@ var BluetoothIcon = _ref51 => {
1566
1574
  };
1567
1575
  var LikeIcon = _ref52 => {
1568
1576
  var {
1569
- size = 24,
1577
+ widthHeight = 24,
1570
1578
  color = 'currentColor',
1571
1579
  filled = true,
1572
1580
  strokeWidth = 1
1573
1581
  } = _ref52,
1574
1582
  props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
1575
1583
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1576
- size: size,
1584
+ widthHeight: widthHeight,
1577
1585
  color: color
1578
1586
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1579
1587
  viewBox: "0 0 24 24",
@@ -1585,14 +1593,14 @@ var LikeIcon = _ref52 => {
1585
1593
  };
1586
1594
  var UnlockIcon = _ref53 => {
1587
1595
  var {
1588
- size = 24,
1596
+ widthHeight = 24,
1589
1597
  color = 'currentColor',
1590
1598
  filled = false,
1591
1599
  strokeWidth = 1
1592
1600
  } = _ref53,
1593
1601
  props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
1594
1602
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1595
- size: size,
1603
+ widthHeight: widthHeight,
1596
1604
  color: color
1597
1605
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1598
1606
  viewBox: "0 0 24 24",
@@ -1611,14 +1619,14 @@ var UnlockIcon = _ref53 => {
1611
1619
  };
1612
1620
  var WifiIcon = _ref54 => {
1613
1621
  var {
1614
- size = 24,
1622
+ widthHeight = 24,
1615
1623
  color = 'currentColor',
1616
1624
  filled = false,
1617
1625
  strokeWidth = 1
1618
1626
  } = _ref54,
1619
1627
  props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
1620
1628
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1621
- size: size,
1629
+ widthHeight: widthHeight,
1622
1630
  color: color
1623
1631
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1624
1632
  viewBox: "0 0 24 24",
@@ -1630,14 +1638,14 @@ var WifiIcon = _ref54 => {
1630
1638
  };
1631
1639
  var UploadIcon = _ref55 => {
1632
1640
  var {
1633
- size = 24,
1641
+ widthHeight = 24,
1634
1642
  color = 'currentColor',
1635
1643
  filled = false,
1636
1644
  strokeWidth = 1
1637
1645
  } = _ref55,
1638
1646
  props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
1639
1647
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1640
- size: size,
1648
+ widthHeight: widthHeight,
1641
1649
  color: color
1642
1650
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1643
1651
  viewBox: "0 0 24 24",
@@ -1653,14 +1661,14 @@ var UploadIcon = _ref55 => {
1653
1661
  };
1654
1662
  var SearchIcon = _ref56 => {
1655
1663
  var {
1656
- size = 24,
1664
+ widthHeight = 24,
1657
1665
  color = 'currentColor',
1658
1666
  filled = true,
1659
1667
  strokeWidth = 1
1660
1668
  } = _ref56,
1661
1669
  props = _objectWithoutPropertiesLoose(_ref56, _excluded56);
1662
1670
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1663
- size: size,
1671
+ widthHeight: widthHeight,
1664
1672
  color: color
1665
1673
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1666
1674
  viewBox: "0 0 24 24",
@@ -1672,14 +1680,14 @@ var SearchIcon = _ref56 => {
1672
1680
  };
1673
1681
  var CloseEyeIcon = _ref57 => {
1674
1682
  var {
1675
- size = 24,
1683
+ widthHeight = 24,
1676
1684
  color = 'currentColor',
1677
1685
  filled = true,
1678
1686
  strokeWidth = 1
1679
1687
  } = _ref57,
1680
1688
  props = _objectWithoutPropertiesLoose(_ref57, _excluded57);
1681
1689
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1682
- size: size,
1690
+ widthHeight: widthHeight,
1683
1691
  color: color
1684
1692
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1685
1693
  viewBox: "0 0 24 24",
@@ -1692,14 +1700,14 @@ var CloseEyeIcon = _ref57 => {
1692
1700
  };
1693
1701
  var ExternalLinkIcon = _ref58 => {
1694
1702
  var {
1695
- size = 24,
1703
+ widthHeight = 24,
1696
1704
  color = 'currentColor',
1697
1705
  filled = true,
1698
1706
  strokeWidth = 1
1699
1707
  } = _ref58,
1700
1708
  props = _objectWithoutPropertiesLoose(_ref58, _excluded58);
1701
1709
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1702
- size: size,
1710
+ widthHeight: widthHeight,
1703
1711
  color: color
1704
1712
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1705
1713
  viewBox: "0 0 24 24",
@@ -1711,14 +1719,14 @@ var ExternalLinkIcon = _ref58 => {
1711
1719
  };
1712
1720
  var PlusIcon = _ref59 => {
1713
1721
  var {
1714
- size = 24,
1722
+ widthHeight = 24,
1715
1723
  color = 'currentColor',
1716
1724
  filled = false,
1717
1725
  strokeWidth = 1
1718
1726
  } = _ref59,
1719
1727
  props = _objectWithoutPropertiesLoose(_ref59, _excluded59);
1720
1728
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1721
- size: size,
1729
+ widthHeight: widthHeight,
1722
1730
  color: color
1723
1731
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1724
1732
  viewBox: "0 0 24 24",
@@ -1740,14 +1748,14 @@ var PlusIcon = _ref59 => {
1740
1748
  };
1741
1749
  var TickIcon = _ref60 => {
1742
1750
  var {
1743
- size = 24,
1751
+ widthHeight = 24,
1744
1752
  color = 'currentColor',
1745
1753
  filled = false,
1746
1754
  strokeWidth = 1
1747
1755
  } = _ref60,
1748
1756
  props = _objectWithoutPropertiesLoose(_ref60, _excluded60);
1749
1757
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1750
- size: size,
1758
+ widthHeight: widthHeight,
1751
1759
  color: color
1752
1760
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1753
1761
  viewBox: "0 0 24 24",
@@ -1761,14 +1769,14 @@ var TickIcon = _ref60 => {
1761
1769
  };
1762
1770
  var BoldArrowIcon = _ref61 => {
1763
1771
  var {
1764
- size = 24,
1772
+ widthHeight = 24,
1765
1773
  color = 'currentColor',
1766
1774
  filled = true,
1767
1775
  strokeWidth = 1
1768
1776
  } = _ref61,
1769
1777
  props = _objectWithoutPropertiesLoose(_ref61, _excluded61);
1770
1778
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1771
- size: size,
1779
+ widthHeight: widthHeight,
1772
1780
  color: color
1773
1781
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1774
1782
  viewBox: "0 0 24 24",
@@ -1780,14 +1788,14 @@ var BoldArrowIcon = _ref61 => {
1780
1788
  };
1781
1789
  var ArrowIcon = _ref62 => {
1782
1790
  var {
1783
- size = 24,
1791
+ widthHeight = 24,
1784
1792
  color = 'currentColor',
1785
1793
  filled = false,
1786
1794
  strokeWidth = 1
1787
1795
  } = _ref62,
1788
1796
  props = _objectWithoutPropertiesLoose(_ref62, _excluded62);
1789
1797
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1790
- size: size,
1798
+ widthHeight: widthHeight,
1791
1799
  color: color
1792
1800
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1793
1801
  viewBox: "0 0 24 24",
@@ -1805,14 +1813,14 @@ var ArrowIcon = _ref62 => {
1805
1813
  };
1806
1814
  var SpinnerIcon = _ref63 => {
1807
1815
  var {
1808
- size = 24,
1816
+ widthHeight = 24,
1809
1817
  color = 'currentColor',
1810
1818
  filled = false,
1811
1819
  strokeWidth = 1
1812
1820
  } = _ref63,
1813
1821
  props = _objectWithoutPropertiesLoose(_ref63, _excluded63);
1814
1822
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1815
- size: size,
1823
+ widthHeight: widthHeight,
1816
1824
  color: color
1817
1825
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1818
1826
  viewBox: "0 0 24 24",
@@ -1830,14 +1838,14 @@ var SpinnerIcon = _ref63 => {
1830
1838
  };
1831
1839
  var CalendarIcon = _ref64 => {
1832
1840
  var {
1833
- size = 24,
1841
+ widthHeight = 24,
1834
1842
  color = 'currentColor',
1835
1843
  strokeWidth = 1,
1836
1844
  filled = false
1837
1845
  } = _ref64,
1838
1846
  props = _objectWithoutPropertiesLoose(_ref64, _excluded64);
1839
1847
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1840
- size: size,
1848
+ widthHeight: widthHeight,
1841
1849
  color: color
1842
1850
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1843
1851
  viewBox: "0 0 24 24",
@@ -1938,7 +1946,7 @@ var Icon = {
1938
1946
  CalendarIcon: CalendarIcon
1939
1947
  };
1940
1948
 
1941
- // Define a constant object 'Themes' exporting various theme styles.
1949
+ // Define a constant object 'Themes' exporting various theme views.
1942
1950
  var Themes = {
1943
1951
  // Start of the 'default' theme definition with style properties.
1944
1952
  default: {
@@ -1951,7 +1959,7 @@ var Themes = {
1951
1959
  color: 'color.blackAlpha.800'
1952
1960
  }
1953
1961
  },
1954
- // The 'info' theme with unique container and content styles.
1962
+ // The 'info' theme with unique container and content views.
1955
1963
  info: {
1956
1964
  container: {
1957
1965
  backgroundColor: 'color.blue.200',
@@ -1962,7 +1970,7 @@ var Themes = {
1962
1970
  color: '#60a5fa'
1963
1971
  }
1964
1972
  },
1965
- // Specifies the 'success' theme with corresponding container and content styles.
1973
+ // Specifies the 'success' theme with corresponding container and content views.
1966
1974
  success: {
1967
1975
  container: {
1968
1976
  backgroundColor: 'color.green.200',
@@ -1973,7 +1981,7 @@ var Themes = {
1973
1981
  color: '#22c55e'
1974
1982
  }
1975
1983
  },
1976
- // Start of the 'error' theme with its characteristic styles.
1984
+ // Start of the 'error' theme with its characteristic views.
1977
1985
  error: {
1978
1986
  container: {
1979
1987
  backgroundColor: 'color.red.200',
@@ -1984,7 +1992,7 @@ var Themes = {
1984
1992
  color: '#ef4444'
1985
1993
  }
1986
1994
  },
1987
- // Introduction of the 'warning' theme styles.
1995
+ // Introduction of the 'warning' theme views.
1988
1996
  warning: {
1989
1997
  container: {
1990
1998
  backgroundColor: 'color.orange.200',
@@ -1999,11 +2007,11 @@ var Themes = {
1999
2007
 
2000
2008
  // Defines AlertView as a functional component using destructuring to extract props.
2001
2009
  var AlertView = _ref => {
2002
- var _styles$icon$color;
2010
+ var _views$icon$color, _views$icon;
2003
2011
  var {
2004
2012
  icon,
2005
2013
  title,
2006
- styles,
2014
+ views,
2007
2015
  description,
2008
2016
  // Sets a default variant prop to 'default' if none is provided.
2009
2017
  variant = 'default'
@@ -2015,20 +2023,20 @@ var AlertView = _ref => {
2015
2023
  borderStyle: "solid",
2016
2024
  padding: 16,
2017
2025
  flexWrap: "nowrap"
2018
- }, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(View, {
2026
+ }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(View, {
2019
2027
  alignSelf: 'center'
2020
2028
  }, icon ? icon : (/*#__PURE__*/React__default.createElement(WarningIcon, {
2021
- size: 24,
2022
- color: (_styles$icon$color = styles == null ? void 0 : styles.icon.color) != null ? _styles$icon$color : Themes[variant].content.color
2029
+ widthHeight: 24,
2030
+ color: (_views$icon$color = views == null || (_views$icon = views.icon) == null ? void 0 : _views$icon.color) != null ? _views$icon$color : Themes[variant].content.color
2023
2031
  }))), /*#__PURE__*/React__default.createElement(Vertical, {
2024
2032
  gap: 10
2025
2033
  }, /*#__PURE__*/React__default.createElement(Text, Object.assign({
2026
2034
  fontSize: "16px",
2027
2035
  color: Themes[variant].content.color
2028
- }, styles == null ? void 0 : styles.title), title), /*#__PURE__*/React__default.createElement(Text, Object.assign({
2036
+ }, views == null ? void 0 : views.title), title), /*#__PURE__*/React__default.createElement(Text, Object.assign({
2029
2037
  fontSize: "14px",
2030
2038
  color: Themes[variant].content.color
2031
- }, styles == null ? void 0 : styles.description), description)));
2039
+ }, views == null ? void 0 : views.description), description)));
2032
2040
  };
2033
2041
 
2034
2042
  // Definition of the AlertComponent functional component with destructured props.
@@ -2036,14 +2044,14 @@ var AlertComponent = _ref => {
2036
2044
  var {
2037
2045
  icon,
2038
2046
  title,
2039
- styles,
2047
+ views,
2040
2048
  description,
2041
2049
  variant
2042
2050
  } = _ref;
2043
2051
  return /*#__PURE__*/React__default.createElement(AlertView, {
2044
2052
  icon: icon,
2045
2053
  title: title,
2046
- styles: styles,
2054
+ views: views,
2047
2055
  description: description,
2048
2056
  variant: variant
2049
2057
  });
@@ -2051,14 +2059,15 @@ var AlertComponent = _ref => {
2051
2059
  // Exporting the AlertComponent as 'Alert' for use in other parts of the application.
2052
2060
  var Alert = AlertComponent;
2053
2061
 
2054
- var _excluded$5 = ["ratio", "children"];
2062
+ var _excluded$5 = ["ratio", "children", "views"];
2055
2063
  // Declaration of a functional component named AspectRatioView.
2056
2064
  var AspectRatioView = _ref => {
2057
2065
  var {
2058
2066
  // Set a default aspect ratio of 16:9 if no ratio is provided as a prop.
2059
2067
  ratio = 16 / 9,
2060
2068
  // children prop used to render enclosed components.
2061
- children
2069
+ children,
2070
+ views
2062
2071
  // Spread the rest of the props to inherit additional properties.
2063
2072
  } = _ref,
2064
2073
  props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
@@ -2068,13 +2077,13 @@ var AspectRatioView = _ref => {
2068
2077
  overflow: "hidden",
2069
2078
  paddingTop: 1 / ratio * 100 + "%",
2070
2079
  borderRadius: 8
2071
- }, props), /*#__PURE__*/React__default.createElement(View, {
2080
+ }, props, views == null ? void 0 : views.center), /*#__PURE__*/React__default.createElement(View, Object.assign({
2072
2081
  position: "absolute",
2073
2082
  top: 0,
2074
2083
  right: 0,
2075
2084
  bottom: 0,
2076
2085
  left: 0
2077
- }, children));
2086
+ }, views == null ? void 0 : views.view), children));
2078
2087
  };
2079
2088
 
2080
2089
  var _excluded$6 = ["ratio", "children"];
@@ -2117,7 +2126,7 @@ var AvatarView = _ref => {
2117
2126
  src,
2118
2127
  size = 'md',
2119
2128
  fallback = 'IM',
2120
- styles,
2129
+ views,
2121
2130
  imageError,
2122
2131
  setImageError,
2123
2132
  onClick = () => {}
@@ -2127,7 +2136,7 @@ var AvatarView = _ref => {
2127
2136
  // Initiates a style object for the image with an objectFit property and spreads additional image styles if provided.
2128
2137
  var imageStyle = Object.assign({
2129
2138
  objectFit: 'cover'
2130
- }, (styles == null ? void 0 : styles.image) || {});
2139
+ }, (views == null ? void 0 : views.image) || {});
2131
2140
  // Start of the JSX returned by the AvatarView component, which uses the Center component as its root element.
2132
2141
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
2133
2142
  role: "avatar",
@@ -2140,7 +2149,7 @@ var AvatarView = _ref => {
2140
2149
  borderColor: imageError ? 'black' : 'transparent',
2141
2150
  boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.25)",
2142
2151
  onClick: onClick
2143
- }, styles == null ? void 0 : styles.container), !imageError ? (/*#__PURE__*/React__default.createElement(appStudio.Image, {
2152
+ }, views == null ? void 0 : views.container), !imageError ? (/*#__PURE__*/React__default.createElement(appStudio.Image, {
2144
2153
  alt: "IM",
2145
2154
  src: src,
2146
2155
  style: imageStyle,
@@ -2149,7 +2158,7 @@ var AvatarView = _ref => {
2149
2158
  onError: () => setImageError(true)
2150
2159
  })) : (/*#__PURE__*/React__default.createElement(Text, Object.assign({
2151
2160
  size: size
2152
- }, styles == null ? void 0 : styles.fallback), fallback)));
2161
+ }, views == null ? void 0 : views.fallback), fallback)));
2153
2162
  };
2154
2163
 
2155
2164
  // Defines the AvatarComponent functional component with destructured props from AvatarProps type.
@@ -2157,7 +2166,7 @@ var AvatarComponent = _ref => {
2157
2166
  var {
2158
2167
  src,
2159
2168
  size,
2160
- styles,
2169
+ views,
2161
2170
  fallback,
2162
2171
  onClick
2163
2172
  } = _ref;
@@ -2170,7 +2179,7 @@ var AvatarComponent = _ref => {
2170
2179
  return /*#__PURE__*/React__default.createElement(AvatarView, {
2171
2180
  src: src,
2172
2181
  size: size,
2173
- styles: styles,
2182
+ views: views,
2174
2183
  fallback: fallback,
2175
2184
  imageError: imageError,
2176
2185
  setImageError: setImageError,
@@ -2241,17 +2250,16 @@ var BadgeView = _ref => {
2241
2250
  var {
2242
2251
  // Declaring the functional component BadgeView with BadgeProps as its type for props.
2243
2252
  content,
2244
- // Destructuring props with default values for shape, colorScheme, variant, size, and styles.
2253
+ // Destructuring props with default values for shape, variant, size, and views.
2245
2254
  position,
2246
2255
  shape = 'pillShaped',
2247
- colorScheme = 'theme.primary',
2248
2256
  variant = 'filled',
2249
2257
  size = 'md',
2250
- styles
2258
+ views
2251
2259
  } = _ref;
2252
2260
  var BadgeVariants = {
2253
2261
  filled: {
2254
- backgroundColor: colorScheme,
2262
+ backgroundColor: 'theme.primary',
2255
2263
  color: 'color.white',
2256
2264
  borderWidth: 1,
2257
2265
  borderStyle: 'solid',
@@ -2262,23 +2270,23 @@ var BadgeView = _ref => {
2262
2270
  backgroundColor: 'transparent',
2263
2271
  borderWidth: 1,
2264
2272
  borderStyle: 'solid',
2265
- borderColor: colorScheme,
2266
- color: colorScheme
2273
+ borderColor: 'theme.primary',
2274
+ color: 'theme.primary'
2267
2275
  },
2268
2276
  link: {
2269
2277
  backgroundColor: 'transparent',
2270
2278
  // Rendering the Badge component using the Center layout component with combinedStyles applied.
2271
2279
  borderWidth: 1,
2272
- // Inserting a Text component into the badge to display the content, with dynamic size and additional text styles.
2280
+ // Inserting a Text component into the badge to display the content, with dynamic size and additional text views.
2273
2281
  borderStyle: 'solid',
2274
2282
  borderColor: 'transparent',
2275
- color: colorScheme,
2283
+ color: 'theme.primary',
2276
2284
  // Exporting BadgeView to be used in other parts of the application.
2277
2285
  textDecoration: 'underline'
2278
2286
  },
2279
2287
  ghost: {
2280
2288
  backgroundColor: 'transparent',
2281
- color: colorScheme,
2289
+ color: 'color.trueGray.400',
2282
2290
  borderWidth: 1,
2283
2291
  borderStyle: 'solid',
2284
2292
  borderColor: 'transparent'
@@ -2287,13 +2295,13 @@ var BadgeView = _ref => {
2287
2295
  var combinedStyles = Object.assign({
2288
2296
  width: 'fit-content',
2289
2297
  borderRadius: BadgeShapes[shape]
2290
- }, BadgeSizes[size], BadgeVariants[variant], position ? PositionStyles[position] : {}, styles == null ? void 0 : styles.container);
2298
+ }, BadgeSizes[size], BadgeVariants[variant], position ? PositionStyles[position] : {}, views == null ? void 0 : views.container);
2291
2299
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
2292
2300
  role: "badge"
2293
2301
  }, combinedStyles), /*#__PURE__*/React__default.createElement(Text, Object.assign({
2294
2302
  role: "badgeText",
2295
2303
  size: size
2296
- }, styles == null ? void 0 : styles.text), content));
2304
+ }, views == null ? void 0 : views.text), content));
2297
2305
  };
2298
2306
 
2299
2307
  // Importing type definitions for BadgeProps that will be used to type-check the Badge component's props.
@@ -2304,22 +2312,19 @@ var Badge = _ref => {
2304
2312
  // Exporting the Badge as a functional component from this module.
2305
2313
  shape,
2306
2314
  // Destructuring the props in the component function parameter list, to directly access individual properties.
2307
- colorScheme,
2308
- // The functional component Badge is implicitly returning the BadgeView component.
2309
2315
  position,
2310
2316
  // Passing all the destructured props to the BadgeView component to maintain the same API surface.
2311
2317
  variant,
2312
2318
  size,
2313
- styles
2319
+ views
2314
2320
  } = _ref;
2315
2321
  return /*#__PURE__*/React__default.createElement(BadgeView, {
2316
2322
  content: content,
2317
2323
  shape: shape,
2318
- colorScheme: colorScheme,
2319
2324
  position: position,
2320
2325
  variant: variant,
2321
2326
  size: size,
2322
- styles: styles
2327
+ views: views
2323
2328
  });
2324
2329
  };
2325
2330
 
@@ -2358,7 +2363,7 @@ var IconSizes = {
2358
2363
  '6xl': 64
2359
2364
  };
2360
2365
 
2361
- var _excluded$7 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
2366
+ var _excluded$7 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "views", "setIsHovered"];
2362
2367
  // Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
2363
2368
  var LinkView = _ref => {
2364
2369
  var {
@@ -2374,7 +2379,7 @@ var LinkView = _ref => {
2374
2379
  // Boolean indicating if the link leads to an external resource.
2375
2380
  isExternal = false,
2376
2381
  // Custom styles for the icon and text, provided via a styles object.
2377
- styles = {
2382
+ views = {
2378
2383
  icon: {},
2379
2384
  text: {}
2380
2385
  },
@@ -2393,12 +2398,12 @@ var LinkView = _ref => {
2393
2398
  onMouseEnter: handleHover,
2394
2399
  onMouseLeave: handleHover,
2395
2400
  textDecoration: isHovered || underline === 'underline' ? 'underline !important' : 'none'
2396
- }, styles.text, props), /*#__PURE__*/React__default.createElement(Horizontal, {
2401
+ }, views.text, props), /*#__PURE__*/React__default.createElement(Horizontal, {
2397
2402
  gap: 3,
2398
2403
  alignItems: "center",
2399
2404
  flexWrap: "nowrap"
2400
2405
  }, children, isExternal && /*#__PURE__*/React__default.createElement(ExternalLinkIcon, {
2401
- size: IconSizes[iconSize]
2406
+ widthHeight: IconSizes[iconSize]
2402
2407
  }))));
2403
2408
  };
2404
2409
 
@@ -2541,7 +2546,7 @@ var DefaultSpeeds = {
2541
2546
  var _excluded$8 = ["size", "speed", "color", "themeMode"],
2542
2547
  _excluded2$1 = ["size", "speed", "color", "themeMode"],
2543
2548
  _excluded3$1 = ["size", "speed", "color", "themeMode"],
2544
- _excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
2549
+ _excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition", "views"];
2545
2550
  var DefaultSpinner = _ref => {
2546
2551
  var {
2547
2552
  size = 'md',
@@ -2682,7 +2687,8 @@ var LoaderView = _ref4 => {
2682
2687
  loaderColor,
2683
2688
  type = 'default',
2684
2689
  speed = 'normal',
2685
- textPosition = 'right'
2690
+ textPosition = 'right',
2691
+ views
2686
2692
  } = _ref4,
2687
2693
  props = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
2688
2694
  var style = {
@@ -2698,11 +2704,11 @@ var LoaderView = _ref4 => {
2698
2704
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
2699
2705
  gap: 10,
2700
2706
  flexDirection: textPosition === 'top' || textPosition === 'bottom' ? 'column' : 'row'
2701
- }, props), (textPosition === 'left' || textPosition === 'top') && children && (/*#__PURE__*/React__default.createElement(View, {
2707
+ }, props, views == null ? void 0 : views.container), (textPosition === 'left' || textPosition === 'top') && children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
2702
2708
  color: textColor
2703
- }, children)), variants[type], (textPosition === 'right' || textPosition === 'bottom') && children && (/*#__PURE__*/React__default.createElement(View, {
2709
+ }, views == null ? void 0 : views.text), children)), variants[type], (textPosition === 'right' || textPosition === 'bottom') && children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
2704
2710
  color: textColor
2705
- }, children)));
2711
+ }, views == null ? void 0 : views.text), children)));
2706
2712
  };
2707
2713
 
2708
2714
  // Defines a LoaderComponent as a functional component with props defined by LoaderProps and returns the LoaderView component, passing along any received props.
@@ -2713,7 +2719,7 @@ React__default.createElement(LoaderView, Object.assign({}, props)));
2713
2719
  // Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
2714
2720
  var Loader = LoaderComponent;
2715
2721
 
2716
- var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "to", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered", "isExternal", "themeMode", "containerProps", "linkProps"];
2722
+ var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "to", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered", "isExternal", "themeMode", "containerProps", "linkProps", "views"];
2717
2723
  var contrast = /*#__PURE__*/require('contrast');
2718
2724
  var ButtonView = _ref => {
2719
2725
  var _props$onClick;
@@ -2721,25 +2727,16 @@ var ButtonView = _ref => {
2721
2727
  icon,
2722
2728
  shadow,
2723
2729
  children,
2724
- // Defines the functional component ButtonView with its expected props detailed in ButtonProps.
2725
2730
  ariaLabel,
2726
- // Initializes default values for the ButtonProps object; useful for defining states like isAuto, isFilled, etc.
2727
2731
  to,
2728
2732
  isAuto = false,
2729
- // Determines if button should be active based on isDisabled and isLoading properties.
2730
2733
  isFilled = false,
2731
- // Prepares default properties for the native button element based on isActive state.
2732
2734
  isIconRounded = false,
2733
- // Sets button color; defaults to the theme's disabled color if button is not active.
2734
2735
  isLoading = false,
2735
- // Determines if the hover effect shall be applied based on isHovered and effect property.
2736
2736
  isDisabled = false,
2737
- // Determines if the reverse style shall be applied based on isHovered and effect property.
2738
2737
  size = 'md',
2739
2738
  variant = 'filled',
2740
2739
  iconPosition = 'left',
2741
- // Defines CSS properties for 'filled' variant of the button with conditional styles based on reverse state.
2742
- colorScheme = 'theme.primary',
2743
2740
  shape = 'rounded',
2744
2741
  onClick = () => {},
2745
2742
  loaderProps = {},
@@ -2749,9 +2746,8 @@ var ButtonView = _ref => {
2749
2746
  setIsHovered = () => {},
2750
2747
  isExternal = false,
2751
2748
  themeMode: elementMode,
2752
- containerProps,
2753
- linkProps
2754
- // Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
2749
+ linkProps,
2750
+ views
2755
2751
  } = _ref,
2756
2752
  props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2757
2753
  var {
@@ -2763,13 +2759,12 @@ var ButtonView = _ref => {
2763
2759
  var defaultNativeProps = {
2764
2760
  disabled: !isActive
2765
2761
  };
2766
- var buttonColor = isActive ? colorScheme : 'theme.disabled';
2762
+ var buttonColor = isActive ? 'theme.primary' : 'theme.disabled';
2767
2763
  var hovering = isHovered && effect === 'hover';
2768
2764
  var reverse = isHovered && effect === 'reverse';
2769
2765
  var isLight = contrast(getColor(buttonColor, elementMode ? elementMode : themeMode)) == 'light';
2770
2766
  var ButtonVariants = {
2771
2767
  filled: {
2772
- // Defines CSS properties for 'link' variant of the button with conditional styles based on reverse state, includes text decoration.
2773
2768
  backgroundColor: reverse ? 'transparent' : buttonColor,
2774
2769
  color: reverse ? isLight ? 'white' : buttonColor : isLight ? buttonColor : 'white',
2775
2770
  borderWidth: 1,
@@ -2778,42 +2773,36 @@ var ButtonView = _ref => {
2778
2773
  },
2779
2774
  outline: {
2780
2775
  backgroundColor: reverse ? buttonColor : 'transparent',
2781
- // Defines CSS properties for 'ghost' variant of the button with conditional styles based on reverse state.
2782
2776
  borderWidth: 1,
2783
2777
  borderStyle: 'solid',
2784
- borderColor: reverse ? buttonColor : colorScheme,
2785
- // Fetches size-specific styles from ButtonSizes based on the 'size' prop.
2778
+ borderColor: reverse ? buttonColor : 'theme.primary',
2786
2779
  color: reverse ? 'white' : buttonColor
2787
2780
  },
2788
- // Adjusts button width based on isAuto and isFilled properties, using buttonSizeStyles for fallback width.
2789
2781
  link: {
2790
2782
  backgroundColor: 'transparent',
2791
- // Changes padding for the button based on whether isIconRounded is true or false.
2792
2783
  borderWidth: 1,
2793
2784
  borderStyle: 'solid',
2794
- // Creates the content for the button including loaders and icons positioned based on their respective properties.
2795
2785
  borderColor: reverse ? buttonColor : 'transparent',
2796
2786
  color: buttonColor,
2797
2787
  textDecoration: reverse ? 'none' : 'underline'
2798
2788
  },
2799
2789
  ghost: {
2800
- backgroundColor: reverse ? buttonColor : 'transparent',
2790
+ backgroundColor: 'transparent',
2801
2791
  color: reverse ? 'white' : buttonColor,
2802
2792
  borderWidth: 1,
2803
2793
  borderStyle: 'solid',
2804
2794
  borderColor: reverse ? buttonColor : 'transparent'
2805
2795
  }
2806
2796
  };
2807
- // Executes rendering of the button or a link element based on the variant; applies conditional rendering for to in 'link' variant.
2808
2797
  var buttonSizeStyles = ButtonSizes[size];
2809
2798
  var buttonVariant = ButtonVariants[variant];
2810
2799
  var scaleWidth = {
2811
2800
  width: isAuto === true ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
2812
2801
  };
2813
2802
  var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
2814
- var content = /*#__PURE__*/React__default.createElement(Horizontal, {
2803
+ var content = /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
2815
2804
  gap: 10
2816
- }, isLoading && loaderPosition === 'left' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)), icon && iconPosition === 'left' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
2805
+ }, views == null ? void 0 : views.horizontal), isLoading && loaderPosition === 'left' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)), icon && iconPosition === 'left' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
2817
2806
  animate: appStudio.Animation.jackInTheBox({})
2818
2807
  } : {}), icon)), children, icon && iconPosition === 'right' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
2819
2808
  animate: appStudio.Animation.jackInTheBox({})
@@ -2837,12 +2826,11 @@ var ButtonView = _ref => {
2837
2826
  }, hovering && !props.isDisabled ? {
2838
2827
  transition: 'transform 0.3s ease',
2839
2828
  transform: 'translateY(-5px)'
2840
- } : {}, defaultNativeProps, buttonSizeStyles, buttonVariant, scaleWidth, props.padding || props.paddingHorizontal || props.paddingVertical || props.paddingLeft || props.paddingRight || props.paddingTop || props.paddingBottom ? {} : changePadding, shadow, props, containerProps), variant === 'link' && to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
2829
+ } : {}, defaultNativeProps, buttonSizeStyles, buttonVariant, scaleWidth, props.padding || props.paddingHorizontal || props.paddingVertical || props.paddingLeft || props.paddingRight || props.paddingTop || props.paddingBottom ? {} : changePadding, shadow, props, views == null ? void 0 : views.container), variant === 'link' && to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
2841
2830
  to: to,
2842
- textDecorationColor: colorScheme,
2843
- colorScheme: colorScheme,
2831
+ textDecorationColor: 'theme.primary',
2844
2832
  isExternal: isExternal
2845
- }, linkProps), content)) : content);
2833
+ }, linkProps, views == null ? void 0 : views.link), content)) : content);
2846
2834
  };
2847
2835
 
2848
2836
  // Importing a custom hook to manage the state specific to the button component.
@@ -2872,13 +2860,13 @@ var ButtonComponent = props => {
2872
2860
  };
2873
2861
  var Button = ButtonComponent;
2874
2862
 
2875
- var _excluded$a = ["src", "color", "themeMode"],
2863
+ var _excluded$a = ["src", "color", "views", "themeMode"],
2876
2864
  _excluded2$2 = ["path"];
2877
2865
  var FileSVG = _ref => {
2878
2866
  var {
2879
2867
  src,
2880
2868
  color,
2881
- themeMode: elementMode
2869
+ views
2882
2870
  } = _ref,
2883
2871
  props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2884
2872
  var {
@@ -2886,14 +2874,18 @@ var FileSVG = _ref => {
2886
2874
  themeMode
2887
2875
  } = appStudio.useTheme();
2888
2876
  var Colorprops = color ? {
2889
- fill: getColor(color, elementMode ? elementMode : themeMode),
2890
- stroke: getColor(color, elementMode ? elementMode : themeMode)
2877
+ fill: getColor(color, {
2878
+ themeMode
2879
+ }),
2880
+ stroke: getColor(color, {
2881
+ themeMode
2882
+ })
2891
2883
  } : {};
2892
- return /*#__PURE__*/React__default.createElement(Center, Object.assign({}, props), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({}, Colorprops, {
2884
+ return /*#__PURE__*/React__default.createElement(Center, Object.assign({}, props, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({}, Colorprops, {
2893
2885
  content: 'url("' + src + '")',
2894
2886
  width: "100%",
2895
2887
  height: "100%"
2896
- })));
2888
+ }, views == null ? void 0 : views.image)));
2897
2889
  };
2898
2890
  var FileImage = _ref2 => {
2899
2891
  var {
@@ -2950,11 +2942,11 @@ var useItemState = () => {
2950
2942
  };
2951
2943
  };
2952
2944
 
2953
- var _excluded$b = ["children", "styles"];
2945
+ var _excluded$b = ["children", "views"];
2954
2946
  var HelperText = _ref => {
2955
2947
  var {
2956
2948
  children,
2957
- styles = {
2949
+ views = {
2958
2950
  helperText: {}
2959
2951
  }
2960
2952
  } = _ref,
@@ -2964,22 +2956,22 @@ var HelperText = _ref => {
2964
2956
  marginVertical: 0,
2965
2957
  marginHorizontal: 0,
2966
2958
  color: 'theme.text.dark'
2967
- }, styles['helperText'], props), children);
2959
+ }, views['helperText'], props), children);
2968
2960
  };
2969
2961
 
2970
- var _excluded$c = ["children", "helperText", "error", "styles"];
2962
+ var _excluded$c = ["children", "helperText", "error", "views"];
2971
2963
  var FieldContainer = _ref => {
2972
2964
  var {
2973
2965
  children,
2974
2966
  helperText,
2975
2967
  error = false,
2976
- styles
2968
+ views
2977
2969
  } = _ref,
2978
2970
  props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
2979
2971
  return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
2980
2972
  gap: 5,
2981
2973
  position: "relative"
2982
- }, props), children, !error && helperText && /*#__PURE__*/React__default.createElement(HelperText, Object.assign({}, styles), helperText), error && (/*#__PURE__*/React__default.createElement(Text, {
2974
+ }, props), children, !error && helperText && /*#__PURE__*/React__default.createElement(HelperText, Object.assign({}, views), helperText), error && (/*#__PURE__*/React__default.createElement(Text, {
2983
2975
  size: "xs",
2984
2976
  marginVertical: 0,
2985
2977
  marginHorizontal: 0,
@@ -3034,7 +3026,7 @@ var PaddingWithoutLabel = {
3034
3026
  paddingRight: 16
3035
3027
  };
3036
3028
 
3037
- var _excluded$d = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
3029
+ var _excluded$d = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "views"];
3038
3030
  var FieldContent = _ref => {
3039
3031
  var {
3040
3032
  shadow,
@@ -3048,14 +3040,13 @@ var FieldContent = _ref => {
3048
3040
  isHovered = false,
3049
3041
  isDisabled = false,
3050
3042
  isReadOnly = false,
3051
- colorScheme = 'theme.primary',
3052
- styles = {
3043
+ views = {
3053
3044
  pickerBox: {}
3054
3045
  }
3055
3046
  } = _ref,
3056
3047
  props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
3057
3048
  var isInteractive = (isHovered || isFocused) && !isDisabled;
3058
- var color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
3049
+ var color = error ? 'error' : isInteractive ? 'theme.primary' : 'midgray';
3059
3050
  return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
3060
3051
  gap: 10,
3061
3052
  width: "100%",
@@ -3071,7 +3062,7 @@ var FieldContent = _ref => {
3071
3062
  fontSize: appStudio.Typography.fontSizes[size],
3072
3063
  // filter={isHovered ? 'brightness(1)':'brightness(0.97)'}
3073
3064
  cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'
3074
- }, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
3065
+ }, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], views['box'], props), children);
3075
3066
  };
3076
3067
 
3077
3068
  var _excluded$e = ["children"];
@@ -3119,13 +3110,13 @@ var HeadingSizes$1 = {
3119
3110
  },
3120
3111
  h5: {
3121
3112
  fontSize: 24,
3122
- // Set the 'h5' heading tag styles, opting for no additional letter spacing.
3113
+ // Set the 'h5' heading tag views, opting for no additional letter spacing.
3123
3114
  lineHeight: 28,
3124
3115
  letterSpacing: 0
3125
3116
  },
3126
3117
  h6: {
3127
3118
  fontSize: 20,
3128
- // Set the 'h6' heading tag styles, with the smallest font size and a subtle letter spacing.
3119
+ // Set the 'h6' heading tag views, with the smallest font size and a subtle letter spacing.
3129
3120
  lineHeight: 24,
3130
3121
  letterSpacing: 0.15
3131
3122
  }
@@ -3179,14 +3170,14 @@ React__default.createElement(LabelView, Object.assign({}, props))
3179
3170
  var Label = LabelComponent;
3180
3171
  // Export the 'LabelComponent' as 'Label' to be reused throughout the project.
3181
3172
 
3182
- var _excluded$g = ["children", "size", "error", "color", "styles", "helperText"];
3173
+ var _excluded$g = ["children", "size", "error", "color", "views", "helperText"];
3183
3174
  var FieldLabel = _ref => {
3184
3175
  var {
3185
3176
  children,
3186
3177
  size = 'md',
3187
3178
  error = false,
3188
3179
  color = 'theme.primary',
3189
- styles = {
3180
+ views = {
3190
3181
  label: {}
3191
3182
  }
3192
3183
  } = _ref,
@@ -3200,7 +3191,7 @@ var FieldLabel = _ref => {
3200
3191
  position: "absolute",
3201
3192
  color: error ? 'error' : color,
3202
3193
  fontSize: LabelSizes[size]
3203
- }, styles['label'], props), children);
3194
+ }, views['label'], props), children);
3204
3195
  };
3205
3196
 
3206
3197
  var _excluded$h = ["children"];
@@ -3228,7 +3219,7 @@ var IconSizes$2 = {
3228
3219
  var _excluded$i = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
3229
3220
  _excluded2$3 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
3230
3221
  _excluded3$2 = ["option", "size", "removeOption"],
3231
- _excluded4$2 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isMulti", "isFocused", "isHovered", "isDisabled", "isReadOnly", "options", "shadow", "size", "colorScheme", "shape", "variant", "styles", "onChange", "setHide", "setValue", "setIsHovered", "setIsFocused", "setHighlightedIndex", "highlightedIndex"];
3222
+ _excluded4$2 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isMulti", "isFocused", "isHovered", "isDisabled", "isReadOnly", "options", "shadow", "size", "shape", "variant", "views", "onChange", "setHide", "setValue", "setIsHovered", "setIsFocused", "setHighlightedIndex", "highlightedIndex"];
3232
3223
  // Defines a component to render individual selection items within a list.
3233
3224
  var Item = _ref => {
3234
3225
  var {
@@ -3262,7 +3253,7 @@ var SelectBox = _ref2 => {
3262
3253
  var _ref3;
3263
3254
  var {
3264
3255
  size = 'md',
3265
- styles = {
3256
+ views = {
3266
3257
  field: {},
3267
3258
  text: {}
3268
3259
  },
@@ -3283,7 +3274,7 @@ var SelectBox = _ref2 => {
3283
3274
  backgroundColor: 'transparent',
3284
3275
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
3285
3276
  cursor: isDisabled ? 'not-allowed' : 'auto'
3286
- }, styles['field'], styles['text']);
3277
+ }, views['field'], views['text']);
3287
3278
  var option = options.length > 0 && options.find(option => option.value === value);
3288
3279
  return /*#__PURE__*/React__default.createElement(Text, Object.assign({}, fieldStyles), (value === '' || Array.isArray(value) && value.length === 0) && !!placeholder ? placeholder : (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, typeof value === 'string' ? (_ref3 = option && option.label) != null ? _ref3 : value :
3289
3280
  // If value is an array and not empty, render MultiSelect options
@@ -3336,7 +3327,7 @@ var HiddenSelect = _ref4 => {
3336
3327
  var DropDown = _ref5 => {
3337
3328
  var {
3338
3329
  size,
3339
- styles = {
3330
+ views = {
3340
3331
  dropDown: {}
3341
3332
  },
3342
3333
  options,
@@ -3383,10 +3374,10 @@ var DropDown = _ref5 => {
3383
3374
  display: 'none'
3384
3375
  }
3385
3376
  }
3386
- }, shadow, styles['dropDown']), options.length > 0 && options.map((option, index) => (/*#__PURE__*/React__default.createElement(Item, Object.assign({
3377
+ }, shadow, views['dropDown']), options.length > 0 && options.map((option, index) => (/*#__PURE__*/React__default.createElement(Item, Object.assign({
3387
3378
  key: option.value,
3388
3379
  size: size,
3389
- style: styles['text'],
3380
+ style: views['text'],
3390
3381
  option: option,
3391
3382
  callback: handleCallback,
3392
3383
  backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
@@ -3414,7 +3405,7 @@ var MultiSelect = _ref6 => {
3414
3405
  }, option), /*#__PURE__*/React__default.createElement(CloseIcon, {
3415
3406
  role: "close-button",
3416
3407
  color: "inherit",
3417
- size: IconSizes$2[size],
3408
+ widthHeight: IconSizes$2[size],
3418
3409
  onClick: handleClick
3419
3410
  }));
3420
3411
  };
@@ -3436,10 +3427,9 @@ var SelectView = _ref7 => {
3436
3427
  options = [],
3437
3428
  shadow = {},
3438
3429
  size = 'md',
3439
- colorScheme = 'theme.primary',
3440
3430
  shape = 'default',
3441
3431
  variant = 'default',
3442
- styles = {
3432
+ views = {
3443
3433
  text: {},
3444
3434
  icon: {},
3445
3435
  dropDown: {},
@@ -3483,31 +3473,30 @@ var SelectView = _ref7 => {
3483
3473
  role: "SelectBox",
3484
3474
  helperText: helperText,
3485
3475
  error: error,
3486
- styles: styles,
3476
+ views: views,
3487
3477
  onClick: isDisabled || isReadOnly ? () => {} : handleClick
3488
3478
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
3489
3479
  label: label,
3490
3480
  size: size,
3491
3481
  error: error,
3492
3482
  shape: shape,
3493
- styles: styles,
3483
+ views: views,
3494
3484
  shadow: shadow,
3495
3485
  variant: variant,
3496
3486
  value: value,
3497
- color: colorScheme,
3487
+ color: 'theme.primary',
3498
3488
  isHovered: isHovered,
3499
3489
  isDisabled: isDisabled,
3500
3490
  isReadOnly: isReadOnly,
3501
3491
  isFocused: isFocused,
3502
3492
  isWithLabel: isWithLabel,
3503
- colorScheme: colorScheme,
3504
3493
  onMouseEnter: handleHover,
3505
3494
  onMouseLeave: handleHover
3506
3495
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
3507
3496
  htmlFor: id,
3508
- color: colorScheme,
3497
+ color: 'theme.primary',
3509
3498
  error: error
3510
- }, styles), label)), /*#__PURE__*/React__default.createElement(HiddenSelect, Object.assign({
3499
+ }, views), label)), /*#__PURE__*/React__default.createElement(HiddenSelect, Object.assign({
3511
3500
  id: id,
3512
3501
  name: name,
3513
3502
  options: options,
@@ -3520,24 +3509,24 @@ var SelectView = _ref7 => {
3520
3509
  }, props)), /*#__PURE__*/React__default.createElement(SelectBox, {
3521
3510
  options: options,
3522
3511
  size: size,
3523
- styles: styles,
3512
+ views: views,
3524
3513
  value: value,
3525
3514
  isDisabled: isDisabled,
3526
3515
  placeholder: placeholder,
3527
3516
  removeOption: handleRemoveOption
3528
3517
  })), /*#__PURE__*/React__default.createElement(FieldIcons, null, !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
3529
3518
  color: "inherit",
3530
- size: IconSizes$2[size],
3531
- style: styles.icon,
3519
+ widthHeight: IconSizes$2[size],
3520
+ style: views.icon,
3532
3521
  orientation: "down"
3533
3522
  })) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
3534
3523
  color: "inherit",
3535
3524
  orientation: "up",
3536
- size: IconSizes$2[size],
3537
- style: styles.icon
3525
+ widthHeight: IconSizes$2[size],
3526
+ style: views.icon
3538
3527
  })))))), !hide && (/*#__PURE__*/React__default.createElement(DropDown, {
3539
3528
  size: size,
3540
- styles: styles,
3529
+ views: views,
3541
3530
  options: options,
3542
3531
  callback: handleCallback,
3543
3532
  highlightedIndex: highlightedIndex,
@@ -3701,7 +3690,7 @@ var SliderPadding = {
3701
3690
  }
3702
3691
  };
3703
3692
 
3704
- var _excluded$j = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
3693
+ var _excluded$j = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "views"];
3705
3694
  var SwitchContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
3706
3695
  type: "checkbox"
3707
3696
  }, props));
@@ -3715,7 +3704,6 @@ var SwitchView = _ref => {
3715
3704
  labelPosition = 'right',
3716
3705
  shadow = {},
3717
3706
  size = 'sm',
3718
- colorScheme = 'theme.primary',
3719
3707
  value = false,
3720
3708
  isHovered = false,
3721
3709
  isDisabled = false,
@@ -3725,7 +3713,7 @@ var SwitchView = _ref => {
3725
3713
  onChange,
3726
3714
  setValue = () => {},
3727
3715
  setIsHovered = () => {},
3728
- styles = {
3716
+ views = {
3729
3717
  slider: {},
3730
3718
  circle: {},
3731
3719
  label: {}
@@ -3747,7 +3735,7 @@ var SwitchView = _ref => {
3747
3735
  height: 'fit-content',
3748
3736
  width: 'fit-content',
3749
3737
  cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'
3750
- }, styles.label)
3738
+ }, views.label)
3751
3739
  };
3752
3740
  return /*#__PURE__*/React__default.createElement(Label, Object.assign({
3753
3741
  htmlFor: id,
@@ -3771,12 +3759,12 @@ var SwitchView = _ref => {
3771
3759
  marginBottom: 5,
3772
3760
  filter: isHovered && value ? 'brightness(0.9)' : 'brightness(1)',
3773
3761
  transition: "justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
3774
- backgroundColor: isDisabled ? 'disabled' : value ? colorScheme : 'lightgray',
3762
+ backgroundColor: isDisabled ? 'disabled' : value ? 'theme.primary' : 'lightgray',
3775
3763
  justifyContent: activeChild ? 'space-between' : value ? 'flex-end' : 'flex-start'
3776
- }, shadow, SliderPadding[size], SliderSizes[size], styles['slider']), activeChild && value && /*#__PURE__*/React__default.createElement(View, null, activeChild), /*#__PURE__*/React__default.createElement(View, Object.assign({
3764
+ }, shadow, SliderPadding[size], SliderSizes[size], views['slider']), activeChild && value && /*#__PURE__*/React__default.createElement(View, null, activeChild), /*#__PURE__*/React__default.createElement(View, Object.assign({
3777
3765
  borderRadius: "50%",
3778
3766
  backgroundColor: "white"
3779
- }, KnobSizes[size], styles['circle'])), inActiveChild && !value && /*#__PURE__*/React__default.createElement(View, null, inActiveChild)), labelPosition === 'right' && label && /*#__PURE__*/React__default.createElement(View, null, label));
3767
+ }, KnobSizes[size], views['circle'])), inActiveChild && !value && /*#__PURE__*/React__default.createElement(View, null, inActiveChild)), labelPosition === 'right' && label && /*#__PURE__*/React__default.createElement(View, null, label));
3780
3768
  };
3781
3769
 
3782
3770
  // Defines the SwitchComponent as a functional component that takes SwitchProps as props.
@@ -3821,7 +3809,7 @@ var useTextAreaState = _ref => {
3821
3809
  // Export of the useTextAreaState hook for external usage.
3822
3810
  };
3823
3811
 
3824
- var _excluded$k = ["id", "name", "hint", "error", "value", "label", "shadow", "helperText", "placeholder", "size", "shape", "variant", "colorScheme", "isHovered", "isFocused", "isEditable", "isReadOnly", "isDisabled", "isAutoFocus", "isMultiline", "maxRows", "maxCols", "onBlur", "onChange", "onFocus", "onChangeText", "setHint", "setValue", "setIsFocused", "setIsHovered", "styles"];
3812
+ var _excluded$k = ["id", "name", "hint", "error", "value", "label", "shadow", "helperText", "placeholder", "size", "shape", "variant", "isHovered", "isFocused", "isEditable", "isReadOnly", "isDisabled", "isAutoFocus", "isMultiline", "maxRows", "maxCols", "onBlur", "onChange", "onFocus", "onChangeText", "setHint", "setValue", "setIsFocused", "setIsHovered", "views"];
3825
3813
  var TextAreaView = _ref => {
3826
3814
  var {
3827
3815
  id,
@@ -3835,7 +3823,6 @@ var TextAreaView = _ref => {
3835
3823
  size = 'sm',
3836
3824
  shape = 'default',
3837
3825
  variant = 'default',
3838
- colorScheme = 'theme.primary',
3839
3826
  isHovered = false,
3840
3827
  isFocused = false,
3841
3828
  isEditable = false,
@@ -3853,7 +3840,7 @@ var TextAreaView = _ref => {
3853
3840
  setValue = () => {},
3854
3841
  setIsFocused = () => {},
3855
3842
  setIsHovered = () => {},
3856
- styles = {
3843
+ views = {
3857
3844
  box: {},
3858
3845
  text: {},
3859
3846
  label: {},
@@ -3879,7 +3866,7 @@ var TextAreaView = _ref => {
3879
3866
  backgroundColor: 'transparent',
3880
3867
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
3881
3868
  cursor: isDisabled ? 'not-allowed' : 'auto'
3882
- }, styles['field']);
3869
+ }, views['field']);
3883
3870
  var handleHover = () => setIsHovered(!isHovered);
3884
3871
  var handleFocus = () => {
3885
3872
  setIsFocused(true);
@@ -3903,30 +3890,29 @@ var TextAreaView = _ref => {
3903
3890
  return /*#__PURE__*/React__default.createElement(FieldContainer, {
3904
3891
  helperText: helperText,
3905
3892
  error: error,
3906
- styles: styles
3893
+ views: views
3907
3894
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
3908
3895
  label: label,
3909
3896
  size: size,
3910
3897
  error: error,
3911
3898
  shape: shape,
3912
- styles: styles,
3899
+ views: views,
3913
3900
  shadow: shadow,
3914
3901
  variant: variant,
3915
3902
  value: value,
3916
- color: colorScheme,
3903
+ color: 'theme.primary',
3917
3904
  isHovered: isHovered,
3918
3905
  isDisabled: isDisabled,
3919
3906
  isReadOnly: isReadOnly,
3920
3907
  isFocused: isFocused,
3921
3908
  isWithLabel: isWithLabel,
3922
- colorScheme: colorScheme,
3923
3909
  onMouseEnter: handleHover,
3924
3910
  onMouseLeave: handleHover
3925
3911
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
3926
3912
  htmlFor: id,
3927
- color: colorScheme,
3913
+ color: 'theme.primary',
3928
3914
  error: error
3929
- }, styles), label)), /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
3915
+ }, views), label)), /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
3930
3916
  as: "textarea",
3931
3917
  id: id,
3932
3918
  name: name,
@@ -3991,7 +3977,7 @@ var useTextFieldState = _ref => {
3991
3977
  };
3992
3978
  };
3993
3979
 
3994
- var _excluded$l = ["id", "name", "label", "hint", "value", "onChange", "left", "right", "helperText", "placeholder", "onChangeText", "shadow", "styles", "size", "shape", "variant", "colorScheme", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isClearable", "isAutoFocus", "setHint", "setIsFocused", "setIsHovered", "setValue", "onClick", "onFocus", "onBlur", "themeMode"];
3980
+ var _excluded$l = ["id", "name", "label", "hint", "value", "onChange", "left", "right", "helperText", "placeholder", "onChangeText", "shadow", "views", "size", "shape", "variant", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isClearable", "isAutoFocus", "setHint", "setIsFocused", "setIsHovered", "setValue", "onClick", "onFocus", "onBlur", "themeMode"];
3995
3981
  var TextFieldInput = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
3996
3982
  type: "text"
3997
3983
  }, props));
@@ -4008,7 +3994,7 @@ var TextFieldView = _ref => {
4008
3994
  helperText,
4009
3995
  onChangeText,
4010
3996
  shadow = {},
4011
- styles = {
3997
+ views = {
4012
3998
  box: {},
4013
3999
  field: {},
4014
4000
  label: {},
@@ -4018,7 +4004,6 @@ var TextFieldView = _ref => {
4018
4004
  size = 'md',
4019
4005
  shape = 'default',
4020
4006
  variant = 'default',
4021
- colorScheme = 'theme.primary',
4022
4007
  error = false,
4023
4008
  isFocused = false,
4024
4009
  isHovered = false,
@@ -4059,7 +4044,7 @@ var TextFieldView = _ref => {
4059
4044
  backgroundColor: 'transparent',
4060
4045
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
4061
4046
  cursor: isDisabled ? 'not-allowed' : 'auto'
4062
- }, styles['field']);
4047
+ }, views['field']);
4063
4048
  var handleFocus = () => {
4064
4049
  setIsFocused(true);
4065
4050
  if (onFocus) onFocus();
@@ -4096,30 +4081,29 @@ var TextFieldView = _ref => {
4096
4081
  return /*#__PURE__*/React__default.createElement(FieldContainer, {
4097
4082
  helperText: helperText,
4098
4083
  error: error,
4099
- styles: styles
4084
+ views: views
4100
4085
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
4101
4086
  label: label,
4102
4087
  size: size,
4103
4088
  error: error,
4104
4089
  shape: shape,
4105
- styles: styles,
4090
+ views: views,
4106
4091
  shadow: shadow,
4107
4092
  variant: variant,
4108
4093
  value: value,
4109
- color: colorScheme,
4094
+ color: 'theme.primary',
4110
4095
  isHovered: isHovered,
4111
4096
  isDisabled: isDisabled,
4112
4097
  isReadOnly: isReadOnly,
4113
4098
  isFocused: isFocused,
4114
4099
  isWithLabel: isWithLabel,
4115
- colorScheme: colorScheme,
4116
4100
  onMouseEnter: handleHover,
4117
4101
  onMouseLeave: handleHover
4118
4102
  }, left, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
4119
4103
  htmlFor: id,
4120
- color: colorScheme,
4104
+ color: 'theme.primary',
4121
4105
  error: error
4122
- }, styles), label)), /*#__PURE__*/React__default.createElement(TextFieldInput, Object.assign({
4106
+ }, views), label)), /*#__PURE__*/React__default.createElement(TextFieldInput, Object.assign({
4123
4107
  id: id,
4124
4108
  name: name,
4125
4109
  readOnly: isReadOnly,
@@ -4133,7 +4117,7 @@ var TextFieldView = _ref => {
4133
4117
  onChange: handleChange,
4134
4118
  value: value
4135
4119
  }))), isClearable && value && !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(FieldIcons, null, /*#__PURE__*/React__default.createElement(CloseIcon, {
4136
- size: appStudio.Typography.fontSizes[size],
4120
+ widthHeight: appStudio.Typography.fontSizes[size],
4137
4121
  color: IconColor,
4138
4122
  onClick: handleClear
4139
4123
  }))), right));
@@ -4217,7 +4201,7 @@ var IconSizes$3 = {
4217
4201
  '6xl': 60
4218
4202
  };
4219
4203
 
4220
- var _excluded$m = ["id", "icon", "name", "label", "isChecked", "onChange", "onValueChange", "shadow", "labelPosition", "size", "colorScheme", "error", "isSelected", "isHovered", "isDisabled", "isReadOnly", "isIndeterminate", "defaultIsSelected", "setIsSelected", "setIsHovered", "styles", "infoText", "helperText"];
4204
+ var _excluded$m = ["id", "icon", "name", "label", "isChecked", "onChange", "onValueChange", "shadow", "labelPosition", "size", "error", "isSelected", "isHovered", "isDisabled", "isReadOnly", "isIndeterminate", "defaultIsSelected", "setIsSelected", "setIsHovered", "views", "infoText", "helperText"];
4221
4205
  var CheckboxView = _ref => {
4222
4206
  var {
4223
4207
  id,
@@ -4229,7 +4213,6 @@ var CheckboxView = _ref => {
4229
4213
  shadow = {},
4230
4214
  labelPosition = 'right',
4231
4215
  size = 'md',
4232
- colorScheme = 'theme.primary',
4233
4216
  error = false,
4234
4217
  isSelected = false,
4235
4218
  isHovered = false,
@@ -4239,7 +4222,7 @@ var CheckboxView = _ref => {
4239
4222
  defaultIsSelected = false,
4240
4223
  setIsSelected = () => {},
4241
4224
  setIsHovered = () => {},
4242
- styles = {
4225
+ views = {
4243
4226
  checkbox: {},
4244
4227
  label: {}
4245
4228
  },
@@ -4263,11 +4246,11 @@ var CheckboxView = _ref => {
4263
4246
  width: 'fit-content',
4264
4247
  color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',
4265
4248
  cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'
4266
- }, styles['label']),
4249
+ }, views['label']),
4267
4250
  checkbox: Object.assign({}, isDisabled ? {
4268
4251
  backgroundColor: 'theme.disabled'
4269
4252
  } : (isChecked || isSelected) && !isIndeterminate || isIndeterminate ? {
4270
- backgroundColor: colorScheme
4253
+ backgroundColor: 'theme.primary'
4271
4254
  } : {
4272
4255
  borderWidth: 2,
4273
4256
  borderColor: error ? 'theme.error' : isHovered ? 'color.gray.500' : 'color.gray.300',
@@ -4276,7 +4259,7 @@ var CheckboxView = _ref => {
4276
4259
  borderRadius: 3
4277
4260
  }, isHovered ? {
4278
4261
  filter: 'brightness(0.9)'
4279
- } : {}, Sizes[size], shadow, styles['checkbox'])
4262
+ } : {}, Sizes[size], shadow, views['checkbox'])
4280
4263
  };
4281
4264
  return /*#__PURE__*/React__default.createElement(Label, Object.assign({
4282
4265
  htmlFor: id,
@@ -4292,19 +4275,19 @@ var CheckboxView = _ref => {
4292
4275
  alignItems: "center"
4293
4276
  }, labelPosition === 'left' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
4294
4277
  size: size
4295
- }, styles == null ? void 0 : styles.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(MinusIcon, {
4296
- size: IconSizes$3[size],
4278
+ }, views == null ? void 0 : views.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(MinusIcon, {
4279
+ widthHeight: IconSizes$3[size],
4297
4280
  color: "white"
4298
4281
  })) : (isChecked || isSelected) && (icon != null ? icon : /*#__PURE__*/React__default.createElement(TickIcon, {
4299
- size: IconSizes$3[size],
4282
+ widthHeight: IconSizes$3[size],
4300
4283
  color: "white"
4301
4284
  }))), labelPosition === 'right' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
4302
4285
  size: size
4303
- }, styles == null ? void 0 : styles.label), label))), infoText && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
4286
+ }, views == null ? void 0 : views.label), label))), infoText && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
4304
4287
  marginLeft: labelPosition === 'left' ? 0 : 27,
4305
4288
  color: "color.gray.400",
4306
4289
  size: "sm"
4307
- }, styles == null ? void 0 : styles.infoText), infoText))), error && (/*#__PURE__*/React__default.createElement(Text, {
4290
+ }, views == null ? void 0 : views.infoText), infoText))), error && (/*#__PURE__*/React__default.createElement(Text, {
4308
4291
  size: "xs",
4309
4292
  marginVertical: 0,
4310
4293
  marginHorizontal: 0,
@@ -5811,7 +5794,7 @@ var IconSizes$4 = {
5811
5794
 
5812
5795
  var _excluded$n = ["size"],
5813
5796
  _excluded2$4 = ["size"],
5814
- _excluded3$3 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "colorScheme", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "styles", "themeMode"];
5797
+ _excluded3$3 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "views", "themeMode"];
5815
5798
  var CountryList = _ref => {
5816
5799
  var props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5817
5800
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
@@ -5832,7 +5815,7 @@ var DropDownItem = _ref3 => {
5832
5815
  option,
5833
5816
  size = 'md',
5834
5817
  callback = () => {},
5835
- styles = {
5818
+ views = {
5836
5819
  text: {}
5837
5820
  }
5838
5821
  } = _ref3;
@@ -5854,15 +5837,15 @@ var DropDownItem = _ref3 => {
5854
5837
  onClick: handleOptionClick,
5855
5838
  fontSize: appStudio.Typography.fontSizes[size],
5856
5839
  backgroundColor: isHovered ? 'trueGray.100' : 'transparent'
5857
- }, styles['text']), option);
5840
+ }, views['text']), option);
5858
5841
  };
5859
5842
  var DropDown$1 = _ref4 => {
5860
5843
  var {
5861
5844
  size,
5862
- styles = {
5845
+ views = {
5863
5846
  dropDown: {}
5864
5847
  },
5865
- options,
5848
+ options = [],
5866
5849
  callback = () => {}
5867
5850
  } = _ref4;
5868
5851
  var handleCallback = option => callback(option);
@@ -5881,12 +5864,12 @@ var DropDown$1 = _ref4 => {
5881
5864
  flexDirection: "column",
5882
5865
  backgroundColor: "white",
5883
5866
  boxShadow: "rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px"
5884
- }, styles['dropDown']), options.map(option => (/*#__PURE__*/React__default.createElement(DropDownItem, Object.assign({
5867
+ }, views['dropDown']), options.map(option => (/*#__PURE__*/React__default.createElement(DropDownItem, Object.assign({
5885
5868
  key: option.code,
5886
5869
  size: size,
5887
5870
  option: option.name,
5888
5871
  callback: handleCallback
5889
- }, styles['text'])))));
5872
+ }, views['text'])))));
5890
5873
  };
5891
5874
  var CountryPickerView = _ref5 => {
5892
5875
  var {
@@ -5908,7 +5891,6 @@ var CountryPickerView = _ref5 => {
5908
5891
  size = 'md',
5909
5892
  variant = 'default',
5910
5893
  shape = 'default',
5911
- colorScheme = 'theme.primary',
5912
5894
  onChange,
5913
5895
  onBlur = () => {},
5914
5896
  setHide = () => {},
@@ -5916,7 +5898,7 @@ var CountryPickerView = _ref5 => {
5916
5898
  setIsHovered = () => {},
5917
5899
  setIsFocused = () => {},
5918
5900
  setValue = () => {},
5919
- styles = {
5901
+ views = {
5920
5902
  text: {},
5921
5903
  icon: {},
5922
5904
  label: {},
@@ -5971,36 +5953,35 @@ var CountryPickerView = _ref5 => {
5971
5953
  fontSize: appStudio.Typography.fontSizes[size],
5972
5954
  backgroundColor: 'transparent',
5973
5955
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
5974
- cursor: isDisabled ? 'not-allowed' : 'auto'
5975
- }, styles['field']);
5956
+ cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'
5957
+ }, views['field']);
5976
5958
  return /*#__PURE__*/React__default.createElement(FieldContainer, {
5977
5959
  helperText: helperText,
5978
5960
  error: error,
5979
- styles: styles,
5961
+ views: views,
5980
5962
  onClick: handleClick
5981
5963
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
5982
5964
  label: label,
5983
5965
  size: size,
5984
5966
  error: error,
5985
5967
  shape: shape,
5986
- styles: styles,
5968
+ views: views,
5987
5969
  shadow: shadow,
5988
5970
  variant: variant,
5989
5971
  value: value,
5990
- color: colorScheme,
5972
+ color: 'theme.primary',
5991
5973
  isHovered: isHovered,
5992
5974
  isDisabled: isDisabled,
5993
5975
  isReadOnly: isReadOnly,
5994
5976
  isFocused: isFocused,
5995
5977
  isWithLabel: isWithLabel,
5996
- colorScheme: colorScheme,
5997
5978
  onMouseEnter: handleHover,
5998
5979
  onMouseLeave: handleHover
5999
5980
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
6000
5981
  htmlFor: id,
6001
- color: colorScheme,
5982
+ color: 'theme.primary',
6002
5983
  error: error
6003
- }, styles), label)), /*#__PURE__*/React__default.createElement(CountrySelector, Object.assign({
5984
+ }, views), label)), /*#__PURE__*/React__default.createElement(CountrySelector, Object.assign({
6004
5985
  id: id,
6005
5986
  name: name,
6006
5987
  placeholder: placeholder,
@@ -6014,17 +5995,17 @@ var CountryPickerView = _ref5 => {
6014
5995
  onChange: handleChange
6015
5996
  }))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
6016
5997
  orientation: "down",
6017
- size: IconSizes$4[size],
5998
+ widthHeight: IconSizes$4[size],
6018
5999
  color: IconColor,
6019
- style: styles['icon']
6000
+ style: views['icon']
6020
6001
  })) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
6021
6002
  orientation: "up",
6022
- size: IconSizes$4[size],
6003
+ widthHeight: IconSizes$4[size],
6023
6004
  color: IconColor,
6024
- style: styles['icon']
6005
+ style: views['icon']
6025
6006
  })))), !hide && (/*#__PURE__*/React__default.createElement(DropDown$1, {
6026
6007
  size: size,
6027
- styles: styles,
6008
+ views: views,
6028
6009
  options: newOptions,
6029
6010
  callback: handleCallback
6030
6011
  })));
@@ -6054,7 +6035,7 @@ var useDatePickerState = () => {
6054
6035
  };
6055
6036
  };
6056
6037
 
6057
- var _excluded$o = ["id", "icon", "name", "label", "date", "children", "helperText", "shadow", "size", "variant", "shape", "colorScheme", "styles", "error", "isHovered", "isFocused", "isDisabled", "isReadOnly", "setDate", "setIsFocused", "setIsHovered", "onChange", "onChangeText"];
6038
+ var _excluded$o = ["id", "icon", "name", "label", "date", "children", "helperText", "shadow", "size", "variant", "shape", "views", "error", "isHovered", "isFocused", "isDisabled", "isReadOnly", "setDate", "setIsFocused", "setIsHovered", "onChange", "onChangeText"];
6058
6039
  var DatePickerContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
6059
6040
  type: "date"
6060
6041
  }, props));
@@ -6069,8 +6050,7 @@ var DatePickerView = _ref => {
6069
6050
  size = 'md',
6070
6051
  variant = 'default',
6071
6052
  shape = 'default',
6072
- colorScheme = 'theme.primary',
6073
- styles = {
6053
+ views = {
6074
6054
  box: {},
6075
6055
  label: {},
6076
6056
  helperText: {},
@@ -6118,34 +6098,33 @@ var DatePickerView = _ref => {
6118
6098
  backgroundColor: 'transparent',
6119
6099
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
6120
6100
  cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'
6121
- }, styles['field']);
6101
+ }, views['field']);
6122
6102
  return /*#__PURE__*/React__default.createElement(FieldContainer, {
6123
6103
  helperText: helperText,
6124
6104
  error: error,
6125
- styles: styles
6105
+ views: views
6126
6106
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
6127
6107
  label: label,
6128
6108
  size: size,
6129
6109
  error: error,
6130
6110
  shape: shape,
6131
- styles: styles,
6111
+ views: views,
6132
6112
  shadow: shadow,
6113
+ color: 'theme.primary',
6133
6114
  variant: variant,
6134
6115
  value: date,
6135
- color: colorScheme,
6136
6116
  isHovered: isHovered,
6137
6117
  isDisabled: isDisabled,
6138
6118
  isReadOnly: isReadOnly,
6139
6119
  isFocused: isFocused,
6140
6120
  isWithLabel: isWithLabel,
6141
- colorScheme: colorScheme,
6142
6121
  onMouseEnter: handleHover,
6143
6122
  onMouseLeave: handleHover
6144
6123
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
6145
6124
  htmlFor: id,
6146
- color: colorScheme,
6125
+ color: 'theme.primary',
6147
6126
  error: error
6148
- }, styles), label)), /*#__PURE__*/React__default.createElement(DatePickerContent, Object.assign({
6127
+ }, views), label)), /*#__PURE__*/React__default.createElement(DatePickerContent, Object.assign({
6149
6128
  id: id,
6150
6129
  name: name,
6151
6130
  onFocus: handleFocus,
@@ -6181,10 +6160,10 @@ var _excluded$p = ["visibleIcon", "hiddenIcon"],
6181
6160
  var PasswordComponent = _ref => {
6182
6161
  var {
6183
6162
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
6184
- size: 14
6163
+ widthHeight: 14
6185
6164
  }),
6186
6165
  hiddenIcon = /*#__PURE__*/React__default.createElement(CloseEyeIcon, {
6187
- size: 14
6166
+ widthHeight: 14
6188
6167
  })
6189
6168
  } = _ref,
6190
6169
  props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
@@ -6241,7 +6220,7 @@ var useComboBoxState = (items, placeholder, searchPlaceholder) => {
6241
6220
  };
6242
6221
  };
6243
6222
 
6244
- var _excluded$q = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
6223
+ var _excluded$q = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "views", "isDropdownVisible", "setIsDropdownVisible"];
6245
6224
  // Defines the functional component 'ComboBoxView' with destructured props.
6246
6225
  var ComboBoxView = _ref => {
6247
6226
  var {
@@ -6261,7 +6240,7 @@ var ComboBoxView = _ref => {
6261
6240
  searchQuery,
6262
6241
  setSearchQuery,
6263
6242
  setFilteredItems,
6264
- styles,
6243
+ views,
6265
6244
  isDropdownVisible,
6266
6245
  setIsDropdownVisible
6267
6246
  // Collects all further props not destructured explicitly.
@@ -6304,7 +6283,7 @@ var ComboBoxView = _ref => {
6304
6283
  alignItems: "center",
6305
6284
  width: "100%"
6306
6285
  }, props), label && (/*#__PURE__*/React__default.createElement(Text, {
6307
- styles: styles == null ? void 0 : styles.label,
6286
+ views: views == null ? void 0 : views.label,
6308
6287
  htmlFor: props.id
6309
6288
  }, label)), /*#__PURE__*/React__default.createElement(View, {
6310
6289
  position: "relative"
@@ -6319,16 +6298,16 @@ var ComboBoxView = _ref => {
6319
6298
  justifyContent: "space-between",
6320
6299
  minWidth: 300,
6321
6300
  flexWrap: "nowrap"
6322
- }, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
6301
+ }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
6323
6302
  gap: 15,
6324
6303
  alignItems: "center",
6325
6304
  position: "relative",
6326
6305
  width: "100%",
6327
6306
  onClick: () => setIsDropdownVisible(!isDropdownVisible)
6328
- }, styles == null ? void 0 : styles.labelContainer), left, /*#__PURE__*/React__default.createElement(Text, Object.assign({
6307
+ }, views == null ? void 0 : views.labelContainer), left, /*#__PURE__*/React__default.createElement(Text, Object.assign({
6329
6308
  weight: "medium",
6330
6309
  flexGrow: 1
6331
- }, styles == null ? void 0 : styles.label), selectedItem.label)), right, isDropdownVisible && (/*#__PURE__*/React__default.createElement(View, Object.assign({
6310
+ }, views == null ? void 0 : views.label), selectedItem.label)), right, isDropdownVisible && (/*#__PURE__*/React__default.createElement(View, Object.assign({
6332
6311
  id: "combobox-dropdown",
6333
6312
  position: "absolute",
6334
6313
  backgroundColor: "white",
@@ -6341,7 +6320,7 @@ var ComboBoxView = _ref => {
6341
6320
  transform: "translateY(100%)",
6342
6321
  marginTop: "4px",
6343
6322
  borderRadius: "4px"
6344
- }, styles == null ? void 0 : styles.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
6323
+ }, views == null ? void 0 : views.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
6345
6324
  id: props.id,
6346
6325
  name: props.name,
6347
6326
  width: "100%",
@@ -6351,14 +6330,14 @@ var ComboBoxView = _ref => {
6351
6330
  hint: placeholder,
6352
6331
  isClearable: false,
6353
6332
  left: /*#__PURE__*/React__default.createElement(SearchIcon, {
6354
- size: 12
6333
+ widthHeight: 12
6355
6334
  }),
6356
- styles: {
6335
+ views: {
6357
6336
  box: Object.assign({
6358
6337
  width: '100%',
6359
6338
  padding: '6px 12px',
6360
6339
  borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
6361
- }, styles == null ? void 0 : styles.text)
6340
+ }, views == null ? void 0 : views.text)
6362
6341
  }
6363
6342
  })), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(View, {
6364
6343
  margin: 0,
@@ -6372,8 +6351,8 @@ var ComboBoxView = _ref => {
6372
6351
  backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
6373
6352
  onMouseEnter: () => setHighlightedIndex(index),
6374
6353
  onClick: () => handleSelect(item)
6375
- }, styles == null ? void 0 : styles.item), /*#__PURE__*/React__default.createElement(Text, null, item.label), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React__default.createElement(TickIcon, {
6376
- size: 20
6354
+ }, views == null ? void 0 : views.item), /*#__PURE__*/React__default.createElement(Text, null, item.label), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item.icon && item.icon, item.value === selectedItem.value && showTick && !item.icon && /*#__PURE__*/React__default.createElement(TickIcon, {
6355
+ widthHeight: 20
6377
6356
  }))))))))))));
6378
6357
  };
6379
6358
 
@@ -6637,10 +6616,10 @@ var _excluded$w = ["visibleIcon", "hiddenIcon"],
6637
6616
  var PasswordComponent$1 = _ref => {
6638
6617
  var {
6639
6618
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
6640
- size: 14
6619
+ widthHeight: 14
6641
6620
  }),
6642
6621
  hiddenIcon = /*#__PURE__*/React__default.createElement(CloseEyeIcon, {
6643
- size: 14
6622
+ widthHeight: 14
6644
6623
  })
6645
6624
  } = _ref,
6646
6625
  props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
@@ -6699,12 +6678,12 @@ var useMessageStore = /*#__PURE__*/zustand.create(set => ({
6699
6678
  subtitle: '',
6700
6679
  variant: 'info',
6701
6680
  isClosable: false,
6702
- styles: {},
6681
+ views: {},
6703
6682
  action: () => {},
6704
6683
  actionText: '',
6705
6684
  showIcon: false,
6706
6685
  timeout: 3000,
6707
- show: function show(variant, title, subtitle, isClosable, styles, action, actionText, showIcon, timeout) {
6686
+ show: function show(variant, title, subtitle, isClosable, views, action, actionText, showIcon, timeout) {
6708
6687
  if (title === void 0) {
6709
6688
  title = '';
6710
6689
  }
@@ -6717,7 +6696,7 @@ var useMessageStore = /*#__PURE__*/zustand.create(set => ({
6717
6696
  title,
6718
6697
  subtitle,
6719
6698
  isClosable,
6720
- styles,
6699
+ views,
6721
6700
  action,
6722
6701
  actionText,
6723
6702
  showIcon,
@@ -6729,7 +6708,7 @@ var useMessageStore = /*#__PURE__*/zustand.create(set => ({
6729
6708
  })
6730
6709
  }));
6731
6710
  var showMessage = (variant, title, subtitle, props) => {
6732
- useMessageStore.getState().show(variant, title, subtitle, props == null ? void 0 : props.isClosable, props == null ? void 0 : props.styles, props == null ? void 0 : props.action, props == null ? void 0 : props.actionText, props == null ? void 0 : props.showIcon, props == null ? void 0 : props.timeout);
6711
+ useMessageStore.getState().show(variant, title, subtitle, props == null ? void 0 : props.isClosable, props == null ? void 0 : props.views, props == null ? void 0 : props.action, props == null ? void 0 : props.actionText, props == null ? void 0 : props.showIcon, props == null ? void 0 : props.timeout);
6733
6712
  };
6734
6713
  var hideMessage = () => {
6735
6714
  useMessageStore.getState().hide();
@@ -6807,7 +6786,7 @@ var Themes$1 = {
6807
6786
  };
6808
6787
 
6809
6788
  var MessageView = _ref => {
6810
- var _styles$closingIcon, _styles$closingIcon2;
6789
+ var _views$closingIcon, _views$closingIcon2;
6811
6790
  var {
6812
6791
  variant,
6813
6792
  hide,
@@ -6819,7 +6798,7 @@ var MessageView = _ref => {
6819
6798
  showIcon = false,
6820
6799
  isClosable = false,
6821
6800
  timeout = 3000,
6822
- styles
6801
+ views
6823
6802
  } = _ref;
6824
6803
  React.useEffect(() => {
6825
6804
  if (timeout && !isClosable) {
@@ -6849,21 +6828,21 @@ var MessageView = _ref => {
6849
6828
  }[variant];
6850
6829
  var iconComponent = {
6851
6830
  info: /*#__PURE__*/React__default.createElement(InfoIcon, Object.assign({
6852
- size: 24,
6831
+ widthHeight: 24,
6853
6832
  color: iconColor
6854
- }, styles == null ? void 0 : styles.icon)),
6855
- success: /*#__PURE__*/React__default.createElement(SuccessIcon, Object.assign({
6856
- size: 24,
6833
+ }, views == null ? void 0 : views.icon)),
6834
+ success: (/*#__PURE__*/React__default.createElement(SuccessIcon, Object.assign({
6835
+ widthHeight: 24,
6857
6836
  color: iconColor
6858
- }, styles == null ? void 0 : styles.icon)),
6859
- warning: /*#__PURE__*/React__default.createElement(WarningIcon, Object.assign({
6860
- size: 24,
6837
+ }, views == null ? void 0 : views.icon))),
6838
+ warning: (/*#__PURE__*/React__default.createElement(WarningIcon, Object.assign({
6839
+ widthHeight: 24,
6861
6840
  color: iconColor
6862
- }, styles == null ? void 0 : styles.icon)),
6841
+ }, views == null ? void 0 : views.icon))),
6863
6842
  error: /*#__PURE__*/React__default.createElement(ErrorIcon, Object.assign({
6864
- size: 24,
6843
+ widthHeight: 24,
6865
6844
  color: iconColor
6866
- }, styles == null ? void 0 : styles.icon))
6845
+ }, views == null ? void 0 : views.icon))
6867
6846
  }[variant];
6868
6847
  var isShowIcon = showIcon && iconComponent;
6869
6848
  return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
@@ -6880,20 +6859,20 @@ var MessageView = _ref => {
6880
6859
  onClick: isClosable ? () => {} : () => {
6881
6860
  hide();
6882
6861
  }
6883
- }, containerStyle, styles == null ? void 0 : styles.container), isShowIcon && iconComponent, /*#__PURE__*/React__default.createElement(Vertical, {
6862
+ }, containerStyle, views == null ? void 0 : views.container), isShowIcon && iconComponent, /*#__PURE__*/React__default.createElement(Vertical, {
6884
6863
  gap: 8,
6885
6864
  width: "100%"
6886
6865
  }, /*#__PURE__*/React__default.createElement(Text, Object.assign({
6887
6866
  size: "md",
6888
6867
  weight: "semiBold"
6889
- }, styles == null ? void 0 : styles.title), title), subtitle && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
6868
+ }, views == null ? void 0 : views.title), title), subtitle && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
6890
6869
  size: "sm"
6891
- }, styles == null ? void 0 : styles.subtitle), subtitle))), isWithAction && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
6870
+ }, views == null ? void 0 : views.subtitle), subtitle))), isWithAction && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
6892
6871
  marginRight: 10,
6893
6872
  onClick: action,
6894
6873
  padding: "6px 10px",
6895
6874
  whiteSpace: "nowrap"
6896
- }, containerStyle, styles == null ? void 0 : styles.actionText), actionText)), isClosable && (/*#__PURE__*/React__default.createElement(View, Object.assign({
6875
+ }, containerStyle, views == null ? void 0 : views.actionText), actionText)), isClosable && (/*#__PURE__*/React__default.createElement(View, Object.assign({
6897
6876
  position: "absolute",
6898
6877
  zIndex: 10000,
6899
6878
  right: 8,
@@ -6901,10 +6880,10 @@ var MessageView = _ref => {
6901
6880
  onClick: () => {
6902
6881
  hide();
6903
6882
  }
6904
- }, styles == null || (_styles$closingIcon = styles.closingIcon) == null ? void 0 : _styles$closingIcon.container), /*#__PURE__*/React__default.createElement(CloseIcon, Object.assign({
6905
- size: 18,
6883
+ }, views == null || (_views$closingIcon = views.closingIcon) == null ? void 0 : _views$closingIcon.container), /*#__PURE__*/React__default.createElement(CloseIcon, Object.assign({
6884
+ widthHeight: 18,
6906
6885
  color: iconColor
6907
- }, styles == null || (_styles$closingIcon2 = styles.closingIcon) == null ? void 0 : _styles$closingIcon2.icon)))));
6886
+ }, views == null || (_views$closingIcon2 = views.closingIcon) == null ? void 0 : _views$closingIcon2.icon)))));
6908
6887
  };
6909
6888
 
6910
6889
  var MessageLayout = _ref => {
@@ -6919,7 +6898,7 @@ var MessageLayout = _ref => {
6919
6898
  variant,
6920
6899
  subtitle,
6921
6900
  isClosable,
6922
- styles,
6901
+ views,
6923
6902
  action,
6924
6903
  actionText,
6925
6904
  showIcon,
@@ -6951,7 +6930,7 @@ var MessageLayout = _ref => {
6951
6930
  title: title,
6952
6931
  theme: theme,
6953
6932
  isClosable: isClosable,
6954
- styles: styles,
6933
+ views: views,
6955
6934
  action: action,
6956
6935
  actionText: actionText,
6957
6936
  showIcon: showIcon,
@@ -7054,16 +7033,22 @@ var useUpload = _ref => {
7054
7033
  handleClick
7055
7034
  };
7056
7035
  };
7057
- var Uploader = _ref2 => {
7036
+
7037
+ var UploadView = _ref => {
7058
7038
  var {
7059
- accept = '*/*',
7039
+ accept,
7060
7040
  isLoading = false,
7061
7041
  progress = 0,
7062
7042
  icon,
7063
7043
  text,
7064
- maxSize,
7065
- onFileSelect,
7066
- validateFile,
7044
+ previewUrl,
7045
+ thumbnailUrl,
7046
+ errorMessage,
7047
+ fileInputRef,
7048
+ videoRef,
7049
+ selectedFile,
7050
+ handleFileChange,
7051
+ handleClick,
7067
7052
  containerProps,
7068
7053
  errorMessageProps,
7069
7054
  progressProps,
@@ -7071,120 +7056,108 @@ var Uploader = _ref2 => {
7071
7056
  imageProps,
7072
7057
  iconProps,
7073
7058
  textProps,
7074
- renderError = _ref3 => {
7059
+ fileType,
7060
+ previewUrl: externalPreviewUrl,
7061
+ renderError = _ref2 => {
7075
7062
  var {
7076
7063
  errorMessage,
7077
7064
  errorMessageProps
7078
- } = _ref3;
7065
+ } = _ref2;
7079
7066
  return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7080
7067
  color: "red",
7081
7068
  fontSize: 12,
7082
7069
  marginTop: 8
7083
- }, errorMessageProps), errorMessage);
7070
+ }, errorMessageProps, views == null ? void 0 : views.text), errorMessage);
7084
7071
  },
7085
- renderText = _ref4 => {
7072
+ renderText = _ref3 => {
7086
7073
  var {
7087
7074
  text,
7088
7075
  textProps
7089
- } = _ref4;
7076
+ } = _ref3;
7090
7077
  return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7091
7078
  marginTop: 8
7092
- }, textProps), text);
7079
+ }, textProps, views == null ? void 0 : views.text), text);
7093
7080
  },
7094
- renderFile = _ref5 => {
7081
+ renderFile = _ref4 => {
7095
7082
  var {
7096
7083
  selectedFile,
7097
7084
  textProps
7098
- } = _ref5;
7099
- return /*#__PURE__*/React__default.createElement(Center, {
7085
+ } = _ref4;
7086
+ return selectedFile ? (/*#__PURE__*/React__default.createElement(Center, Object.assign({
7100
7087
  marginTop: 8,
7101
7088
  gap: 10,
7102
7089
  flexDirection: "column"
7103
- }, /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7090
+ }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7104
7091
  maxLines: 2
7105
- }, textProps), selectedFile.name), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, textProps), "(", Math.round(selectedFile.size / 1024), " KB)"));
7092
+ }, textProps, views == null ? void 0 : views.text), selectedFile.name), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, textProps, views == null ? void 0 : views.text), "(", Math.round(selectedFile.size / 1024), " KB)"))) : null;
7106
7093
  },
7107
- renderVideo = _ref6 => {
7094
+ renderVideo = _ref5 => {
7108
7095
  var {
7109
7096
  selectedFile,
7110
7097
  thumbnailUrl,
7111
7098
  videoRef,
7112
7099
  videoProps,
7113
7100
  imageProps
7114
- } = _ref6;
7115
- console.log('thumbnailUrl', thumbnailUrl);
7116
- return /*#__PURE__*/React__default.createElement(appStudio.View, {
7101
+ } = _ref5;
7102
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7117
7103
  width: "100%",
7118
7104
  height: "100%",
7119
7105
  position: "relative"
7120
- }, /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7106
+ }, views == null ? void 0 : views.view), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7121
7107
  as: "video",
7122
- width: 0,
7123
- height: 0,
7124
- src: selectedFile == null ? void 0 : selectedFile.name,
7108
+ width: "100%",
7109
+ height: "100%",
7110
+ src: selectedFile ? URL.createObjectURL(selectedFile) : undefined,
7125
7111
  style: {
7126
7112
  objectFit: 'cover'
7127
7113
  },
7128
7114
  ref: videoRef
7129
- }, videoProps)), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
7115
+ }, videoProps, views == null ? void 0 : views.view)), thumbnailUrl && (/*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
7130
7116
  src: thumbnailUrl,
7131
7117
  alt: "Video Thumbnail",
7132
7118
  width: "100%",
7133
7119
  height: "100%",
7134
7120
  objectFit: "cover"
7135
- }, imageProps)));
7121
+ }, imageProps, views == null ? void 0 : views.image))));
7136
7122
  },
7137
- renderImage = _ref7 => {
7123
+ renderImage = _ref6 => {
7138
7124
  var {
7139
7125
  previewUrl,
7140
7126
  imageProps
7141
- } = _ref7;
7127
+ } = _ref6;
7142
7128
  return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
7143
7129
  src: previewUrl,
7144
7130
  alt: "Preview",
7145
7131
  width: "100%",
7146
7132
  height: "100%",
7147
7133
  objectFit: "cover"
7148
- }, imageProps));
7134
+ }, imageProps, views == null ? void 0 : views.image));
7149
7135
  },
7150
- renderProgress = _ref8 => {
7136
+ renderProgress = _ref7 => {
7151
7137
  var {
7152
7138
  progress,
7153
7139
  progressProps
7154
- } = _ref8;
7140
+ } = _ref7;
7155
7141
  return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
7156
7142
  gap: 8,
7157
7143
  alignItems: "center"
7158
- }, progressProps), /*#__PURE__*/React__default.createElement(appStudio.View, {
7144
+ }, progressProps, views == null ? void 0 : views.horizontal), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7159
7145
  height: 4,
7160
7146
  backgroundColor: "rgba(0,0,0,0.1)",
7161
7147
  width: "100%",
7162
7148
  borderRadius: 2
7163
- }, /*#__PURE__*/React__default.createElement(appStudio.View, {
7149
+ }, views == null ? void 0 : views.view), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7164
7150
  height: 4,
7165
7151
  width: progress + "%",
7166
- borderRadius: 2
7167
- })), /*#__PURE__*/React__default.createElement(appStudio.Text, {
7152
+ borderRadius: 2,
7153
+ backgroundColor: "#000"
7154
+ }, views == null ? void 0 : views.view))), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7168
7155
  fontSize: 12
7169
- }, progress, "%"));
7170
- }
7171
- } = _ref2;
7172
- var {
7173
- previewUrl,
7174
- thumbnailUrl,
7175
- errorMessage,
7176
- videoRef,
7177
- fileInputRef,
7178
- selectedFile,
7179
- handleFileChange,
7180
- handleClick
7181
- } = useUpload({
7182
- accept,
7183
- maxSize,
7184
- onFileSelect,
7185
- validateFile
7186
- });
7187
- var fileType = previewUrl && accept.includes('video') ? 'video' : previewUrl && accept.includes('image') ? 'image' : 'file';
7156
+ }, views == null ? void 0 : views.text), progress, "%"));
7157
+ },
7158
+ views = {}
7159
+ } = _ref;
7160
+ var finalPreviewUrl = externalPreviewUrl || previewUrl;
7188
7161
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
7189
7162
  onClick: handleClick,
7190
7163
  cursor: "pointer",
@@ -7194,29 +7167,30 @@ var Uploader = _ref2 => {
7194
7167
  flexDirection: "column",
7195
7168
  overflow: "hidden",
7196
7169
  position: "relative"
7197
- }, containerProps), progress == 100 && fileType == 'image' && previewUrl && renderImage({
7198
- previewUrl,
7170
+ }, containerProps, views == null ? void 0 : views.container), progress === 100 && fileType === 'image' && finalPreviewUrl && renderImage({
7171
+ previewUrl: finalPreviewUrl,
7199
7172
  imageProps
7200
- }), progress == 100 && fileType == 'video' && thumbnailUrl && renderVideo({
7173
+ }), progress === 100 && fileType === 'video' && thumbnailUrl && renderVideo({
7174
+ selectedFile,
7201
7175
  thumbnailUrl,
7202
7176
  videoRef,
7203
7177
  videoProps,
7204
- iconProps
7205
- }), progress == 100 && fileType == 'file' && previewUrl && renderFile({
7178
+ imageProps
7179
+ }), progress === 100 && fileType === 'file' && selectedFile && renderFile({
7206
7180
  selectedFile,
7207
7181
  textProps
7208
7182
  }), progress < 100 && (icon || /*#__PURE__*/React__default.createElement(UploadIcon, Object.assign({
7209
- size: 32
7183
+ widthHeight: 32
7210
7184
  }, iconProps))), !selectedFile && text && renderText({
7211
7185
  text,
7212
7186
  textProps
7213
7187
  }), isLoading && renderProgress({
7214
7188
  progress,
7215
7189
  progressProps
7216
- }), renderError({
7190
+ }), errorMessage && renderError({
7217
7191
  errorMessage,
7218
7192
  errorMessageProps
7219
- }), /*#__PURE__*/React__default.createElement(appStudio.View, {
7193
+ }), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7220
7194
  as: "input",
7221
7195
  type: "file",
7222
7196
  ref: fileInputRef,
@@ -7225,7 +7199,55 @@ var Uploader = _ref2 => {
7225
7199
  style: {
7226
7200
  display: 'none'
7227
7201
  }
7228
- }));
7202
+ }, views == null ? void 0 : views.view)));
7203
+ };
7204
+
7205
+ var _excluded$y = ["accept", "icon", "text", "maxSize", "onFileSelect", "validateFile", "isLoading", "progress"];
7206
+ var Uploader = _ref => {
7207
+ var {
7208
+ accept = '*/*',
7209
+ icon,
7210
+ text,
7211
+ maxSize,
7212
+ onFileSelect,
7213
+ validateFile,
7214
+ isLoading = false,
7215
+ progress = 0
7216
+ } = _ref,
7217
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
7218
+ var {
7219
+ previewUrl,
7220
+ thumbnailUrl,
7221
+ errorMessage,
7222
+ videoRef,
7223
+ fileInputRef,
7224
+ selectedFile,
7225
+ handleFileChange,
7226
+ handleClick
7227
+ } = useUpload({
7228
+ accept,
7229
+ maxSize,
7230
+ onFileSelect,
7231
+ validateFile
7232
+ });
7233
+ return /*#__PURE__*/React__default.createElement(UploadView, Object.assign({
7234
+ handleClick: handleClick,
7235
+ accept: accept,
7236
+ isLoading: isLoading,
7237
+ progress: progress,
7238
+ icon: icon,
7239
+ text: text,
7240
+ maxSize: maxSize,
7241
+ onFileSelect: onFileSelect,
7242
+ validateFile: validateFile,
7243
+ errorMessage: errorMessage,
7244
+ handleFileChange: handleFileChange,
7245
+ selectedFile: selectedFile,
7246
+ videoRef: videoRef,
7247
+ fileInputRef: fileInputRef,
7248
+ previewUrl: previewUrl,
7249
+ thumbnailUrl: thumbnailUrl
7250
+ }, props));
7229
7251
  };
7230
7252
 
7231
7253
  var useModalStore = /*#__PURE__*/zustand.create(set => ({
@@ -7329,11 +7351,11 @@ var HeaderIconSizes = {
7329
7351
  xl: 28
7330
7352
  };
7331
7353
 
7332
- var _excluded$y = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
7333
- _excluded2$7 = ["children", "shadow", "isFullScreen", "shape"],
7334
- _excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition"],
7335
- _excluded4$3 = ["children"],
7336
- _excluded5$1 = ["children"];
7354
+ var _excluded$z = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
7355
+ _excluded2$7 = ["children", "shadow", "isFullScreen", "shape", "views"],
7356
+ _excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
7357
+ _excluded4$3 = ["children", "views"],
7358
+ _excluded5$1 = ["children", "views"];
7337
7359
  var ModalOverlay = _ref => {
7338
7360
  var {
7339
7361
  children,
@@ -7341,13 +7363,14 @@ var ModalOverlay = _ref => {
7341
7363
  isOpen = false,
7342
7364
  isClosePrevented = false,
7343
7365
  onClose = () => {},
7344
- position = 'center'
7366
+ position = 'center',
7367
+ views
7345
7368
  } = _ref,
7346
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
7369
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7347
7370
  var handleClick = () => {
7348
7371
  if (!isClosePrevented) onClose();
7349
7372
  };
7350
- return /*#__PURE__*/React__default.createElement(Center, {
7373
+ return /*#__PURE__*/React__default.createElement(Layout.Center, Object.assign({
7351
7374
  position: "fixed",
7352
7375
  top: 0,
7353
7376
  left: 0,
@@ -7356,7 +7379,7 @@ var ModalOverlay = _ref => {
7356
7379
  zIndex: 1000,
7357
7380
  onClick: handleClick,
7358
7381
  visibility: isOpen ? 'visible' : 'hidden'
7359
- }, /*#__PURE__*/React__default.createElement(View, Object.assign({
7382
+ }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7360
7383
  position: "absolute",
7361
7384
  top: 0,
7362
7385
  left: 0,
@@ -7367,14 +7390,15 @@ var ModalOverlay = _ref => {
7367
7390
  backgroundColor: "color.blackAlpha.500",
7368
7391
  backdropFilter: blur ? "blur(" + blur + "px)" : undefined,
7369
7392
  onClick: handleClick
7370
- }, OverlayAlignments[position], props), children));
7393
+ }, OverlayAlignments[position], props, views == null ? void 0 : views.view), children));
7371
7394
  };
7372
7395
  var ModalContainer = _ref2 => {
7373
7396
  var {
7374
7397
  children,
7375
7398
  shadow,
7376
7399
  isFullScreen = false,
7377
- shape = 'rounded'
7400
+ shape = 'rounded',
7401
+ views
7378
7402
  } = _ref2,
7379
7403
  props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
7380
7404
  var defaultShadow = typeof document !== undefined ? {
@@ -7392,28 +7416,28 @@ var ModalContainer = _ref2 => {
7392
7416
  var handleClick = event => {
7393
7417
  if (event && event.stopPropagation) event.stopPropagation();
7394
7418
  };
7395
- return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
7419
+ return /*#__PURE__*/React__default.createElement(appStudio.Vertical, Object.assign({
7396
7420
  cursor: "default",
7397
7421
  backgroundColor: "white",
7398
7422
  width: isFullScreen ? '100%' : 600,
7399
7423
  height: isFullScreen ? '100%' : 'fit-content',
7400
7424
  onClick: handleClick
7401
- }, shadow ? shadow : defaultShadow, ContainerShapes[shape], props), children);
7425
+ }, shadow ? shadow : defaultShadow, ContainerShapes[shape], props, views == null ? void 0 : views.container), children);
7402
7426
  };
7403
7427
  var ModalHeader = _ref3 => {
7404
7428
  var {
7405
7429
  children,
7406
7430
  buttonColor = 'theme.primary',
7407
7431
  iconSize = 'md',
7408
- buttonPosition = 'right'
7432
+ buttonPosition = 'right',
7433
+ views
7409
7434
  } = _ref3,
7410
7435
  props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
7411
7436
  var onClose = props.onClose ? props.onClose : hideModal;
7412
7437
  var buttonIcon = /*#__PURE__*/React__default.createElement(Button, {
7413
7438
  onClick: onClose,
7414
- colorScheme: "transparent",
7415
7439
  icon: /*#__PURE__*/React__default.createElement(CloseIcon, {
7416
- size: HeaderIconSizes[iconSize],
7440
+ widthHeight: HeaderIconSizes[iconSize],
7417
7441
  color: buttonColor
7418
7442
  }),
7419
7443
  padding: 0,
@@ -7421,16 +7445,17 @@ var ModalHeader = _ref3 => {
7421
7445
  filter: "none",
7422
7446
  width: 0
7423
7447
  });
7424
- return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
7448
+ return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
7425
7449
  justifyContent: buttonPosition === 'none' ? 'center' : 'space-between',
7426
7450
  alignItems: "center",
7427
7451
  paddingVertical: 15,
7428
7452
  paddingHorizontal: 20
7429
- }, props), buttonPosition === 'left' && buttonIcon, children, buttonPosition === 'right' && buttonIcon);
7453
+ }, props, views == null ? void 0 : views.header), buttonPosition === 'left' && buttonIcon, children, buttonPosition === 'right' && buttonIcon);
7430
7454
  };
7431
7455
  var ModalBody = _ref4 => {
7432
7456
  var {
7433
- children
7457
+ children,
7458
+ views
7434
7459
  } = _ref4,
7435
7460
  props = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
7436
7461
  var defaultBorder = {
@@ -7439,23 +7464,24 @@ var ModalBody = _ref4 => {
7439
7464
  borderColor: 'rgba(250, 250, 250, 1)',
7440
7465
  borderStyle: 'solid'
7441
7466
  };
7442
- return /*#__PURE__*/React__default.createElement(View, Object.assign({
7467
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7443
7468
  paddingVertical: 15,
7444
7469
  paddingHorizontal: 20
7445
- }, defaultBorder, props), children);
7470
+ }, defaultBorder, props, views == null ? void 0 : views.view), children);
7446
7471
  };
7447
7472
  var ModalFooter = _ref5 => {
7448
7473
  var {
7449
- children
7474
+ children,
7475
+ views
7450
7476
  } = _ref5,
7451
7477
  props = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
7452
- return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
7478
+ return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
7453
7479
  marginTop: "auto",
7454
7480
  alignItems: "center",
7455
7481
  justifyContent: "flex-end",
7456
7482
  paddingVertical: 15,
7457
7483
  paddingHorizontal: 20
7458
- }, props), children);
7484
+ }, props, views == null ? void 0 : views.container), children);
7459
7485
  };
7460
7486
 
7461
7487
  var ModalLayout = _ref => {
@@ -7512,14 +7538,14 @@ Modal.Layout = ModalLayout;
7512
7538
 
7513
7539
  var defaultStyles = {};
7514
7540
  // Create a context that includes both styles and the onClick function
7515
- var TableContext = /*#__PURE__*/React__default.createContext({
7516
- styles: defaultStyles,
7541
+ var TableContext = /*#__PURE__*/React.createContext({
7542
+ views: defaultStyles,
7517
7543
  onRowClick: () => {}
7518
7544
  });
7519
7545
  var TableProvider = _ref => {
7520
7546
  var {
7521
7547
  children,
7522
- styles = defaultStyles,
7548
+ views = defaultStyles,
7523
7549
  onRowClick
7524
7550
  } = _ref;
7525
7551
  return (
@@ -7527,93 +7553,93 @@ var TableProvider = _ref => {
7527
7553
  // Pass both styles and onClick to the context
7528
7554
  React__default.createElement(TableContext.Provider, {
7529
7555
  value: {
7530
- styles,
7556
+ views,
7531
7557
  onRowClick
7532
7558
  }
7533
7559
  }, children)
7534
7560
  );
7535
7561
  };
7536
7562
  // Custom hook to consume the context and get the styles and onClick handler
7537
- var useTableContext = () => React__default.useContext(TableContext);
7563
+ var useTableContext = () => React.useContext(TableContext);
7538
7564
 
7539
7565
  var TableContainer = props => {
7540
7566
  var {
7541
- styles
7567
+ views
7542
7568
  } = useTableContext();
7543
7569
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7544
7570
  as: "table",
7545
7571
  borderCollapse: "collapse"
7546
- }, styles.table, props));
7572
+ }, views == null ? void 0 : views.table, props));
7547
7573
  };
7548
7574
  var TableHead = props => {
7549
7575
  var {
7550
- styles
7576
+ views
7551
7577
  } = useTableContext();
7552
7578
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7553
7579
  as: "thead",
7554
7580
  borderBottom: "0.5px solid #ddd",
7555
7581
  textAlign: "left",
7556
7582
  color: "color.gray.400"
7557
- }, styles.thead, props));
7583
+ }, views == null ? void 0 : views.thead, props));
7558
7584
  };
7559
7585
  var TableHeadCell = props => {
7560
7586
  var {
7561
- styles
7587
+ views
7562
7588
  } = useTableContext();
7563
7589
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7564
7590
  as: "th",
7565
7591
  padding: "14px",
7566
7592
  whiteSpace: "nowrap",
7567
7593
  fontWeight: "500"
7568
- }, styles.th, props));
7594
+ }, views == null ? void 0 : views.th, props));
7569
7595
  };
7570
7596
  var TableRow = props => {
7571
7597
  var {
7572
- styles,
7598
+ views,
7573
7599
  onRowClick
7574
7600
  } = useTableContext();
7575
7601
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7576
7602
  as: "tr"
7577
- }, styles.tr, {
7603
+ }, views == null ? void 0 : views.tr, {
7578
7604
  onClick: onRowClick
7579
7605
  }, props));
7580
7606
  };
7581
7607
  var TableCell = props => {
7582
7608
  var {
7583
- styles
7609
+ views
7584
7610
  } = useTableContext();
7585
7611
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7586
7612
  as: "td",
7587
7613
  padding: "14px",
7588
7614
  whiteSpace: "nowrap",
7589
7615
  fontWeight: props.isFirstColumn ? '400' : '300'
7590
- }, styles.td, props));
7616
+ }, views == null ? void 0 : views.td, props));
7591
7617
  };
7592
7618
  var TableBody = props => {
7593
7619
  var {
7594
- styles
7620
+ views
7595
7621
  } = useTableContext();
7596
7622
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7597
7623
  as: "tbody"
7598
- }, styles.tbody, props));
7624
+ }, views == null ? void 0 : views.tbody, props));
7599
7625
  };
7600
7626
  var TableFooter = props => {
7601
7627
  var {
7602
- styles
7628
+ views
7603
7629
  } = useTableContext();
7604
7630
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7605
7631
  as: "tfoot"
7606
- }, styles.tfoot, props));
7632
+ }, views == null ? void 0 : views.tfoot, props));
7607
7633
  };
7608
7634
  var TableCaption = props => {
7609
7635
  var {
7610
- styles
7636
+ views
7611
7637
  } = useTableContext();
7612
7638
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7613
7639
  as: "caption",
7614
7640
  margin: '10px 0',
7615
7641
  color: "color.gray.400"
7616
- }, styles.caption, props));
7642
+ }, views == null ? void 0 : views.caption, props));
7617
7643
  };
7618
7644
  var TableView = _ref => {
7619
7645
  var {
@@ -7639,11 +7665,11 @@ var TableView = _ref => {
7639
7665
  var Table = _ref => {
7640
7666
  var {
7641
7667
  children,
7642
- styles,
7668
+ views,
7643
7669
  onClick
7644
7670
  } = _ref;
7645
7671
  return /*#__PURE__*/React__default.createElement(TableProvider, {
7646
- styles: styles,
7672
+ views: views,
7647
7673
  onRowClick: onClick
7648
7674
  }, children);
7649
7675
  };
@@ -7710,7 +7736,7 @@ var TabsView = _ref => {
7710
7736
  // Default to empty array
7711
7737
  activeTab,
7712
7738
  handleTabClick,
7713
- styles = {},
7739
+ views = {},
7714
7740
  // Default to empty object
7715
7741
  renderTab,
7716
7742
  renderContent
@@ -7718,7 +7744,7 @@ var TabsView = _ref => {
7718
7744
  // If there's no active tab (e.g., tabs array is empty), render nothing or a placeholder
7719
7745
  if (!activeTab) {
7720
7746
  // Optionally render a placeholder when no tabs are active/available
7721
- // return <View {...styles.container}><Text>No tabs available.</Text></View>;
7747
+ // return <View {...views.container}><Text>No tabs available.</Text></View>;
7722
7748
  return null; // Or simply render nothing
7723
7749
  }
7724
7750
  return (
@@ -7727,7 +7753,7 @@ var TabsView = _ref => {
7727
7753
  React__default.createElement(Vertical, Object.assign({
7728
7754
  width: "100%",
7729
7755
  height: '100%'
7730
- }, styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({}, styles.headerTabs), tabs.map(tab => {
7756
+ }, views.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({}, views.headerTabs), tabs.map(tab => {
7731
7757
  // Determine if the current tab in the loop is the active one
7732
7758
  var isActive = tab.title === activeTab.title;
7733
7759
  // Prepare the onClick handler for this specific tab
@@ -7742,17 +7768,17 @@ var TabsView = _ref => {
7742
7768
  onClick: onClick,
7743
7769
  borderBottomLeftRadius: 0,
7744
7770
  borderBottomRightRadius: 0
7745
- }, styles.tab, isActive ? styles.activeTab : {}, {
7771
+ }, views.tab, isActive ? views.activeTab : {}, {
7746
7772
  // Example: Set variant based on active state (can be overridden by styles)
7747
7773
  variant: isActive ? 'filled' : 'ghost',
7748
7774
  cursor: "pointer" // Ensure pointer cursor
7749
7775
  }), tab.icon, /*#__PURE__*/React__default.createElement(Text
7750
7776
  // Apply base title styles and merge activeText styles if this tab is active
7751
- , Object.assign({}, styles.title, isActive ? styles.activeText : {}), tab.title));
7777
+ , Object.assign({}, views.title, isActive ? views.activeText : {}), tab.title));
7752
7778
  })), /*#__PURE__*/React__default.createElement(View, Object.assign({
7753
7779
  width: '100%',
7754
7780
  height: "100%"
7755
- }, styles.content), renderContent ? renderContent(activeTab) :
7781
+ }, views.content), renderContent ? renderContent(activeTab) :
7756
7782
  // Otherwise, render the content property from the active tab object
7757
7783
  activeTab.content))
7758
7784
  );
@@ -7765,7 +7791,7 @@ var TabsView = _ref => {
7765
7791
  var TabsComponent = _ref => {
7766
7792
  var {
7767
7793
  tabs,
7768
- styles,
7794
+ views,
7769
7795
  initialTabValue,
7770
7796
  onTabChange,
7771
7797
  renderTab,
@@ -7790,7 +7816,7 @@ var TabsComponent = _ref => {
7790
7816
  // Render the presentation component with the necessary props
7791
7817
  return /*#__PURE__*/React__default.createElement(TabsView, {
7792
7818
  tabs: tabs,
7793
- styles: styles,
7819
+ views: views,
7794
7820
  activeTab: activeTab,
7795
7821
  handleTabClick: handleTabClick,
7796
7822
  renderTab: renderTab,
@@ -7815,34 +7841,28 @@ var useToggleState = defaultToggled => {
7815
7841
  };
7816
7842
  };
7817
7843
 
7818
- var ToggleShapes = {
7819
- sharp: 0,
7820
- rounded: 4,
7821
- pillShaped: 24
7822
- };
7823
-
7824
- var _excluded$z = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
7844
+ var _excluded$A = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views"];
7825
7845
  var ToggleView = _ref => {
7826
7846
  var {
7827
7847
  children,
7828
7848
  shape = 'rounded',
7829
- colorScheme = 'color.trueGray.400',
7830
7849
  variant = 'ghost',
7831
7850
  isHovered,
7832
7851
  setIsHovered,
7833
7852
  isDisabled,
7834
7853
  isToggle,
7835
7854
  setIsToggled,
7836
- onToggle
7855
+ onToggle,
7856
+ views
7837
7857
  } = _ref,
7838
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7839
- var toggleColor = !isDisabled ? colorScheme : 'theme.disabled';
7858
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
7859
+ var toggleColor = !isDisabled ? 'color.trueGray.400' : 'theme.disabled';
7840
7860
  var isActive = !!(isToggle || isHovered);
7841
- var ToggleVariants = {
7861
+ var toggleVariants = {
7842
7862
  outline: {
7843
7863
  borderWidth: 1,
7844
7864
  borderStyle: 'solid',
7845
- borderColor: colorScheme
7865
+ borderColor: 'color.trueGray.400'
7846
7866
  },
7847
7867
  link: {
7848
7868
  borderWidth: 1,
@@ -7852,6 +7872,7 @@ var ToggleView = _ref => {
7852
7872
  },
7853
7873
  ghost: {}
7854
7874
  };
7875
+ var handleHover = () => setIsHovered(!isHovered);
7855
7876
  var handleToggle = () => {
7856
7877
  if (!isDisabled) {
7857
7878
  setIsToggled(prev => {
@@ -7869,28 +7890,27 @@ var ToggleView = _ref => {
7869
7890
  width: "fit-content",
7870
7891
  color: isActive ? 'color.white' : toggleColor,
7871
7892
  backgroundColor: isActive ? toggleColor : 'transparent',
7872
- onMouseEnter: () => setIsHovered(true),
7893
+ onMouseEnter: handleHover,
7873
7894
  onMouseLeave: () => setIsHovered(false),
7874
7895
  cursor: isDisabled ? 'not-allowed' : 'pointer',
7875
- borderRadius: ToggleShapes[shape],
7896
+ borderRadius: shape === 'pillShaped' ? '50px' : '8px',
7876
7897
  onClick: handleToggle
7877
- }, ToggleVariants[variant], props), children);
7898
+ }, toggleVariants[variant], props, views == null ? void 0 : views.container), children);
7878
7899
  };
7879
7900
 
7880
- var _excluded$A = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
7901
+ var _excluded$B = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
7881
7902
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
7882
7903
  var ToggleComponent = _ref => {
7883
7904
  var {
7884
7905
  children,
7885
7906
  shape,
7886
- colorScheme,
7887
7907
  variant,
7888
7908
  isDisabled,
7889
7909
  // Assigning a default value of false to the isToggled property if none is provided.
7890
7910
  isToggled = false,
7891
7911
  onToggle
7892
7912
  } = _ref,
7893
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
7913
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
7894
7914
  // Initializing toggle state and set state functions using the custom hook useToggleState.
7895
7915
  var {
7896
7916
  isHovered,
@@ -7905,7 +7925,6 @@ var ToggleComponent = _ref => {
7905
7925
  // Beginning of the JSX block to render the Toggle view component.
7906
7926
  return /*#__PURE__*/React__default.createElement(ToggleView, Object.assign({
7907
7927
  shape: shape,
7908
- colorScheme: colorScheme,
7909
7928
  variant: variant,
7910
7929
  isDisabled: isDisabled,
7911
7930
  isHovered: isHovered,
@@ -7941,8 +7960,7 @@ var ToggleGroupView = _ref => {
7941
7960
  shape = 'rounded',
7942
7961
  // Prop 'variant' with default value 'ghost' represents the visual style variant of the toggles.
7943
7962
  variant = 'ghost',
7944
- // Prop 'colorScheme' with default value 'color.trueGray.400' sets the color theme for toggles.
7945
- colorScheme = 'color.trueGray.400'
7963
+ views
7946
7964
  } = _ref;
7947
7965
  // handleToggle is a memoized callback that handles the toggle state changes.
7948
7966
  var handleToggle = React.useCallback((id, isActive) => {
@@ -7957,19 +7975,19 @@ var ToggleGroupView = _ref => {
7957
7975
  return newActiveToggles;
7958
7976
  });
7959
7977
  }, [onToggleChange, setActiveToggles]);
7960
- return /*#__PURE__*/React__default.createElement(Horizontal, {
7978
+ return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
7961
7979
  role: "ToggleGroup",
7962
7980
  display: "flex",
7963
7981
  gap: 5
7964
- }, items.map(item => (/*#__PURE__*/React__default.createElement(Toggle, {
7982
+ }, views == null ? void 0 : views.container), items.map(item => (/*#__PURE__*/React__default.createElement(Toggle, {
7965
7983
  role: "toggle-" + item.id,
7966
7984
  key: item.id,
7967
- colorScheme: colorScheme,
7968
7985
  shape: shape,
7969
7986
  variant: variant,
7970
7987
  isToggled: activeToggles.includes(item.id) || item.isActive,
7971
7988
  onToggle: state => handleToggle(item.id, state),
7972
- isDisabled: item.isDisabled
7989
+ isDisabled: item.isDisabled,
7990
+ views: views == null ? void 0 : views.toggle
7973
7991
  }, item.value))));
7974
7992
  };
7975
7993
 
@@ -7980,8 +7998,6 @@ var ToggleGroupComponent = _ref => {
7980
7998
  items,
7981
7999
  // Destructure 'shape' prop to define the shape of the toggle buttons
7982
8000
  shape,
7983
- // Destructure 'colorScheme' prop for toggle button styling
7984
- colorScheme,
7985
8001
  // Destructure 'variant' prop to determine the visual style of the toggle group
7986
8002
  variant,
7987
8003
  // Destructure 'onToggleChange' prop for the callback when toggle state changes
@@ -7995,7 +8011,6 @@ var ToggleGroupComponent = _ref => {
7995
8011
  return /*#__PURE__*/React__default.createElement(ToggleGroupView, {
7996
8012
  items: items,
7997
8013
  shape: shape,
7998
- colorScheme: colorScheme,
7999
8014
  variant: variant,
8000
8015
  activeToggles: activeToggles,
8001
8016
  setActiveToggles: setActiveToggles,
@@ -8101,12 +8116,13 @@ var DragAndDropView = _ref => {
8101
8116
  itemProps,
8102
8117
  draggedIndex,
8103
8118
  itemRefs,
8104
- handleDragStart
8119
+ handleDragStart,
8120
+ views
8105
8121
  } = _ref;
8106
8122
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
8107
8123
  overflow: "hidden",
8108
8124
  position: "relative"
8109
- }, containerProps), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
8125
+ }, containerProps, views == null ? void 0 : views.container), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
8110
8126
  key: index,
8111
8127
  ref: el => itemRefs.current[index] = el,
8112
8128
  onMouseDown: e => handleDragStart(e, index),
@@ -8115,7 +8131,7 @@ var DragAndDropView = _ref => {
8115
8131
  cursor: "grab",
8116
8132
  transition: "transform 0.2s",
8117
8133
  backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
8118
- }, itemProps), renderItem ? renderItem(item, index) : item))));
8134
+ }, itemProps, views == null ? void 0 : views.item), renderItem ? renderItem(item, index) : item))));
8119
8135
  };
8120
8136
 
8121
8137
  var DragAndDropComponent = props => {
@@ -8249,12 +8265,10 @@ exports.WarningIcon = WarningIcon;
8249
8265
  exports.WifiIcon = WifiIcon;
8250
8266
  exports.XIcon = XIcon;
8251
8267
  exports.YoutubeIcon = YoutubeIcon;
8252
- exports.generateThumbnail = generateThumbnail;
8253
8268
  exports.hideMessage = hideMessage;
8254
8269
  exports.hideModal = hideModal;
8255
8270
  exports.showMessage = showMessage;
8256
8271
  exports.showModal = showModal;
8257
8272
  exports.useMessageStore = useMessageStore;
8258
8273
  exports.useModalStore = useModalStore;
8259
- exports.useUpload = useUpload;
8260
8274
  //# sourceMappingURL=web.cjs.development.js.map