@app-studio/web 0.7.7 → 0.7.10

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 (34) hide show
  1. package/dist/components/AspectRatio/AspectRatio/AspectRatio.props.d.ts +2 -4
  2. package/dist/components/Badge/Badge/Badge.props.d.ts +2 -2
  3. package/dist/components/Button/Button/Button.props.d.ts +2 -3
  4. package/dist/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +2 -3
  5. package/dist/components/Form/ComboBox/ComboBox/ComboBox.props.d.ts +2 -2
  6. package/dist/components/Form/CountryPicker/CountryPicker/CountryPicker.props.d.ts +4 -16
  7. package/dist/components/Form/Label/Label/Label.props.d.ts +2 -2
  8. package/dist/components/Form/Password/Password/Password.props.d.ts +2 -5
  9. package/dist/components/Form/Select/Select/Select.props.d.ts +12 -31
  10. package/dist/components/Form/Switch/Switch/Switch.props.d.ts +2 -6
  11. package/dist/components/Form/TextArea/TextArea/TextArea.props.d.ts +2 -6
  12. package/dist/components/Form/TextField/TextField/TextField.props.d.ts +2 -6
  13. package/dist/components/Layout/Center/Center/Center.props.d.ts +2 -15
  14. package/dist/components/Layout/Horizontal/Horizontal/Horizontal.props.d.ts +2 -22
  15. package/dist/components/Layout/Horizontal/Horizontal.d.ts +2 -2
  16. package/dist/components/Layout/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +2 -5
  17. package/dist/components/Layout/Input/FieldContent/FieldContent/FieldContent.props.d.ts +2 -6
  18. package/dist/components/Layout/Input/FieldIcons/FieldIcons/FieldIcons.props.d.ts +2 -10
  19. package/dist/components/Layout/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +2 -5
  20. package/dist/components/Layout/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +2 -5
  21. package/dist/components/Layout/Input/FieldWrapper/FieldWrapper.props.d.ts +2 -10
  22. package/dist/components/Layout/Input/HelperText/HelperText.props.d.ts +2 -5
  23. package/dist/components/Layout/Vertical/Vertical/Vertical.props.d.ts +2 -22
  24. package/dist/components/Layout/View/View.d.ts +8 -7
  25. package/dist/components/Link/Link/Link.props.d.ts +2 -5
  26. package/dist/components/Loader/Loader/Loader.props.d.ts +2 -5
  27. package/dist/web.cjs.development.js +156 -167
  28. package/dist/web.cjs.development.js.map +1 -1
  29. package/dist/web.cjs.production.min.js +1 -1
  30. package/dist/web.cjs.production.min.js.map +1 -1
  31. package/dist/web.esm.js +156 -167
  32. package/dist/web.esm.js.map +1 -1
  33. package/package.json +1 -1
  34. package/dist/components/Layout/Vertical/Vertical/Vertical.type.d.ts +0 -2
package/dist/web.esm.js CHANGED
@@ -57,71 +57,23 @@ var useLinkState = function useLinkState() {
57
57
  };
58
58
  };
59
59
 
60
- var Top = function Top(props) {
61
- return React.createElement(View$1, Object.assign({
62
- marginBottom: "auto"
63
- }, props));
64
- };
65
- var Bottom = function Bottom(props) {
66
- return React.createElement(View$1, Object.assign({
67
- marginTop: "auto"
68
- }, props));
69
- };
70
- var Left = function Left(props) {
71
- return React.createElement(View$1, Object.assign({
72
- marginRight: "auto"
73
- }, props));
74
- };
75
- var Right = function Right(props) {
76
- return React.createElement(View$1, Object.assign({
77
- marginLeft: "auto"
78
- }, props));
79
- };
80
- var Inline = function Inline(props) {
81
- return React.createElement(View$1, Object.assign({
82
- display: 'inline-flex',
83
- wordBreak: "break-word"
84
- }, props));
85
- };
86
- var View = View$1;
87
-
88
- var _excluded = ["children", "wrap", "justify", "isReversed"];
89
- var HorizontalView = function HorizontalView(_ref) {
90
- var children = _ref.children,
91
- _ref$wrap = _ref.wrap,
92
- wrap = _ref$wrap === void 0 ? 'wrap' : _ref$wrap,
93
- _ref$justify = _ref.justify,
94
- justify = _ref$justify === void 0 ? 'flex-start' : _ref$justify,
95
- _ref$isReversed = _ref.isReversed,
96
- isReversed = _ref$isReversed === void 0 ? false : _ref$isReversed,
97
- props = _objectWithoutPropertiesLoose(_ref, _excluded);
98
- return React.createElement(View, Object.assign({
99
- display: "flex",
100
- flexWrap: wrap,
101
- flexDirection: isReversed ? 'row-reverse' : 'row',
102
- justifyContent: justify
103
- }, props), children);
104
- };
105
-
106
60
  /**
107
61
  * Horizontal layout aligns all the elements in a container on the horizontal axis.
108
62
  */
109
63
  var HorizontalComponent = function HorizontalComponent(props) {
110
- return React.createElement(HorizontalView, Object.assign({}, props));
64
+ return React.createElement(View$1, Object.assign({
65
+ display: "flex",
66
+ flexDirection: props.isReversed ? 'row-reverse' : 'row'
67
+ }, props));
111
68
  };
112
69
  var Horizontal = HorizontalComponent;
113
70
 
114
- var _excluded$1 = ["children", "wrap"];
115
- var CenterView = function CenterView(_ref) {
116
- var children = _ref.children,
117
- wrap = _ref.wrap,
118
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
119
- return React.createElement(View, Object.assign({
71
+ var CenterView = function CenterView(props) {
72
+ return React.createElement(View$1, Object.assign({
120
73
  display: "flex",
121
74
  justifyContent: "center",
122
- alignItems: "center",
123
- flexWrap: wrap
124
- }, props), children);
75
+ alignItems: "center"
76
+ }, props));
125
77
  };
126
78
 
127
79
  /**
@@ -132,11 +84,11 @@ var CenterComponent = function CenterComponent(props) {
132
84
  };
133
85
  var Center = CenterComponent;
134
86
 
135
- var _excluded$2 = ["size", "color"];
87
+ var _excluded = ["size", "color"];
136
88
  var ArrowDownSvg = function ArrowDownSvg(_ref) {
137
89
  var _ref$size = _ref.size,
138
90
  size = _ref$size === void 0 ? 64 : _ref$size,
139
- props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
91
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
140
92
  return React.createElement(Center, {
141
93
  width: size + "px",
142
94
  height: size + "px"
@@ -172,11 +124,11 @@ var ArrowDownSvg = function ArrowDownSvg(_ref) {
172
124
  })))))));
173
125
  };
174
126
 
175
- var _excluded$3 = ["size", "color"];
127
+ var _excluded$1 = ["size", "color"];
176
128
  var ArrowUpSvg = function ArrowUpSvg(_ref) {
177
129
  var _ref$size = _ref.size,
178
130
  size = _ref$size === void 0 ? 64 : _ref$size,
179
- props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
131
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
180
132
  return React.createElement(Center, {
181
133
  width: size + "px",
182
134
  height: size + "px"
@@ -214,13 +166,13 @@ var ArrowUpSvg = function ArrowUpSvg(_ref) {
214
166
  })))))));
215
167
  };
216
168
 
217
- var _excluded$4 = ["size", "color"];
169
+ var _excluded$2 = ["size", "color"];
218
170
  var CheckSvg = function CheckSvg(_ref) {
219
171
  var _ref$size = _ref.size,
220
172
  size = _ref$size === void 0 ? 64 : _ref$size,
221
173
  _ref$color = _ref.color,
222
174
  color = _ref$color === void 0 ? 'white' : _ref$color,
223
- props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
175
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
224
176
  return React.createElement(Center, {
225
177
  width: size + "px",
226
178
  height: size + "px"
@@ -250,13 +202,13 @@ var CheckSvg = function CheckSvg(_ref) {
250
202
  }))));
251
203
  };
252
204
 
253
- var _excluded$5 = ["size", "color"];
205
+ var _excluded$3 = ["size", "color"];
254
206
  var CloseSvg = function CloseSvg(_ref) {
255
207
  var _ref$size = _ref.size,
256
208
  size = _ref$size === void 0 ? 64 : _ref$size,
257
209
  _ref$color = _ref.color,
258
210
  color = _ref$color === void 0 ? 'white' : _ref$color,
259
- props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
211
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
260
212
  return React.createElement(Center, {
261
213
  width: size + "px",
262
214
  height: size + "px"
@@ -281,13 +233,13 @@ var CloseSvg = function CloseSvg(_ref) {
281
233
  }))));
282
234
  };
283
235
 
284
- var _excluded$6 = ["size", "color"];
236
+ var _excluded$4 = ["size", "color"];
285
237
  var CloseEyeSvg = function CloseEyeSvg(_ref) {
286
238
  var _ref$size = _ref.size,
287
239
  size = _ref$size === void 0 ? 64 : _ref$size,
288
240
  _ref$color = _ref.color,
289
241
  color = _ref$color === void 0 ? '#2F4858' : _ref$color,
290
- props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
242
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
291
243
  return React.createElement(Center, {
292
244
  width: size + "px",
293
245
  height: size + "px"
@@ -312,13 +264,13 @@ var CloseEyeSvg = function CloseEyeSvg(_ref) {
312
264
  }))));
313
265
  };
314
266
 
315
- var _excluded$7 = ["size", "color"];
267
+ var _excluded$5 = ["size", "color"];
316
268
  var ExternalLinkSvg = function ExternalLinkSvg(_ref) {
317
269
  var _ref$size = _ref.size,
318
270
  size = _ref$size === void 0 ? 64 : _ref$size,
319
271
  _ref$color = _ref.color,
320
272
  color = _ref$color === void 0 ? 'white' : _ref$color,
321
- props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
273
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
322
274
  return React.createElement(Center, {
323
275
  width: size + "px",
324
276
  height: size + "px"
@@ -347,13 +299,13 @@ var ExternalLinkSvg = function ExternalLinkSvg(_ref) {
347
299
  }))));
348
300
  };
349
301
 
350
- var _excluded$8 = ["size", "color"];
302
+ var _excluded$6 = ["size", "color"];
351
303
  var IndeterminateSvg = function IndeterminateSvg(_ref) {
352
304
  var _ref$size = _ref.size,
353
305
  size = _ref$size === void 0 ? 64 : _ref$size,
354
306
  _ref$color = _ref.color,
355
307
  color = _ref$color === void 0 ? 'white' : _ref$color,
356
- props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
308
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
357
309
  return React.createElement(Center, {
358
310
  width: size + "px",
359
311
  height: size + "px"
@@ -379,13 +331,13 @@ var IndeterminateSvg = function IndeterminateSvg(_ref) {
379
331
  }), ' ')));
380
332
  };
381
333
 
382
- var _excluded$9 = ["size", "color"];
334
+ var _excluded$7 = ["size", "color"];
383
335
  var OpenEyeSvg = function OpenEyeSvg(_ref) {
384
336
  var _ref$size = _ref.size,
385
337
  size = _ref$size === void 0 ? 64 : _ref$size,
386
338
  _ref$color = _ref.color,
387
339
  color = _ref$color === void 0 ? '#2F4858' : _ref$color,
388
- props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
340
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
389
341
  return React.createElement(Center, {
390
342
  width: size + "px",
391
343
  height: size + "px"
@@ -410,13 +362,13 @@ var OpenEyeSvg = function OpenEyeSvg(_ref) {
410
362
  }))));
411
363
  };
412
364
 
413
- var _excluded$a = ["size", "color"];
365
+ var _excluded$8 = ["size", "color"];
414
366
  var WarningSvg = function WarningSvg(_ref) {
415
367
  var _ref$size = _ref.size,
416
368
  size = _ref$size === void 0 ? 64 : _ref$size,
417
369
  _ref$color = _ref.color,
418
370
  color = _ref$color === void 0 ? 'white' : _ref$color,
419
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
371
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
420
372
  return React.createElement(Center, {
421
373
  width: size + "px",
422
374
  height: size + "px"
@@ -439,13 +391,13 @@ var WarningSvg = function WarningSvg(_ref) {
439
391
  })))))));
440
392
  };
441
393
 
442
- var _excluded$b = ["size", "color"];
394
+ var _excluded$9 = ["size", "color"];
443
395
  var SuccessSvg = function SuccessSvg(_ref) {
444
396
  var _ref$size = _ref.size,
445
397
  size = _ref$size === void 0 ? 64 : _ref$size,
446
398
  _ref$color = _ref.color,
447
399
  color = _ref$color === void 0 ? 'white' : _ref$color,
448
- props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
400
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
449
401
  return React.createElement(Center, {
450
402
  width: size + "px",
451
403
  height: size + "px"
@@ -469,13 +421,13 @@ var SuccessSvg = function SuccessSvg(_ref) {
469
421
  }))))));
470
422
  };
471
423
 
472
- var _excluded$c = ["size", "color"];
424
+ var _excluded$a = ["size", "color"];
473
425
  var InfoSvg = function InfoSvg(_ref) {
474
426
  var _ref$size = _ref.size,
475
427
  size = _ref$size === void 0 ? 64 : _ref$size,
476
428
  _ref$color = _ref.color,
477
429
  color = _ref$color === void 0 ? 'white' : _ref$color,
478
- props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
430
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
479
431
  return React.createElement(Center, {
480
432
  width: size + "px",
481
433
  height: size + "px"
@@ -498,13 +450,13 @@ var InfoSvg = function InfoSvg(_ref) {
498
450
  })))))));
499
451
  };
500
452
 
501
- var _excluded$d = ["size", "color"];
453
+ var _excluded$b = ["size", "color"];
502
454
  var ErrorSvg = function ErrorSvg(_ref) {
503
455
  var _ref$size = _ref.size,
504
456
  size = _ref$size === void 0 ? 64 : _ref$size,
505
457
  _ref$color = _ref.color,
506
458
  color = _ref$color === void 0 ? 'white' : _ref$color,
507
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
459
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
508
460
  return React.createElement(Center, {
509
461
  width: size + "px",
510
462
  height: size + "px"
@@ -547,7 +499,7 @@ var IconSizes = {
547
499
  '6xl': 64
548
500
  };
549
501
 
550
- var _excluded$e = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
502
+ var _excluded$c = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
551
503
  var LinkView = function LinkView(_ref) {
552
504
  var children = _ref.children,
553
505
  _ref$href = _ref.href,
@@ -567,7 +519,7 @@ var LinkView = function LinkView(_ref) {
567
519
  } : _ref$styles,
568
520
  _ref$setIsHovered = _ref.setIsHovered,
569
521
  setIsHovered = _ref$setIsHovered === void 0 ? function () {} : _ref$setIsHovered,
570
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
522
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
571
523
  var handleHover = function handleHover() {
572
524
  if (underline === 'hover') setIsHovered(true);
573
525
  };
@@ -702,6 +654,34 @@ var IconSizes$1 = {
702
654
  }
703
655
  };
704
656
 
657
+ var Top = function Top(props) {
658
+ return React.createElement(View$1, Object.assign({
659
+ marginBottom: "auto"
660
+ }, props));
661
+ };
662
+ var Bottom = function Bottom(props) {
663
+ return React.createElement(View$1, Object.assign({
664
+ marginTop: "auto"
665
+ }, props));
666
+ };
667
+ var Left = function Left(props) {
668
+ return React.createElement(View$1, Object.assign({
669
+ marginRight: "auto"
670
+ }, props));
671
+ };
672
+ var Right = function Right(props) {
673
+ return React.createElement(View$1, Object.assign({
674
+ marginLeft: "auto"
675
+ }, props));
676
+ };
677
+ var Inline = function Inline(props) {
678
+ return React.createElement(View$1, Object.assign({
679
+ display: 'inline-flex',
680
+ wordBreak: "break-word"
681
+ }, props));
682
+ };
683
+ var View = View$1;
684
+
705
685
  var DefaultSizes = {
706
686
  xs: 14,
707
687
  sm: 18,
@@ -720,7 +700,7 @@ var DefaultSpeeds = {
720
700
  slow: 300
721
701
  };
722
702
 
723
- var _excluded$f = ["size", "speed", "color"],
703
+ var _excluded$d = ["size", "speed", "color"],
724
704
  _excluded2 = ["size", "speed", "color"],
725
705
  _excluded3 = ["size", "speed", "color"],
726
706
  _excluded4 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
@@ -731,7 +711,7 @@ var DefaultSpinner = function DefaultSpinner(_ref) {
731
711
  speed = _ref$speed === void 0 ? 'normal' : _ref$speed,
732
712
  _ref$color = _ref.color,
733
713
  color = _ref$color === void 0 ? 'theme.loading' : _ref$color,
734
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
714
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
735
715
  var theme = useTheme();
736
716
  var colorStyle = theme.getColor(color);
737
717
  var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
@@ -905,7 +885,7 @@ var LoaderComponent = function LoaderComponent(props) {
905
885
  */
906
886
  var Loader = LoaderComponent;
907
887
 
908
- var _excluded$g = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered"];
888
+ var _excluded$e = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered"];
909
889
  var contrast = /*#__PURE__*/require('contrast');
910
890
  var ButtonView = function ButtonView(_ref) {
911
891
  var _props$onClick;
@@ -943,7 +923,7 @@ var ButtonView = function ButtonView(_ref) {
943
923
  _ref$effect = _ref.effect,
944
924
  effect = _ref$effect === void 0 ? 'default' : _ref$effect,
945
925
  isHovered = _ref.isHovered,
946
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
926
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
947
927
  var _useTheme = useTheme(),
948
928
  getColor = _useTheme.getColor;
949
929
  var isActive = !(isDisabled || isLoading);
@@ -1115,7 +1095,7 @@ var HeadingSizes = {
1115
1095
  }
1116
1096
  };
1117
1097
 
1118
- var _excluded$h = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
1098
+ var _excluded$f = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
1119
1099
  var LabelView = function LabelView(_ref) {
1120
1100
  var children = _ref.children,
1121
1101
  heading = _ref.heading,
@@ -1129,7 +1109,7 @@ var LabelView = function LabelView(_ref) {
1129
1109
  weight = _ref$weight === void 0 ? 'normal' : _ref$weight,
1130
1110
  _ref$size = _ref.size,
1131
1111
  size = _ref$size === void 0 ? 'sm' : _ref$size,
1132
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
1112
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
1133
1113
  // The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
1134
1114
  var headingStyles = heading ? HeadingSizes[heading] : {};
1135
1115
  // fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
@@ -1249,7 +1229,7 @@ var HeadingSizes$1 = {
1249
1229
  }
1250
1230
  };
1251
1231
 
1252
- var _excluded$i = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "isTruncated", "weight", "size"];
1232
+ var _excluded$g = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "isTruncated", "weight", "size"];
1253
1233
  var TextContent = function TextContent(_ref) {
1254
1234
  var children = _ref.children,
1255
1235
  isSub = _ref.isSub,
@@ -1313,7 +1293,7 @@ var TextView = function TextView(_ref3) {
1313
1293
  weight = _ref3$weight === void 0 ? 'normal' : _ref3$weight,
1314
1294
  _ref3$size = _ref3.size,
1315
1295
  size = _ref3$size === void 0 ? 'md' : _ref3$size,
1316
- props = _objectWithoutPropertiesLoose(_ref3, _excluded$i);
1296
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded$g);
1317
1297
  var headingStyles = heading ? HeadingSizes$1[heading] : {};
1318
1298
  var noLineBreak = isSub || isSup ? {
1319
1299
  display: 'inline'
@@ -1343,7 +1323,7 @@ var TextComponent = function TextComponent(props) {
1343
1323
  */
1344
1324
  var Text = TextComponent;
1345
1325
 
1346
- var _excluded$j = ["id", "icon", "name", "label", "isChecked", "onChange", "onValueChange", "shadow", "labelPosition", "size", "colorScheme", "error", "isSelected", "isHovered", "isDisabled", "isReadOnly", "isIndeterminate", "defaultIsSelected", "setIsSelected", "setIsHovered", "styles", "infoText"];
1326
+ var _excluded$h = ["id", "icon", "name", "label", "isChecked", "onChange", "onValueChange", "shadow", "labelPosition", "size", "colorScheme", "error", "isSelected", "isHovered", "isDisabled", "isReadOnly", "isIndeterminate", "defaultIsSelected", "setIsSelected", "setIsHovered", "styles", "infoText"];
1347
1327
  var CheckboxView = function CheckboxView(_ref) {
1348
1328
  var id = _ref.id,
1349
1329
  icon = _ref.icon,
@@ -1381,7 +1361,7 @@ var CheckboxView = function CheckboxView(_ref) {
1381
1361
  label: {}
1382
1362
  } : _ref$styles,
1383
1363
  infoText = _ref.infoText,
1384
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
1364
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
1385
1365
  var handleHover = function handleHover() {
1386
1366
  return setIsHovered(!isHovered);
1387
1367
  };
@@ -2935,14 +2915,14 @@ var useCountryPickerState = function useCountryPickerState(_ref) {
2935
2915
  };
2936
2916
  };
2937
2917
 
2938
- var _excluded$k = ["children", "styles"];
2918
+ var _excluded$i = ["children", "styles"];
2939
2919
  var HelperText = function HelperText(_ref) {
2940
2920
  var children = _ref.children,
2941
2921
  _ref$styles = _ref.styles,
2942
2922
  styles = _ref$styles === void 0 ? {
2943
2923
  helperText: {}
2944
2924
  } : _ref$styles,
2945
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
2925
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
2946
2926
  return React.createElement(Text, Object.assign({
2947
2927
  size: "xs",
2948
2928
  marginVertical: 0,
@@ -2951,22 +2931,21 @@ var HelperText = function HelperText(_ref) {
2951
2931
  }, styles['helperText'], props), children);
2952
2932
  };
2953
2933
 
2954
- var _excluded$l = ["children", "wrap", "justify", "isReversed"];
2934
+ var _excluded$j = ["wrap", "justifyContent", "isReversed"];
2955
2935
  var VerticalView = function VerticalView(_ref) {
2956
- var children = _ref.children,
2957
- _ref$wrap = _ref.wrap,
2958
- wrap = _ref$wrap === void 0 ? 'nowrap' : _ref$wrap,
2959
- _ref$justify = _ref.justify,
2960
- justify = _ref$justify === void 0 ? 'flex-start' : _ref$justify,
2936
+ var _ref$wrap = _ref.wrap,
2937
+ wrap = _ref$wrap === void 0 ? 'wrap' : _ref$wrap,
2938
+ _ref$justifyContent = _ref.justifyContent,
2939
+ justifyContent = _ref$justifyContent === void 0 ? 'flex-start' : _ref$justifyContent,
2961
2940
  _ref$isReversed = _ref.isReversed,
2962
2941
  isReversed = _ref$isReversed === void 0 ? false : _ref$isReversed,
2963
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
2942
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
2964
2943
  return React.createElement(View$1, Object.assign({
2965
2944
  display: "flex",
2966
2945
  flexWrap: wrap,
2967
- flexDirection: isReversed ? 'column-reverse' : 'column',
2968
- justifyContent: justify
2969
- }, props), children);
2946
+ justifyContent: justifyContent,
2947
+ flexDirection: isReversed ? 'column-reverse' : 'column'
2948
+ }, props));
2970
2949
  };
2971
2950
 
2972
2951
  /**
@@ -2977,14 +2956,14 @@ var VerticalComponent = function VerticalComponent(props) {
2977
2956
  };
2978
2957
  var Vertical = VerticalComponent;
2979
2958
 
2980
- var _excluded$m = ["children", "helperText", "error", "styles"];
2959
+ var _excluded$k = ["children", "helperText", "error", "styles"];
2981
2960
  var FieldContainer = function FieldContainer(_ref) {
2982
2961
  var children = _ref.children,
2983
2962
  helperText = _ref.helperText,
2984
2963
  _ref$error = _ref.error,
2985
2964
  error = _ref$error === void 0 ? false : _ref$error,
2986
2965
  styles = _ref.styles,
2987
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
2966
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
2988
2967
  return React.createElement(Vertical, Object.assign({
2989
2968
  gap: 5,
2990
2969
  position: "relative"
@@ -3043,7 +3022,7 @@ var PaddingWithoutLabel = {
3043
3022
  paddingRight: 36
3044
3023
  };
3045
3024
 
3046
- var _excluded$n = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
3025
+ var _excluded$l = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
3047
3026
  var FieldContent = function FieldContent(_ref) {
3048
3027
  var shadow = _ref.shadow,
3049
3028
  children = _ref.children,
@@ -3071,7 +3050,7 @@ var FieldContent = function FieldContent(_ref) {
3071
3050
  styles = _ref$styles === void 0 ? {
3072
3051
  pickerBox: {}
3073
3052
  } : _ref$styles,
3074
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
3053
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
3075
3054
  var isInteractive = (isHovered || isFocused) && !isDisabled;
3076
3055
  var color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
3077
3056
  return React.createElement(Horizontal, Object.assign({
@@ -3092,10 +3071,10 @@ var FieldContent = function FieldContent(_ref) {
3092
3071
  }, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
3093
3072
  };
3094
3073
 
3095
- var _excluded$o = ["children"];
3074
+ var _excluded$m = ["children"];
3096
3075
  var FieldIcons = function FieldIcons(_ref) {
3097
3076
  var children = _ref.children,
3098
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
3077
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
3099
3078
  return React.createElement(Center, Object.assign({
3100
3079
  gap: 10,
3101
3080
  right: 16,
@@ -3105,7 +3084,7 @@ var FieldIcons = function FieldIcons(_ref) {
3105
3084
  }, props), children);
3106
3085
  };
3107
3086
 
3108
- var _excluded$p = ["children", "size", "error", "color", "styles"];
3087
+ var _excluded$n = ["children", "size", "error", "color", "styles"];
3109
3088
  var FieldLabel = function FieldLabel(_ref) {
3110
3089
  var children = _ref.children,
3111
3090
  _ref$size = _ref.size,
@@ -3118,7 +3097,7 @@ var FieldLabel = function FieldLabel(_ref) {
3118
3097
  styles = _ref$styles === void 0 ? {
3119
3098
  label: {}
3120
3099
  } : _ref$styles,
3121
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
3100
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
3122
3101
  return React.createElement(Label, Object.assign({
3123
3102
  top: 6,
3124
3103
  zIndex: 1000,
@@ -3131,10 +3110,10 @@ var FieldLabel = function FieldLabel(_ref) {
3131
3110
  }, styles['label'], props), children);
3132
3111
  };
3133
3112
 
3134
- var _excluded$q = ["children"];
3113
+ var _excluded$o = ["children"];
3135
3114
  var FieldWrapper = function FieldWrapper(_ref) {
3136
3115
  var children = _ref.children,
3137
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
3116
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
3138
3117
  return React.createElement(Vertical, Object.assign({
3139
3118
  width: "100%"
3140
3119
  }, props), children);
@@ -3148,7 +3127,7 @@ var IconSizes$3 = {
3148
3127
  xl: 16
3149
3128
  };
3150
3129
 
3151
- var _excluded$r = ["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"];
3130
+ var _excluded$p = ["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"];
3152
3131
  var CountryList = function CountryList(props) {
3153
3132
  return React.createElement(Element, Object.assign({
3154
3133
  as: "ul"
@@ -3288,7 +3267,7 @@ var CountryPickerView = function CountryPickerView(_ref3) {
3288
3267
  helperText: {},
3289
3268
  box: {}
3290
3269
  } : _ref3$styles,
3291
- props = _objectWithoutPropertiesLoose(_ref3, _excluded$r);
3270
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded$p);
3292
3271
  var _useTheme = useTheme(),
3293
3272
  getColor = _useTheme.getColor;
3294
3273
  var IconColor = getColor('color.blueGray.700');
@@ -3426,7 +3405,7 @@ var useDatePickerState = function useDatePickerState() {
3426
3405
  };
3427
3406
  };
3428
3407
 
3429
- var _excluded$s = ["id", "icon", "name", "label", "date", "children", "helperText", "shadow", "size", "variant", "shape", "colorScheme", "styles", "error", "isHovered", "isFocused", "isDisabled", "isReadOnly", "setDate", "setIsFocused", "setIsHovered", "onChange", "onChangeText"];
3408
+ var _excluded$q = ["id", "icon", "name", "label", "date", "children", "helperText", "shadow", "size", "variant", "shape", "colorScheme", "styles", "error", "isHovered", "isFocused", "isDisabled", "isReadOnly", "setDate", "setIsFocused", "setIsHovered", "onChange", "onChangeText"];
3430
3409
  var DatePickerContent = function DatePickerContent(props) {
3431
3410
  return React.createElement(Input, Object.assign({
3432
3411
  type: "date"
@@ -3474,7 +3453,7 @@ var DatePickerView = function DatePickerView(_ref) {
3474
3453
  setIsHovered = _ref$setIsHovered === void 0 ? function () {} : _ref$setIsHovered,
3475
3454
  onChange = _ref.onChange,
3476
3455
  onChangeText = _ref.onChangeText,
3477
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
3456
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
3478
3457
  var isWithLabel = !!(isFocused && label);
3479
3458
  var handleHover = function handleHover() {
3480
3459
  return setIsHovered(!isHovered);
@@ -3599,7 +3578,7 @@ var usePasswordState = function usePasswordState(props) {
3599
3578
  }, props, textFieldStates);
3600
3579
  };
3601
3580
 
3602
- var _excluded$t = ["id", "name", "label", "hint", "value", "onChange", "leftChild", "rightChild", "helperText", "placeholder", "onChangeText", "shadow", "styles", "size", "shape", "variant", "colorScheme", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isClearable", "isAutoFocus", "setHint", "setIsFocused", "setIsHovered", "setValue", "onClick", "onFocus", "onBlur"];
3581
+ var _excluded$r = ["id", "name", "label", "hint", "value", "onChange", "leftChild", "rightChild", "helperText", "placeholder", "onChangeText", "shadow", "styles", "size", "shape", "variant", "colorScheme", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isClearable", "isAutoFocus", "setHint", "setIsFocused", "setIsHovered", "setValue", "onClick", "onFocus", "onBlur"];
3603
3582
  var TextFieldInput = function TextFieldInput(props) {
3604
3583
  return React.createElement(Input, Object.assign({
3605
3584
  type: "text"
@@ -3657,7 +3636,7 @@ var TextFieldView = function TextFieldView(_ref) {
3657
3636
  onFocus = _ref.onFocus,
3658
3637
  _ref$onBlur = _ref.onBlur,
3659
3638
  onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur,
3660
- props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
3639
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
3661
3640
  var _useTheme = useTheme(),
3662
3641
  getColor = _useTheme.getColor;
3663
3642
  var IconColor = getColor('color.blueGray.700');
@@ -3765,7 +3744,7 @@ var TextFieldView = function TextFieldView(_ref) {
3765
3744
  }), rightChild && React.createElement(React.Fragment, null, rightChild))));
3766
3745
  };
3767
3746
 
3768
- var _excluded$u = ["visibleIcon", "hiddenIcon"],
3747
+ var _excluded$s = ["visibleIcon", "hiddenIcon"],
3769
3748
  _excluded2$1 = ["isVisible", "setIsVisible"];
3770
3749
  var PasswordComponent = function PasswordComponent(_ref) {
3771
3750
  var _ref$visibleIcon = _ref.visibleIcon,
@@ -3776,7 +3755,7 @@ var PasswordComponent = function PasswordComponent(_ref) {
3776
3755
  hiddenIcon = _ref$hiddenIcon === void 0 ? React.createElement(CloseEyeSvg, {
3777
3756
  size: 14
3778
3757
  }) : _ref$hiddenIcon,
3779
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
3758
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
3780
3759
  var _usePasswordState = usePasswordState(props),
3781
3760
  isVisible = _usePasswordState.isVisible,
3782
3761
  setIsVisible = _usePasswordState.setIsVisible,
@@ -3802,7 +3781,7 @@ var useSelectState = function useSelectState(_ref) {
3802
3781
  var placeholder = _ref.placeholder,
3803
3782
  isMulti = _ref.isMulti,
3804
3783
  options = _ref.options;
3805
- var defaultValue = placeholder ? isMulti ? [] : '' : options[0];
3784
+ var defaultValue = placeholder ? isMulti ? [] : '' : options[0].value;
3806
3785
  var _React$useState = React.useState(true),
3807
3786
  hide = _React$useState[0],
3808
3787
  setHide = _React$useState[1];
@@ -3849,7 +3828,7 @@ var IconSizes$4 = {
3849
3828
  xl: 16
3850
3829
  };
3851
3830
 
3852
- var _excluded$v = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
3831
+ var _excluded$t = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
3853
3832
  _excluded2$2 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
3854
3833
  _excluded3$1 = ["option", "size", "removeOption"],
3855
3834
  _excluded4$1 = ["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"];
@@ -3862,7 +3841,7 @@ var Item = function Item(_ref) {
3862
3841
  _ref$callback = _ref.callback,
3863
3842
  callback = _ref$callback === void 0 ? function () {} : _ref$callback,
3864
3843
  style = _ref.style,
3865
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
3844
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
3866
3845
  var handleOptionClick = function handleOptionClick(option) {
3867
3846
  return callback(option);
3868
3847
  };
@@ -3878,14 +3857,15 @@ var Item = function Item(_ref) {
3878
3857
  onMouseEnter: handleHover,
3879
3858
  onMouseLeave: handleHover,
3880
3859
  onClick: function onClick() {
3881
- return handleOptionClick(option);
3860
+ return handleOptionClick(option.value);
3882
3861
  },
3883
3862
  backgroundColor: isHovered ? 'trueGray.100' : 'transparent'
3884
3863
  }, props), React.createElement(Text, Object.assign({
3885
3864
  fontSize: Typography.fontSizes[size]
3886
- }, style), option));
3865
+ }, style), option.label));
3887
3866
  };
3888
3867
  var SelectBox = function SelectBox(_ref2) {
3868
+ var _option$label;
3889
3869
  var _ref2$size = _ref2.size,
3890
3870
  size = _ref2$size === void 0 ? 'md' : _ref2$size,
3891
3871
  _ref2$styles = _ref2.styles,
@@ -3897,7 +3877,8 @@ var SelectBox = function SelectBox(_ref2) {
3897
3877
  isDisabled = _ref2.isDisabled,
3898
3878
  placeholder = _ref2.placeholder,
3899
3879
  _ref2$removeOption = _ref2.removeOption,
3900
- removeOption = _ref2$removeOption === void 0 ? function () {} : _ref2$removeOption;
3880
+ removeOption = _ref2$removeOption === void 0 ? function () {} : _ref2$removeOption,
3881
+ options = _ref2.options;
3901
3882
  var fieldStyles = _extends({
3902
3883
  margin: 0,
3903
3884
  width: '95%',
@@ -3910,7 +3891,10 @@ var SelectBox = function SelectBox(_ref2) {
3910
3891
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
3911
3892
  cursor: isDisabled ? 'not-allowed' : 'auto'
3912
3893
  }, styles['field'], styles['text']);
3913
- return React.createElement(Text, Object.assign({}, fieldStyles), (value === '' || value && value.length === 0) && !!placeholder ? placeholder : React.createElement(React.Fragment, null, typeof value === 'string' ? value : value && value.length > 0 && React.createElement(Horizontal, {
3894
+ var option = options.find(function (option) {
3895
+ return option.value === value;
3896
+ });
3897
+ return React.createElement(Text, Object.assign({}, fieldStyles), (value === '' || value && value.length === 0) && !!placeholder ? placeholder : React.createElement(React.Fragment, null, typeof value === 'string' ? (_option$label = option == null ? void 0 : option.label) != null ? _option$label : value : value && value.length > 0 && React.createElement(Horizontal, {
3914
3898
  gap: 6
3915
3899
  }, value.map(function (option) {
3916
3900
  return React.createElement(MultiSelect, {
@@ -3952,9 +3936,9 @@ var HiddenSelect = function HiddenSelect(_ref3) {
3952
3936
  multiple: isMulti
3953
3937
  }, props), options.map(function (option) {
3954
3938
  return React.createElement("option", {
3955
- key: option,
3956
- value: option
3957
- }, option);
3939
+ key: option.value,
3940
+ value: option.value
3941
+ }, option.label);
3958
3942
  }));
3959
3943
  };
3960
3944
  var DropDown$1 = function DropDown(_ref4) {
@@ -4011,7 +3995,7 @@ var DropDown$1 = function DropDown(_ref4) {
4011
3995
  }
4012
3996
  }, shadow, styles['dropDown']), options.map(function (option, index) {
4013
3997
  return React.createElement(Item, Object.assign({
4014
- key: option,
3998
+ key: option.value,
4015
3999
  size: size,
4016
4000
  style: styles['text'],
4017
4001
  option: option,
@@ -4175,6 +4159,7 @@ var SelectView = function SelectView(_ref6) {
4175
4159
  isMulti: isMulti,
4176
4160
  onFocus: handleFocus
4177
4161
  }, props)), React.createElement(SelectBox, {
4162
+ options: options,
4178
4163
  size: size,
4179
4164
  styles: styles,
4180
4165
  value: value,
@@ -4352,7 +4337,7 @@ var SliderPadding = {
4352
4337
  }
4353
4338
  };
4354
4339
 
4355
- var _excluded$w = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "onChange", "setValue", "setIsHovered", "styles"];
4340
+ var _excluded$u = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "onChange", "setValue", "setIsHovered", "styles"];
4356
4341
  var SwitchContent = function SwitchContent(props) {
4357
4342
  return React.createElement(Input, Object.assign({
4358
4343
  type: "checkbox"
@@ -4391,7 +4376,7 @@ var SwitchView = function SwitchView(_ref) {
4391
4376
  circle: {},
4392
4377
  label: {}
4393
4378
  } : _ref$styles,
4394
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
4379
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4395
4380
  var handleToggle = function handleToggle(event) {
4396
4381
  if (!isReadOnly) {
4397
4382
  setValue(!value);
@@ -4477,7 +4462,7 @@ var useTextAreaState = function useTextAreaState(_ref) {
4477
4462
  };
4478
4463
  };
4479
4464
 
4480
- var _excluded$x = ["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"];
4465
+ var _excluded$v = ["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"];
4481
4466
  var TextAreaView = function TextAreaView(_ref) {
4482
4467
  var id = _ref.id,
4483
4468
  name = _ref.name,
@@ -4532,7 +4517,7 @@ var TextAreaView = function TextAreaView(_ref) {
4532
4517
  helperText: {},
4533
4518
  field: {}
4534
4519
  } : _ref$styles,
4535
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
4520
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4536
4521
  var isWithLabel = !!(isFocused && label);
4537
4522
  var fieldStyles = _extends({
4538
4523
  margin: 0,
@@ -4700,7 +4685,7 @@ var FormikForm = function FormikForm(_ref) {
4700
4685
  }, React.createElement(Form, null, children));
4701
4686
  };
4702
4687
 
4703
- var _excluded$y = ["name", "type"];
4688
+ var _excluded$w = ["name", "type"];
4704
4689
  var getInputTypeProps = function getInputTypeProps(type) {
4705
4690
  switch (type) {
4706
4691
  case 'email':
@@ -4730,7 +4715,7 @@ var getInputTypeProps = function getInputTypeProps(type) {
4730
4715
  var useFormikInput = function useFormikInput(_ref) {
4731
4716
  var name = _ref.name,
4732
4717
  type = _ref.type,
4733
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
4718
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
4734
4719
  var focus = useFormFocus();
4735
4720
  var _useFormikContext = useFormikContext(),
4736
4721
  touched = _useFormikContext.touched,
@@ -4777,11 +4762,11 @@ var useFormikInput = function useFormikInput(_ref) {
4777
4762
  // import FormRater from 'src/Rate/Rate';
4778
4763
  // import Upload from 'src/Upload/Upload';
4779
4764
 
4780
- var _excluded$z = ["value"];
4765
+ var _excluded$x = ["value"];
4781
4766
  var CheckboxComponent$1 = function CheckboxComponent(props) {
4782
4767
  var _useFormikInput = useFormikInput(props),
4783
4768
  value = _useFormikInput.value,
4784
- formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$z);
4769
+ formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$x);
4785
4770
  formProps.isChecked = value;
4786
4771
  var checkboxStates = useCheckboxState(props);
4787
4772
  return React.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
@@ -4814,6 +4799,10 @@ var FormikCountryPicker = CountryPickerComponent$1;
4814
4799
  var SelectComponent$1 = function SelectComponent(props) {
4815
4800
  var formProps = useFormikInput(props);
4816
4801
  formProps.selected = formProps.value;
4802
+ console.log({
4803
+ formProps: formProps,
4804
+ test: formProps.value
4805
+ });
4817
4806
  var selectStates = useSelectState(props);
4818
4807
  return React.createElement(SelectView, Object.assign({}, selectStates, formProps));
4819
4808
  };
@@ -4839,11 +4828,11 @@ var TextAreaComponent$1 = function TextAreaComponent(props) {
4839
4828
  */
4840
4829
  var FormikTextArea = TextAreaComponent$1;
4841
4830
 
4842
- var _excluded$A = ["value"];
4831
+ var _excluded$y = ["value"];
4843
4832
  var TextFieldComponent$1 = function TextFieldComponent(props) {
4844
4833
  var formProps = useFormikInput(props);
4845
4834
  var _useTextFieldState = useTextFieldState(props),
4846
- textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$A);
4835
+ textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$y);
4847
4836
  return React.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
4848
4837
  };
4849
4838
  /**
@@ -4851,7 +4840,7 @@ var TextFieldComponent$1 = function TextFieldComponent(props) {
4851
4840
  */
4852
4841
  var FormikTextField = TextFieldComponent$1;
4853
4842
 
4854
- var _excluded$B = ["visibleIcon", "hiddenIcon"],
4843
+ var _excluded$z = ["visibleIcon", "hiddenIcon"],
4855
4844
  _excluded2$3 = ["isVisible", "setIsVisible"];
4856
4845
  var PasswordComponent$1 = function PasswordComponent(_ref) {
4857
4846
  var _ref$visibleIcon = _ref.visibleIcon,
@@ -4862,7 +4851,7 @@ var PasswordComponent$1 = function PasswordComponent(_ref) {
4862
4851
  hiddenIcon = _ref$hiddenIcon === void 0 ? React.createElement(CloseEyeSvg, {
4863
4852
  size: 14
4864
4853
  }) : _ref$hiddenIcon,
4865
- props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
4854
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
4866
4855
  var formProps = useFormikInput(props);
4867
4856
  var _usePasswordState = usePasswordState(formProps),
4868
4857
  isVisible = _usePasswordState.isVisible,
@@ -4925,11 +4914,11 @@ var useComboBoxState = function useComboBoxState(items, placeholder, searchPlace
4925
4914
  };
4926
4915
  };
4927
4916
 
4928
- var _excluded$C = ["size", "color"];
4917
+ var _excluded$A = ["size", "color"];
4929
4918
  var TickSvg = function TickSvg(_ref) {
4930
4919
  var _ref$size = _ref.size,
4931
4920
  size = _ref$size === void 0 ? 16 : _ref$size,
4932
- props = _objectWithoutPropertiesLoose(_ref, _excluded$C);
4921
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
4933
4922
  return React.createElement(Center, {
4934
4923
  width: size + "px",
4935
4924
  height: size + "px"
@@ -4957,13 +4946,13 @@ var TickSvg = function TickSvg(_ref) {
4957
4946
  }), ' ')));
4958
4947
  };
4959
4948
 
4960
- var _excluded$D = ["size", "color"];
4949
+ var _excluded$B = ["size", "color"];
4961
4950
  var SearchLoopSvg = function SearchLoopSvg(_ref) {
4962
4951
  var _ref$size = _ref.size,
4963
4952
  size = _ref$size === void 0 ? 14 : _ref$size,
4964
4953
  _ref$color = _ref.color,
4965
4954
  color = _ref$color === void 0 ? '#c0c0c0' : _ref$color,
4966
- props = _objectWithoutPropertiesLoose(_ref, _excluded$D);
4955
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
4967
4956
  return React.createElement(Center, {
4968
4957
  width: size + "px",
4969
4958
  height: size + "px"
@@ -4990,7 +4979,7 @@ var SearchLoopSvg = function SearchLoopSvg(_ref) {
4990
4979
  }), ' ')))));
4991
4980
  };
4992
4981
 
4993
- var _excluded$E = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
4982
+ var _excluded$C = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
4994
4983
  // Defines the functional component 'ComboBoxView' with destructured props.
4995
4984
  var ComboBoxView = function ComboBoxView(_ref) {
4996
4985
  var placeholder = _ref.placeholder,
@@ -5014,7 +5003,7 @@ var ComboBoxView = function ComboBoxView(_ref) {
5014
5003
  styles = _ref.styles,
5015
5004
  isDropdownVisible = _ref.isDropdownVisible,
5016
5005
  setIsDropdownVisible = _ref.setIsDropdownVisible,
5017
- props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
5006
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$C);
5018
5007
  // Sets up an effect to handle clicking outside the dropdown to close it.
5019
5008
  useEffect(function () {
5020
5009
  var handleClickOutside = function handleClickOutside(event) {
@@ -5070,7 +5059,7 @@ var ComboBoxView = function ComboBoxView(_ref) {
5070
5059
  display: "flex",
5071
5060
  alignItems: "center",
5072
5061
  borderRadius: "4px",
5073
- justify: "space-between",
5062
+ justifyContent: "space-between",
5074
5063
  minWidth: 300,
5075
5064
  wrap: "nowrap"
5076
5065
  }, styles == null ? void 0 : styles.container), React.createElement(Horizontal, Object.assign({
@@ -5123,7 +5112,7 @@ var ComboBoxView = function ComboBoxView(_ref) {
5123
5112
  padding: 4
5124
5113
  }, filteredItems.map(function (item, index) {
5125
5114
  return React.createElement(Horizontal, Object.assign({
5126
- justify: "space-between",
5115
+ justifyContent: "space-between",
5127
5116
  key: item.value,
5128
5117
  padding: "12px",
5129
5118
  cursor: "pointer",
@@ -5139,12 +5128,12 @@ var ComboBoxView = function ComboBoxView(_ref) {
5139
5128
  }))))));
5140
5129
  };
5141
5130
 
5142
- var _excluded$F = ["items", "placeholder", "searchPlaceholder"];
5131
+ var _excluded$D = ["items", "placeholder", "searchPlaceholder"];
5143
5132
  var ComboBoxComponent = function ComboBoxComponent(_ref) {
5144
5133
  var items = _ref.items,
5145
5134
  placeholder = _ref.placeholder,
5146
5135
  searchPlaceholder = _ref.searchPlaceholder,
5147
- props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
5136
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$D);
5148
5137
  var formProps = useFormikInput(props);
5149
5138
  var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
5150
5139
  // Ensure the onChange function from formProps is being called when an item is selected
@@ -5245,7 +5234,7 @@ var HeaderIconSizes = {
5245
5234
  xl: 28
5246
5235
  };
5247
5236
 
5248
- var _excluded$G = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
5237
+ var _excluded$E = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
5249
5238
  _excluded2$4 = ["children", "shadow", "isFullScreen", "shape"],
5250
5239
  _excluded3$2 = ["children", "buttonColor", "iconSize", "buttonPosition"],
5251
5240
  _excluded4$2 = ["children"],
@@ -5261,7 +5250,7 @@ var ModalOverlay = function ModalOverlay(_ref) {
5261
5250
  onClose = _ref$onClose === void 0 ? function () {} : _ref$onClose,
5262
5251
  _ref$position = _ref.position,
5263
5252
  position = _ref$position === void 0 ? 'center' : _ref$position,
5264
- props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
5253
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
5265
5254
  var handleClick = function handleClick() {
5266
5255
  if (!isClosePrevented) onClose();
5267
5256
  };
@@ -5415,12 +5404,12 @@ Modal.Body = ModalBody;
5415
5404
  Modal.Footer = ModalFooter;
5416
5405
  Modal.Layout = ModalLayout;
5417
5406
 
5418
- var _excluded$H = ["src", "color"],
5407
+ var _excluded$F = ["src", "color"],
5419
5408
  _excluded2$5 = ["path"];
5420
5409
  var FileSVG = function FileSVG(_ref) {
5421
5410
  var src = _ref.src,
5422
5411
  color = _ref.color,
5423
- props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
5412
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
5424
5413
  var _useTheme = useTheme(),
5425
5414
  getColor = _useTheme.getColor;
5426
5415
  var Colorprops = color ? {
@@ -5639,13 +5628,13 @@ var AlertComponent = function AlertComponent(_ref) {
5639
5628
  // Exporting the AlertComponent as 'Alert' for use in other parts of the application.
5640
5629
  var Alert = AlertComponent;
5641
5630
 
5642
- var _excluded$I = ["ratio", "children"];
5631
+ var _excluded$G = ["ratio", "children"];
5643
5632
  // Declaration of a functional component named AspectRatioView.
5644
5633
  var AspectRatioView = function AspectRatioView(_ref) {
5645
5634
  var _ref$ratio = _ref.ratio,
5646
5635
  ratio = _ref$ratio === void 0 ? 16 / 9 : _ref$ratio,
5647
5636
  children = _ref.children,
5648
- props = _objectWithoutPropertiesLoose(_ref, _excluded$I);
5637
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
5649
5638
  return React.createElement(Center, Object.assign({
5650
5639
  width: '100%',
5651
5640
  position: "relative",
@@ -5661,12 +5650,12 @@ var AspectRatioView = function AspectRatioView(_ref) {
5661
5650
  }, children));
5662
5651
  };
5663
5652
 
5664
- var _excluded$J = ["ratio", "children"];
5653
+ var _excluded$H = ["ratio", "children"];
5665
5654
  // Declaration of the AspectRatioComponent functional component with destructured props.
5666
5655
  var AspectRatioComponent = function AspectRatioComponent(_ref) {
5667
5656
  var ratio = _ref.ratio,
5668
5657
  children = _ref.children,
5669
- props = _objectWithoutPropertiesLoose(_ref, _excluded$J);
5658
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
5670
5659
  // Beginning of the return statement in the functional component.
5671
5660
  return React.createElement(AspectRatioView, Object.assign({
5672
5661
  ratio: ratio
@@ -5920,7 +5909,7 @@ var ToggleShapes = {
5920
5909
  pillShaped: 24
5921
5910
  };
5922
5911
 
5923
- var _excluded$K = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
5912
+ var _excluded$I = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
5924
5913
  var ToggleView = function ToggleView(_ref) {
5925
5914
  var children = _ref.children,
5926
5915
  _ref$shape = _ref.shape,
@@ -5935,7 +5924,7 @@ var ToggleView = function ToggleView(_ref) {
5935
5924
  isToggle = _ref.isToggle,
5936
5925
  setIsToggled = _ref.setIsToggled,
5937
5926
  onToggle = _ref.onToggle,
5938
- props = _objectWithoutPropertiesLoose(_ref, _excluded$K);
5927
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$I);
5939
5928
  var toggleColor = !isDisabled ? colorScheme : 'theme.disabled';
5940
5929
  var isActive = !!(isToggle || isHovered);
5941
5930
  var ToggleVariants = {
@@ -5981,7 +5970,7 @@ var ToggleView = function ToggleView(_ref) {
5981
5970
  }, ToggleVariants[variant], props), children);
5982
5971
  };
5983
5972
 
5984
- var _excluded$L = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
5973
+ var _excluded$J = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
5985
5974
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
5986
5975
  var ToggleComponent = function ToggleComponent(_ref) {
5987
5976
  var children = _ref.children,
@@ -5992,7 +5981,7 @@ var ToggleComponent = function ToggleComponent(_ref) {
5992
5981
  _ref$isToggled = _ref.isToggled,
5993
5982
  isToggled = _ref$isToggled === void 0 ? false : _ref$isToggled,
5994
5983
  onToggle = _ref.onToggle,
5995
- props = _objectWithoutPropertiesLoose(_ref, _excluded$L);
5984
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$J);
5996
5985
  // Initializing toggle state and set state functions using the custom hook useToggleState.
5997
5986
  var _useToggleState = useToggleState(isToggled),
5998
5987
  isHovered = _useToggleState.isHovered,