@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
@@ -64,71 +64,23 @@ var useLinkState = function useLinkState() {
64
64
  };
65
65
  };
66
66
 
67
- var Top = function Top(props) {
68
- return React__default.createElement(appStudio.View, Object.assign({
69
- marginBottom: "auto"
70
- }, props));
71
- };
72
- var Bottom = function Bottom(props) {
73
- return React__default.createElement(appStudio.View, Object.assign({
74
- marginTop: "auto"
75
- }, props));
76
- };
77
- var Left = function Left(props) {
78
- return React__default.createElement(appStudio.View, Object.assign({
79
- marginRight: "auto"
80
- }, props));
81
- };
82
- var Right = function Right(props) {
83
- return React__default.createElement(appStudio.View, Object.assign({
84
- marginLeft: "auto"
85
- }, props));
86
- };
87
- var Inline = function Inline(props) {
88
- return React__default.createElement(appStudio.View, Object.assign({
89
- display: 'inline-flex',
90
- wordBreak: "break-word"
91
- }, props));
92
- };
93
- var View = appStudio.View;
94
-
95
- var _excluded = ["children", "wrap", "justify", "isReversed"];
96
- var HorizontalView = function HorizontalView(_ref) {
97
- var children = _ref.children,
98
- _ref$wrap = _ref.wrap,
99
- wrap = _ref$wrap === void 0 ? 'wrap' : _ref$wrap,
100
- _ref$justify = _ref.justify,
101
- justify = _ref$justify === void 0 ? 'flex-start' : _ref$justify,
102
- _ref$isReversed = _ref.isReversed,
103
- isReversed = _ref$isReversed === void 0 ? false : _ref$isReversed,
104
- props = _objectWithoutPropertiesLoose(_ref, _excluded);
105
- return React__default.createElement(View, Object.assign({
106
- display: "flex",
107
- flexWrap: wrap,
108
- flexDirection: isReversed ? 'row-reverse' : 'row',
109
- justifyContent: justify
110
- }, props), children);
111
- };
112
-
113
67
  /**
114
68
  * Horizontal layout aligns all the elements in a container on the horizontal axis.
115
69
  */
116
70
  var HorizontalComponent = function HorizontalComponent(props) {
117
- return React__default.createElement(HorizontalView, Object.assign({}, props));
71
+ return React__default.createElement(appStudio.View, Object.assign({
72
+ display: "flex",
73
+ flexDirection: props.isReversed ? 'row-reverse' : 'row'
74
+ }, props));
118
75
  };
119
76
  var Horizontal = HorizontalComponent;
120
77
 
121
- var _excluded$1 = ["children", "wrap"];
122
- var CenterView = function CenterView(_ref) {
123
- var children = _ref.children,
124
- wrap = _ref.wrap,
125
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
126
- return React__default.createElement(View, Object.assign({
78
+ var CenterView = function CenterView(props) {
79
+ return React__default.createElement(appStudio.View, Object.assign({
127
80
  display: "flex",
128
81
  justifyContent: "center",
129
- alignItems: "center",
130
- flexWrap: wrap
131
- }, props), children);
82
+ alignItems: "center"
83
+ }, props));
132
84
  };
133
85
 
134
86
  /**
@@ -139,11 +91,11 @@ var CenterComponent = function CenterComponent(props) {
139
91
  };
140
92
  var Center = CenterComponent;
141
93
 
142
- var _excluded$2 = ["size", "color"];
94
+ var _excluded = ["size", "color"];
143
95
  var ArrowDownSvg = function ArrowDownSvg(_ref) {
144
96
  var _ref$size = _ref.size,
145
97
  size = _ref$size === void 0 ? 64 : _ref$size,
146
- props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
98
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
147
99
  return React__default.createElement(Center, {
148
100
  width: size + "px",
149
101
  height: size + "px"
@@ -179,11 +131,11 @@ var ArrowDownSvg = function ArrowDownSvg(_ref) {
179
131
  })))))));
180
132
  };
181
133
 
182
- var _excluded$3 = ["size", "color"];
134
+ var _excluded$1 = ["size", "color"];
183
135
  var ArrowUpSvg = function ArrowUpSvg(_ref) {
184
136
  var _ref$size = _ref.size,
185
137
  size = _ref$size === void 0 ? 64 : _ref$size,
186
- props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
138
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
187
139
  return React__default.createElement(Center, {
188
140
  width: size + "px",
189
141
  height: size + "px"
@@ -221,13 +173,13 @@ var ArrowUpSvg = function ArrowUpSvg(_ref) {
221
173
  })))))));
222
174
  };
223
175
 
224
- var _excluded$4 = ["size", "color"];
176
+ var _excluded$2 = ["size", "color"];
225
177
  var CheckSvg = function CheckSvg(_ref) {
226
178
  var _ref$size = _ref.size,
227
179
  size = _ref$size === void 0 ? 64 : _ref$size,
228
180
  _ref$color = _ref.color,
229
181
  color = _ref$color === void 0 ? 'white' : _ref$color,
230
- props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
182
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
231
183
  return React__default.createElement(Center, {
232
184
  width: size + "px",
233
185
  height: size + "px"
@@ -257,13 +209,13 @@ var CheckSvg = function CheckSvg(_ref) {
257
209
  }))));
258
210
  };
259
211
 
260
- var _excluded$5 = ["size", "color"];
212
+ var _excluded$3 = ["size", "color"];
261
213
  var CloseSvg = function CloseSvg(_ref) {
262
214
  var _ref$size = _ref.size,
263
215
  size = _ref$size === void 0 ? 64 : _ref$size,
264
216
  _ref$color = _ref.color,
265
217
  color = _ref$color === void 0 ? 'white' : _ref$color,
266
- props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
218
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
267
219
  return React__default.createElement(Center, {
268
220
  width: size + "px",
269
221
  height: size + "px"
@@ -288,13 +240,13 @@ var CloseSvg = function CloseSvg(_ref) {
288
240
  }))));
289
241
  };
290
242
 
291
- var _excluded$6 = ["size", "color"];
243
+ var _excluded$4 = ["size", "color"];
292
244
  var CloseEyeSvg = function CloseEyeSvg(_ref) {
293
245
  var _ref$size = _ref.size,
294
246
  size = _ref$size === void 0 ? 64 : _ref$size,
295
247
  _ref$color = _ref.color,
296
248
  color = _ref$color === void 0 ? '#2F4858' : _ref$color,
297
- props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
249
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
298
250
  return React__default.createElement(Center, {
299
251
  width: size + "px",
300
252
  height: size + "px"
@@ -319,13 +271,13 @@ var CloseEyeSvg = function CloseEyeSvg(_ref) {
319
271
  }))));
320
272
  };
321
273
 
322
- var _excluded$7 = ["size", "color"];
274
+ var _excluded$5 = ["size", "color"];
323
275
  var ExternalLinkSvg = function ExternalLinkSvg(_ref) {
324
276
  var _ref$size = _ref.size,
325
277
  size = _ref$size === void 0 ? 64 : _ref$size,
326
278
  _ref$color = _ref.color,
327
279
  color = _ref$color === void 0 ? 'white' : _ref$color,
328
- props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
280
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
329
281
  return React__default.createElement(Center, {
330
282
  width: size + "px",
331
283
  height: size + "px"
@@ -354,13 +306,13 @@ var ExternalLinkSvg = function ExternalLinkSvg(_ref) {
354
306
  }))));
355
307
  };
356
308
 
357
- var _excluded$8 = ["size", "color"];
309
+ var _excluded$6 = ["size", "color"];
358
310
  var IndeterminateSvg = function IndeterminateSvg(_ref) {
359
311
  var _ref$size = _ref.size,
360
312
  size = _ref$size === void 0 ? 64 : _ref$size,
361
313
  _ref$color = _ref.color,
362
314
  color = _ref$color === void 0 ? 'white' : _ref$color,
363
- props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
315
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
364
316
  return React__default.createElement(Center, {
365
317
  width: size + "px",
366
318
  height: size + "px"
@@ -386,13 +338,13 @@ var IndeterminateSvg = function IndeterminateSvg(_ref) {
386
338
  }), ' ')));
387
339
  };
388
340
 
389
- var _excluded$9 = ["size", "color"];
341
+ var _excluded$7 = ["size", "color"];
390
342
  var OpenEyeSvg = function OpenEyeSvg(_ref) {
391
343
  var _ref$size = _ref.size,
392
344
  size = _ref$size === void 0 ? 64 : _ref$size,
393
345
  _ref$color = _ref.color,
394
346
  color = _ref$color === void 0 ? '#2F4858' : _ref$color,
395
- props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
347
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
396
348
  return React__default.createElement(Center, {
397
349
  width: size + "px",
398
350
  height: size + "px"
@@ -417,13 +369,13 @@ var OpenEyeSvg = function OpenEyeSvg(_ref) {
417
369
  }))));
418
370
  };
419
371
 
420
- var _excluded$a = ["size", "color"];
372
+ var _excluded$8 = ["size", "color"];
421
373
  var WarningSvg = function WarningSvg(_ref) {
422
374
  var _ref$size = _ref.size,
423
375
  size = _ref$size === void 0 ? 64 : _ref$size,
424
376
  _ref$color = _ref.color,
425
377
  color = _ref$color === void 0 ? 'white' : _ref$color,
426
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
378
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
427
379
  return React__default.createElement(Center, {
428
380
  width: size + "px",
429
381
  height: size + "px"
@@ -446,13 +398,13 @@ var WarningSvg = function WarningSvg(_ref) {
446
398
  })))))));
447
399
  };
448
400
 
449
- var _excluded$b = ["size", "color"];
401
+ var _excluded$9 = ["size", "color"];
450
402
  var SuccessSvg = function SuccessSvg(_ref) {
451
403
  var _ref$size = _ref.size,
452
404
  size = _ref$size === void 0 ? 64 : _ref$size,
453
405
  _ref$color = _ref.color,
454
406
  color = _ref$color === void 0 ? 'white' : _ref$color,
455
- props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
407
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
456
408
  return React__default.createElement(Center, {
457
409
  width: size + "px",
458
410
  height: size + "px"
@@ -476,13 +428,13 @@ var SuccessSvg = function SuccessSvg(_ref) {
476
428
  }))))));
477
429
  };
478
430
 
479
- var _excluded$c = ["size", "color"];
431
+ var _excluded$a = ["size", "color"];
480
432
  var InfoSvg = function InfoSvg(_ref) {
481
433
  var _ref$size = _ref.size,
482
434
  size = _ref$size === void 0 ? 64 : _ref$size,
483
435
  _ref$color = _ref.color,
484
436
  color = _ref$color === void 0 ? 'white' : _ref$color,
485
- props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
437
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
486
438
  return React__default.createElement(Center, {
487
439
  width: size + "px",
488
440
  height: size + "px"
@@ -505,13 +457,13 @@ var InfoSvg = function InfoSvg(_ref) {
505
457
  })))))));
506
458
  };
507
459
 
508
- var _excluded$d = ["size", "color"];
460
+ var _excluded$b = ["size", "color"];
509
461
  var ErrorSvg = function ErrorSvg(_ref) {
510
462
  var _ref$size = _ref.size,
511
463
  size = _ref$size === void 0 ? 64 : _ref$size,
512
464
  _ref$color = _ref.color,
513
465
  color = _ref$color === void 0 ? 'white' : _ref$color,
514
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
466
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
515
467
  return React__default.createElement(Center, {
516
468
  width: size + "px",
517
469
  height: size + "px"
@@ -554,7 +506,7 @@ var IconSizes = {
554
506
  '6xl': 64
555
507
  };
556
508
 
557
- var _excluded$e = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
509
+ var _excluded$c = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
558
510
  var LinkView = function LinkView(_ref) {
559
511
  var children = _ref.children,
560
512
  _ref$href = _ref.href,
@@ -574,7 +526,7 @@ var LinkView = function LinkView(_ref) {
574
526
  } : _ref$styles,
575
527
  _ref$setIsHovered = _ref.setIsHovered,
576
528
  setIsHovered = _ref$setIsHovered === void 0 ? function () {} : _ref$setIsHovered,
577
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
529
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
578
530
  var handleHover = function handleHover() {
579
531
  if (underline === 'hover') setIsHovered(true);
580
532
  };
@@ -709,6 +661,34 @@ var IconSizes$1 = {
709
661
  }
710
662
  };
711
663
 
664
+ var Top = function Top(props) {
665
+ return React__default.createElement(appStudio.View, Object.assign({
666
+ marginBottom: "auto"
667
+ }, props));
668
+ };
669
+ var Bottom = function Bottom(props) {
670
+ return React__default.createElement(appStudio.View, Object.assign({
671
+ marginTop: "auto"
672
+ }, props));
673
+ };
674
+ var Left = function Left(props) {
675
+ return React__default.createElement(appStudio.View, Object.assign({
676
+ marginRight: "auto"
677
+ }, props));
678
+ };
679
+ var Right = function Right(props) {
680
+ return React__default.createElement(appStudio.View, Object.assign({
681
+ marginLeft: "auto"
682
+ }, props));
683
+ };
684
+ var Inline = function Inline(props) {
685
+ return React__default.createElement(appStudio.View, Object.assign({
686
+ display: 'inline-flex',
687
+ wordBreak: "break-word"
688
+ }, props));
689
+ };
690
+ var View = appStudio.View;
691
+
712
692
  var DefaultSizes = {
713
693
  xs: 14,
714
694
  sm: 18,
@@ -727,7 +707,7 @@ var DefaultSpeeds = {
727
707
  slow: 300
728
708
  };
729
709
 
730
- var _excluded$f = ["size", "speed", "color"],
710
+ var _excluded$d = ["size", "speed", "color"],
731
711
  _excluded2 = ["size", "speed", "color"],
732
712
  _excluded3 = ["size", "speed", "color"],
733
713
  _excluded4 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
@@ -738,7 +718,7 @@ var DefaultSpinner = function DefaultSpinner(_ref) {
738
718
  speed = _ref$speed === void 0 ? 'normal' : _ref$speed,
739
719
  _ref$color = _ref.color,
740
720
  color = _ref$color === void 0 ? 'theme.loading' : _ref$color,
741
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
721
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
742
722
  var theme = appStudio.useTheme();
743
723
  var colorStyle = theme.getColor(color);
744
724
  var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
@@ -912,7 +892,7 @@ var LoaderComponent = function LoaderComponent(props) {
912
892
  */
913
893
  var Loader = LoaderComponent;
914
894
 
915
- var _excluded$g = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered"];
895
+ var _excluded$e = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered"];
916
896
  var contrast = /*#__PURE__*/require('contrast');
917
897
  var ButtonView = function ButtonView(_ref) {
918
898
  var _props$onClick;
@@ -950,7 +930,7 @@ var ButtonView = function ButtonView(_ref) {
950
930
  _ref$effect = _ref.effect,
951
931
  effect = _ref$effect === void 0 ? 'default' : _ref$effect,
952
932
  isHovered = _ref.isHovered,
953
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
933
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
954
934
  var _useTheme = appStudio.useTheme(),
955
935
  getColor = _useTheme.getColor;
956
936
  var isActive = !(isDisabled || isLoading);
@@ -1122,7 +1102,7 @@ var HeadingSizes = {
1122
1102
  }
1123
1103
  };
1124
1104
 
1125
- var _excluded$h = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
1105
+ var _excluded$f = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
1126
1106
  var LabelView = function LabelView(_ref) {
1127
1107
  var children = _ref.children,
1128
1108
  heading = _ref.heading,
@@ -1136,7 +1116,7 @@ var LabelView = function LabelView(_ref) {
1136
1116
  weight = _ref$weight === void 0 ? 'normal' : _ref$weight,
1137
1117
  _ref$size = _ref.size,
1138
1118
  size = _ref$size === void 0 ? 'sm' : _ref$size,
1139
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
1119
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
1140
1120
  // The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
1141
1121
  var headingStyles = heading ? HeadingSizes[heading] : {};
1142
1122
  // fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
@@ -1256,7 +1236,7 @@ var HeadingSizes$1 = {
1256
1236
  }
1257
1237
  };
1258
1238
 
1259
- var _excluded$i = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "isTruncated", "weight", "size"];
1239
+ var _excluded$g = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "isTruncated", "weight", "size"];
1260
1240
  var TextContent = function TextContent(_ref) {
1261
1241
  var children = _ref.children,
1262
1242
  isSub = _ref.isSub,
@@ -1320,7 +1300,7 @@ var TextView = function TextView(_ref3) {
1320
1300
  weight = _ref3$weight === void 0 ? 'normal' : _ref3$weight,
1321
1301
  _ref3$size = _ref3.size,
1322
1302
  size = _ref3$size === void 0 ? 'md' : _ref3$size,
1323
- props = _objectWithoutPropertiesLoose(_ref3, _excluded$i);
1303
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded$g);
1324
1304
  var headingStyles = heading ? HeadingSizes$1[heading] : {};
1325
1305
  var noLineBreak = isSub || isSup ? {
1326
1306
  display: 'inline'
@@ -1350,7 +1330,7 @@ var TextComponent = function TextComponent(props) {
1350
1330
  */
1351
1331
  var Text = TextComponent;
1352
1332
 
1353
- 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"];
1333
+ 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"];
1354
1334
  var CheckboxView = function CheckboxView(_ref) {
1355
1335
  var id = _ref.id,
1356
1336
  icon = _ref.icon,
@@ -1388,7 +1368,7 @@ var CheckboxView = function CheckboxView(_ref) {
1388
1368
  label: {}
1389
1369
  } : _ref$styles,
1390
1370
  infoText = _ref.infoText,
1391
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
1371
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
1392
1372
  var handleHover = function handleHover() {
1393
1373
  return setIsHovered(!isHovered);
1394
1374
  };
@@ -2942,14 +2922,14 @@ var useCountryPickerState = function useCountryPickerState(_ref) {
2942
2922
  };
2943
2923
  };
2944
2924
 
2945
- var _excluded$k = ["children", "styles"];
2925
+ var _excluded$i = ["children", "styles"];
2946
2926
  var HelperText = function HelperText(_ref) {
2947
2927
  var children = _ref.children,
2948
2928
  _ref$styles = _ref.styles,
2949
2929
  styles = _ref$styles === void 0 ? {
2950
2930
  helperText: {}
2951
2931
  } : _ref$styles,
2952
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
2932
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
2953
2933
  return React__default.createElement(Text, Object.assign({
2954
2934
  size: "xs",
2955
2935
  marginVertical: 0,
@@ -2958,22 +2938,21 @@ var HelperText = function HelperText(_ref) {
2958
2938
  }, styles['helperText'], props), children);
2959
2939
  };
2960
2940
 
2961
- var _excluded$l = ["children", "wrap", "justify", "isReversed"];
2941
+ var _excluded$j = ["wrap", "justifyContent", "isReversed"];
2962
2942
  var VerticalView = function VerticalView(_ref) {
2963
- var children = _ref.children,
2964
- _ref$wrap = _ref.wrap,
2965
- wrap = _ref$wrap === void 0 ? 'nowrap' : _ref$wrap,
2966
- _ref$justify = _ref.justify,
2967
- justify = _ref$justify === void 0 ? 'flex-start' : _ref$justify,
2943
+ var _ref$wrap = _ref.wrap,
2944
+ wrap = _ref$wrap === void 0 ? 'wrap' : _ref$wrap,
2945
+ _ref$justifyContent = _ref.justifyContent,
2946
+ justifyContent = _ref$justifyContent === void 0 ? 'flex-start' : _ref$justifyContent,
2968
2947
  _ref$isReversed = _ref.isReversed,
2969
2948
  isReversed = _ref$isReversed === void 0 ? false : _ref$isReversed,
2970
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
2949
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
2971
2950
  return React__default.createElement(appStudio.View, Object.assign({
2972
2951
  display: "flex",
2973
2952
  flexWrap: wrap,
2974
- flexDirection: isReversed ? 'column-reverse' : 'column',
2975
- justifyContent: justify
2976
- }, props), children);
2953
+ justifyContent: justifyContent,
2954
+ flexDirection: isReversed ? 'column-reverse' : 'column'
2955
+ }, props));
2977
2956
  };
2978
2957
 
2979
2958
  /**
@@ -2984,14 +2963,14 @@ var VerticalComponent = function VerticalComponent(props) {
2984
2963
  };
2985
2964
  var Vertical = VerticalComponent;
2986
2965
 
2987
- var _excluded$m = ["children", "helperText", "error", "styles"];
2966
+ var _excluded$k = ["children", "helperText", "error", "styles"];
2988
2967
  var FieldContainer = function FieldContainer(_ref) {
2989
2968
  var children = _ref.children,
2990
2969
  helperText = _ref.helperText,
2991
2970
  _ref$error = _ref.error,
2992
2971
  error = _ref$error === void 0 ? false : _ref$error,
2993
2972
  styles = _ref.styles,
2994
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
2973
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
2995
2974
  return React__default.createElement(Vertical, Object.assign({
2996
2975
  gap: 5,
2997
2976
  position: "relative"
@@ -3050,7 +3029,7 @@ var PaddingWithoutLabel = {
3050
3029
  paddingRight: 36
3051
3030
  };
3052
3031
 
3053
- var _excluded$n = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
3032
+ var _excluded$l = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
3054
3033
  var FieldContent = function FieldContent(_ref) {
3055
3034
  var shadow = _ref.shadow,
3056
3035
  children = _ref.children,
@@ -3078,7 +3057,7 @@ var FieldContent = function FieldContent(_ref) {
3078
3057
  styles = _ref$styles === void 0 ? {
3079
3058
  pickerBox: {}
3080
3059
  } : _ref$styles,
3081
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
3060
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
3082
3061
  var isInteractive = (isHovered || isFocused) && !isDisabled;
3083
3062
  var color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
3084
3063
  return React__default.createElement(Horizontal, Object.assign({
@@ -3099,10 +3078,10 @@ var FieldContent = function FieldContent(_ref) {
3099
3078
  }, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
3100
3079
  };
3101
3080
 
3102
- var _excluded$o = ["children"];
3081
+ var _excluded$m = ["children"];
3103
3082
  var FieldIcons = function FieldIcons(_ref) {
3104
3083
  var children = _ref.children,
3105
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
3084
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
3106
3085
  return React__default.createElement(Center, Object.assign({
3107
3086
  gap: 10,
3108
3087
  right: 16,
@@ -3112,7 +3091,7 @@ var FieldIcons = function FieldIcons(_ref) {
3112
3091
  }, props), children);
3113
3092
  };
3114
3093
 
3115
- var _excluded$p = ["children", "size", "error", "color", "styles"];
3094
+ var _excluded$n = ["children", "size", "error", "color", "styles"];
3116
3095
  var FieldLabel = function FieldLabel(_ref) {
3117
3096
  var children = _ref.children,
3118
3097
  _ref$size = _ref.size,
@@ -3125,7 +3104,7 @@ var FieldLabel = function FieldLabel(_ref) {
3125
3104
  styles = _ref$styles === void 0 ? {
3126
3105
  label: {}
3127
3106
  } : _ref$styles,
3128
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
3107
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
3129
3108
  return React__default.createElement(Label, Object.assign({
3130
3109
  top: 6,
3131
3110
  zIndex: 1000,
@@ -3138,10 +3117,10 @@ var FieldLabel = function FieldLabel(_ref) {
3138
3117
  }, styles['label'], props), children);
3139
3118
  };
3140
3119
 
3141
- var _excluded$q = ["children"];
3120
+ var _excluded$o = ["children"];
3142
3121
  var FieldWrapper = function FieldWrapper(_ref) {
3143
3122
  var children = _ref.children,
3144
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
3123
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
3145
3124
  return React__default.createElement(Vertical, Object.assign({
3146
3125
  width: "100%"
3147
3126
  }, props), children);
@@ -3155,7 +3134,7 @@ var IconSizes$3 = {
3155
3134
  xl: 16
3156
3135
  };
3157
3136
 
3158
- 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"];
3137
+ 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"];
3159
3138
  var CountryList = function CountryList(props) {
3160
3139
  return React__default.createElement(appStudio.Element, Object.assign({
3161
3140
  as: "ul"
@@ -3295,7 +3274,7 @@ var CountryPickerView = function CountryPickerView(_ref3) {
3295
3274
  helperText: {},
3296
3275
  box: {}
3297
3276
  } : _ref3$styles,
3298
- props = _objectWithoutPropertiesLoose(_ref3, _excluded$r);
3277
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded$p);
3299
3278
  var _useTheme = appStudio.useTheme(),
3300
3279
  getColor = _useTheme.getColor;
3301
3280
  var IconColor = getColor('color.blueGray.700');
@@ -3433,7 +3412,7 @@ var useDatePickerState = function useDatePickerState() {
3433
3412
  };
3434
3413
  };
3435
3414
 
3436
- 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"];
3415
+ 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"];
3437
3416
  var DatePickerContent = function DatePickerContent(props) {
3438
3417
  return React__default.createElement(appStudio.Input, Object.assign({
3439
3418
  type: "date"
@@ -3481,7 +3460,7 @@ var DatePickerView = function DatePickerView(_ref) {
3481
3460
  setIsHovered = _ref$setIsHovered === void 0 ? function () {} : _ref$setIsHovered,
3482
3461
  onChange = _ref.onChange,
3483
3462
  onChangeText = _ref.onChangeText,
3484
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
3463
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
3485
3464
  var isWithLabel = !!(isFocused && label);
3486
3465
  var handleHover = function handleHover() {
3487
3466
  return setIsHovered(!isHovered);
@@ -3606,7 +3585,7 @@ var usePasswordState = function usePasswordState(props) {
3606
3585
  }, props, textFieldStates);
3607
3586
  };
3608
3587
 
3609
- 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"];
3588
+ 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"];
3610
3589
  var TextFieldInput = function TextFieldInput(props) {
3611
3590
  return React__default.createElement(appStudio.Input, Object.assign({
3612
3591
  type: "text"
@@ -3664,7 +3643,7 @@ var TextFieldView = function TextFieldView(_ref) {
3664
3643
  onFocus = _ref.onFocus,
3665
3644
  _ref$onBlur = _ref.onBlur,
3666
3645
  onBlur = _ref$onBlur === void 0 ? function () {} : _ref$onBlur,
3667
- props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
3646
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
3668
3647
  var _useTheme = appStudio.useTheme(),
3669
3648
  getColor = _useTheme.getColor;
3670
3649
  var IconColor = getColor('color.blueGray.700');
@@ -3772,7 +3751,7 @@ var TextFieldView = function TextFieldView(_ref) {
3772
3751
  }), rightChild && React__default.createElement(React__default.Fragment, null, rightChild))));
3773
3752
  };
3774
3753
 
3775
- var _excluded$u = ["visibleIcon", "hiddenIcon"],
3754
+ var _excluded$s = ["visibleIcon", "hiddenIcon"],
3776
3755
  _excluded2$1 = ["isVisible", "setIsVisible"];
3777
3756
  var PasswordComponent = function PasswordComponent(_ref) {
3778
3757
  var _ref$visibleIcon = _ref.visibleIcon,
@@ -3783,7 +3762,7 @@ var PasswordComponent = function PasswordComponent(_ref) {
3783
3762
  hiddenIcon = _ref$hiddenIcon === void 0 ? React__default.createElement(CloseEyeSvg, {
3784
3763
  size: 14
3785
3764
  }) : _ref$hiddenIcon,
3786
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
3765
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
3787
3766
  var _usePasswordState = usePasswordState(props),
3788
3767
  isVisible = _usePasswordState.isVisible,
3789
3768
  setIsVisible = _usePasswordState.setIsVisible,
@@ -3809,7 +3788,7 @@ var useSelectState = function useSelectState(_ref) {
3809
3788
  var placeholder = _ref.placeholder,
3810
3789
  isMulti = _ref.isMulti,
3811
3790
  options = _ref.options;
3812
- var defaultValue = placeholder ? isMulti ? [] : '' : options[0];
3791
+ var defaultValue = placeholder ? isMulti ? [] : '' : options[0].value;
3813
3792
  var _React$useState = React__default.useState(true),
3814
3793
  hide = _React$useState[0],
3815
3794
  setHide = _React$useState[1];
@@ -3856,7 +3835,7 @@ var IconSizes$4 = {
3856
3835
  xl: 16
3857
3836
  };
3858
3837
 
3859
- var _excluded$v = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
3838
+ var _excluded$t = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
3860
3839
  _excluded2$2 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
3861
3840
  _excluded3$1 = ["option", "size", "removeOption"],
3862
3841
  _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"];
@@ -3869,7 +3848,7 @@ var Item = function Item(_ref) {
3869
3848
  _ref$callback = _ref.callback,
3870
3849
  callback = _ref$callback === void 0 ? function () {} : _ref$callback,
3871
3850
  style = _ref.style,
3872
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
3851
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
3873
3852
  var handleOptionClick = function handleOptionClick(option) {
3874
3853
  return callback(option);
3875
3854
  };
@@ -3885,14 +3864,15 @@ var Item = function Item(_ref) {
3885
3864
  onMouseEnter: handleHover,
3886
3865
  onMouseLeave: handleHover,
3887
3866
  onClick: function onClick() {
3888
- return handleOptionClick(option);
3867
+ return handleOptionClick(option.value);
3889
3868
  },
3890
3869
  backgroundColor: isHovered ? 'trueGray.100' : 'transparent'
3891
3870
  }, props), React__default.createElement(Text, Object.assign({
3892
3871
  fontSize: appStudio.Typography.fontSizes[size]
3893
- }, style), option));
3872
+ }, style), option.label));
3894
3873
  };
3895
3874
  var SelectBox = function SelectBox(_ref2) {
3875
+ var _option$label;
3896
3876
  var _ref2$size = _ref2.size,
3897
3877
  size = _ref2$size === void 0 ? 'md' : _ref2$size,
3898
3878
  _ref2$styles = _ref2.styles,
@@ -3904,7 +3884,8 @@ var SelectBox = function SelectBox(_ref2) {
3904
3884
  isDisabled = _ref2.isDisabled,
3905
3885
  placeholder = _ref2.placeholder,
3906
3886
  _ref2$removeOption = _ref2.removeOption,
3907
- removeOption = _ref2$removeOption === void 0 ? function () {} : _ref2$removeOption;
3887
+ removeOption = _ref2$removeOption === void 0 ? function () {} : _ref2$removeOption,
3888
+ options = _ref2.options;
3908
3889
  var fieldStyles = _extends({
3909
3890
  margin: 0,
3910
3891
  width: '95%',
@@ -3917,7 +3898,10 @@ var SelectBox = function SelectBox(_ref2) {
3917
3898
  color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',
3918
3899
  cursor: isDisabled ? 'not-allowed' : 'auto'
3919
3900
  }, styles['field'], styles['text']);
3920
- return React__default.createElement(Text, Object.assign({}, fieldStyles), (value === '' || value && value.length === 0) && !!placeholder ? placeholder : React__default.createElement(React__default.Fragment, null, typeof value === 'string' ? value : value && value.length > 0 && React__default.createElement(Horizontal, {
3901
+ var option = options.find(function (option) {
3902
+ return option.value === value;
3903
+ });
3904
+ return React__default.createElement(Text, Object.assign({}, fieldStyles), (value === '' || value && value.length === 0) && !!placeholder ? placeholder : React__default.createElement(React__default.Fragment, null, typeof value === 'string' ? (_option$label = option == null ? void 0 : option.label) != null ? _option$label : value : value && value.length > 0 && React__default.createElement(Horizontal, {
3921
3905
  gap: 6
3922
3906
  }, value.map(function (option) {
3923
3907
  return React__default.createElement(MultiSelect, {
@@ -3959,9 +3943,9 @@ var HiddenSelect = function HiddenSelect(_ref3) {
3959
3943
  multiple: isMulti
3960
3944
  }, props), options.map(function (option) {
3961
3945
  return React__default.createElement("option", {
3962
- key: option,
3963
- value: option
3964
- }, option);
3946
+ key: option.value,
3947
+ value: option.value
3948
+ }, option.label);
3965
3949
  }));
3966
3950
  };
3967
3951
  var DropDown$1 = function DropDown(_ref4) {
@@ -4018,7 +4002,7 @@ var DropDown$1 = function DropDown(_ref4) {
4018
4002
  }
4019
4003
  }, shadow, styles['dropDown']), options.map(function (option, index) {
4020
4004
  return React__default.createElement(Item, Object.assign({
4021
- key: option,
4005
+ key: option.value,
4022
4006
  size: size,
4023
4007
  style: styles['text'],
4024
4008
  option: option,
@@ -4182,6 +4166,7 @@ var SelectView = function SelectView(_ref6) {
4182
4166
  isMulti: isMulti,
4183
4167
  onFocus: handleFocus
4184
4168
  }, props)), React__default.createElement(SelectBox, {
4169
+ options: options,
4185
4170
  size: size,
4186
4171
  styles: styles,
4187
4172
  value: value,
@@ -4359,7 +4344,7 @@ var SliderPadding = {
4359
4344
  }
4360
4345
  };
4361
4346
 
4362
- var _excluded$w = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "onChange", "setValue", "setIsHovered", "styles"];
4347
+ var _excluded$u = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "onChange", "setValue", "setIsHovered", "styles"];
4363
4348
  var SwitchContent = function SwitchContent(props) {
4364
4349
  return React__default.createElement(appStudio.Input, Object.assign({
4365
4350
  type: "checkbox"
@@ -4398,7 +4383,7 @@ var SwitchView = function SwitchView(_ref) {
4398
4383
  circle: {},
4399
4384
  label: {}
4400
4385
  } : _ref$styles,
4401
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
4386
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4402
4387
  var handleToggle = function handleToggle(event) {
4403
4388
  if (!isReadOnly) {
4404
4389
  setValue(!value);
@@ -4484,7 +4469,7 @@ var useTextAreaState = function useTextAreaState(_ref) {
4484
4469
  };
4485
4470
  };
4486
4471
 
4487
- 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"];
4472
+ 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"];
4488
4473
  var TextAreaView = function TextAreaView(_ref) {
4489
4474
  var id = _ref.id,
4490
4475
  name = _ref.name,
@@ -4539,7 +4524,7 @@ var TextAreaView = function TextAreaView(_ref) {
4539
4524
  helperText: {},
4540
4525
  field: {}
4541
4526
  } : _ref$styles,
4542
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
4527
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4543
4528
  var isWithLabel = !!(isFocused && label);
4544
4529
  var fieldStyles = _extends({
4545
4530
  margin: 0,
@@ -4707,7 +4692,7 @@ var FormikForm = function FormikForm(_ref) {
4707
4692
  }, React__default.createElement(appStudio.Form, null, children));
4708
4693
  };
4709
4694
 
4710
- var _excluded$y = ["name", "type"];
4695
+ var _excluded$w = ["name", "type"];
4711
4696
  var getInputTypeProps = function getInputTypeProps(type) {
4712
4697
  switch (type) {
4713
4698
  case 'email':
@@ -4737,7 +4722,7 @@ var getInputTypeProps = function getInputTypeProps(type) {
4737
4722
  var useFormikInput = function useFormikInput(_ref) {
4738
4723
  var name = _ref.name,
4739
4724
  type = _ref.type,
4740
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
4725
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
4741
4726
  var focus = useFormFocus();
4742
4727
  var _useFormikContext = formik.useFormikContext(),
4743
4728
  touched = _useFormikContext.touched,
@@ -4784,11 +4769,11 @@ var useFormikInput = function useFormikInput(_ref) {
4784
4769
  // import FormRater from 'src/Rate/Rate';
4785
4770
  // import Upload from 'src/Upload/Upload';
4786
4771
 
4787
- var _excluded$z = ["value"];
4772
+ var _excluded$x = ["value"];
4788
4773
  var CheckboxComponent$1 = function CheckboxComponent(props) {
4789
4774
  var _useFormikInput = useFormikInput(props),
4790
4775
  value = _useFormikInput.value,
4791
- formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$z);
4776
+ formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$x);
4792
4777
  formProps.isChecked = value;
4793
4778
  var checkboxStates = useCheckboxState(props);
4794
4779
  return React__default.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
@@ -4821,6 +4806,10 @@ var FormikCountryPicker = CountryPickerComponent$1;
4821
4806
  var SelectComponent$1 = function SelectComponent(props) {
4822
4807
  var formProps = useFormikInput(props);
4823
4808
  formProps.selected = formProps.value;
4809
+ console.log({
4810
+ formProps: formProps,
4811
+ test: formProps.value
4812
+ });
4824
4813
  var selectStates = useSelectState(props);
4825
4814
  return React__default.createElement(SelectView, Object.assign({}, selectStates, formProps));
4826
4815
  };
@@ -4846,11 +4835,11 @@ var TextAreaComponent$1 = function TextAreaComponent(props) {
4846
4835
  */
4847
4836
  var FormikTextArea = TextAreaComponent$1;
4848
4837
 
4849
- var _excluded$A = ["value"];
4838
+ var _excluded$y = ["value"];
4850
4839
  var TextFieldComponent$1 = function TextFieldComponent(props) {
4851
4840
  var formProps = useFormikInput(props);
4852
4841
  var _useTextFieldState = useTextFieldState(props),
4853
- textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$A);
4842
+ textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$y);
4854
4843
  return React__default.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
4855
4844
  };
4856
4845
  /**
@@ -4858,7 +4847,7 @@ var TextFieldComponent$1 = function TextFieldComponent(props) {
4858
4847
  */
4859
4848
  var FormikTextField = TextFieldComponent$1;
4860
4849
 
4861
- var _excluded$B = ["visibleIcon", "hiddenIcon"],
4850
+ var _excluded$z = ["visibleIcon", "hiddenIcon"],
4862
4851
  _excluded2$3 = ["isVisible", "setIsVisible"];
4863
4852
  var PasswordComponent$1 = function PasswordComponent(_ref) {
4864
4853
  var _ref$visibleIcon = _ref.visibleIcon,
@@ -4869,7 +4858,7 @@ var PasswordComponent$1 = function PasswordComponent(_ref) {
4869
4858
  hiddenIcon = _ref$hiddenIcon === void 0 ? React__default.createElement(CloseEyeSvg, {
4870
4859
  size: 14
4871
4860
  }) : _ref$hiddenIcon,
4872
- props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
4861
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
4873
4862
  var formProps = useFormikInput(props);
4874
4863
  var _usePasswordState = usePasswordState(formProps),
4875
4864
  isVisible = _usePasswordState.isVisible,
@@ -4932,11 +4921,11 @@ var useComboBoxState = function useComboBoxState(items, placeholder, searchPlace
4932
4921
  };
4933
4922
  };
4934
4923
 
4935
- var _excluded$C = ["size", "color"];
4924
+ var _excluded$A = ["size", "color"];
4936
4925
  var TickSvg = function TickSvg(_ref) {
4937
4926
  var _ref$size = _ref.size,
4938
4927
  size = _ref$size === void 0 ? 16 : _ref$size,
4939
- props = _objectWithoutPropertiesLoose(_ref, _excluded$C);
4928
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
4940
4929
  return React__default.createElement(Center, {
4941
4930
  width: size + "px",
4942
4931
  height: size + "px"
@@ -4964,13 +4953,13 @@ var TickSvg = function TickSvg(_ref) {
4964
4953
  }), ' ')));
4965
4954
  };
4966
4955
 
4967
- var _excluded$D = ["size", "color"];
4956
+ var _excluded$B = ["size", "color"];
4968
4957
  var SearchLoopSvg = function SearchLoopSvg(_ref) {
4969
4958
  var _ref$size = _ref.size,
4970
4959
  size = _ref$size === void 0 ? 14 : _ref$size,
4971
4960
  _ref$color = _ref.color,
4972
4961
  color = _ref$color === void 0 ? '#c0c0c0' : _ref$color,
4973
- props = _objectWithoutPropertiesLoose(_ref, _excluded$D);
4962
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
4974
4963
  return React__default.createElement(Center, {
4975
4964
  width: size + "px",
4976
4965
  height: size + "px"
@@ -4997,7 +4986,7 @@ var SearchLoopSvg = function SearchLoopSvg(_ref) {
4997
4986
  }), ' ')))));
4998
4987
  };
4999
4988
 
5000
- var _excluded$E = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
4989
+ var _excluded$C = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
5001
4990
  // Defines the functional component 'ComboBoxView' with destructured props.
5002
4991
  var ComboBoxView = function ComboBoxView(_ref) {
5003
4992
  var placeholder = _ref.placeholder,
@@ -5021,7 +5010,7 @@ var ComboBoxView = function ComboBoxView(_ref) {
5021
5010
  styles = _ref.styles,
5022
5011
  isDropdownVisible = _ref.isDropdownVisible,
5023
5012
  setIsDropdownVisible = _ref.setIsDropdownVisible,
5024
- props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
5013
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$C);
5025
5014
  // Sets up an effect to handle clicking outside the dropdown to close it.
5026
5015
  React.useEffect(function () {
5027
5016
  var handleClickOutside = function handleClickOutside(event) {
@@ -5077,7 +5066,7 @@ var ComboBoxView = function ComboBoxView(_ref) {
5077
5066
  display: "flex",
5078
5067
  alignItems: "center",
5079
5068
  borderRadius: "4px",
5080
- justify: "space-between",
5069
+ justifyContent: "space-between",
5081
5070
  minWidth: 300,
5082
5071
  wrap: "nowrap"
5083
5072
  }, styles == null ? void 0 : styles.container), React__default.createElement(Horizontal, Object.assign({
@@ -5130,7 +5119,7 @@ var ComboBoxView = function ComboBoxView(_ref) {
5130
5119
  padding: 4
5131
5120
  }, filteredItems.map(function (item, index) {
5132
5121
  return React__default.createElement(Horizontal, Object.assign({
5133
- justify: "space-between",
5122
+ justifyContent: "space-between",
5134
5123
  key: item.value,
5135
5124
  padding: "12px",
5136
5125
  cursor: "pointer",
@@ -5146,12 +5135,12 @@ var ComboBoxView = function ComboBoxView(_ref) {
5146
5135
  }))))));
5147
5136
  };
5148
5137
 
5149
- var _excluded$F = ["items", "placeholder", "searchPlaceholder"];
5138
+ var _excluded$D = ["items", "placeholder", "searchPlaceholder"];
5150
5139
  var ComboBoxComponent = function ComboBoxComponent(_ref) {
5151
5140
  var items = _ref.items,
5152
5141
  placeholder = _ref.placeholder,
5153
5142
  searchPlaceholder = _ref.searchPlaceholder,
5154
- props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
5143
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$D);
5155
5144
  var formProps = useFormikInput(props);
5156
5145
  var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
5157
5146
  // Ensure the onChange function from formProps is being called when an item is selected
@@ -5252,7 +5241,7 @@ var HeaderIconSizes = {
5252
5241
  xl: 28
5253
5242
  };
5254
5243
 
5255
- var _excluded$G = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
5244
+ var _excluded$E = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
5256
5245
  _excluded2$4 = ["children", "shadow", "isFullScreen", "shape"],
5257
5246
  _excluded3$2 = ["children", "buttonColor", "iconSize", "buttonPosition"],
5258
5247
  _excluded4$2 = ["children"],
@@ -5268,7 +5257,7 @@ var ModalOverlay = function ModalOverlay(_ref) {
5268
5257
  onClose = _ref$onClose === void 0 ? function () {} : _ref$onClose,
5269
5258
  _ref$position = _ref.position,
5270
5259
  position = _ref$position === void 0 ? 'center' : _ref$position,
5271
- props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
5260
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$E);
5272
5261
  var handleClick = function handleClick() {
5273
5262
  if (!isClosePrevented) onClose();
5274
5263
  };
@@ -5422,12 +5411,12 @@ Modal.Body = ModalBody;
5422
5411
  Modal.Footer = ModalFooter;
5423
5412
  Modal.Layout = ModalLayout;
5424
5413
 
5425
- var _excluded$H = ["src", "color"],
5414
+ var _excluded$F = ["src", "color"],
5426
5415
  _excluded2$5 = ["path"];
5427
5416
  var FileSVG = function FileSVG(_ref) {
5428
5417
  var src = _ref.src,
5429
5418
  color = _ref.color,
5430
- props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
5419
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$F);
5431
5420
  var _useTheme = appStudio.useTheme(),
5432
5421
  getColor = _useTheme.getColor;
5433
5422
  var Colorprops = color ? {
@@ -5646,13 +5635,13 @@ var AlertComponent = function AlertComponent(_ref) {
5646
5635
  // Exporting the AlertComponent as 'Alert' for use in other parts of the application.
5647
5636
  var Alert = AlertComponent;
5648
5637
 
5649
- var _excluded$I = ["ratio", "children"];
5638
+ var _excluded$G = ["ratio", "children"];
5650
5639
  // Declaration of a functional component named AspectRatioView.
5651
5640
  var AspectRatioView = function AspectRatioView(_ref) {
5652
5641
  var _ref$ratio = _ref.ratio,
5653
5642
  ratio = _ref$ratio === void 0 ? 16 / 9 : _ref$ratio,
5654
5643
  children = _ref.children,
5655
- props = _objectWithoutPropertiesLoose(_ref, _excluded$I);
5644
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
5656
5645
  return React__default.createElement(Center, Object.assign({
5657
5646
  width: '100%',
5658
5647
  position: "relative",
@@ -5668,12 +5657,12 @@ var AspectRatioView = function AspectRatioView(_ref) {
5668
5657
  }, children));
5669
5658
  };
5670
5659
 
5671
- var _excluded$J = ["ratio", "children"];
5660
+ var _excluded$H = ["ratio", "children"];
5672
5661
  // Declaration of the AspectRatioComponent functional component with destructured props.
5673
5662
  var AspectRatioComponent = function AspectRatioComponent(_ref) {
5674
5663
  var ratio = _ref.ratio,
5675
5664
  children = _ref.children,
5676
- props = _objectWithoutPropertiesLoose(_ref, _excluded$J);
5665
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$H);
5677
5666
  // Beginning of the return statement in the functional component.
5678
5667
  return React__default.createElement(AspectRatioView, Object.assign({
5679
5668
  ratio: ratio
@@ -5927,7 +5916,7 @@ var ToggleShapes = {
5927
5916
  pillShaped: 24
5928
5917
  };
5929
5918
 
5930
- var _excluded$K = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
5919
+ var _excluded$I = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
5931
5920
  var ToggleView = function ToggleView(_ref) {
5932
5921
  var children = _ref.children,
5933
5922
  _ref$shape = _ref.shape,
@@ -5942,7 +5931,7 @@ var ToggleView = function ToggleView(_ref) {
5942
5931
  isToggle = _ref.isToggle,
5943
5932
  setIsToggled = _ref.setIsToggled,
5944
5933
  onToggle = _ref.onToggle,
5945
- props = _objectWithoutPropertiesLoose(_ref, _excluded$K);
5934
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$I);
5946
5935
  var toggleColor = !isDisabled ? colorScheme : 'theme.disabled';
5947
5936
  var isActive = !!(isToggle || isHovered);
5948
5937
  var ToggleVariants = {
@@ -5988,7 +5977,7 @@ var ToggleView = function ToggleView(_ref) {
5988
5977
  }, ToggleVariants[variant], props), children);
5989
5978
  };
5990
5979
 
5991
- var _excluded$L = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
5980
+ var _excluded$J = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
5992
5981
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
5993
5982
  var ToggleComponent = function ToggleComponent(_ref) {
5994
5983
  var children = _ref.children,
@@ -5999,7 +5988,7 @@ var ToggleComponent = function ToggleComponent(_ref) {
5999
5988
  _ref$isToggled = _ref.isToggled,
6000
5989
  isToggled = _ref$isToggled === void 0 ? false : _ref$isToggled,
6001
5990
  onToggle = _ref.onToggle,
6002
- props = _objectWithoutPropertiesLoose(_ref, _excluded$L);
5991
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$J);
6003
5992
  // Initializing toggle state and set state functions using the custom hook useToggleState.
6004
5993
  var _useToggleState = useToggleState(isToggled),
6005
5994
  isHovered = _useToggleState.isHovered,