@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
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.symbol.description.js'), require('react'), require('core-js/modules/es.object.assign.js'), require('app-studio'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('react-router-dom'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/es.string.starts-with.js'), require('date-fns/format'), require('formik'), require('core-js/modules/web.url.js'), require('core-js/modules/web.url.to-json.js'), require('core-js/modules/web.url-search-params.js'), require('zustand')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.symbol.description.js', 'react', 'core-js/modules/es.object.assign.js', 'app-studio', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/web.dom-collections.iterator.js', 'react-router-dom', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/es.string.starts-with.js', 'date-fns/format', 'formik', 'core-js/modules/web.url.js', 'core-js/modules/web.url.to-json.js', 'core-js/modules/web.url-search-params.js', 'zustand'], factory) :
4
- (global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, global.appStudio, null, null, null, global.reactRouterDom, null, null, null, global.format, global.formik, null, null, null, global.zustand));
5
- }(this, (function (exports, es_symbol_description_js, React, es_object_assign_js, appStudio, es_array_iterator_js, es_parseFloat_js, web_domCollections_iterator_js, reactRouterDom, es_array_includes_js, es_string_includes_js, es_string_startsWith_js, format, formik, web_url_js, web_url_toJson_js, web_urlSearchParams_js, zustand) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.symbol.description.js'), require('react'), require('core-js/modules/es.object.assign.js'), require('app-studio'), require('core-js/modules/es.array.iterator.js'), require('core-js/modules/es.parse-float.js'), require('core-js/modules/web.dom-collections.iterator.js'), require('react-router-dom'), require('core-js/modules/es.array.includes.js'), require('core-js/modules/es.string.includes.js'), require('core-js/modules/es.string.starts-with.js'), require('date-fns/format'), require('formik'), require('core-js/modules/web.url.js'), require('core-js/modules/web.url.to-json.js'), require('core-js/modules/web.url-search-params.js'), require('zustand'), require('src/components/Layout')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.symbol.description.js', 'react', 'core-js/modules/es.object.assign.js', 'app-studio', 'core-js/modules/es.array.iterator.js', 'core-js/modules/es.parse-float.js', 'core-js/modules/web.dom-collections.iterator.js', 'react-router-dom', 'core-js/modules/es.array.includes.js', 'core-js/modules/es.string.includes.js', 'core-js/modules/es.string.starts-with.js', 'date-fns/format', 'formik', 'core-js/modules/web.url.js', 'core-js/modules/web.url.to-json.js', 'core-js/modules/web.url-search-params.js', 'zustand', 'src/components/Layout'], factory) :
4
+ (global = global || self, factory(global['@app-studio/web'] = {}, null, global.React, null, global.appStudio, null, null, null, global.reactRouterDom, null, null, null, global.format, global.formik, null, null, null, global.zustand, global.Layout));
5
+ }(this, (function (exports, es_symbol_description_js, React, es_object_assign_js, appStudio, es_array_iterator_js, es_parseFloat_js, web_domCollections_iterator_js, reactRouterDom, es_array_includes_js, es_string_includes_js, es_string_startsWith_js, format, formik, web_url_js, web_url_toJson_js, web_urlSearchParams_js, zustand, Layout) { 'use strict';
6
6
 
7
7
  var React__default = 'default' in React ? React['default'] : React;
8
8
  format = format && Object.prototype.hasOwnProperty.call(format, 'default') ? format['default'] : format;
@@ -68,19 +68,25 @@
68
68
  }
69
69
  };
70
70
 
71
- var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size"];
71
+ var _excluded = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size", "views"];
72
72
  var TextContent = _ref => {
73
73
  var {
74
74
  children,
75
75
  isSub,
76
- isSup
76
+ isSup,
77
+ views
77
78
  } = _ref;
78
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, isSub && /*#__PURE__*/React__default.createElement("sup", null, children), isSup && /*#__PURE__*/React__default.createElement("sup", null, children), !isSub && !isSup && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children))) : children);
79
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, isSub && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
80
+ as: "sup"
81
+ }, views == null ? void 0 : views.sup), children)), isSup && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
82
+ as: "sup"
83
+ }, views == null ? void 0 : views.sup), children)), !isSub && !isSup && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children))) : children);
79
84
  };
80
85
  var TruncateText = _ref2 => {
81
86
  var {
82
87
  text,
83
- maxLines = 1
88
+ maxLines = 1,
89
+ views
84
90
  } = _ref2;
85
91
  var containerRef = React.useRef(null);
86
92
  var [truncatedLength, setTruncatedLength] = React.useState(text.length);
@@ -109,9 +115,9 @@
109
115
  updateTruncatedText();
110
116
  }, [text, maxLines]);
111
117
  var displayText = text.length > truncatedLength ? text.substring(0, truncatedLength) + '...' : text;
112
- return /*#__PURE__*/React__default.createElement("div", {
118
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
113
119
  ref: containerRef
114
- }, displayText);
120
+ }, views == null ? void 0 : views.truncateText), displayText);
115
121
  };
116
122
  var TextView = _ref3 => {
117
123
  var {
@@ -124,7 +130,8 @@
124
130
  isSup = false,
125
131
  isStriked = false,
126
132
  weight = 'normal',
127
- size = 'md'
133
+ size = 'md',
134
+ views
128
135
  } = _ref3,
129
136
  props = _objectWithoutPropertiesLoose(_ref3, _excluded);
130
137
  var headingStyles = heading ? HeadingSizes[heading] : {};
@@ -138,13 +145,13 @@
138
145
  fontStyle: isItalic ? 'italic' : 'normal',
139
146
  fontWeight: appStudio.Typography.fontWeights[weight],
140
147
  textDecoration: isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'
141
- }, noLineBreak, headingStyles, props), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
148
+ }, noLineBreak, headingStyles, props, views == null ? void 0 : views.container), maxLines && typeof children === 'string' ? (/*#__PURE__*/React__default.createElement(TruncateText, {
142
149
  text: children,
143
150
  maxLines: maxLines
144
- })) : (/*#__PURE__*/React__default.createElement(TextContent, Object.assign({
151
+ })) : (/*#__PURE__*/React__default.createElement(TextContent, {
145
152
  isSub: isSub,
146
153
  isSup: isSup
147
- }, props), children)));
154
+ }, children)));
148
155
  };
149
156
 
150
157
  var TextComponent = props => {
@@ -209,74 +216,74 @@
209
216
  CenterBase.displayName = 'Center';
210
217
  var Center = CenterBase;
211
218
 
212
- var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
213
- _excluded2 = ["size", "color", "filled", "strokeWidth"],
214
- _excluded3 = ["size", "color", "filled", "strokeWidth"],
215
- _excluded4 = ["size", "color", "filled", "strokeWidth"],
216
- _excluded5 = ["size", "color", "filled", "strokeWidth"],
217
- _excluded6 = ["size", "color", "filled", "strokeWidth"],
218
- _excluded7 = ["size", "color", "filled", "strokeWidth"],
219
- _excluded8 = ["size", "color", "filled", "strokeWidth"],
220
- _excluded9 = ["size", "color", "filled", "strokeWidth"],
221
- _excluded10 = ["size", "color", "filled", "strokeWidth"],
222
- _excluded11 = ["size", "color", "filled", "strokeWidth"],
223
- _excluded12 = ["size", "color", "filled", "strokeWidth"],
224
- _excluded13 = ["size", "color", "filled", "strokeWidth"],
225
- _excluded14 = ["size", "color", "filled", "strokeWidth"],
226
- _excluded15 = ["size", "color", "filled", "strokeWidth"],
227
- _excluded16 = ["size", "color", "filled", "strokeWidth"],
228
- _excluded17 = ["size", "color", "filled", "strokeWidth"],
229
- _excluded18 = ["size", "color", "filled", "strokeWidth"],
230
- _excluded19 = ["size", "color", "filled", "strokeWidth"],
231
- _excluded20 = ["size", "color", "filled", "strokeWidth"],
232
- _excluded21 = ["size", "color", "filled", "strokeWidth"],
233
- _excluded22 = ["size", "color", "filled", "strokeWidth"],
234
- _excluded23 = ["size", "color", "filled", "strokeWidth"],
235
- _excluded24 = ["size", "color", "filled", "strokeWidth"],
236
- _excluded25 = ["size", "color", "filled", "strokeWidth"],
237
- _excluded26 = ["size", "color", "filled", "strokeWidth"],
238
- _excluded27 = ["size", "color", "filled", "strokeWidth"],
239
- _excluded28 = ["size", "color", "filled", "strokeWidth"],
240
- _excluded29 = ["size", "color", "filled", "strokeWidth"],
241
- _excluded30 = ["size", "color", "strokeWidth", "filled"],
242
- _excluded31 = ["size", "color", "filled", "strokeWidth"],
243
- _excluded32 = ["size", "color", "strokeWidth", "filled"],
244
- _excluded33 = ["size", "color", "filled", "strokeWidth"],
245
- _excluded34 = ["size", "color", "strokeWidth", "filled"],
246
- _excluded35 = ["size", "color", "filled", "strokeWidth"],
247
- _excluded36 = ["size", "color", "strokeWidth", "filled"],
248
- _excluded37 = ["size", "color", "filled", "strokeWidth"],
249
- _excluded38 = ["size", "color", "filled", "strokeWidth"],
250
- _excluded39 = ["size", "color", "filled", "strokeWidth"],
251
- _excluded40 = ["size", "color", "filled", "strokeWidth"],
252
- _excluded41 = ["size", "color", "filled", "strokeWidth"],
253
- _excluded42 = ["size", "color", "filled", "strokeWidth"],
254
- _excluded43 = ["size", "color", "filled", "strokeWidth"],
255
- _excluded44 = ["size", "color", "filled", "strokeWidth"],
256
- _excluded45 = ["size", "color", "filled", "strokeWidth"],
257
- _excluded46 = ["size", "color", "filled", "strokeWidth"],
258
- _excluded47 = ["size", "color", "filled", "strokeWidth"],
259
- _excluded48 = ["size", "color", "filled", "strokeWidth"],
260
- _excluded49 = ["size", "color", "strokeWidth", "filled"],
261
- _excluded50 = ["size", "color", "strokeWidth", "filled"],
262
- _excluded51 = ["size", "color", "filled", "strokeWidth"],
263
- _excluded52 = ["size", "color", "filled", "strokeWidth"],
264
- _excluded53 = ["size", "color", "filled", "strokeWidth"],
265
- _excluded54 = ["size", "color", "filled", "strokeWidth"],
266
- _excluded55 = ["size", "color", "filled", "strokeWidth"],
267
- _excluded56 = ["size", "color", "filled", "strokeWidth"],
268
- _excluded57 = ["size", "color", "filled", "strokeWidth"],
269
- _excluded58 = ["size", "color", "filled", "strokeWidth"],
270
- _excluded59 = ["size", "color", "filled", "strokeWidth"],
271
- _excluded60 = ["size", "color", "filled", "strokeWidth"],
272
- _excluded61 = ["size", "color", "filled", "strokeWidth"],
273
- _excluded62 = ["size", "color", "filled", "strokeWidth"],
274
- _excluded63 = ["size", "color", "filled", "strokeWidth"],
275
- _excluded64 = ["size", "color", "strokeWidth", "filled"];
219
+ var _excluded$4 = ["widthHeight", "color", "transform", "orientation", "children"],
220
+ _excluded2 = ["widthHeight", "color", "filled", "strokeWidth"],
221
+ _excluded3 = ["widthHeight", "color", "filled", "strokeWidth"],
222
+ _excluded4 = ["widthHeight", "color", "filled", "strokeWidth"],
223
+ _excluded5 = ["widthHeight", "color", "filled", "strokeWidth"],
224
+ _excluded6 = ["widthHeight", "color", "filled", "strokeWidth"],
225
+ _excluded7 = ["widthHeight", "color", "filled", "strokeWidth"],
226
+ _excluded8 = ["widthHeight", "color", "filled", "strokeWidth"],
227
+ _excluded9 = ["widthHeight", "color", "filled", "strokeWidth"],
228
+ _excluded10 = ["widthHeight", "color", "filled", "strokeWidth"],
229
+ _excluded11 = ["widthHeight", "color", "filled", "strokeWidth"],
230
+ _excluded12 = ["widthHeight", "color", "filled", "strokeWidth"],
231
+ _excluded13 = ["widthHeight", "color", "filled", "strokeWidth"],
232
+ _excluded14 = ["widthHeight", "color", "filled", "strokeWidth"],
233
+ _excluded15 = ["widthHeight", "color", "filled", "strokeWidth"],
234
+ _excluded16 = ["widthHeight", "color", "filled", "strokeWidth"],
235
+ _excluded17 = ["widthHeight", "color", "filled", "strokeWidth"],
236
+ _excluded18 = ["widthHeight", "color", "filled", "strokeWidth"],
237
+ _excluded19 = ["widthHeight", "color", "filled", "strokeWidth"],
238
+ _excluded20 = ["widthHeight", "color", "filled", "strokeWidth"],
239
+ _excluded21 = ["widthHeight", "color", "filled", "strokeWidth"],
240
+ _excluded22 = ["widthHeight", "color", "filled", "strokeWidth"],
241
+ _excluded23 = ["widthHeight", "color", "filled", "strokeWidth"],
242
+ _excluded24 = ["widthHeight", "color", "filled", "strokeWidth"],
243
+ _excluded25 = ["widthHeight", "color", "filled", "strokeWidth"],
244
+ _excluded26 = ["widthHeight", "color", "filled", "strokeWidth"],
245
+ _excluded27 = ["widthHeight", "color", "filled", "strokeWidth"],
246
+ _excluded28 = ["widthHeight", "color", "filled", "strokeWidth"],
247
+ _excluded29 = ["widthHeight", "color", "filled", "strokeWidth"],
248
+ _excluded30 = ["widthHeight", "color", "strokeWidth", "filled"],
249
+ _excluded31 = ["widthHeight", "color", "filled", "strokeWidth"],
250
+ _excluded32 = ["widthHeight", "color", "strokeWidth", "filled"],
251
+ _excluded33 = ["widthHeight", "color", "filled", "strokeWidth"],
252
+ _excluded34 = ["widthHeight", "color", "strokeWidth", "filled"],
253
+ _excluded35 = ["widthHeight", "color", "filled", "strokeWidth"],
254
+ _excluded36 = ["widthHeight", "color", "strokeWidth", "filled"],
255
+ _excluded37 = ["widthHeight", "color", "filled", "strokeWidth"],
256
+ _excluded38 = ["widthHeight", "color", "filled", "strokeWidth"],
257
+ _excluded39 = ["widthHeight", "color", "filled", "strokeWidth"],
258
+ _excluded40 = ["widthHeight", "color", "filled", "strokeWidth"],
259
+ _excluded41 = ["widthHeight", "color", "filled", "strokeWidth"],
260
+ _excluded42 = ["widthHeight", "color", "filled", "strokeWidth"],
261
+ _excluded43 = ["widthHeight", "color", "filled", "strokeWidth"],
262
+ _excluded44 = ["widthHeight", "color", "filled", "strokeWidth"],
263
+ _excluded45 = ["widthHeight", "color", "filled", "strokeWidth"],
264
+ _excluded46 = ["widthHeight", "color", "filled", "strokeWidth"],
265
+ _excluded47 = ["widthHeight", "color", "filled", "strokeWidth"],
266
+ _excluded48 = ["widthHeight", "color", "filled", "strokeWidth"],
267
+ _excluded49 = ["widthHeight", "color", "strokeWidth", "filled"],
268
+ _excluded50 = ["widthHeight", "color", "strokeWidth", "filled"],
269
+ _excluded51 = ["widthHeight", "color", "filled", "strokeWidth"],
270
+ _excluded52 = ["widthHeight", "color", "filled", "strokeWidth"],
271
+ _excluded53 = ["widthHeight", "color", "filled", "strokeWidth"],
272
+ _excluded54 = ["widthHeight", "color", "filled", "strokeWidth"],
273
+ _excluded55 = ["widthHeight", "color", "filled", "strokeWidth"],
274
+ _excluded56 = ["widthHeight", "color", "filled", "strokeWidth"],
275
+ _excluded57 = ["widthHeight", "color", "filled", "strokeWidth"],
276
+ _excluded58 = ["widthHeight", "color", "filled", "strokeWidth"],
277
+ _excluded59 = ["widthHeight", "color", "filled", "strokeWidth"],
278
+ _excluded60 = ["widthHeight", "color", "filled", "strokeWidth"],
279
+ _excluded61 = ["widthHeight", "color", "filled", "strokeWidth"],
280
+ _excluded62 = ["widthHeight", "color", "filled", "strokeWidth"],
281
+ _excluded63 = ["widthHeight", "color", "filled", "strokeWidth"],
282
+ _excluded64 = ["widthHeight", "color", "strokeWidth", "filled"];
276
283
  // Default wrapper component for consistent sizing and styling
277
284
  var IconWrapper = _ref => {
278
285
  var {
279
- size,
286
+ widthHeight,
280
287
  color = 'black',
281
288
  transform,
282
289
  orientation = 'up',
@@ -284,8 +291,8 @@
284
291
  } = _ref,
285
292
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
286
293
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
287
- size: size,
288
- lineHeight: size,
294
+ widthHeight: widthHeight,
295
+ lineHeight: widthHeight,
289
296
  color: color,
290
297
  display: "flex",
291
298
  transform: transform ? transform : orientation === 'left' ? 'rotate(-90deg)' : orientation === 'right' ? 'rotate(90deg)' : orientation === 'up' ? 'rotate(0deg)' : orientation === 'down' ? 'rotate(180deg)' : 'none'
@@ -304,14 +311,14 @@
304
311
  // Example Icon Component: ChevronIcon
305
312
  var ChevronIcon = _ref2 => {
306
313
  var {
307
- size = 24,
314
+ widthHeight = 24,
308
315
  color = 'currentColor',
309
316
  filled = true,
310
317
  strokeWidth = 1
311
318
  } = _ref2,
312
319
  props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
313
320
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
314
- size: size,
321
+ widthHeight: widthHeight,
315
322
  color: color
316
323
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
317
324
  viewBox: "0 0 24 24",
@@ -323,14 +330,14 @@
323
330
  };
324
331
  var DragHandleIcon = _ref3 => {
325
332
  var {
326
- size = 24,
333
+ widthHeight = 24,
327
334
  color = 'currentColor',
328
335
  filled = true,
329
336
  strokeWidth = 1
330
337
  } = _ref3,
331
338
  props = _objectWithoutPropertiesLoose(_ref3, _excluded3);
332
339
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
333
- size: size,
340
+ widthHeight: widthHeight,
334
341
  color: color
335
342
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
336
343
  viewBox: "0 0 24 24",
@@ -365,14 +372,14 @@
365
372
  // File Icon Component
366
373
  var FileIcon = _ref4 => {
367
374
  var {
368
- size = 24,
375
+ widthHeight = 24,
369
376
  color = 'currentColor',
370
377
  filled = true,
371
378
  strokeWidth = 1
372
379
  } = _ref4,
373
380
  props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
374
381
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
375
- size: size,
382
+ widthHeight: widthHeight,
376
383
  color: color
377
384
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
378
385
  viewBox: "0 0 24 24",
@@ -393,14 +400,14 @@
393
400
  // Video Icon Component
394
401
  var VideoIcon = _ref5 => {
395
402
  var {
396
- size = 24,
403
+ widthHeight = 24,
397
404
  color = 'currentColor',
398
405
  filled = true,
399
406
  strokeWidth = 1
400
407
  } = _ref5,
401
408
  props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
402
409
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
403
- size: size,
410
+ widthHeight: widthHeight,
404
411
  color: color
405
412
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
406
413
  viewBox: "0 0 24 24",
@@ -426,14 +433,14 @@
426
433
  // Image Icon Component
427
434
  var ImageIcon = _ref6 => {
428
435
  var {
429
- size = 24,
436
+ widthHeight = 24,
430
437
  color = 'currentColor',
431
438
  filled = true,
432
439
  strokeWidth = 1
433
440
  } = _ref6,
434
441
  props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
435
442
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
436
- size: size,
443
+ widthHeight: widthHeight,
437
444
  color: color
438
445
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
439
446
  viewBox: "0 0 24 24",
@@ -465,14 +472,14 @@
465
472
  };
466
473
  var TwitterIcon = _ref7 => {
467
474
  var {
468
- size = 24,
475
+ widthHeight = 24,
469
476
  color = 'currentColor',
470
477
  filled = true,
471
478
  strokeWidth = 1
472
479
  } = _ref7,
473
480
  props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
474
481
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
475
- size: size,
482
+ widthHeight: widthHeight,
476
483
  color: color
477
484
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
478
485
  viewBox: "0 0 24 24",
@@ -487,14 +494,14 @@
487
494
  };
488
495
  var XIcon = _ref8 => {
489
496
  var {
490
- size = 24,
497
+ widthHeight = 24,
491
498
  color = 'currentColor',
492
499
  filled = true,
493
500
  strokeWidth = 1
494
501
  } = _ref8,
495
502
  props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
496
503
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
497
- size: size,
504
+ widthHeight: widthHeight,
498
505
  color: color
499
506
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
500
507
  viewBox: "0 0 24 24",
@@ -510,14 +517,14 @@
510
517
  // Example of a Twitch Icon
511
518
  var TwitchIcon = _ref9 => {
512
519
  var {
513
- size = 24,
520
+ widthHeight = 24,
514
521
  color = 'currentColor',
515
522
  filled = true,
516
523
  strokeWidth = 1
517
524
  } = _ref9,
518
525
  props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
519
526
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
520
- size: size,
527
+ widthHeight: widthHeight,
521
528
  color: color
522
529
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
523
530
  viewBox: "0 0 24 24",
@@ -538,14 +545,14 @@
538
545
  // Example of another Icon: CloseIcon
539
546
  var CloseIcon = _ref10 => {
540
547
  var {
541
- size = 24,
548
+ widthHeight = 24,
542
549
  color = 'currentColor',
543
550
  filled = false,
544
551
  strokeWidth = 1
545
552
  } = _ref10,
546
553
  props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
547
554
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
548
- size: size,
555
+ widthHeight: widthHeight,
549
556
  color: color
550
557
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
551
558
  viewBox: "0 0 24 24",
@@ -567,14 +574,14 @@
567
574
  };
568
575
  var InstagramIcon = _ref11 => {
569
576
  var {
570
- size = 24,
577
+ widthHeight = 24,
571
578
  color = 'currentColor',
572
579
  filled = false,
573
580
  strokeWidth = 1
574
581
  } = _ref11,
575
582
  props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
576
583
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
577
- size: size,
584
+ widthHeight: widthHeight,
578
585
  color: color
579
586
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
580
587
  viewBox: "0 0 24 24",
@@ -598,14 +605,14 @@
598
605
  };
599
606
  var YoutubeIcon = _ref12 => {
600
607
  var {
601
- size = 24,
608
+ widthHeight = 24,
602
609
  color = 'currentColor',
603
610
  filled = true,
604
611
  strokeWidth = 1
605
612
  } = _ref12,
606
613
  props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
607
614
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
608
- size: size,
615
+ widthHeight: widthHeight,
609
616
  color: color
610
617
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
611
618
  viewBox: "0 0 24 24",
@@ -626,14 +633,14 @@
626
633
  };
627
634
  var FacebookIcon = _ref13 => {
628
635
  var {
629
- size = 24,
636
+ widthHeight = 24,
630
637
  color = 'currentColor',
631
638
  filled = true,
632
639
  strokeWidth = 1
633
640
  } = _ref13,
634
641
  props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
635
642
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
636
- size: size,
643
+ widthHeight: widthHeight,
637
644
  color: color
638
645
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
639
646
  viewBox: "0 0 24 24",
@@ -648,14 +655,14 @@
648
655
  };
649
656
  var LinkedinIcon = _ref14 => {
650
657
  var {
651
- size = 24,
658
+ widthHeight = 24,
652
659
  color = 'currentColor',
653
660
  filled = true,
654
661
  strokeWidth = 1
655
662
  } = _ref14,
656
663
  props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
657
664
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
658
- size: size,
665
+ widthHeight: widthHeight,
659
666
  color: color
660
667
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
661
668
  viewBox: "0 0 24 24"
@@ -674,14 +681,14 @@
674
681
  };
675
682
  var ThreadsIcon = _ref15 => {
676
683
  var {
677
- size = 24,
684
+ widthHeight = 24,
678
685
  color = 'currentColor',
679
686
  filled = false,
680
687
  strokeWidth = 1
681
688
  } = _ref15,
682
689
  props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
683
690
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
684
- size: size,
691
+ widthHeight: widthHeight,
685
692
  color: color
686
693
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
687
694
  viewBox: "0 0 24 24"
@@ -696,7 +703,7 @@
696
703
  // Example Refactored Icon: MinusIcon without undefined 'padding' prop
697
704
  var MinusIcon = _ref16 => {
698
705
  var {
699
- size = 24,
706
+ widthHeight = 24,
700
707
  color = 'currentColor',
701
708
  filled = false,
702
709
  // Assuming minus can be filled; adjust as needed
@@ -704,7 +711,7 @@
704
711
  } = _ref16,
705
712
  props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
706
713
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
707
- size: size,
714
+ widthHeight: widthHeight,
708
715
  color: color
709
716
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
710
717
  viewBox: "0 0 24 24",
@@ -721,14 +728,14 @@
721
728
  // Example Refactored Icon: InfoIcon with accessibility enhancements
722
729
  var InfoIcon = _ref17 => {
723
730
  var {
724
- size = 24,
731
+ widthHeight = 24,
725
732
  color = 'currentColor',
726
733
  filled = false,
727
734
  strokeWidth = 1
728
735
  } = _ref17,
729
736
  props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
730
737
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
731
- size: size,
738
+ widthHeight: widthHeight,
732
739
  color: color
733
740
  }, props, {
734
741
  "aria-label": "Information"
@@ -742,14 +749,14 @@
742
749
  };
743
750
  var PlayIcon = _ref18 => {
744
751
  var {
745
- size = 24,
752
+ widthHeight = 24,
746
753
  color = 'currentColor',
747
754
  filled = true,
748
755
  strokeWidth = 1
749
756
  } = _ref18,
750
757
  props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
751
758
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
752
- size: size,
759
+ widthHeight: widthHeight,
753
760
  color: color
754
761
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
755
762
  viewBox: "0 0 24 24",
@@ -761,14 +768,14 @@
761
768
  };
762
769
  var PauseIcon = _ref19 => {
763
770
  var {
764
- size = 24,
771
+ widthHeight = 24,
765
772
  color = 'currentColor',
766
773
  filled = true,
767
774
  strokeWidth = 1
768
775
  } = _ref19,
769
776
  props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
770
777
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
771
- size: size,
778
+ widthHeight: widthHeight,
772
779
  color: color
773
780
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
774
781
  viewBox: "0 0 24 24",
@@ -780,14 +787,14 @@
780
787
  };
781
788
  var HeartIcon = _ref20 => {
782
789
  var {
783
- size = 24,
790
+ widthHeight = 24,
784
791
  color = 'currentColor',
785
792
  filled = true,
786
793
  strokeWidth = 1
787
794
  } = _ref20,
788
795
  props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
789
796
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
790
- size: size,
797
+ widthHeight: widthHeight,
791
798
  color: color
792
799
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
793
800
  viewBox: "0 0 24 24",
@@ -799,14 +806,14 @@
799
806
  };
800
807
  var StarIcon = _ref21 => {
801
808
  var {
802
- size = 24,
809
+ widthHeight = 24,
803
810
  color = 'currentColor',
804
811
  filled = true,
805
812
  strokeWidth = 1
806
813
  } = _ref21,
807
814
  props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
808
815
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
809
- size: size,
816
+ widthHeight: widthHeight,
810
817
  color: color
811
818
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
812
819
  viewBox: "0 0 24 24",
@@ -818,14 +825,14 @@
818
825
  };
819
826
  var SaveIcon = _ref22 => {
820
827
  var {
821
- size = 24,
828
+ widthHeight = 24,
822
829
  color = 'currentColor',
823
830
  filled = false,
824
831
  strokeWidth = 1
825
832
  } = _ref22,
826
833
  props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
827
834
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
828
- size: size,
835
+ widthHeight: widthHeight,
829
836
  color: color
830
837
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
831
838
  viewBox: "0 0 24 24",
@@ -841,14 +848,14 @@
841
848
  };
842
849
  var WarningIcon = _ref23 => {
843
850
  var {
844
- size = 24,
851
+ widthHeight = 24,
845
852
  color = 'currentColor',
846
853
  filled = false,
847
854
  strokeWidth = 1
848
855
  } = _ref23,
849
856
  props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
850
857
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
851
- size: size,
858
+ widthHeight: widthHeight,
852
859
  color: color
853
860
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
854
861
  viewBox: "0 0 24 24",
@@ -872,14 +879,14 @@
872
879
  };
873
880
  var BatteryIcon = _ref24 => {
874
881
  var {
875
- size = 24,
882
+ widthHeight = 24,
876
883
  color = 'currentColor',
877
884
  filled = true,
878
885
  strokeWidth = 1
879
886
  } = _ref24,
880
887
  props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
881
888
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
882
- size: size,
889
+ widthHeight: widthHeight,
883
890
  color: color
884
891
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
885
892
  viewBox: "0 0 24 24",
@@ -891,14 +898,14 @@
891
898
  };
892
899
  var BookmarkIcon = _ref25 => {
893
900
  var {
894
- size = 24,
901
+ widthHeight = 24,
895
902
  color = 'currentColor',
896
903
  filled = false,
897
904
  strokeWidth = 1
898
905
  } = _ref25,
899
906
  props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
900
907
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
901
- size: size,
908
+ widthHeight: widthHeight,
902
909
  color: color
903
910
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
904
911
  viewBox: "0 0 24 24",
@@ -910,14 +917,14 @@
910
917
  };
911
918
  var CloudIcon = _ref26 => {
912
919
  var {
913
- size = 24,
920
+ widthHeight = 24,
914
921
  color = 'currentColor',
915
922
  filled = true,
916
923
  strokeWidth = 1
917
924
  } = _ref26,
918
925
  props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
919
926
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
920
- size: size,
927
+ widthHeight: widthHeight,
921
928
  color: color
922
929
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
923
930
  viewBox: "0 0 24 24",
@@ -929,14 +936,14 @@
929
936
  };
930
937
  var CopyIcon = _ref27 => {
931
938
  var {
932
- size = 24,
939
+ widthHeight = 24,
933
940
  color = 'currentColor',
934
941
  filled = false,
935
942
  strokeWidth = 1
936
943
  } = _ref27,
937
944
  props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
938
945
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
939
- size: size,
946
+ widthHeight: widthHeight,
940
947
  color: color
941
948
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
942
949
  viewBox: "0 0 24 24",
@@ -955,14 +962,14 @@
955
962
  };
956
963
  var DustBinIcon = _ref28 => {
957
964
  var {
958
- size = 24,
965
+ widthHeight = 24,
959
966
  color = 'currentColor',
960
967
  filled = false,
961
968
  strokeWidth = 1
962
969
  } = _ref28,
963
970
  props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
964
971
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
965
- size: size,
972
+ widthHeight: widthHeight,
966
973
  color: color
967
974
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
968
975
  viewBox: "0 0 24 24",
@@ -974,14 +981,14 @@
974
981
  };
975
982
  var EditIcon = _ref29 => {
976
983
  var {
977
- size = 24,
984
+ widthHeight = 24,
978
985
  color = 'currentColor',
979
986
  filled = false,
980
987
  strokeWidth = 1
981
988
  } = _ref29,
982
989
  props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
983
990
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
984
- size: size,
991
+ widthHeight: widthHeight,
985
992
  color: color
986
993
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
987
994
  viewBox: "0 0 24 24",
@@ -993,14 +1000,14 @@
993
1000
  };
994
1001
  var ErrorIcon = _ref30 => {
995
1002
  var {
996
- size = 24,
1003
+ widthHeight = 24,
997
1004
  color = 'currentColor',
998
1005
  strokeWidth = 1,
999
1006
  filled = true
1000
1007
  } = _ref30,
1001
1008
  props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
1002
1009
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1003
- size: size,
1010
+ widthHeight: widthHeight,
1004
1011
  color: color
1005
1012
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1006
1013
  viewBox: "0 0 24 24",
@@ -1026,14 +1033,14 @@
1026
1033
  };
1027
1034
  var DownloadIcon = _ref31 => {
1028
1035
  var {
1029
- size = 24,
1036
+ widthHeight = 24,
1030
1037
  color = 'currentColor',
1031
1038
  filled = true,
1032
1039
  strokeWidth = 1
1033
1040
  } = _ref31,
1034
1041
  props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
1035
1042
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1036
- size: size,
1043
+ widthHeight: widthHeight,
1037
1044
  color: color
1038
1045
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1039
1046
  viewBox: "0 0 24 24",
@@ -1045,14 +1052,14 @@
1045
1052
  };
1046
1053
  var MenuIcon = _ref32 => {
1047
1054
  var {
1048
- size = 24,
1055
+ widthHeight = 24,
1049
1056
  color = 'currentColor',
1050
1057
  strokeWidth = 1,
1051
1058
  filled = false
1052
1059
  } = _ref32,
1053
1060
  props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
1054
1061
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1055
- size: size,
1062
+ widthHeight: widthHeight,
1056
1063
  color: color
1057
1064
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1058
1065
  viewBox: "0 0 24 24",
@@ -1080,14 +1087,14 @@
1080
1087
  };
1081
1088
  var ShareIcon = _ref33 => {
1082
1089
  var {
1083
- size = 24,
1090
+ widthHeight = 24,
1084
1091
  color = 'currentColor',
1085
1092
  filled = false,
1086
1093
  strokeWidth = 1
1087
1094
  } = _ref33,
1088
1095
  props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
1089
1096
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1090
- size: size,
1097
+ widthHeight: widthHeight,
1091
1098
  color: color
1092
1099
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1093
1100
  viewBox: "0 0 24 24",
@@ -1121,14 +1128,14 @@
1121
1128
  };
1122
1129
  var RefreshIcon = _ref34 => {
1123
1130
  var {
1124
- size = 24,
1131
+ widthHeight = 24,
1125
1132
  color = 'currentColor',
1126
1133
  strokeWidth = 1,
1127
1134
  filled = false
1128
1135
  } = _ref34,
1129
1136
  props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
1130
1137
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1131
- size: size,
1138
+ widthHeight: widthHeight,
1132
1139
  color: color
1133
1140
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1134
1141
  viewBox: "0 0 24 24",
@@ -1142,14 +1149,14 @@
1142
1149
  };
1143
1150
  var PrintIcon = _ref35 => {
1144
1151
  var {
1145
- size = 24,
1152
+ widthHeight = 24,
1146
1153
  color = 'currentColor',
1147
1154
  filled = true,
1148
1155
  strokeWidth = 1
1149
1156
  } = _ref35,
1150
1157
  props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
1151
1158
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1152
- size: size,
1159
+ widthHeight: widthHeight,
1153
1160
  color: color
1154
1161
  }, props), /*#__PURE__*/React__default.createElement("svg", {
1155
1162
  viewBox: "0 0 24 24",
@@ -1162,14 +1169,14 @@
1162
1169
  };
1163
1170
  var PanelIcon = _ref36 => {
1164
1171
  var {
1165
- size = 24,
1172
+ widthHeight = 24,
1166
1173
  color = 'currentColor',
1167
1174
  strokeWidth = 1,
1168
1175
  filled = false
1169
1176
  } = _ref36,
1170
1177
  props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
1171
1178
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1172
- size: size,
1179
+ widthHeight: widthHeight,
1173
1180
  color: color
1174
1181
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1175
1182
  viewBox: "0 0 24 24",
@@ -1233,14 +1240,14 @@
1233
1240
  };
1234
1241
  var FilterIcon = _ref37 => {
1235
1242
  var {
1236
- size = 24,
1243
+ widthHeight = 24,
1237
1244
  color = 'currentColor',
1238
1245
  filled = false,
1239
1246
  strokeWidth = 1
1240
1247
  } = _ref37,
1241
1248
  props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
1242
1249
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1243
- size: size,
1250
+ widthHeight: widthHeight,
1244
1251
  color: color
1245
1252
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1246
1253
  viewBox: "0 0 24 24",
@@ -1252,14 +1259,14 @@
1252
1259
  };
1253
1260
  var HomeIcon = _ref38 => {
1254
1261
  var {
1255
- size = 24,
1262
+ widthHeight = 24,
1256
1263
  color = 'currentColor',
1257
1264
  filled = true,
1258
1265
  strokeWidth = 1
1259
1266
  } = _ref38,
1260
1267
  props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
1261
1268
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1262
- size: size,
1269
+ widthHeight: widthHeight,
1263
1270
  color: color
1264
1271
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1265
1272
  viewBox: "0 0 24 24",
@@ -1271,14 +1278,14 @@
1271
1278
  };
1272
1279
  var LocationIcon = _ref39 => {
1273
1280
  var {
1274
- size = 24,
1281
+ widthHeight = 24,
1275
1282
  color = 'currentColor',
1276
1283
  filled = true,
1277
1284
  strokeWidth = 1
1278
1285
  } = _ref39,
1279
1286
  props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
1280
1287
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1281
- size: size,
1288
+ widthHeight: widthHeight,
1282
1289
  color: color
1283
1290
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1284
1291
  viewBox: "0 0 24 24",
@@ -1290,14 +1297,14 @@
1290
1297
  };
1291
1298
  var LockIcon = _ref40 => {
1292
1299
  var {
1293
- size = 24,
1300
+ widthHeight = 24,
1294
1301
  color = 'currentColor',
1295
1302
  filled = false,
1296
1303
  strokeWidth = 1
1297
1304
  } = _ref40,
1298
1305
  props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
1299
1306
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1300
- size: size,
1307
+ widthHeight: widthHeight,
1301
1308
  color: color
1302
1309
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1303
1310
  viewBox: "0 0 24 24",
@@ -1316,14 +1323,14 @@
1316
1323
  };
1317
1324
  var MicrophoneIcon = _ref41 => {
1318
1325
  var {
1319
- size = 24,
1326
+ widthHeight = 24,
1320
1327
  color = 'currentColor',
1321
1328
  filled = false,
1322
1329
  strokeWidth = 1
1323
1330
  } = _ref41,
1324
1331
  props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
1325
1332
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1326
- size: size,
1333
+ widthHeight: widthHeight,
1327
1334
  color: color
1328
1335
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1329
1336
  viewBox: "0 0 24 24",
@@ -1349,14 +1356,14 @@
1349
1356
  };
1350
1357
  var MoonIcon = _ref42 => {
1351
1358
  var {
1352
- size = 24,
1359
+ widthHeight = 24,
1353
1360
  color = 'currentColor',
1354
1361
  filled = true,
1355
1362
  strokeWidth = 1
1356
1363
  } = _ref42,
1357
1364
  props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
1358
1365
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1359
- size: size,
1366
+ widthHeight: widthHeight,
1360
1367
  color: color
1361
1368
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1362
1369
  viewBox: "0 0 24 24",
@@ -1368,14 +1375,14 @@
1368
1375
  };
1369
1376
  var NotificationIcon = _ref43 => {
1370
1377
  var {
1371
- size = 24,
1378
+ widthHeight = 24,
1372
1379
  color = 'currentColor',
1373
1380
  filled = false,
1374
1381
  strokeWidth = 1
1375
1382
  } = _ref43,
1376
1383
  props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
1377
1384
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1378
- size: size,
1385
+ widthHeight: widthHeight,
1379
1386
  color: color
1380
1387
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1381
1388
  viewBox: "0 0 24 24",
@@ -1389,14 +1396,14 @@
1389
1396
  };
1390
1397
  var OpenEyeIcon = _ref44 => {
1391
1398
  var {
1392
- size = 24,
1399
+ widthHeight = 24,
1393
1400
  color = 'currentColor',
1394
1401
  filled = true,
1395
1402
  strokeWidth = 1
1396
1403
  } = _ref44,
1397
1404
  props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
1398
1405
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1399
- size: size,
1406
+ widthHeight: widthHeight,
1400
1407
  color: color
1401
1408
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1402
1409
  viewBox: "0 0 24 24",
@@ -1408,14 +1415,14 @@
1408
1415
  };
1409
1416
  var ProfileIcon = _ref45 => {
1410
1417
  var {
1411
- size = 24,
1418
+ widthHeight = 24,
1412
1419
  color = 'currentColor',
1413
1420
  filled = true,
1414
1421
  strokeWidth = 1
1415
1422
  } = _ref45,
1416
1423
  props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
1417
1424
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1418
- size: size,
1425
+ widthHeight: widthHeight,
1419
1426
  color: color
1420
1427
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1421
1428
  viewBox: "0 0 24 24",
@@ -1428,14 +1435,14 @@
1428
1435
  };
1429
1436
  var SettingsIcon = _ref46 => {
1430
1437
  var {
1431
- size = 24,
1438
+ widthHeight = 24,
1432
1439
  color = 'currentColor',
1433
1440
  filled = false,
1434
1441
  strokeWidth = 1
1435
1442
  } = _ref46,
1436
1443
  props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
1437
1444
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1438
- size: size,
1445
+ widthHeight: widthHeight,
1439
1446
  color: color
1440
1447
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1441
1448
  viewBox: "0 0 24 24",
@@ -1447,14 +1454,14 @@
1447
1454
  };
1448
1455
  var SuccessIcon = _ref47 => {
1449
1456
  var {
1450
- size = 24,
1457
+ widthHeight = 24,
1451
1458
  color = 'currentColor',
1452
1459
  filled = true,
1453
1460
  strokeWidth = 1
1454
1461
  } = _ref47,
1455
1462
  props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
1456
1463
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1457
- size: size,
1464
+ widthHeight: widthHeight,
1458
1465
  color: color
1459
1466
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1460
1467
  viewBox: "0 0 24 24",
@@ -1466,14 +1473,14 @@
1466
1473
  };
1467
1474
  var UnLikeIcon = _ref48 => {
1468
1475
  var {
1469
- size = 24,
1476
+ widthHeight = 24,
1470
1477
  color = 'currentColor',
1471
1478
  filled = true,
1472
1479
  strokeWidth = 1
1473
1480
  } = _ref48,
1474
1481
  props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
1475
1482
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1476
- size: size,
1483
+ widthHeight: widthHeight,
1477
1484
  color: color
1478
1485
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1479
1486
  viewBox: "0 0 24 24",
@@ -1485,14 +1492,14 @@
1485
1492
  };
1486
1493
  var ClockIcon = _ref49 => {
1487
1494
  var {
1488
- size = 24,
1495
+ widthHeight = 24,
1489
1496
  color = 'currentColor',
1490
1497
  strokeWidth = 1,
1491
1498
  filled = false
1492
1499
  } = _ref49,
1493
1500
  props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
1494
1501
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1495
- size: size,
1502
+ widthHeight: widthHeight,
1496
1503
  color: color
1497
1504
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1498
1505
  viewBox: "0 0 24 24",
@@ -1508,14 +1515,14 @@
1508
1515
  };
1509
1516
  var CameraIcon = _ref50 => {
1510
1517
  var {
1511
- size = 24,
1518
+ widthHeight = 24,
1512
1519
  color = 'currentColor',
1513
1520
  strokeWidth = 1,
1514
1521
  filled = false
1515
1522
  } = _ref50,
1516
1523
  props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
1517
1524
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1518
- size: size,
1525
+ widthHeight: widthHeight,
1519
1526
  color: color
1520
1527
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1521
1528
  viewBox: "0 0 24 24",
@@ -1531,14 +1538,14 @@
1531
1538
  };
1532
1539
  var BluetoothIcon = _ref51 => {
1533
1540
  var {
1534
- size = 24,
1541
+ widthHeight = 24,
1535
1542
  color = 'currentColor',
1536
1543
  filled = true,
1537
1544
  strokeWidth = 1
1538
1545
  } = _ref51,
1539
1546
  props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
1540
1547
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1541
- size: size,
1548
+ widthHeight: widthHeight,
1542
1549
  color: color
1543
1550
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1544
1551
  viewBox: "0 0 24 24",
@@ -1550,14 +1557,14 @@
1550
1557
  };
1551
1558
  var LikeIcon = _ref52 => {
1552
1559
  var {
1553
- size = 24,
1560
+ widthHeight = 24,
1554
1561
  color = 'currentColor',
1555
1562
  filled = true,
1556
1563
  strokeWidth = 1
1557
1564
  } = _ref52,
1558
1565
  props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
1559
1566
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1560
- size: size,
1567
+ widthHeight: widthHeight,
1561
1568
  color: color
1562
1569
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1563
1570
  viewBox: "0 0 24 24",
@@ -1569,14 +1576,14 @@
1569
1576
  };
1570
1577
  var UnlockIcon = _ref53 => {
1571
1578
  var {
1572
- size = 24,
1579
+ widthHeight = 24,
1573
1580
  color = 'currentColor',
1574
1581
  filled = false,
1575
1582
  strokeWidth = 1
1576
1583
  } = _ref53,
1577
1584
  props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
1578
1585
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1579
- size: size,
1586
+ widthHeight: widthHeight,
1580
1587
  color: color
1581
1588
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1582
1589
  viewBox: "0 0 24 24",
@@ -1595,14 +1602,14 @@
1595
1602
  };
1596
1603
  var WifiIcon = _ref54 => {
1597
1604
  var {
1598
- size = 24,
1605
+ widthHeight = 24,
1599
1606
  color = 'currentColor',
1600
1607
  filled = false,
1601
1608
  strokeWidth = 1
1602
1609
  } = _ref54,
1603
1610
  props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
1604
1611
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1605
- size: size,
1612
+ widthHeight: widthHeight,
1606
1613
  color: color
1607
1614
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1608
1615
  viewBox: "0 0 24 24",
@@ -1614,14 +1621,14 @@
1614
1621
  };
1615
1622
  var UploadIcon = _ref55 => {
1616
1623
  var {
1617
- size = 24,
1624
+ widthHeight = 24,
1618
1625
  color = 'currentColor',
1619
1626
  filled = false,
1620
1627
  strokeWidth = 1
1621
1628
  } = _ref55,
1622
1629
  props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
1623
1630
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1624
- size: size,
1631
+ widthHeight: widthHeight,
1625
1632
  color: color
1626
1633
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1627
1634
  viewBox: "0 0 24 24",
@@ -1637,14 +1644,14 @@
1637
1644
  };
1638
1645
  var SearchIcon = _ref56 => {
1639
1646
  var {
1640
- size = 24,
1647
+ widthHeight = 24,
1641
1648
  color = 'currentColor',
1642
1649
  filled = true,
1643
1650
  strokeWidth = 1
1644
1651
  } = _ref56,
1645
1652
  props = _objectWithoutPropertiesLoose(_ref56, _excluded56);
1646
1653
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1647
- size: size,
1654
+ widthHeight: widthHeight,
1648
1655
  color: color
1649
1656
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1650
1657
  viewBox: "0 0 24 24",
@@ -1656,14 +1663,14 @@
1656
1663
  };
1657
1664
  var CloseEyeIcon = _ref57 => {
1658
1665
  var {
1659
- size = 24,
1666
+ widthHeight = 24,
1660
1667
  color = 'currentColor',
1661
1668
  filled = true,
1662
1669
  strokeWidth = 1
1663
1670
  } = _ref57,
1664
1671
  props = _objectWithoutPropertiesLoose(_ref57, _excluded57);
1665
1672
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1666
- size: size,
1673
+ widthHeight: widthHeight,
1667
1674
  color: color
1668
1675
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1669
1676
  viewBox: "0 0 24 24",
@@ -1676,14 +1683,14 @@
1676
1683
  };
1677
1684
  var ExternalLinkIcon = _ref58 => {
1678
1685
  var {
1679
- size = 24,
1686
+ widthHeight = 24,
1680
1687
  color = 'currentColor',
1681
1688
  filled = true,
1682
1689
  strokeWidth = 1
1683
1690
  } = _ref58,
1684
1691
  props = _objectWithoutPropertiesLoose(_ref58, _excluded58);
1685
1692
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1686
- size: size,
1693
+ widthHeight: widthHeight,
1687
1694
  color: color
1688
1695
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1689
1696
  viewBox: "0 0 24 24",
@@ -1695,14 +1702,14 @@
1695
1702
  };
1696
1703
  var PlusIcon = _ref59 => {
1697
1704
  var {
1698
- size = 24,
1705
+ widthHeight = 24,
1699
1706
  color = 'currentColor',
1700
1707
  filled = false,
1701
1708
  strokeWidth = 1
1702
1709
  } = _ref59,
1703
1710
  props = _objectWithoutPropertiesLoose(_ref59, _excluded59);
1704
1711
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1705
- size: size,
1712
+ widthHeight: widthHeight,
1706
1713
  color: color
1707
1714
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1708
1715
  viewBox: "0 0 24 24",
@@ -1724,14 +1731,14 @@
1724
1731
  };
1725
1732
  var TickIcon = _ref60 => {
1726
1733
  var {
1727
- size = 24,
1734
+ widthHeight = 24,
1728
1735
  color = 'currentColor',
1729
1736
  filled = false,
1730
1737
  strokeWidth = 1
1731
1738
  } = _ref60,
1732
1739
  props = _objectWithoutPropertiesLoose(_ref60, _excluded60);
1733
1740
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1734
- size: size,
1741
+ widthHeight: widthHeight,
1735
1742
  color: color
1736
1743
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1737
1744
  viewBox: "0 0 24 24",
@@ -1745,14 +1752,14 @@
1745
1752
  };
1746
1753
  var BoldArrowIcon = _ref61 => {
1747
1754
  var {
1748
- size = 24,
1755
+ widthHeight = 24,
1749
1756
  color = 'currentColor',
1750
1757
  filled = true,
1751
1758
  strokeWidth = 1
1752
1759
  } = _ref61,
1753
1760
  props = _objectWithoutPropertiesLoose(_ref61, _excluded61);
1754
1761
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1755
- size: size,
1762
+ widthHeight: widthHeight,
1756
1763
  color: color
1757
1764
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1758
1765
  viewBox: "0 0 24 24",
@@ -1764,14 +1771,14 @@
1764
1771
  };
1765
1772
  var ArrowIcon = _ref62 => {
1766
1773
  var {
1767
- size = 24,
1774
+ widthHeight = 24,
1768
1775
  color = 'currentColor',
1769
1776
  filled = false,
1770
1777
  strokeWidth = 1
1771
1778
  } = _ref62,
1772
1779
  props = _objectWithoutPropertiesLoose(_ref62, _excluded62);
1773
1780
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1774
- size: size,
1781
+ widthHeight: widthHeight,
1775
1782
  color: color
1776
1783
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1777
1784
  viewBox: "0 0 24 24",
@@ -1789,14 +1796,14 @@
1789
1796
  };
1790
1797
  var SpinnerIcon = _ref63 => {
1791
1798
  var {
1792
- size = 24,
1799
+ widthHeight = 24,
1793
1800
  color = 'currentColor',
1794
1801
  filled = false,
1795
1802
  strokeWidth = 1
1796
1803
  } = _ref63,
1797
1804
  props = _objectWithoutPropertiesLoose(_ref63, _excluded63);
1798
1805
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1799
- size: size,
1806
+ widthHeight: widthHeight,
1800
1807
  color: color
1801
1808
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1802
1809
  viewBox: "0 0 24 24",
@@ -1814,14 +1821,14 @@
1814
1821
  };
1815
1822
  var CalendarIcon = _ref64 => {
1816
1823
  var {
1817
- size = 24,
1824
+ widthHeight = 24,
1818
1825
  color = 'currentColor',
1819
1826
  strokeWidth = 1,
1820
1827
  filled = false
1821
1828
  } = _ref64,
1822
1829
  props = _objectWithoutPropertiesLoose(_ref64, _excluded64);
1823
1830
  return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
1824
- size: size,
1831
+ widthHeight: widthHeight,
1825
1832
  color: color
1826
1833
  }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
1827
1834
  viewBox: "0 0 24 24",
@@ -1922,7 +1929,7 @@
1922
1929
  CalendarIcon: CalendarIcon
1923
1930
  };
1924
1931
 
1925
- // Define a constant object 'Themes' exporting various theme styles.
1932
+ // Define a constant object 'Themes' exporting various theme views.
1926
1933
  var Themes = {
1927
1934
  // Start of the 'default' theme definition with style properties.
1928
1935
  default: {
@@ -1935,7 +1942,7 @@
1935
1942
  color: 'color.blackAlpha.800'
1936
1943
  }
1937
1944
  },
1938
- // The 'info' theme with unique container and content styles.
1945
+ // The 'info' theme with unique container and content views.
1939
1946
  info: {
1940
1947
  container: {
1941
1948
  backgroundColor: 'color.blue.200',
@@ -1946,7 +1953,7 @@
1946
1953
  color: '#60a5fa'
1947
1954
  }
1948
1955
  },
1949
- // Specifies the 'success' theme with corresponding container and content styles.
1956
+ // Specifies the 'success' theme with corresponding container and content views.
1950
1957
  success: {
1951
1958
  container: {
1952
1959
  backgroundColor: 'color.green.200',
@@ -1957,7 +1964,7 @@
1957
1964
  color: '#22c55e'
1958
1965
  }
1959
1966
  },
1960
- // Start of the 'error' theme with its characteristic styles.
1967
+ // Start of the 'error' theme with its characteristic views.
1961
1968
  error: {
1962
1969
  container: {
1963
1970
  backgroundColor: 'color.red.200',
@@ -1968,7 +1975,7 @@
1968
1975
  color: '#ef4444'
1969
1976
  }
1970
1977
  },
1971
- // Introduction of the 'warning' theme styles.
1978
+ // Introduction of the 'warning' theme views.
1972
1979
  warning: {
1973
1980
  container: {
1974
1981
  backgroundColor: 'color.orange.200',
@@ -1983,11 +1990,11 @@
1983
1990
 
1984
1991
  // Defines AlertView as a functional component using destructuring to extract props.
1985
1992
  var AlertView = _ref => {
1986
- var _styles$icon$color;
1993
+ var _views$icon$color, _views$icon;
1987
1994
  var {
1988
1995
  icon,
1989
1996
  title,
1990
- styles,
1997
+ views,
1991
1998
  description,
1992
1999
  // Sets a default variant prop to 'default' if none is provided.
1993
2000
  variant = 'default'
@@ -1999,20 +2006,20 @@
1999
2006
  borderStyle: "solid",
2000
2007
  padding: 16,
2001
2008
  flexWrap: "nowrap"
2002
- }, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(View, {
2009
+ }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(View, {
2003
2010
  alignSelf: 'center'
2004
2011
  }, icon ? icon : (/*#__PURE__*/React__default.createElement(WarningIcon, {
2005
- size: 24,
2006
- color: (_styles$icon$color = styles == null ? void 0 : styles.icon.color) != null ? _styles$icon$color : Themes[variant].content.color
2012
+ widthHeight: 24,
2013
+ color: (_views$icon$color = views == null || (_views$icon = views.icon) == null ? void 0 : _views$icon.color) != null ? _views$icon$color : Themes[variant].content.color
2007
2014
  }))), /*#__PURE__*/React__default.createElement(Vertical, {
2008
2015
  gap: 10
2009
2016
  }, /*#__PURE__*/React__default.createElement(Text, Object.assign({
2010
2017
  fontSize: "16px",
2011
2018
  color: Themes[variant].content.color
2012
- }, styles == null ? void 0 : styles.title), title), /*#__PURE__*/React__default.createElement(Text, Object.assign({
2019
+ }, views == null ? void 0 : views.title), title), /*#__PURE__*/React__default.createElement(Text, Object.assign({
2013
2020
  fontSize: "14px",
2014
2021
  color: Themes[variant].content.color
2015
- }, styles == null ? void 0 : styles.description), description)));
2022
+ }, views == null ? void 0 : views.description), description)));
2016
2023
  };
2017
2024
 
2018
2025
  // Definition of the AlertComponent functional component with destructured props.
@@ -2020,14 +2027,14 @@
2020
2027
  var {
2021
2028
  icon,
2022
2029
  title,
2023
- styles,
2030
+ views,
2024
2031
  description,
2025
2032
  variant
2026
2033
  } = _ref;
2027
2034
  return /*#__PURE__*/React__default.createElement(AlertView, {
2028
2035
  icon: icon,
2029
2036
  title: title,
2030
- styles: styles,
2037
+ views: views,
2031
2038
  description: description,
2032
2039
  variant: variant
2033
2040
  });
@@ -2035,14 +2042,15 @@
2035
2042
  // Exporting the AlertComponent as 'Alert' for use in other parts of the application.
2036
2043
  var Alert = AlertComponent;
2037
2044
 
2038
- var _excluded$5 = ["ratio", "children"];
2045
+ var _excluded$5 = ["ratio", "children", "views"];
2039
2046
  // Declaration of a functional component named AspectRatioView.
2040
2047
  var AspectRatioView = _ref => {
2041
2048
  var {
2042
2049
  // Set a default aspect ratio of 16:9 if no ratio is provided as a prop.
2043
2050
  ratio = 16 / 9,
2044
2051
  // children prop used to render enclosed components.
2045
- children
2052
+ children,
2053
+ views
2046
2054
  // Spread the rest of the props to inherit additional properties.
2047
2055
  } = _ref,
2048
2056
  props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
@@ -2052,13 +2060,13 @@
2052
2060
  overflow: "hidden",
2053
2061
  paddingTop: 1 / ratio * 100 + "%",
2054
2062
  borderRadius: 8
2055
- }, props), /*#__PURE__*/React__default.createElement(View, {
2063
+ }, props, views == null ? void 0 : views.center), /*#__PURE__*/React__default.createElement(View, Object.assign({
2056
2064
  position: "absolute",
2057
2065
  top: 0,
2058
2066
  right: 0,
2059
2067
  bottom: 0,
2060
2068
  left: 0
2061
- }, children));
2069
+ }, views == null ? void 0 : views.view), children));
2062
2070
  };
2063
2071
 
2064
2072
  var _excluded$6 = ["ratio", "children"];
@@ -2101,7 +2109,7 @@
2101
2109
  src,
2102
2110
  size = 'md',
2103
2111
  fallback = 'IM',
2104
- styles,
2112
+ views,
2105
2113
  imageError,
2106
2114
  setImageError,
2107
2115
  onClick = () => {}
@@ -2111,7 +2119,7 @@
2111
2119
  // Initiates a style object for the image with an objectFit property and spreads additional image styles if provided.
2112
2120
  var imageStyle = Object.assign({
2113
2121
  objectFit: 'cover'
2114
- }, (styles == null ? void 0 : styles.image) || {});
2122
+ }, (views == null ? void 0 : views.image) || {});
2115
2123
  // Start of the JSX returned by the AvatarView component, which uses the Center component as its root element.
2116
2124
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
2117
2125
  role: "avatar",
@@ -2124,7 +2132,7 @@
2124
2132
  borderColor: imageError ? 'black' : 'transparent',
2125
2133
  boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.25)",
2126
2134
  onClick: onClick
2127
- }, styles == null ? void 0 : styles.container), !imageError ? (/*#__PURE__*/React__default.createElement(appStudio.Image, {
2135
+ }, views == null ? void 0 : views.container), !imageError ? (/*#__PURE__*/React__default.createElement(appStudio.Image, {
2128
2136
  alt: "IM",
2129
2137
  src: src,
2130
2138
  style: imageStyle,
@@ -2133,7 +2141,7 @@
2133
2141
  onError: () => setImageError(true)
2134
2142
  })) : (/*#__PURE__*/React__default.createElement(Text, Object.assign({
2135
2143
  size: size
2136
- }, styles == null ? void 0 : styles.fallback), fallback)));
2144
+ }, views == null ? void 0 : views.fallback), fallback)));
2137
2145
  };
2138
2146
 
2139
2147
  // Defines the AvatarComponent functional component with destructured props from AvatarProps type.
@@ -2141,7 +2149,7 @@
2141
2149
  var {
2142
2150
  src,
2143
2151
  size,
2144
- styles,
2152
+ views,
2145
2153
  fallback,
2146
2154
  onClick
2147
2155
  } = _ref;
@@ -2154,7 +2162,7 @@
2154
2162
  return /*#__PURE__*/React__default.createElement(AvatarView, {
2155
2163
  src: src,
2156
2164
  size: size,
2157
- styles: styles,
2165
+ views: views,
2158
2166
  fallback: fallback,
2159
2167
  imageError: imageError,
2160
2168
  setImageError: setImageError,
@@ -2225,17 +2233,16 @@
2225
2233
  var {
2226
2234
  // Declaring the functional component BadgeView with BadgeProps as its type for props.
2227
2235
  content,
2228
- // Destructuring props with default values for shape, colorScheme, variant, size, and styles.
2236
+ // Destructuring props with default values for shape, variant, size, and views.
2229
2237
  position,
2230
2238
  shape = 'pillShaped',
2231
- colorScheme = 'theme.primary',
2232
2239
  variant = 'filled',
2233
2240
  size = 'md',
2234
- styles
2241
+ views
2235
2242
  } = _ref;
2236
2243
  var BadgeVariants = {
2237
2244
  filled: {
2238
- backgroundColor: colorScheme,
2245
+ backgroundColor: 'theme.primary',
2239
2246
  color: 'color.white',
2240
2247
  borderWidth: 1,
2241
2248
  borderStyle: 'solid',
@@ -2246,23 +2253,23 @@
2246
2253
  backgroundColor: 'transparent',
2247
2254
  borderWidth: 1,
2248
2255
  borderStyle: 'solid',
2249
- borderColor: colorScheme,
2250
- color: colorScheme
2256
+ borderColor: 'theme.primary',
2257
+ color: 'theme.primary'
2251
2258
  },
2252
2259
  link: {
2253
2260
  backgroundColor: 'transparent',
2254
2261
  // Rendering the Badge component using the Center layout component with combinedStyles applied.
2255
2262
  borderWidth: 1,
2256
- // Inserting a Text component into the badge to display the content, with dynamic size and additional text styles.
2263
+ // Inserting a Text component into the badge to display the content, with dynamic size and additional text views.
2257
2264
  borderStyle: 'solid',
2258
2265
  borderColor: 'transparent',
2259
- color: colorScheme,
2266
+ color: 'theme.primary',
2260
2267
  // Exporting BadgeView to be used in other parts of the application.
2261
2268
  textDecoration: 'underline'
2262
2269
  },
2263
2270
  ghost: {
2264
2271
  backgroundColor: 'transparent',
2265
- color: colorScheme,
2272
+ color: 'color.trueGray.400',
2266
2273
  borderWidth: 1,
2267
2274
  borderStyle: 'solid',
2268
2275
  borderColor: 'transparent'
@@ -2271,13 +2278,13 @@
2271
2278
  var combinedStyles = Object.assign({
2272
2279
  width: 'fit-content',
2273
2280
  borderRadius: BadgeShapes[shape]
2274
- }, BadgeSizes[size], BadgeVariants[variant], position ? PositionStyles[position] : {}, styles == null ? void 0 : styles.container);
2281
+ }, BadgeSizes[size], BadgeVariants[variant], position ? PositionStyles[position] : {}, views == null ? void 0 : views.container);
2275
2282
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
2276
2283
  role: "badge"
2277
2284
  }, combinedStyles), /*#__PURE__*/React__default.createElement(Text, Object.assign({
2278
2285
  role: "badgeText",
2279
2286
  size: size
2280
- }, styles == null ? void 0 : styles.text), content));
2287
+ }, views == null ? void 0 : views.text), content));
2281
2288
  };
2282
2289
 
2283
2290
  // Importing type definitions for BadgeProps that will be used to type-check the Badge component's props.
@@ -2288,22 +2295,19 @@
2288
2295
  // Exporting the Badge as a functional component from this module.
2289
2296
  shape,
2290
2297
  // Destructuring the props in the component function parameter list, to directly access individual properties.
2291
- colorScheme,
2292
- // The functional component Badge is implicitly returning the BadgeView component.
2293
2298
  position,
2294
2299
  // Passing all the destructured props to the BadgeView component to maintain the same API surface.
2295
2300
  variant,
2296
2301
  size,
2297
- styles
2302
+ views
2298
2303
  } = _ref;
2299
2304
  return /*#__PURE__*/React__default.createElement(BadgeView, {
2300
2305
  content: content,
2301
2306
  shape: shape,
2302
- colorScheme: colorScheme,
2303
2307
  position: position,
2304
2308
  variant: variant,
2305
2309
  size: size,
2306
- styles: styles
2310
+ views: views
2307
2311
  });
2308
2312
  };
2309
2313
 
@@ -2342,7 +2346,7 @@
2342
2346
  '6xl': 64
2343
2347
  };
2344
2348
 
2345
- var _excluded$7 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
2349
+ var _excluded$7 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "views", "setIsHovered"];
2346
2350
  // Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
2347
2351
  var LinkView = _ref => {
2348
2352
  var {
@@ -2358,7 +2362,7 @@
2358
2362
  // Boolean indicating if the link leads to an external resource.
2359
2363
  isExternal = false,
2360
2364
  // Custom styles for the icon and text, provided via a styles object.
2361
- styles = {
2365
+ views = {
2362
2366
  icon: {},
2363
2367
  text: {}
2364
2368
  },
@@ -2377,12 +2381,12 @@
2377
2381
  onMouseEnter: handleHover,
2378
2382
  onMouseLeave: handleHover,
2379
2383
  textDecoration: isHovered || underline === 'underline' ? 'underline !important' : 'none'
2380
- }, styles.text, props), /*#__PURE__*/React__default.createElement(Horizontal, {
2384
+ }, views.text, props), /*#__PURE__*/React__default.createElement(Horizontal, {
2381
2385
  gap: 3,
2382
2386
  alignItems: "center",
2383
2387
  flexWrap: "nowrap"
2384
2388
  }, children, isExternal && /*#__PURE__*/React__default.createElement(ExternalLinkIcon, {
2385
- size: IconSizes[iconSize]
2389
+ widthHeight: IconSizes[iconSize]
2386
2390
  }))));
2387
2391
  };
2388
2392
 
@@ -2525,7 +2529,7 @@
2525
2529
  var _excluded$8 = ["size", "speed", "color", "themeMode"],
2526
2530
  _excluded2$1 = ["size", "speed", "color", "themeMode"],
2527
2531
  _excluded3$1 = ["size", "speed", "color", "themeMode"],
2528
- _excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
2532
+ _excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition", "views"];
2529
2533
  var DefaultSpinner = _ref => {
2530
2534
  var {
2531
2535
  size = 'md',
@@ -2666,7 +2670,8 @@
2666
2670
  loaderColor,
2667
2671
  type = 'default',
2668
2672
  speed = 'normal',
2669
- textPosition = 'right'
2673
+ textPosition = 'right',
2674
+ views
2670
2675
  } = _ref4,
2671
2676
  props = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
2672
2677
  var style = {
@@ -2682,11 +2687,11 @@
2682
2687
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
2683
2688
  gap: 10,
2684
2689
  flexDirection: textPosition === 'top' || textPosition === 'bottom' ? 'column' : 'row'
2685
- }, props), (textPosition === 'left' || textPosition === 'top') && children && (/*#__PURE__*/React__default.createElement(View, {
2690
+ }, props, views == null ? void 0 : views.container), (textPosition === 'left' || textPosition === 'top') && children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
2686
2691
  color: textColor
2687
- }, children)), variants[type], (textPosition === 'right' || textPosition === 'bottom') && children && (/*#__PURE__*/React__default.createElement(View, {
2692
+ }, views == null ? void 0 : views.text), children)), variants[type], (textPosition === 'right' || textPosition === 'bottom') && children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
2688
2693
  color: textColor
2689
- }, children)));
2694
+ }, views == null ? void 0 : views.text), children)));
2690
2695
  };
2691
2696
 
2692
2697
  // Defines a LoaderComponent as a functional component with props defined by LoaderProps and returns the LoaderView component, passing along any received props.
@@ -2697,7 +2702,7 @@
2697
2702
  // Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
2698
2703
  var Loader = LoaderComponent;
2699
2704
 
2700
- 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"];
2705
+ var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "to", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered", "isExternal", "themeMode", "containerProps", "linkProps", "views"];
2701
2706
  var contrast = /*#__PURE__*/require('contrast');
2702
2707
  var ButtonView = _ref => {
2703
2708
  var _props$onClick;
@@ -2705,25 +2710,16 @@
2705
2710
  icon,
2706
2711
  shadow,
2707
2712
  children,
2708
- // Defines the functional component ButtonView with its expected props detailed in ButtonProps.
2709
2713
  ariaLabel,
2710
- // Initializes default values for the ButtonProps object; useful for defining states like isAuto, isFilled, etc.
2711
2714
  to,
2712
2715
  isAuto = false,
2713
- // Determines if button should be active based on isDisabled and isLoading properties.
2714
2716
  isFilled = false,
2715
- // Prepares default properties for the native button element based on isActive state.
2716
2717
  isIconRounded = false,
2717
- // Sets button color; defaults to the theme's disabled color if button is not active.
2718
2718
  isLoading = false,
2719
- // Determines if the hover effect shall be applied based on isHovered and effect property.
2720
2719
  isDisabled = false,
2721
- // Determines if the reverse style shall be applied based on isHovered and effect property.
2722
2720
  size = 'md',
2723
2721
  variant = 'filled',
2724
2722
  iconPosition = 'left',
2725
- // Defines CSS properties for 'filled' variant of the button with conditional styles based on reverse state.
2726
- colorScheme = 'theme.primary',
2727
2723
  shape = 'rounded',
2728
2724
  onClick = () => {},
2729
2725
  loaderProps = {},
@@ -2733,9 +2729,8 @@
2733
2729
  setIsHovered = () => {},
2734
2730
  isExternal = false,
2735
2731
  themeMode: elementMode,
2736
- containerProps,
2737
- linkProps
2738
- // Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
2732
+ linkProps,
2733
+ views
2739
2734
  } = _ref,
2740
2735
  props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2741
2736
  var {
@@ -2747,13 +2742,12 @@
2747
2742
  var defaultNativeProps = {
2748
2743
  disabled: !isActive
2749
2744
  };
2750
- var buttonColor = isActive ? colorScheme : 'theme.disabled';
2745
+ var buttonColor = isActive ? 'theme.primary' : 'theme.disabled';
2751
2746
  var hovering = isHovered && effect === 'hover';
2752
2747
  var reverse = isHovered && effect === 'reverse';
2753
2748
  var isLight = contrast(getColor(buttonColor, elementMode ? elementMode : themeMode)) == 'light';
2754
2749
  var ButtonVariants = {
2755
2750
  filled: {
2756
- // Defines CSS properties for 'link' variant of the button with conditional styles based on reverse state, includes text decoration.
2757
2751
  backgroundColor: reverse ? 'transparent' : buttonColor,
2758
2752
  color: reverse ? isLight ? 'white' : buttonColor : isLight ? buttonColor : 'white',
2759
2753
  borderWidth: 1,
@@ -2762,42 +2756,36 @@
2762
2756
  },
2763
2757
  outline: {
2764
2758
  backgroundColor: reverse ? buttonColor : 'transparent',
2765
- // Defines CSS properties for 'ghost' variant of the button with conditional styles based on reverse state.
2766
2759
  borderWidth: 1,
2767
2760
  borderStyle: 'solid',
2768
- borderColor: reverse ? buttonColor : colorScheme,
2769
- // Fetches size-specific styles from ButtonSizes based on the 'size' prop.
2761
+ borderColor: reverse ? buttonColor : 'theme.primary',
2770
2762
  color: reverse ? 'white' : buttonColor
2771
2763
  },
2772
- // Adjusts button width based on isAuto and isFilled properties, using buttonSizeStyles for fallback width.
2773
2764
  link: {
2774
2765
  backgroundColor: 'transparent',
2775
- // Changes padding for the button based on whether isIconRounded is true or false.
2776
2766
  borderWidth: 1,
2777
2767
  borderStyle: 'solid',
2778
- // Creates the content for the button including loaders and icons positioned based on their respective properties.
2779
2768
  borderColor: reverse ? buttonColor : 'transparent',
2780
2769
  color: buttonColor,
2781
2770
  textDecoration: reverse ? 'none' : 'underline'
2782
2771
  },
2783
2772
  ghost: {
2784
- backgroundColor: reverse ? buttonColor : 'transparent',
2773
+ backgroundColor: 'transparent',
2785
2774
  color: reverse ? 'white' : buttonColor,
2786
2775
  borderWidth: 1,
2787
2776
  borderStyle: 'solid',
2788
2777
  borderColor: reverse ? buttonColor : 'transparent'
2789
2778
  }
2790
2779
  };
2791
- // Executes rendering of the button or a link element based on the variant; applies conditional rendering for to in 'link' variant.
2792
2780
  var buttonSizeStyles = ButtonSizes[size];
2793
2781
  var buttonVariant = ButtonVariants[variant];
2794
2782
  var scaleWidth = {
2795
2783
  width: isAuto === true ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
2796
2784
  };
2797
2785
  var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
2798
- var content = /*#__PURE__*/React__default.createElement(Horizontal, {
2786
+ var content = /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
2799
2787
  gap: 10
2800
- }, isLoading && loaderPosition === 'left' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)), icon && iconPosition === 'left' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
2788
+ }, views == null ? void 0 : views.horizontal), isLoading && loaderPosition === 'left' && /*#__PURE__*/React__default.createElement(Loader, Object.assign({}, loaderProps)), icon && iconPosition === 'left' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
2801
2789
  animate: appStudio.Animation.jackInTheBox({})
2802
2790
  } : {}), icon)), children, icon && iconPosition === 'right' && !isLoading && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, isHovered ? {
2803
2791
  animate: appStudio.Animation.jackInTheBox({})
@@ -2821,12 +2809,11 @@
2821
2809
  }, hovering && !props.isDisabled ? {
2822
2810
  transition: 'transform 0.3s ease',
2823
2811
  transform: 'translateY(-5px)'
2824
- } : {}, 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({
2812
+ } : {}, defaultNativeProps, buttonSizeStyles, buttonVariant, scaleWidth, props.padding || props.paddingHorizontal || props.paddingVertical || props.paddingLeft || props.paddingRight || props.paddingTop || props.paddingBottom ? {} : changePadding, shadow, props, views == null ? void 0 : views.container), variant === 'link' && to ? (/*#__PURE__*/React__default.createElement(Link, Object.assign({
2825
2813
  to: to,
2826
- textDecorationColor: colorScheme,
2827
- colorScheme: colorScheme,
2814
+ textDecorationColor: 'theme.primary',
2828
2815
  isExternal: isExternal
2829
- }, linkProps), content)) : content);
2816
+ }, linkProps, views == null ? void 0 : views.link), content)) : content);
2830
2817
  };
2831
2818
 
2832
2819
  // Importing a custom hook to manage the state specific to the button component.
@@ -2856,13 +2843,13 @@
2856
2843
  };
2857
2844
  var Button = ButtonComponent;
2858
2845
 
2859
- var _excluded$a = ["src", "color", "themeMode"],
2846
+ var _excluded$a = ["src", "color", "views", "themeMode"],
2860
2847
  _excluded2$2 = ["path"];
2861
2848
  var FileSVG = _ref => {
2862
2849
  var {
2863
2850
  src,
2864
2851
  color,
2865
- themeMode: elementMode
2852
+ views
2866
2853
  } = _ref,
2867
2854
  props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2868
2855
  var {
@@ -2870,14 +2857,18 @@
2870
2857
  themeMode
2871
2858
  } = appStudio.useTheme();
2872
2859
  var Colorprops = color ? {
2873
- fill: getColor(color, elementMode ? elementMode : themeMode),
2874
- stroke: getColor(color, elementMode ? elementMode : themeMode)
2860
+ fill: getColor(color, {
2861
+ themeMode
2862
+ }),
2863
+ stroke: getColor(color, {
2864
+ themeMode
2865
+ })
2875
2866
  } : {};
2876
- return /*#__PURE__*/React__default.createElement(Center, Object.assign({}, props), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({}, Colorprops, {
2867
+ return /*#__PURE__*/React__default.createElement(Center, Object.assign({}, props, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({}, Colorprops, {
2877
2868
  content: 'url("' + src + '")',
2878
2869
  width: "100%",
2879
2870
  height: "100%"
2880
- })));
2871
+ }, views == null ? void 0 : views.image)));
2881
2872
  };
2882
2873
  var FileImage = _ref2 => {
2883
2874
  var {
@@ -2934,11 +2925,11 @@
2934
2925
  };
2935
2926
  };
2936
2927
 
2937
- var _excluded$b = ["children", "styles"];
2928
+ var _excluded$b = ["children", "views"];
2938
2929
  var HelperText = _ref => {
2939
2930
  var {
2940
2931
  children,
2941
- styles = {
2932
+ views = {
2942
2933
  helperText: {}
2943
2934
  }
2944
2935
  } = _ref,
@@ -2948,22 +2939,22 @@
2948
2939
  marginVertical: 0,
2949
2940
  marginHorizontal: 0,
2950
2941
  color: 'theme.text.dark'
2951
- }, styles['helperText'], props), children);
2942
+ }, views['helperText'], props), children);
2952
2943
  };
2953
2944
 
2954
- var _excluded$c = ["children", "helperText", "error", "styles"];
2945
+ var _excluded$c = ["children", "helperText", "error", "views"];
2955
2946
  var FieldContainer = _ref => {
2956
2947
  var {
2957
2948
  children,
2958
2949
  helperText,
2959
2950
  error = false,
2960
- styles
2951
+ views
2961
2952
  } = _ref,
2962
2953
  props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
2963
2954
  return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
2964
2955
  gap: 5,
2965
2956
  position: "relative"
2966
- }, props), children, !error && helperText && /*#__PURE__*/React__default.createElement(HelperText, Object.assign({}, styles), helperText), error && (/*#__PURE__*/React__default.createElement(Text, {
2957
+ }, props), children, !error && helperText && /*#__PURE__*/React__default.createElement(HelperText, Object.assign({}, views), helperText), error && (/*#__PURE__*/React__default.createElement(Text, {
2967
2958
  size: "xs",
2968
2959
  marginVertical: 0,
2969
2960
  marginHorizontal: 0,
@@ -3018,7 +3009,7 @@
3018
3009
  paddingRight: 16
3019
3010
  };
3020
3011
 
3021
- var _excluded$d = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
3012
+ var _excluded$d = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "views"];
3022
3013
  var FieldContent = _ref => {
3023
3014
  var {
3024
3015
  shadow,
@@ -3032,14 +3023,13 @@
3032
3023
  isHovered = false,
3033
3024
  isDisabled = false,
3034
3025
  isReadOnly = false,
3035
- colorScheme = 'theme.primary',
3036
- styles = {
3026
+ views = {
3037
3027
  pickerBox: {}
3038
3028
  }
3039
3029
  } = _ref,
3040
3030
  props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
3041
3031
  var isInteractive = (isHovered || isFocused) && !isDisabled;
3042
- var color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
3032
+ var color = error ? 'error' : isInteractive ? 'theme.primary' : 'midgray';
3043
3033
  return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
3044
3034
  gap: 10,
3045
3035
  width: "100%",
@@ -3055,7 +3045,7 @@
3055
3045
  fontSize: appStudio.Typography.fontSizes[size],
3056
3046
  // filter={isHovered ? 'brightness(1)':'brightness(0.97)'}
3057
3047
  cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'
3058
- }, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
3048
+ }, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], views['box'], props), children);
3059
3049
  };
3060
3050
 
3061
3051
  var _excluded$e = ["children"];
@@ -3103,13 +3093,13 @@
3103
3093
  },
3104
3094
  h5: {
3105
3095
  fontSize: 24,
3106
- // Set the 'h5' heading tag styles, opting for no additional letter spacing.
3096
+ // Set the 'h5' heading tag views, opting for no additional letter spacing.
3107
3097
  lineHeight: 28,
3108
3098
  letterSpacing: 0
3109
3099
  },
3110
3100
  h6: {
3111
3101
  fontSize: 20,
3112
- // Set the 'h6' heading tag styles, with the smallest font size and a subtle letter spacing.
3102
+ // Set the 'h6' heading tag views, with the smallest font size and a subtle letter spacing.
3113
3103
  lineHeight: 24,
3114
3104
  letterSpacing: 0.15
3115
3105
  }
@@ -3163,14 +3153,14 @@
3163
3153
  var Label = LabelComponent;
3164
3154
  // Export the 'LabelComponent' as 'Label' to be reused throughout the project.
3165
3155
 
3166
- var _excluded$g = ["children", "size", "error", "color", "styles", "helperText"];
3156
+ var _excluded$g = ["children", "size", "error", "color", "views", "helperText"];
3167
3157
  var FieldLabel = _ref => {
3168
3158
  var {
3169
3159
  children,
3170
3160
  size = 'md',
3171
3161
  error = false,
3172
3162
  color = 'theme.primary',
3173
- styles = {
3163
+ views = {
3174
3164
  label: {}
3175
3165
  }
3176
3166
  } = _ref,
@@ -3184,7 +3174,7 @@
3184
3174
  position: "absolute",
3185
3175
  color: error ? 'error' : color,
3186
3176
  fontSize: LabelSizes[size]
3187
- }, styles['label'], props), children);
3177
+ }, views['label'], props), children);
3188
3178
  };
3189
3179
 
3190
3180
  var _excluded$h = ["children"];
@@ -3212,7 +3202,7 @@
3212
3202
  var _excluded$i = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
3213
3203
  _excluded2$3 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
3214
3204
  _excluded3$2 = ["option", "size", "removeOption"],
3215
- _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"];
3205
+ _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"];
3216
3206
  // Defines a component to render individual selection items within a list.
3217
3207
  var Item = _ref => {
3218
3208
  var {
@@ -3246,7 +3236,7 @@
3246
3236
  var _ref3;
3247
3237
  var {
3248
3238
  size = 'md',
3249
- styles = {
3239
+ views = {
3250
3240
  field: {},
3251
3241
  text: {}
3252
3242
  },
@@ -3267,7 +3257,7 @@
3267
3257
  backgroundColor: 'transparent',
3268
3258
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
3269
3259
  cursor: isDisabled ? 'not-allowed' : 'auto'
3270
- }, styles['field'], styles['text']);
3260
+ }, views['field'], views['text']);
3271
3261
  var option = options.length > 0 && options.find(option => option.value === value);
3272
3262
  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 :
3273
3263
  // If value is an array and not empty, render MultiSelect options
@@ -3320,7 +3310,7 @@
3320
3310
  var DropDown = _ref5 => {
3321
3311
  var {
3322
3312
  size,
3323
- styles = {
3313
+ views = {
3324
3314
  dropDown: {}
3325
3315
  },
3326
3316
  options,
@@ -3367,10 +3357,10 @@
3367
3357
  display: 'none'
3368
3358
  }
3369
3359
  }
3370
- }, shadow, styles['dropDown']), options.length > 0 && options.map((option, index) => (/*#__PURE__*/React__default.createElement(Item, Object.assign({
3360
+ }, shadow, views['dropDown']), options.length > 0 && options.map((option, index) => (/*#__PURE__*/React__default.createElement(Item, Object.assign({
3371
3361
  key: option.value,
3372
3362
  size: size,
3373
- style: styles['text'],
3363
+ style: views['text'],
3374
3364
  option: option,
3375
3365
  callback: handleCallback,
3376
3366
  backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
@@ -3398,7 +3388,7 @@
3398
3388
  }, option), /*#__PURE__*/React__default.createElement(CloseIcon, {
3399
3389
  role: "close-button",
3400
3390
  color: "inherit",
3401
- size: IconSizes$2[size],
3391
+ widthHeight: IconSizes$2[size],
3402
3392
  onClick: handleClick
3403
3393
  }));
3404
3394
  };
@@ -3420,10 +3410,9 @@
3420
3410
  options = [],
3421
3411
  shadow = {},
3422
3412
  size = 'md',
3423
- colorScheme = 'theme.primary',
3424
3413
  shape = 'default',
3425
3414
  variant = 'default',
3426
- styles = {
3415
+ views = {
3427
3416
  text: {},
3428
3417
  icon: {},
3429
3418
  dropDown: {},
@@ -3467,31 +3456,30 @@
3467
3456
  role: "SelectBox",
3468
3457
  helperText: helperText,
3469
3458
  error: error,
3470
- styles: styles,
3459
+ views: views,
3471
3460
  onClick: isDisabled || isReadOnly ? () => {} : handleClick
3472
3461
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
3473
3462
  label: label,
3474
3463
  size: size,
3475
3464
  error: error,
3476
3465
  shape: shape,
3477
- styles: styles,
3466
+ views: views,
3478
3467
  shadow: shadow,
3479
3468
  variant: variant,
3480
3469
  value: value,
3481
- color: colorScheme,
3470
+ color: 'theme.primary',
3482
3471
  isHovered: isHovered,
3483
3472
  isDisabled: isDisabled,
3484
3473
  isReadOnly: isReadOnly,
3485
3474
  isFocused: isFocused,
3486
3475
  isWithLabel: isWithLabel,
3487
- colorScheme: colorScheme,
3488
3476
  onMouseEnter: handleHover,
3489
3477
  onMouseLeave: handleHover
3490
3478
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
3491
3479
  htmlFor: id,
3492
- color: colorScheme,
3480
+ color: 'theme.primary',
3493
3481
  error: error
3494
- }, styles), label)), /*#__PURE__*/React__default.createElement(HiddenSelect, Object.assign({
3482
+ }, views), label)), /*#__PURE__*/React__default.createElement(HiddenSelect, Object.assign({
3495
3483
  id: id,
3496
3484
  name: name,
3497
3485
  options: options,
@@ -3504,24 +3492,24 @@
3504
3492
  }, props)), /*#__PURE__*/React__default.createElement(SelectBox, {
3505
3493
  options: options,
3506
3494
  size: size,
3507
- styles: styles,
3495
+ views: views,
3508
3496
  value: value,
3509
3497
  isDisabled: isDisabled,
3510
3498
  placeholder: placeholder,
3511
3499
  removeOption: handleRemoveOption
3512
3500
  })), /*#__PURE__*/React__default.createElement(FieldIcons, null, !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
3513
3501
  color: "inherit",
3514
- size: IconSizes$2[size],
3515
- style: styles.icon,
3502
+ widthHeight: IconSizes$2[size],
3503
+ style: views.icon,
3516
3504
  orientation: "down"
3517
3505
  })) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
3518
3506
  color: "inherit",
3519
3507
  orientation: "up",
3520
- size: IconSizes$2[size],
3521
- style: styles.icon
3508
+ widthHeight: IconSizes$2[size],
3509
+ style: views.icon
3522
3510
  })))))), !hide && (/*#__PURE__*/React__default.createElement(DropDown, {
3523
3511
  size: size,
3524
- styles: styles,
3512
+ views: views,
3525
3513
  options: options,
3526
3514
  callback: handleCallback,
3527
3515
  highlightedIndex: highlightedIndex,
@@ -3685,7 +3673,7 @@
3685
3673
  }
3686
3674
  };
3687
3675
 
3688
- var _excluded$j = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
3676
+ var _excluded$j = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "views"];
3689
3677
  var SwitchContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
3690
3678
  type: "checkbox"
3691
3679
  }, props));
@@ -3699,7 +3687,6 @@
3699
3687
  labelPosition = 'right',
3700
3688
  shadow = {},
3701
3689
  size = 'sm',
3702
- colorScheme = 'theme.primary',
3703
3690
  value = false,
3704
3691
  isHovered = false,
3705
3692
  isDisabled = false,
@@ -3709,7 +3696,7 @@
3709
3696
  onChange,
3710
3697
  setValue = () => {},
3711
3698
  setIsHovered = () => {},
3712
- styles = {
3699
+ views = {
3713
3700
  slider: {},
3714
3701
  circle: {},
3715
3702
  label: {}
@@ -3731,7 +3718,7 @@
3731
3718
  height: 'fit-content',
3732
3719
  width: 'fit-content',
3733
3720
  cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'
3734
- }, styles.label)
3721
+ }, views.label)
3735
3722
  };
3736
3723
  return /*#__PURE__*/React__default.createElement(Label, Object.assign({
3737
3724
  htmlFor: id,
@@ -3755,12 +3742,12 @@
3755
3742
  marginBottom: 5,
3756
3743
  filter: isHovered && value ? 'brightness(0.9)' : 'brightness(1)',
3757
3744
  transition: "justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
3758
- backgroundColor: isDisabled ? 'disabled' : value ? colorScheme : 'lightgray',
3745
+ backgroundColor: isDisabled ? 'disabled' : value ? 'theme.primary' : 'lightgray',
3759
3746
  justifyContent: activeChild ? 'space-between' : value ? 'flex-end' : 'flex-start'
3760
- }, shadow, SliderPadding[size], SliderSizes[size], styles['slider']), activeChild && value && /*#__PURE__*/React__default.createElement(View, null, activeChild), /*#__PURE__*/React__default.createElement(View, Object.assign({
3747
+ }, shadow, SliderPadding[size], SliderSizes[size], views['slider']), activeChild && value && /*#__PURE__*/React__default.createElement(View, null, activeChild), /*#__PURE__*/React__default.createElement(View, Object.assign({
3761
3748
  borderRadius: "50%",
3762
3749
  backgroundColor: "white"
3763
- }, KnobSizes[size], styles['circle'])), inActiveChild && !value && /*#__PURE__*/React__default.createElement(View, null, inActiveChild)), labelPosition === 'right' && label && /*#__PURE__*/React__default.createElement(View, null, label));
3750
+ }, KnobSizes[size], views['circle'])), inActiveChild && !value && /*#__PURE__*/React__default.createElement(View, null, inActiveChild)), labelPosition === 'right' && label && /*#__PURE__*/React__default.createElement(View, null, label));
3764
3751
  };
3765
3752
 
3766
3753
  // Defines the SwitchComponent as a functional component that takes SwitchProps as props.
@@ -3805,7 +3792,7 @@
3805
3792
  // Export of the useTextAreaState hook for external usage.
3806
3793
  };
3807
3794
 
3808
- 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"];
3795
+ 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"];
3809
3796
  var TextAreaView = _ref => {
3810
3797
  var {
3811
3798
  id,
@@ -3819,7 +3806,6 @@
3819
3806
  size = 'sm',
3820
3807
  shape = 'default',
3821
3808
  variant = 'default',
3822
- colorScheme = 'theme.primary',
3823
3809
  isHovered = false,
3824
3810
  isFocused = false,
3825
3811
  isEditable = false,
@@ -3837,7 +3823,7 @@
3837
3823
  setValue = () => {},
3838
3824
  setIsFocused = () => {},
3839
3825
  setIsHovered = () => {},
3840
- styles = {
3826
+ views = {
3841
3827
  box: {},
3842
3828
  text: {},
3843
3829
  label: {},
@@ -3863,7 +3849,7 @@
3863
3849
  backgroundColor: 'transparent',
3864
3850
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
3865
3851
  cursor: isDisabled ? 'not-allowed' : 'auto'
3866
- }, styles['field']);
3852
+ }, views['field']);
3867
3853
  var handleHover = () => setIsHovered(!isHovered);
3868
3854
  var handleFocus = () => {
3869
3855
  setIsFocused(true);
@@ -3887,30 +3873,29 @@
3887
3873
  return /*#__PURE__*/React__default.createElement(FieldContainer, {
3888
3874
  helperText: helperText,
3889
3875
  error: error,
3890
- styles: styles
3876
+ views: views
3891
3877
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
3892
3878
  label: label,
3893
3879
  size: size,
3894
3880
  error: error,
3895
3881
  shape: shape,
3896
- styles: styles,
3882
+ views: views,
3897
3883
  shadow: shadow,
3898
3884
  variant: variant,
3899
3885
  value: value,
3900
- color: colorScheme,
3886
+ color: 'theme.primary',
3901
3887
  isHovered: isHovered,
3902
3888
  isDisabled: isDisabled,
3903
3889
  isReadOnly: isReadOnly,
3904
3890
  isFocused: isFocused,
3905
3891
  isWithLabel: isWithLabel,
3906
- colorScheme: colorScheme,
3907
3892
  onMouseEnter: handleHover,
3908
3893
  onMouseLeave: handleHover
3909
3894
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
3910
3895
  htmlFor: id,
3911
- color: colorScheme,
3896
+ color: 'theme.primary',
3912
3897
  error: error
3913
- }, styles), label)), /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
3898
+ }, views), label)), /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
3914
3899
  as: "textarea",
3915
3900
  id: id,
3916
3901
  name: name,
@@ -3975,7 +3960,7 @@
3975
3960
  };
3976
3961
  };
3977
3962
 
3978
- 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"];
3963
+ 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"];
3979
3964
  var TextFieldInput = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
3980
3965
  type: "text"
3981
3966
  }, props));
@@ -3992,7 +3977,7 @@
3992
3977
  helperText,
3993
3978
  onChangeText,
3994
3979
  shadow = {},
3995
- styles = {
3980
+ views = {
3996
3981
  box: {},
3997
3982
  field: {},
3998
3983
  label: {},
@@ -4002,7 +3987,6 @@
4002
3987
  size = 'md',
4003
3988
  shape = 'default',
4004
3989
  variant = 'default',
4005
- colorScheme = 'theme.primary',
4006
3990
  error = false,
4007
3991
  isFocused = false,
4008
3992
  isHovered = false,
@@ -4043,7 +4027,7 @@
4043
4027
  backgroundColor: 'transparent',
4044
4028
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
4045
4029
  cursor: isDisabled ? 'not-allowed' : 'auto'
4046
- }, styles['field']);
4030
+ }, views['field']);
4047
4031
  var handleFocus = () => {
4048
4032
  setIsFocused(true);
4049
4033
  if (onFocus) onFocus();
@@ -4080,30 +4064,29 @@
4080
4064
  return /*#__PURE__*/React__default.createElement(FieldContainer, {
4081
4065
  helperText: helperText,
4082
4066
  error: error,
4083
- styles: styles
4067
+ views: views
4084
4068
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
4085
4069
  label: label,
4086
4070
  size: size,
4087
4071
  error: error,
4088
4072
  shape: shape,
4089
- styles: styles,
4073
+ views: views,
4090
4074
  shadow: shadow,
4091
4075
  variant: variant,
4092
4076
  value: value,
4093
- color: colorScheme,
4077
+ color: 'theme.primary',
4094
4078
  isHovered: isHovered,
4095
4079
  isDisabled: isDisabled,
4096
4080
  isReadOnly: isReadOnly,
4097
4081
  isFocused: isFocused,
4098
4082
  isWithLabel: isWithLabel,
4099
- colorScheme: colorScheme,
4100
4083
  onMouseEnter: handleHover,
4101
4084
  onMouseLeave: handleHover
4102
4085
  }, left, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
4103
4086
  htmlFor: id,
4104
- color: colorScheme,
4087
+ color: 'theme.primary',
4105
4088
  error: error
4106
- }, styles), label)), /*#__PURE__*/React__default.createElement(TextFieldInput, Object.assign({
4089
+ }, views), label)), /*#__PURE__*/React__default.createElement(TextFieldInput, Object.assign({
4107
4090
  id: id,
4108
4091
  name: name,
4109
4092
  readOnly: isReadOnly,
@@ -4117,7 +4100,7 @@
4117
4100
  onChange: handleChange,
4118
4101
  value: value
4119
4102
  }))), isClearable && value && !isReadOnly && !isDisabled && (/*#__PURE__*/React__default.createElement(FieldIcons, null, /*#__PURE__*/React__default.createElement(CloseIcon, {
4120
- size: appStudio.Typography.fontSizes[size],
4103
+ widthHeight: appStudio.Typography.fontSizes[size],
4121
4104
  color: IconColor,
4122
4105
  onClick: handleClear
4123
4106
  }))), right));
@@ -4201,7 +4184,7 @@
4201
4184
  '6xl': 60
4202
4185
  };
4203
4186
 
4204
- 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"];
4187
+ 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"];
4205
4188
  var CheckboxView = _ref => {
4206
4189
  var {
4207
4190
  id,
@@ -4213,7 +4196,6 @@
4213
4196
  shadow = {},
4214
4197
  labelPosition = 'right',
4215
4198
  size = 'md',
4216
- colorScheme = 'theme.primary',
4217
4199
  error = false,
4218
4200
  isSelected = false,
4219
4201
  isHovered = false,
@@ -4223,7 +4205,7 @@
4223
4205
  defaultIsSelected = false,
4224
4206
  setIsSelected = () => {},
4225
4207
  setIsHovered = () => {},
4226
- styles = {
4208
+ views = {
4227
4209
  checkbox: {},
4228
4210
  label: {}
4229
4211
  },
@@ -4247,11 +4229,11 @@
4247
4229
  width: 'fit-content',
4248
4230
  color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',
4249
4231
  cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'
4250
- }, styles['label']),
4232
+ }, views['label']),
4251
4233
  checkbox: Object.assign({}, isDisabled ? {
4252
4234
  backgroundColor: 'theme.disabled'
4253
4235
  } : (isChecked || isSelected) && !isIndeterminate || isIndeterminate ? {
4254
- backgroundColor: colorScheme
4236
+ backgroundColor: 'theme.primary'
4255
4237
  } : {
4256
4238
  borderWidth: 2,
4257
4239
  borderColor: error ? 'theme.error' : isHovered ? 'color.gray.500' : 'color.gray.300',
@@ -4260,7 +4242,7 @@
4260
4242
  borderRadius: 3
4261
4243
  }, isHovered ? {
4262
4244
  filter: 'brightness(0.9)'
4263
- } : {}, Sizes[size], shadow, styles['checkbox'])
4245
+ } : {}, Sizes[size], shadow, views['checkbox'])
4264
4246
  };
4265
4247
  return /*#__PURE__*/React__default.createElement(Label, Object.assign({
4266
4248
  htmlFor: id,
@@ -4276,19 +4258,19 @@
4276
4258
  alignItems: "center"
4277
4259
  }, labelPosition === 'left' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
4278
4260
  size: size
4279
- }, styles == null ? void 0 : styles.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(MinusIcon, {
4280
- size: IconSizes$3[size],
4261
+ }, views == null ? void 0 : views.label), label)), /*#__PURE__*/React__default.createElement(Center, Object.assign({}, checkboxStyle.checkbox), isIndeterminate ? (/*#__PURE__*/React__default.createElement(MinusIcon, {
4262
+ widthHeight: IconSizes$3[size],
4281
4263
  color: "white"
4282
4264
  })) : (isChecked || isSelected) && (icon != null ? icon : /*#__PURE__*/React__default.createElement(TickIcon, {
4283
- size: IconSizes$3[size],
4265
+ widthHeight: IconSizes$3[size],
4284
4266
  color: "white"
4285
4267
  }))), labelPosition === 'right' && label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
4286
4268
  size: size
4287
- }, styles == null ? void 0 : styles.label), label))), infoText && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
4269
+ }, views == null ? void 0 : views.label), label))), infoText && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
4288
4270
  marginLeft: labelPosition === 'left' ? 0 : 27,
4289
4271
  color: "color.gray.400",
4290
4272
  size: "sm"
4291
- }, styles == null ? void 0 : styles.infoText), infoText))), error && (/*#__PURE__*/React__default.createElement(Text, {
4273
+ }, views == null ? void 0 : views.infoText), infoText))), error && (/*#__PURE__*/React__default.createElement(Text, {
4292
4274
  size: "xs",
4293
4275
  marginVertical: 0,
4294
4276
  marginHorizontal: 0,
@@ -5795,7 +5777,7 @@
5795
5777
 
5796
5778
  var _excluded$n = ["size"],
5797
5779
  _excluded2$4 = ["size"],
5798
- _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"];
5780
+ _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"];
5799
5781
  var CountryList = _ref => {
5800
5782
  var props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5801
5783
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
@@ -5816,7 +5798,7 @@
5816
5798
  option,
5817
5799
  size = 'md',
5818
5800
  callback = () => {},
5819
- styles = {
5801
+ views = {
5820
5802
  text: {}
5821
5803
  }
5822
5804
  } = _ref3;
@@ -5838,15 +5820,15 @@
5838
5820
  onClick: handleOptionClick,
5839
5821
  fontSize: appStudio.Typography.fontSizes[size],
5840
5822
  backgroundColor: isHovered ? 'trueGray.100' : 'transparent'
5841
- }, styles['text']), option);
5823
+ }, views['text']), option);
5842
5824
  };
5843
5825
  var DropDown$1 = _ref4 => {
5844
5826
  var {
5845
5827
  size,
5846
- styles = {
5828
+ views = {
5847
5829
  dropDown: {}
5848
5830
  },
5849
- options,
5831
+ options = [],
5850
5832
  callback = () => {}
5851
5833
  } = _ref4;
5852
5834
  var handleCallback = option => callback(option);
@@ -5865,12 +5847,12 @@
5865
5847
  flexDirection: "column",
5866
5848
  backgroundColor: "white",
5867
5849
  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"
5868
- }, styles['dropDown']), options.map(option => (/*#__PURE__*/React__default.createElement(DropDownItem, Object.assign({
5850
+ }, views['dropDown']), options.map(option => (/*#__PURE__*/React__default.createElement(DropDownItem, Object.assign({
5869
5851
  key: option.code,
5870
5852
  size: size,
5871
5853
  option: option.name,
5872
5854
  callback: handleCallback
5873
- }, styles['text'])))));
5855
+ }, views['text'])))));
5874
5856
  };
5875
5857
  var CountryPickerView = _ref5 => {
5876
5858
  var {
@@ -5892,7 +5874,6 @@
5892
5874
  size = 'md',
5893
5875
  variant = 'default',
5894
5876
  shape = 'default',
5895
- colorScheme = 'theme.primary',
5896
5877
  onChange,
5897
5878
  onBlur = () => {},
5898
5879
  setHide = () => {},
@@ -5900,7 +5881,7 @@
5900
5881
  setIsHovered = () => {},
5901
5882
  setIsFocused = () => {},
5902
5883
  setValue = () => {},
5903
- styles = {
5884
+ views = {
5904
5885
  text: {},
5905
5886
  icon: {},
5906
5887
  label: {},
@@ -5955,36 +5936,35 @@
5955
5936
  fontSize: appStudio.Typography.fontSizes[size],
5956
5937
  backgroundColor: 'transparent',
5957
5938
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
5958
- cursor: isDisabled ? 'not-allowed' : 'auto'
5959
- }, styles['field']);
5939
+ cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'
5940
+ }, views['field']);
5960
5941
  return /*#__PURE__*/React__default.createElement(FieldContainer, {
5961
5942
  helperText: helperText,
5962
5943
  error: error,
5963
- styles: styles,
5944
+ views: views,
5964
5945
  onClick: handleClick
5965
5946
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
5966
5947
  label: label,
5967
5948
  size: size,
5968
5949
  error: error,
5969
5950
  shape: shape,
5970
- styles: styles,
5951
+ views: views,
5971
5952
  shadow: shadow,
5972
5953
  variant: variant,
5973
5954
  value: value,
5974
- color: colorScheme,
5955
+ color: 'theme.primary',
5975
5956
  isHovered: isHovered,
5976
5957
  isDisabled: isDisabled,
5977
5958
  isReadOnly: isReadOnly,
5978
5959
  isFocused: isFocused,
5979
5960
  isWithLabel: isWithLabel,
5980
- colorScheme: colorScheme,
5981
5961
  onMouseEnter: handleHover,
5982
5962
  onMouseLeave: handleHover
5983
5963
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
5984
5964
  htmlFor: id,
5985
- color: colorScheme,
5965
+ color: 'theme.primary',
5986
5966
  error: error
5987
- }, styles), label)), /*#__PURE__*/React__default.createElement(CountrySelector, Object.assign({
5967
+ }, views), label)), /*#__PURE__*/React__default.createElement(CountrySelector, Object.assign({
5988
5968
  id: id,
5989
5969
  name: name,
5990
5970
  placeholder: placeholder,
@@ -5998,17 +5978,17 @@
5998
5978
  onChange: handleChange
5999
5979
  }))), /*#__PURE__*/React__default.createElement(FieldIcons, null, hide ? (/*#__PURE__*/React__default.createElement(ChevronIcon, {
6000
5980
  orientation: "down",
6001
- size: IconSizes$4[size],
5981
+ widthHeight: IconSizes$4[size],
6002
5982
  color: IconColor,
6003
- style: styles['icon']
5983
+ style: views['icon']
6004
5984
  })) : (/*#__PURE__*/React__default.createElement(ChevronIcon, {
6005
5985
  orientation: "up",
6006
- size: IconSizes$4[size],
5986
+ widthHeight: IconSizes$4[size],
6007
5987
  color: IconColor,
6008
- style: styles['icon']
5988
+ style: views['icon']
6009
5989
  })))), !hide && (/*#__PURE__*/React__default.createElement(DropDown$1, {
6010
5990
  size: size,
6011
- styles: styles,
5991
+ views: views,
6012
5992
  options: newOptions,
6013
5993
  callback: handleCallback
6014
5994
  })));
@@ -6038,7 +6018,7 @@
6038
6018
  };
6039
6019
  };
6040
6020
 
6041
- 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"];
6021
+ 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"];
6042
6022
  var DatePickerContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
6043
6023
  type: "date"
6044
6024
  }, props));
@@ -6053,8 +6033,7 @@
6053
6033
  size = 'md',
6054
6034
  variant = 'default',
6055
6035
  shape = 'default',
6056
- colorScheme = 'theme.primary',
6057
- styles = {
6036
+ views = {
6058
6037
  box: {},
6059
6038
  label: {},
6060
6039
  helperText: {},
@@ -6102,34 +6081,33 @@
6102
6081
  backgroundColor: 'transparent',
6103
6082
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
6104
6083
  cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'
6105
- }, styles['field']);
6084
+ }, views['field']);
6106
6085
  return /*#__PURE__*/React__default.createElement(FieldContainer, {
6107
6086
  helperText: helperText,
6108
6087
  error: error,
6109
- styles: styles
6088
+ views: views
6110
6089
  }, /*#__PURE__*/React__default.createElement(FieldContent, {
6111
6090
  label: label,
6112
6091
  size: size,
6113
6092
  error: error,
6114
6093
  shape: shape,
6115
- styles: styles,
6094
+ views: views,
6116
6095
  shadow: shadow,
6096
+ color: 'theme.primary',
6117
6097
  variant: variant,
6118
6098
  value: date,
6119
- color: colorScheme,
6120
6099
  isHovered: isHovered,
6121
6100
  isDisabled: isDisabled,
6122
6101
  isReadOnly: isReadOnly,
6123
6102
  isFocused: isFocused,
6124
6103
  isWithLabel: isWithLabel,
6125
- colorScheme: colorScheme,
6126
6104
  onMouseEnter: handleHover,
6127
6105
  onMouseLeave: handleHover
6128
6106
  }, /*#__PURE__*/React__default.createElement(FieldWrapper, null, isWithLabel && (/*#__PURE__*/React__default.createElement(FieldLabel, Object.assign({
6129
6107
  htmlFor: id,
6130
- color: colorScheme,
6108
+ color: 'theme.primary',
6131
6109
  error: error
6132
- }, styles), label)), /*#__PURE__*/React__default.createElement(DatePickerContent, Object.assign({
6110
+ }, views), label)), /*#__PURE__*/React__default.createElement(DatePickerContent, Object.assign({
6133
6111
  id: id,
6134
6112
  name: name,
6135
6113
  onFocus: handleFocus,
@@ -6165,10 +6143,10 @@
6165
6143
  var PasswordComponent = _ref => {
6166
6144
  var {
6167
6145
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
6168
- size: 14
6146
+ widthHeight: 14
6169
6147
  }),
6170
6148
  hiddenIcon = /*#__PURE__*/React__default.createElement(CloseEyeIcon, {
6171
- size: 14
6149
+ widthHeight: 14
6172
6150
  })
6173
6151
  } = _ref,
6174
6152
  props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
@@ -6225,7 +6203,7 @@
6225
6203
  };
6226
6204
  };
6227
6205
 
6228
- var _excluded$q = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
6206
+ var _excluded$q = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "views", "isDropdownVisible", "setIsDropdownVisible"];
6229
6207
  // Defines the functional component 'ComboBoxView' with destructured props.
6230
6208
  var ComboBoxView = _ref => {
6231
6209
  var {
@@ -6245,7 +6223,7 @@
6245
6223
  searchQuery,
6246
6224
  setSearchQuery,
6247
6225
  setFilteredItems,
6248
- styles,
6226
+ views,
6249
6227
  isDropdownVisible,
6250
6228
  setIsDropdownVisible
6251
6229
  // Collects all further props not destructured explicitly.
@@ -6288,7 +6266,7 @@
6288
6266
  alignItems: "center",
6289
6267
  width: "100%"
6290
6268
  }, props), label && (/*#__PURE__*/React__default.createElement(Text, {
6291
- styles: styles == null ? void 0 : styles.label,
6269
+ views: views == null ? void 0 : views.label,
6292
6270
  htmlFor: props.id
6293
6271
  }, label)), /*#__PURE__*/React__default.createElement(View, {
6294
6272
  position: "relative"
@@ -6303,16 +6281,16 @@
6303
6281
  justifyContent: "space-between",
6304
6282
  minWidth: 300,
6305
6283
  flexWrap: "nowrap"
6306
- }, styles == null ? void 0 : styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
6284
+ }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
6307
6285
  gap: 15,
6308
6286
  alignItems: "center",
6309
6287
  position: "relative",
6310
6288
  width: "100%",
6311
6289
  onClick: () => setIsDropdownVisible(!isDropdownVisible)
6312
- }, styles == null ? void 0 : styles.labelContainer), left, /*#__PURE__*/React__default.createElement(Text, Object.assign({
6290
+ }, views == null ? void 0 : views.labelContainer), left, /*#__PURE__*/React__default.createElement(Text, Object.assign({
6313
6291
  weight: "medium",
6314
6292
  flexGrow: 1
6315
- }, styles == null ? void 0 : styles.label), selectedItem.label)), right, isDropdownVisible && (/*#__PURE__*/React__default.createElement(View, Object.assign({
6293
+ }, views == null ? void 0 : views.label), selectedItem.label)), right, isDropdownVisible && (/*#__PURE__*/React__default.createElement(View, Object.assign({
6316
6294
  id: "combobox-dropdown",
6317
6295
  position: "absolute",
6318
6296
  backgroundColor: "white",
@@ -6325,7 +6303,7 @@
6325
6303
  transform: "translateY(100%)",
6326
6304
  marginTop: "4px",
6327
6305
  borderRadius: "4px"
6328
- }, styles == null ? void 0 : styles.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
6306
+ }, views == null ? void 0 : views.dropdown), searchEnabled && (/*#__PURE__*/React__default.createElement(TextFieldView, {
6329
6307
  id: props.id,
6330
6308
  name: props.name,
6331
6309
  width: "100%",
@@ -6335,14 +6313,14 @@
6335
6313
  hint: placeholder,
6336
6314
  isClearable: false,
6337
6315
  left: /*#__PURE__*/React__default.createElement(SearchIcon, {
6338
- size: 12
6316
+ widthHeight: 12
6339
6317
  }),
6340
- styles: {
6318
+ views: {
6341
6319
  box: Object.assign({
6342
6320
  width: '100%',
6343
6321
  padding: '6px 12px',
6344
6322
  borderBottom: filteredItems.length > 0 ? '1px solid #ccc' : '1px solid transparent'
6345
- }, styles == null ? void 0 : styles.text)
6323
+ }, views == null ? void 0 : views.text)
6346
6324
  }
6347
6325
  })), filteredItems.length > 0 && (/*#__PURE__*/React__default.createElement(View, {
6348
6326
  margin: 0,
@@ -6356,8 +6334,8 @@
6356
6334
  backgroundColor: index === highlightedIndex ? 'color.gray.100' : 'transparent',
6357
6335
  onMouseEnter: () => setHighlightedIndex(index),
6358
6336
  onClick: () => handleSelect(item)
6359
- }, 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, {
6360
- size: 20
6337
+ }, 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, {
6338
+ widthHeight: 20
6361
6339
  }))))))))))));
6362
6340
  };
6363
6341
 
@@ -6621,10 +6599,10 @@
6621
6599
  var PasswordComponent$1 = _ref => {
6622
6600
  var {
6623
6601
  visibleIcon = /*#__PURE__*/React__default.createElement(OpenEyeIcon, {
6624
- size: 14
6602
+ widthHeight: 14
6625
6603
  }),
6626
6604
  hiddenIcon = /*#__PURE__*/React__default.createElement(CloseEyeIcon, {
6627
- size: 14
6605
+ widthHeight: 14
6628
6606
  })
6629
6607
  } = _ref,
6630
6608
  props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
@@ -6683,12 +6661,12 @@
6683
6661
  subtitle: '',
6684
6662
  variant: 'info',
6685
6663
  isClosable: false,
6686
- styles: {},
6664
+ views: {},
6687
6665
  action: () => {},
6688
6666
  actionText: '',
6689
6667
  showIcon: false,
6690
6668
  timeout: 3000,
6691
- show: function show(variant, title, subtitle, isClosable, styles, action, actionText, showIcon, timeout) {
6669
+ show: function show(variant, title, subtitle, isClosable, views, action, actionText, showIcon, timeout) {
6692
6670
  if (title === void 0) {
6693
6671
  title = '';
6694
6672
  }
@@ -6701,7 +6679,7 @@
6701
6679
  title,
6702
6680
  subtitle,
6703
6681
  isClosable,
6704
- styles,
6682
+ views,
6705
6683
  action,
6706
6684
  actionText,
6707
6685
  showIcon,
@@ -6713,7 +6691,7 @@
6713
6691
  })
6714
6692
  }));
6715
6693
  var showMessage = (variant, title, subtitle, props) => {
6716
- 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);
6694
+ 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);
6717
6695
  };
6718
6696
  var hideMessage = () => {
6719
6697
  useMessageStore.getState().hide();
@@ -6791,7 +6769,7 @@
6791
6769
  };
6792
6770
 
6793
6771
  var MessageView = _ref => {
6794
- var _styles$closingIcon, _styles$closingIcon2;
6772
+ var _views$closingIcon, _views$closingIcon2;
6795
6773
  var {
6796
6774
  variant,
6797
6775
  hide,
@@ -6803,7 +6781,7 @@
6803
6781
  showIcon = false,
6804
6782
  isClosable = false,
6805
6783
  timeout = 3000,
6806
- styles
6784
+ views
6807
6785
  } = _ref;
6808
6786
  React.useEffect(() => {
6809
6787
  if (timeout && !isClosable) {
@@ -6833,21 +6811,21 @@
6833
6811
  }[variant];
6834
6812
  var iconComponent = {
6835
6813
  info: /*#__PURE__*/React__default.createElement(InfoIcon, Object.assign({
6836
- size: 24,
6814
+ widthHeight: 24,
6837
6815
  color: iconColor
6838
- }, styles == null ? void 0 : styles.icon)),
6839
- success: /*#__PURE__*/React__default.createElement(SuccessIcon, Object.assign({
6840
- size: 24,
6816
+ }, views == null ? void 0 : views.icon)),
6817
+ success: (/*#__PURE__*/React__default.createElement(SuccessIcon, Object.assign({
6818
+ widthHeight: 24,
6841
6819
  color: iconColor
6842
- }, styles == null ? void 0 : styles.icon)),
6843
- warning: /*#__PURE__*/React__default.createElement(WarningIcon, Object.assign({
6844
- size: 24,
6820
+ }, views == null ? void 0 : views.icon))),
6821
+ warning: (/*#__PURE__*/React__default.createElement(WarningIcon, Object.assign({
6822
+ widthHeight: 24,
6845
6823
  color: iconColor
6846
- }, styles == null ? void 0 : styles.icon)),
6824
+ }, views == null ? void 0 : views.icon))),
6847
6825
  error: /*#__PURE__*/React__default.createElement(ErrorIcon, Object.assign({
6848
- size: 24,
6826
+ widthHeight: 24,
6849
6827
  color: iconColor
6850
- }, styles == null ? void 0 : styles.icon))
6828
+ }, views == null ? void 0 : views.icon))
6851
6829
  }[variant];
6852
6830
  var isShowIcon = showIcon && iconComponent;
6853
6831
  return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
@@ -6864,20 +6842,20 @@
6864
6842
  onClick: isClosable ? () => {} : () => {
6865
6843
  hide();
6866
6844
  }
6867
- }, containerStyle, styles == null ? void 0 : styles.container), isShowIcon && iconComponent, /*#__PURE__*/React__default.createElement(Vertical, {
6845
+ }, containerStyle, views == null ? void 0 : views.container), isShowIcon && iconComponent, /*#__PURE__*/React__default.createElement(Vertical, {
6868
6846
  gap: 8,
6869
6847
  width: "100%"
6870
6848
  }, /*#__PURE__*/React__default.createElement(Text, Object.assign({
6871
6849
  size: "md",
6872
6850
  weight: "semiBold"
6873
- }, styles == null ? void 0 : styles.title), title), subtitle && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
6851
+ }, views == null ? void 0 : views.title), title), subtitle && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
6874
6852
  size: "sm"
6875
- }, styles == null ? void 0 : styles.subtitle), subtitle))), isWithAction && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
6853
+ }, views == null ? void 0 : views.subtitle), subtitle))), isWithAction && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
6876
6854
  marginRight: 10,
6877
6855
  onClick: action,
6878
6856
  padding: "6px 10px",
6879
6857
  whiteSpace: "nowrap"
6880
- }, containerStyle, styles == null ? void 0 : styles.actionText), actionText)), isClosable && (/*#__PURE__*/React__default.createElement(View, Object.assign({
6858
+ }, containerStyle, views == null ? void 0 : views.actionText), actionText)), isClosable && (/*#__PURE__*/React__default.createElement(View, Object.assign({
6881
6859
  position: "absolute",
6882
6860
  zIndex: 10000,
6883
6861
  right: 8,
@@ -6885,10 +6863,10 @@
6885
6863
  onClick: () => {
6886
6864
  hide();
6887
6865
  }
6888
- }, styles == null || (_styles$closingIcon = styles.closingIcon) == null ? void 0 : _styles$closingIcon.container), /*#__PURE__*/React__default.createElement(CloseIcon, Object.assign({
6889
- size: 18,
6866
+ }, views == null || (_views$closingIcon = views.closingIcon) == null ? void 0 : _views$closingIcon.container), /*#__PURE__*/React__default.createElement(CloseIcon, Object.assign({
6867
+ widthHeight: 18,
6890
6868
  color: iconColor
6891
- }, styles == null || (_styles$closingIcon2 = styles.closingIcon) == null ? void 0 : _styles$closingIcon2.icon)))));
6869
+ }, views == null || (_views$closingIcon2 = views.closingIcon) == null ? void 0 : _views$closingIcon2.icon)))));
6892
6870
  };
6893
6871
 
6894
6872
  var MessageLayout = _ref => {
@@ -6903,7 +6881,7 @@
6903
6881
  variant,
6904
6882
  subtitle,
6905
6883
  isClosable,
6906
- styles,
6884
+ views,
6907
6885
  action,
6908
6886
  actionText,
6909
6887
  showIcon,
@@ -6935,7 +6913,7 @@
6935
6913
  title: title,
6936
6914
  theme: theme,
6937
6915
  isClosable: isClosable,
6938
- styles: styles,
6916
+ views: views,
6939
6917
  action: action,
6940
6918
  actionText: actionText,
6941
6919
  showIcon: showIcon,
@@ -7038,16 +7016,22 @@
7038
7016
  handleClick
7039
7017
  };
7040
7018
  };
7041
- var Uploader = _ref2 => {
7019
+
7020
+ var UploadView = _ref => {
7042
7021
  var {
7043
- accept = '*/*',
7022
+ accept,
7044
7023
  isLoading = false,
7045
7024
  progress = 0,
7046
7025
  icon,
7047
7026
  text,
7048
- maxSize,
7049
- onFileSelect,
7050
- validateFile,
7027
+ previewUrl,
7028
+ thumbnailUrl,
7029
+ errorMessage,
7030
+ fileInputRef,
7031
+ videoRef,
7032
+ selectedFile,
7033
+ handleFileChange,
7034
+ handleClick,
7051
7035
  containerProps,
7052
7036
  errorMessageProps,
7053
7037
  progressProps,
@@ -7055,120 +7039,108 @@
7055
7039
  imageProps,
7056
7040
  iconProps,
7057
7041
  textProps,
7058
- renderError = _ref3 => {
7042
+ fileType,
7043
+ previewUrl: externalPreviewUrl,
7044
+ renderError = _ref2 => {
7059
7045
  var {
7060
7046
  errorMessage,
7061
7047
  errorMessageProps
7062
- } = _ref3;
7048
+ } = _ref2;
7063
7049
  return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7064
7050
  color: "red",
7065
7051
  fontSize: 12,
7066
7052
  marginTop: 8
7067
- }, errorMessageProps), errorMessage);
7053
+ }, errorMessageProps, views == null ? void 0 : views.text), errorMessage);
7068
7054
  },
7069
- renderText = _ref4 => {
7055
+ renderText = _ref3 => {
7070
7056
  var {
7071
7057
  text,
7072
7058
  textProps
7073
- } = _ref4;
7059
+ } = _ref3;
7074
7060
  return /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7075
7061
  marginTop: 8
7076
- }, textProps), text);
7062
+ }, textProps, views == null ? void 0 : views.text), text);
7077
7063
  },
7078
- renderFile = _ref5 => {
7064
+ renderFile = _ref4 => {
7079
7065
  var {
7080
7066
  selectedFile,
7081
7067
  textProps
7082
- } = _ref5;
7083
- return /*#__PURE__*/React__default.createElement(Center, {
7068
+ } = _ref4;
7069
+ return selectedFile ? (/*#__PURE__*/React__default.createElement(Center, Object.assign({
7084
7070
  marginTop: 8,
7085
7071
  gap: 10,
7086
7072
  flexDirection: "column"
7087
- }, /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7073
+ }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7088
7074
  maxLines: 2
7089
- }, textProps), selectedFile.name), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, textProps), "(", Math.round(selectedFile.size / 1024), " KB)"));
7075
+ }, textProps, views == null ? void 0 : views.text), selectedFile.name), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, textProps, views == null ? void 0 : views.text), "(", Math.round(selectedFile.size / 1024), " KB)"))) : null;
7090
7076
  },
7091
- renderVideo = _ref6 => {
7077
+ renderVideo = _ref5 => {
7092
7078
  var {
7093
7079
  selectedFile,
7094
7080
  thumbnailUrl,
7095
7081
  videoRef,
7096
7082
  videoProps,
7097
7083
  imageProps
7098
- } = _ref6;
7099
- console.log('thumbnailUrl', thumbnailUrl);
7100
- return /*#__PURE__*/React__default.createElement(appStudio.View, {
7084
+ } = _ref5;
7085
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7101
7086
  width: "100%",
7102
7087
  height: "100%",
7103
7088
  position: "relative"
7104
- }, /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7089
+ }, views == null ? void 0 : views.view), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7105
7090
  as: "video",
7106
- width: 0,
7107
- height: 0,
7108
- src: selectedFile == null ? void 0 : selectedFile.name,
7091
+ width: "100%",
7092
+ height: "100%",
7093
+ src: selectedFile ? URL.createObjectURL(selectedFile) : undefined,
7109
7094
  style: {
7110
7095
  objectFit: 'cover'
7111
7096
  },
7112
7097
  ref: videoRef
7113
- }, videoProps)), /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
7098
+ }, videoProps, views == null ? void 0 : views.view)), thumbnailUrl && (/*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
7114
7099
  src: thumbnailUrl,
7115
7100
  alt: "Video Thumbnail",
7116
7101
  width: "100%",
7117
7102
  height: "100%",
7118
7103
  objectFit: "cover"
7119
- }, imageProps)));
7104
+ }, imageProps, views == null ? void 0 : views.image))));
7120
7105
  },
7121
- renderImage = _ref7 => {
7106
+ renderImage = _ref6 => {
7122
7107
  var {
7123
7108
  previewUrl,
7124
7109
  imageProps
7125
- } = _ref7;
7110
+ } = _ref6;
7126
7111
  return /*#__PURE__*/React__default.createElement(appStudio.Image, Object.assign({
7127
7112
  src: previewUrl,
7128
7113
  alt: "Preview",
7129
7114
  width: "100%",
7130
7115
  height: "100%",
7131
7116
  objectFit: "cover"
7132
- }, imageProps));
7117
+ }, imageProps, views == null ? void 0 : views.image));
7133
7118
  },
7134
- renderProgress = _ref8 => {
7119
+ renderProgress = _ref7 => {
7135
7120
  var {
7136
7121
  progress,
7137
7122
  progressProps
7138
- } = _ref8;
7123
+ } = _ref7;
7139
7124
  return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
7140
7125
  gap: 8,
7141
7126
  alignItems: "center"
7142
- }, progressProps), /*#__PURE__*/React__default.createElement(appStudio.View, {
7127
+ }, progressProps, views == null ? void 0 : views.horizontal), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7143
7128
  height: 4,
7144
7129
  backgroundColor: "rgba(0,0,0,0.1)",
7145
7130
  width: "100%",
7146
7131
  borderRadius: 2
7147
- }, /*#__PURE__*/React__default.createElement(appStudio.View, {
7132
+ }, views == null ? void 0 : views.view), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7148
7133
  height: 4,
7149
7134
  width: progress + "%",
7150
- borderRadius: 2
7151
- })), /*#__PURE__*/React__default.createElement(appStudio.Text, {
7135
+ borderRadius: 2,
7136
+ backgroundColor: "#000"
7137
+ }, views == null ? void 0 : views.view))), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
7152
7138
  fontSize: 12
7153
- }, progress, "%"));
7154
- }
7155
- } = _ref2;
7156
- var {
7157
- previewUrl,
7158
- thumbnailUrl,
7159
- errorMessage,
7160
- videoRef,
7161
- fileInputRef,
7162
- selectedFile,
7163
- handleFileChange,
7164
- handleClick
7165
- } = useUpload({
7166
- accept,
7167
- maxSize,
7168
- onFileSelect,
7169
- validateFile
7170
- });
7171
- var fileType = previewUrl && accept.includes('video') ? 'video' : previewUrl && accept.includes('image') ? 'image' : 'file';
7139
+ }, views == null ? void 0 : views.text), progress, "%"));
7140
+ },
7141
+ views = {}
7142
+ } = _ref;
7143
+ var finalPreviewUrl = externalPreviewUrl || previewUrl;
7172
7144
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
7173
7145
  onClick: handleClick,
7174
7146
  cursor: "pointer",
@@ -7178,29 +7150,30 @@
7178
7150
  flexDirection: "column",
7179
7151
  overflow: "hidden",
7180
7152
  position: "relative"
7181
- }, containerProps), progress == 100 && fileType == 'image' && previewUrl && renderImage({
7182
- previewUrl,
7153
+ }, containerProps, views == null ? void 0 : views.container), progress === 100 && fileType === 'image' && finalPreviewUrl && renderImage({
7154
+ previewUrl: finalPreviewUrl,
7183
7155
  imageProps
7184
- }), progress == 100 && fileType == 'video' && thumbnailUrl && renderVideo({
7156
+ }), progress === 100 && fileType === 'video' && thumbnailUrl && renderVideo({
7157
+ selectedFile,
7185
7158
  thumbnailUrl,
7186
7159
  videoRef,
7187
7160
  videoProps,
7188
- iconProps
7189
- }), progress == 100 && fileType == 'file' && previewUrl && renderFile({
7161
+ imageProps
7162
+ }), progress === 100 && fileType === 'file' && selectedFile && renderFile({
7190
7163
  selectedFile,
7191
7164
  textProps
7192
7165
  }), progress < 100 && (icon || /*#__PURE__*/React__default.createElement(UploadIcon, Object.assign({
7193
- size: 32
7166
+ widthHeight: 32
7194
7167
  }, iconProps))), !selectedFile && text && renderText({
7195
7168
  text,
7196
7169
  textProps
7197
7170
  }), isLoading && renderProgress({
7198
7171
  progress,
7199
7172
  progressProps
7200
- }), renderError({
7173
+ }), errorMessage && renderError({
7201
7174
  errorMessage,
7202
7175
  errorMessageProps
7203
- }), /*#__PURE__*/React__default.createElement(appStudio.View, {
7176
+ }), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7204
7177
  as: "input",
7205
7178
  type: "file",
7206
7179
  ref: fileInputRef,
@@ -7209,7 +7182,55 @@
7209
7182
  style: {
7210
7183
  display: 'none'
7211
7184
  }
7212
- }));
7185
+ }, views == null ? void 0 : views.view)));
7186
+ };
7187
+
7188
+ var _excluded$y = ["accept", "icon", "text", "maxSize", "onFileSelect", "validateFile", "isLoading", "progress"];
7189
+ var Uploader = _ref => {
7190
+ var {
7191
+ accept = '*/*',
7192
+ icon,
7193
+ text,
7194
+ maxSize,
7195
+ onFileSelect,
7196
+ validateFile,
7197
+ isLoading = false,
7198
+ progress = 0
7199
+ } = _ref,
7200
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
7201
+ var {
7202
+ previewUrl,
7203
+ thumbnailUrl,
7204
+ errorMessage,
7205
+ videoRef,
7206
+ fileInputRef,
7207
+ selectedFile,
7208
+ handleFileChange,
7209
+ handleClick
7210
+ } = useUpload({
7211
+ accept,
7212
+ maxSize,
7213
+ onFileSelect,
7214
+ validateFile
7215
+ });
7216
+ return /*#__PURE__*/React__default.createElement(UploadView, Object.assign({
7217
+ handleClick: handleClick,
7218
+ accept: accept,
7219
+ isLoading: isLoading,
7220
+ progress: progress,
7221
+ icon: icon,
7222
+ text: text,
7223
+ maxSize: maxSize,
7224
+ onFileSelect: onFileSelect,
7225
+ validateFile: validateFile,
7226
+ errorMessage: errorMessage,
7227
+ handleFileChange: handleFileChange,
7228
+ selectedFile: selectedFile,
7229
+ videoRef: videoRef,
7230
+ fileInputRef: fileInputRef,
7231
+ previewUrl: previewUrl,
7232
+ thumbnailUrl: thumbnailUrl
7233
+ }, props));
7213
7234
  };
7214
7235
 
7215
7236
  var useModalStore = /*#__PURE__*/zustand.create(set => ({
@@ -7313,11 +7334,11 @@
7313
7334
  xl: 28
7314
7335
  };
7315
7336
 
7316
- var _excluded$y = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
7317
- _excluded2$7 = ["children", "shadow", "isFullScreen", "shape"],
7318
- _excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition"],
7319
- _excluded4$3 = ["children"],
7320
- _excluded5$1 = ["children"];
7337
+ var _excluded$z = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position", "views"],
7338
+ _excluded2$7 = ["children", "shadow", "isFullScreen", "shape", "views"],
7339
+ _excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition", "views"],
7340
+ _excluded4$3 = ["children", "views"],
7341
+ _excluded5$1 = ["children", "views"];
7321
7342
  var ModalOverlay = _ref => {
7322
7343
  var {
7323
7344
  children,
@@ -7325,13 +7346,14 @@
7325
7346
  isOpen = false,
7326
7347
  isClosePrevented = false,
7327
7348
  onClose = () => {},
7328
- position = 'center'
7349
+ position = 'center',
7350
+ views
7329
7351
  } = _ref,
7330
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
7352
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7331
7353
  var handleClick = () => {
7332
7354
  if (!isClosePrevented) onClose();
7333
7355
  };
7334
- return /*#__PURE__*/React__default.createElement(Center, {
7356
+ return /*#__PURE__*/React__default.createElement(Layout.Center, Object.assign({
7335
7357
  position: "fixed",
7336
7358
  top: 0,
7337
7359
  left: 0,
@@ -7340,7 +7362,7 @@
7340
7362
  zIndex: 1000,
7341
7363
  onClick: handleClick,
7342
7364
  visibility: isOpen ? 'visible' : 'hidden'
7343
- }, /*#__PURE__*/React__default.createElement(View, Object.assign({
7365
+ }, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7344
7366
  position: "absolute",
7345
7367
  top: 0,
7346
7368
  left: 0,
@@ -7351,14 +7373,15 @@
7351
7373
  backgroundColor: "color.blackAlpha.500",
7352
7374
  backdropFilter: blur ? "blur(" + blur + "px)" : undefined,
7353
7375
  onClick: handleClick
7354
- }, OverlayAlignments[position], props), children));
7376
+ }, OverlayAlignments[position], props, views == null ? void 0 : views.view), children));
7355
7377
  };
7356
7378
  var ModalContainer = _ref2 => {
7357
7379
  var {
7358
7380
  children,
7359
7381
  shadow,
7360
7382
  isFullScreen = false,
7361
- shape = 'rounded'
7383
+ shape = 'rounded',
7384
+ views
7362
7385
  } = _ref2,
7363
7386
  props = _objectWithoutPropertiesLoose(_ref2, _excluded2$7);
7364
7387
  var defaultShadow = typeof document !== undefined ? {
@@ -7376,28 +7399,28 @@
7376
7399
  var handleClick = event => {
7377
7400
  if (event && event.stopPropagation) event.stopPropagation();
7378
7401
  };
7379
- return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
7402
+ return /*#__PURE__*/React__default.createElement(appStudio.Vertical, Object.assign({
7380
7403
  cursor: "default",
7381
7404
  backgroundColor: "white",
7382
7405
  width: isFullScreen ? '100%' : 600,
7383
7406
  height: isFullScreen ? '100%' : 'fit-content',
7384
7407
  onClick: handleClick
7385
- }, shadow ? shadow : defaultShadow, ContainerShapes[shape], props), children);
7408
+ }, shadow ? shadow : defaultShadow, ContainerShapes[shape], props, views == null ? void 0 : views.container), children);
7386
7409
  };
7387
7410
  var ModalHeader = _ref3 => {
7388
7411
  var {
7389
7412
  children,
7390
7413
  buttonColor = 'theme.primary',
7391
7414
  iconSize = 'md',
7392
- buttonPosition = 'right'
7415
+ buttonPosition = 'right',
7416
+ views
7393
7417
  } = _ref3,
7394
7418
  props = _objectWithoutPropertiesLoose(_ref3, _excluded3$4);
7395
7419
  var onClose = props.onClose ? props.onClose : hideModal;
7396
7420
  var buttonIcon = /*#__PURE__*/React__default.createElement(Button, {
7397
7421
  onClick: onClose,
7398
- colorScheme: "transparent",
7399
7422
  icon: /*#__PURE__*/React__default.createElement(CloseIcon, {
7400
- size: HeaderIconSizes[iconSize],
7423
+ widthHeight: HeaderIconSizes[iconSize],
7401
7424
  color: buttonColor
7402
7425
  }),
7403
7426
  padding: 0,
@@ -7405,16 +7428,17 @@
7405
7428
  filter: "none",
7406
7429
  width: 0
7407
7430
  });
7408
- return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
7431
+ return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
7409
7432
  justifyContent: buttonPosition === 'none' ? 'center' : 'space-between',
7410
7433
  alignItems: "center",
7411
7434
  paddingVertical: 15,
7412
7435
  paddingHorizontal: 20
7413
- }, props), buttonPosition === 'left' && buttonIcon, children, buttonPosition === 'right' && buttonIcon);
7436
+ }, props, views == null ? void 0 : views.header), buttonPosition === 'left' && buttonIcon, children, buttonPosition === 'right' && buttonIcon);
7414
7437
  };
7415
7438
  var ModalBody = _ref4 => {
7416
7439
  var {
7417
- children
7440
+ children,
7441
+ views
7418
7442
  } = _ref4,
7419
7443
  props = _objectWithoutPropertiesLoose(_ref4, _excluded4$3);
7420
7444
  var defaultBorder = {
@@ -7423,23 +7447,24 @@
7423
7447
  borderColor: 'rgba(250, 250, 250, 1)',
7424
7448
  borderStyle: 'solid'
7425
7449
  };
7426
- return /*#__PURE__*/React__default.createElement(View, Object.assign({
7450
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
7427
7451
  paddingVertical: 15,
7428
7452
  paddingHorizontal: 20
7429
- }, defaultBorder, props), children);
7453
+ }, defaultBorder, props, views == null ? void 0 : views.view), children);
7430
7454
  };
7431
7455
  var ModalFooter = _ref5 => {
7432
7456
  var {
7433
- children
7457
+ children,
7458
+ views
7434
7459
  } = _ref5,
7435
7460
  props = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
7436
- return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
7461
+ return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
7437
7462
  marginTop: "auto",
7438
7463
  alignItems: "center",
7439
7464
  justifyContent: "flex-end",
7440
7465
  paddingVertical: 15,
7441
7466
  paddingHorizontal: 20
7442
- }, props), children);
7467
+ }, props, views == null ? void 0 : views.container), children);
7443
7468
  };
7444
7469
 
7445
7470
  var ModalLayout = _ref => {
@@ -7496,14 +7521,14 @@
7496
7521
 
7497
7522
  var defaultStyles = {};
7498
7523
  // Create a context that includes both styles and the onClick function
7499
- var TableContext = /*#__PURE__*/React__default.createContext({
7500
- styles: defaultStyles,
7524
+ var TableContext = /*#__PURE__*/React.createContext({
7525
+ views: defaultStyles,
7501
7526
  onRowClick: () => {}
7502
7527
  });
7503
7528
  var TableProvider = _ref => {
7504
7529
  var {
7505
7530
  children,
7506
- styles = defaultStyles,
7531
+ views = defaultStyles,
7507
7532
  onRowClick
7508
7533
  } = _ref;
7509
7534
  return (
@@ -7511,93 +7536,93 @@
7511
7536
  // Pass both styles and onClick to the context
7512
7537
  React__default.createElement(TableContext.Provider, {
7513
7538
  value: {
7514
- styles,
7539
+ views,
7515
7540
  onRowClick
7516
7541
  }
7517
7542
  }, children)
7518
7543
  );
7519
7544
  };
7520
7545
  // Custom hook to consume the context and get the styles and onClick handler
7521
- var useTableContext = () => React__default.useContext(TableContext);
7546
+ var useTableContext = () => React.useContext(TableContext);
7522
7547
 
7523
7548
  var TableContainer = props => {
7524
7549
  var {
7525
- styles
7550
+ views
7526
7551
  } = useTableContext();
7527
7552
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7528
7553
  as: "table",
7529
7554
  borderCollapse: "collapse"
7530
- }, styles.table, props));
7555
+ }, views == null ? void 0 : views.table, props));
7531
7556
  };
7532
7557
  var TableHead = props => {
7533
7558
  var {
7534
- styles
7559
+ views
7535
7560
  } = useTableContext();
7536
7561
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7537
7562
  as: "thead",
7538
7563
  borderBottom: "0.5px solid #ddd",
7539
7564
  textAlign: "left",
7540
7565
  color: "color.gray.400"
7541
- }, styles.thead, props));
7566
+ }, views == null ? void 0 : views.thead, props));
7542
7567
  };
7543
7568
  var TableHeadCell = props => {
7544
7569
  var {
7545
- styles
7570
+ views
7546
7571
  } = useTableContext();
7547
7572
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7548
7573
  as: "th",
7549
7574
  padding: "14px",
7550
7575
  whiteSpace: "nowrap",
7551
7576
  fontWeight: "500"
7552
- }, styles.th, props));
7577
+ }, views == null ? void 0 : views.th, props));
7553
7578
  };
7554
7579
  var TableRow = props => {
7555
7580
  var {
7556
- styles,
7581
+ views,
7557
7582
  onRowClick
7558
7583
  } = useTableContext();
7559
7584
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7560
7585
  as: "tr"
7561
- }, styles.tr, {
7586
+ }, views == null ? void 0 : views.tr, {
7562
7587
  onClick: onRowClick
7563
7588
  }, props));
7564
7589
  };
7565
7590
  var TableCell = props => {
7566
7591
  var {
7567
- styles
7592
+ views
7568
7593
  } = useTableContext();
7569
7594
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7570
7595
  as: "td",
7571
7596
  padding: "14px",
7572
7597
  whiteSpace: "nowrap",
7573
7598
  fontWeight: props.isFirstColumn ? '400' : '300'
7574
- }, styles.td, props));
7599
+ }, views == null ? void 0 : views.td, props));
7575
7600
  };
7576
7601
  var TableBody = props => {
7577
7602
  var {
7578
- styles
7603
+ views
7579
7604
  } = useTableContext();
7580
7605
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7581
7606
  as: "tbody"
7582
- }, styles.tbody, props));
7607
+ }, views == null ? void 0 : views.tbody, props));
7583
7608
  };
7584
7609
  var TableFooter = props => {
7585
7610
  var {
7586
- styles
7611
+ views
7587
7612
  } = useTableContext();
7588
7613
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7589
7614
  as: "tfoot"
7590
- }, styles.tfoot, props));
7615
+ }, views == null ? void 0 : views.tfoot, props));
7591
7616
  };
7592
7617
  var TableCaption = props => {
7593
7618
  var {
7594
- styles
7619
+ views
7595
7620
  } = useTableContext();
7596
7621
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
7597
7622
  as: "caption",
7598
7623
  margin: '10px 0',
7599
7624
  color: "color.gray.400"
7600
- }, styles.caption, props));
7625
+ }, views == null ? void 0 : views.caption, props));
7601
7626
  };
7602
7627
  var TableView = _ref => {
7603
7628
  var {
@@ -7623,11 +7648,11 @@
7623
7648
  var Table = _ref => {
7624
7649
  var {
7625
7650
  children,
7626
- styles,
7651
+ views,
7627
7652
  onClick
7628
7653
  } = _ref;
7629
7654
  return /*#__PURE__*/React__default.createElement(TableProvider, {
7630
- styles: styles,
7655
+ views: views,
7631
7656
  onRowClick: onClick
7632
7657
  }, children);
7633
7658
  };
@@ -7694,7 +7719,7 @@
7694
7719
  // Default to empty array
7695
7720
  activeTab,
7696
7721
  handleTabClick,
7697
- styles = {},
7722
+ views = {},
7698
7723
  // Default to empty object
7699
7724
  renderTab,
7700
7725
  renderContent
@@ -7702,7 +7727,7 @@
7702
7727
  // If there's no active tab (e.g., tabs array is empty), render nothing or a placeholder
7703
7728
  if (!activeTab) {
7704
7729
  // Optionally render a placeholder when no tabs are active/available
7705
- // return <View {...styles.container}><Text>No tabs available.</Text></View>;
7730
+ // return <View {...views.container}><Text>No tabs available.</Text></View>;
7706
7731
  return null; // Or simply render nothing
7707
7732
  }
7708
7733
  return (
@@ -7711,7 +7736,7 @@
7711
7736
  React__default.createElement(Vertical, Object.assign({
7712
7737
  width: "100%",
7713
7738
  height: '100%'
7714
- }, styles.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({}, styles.headerTabs), tabs.map(tab => {
7739
+ }, views.container), /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({}, views.headerTabs), tabs.map(tab => {
7715
7740
  // Determine if the current tab in the loop is the active one
7716
7741
  var isActive = tab.title === activeTab.title;
7717
7742
  // Prepare the onClick handler for this specific tab
@@ -7726,17 +7751,17 @@
7726
7751
  onClick: onClick,
7727
7752
  borderBottomLeftRadius: 0,
7728
7753
  borderBottomRightRadius: 0
7729
- }, styles.tab, isActive ? styles.activeTab : {}, {
7754
+ }, views.tab, isActive ? views.activeTab : {}, {
7730
7755
  // Example: Set variant based on active state (can be overridden by styles)
7731
7756
  variant: isActive ? 'filled' : 'ghost',
7732
7757
  cursor: "pointer" // Ensure pointer cursor
7733
7758
  }), tab.icon, /*#__PURE__*/React__default.createElement(Text
7734
7759
  // Apply base title styles and merge activeText styles if this tab is active
7735
- , Object.assign({}, styles.title, isActive ? styles.activeText : {}), tab.title));
7760
+ , Object.assign({}, views.title, isActive ? views.activeText : {}), tab.title));
7736
7761
  })), /*#__PURE__*/React__default.createElement(View, Object.assign({
7737
7762
  width: '100%',
7738
7763
  height: "100%"
7739
- }, styles.content), renderContent ? renderContent(activeTab) :
7764
+ }, views.content), renderContent ? renderContent(activeTab) :
7740
7765
  // Otherwise, render the content property from the active tab object
7741
7766
  activeTab.content))
7742
7767
  );
@@ -7749,7 +7774,7 @@
7749
7774
  var TabsComponent = _ref => {
7750
7775
  var {
7751
7776
  tabs,
7752
- styles,
7777
+ views,
7753
7778
  initialTabValue,
7754
7779
  onTabChange,
7755
7780
  renderTab,
@@ -7774,7 +7799,7 @@
7774
7799
  // Render the presentation component with the necessary props
7775
7800
  return /*#__PURE__*/React__default.createElement(TabsView, {
7776
7801
  tabs: tabs,
7777
- styles: styles,
7802
+ views: views,
7778
7803
  activeTab: activeTab,
7779
7804
  handleTabClick: handleTabClick,
7780
7805
  renderTab: renderTab,
@@ -7799,34 +7824,28 @@
7799
7824
  };
7800
7825
  };
7801
7826
 
7802
- var ToggleShapes = {
7803
- sharp: 0,
7804
- rounded: 4,
7805
- pillShaped: 24
7806
- };
7807
-
7808
- var _excluded$z = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
7827
+ var _excluded$A = ["children", "shape", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle", "views"];
7809
7828
  var ToggleView = _ref => {
7810
7829
  var {
7811
7830
  children,
7812
7831
  shape = 'rounded',
7813
- colorScheme = 'color.trueGray.400',
7814
7832
  variant = 'ghost',
7815
7833
  isHovered,
7816
7834
  setIsHovered,
7817
7835
  isDisabled,
7818
7836
  isToggle,
7819
7837
  setIsToggled,
7820
- onToggle
7838
+ onToggle,
7839
+ views
7821
7840
  } = _ref,
7822
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7823
- var toggleColor = !isDisabled ? colorScheme : 'theme.disabled';
7841
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
7842
+ var toggleColor = !isDisabled ? 'color.trueGray.400' : 'theme.disabled';
7824
7843
  var isActive = !!(isToggle || isHovered);
7825
- var ToggleVariants = {
7844
+ var toggleVariants = {
7826
7845
  outline: {
7827
7846
  borderWidth: 1,
7828
7847
  borderStyle: 'solid',
7829
- borderColor: colorScheme
7848
+ borderColor: 'color.trueGray.400'
7830
7849
  },
7831
7850
  link: {
7832
7851
  borderWidth: 1,
@@ -7836,6 +7855,7 @@
7836
7855
  },
7837
7856
  ghost: {}
7838
7857
  };
7858
+ var handleHover = () => setIsHovered(!isHovered);
7839
7859
  var handleToggle = () => {
7840
7860
  if (!isDisabled) {
7841
7861
  setIsToggled(prev => {
@@ -7853,28 +7873,27 @@
7853
7873
  width: "fit-content",
7854
7874
  color: isActive ? 'color.white' : toggleColor,
7855
7875
  backgroundColor: isActive ? toggleColor : 'transparent',
7856
- onMouseEnter: () => setIsHovered(true),
7876
+ onMouseEnter: handleHover,
7857
7877
  onMouseLeave: () => setIsHovered(false),
7858
7878
  cursor: isDisabled ? 'not-allowed' : 'pointer',
7859
- borderRadius: ToggleShapes[shape],
7879
+ borderRadius: shape === 'pillShaped' ? '50px' : '8px',
7860
7880
  onClick: handleToggle
7861
- }, ToggleVariants[variant], props), children);
7881
+ }, toggleVariants[variant], props, views == null ? void 0 : views.container), children);
7862
7882
  };
7863
7883
 
7864
- var _excluded$A = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
7884
+ var _excluded$B = ["children", "shape", "variant", "isDisabled", "isToggled", "onToggle"];
7865
7885
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
7866
7886
  var ToggleComponent = _ref => {
7867
7887
  var {
7868
7888
  children,
7869
7889
  shape,
7870
- colorScheme,
7871
7890
  variant,
7872
7891
  isDisabled,
7873
7892
  // Assigning a default value of false to the isToggled property if none is provided.
7874
7893
  isToggled = false,
7875
7894
  onToggle
7876
7895
  } = _ref,
7877
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
7896
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
7878
7897
  // Initializing toggle state and set state functions using the custom hook useToggleState.
7879
7898
  var {
7880
7899
  isHovered,
@@ -7889,7 +7908,6 @@
7889
7908
  // Beginning of the JSX block to render the Toggle view component.
7890
7909
  return /*#__PURE__*/React__default.createElement(ToggleView, Object.assign({
7891
7910
  shape: shape,
7892
- colorScheme: colorScheme,
7893
7911
  variant: variant,
7894
7912
  isDisabled: isDisabled,
7895
7913
  isHovered: isHovered,
@@ -7925,8 +7943,7 @@
7925
7943
  shape = 'rounded',
7926
7944
  // Prop 'variant' with default value 'ghost' represents the visual style variant of the toggles.
7927
7945
  variant = 'ghost',
7928
- // Prop 'colorScheme' with default value 'color.trueGray.400' sets the color theme for toggles.
7929
- colorScheme = 'color.trueGray.400'
7946
+ views
7930
7947
  } = _ref;
7931
7948
  // handleToggle is a memoized callback that handles the toggle state changes.
7932
7949
  var handleToggle = React.useCallback((id, isActive) => {
@@ -7941,19 +7958,19 @@
7941
7958
  return newActiveToggles;
7942
7959
  });
7943
7960
  }, [onToggleChange, setActiveToggles]);
7944
- return /*#__PURE__*/React__default.createElement(Horizontal, {
7961
+ return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
7945
7962
  role: "ToggleGroup",
7946
7963
  display: "flex",
7947
7964
  gap: 5
7948
- }, items.map(item => (/*#__PURE__*/React__default.createElement(Toggle, {
7965
+ }, views == null ? void 0 : views.container), items.map(item => (/*#__PURE__*/React__default.createElement(Toggle, {
7949
7966
  role: "toggle-" + item.id,
7950
7967
  key: item.id,
7951
- colorScheme: colorScheme,
7952
7968
  shape: shape,
7953
7969
  variant: variant,
7954
7970
  isToggled: activeToggles.includes(item.id) || item.isActive,
7955
7971
  onToggle: state => handleToggle(item.id, state),
7956
- isDisabled: item.isDisabled
7972
+ isDisabled: item.isDisabled,
7973
+ views: views == null ? void 0 : views.toggle
7957
7974
  }, item.value))));
7958
7975
  };
7959
7976
 
@@ -7964,8 +7981,6 @@
7964
7981
  items,
7965
7982
  // Destructure 'shape' prop to define the shape of the toggle buttons
7966
7983
  shape,
7967
- // Destructure 'colorScheme' prop for toggle button styling
7968
- colorScheme,
7969
7984
  // Destructure 'variant' prop to determine the visual style of the toggle group
7970
7985
  variant,
7971
7986
  // Destructure 'onToggleChange' prop for the callback when toggle state changes
@@ -7979,7 +7994,6 @@
7979
7994
  return /*#__PURE__*/React__default.createElement(ToggleGroupView, {
7980
7995
  items: items,
7981
7996
  shape: shape,
7982
- colorScheme: colorScheme,
7983
7997
  variant: variant,
7984
7998
  activeToggles: activeToggles,
7985
7999
  setActiveToggles: setActiveToggles,
@@ -8085,12 +8099,13 @@
8085
8099
  itemProps,
8086
8100
  draggedIndex,
8087
8101
  itemRefs,
8088
- handleDragStart
8102
+ handleDragStart,
8103
+ views
8089
8104
  } = _ref;
8090
8105
  return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
8091
8106
  overflow: "hidden",
8092
8107
  position: "relative"
8093
- }, containerProps), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
8108
+ }, containerProps, views == null ? void 0 : views.container), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
8094
8109
  key: index,
8095
8110
  ref: el => itemRefs.current[index] = el,
8096
8111
  onMouseDown: e => handleDragStart(e, index),
@@ -8099,7 +8114,7 @@
8099
8114
  cursor: "grab",
8100
8115
  transition: "transform 0.2s",
8101
8116
  backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
8102
- }, itemProps), renderItem ? renderItem(item, index) : item))));
8117
+ }, itemProps, views == null ? void 0 : views.item), renderItem ? renderItem(item, index) : item))));
8103
8118
  };
8104
8119
 
8105
8120
  var DragAndDropComponent = props => {
@@ -8233,14 +8248,12 @@
8233
8248
  exports.WifiIcon = WifiIcon;
8234
8249
  exports.XIcon = XIcon;
8235
8250
  exports.YoutubeIcon = YoutubeIcon;
8236
- exports.generateThumbnail = generateThumbnail;
8237
8251
  exports.hideMessage = hideMessage;
8238
8252
  exports.hideModal = hideModal;
8239
8253
  exports.showMessage = showMessage;
8240
8254
  exports.showModal = showModal;
8241
8255
  exports.useMessageStore = useMessageStore;
8242
8256
  exports.useModalStore = useModalStore;
8243
- exports.useUpload = useUpload;
8244
8257
 
8245
8258
  Object.defineProperty(exports, '__esModule', { value: true });
8246
8259