@app-studio/web 0.8.26 → 0.8.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web.esm.js CHANGED
@@ -166,16 +166,16 @@ var Text = TextComponent;
166
166
  var _excluded$1 = ["justifyContent", "isReversed"];
167
167
  var Vertical = /*#__PURE__*/React.forwardRef((_ref, ref) => {
168
168
  var {
169
+ // Sets a default alignment for content within the Vertical container to 'flex-start'
169
170
  justifyContent = 'flex-start',
171
+ // Determines the direction in which the Vertical elements are stacked, default not reversed
170
172
  isReversed = false
171
173
  } = _ref,
172
174
  props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
173
- return /*#__PURE__*/React.createElement("div", Object.assign({
174
- style: {
175
- display: 'flex',
176
- justifyContent: justifyContent,
177
- flexDirection: isReversed ? 'column-reverse' : 'column'
178
- }
175
+ return /*#__PURE__*/React.createElement(View$1, Object.assign({
176
+ display: "flex",
177
+ justifyContent: justifyContent,
178
+ flexDirection: isReversed ? 'column-reverse' : 'column'
179
179
  }, props, {
180
180
  ref: ref
181
181
  }));
@@ -201,20 +201,16 @@ var Horizontal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
201
201
  });
202
202
  Horizontal.displayName = 'Horizontal';
203
203
 
204
- var _excluded$3 = ["isReversed"];
205
- var Center = /*#__PURE__*/React.forwardRef((_ref, ref) => {
206
- var props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
207
- return /*#__PURE__*/React.createElement(View$1, Object.assign({
208
- display: "flex",
209
- justifyContent: "center",
210
- alignItems: "center"
211
- }, props, {
212
- ref: ref
213
- }));
214
- });
204
+ var Center = /*#__PURE__*/React.forwardRef((props, ref) => (/*#__PURE__*/React.createElement(View$1, Object.assign({
205
+ display: "flex",
206
+ justifyContent: "center",
207
+ alignItems: "center"
208
+ }, props, {
209
+ ref: ref
210
+ }))));
215
211
  Center.displayName = 'Center';
216
212
 
217
- var _excluded$4 = ["size", "color", "filled", "strokeWidth"],
213
+ var _excluded$3 = ["size", "color", "filled", "strokeWidth"],
218
214
  _excluded2 = ["size", "color", "filled", "strokeWidth"],
219
215
  _excluded3 = ["size", "color", "filled", "strokeWidth"],
220
216
  _excluded4 = ["size", "color", "filled", "strokeWidth"],
@@ -287,7 +283,7 @@ var ChevronIcon = _ref2 => {
287
283
  filled = false,
288
284
  strokeWidth = 1
289
285
  } = _ref2,
290
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$4);
286
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$3);
291
287
  return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
292
288
  size: size,
293
289
  color: color
@@ -1663,7 +1659,7 @@ var AlertComponent = _ref => {
1663
1659
  // Exporting the AlertComponent as 'Alert' for use in other parts of the application.
1664
1660
  var Alert = AlertComponent;
1665
1661
 
1666
- var _excluded$5 = ["ratio", "children"];
1662
+ var _excluded$4 = ["ratio", "children"];
1667
1663
  // Declaration of a functional component named AspectRatioView.
1668
1664
  var AspectRatioView = _ref => {
1669
1665
  var {
@@ -1673,7 +1669,7 @@ var AspectRatioView = _ref => {
1673
1669
  children
1674
1670
  // Spread the rest of the props to inherit additional properties.
1675
1671
  } = _ref,
1676
- props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
1672
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
1677
1673
  return /*#__PURE__*/React.createElement(Center, Object.assign({
1678
1674
  width: '100%',
1679
1675
  position: "relative",
@@ -1689,14 +1685,14 @@ var AspectRatioView = _ref => {
1689
1685
  }, children));
1690
1686
  };
1691
1687
 
1692
- var _excluded$6 = ["ratio", "children"];
1688
+ var _excluded$5 = ["ratio", "children"];
1693
1689
  // Declaration of the AspectRatioComponent functional component with destructured props.
1694
1690
  var AspectRatioComponent = _ref => {
1695
1691
  var {
1696
1692
  ratio,
1697
1693
  children
1698
1694
  } = _ref,
1699
- props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
1695
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
1700
1696
  // Beginning of the return statement in the functional component.
1701
1697
  return /*#__PURE__*/React.createElement(AspectRatioView, Object.assign({
1702
1698
  ratio: ratio
@@ -1966,7 +1962,7 @@ var IconSizes = {
1966
1962
  '6xl': 64
1967
1963
  };
1968
1964
 
1969
- var _excluded$7 = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1965
+ var _excluded$6 = ["children", "href", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
1970
1966
  // Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
1971
1967
  var LinkView = _ref => {
1972
1968
  var {
@@ -1989,7 +1985,7 @@ var LinkView = _ref => {
1989
1985
  // Setter function for the hover state, noop function provided by default.
1990
1986
  setIsHovered = () => {}
1991
1987
  } = _ref,
1992
- props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
1988
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
1993
1989
  // Function to handle mouse enter/leave events to toggle hover state.
1994
1990
  var handleHover = () => {
1995
1991
  if (underline === 'hover') setIsHovered(true);
@@ -2147,7 +2143,7 @@ var DefaultSpeeds = {
2147
2143
  slow: 300
2148
2144
  };
2149
2145
 
2150
- var _excluded$8 = ["size", "speed", "color"],
2146
+ var _excluded$7 = ["size", "speed", "color"],
2151
2147
  _excluded2$1 = ["size", "speed", "color"],
2152
2148
  _excluded3$1 = ["size", "speed", "color"],
2153
2149
  _excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
@@ -2157,7 +2153,7 @@ var DefaultSpinner = _ref => {
2157
2153
  speed = 'normal',
2158
2154
  color = 'theme.loading'
2159
2155
  } = _ref,
2160
- props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2156
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
2161
2157
  var theme = useTheme();
2162
2158
  var colorStyle = theme.getColor(color);
2163
2159
  var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
@@ -2310,7 +2306,7 @@ React.createElement(LoaderView, Object.assign({}, props)));
2310
2306
  // Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
2311
2307
  var Loader = LoaderComponent;
2312
2308
 
2313
- var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered"];
2309
+ var _excluded$8 = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered"];
2314
2310
  var contrast = /*#__PURE__*/require('contrast');
2315
2311
  var ButtonView = _ref => {
2316
2312
  var _props$onClick;
@@ -2346,7 +2342,7 @@ var ButtonView = _ref => {
2346
2342
  setIsHovered = () => {}
2347
2343
  // Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
2348
2344
  } = _ref,
2349
- props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2345
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2350
2346
  var {
2351
2347
  getColor
2352
2348
  } = useTheme();
@@ -2461,14 +2457,14 @@ var ButtonComponent = props => {
2461
2457
  };
2462
2458
  var Button = ButtonComponent;
2463
2459
 
2464
- var _excluded$a = ["src", "color"],
2460
+ var _excluded$9 = ["src", "color"],
2465
2461
  _excluded2$2 = ["path"];
2466
2462
  var FileSVG = _ref => {
2467
2463
  var {
2468
2464
  src,
2469
2465
  color
2470
2466
  } = _ref,
2471
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2467
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2472
2468
  var {
2473
2469
  getColor
2474
2470
  } = useTheme();
@@ -2537,7 +2533,7 @@ var useItemState = () => {
2537
2533
  };
2538
2534
  };
2539
2535
 
2540
- var _excluded$b = ["children", "styles"];
2536
+ var _excluded$a = ["children", "styles"];
2541
2537
  var HelperText = _ref => {
2542
2538
  var {
2543
2539
  children,
@@ -2545,7 +2541,7 @@ var HelperText = _ref => {
2545
2541
  helperText: {}
2546
2542
  }
2547
2543
  } = _ref,
2548
- props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
2544
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2549
2545
  return /*#__PURE__*/React.createElement(Text, Object.assign({
2550
2546
  size: "xs",
2551
2547
  marginVertical: 0,
@@ -2554,7 +2550,7 @@ var HelperText = _ref => {
2554
2550
  }, styles['helperText'], props), children);
2555
2551
  };
2556
2552
 
2557
- var _excluded$c = ["children", "helperText", "error", "styles"];
2553
+ var _excluded$b = ["children", "helperText", "error", "styles"];
2558
2554
  var FieldContainer = _ref => {
2559
2555
  var {
2560
2556
  children,
@@ -2562,7 +2558,7 @@ var FieldContainer = _ref => {
2562
2558
  error = false,
2563
2559
  styles
2564
2560
  } = _ref,
2565
- props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
2561
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
2566
2562
  return /*#__PURE__*/React.createElement(Vertical, Object.assign({
2567
2563
  gap: 5,
2568
2564
  position: "relative"
@@ -2621,7 +2617,7 @@ var PaddingWithoutLabel = {
2621
2617
  paddingRight: 36
2622
2618
  };
2623
2619
 
2624
- var _excluded$d = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
2620
+ var _excluded$c = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
2625
2621
  var FieldContent = _ref => {
2626
2622
  var {
2627
2623
  shadow,
@@ -2640,7 +2636,7 @@ var FieldContent = _ref => {
2640
2636
  pickerBox: {}
2641
2637
  }
2642
2638
  } = _ref,
2643
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
2639
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
2644
2640
  var isInteractive = (isHovered || isFocused) && !isDisabled;
2645
2641
  var color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
2646
2642
  return /*#__PURE__*/React.createElement(Horizontal, Object.assign({
@@ -2661,12 +2657,12 @@ var FieldContent = _ref => {
2661
2657
  }, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
2662
2658
  };
2663
2659
 
2664
- var _excluded$e = ["children"];
2660
+ var _excluded$d = ["children"];
2665
2661
  var FieldIcons = _ref => {
2666
2662
  var {
2667
2663
  children
2668
2664
  } = _ref,
2669
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
2665
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
2670
2666
  return /*#__PURE__*/React.createElement(Center, Object.assign({
2671
2667
  gap: 10,
2672
2668
  right: 16,
@@ -2718,7 +2714,7 @@ var HeadingSizes$1 = {
2718
2714
  }
2719
2715
  };
2720
2716
 
2721
- var _excluded$f = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
2717
+ var _excluded$e = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
2722
2718
  var LabelView = _ref => {
2723
2719
  var {
2724
2720
  children,
@@ -2734,7 +2730,7 @@ var LabelView = _ref => {
2734
2730
  size = 'sm'
2735
2731
  // The fontSize prop for the Element is determined by the 'size' prop passed to LabelView.
2736
2732
  } = _ref,
2737
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
2733
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
2738
2734
  // The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
2739
2735
  var headingStyles = heading ? HeadingSizes$1[heading] : {};
2740
2736
  // fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
@@ -2766,7 +2762,7 @@ React.createElement(LabelView, Object.assign({}, props))
2766
2762
  var Label = LabelComponent;
2767
2763
  // Export the 'LabelComponent' as 'Label' to be reused throughout the project.
2768
2764
 
2769
- var _excluded$g = ["children", "size", "error", "color", "styles", "helperText"];
2765
+ var _excluded$f = ["children", "size", "error", "color", "styles", "helperText"];
2770
2766
  var FieldLabel = _ref => {
2771
2767
  var {
2772
2768
  children,
@@ -2777,7 +2773,7 @@ var FieldLabel = _ref => {
2777
2773
  label: {}
2778
2774
  }
2779
2775
  } = _ref,
2780
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
2776
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
2781
2777
  return /*#__PURE__*/React.createElement(Label, Object.assign({
2782
2778
  top: 6,
2783
2779
  zIndex: 1000,
@@ -2790,12 +2786,12 @@ var FieldLabel = _ref => {
2790
2786
  }, styles['label'], props), children);
2791
2787
  };
2792
2788
 
2793
- var _excluded$h = ["children"];
2789
+ var _excluded$g = ["children"];
2794
2790
  var FieldWrapper = _ref => {
2795
2791
  var {
2796
2792
  children
2797
2793
  } = _ref,
2798
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
2794
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
2799
2795
  return /*#__PURE__*/React.createElement(Vertical, Object.assign({
2800
2796
  width: "100%"
2801
2797
  }, props), children);
@@ -2811,7 +2807,7 @@ var IconSizes$2 = {
2811
2807
  xl: 16
2812
2808
  };
2813
2809
 
2814
- var _excluded$i = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
2810
+ var _excluded$h = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
2815
2811
  _excluded2$3 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
2816
2812
  _excluded3$2 = ["option", "size", "removeOption"],
2817
2813
  _excluded4$2 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isMulti", "isFocused", "isHovered", "isDisabled", "isReadOnly", "options", "shadow", "size", "colorScheme", "shape", "variant", "styles", "onChange", "setHide", "setValue", "setIsHovered", "setIsFocused", "setHighlightedIndex", "highlightedIndex"];
@@ -2825,7 +2821,7 @@ var Item = _ref => {
2825
2821
  callback = () => {},
2826
2822
  style
2827
2823
  } = _ref,
2828
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
2824
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
2829
2825
  // Handles the click event on an option by invoking the callback with the selected option's value.
2830
2826
  var handleOptionClick = option => callback(option);
2831
2827
  // Toggles the hover state on the item.
@@ -3287,7 +3283,7 @@ var SliderPadding = {
3287
3283
  }
3288
3284
  };
3289
3285
 
3290
- var _excluded$j = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
3286
+ var _excluded$i = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
3291
3287
  var SwitchContent = props => /*#__PURE__*/React.createElement(Input, Object.assign({
3292
3288
  type: "checkbox"
3293
3289
  }, props));
@@ -3317,7 +3313,7 @@ var SwitchView = _ref => {
3317
3313
  label: {}
3318
3314
  }
3319
3315
  } = _ref,
3320
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
3316
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
3321
3317
  var handleToggle = event => {
3322
3318
  if (!isReadOnly) {
3323
3319
  setValue(!value);
@@ -3407,7 +3403,7 @@ var useTextAreaState = _ref => {
3407
3403
  // Export of the useTextAreaState hook for external usage.
3408
3404
  };
3409
3405
 
3410
- var _excluded$k = ["id", "name", "hint", "error", "value", "label", "shadow", "helperText", "placeholder", "size", "shape", "variant", "colorScheme", "isHovered", "isFocused", "isEditable", "isReadOnly", "isDisabled", "isAutoFocus", "isMultiline", "maxRows", "maxCols", "onBlur", "onChange", "onFocus", "onChangeText", "setHint", "setValue", "setIsFocused", "setIsHovered", "styles"];
3406
+ var _excluded$j = ["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"];
3411
3407
  var TextAreaView = _ref => {
3412
3408
  var {
3413
3409
  id,
@@ -3447,7 +3443,7 @@ var TextAreaView = _ref => {
3447
3443
  field: {}
3448
3444
  }
3449
3445
  } = _ref,
3450
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
3446
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
3451
3447
  var isWithLabel = !!(isFocused && label);
3452
3448
  var fieldStyles = Object.assign({
3453
3449
  margin: 0,
@@ -3577,7 +3573,7 @@ var useTextFieldState = _ref => {
3577
3573
  };
3578
3574
  };
3579
3575
 
3580
- var _excluded$l = ["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"];
3576
+ var _excluded$k = ["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
3577
  var TextFieldInput = props => /*#__PURE__*/React.createElement(Input, Object.assign({
3582
3578
  type: "text"
3583
3579
  }, props));
@@ -3620,7 +3616,7 @@ var TextFieldView = _ref => {
3620
3616
  onFocus,
3621
3617
  onBlur = () => {}
3622
3618
  } = _ref,
3623
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
3619
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
3624
3620
  var {
3625
3621
  getColor
3626
3622
  } = useTheme();
@@ -3801,7 +3797,7 @@ var IconSizes$3 = {
3801
3797
  '6xl': 60
3802
3798
  };
3803
3799
 
3804
- var _excluded$m = ["id", "icon", "name", "label", "isChecked", "onChange", "onValueChange", "shadow", "labelPosition", "size", "colorScheme", "error", "isSelected", "isHovered", "isDisabled", "isReadOnly", "isIndeterminate", "defaultIsSelected", "setIsSelected", "setIsHovered", "styles", "infoText", "helperText"];
3800
+ var _excluded$l = ["id", "icon", "name", "label", "isChecked", "onChange", "onValueChange", "shadow", "labelPosition", "size", "colorScheme", "error", "isSelected", "isHovered", "isDisabled", "isReadOnly", "isIndeterminate", "defaultIsSelected", "setIsSelected", "setIsHovered", "styles", "infoText", "helperText"];
3805
3801
  var CheckboxView = _ref => {
3806
3802
  var {
3807
3803
  id,
@@ -3829,7 +3825,7 @@ var CheckboxView = _ref => {
3829
3825
  },
3830
3826
  infoText
3831
3827
  } = _ref,
3832
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
3828
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
3833
3829
  var handleHover = () => setIsHovered(!isHovered);
3834
3830
  var handleChange = () => {
3835
3831
  if (!isReadOnly && !isDisabled) {
@@ -5388,11 +5384,11 @@ var IconSizes$4 = {
5388
5384
  xl: 16
5389
5385
  };
5390
5386
 
5391
- var _excluded$n = ["size"],
5387
+ var _excluded$m = ["size"],
5392
5388
  _excluded2$4 = ["size"],
5393
5389
  _excluded3$3 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "colorScheme", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "styles"];
5394
5390
  var CountryList = _ref => {
5395
- var props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5391
+ var props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
5396
5392
  return /*#__PURE__*/React.createElement(Element, Object.assign({
5397
5393
  as: "ul"
5398
5394
  }, props));
@@ -5631,7 +5627,7 @@ var useDatePickerState = () => {
5631
5627
  };
5632
5628
  };
5633
5629
 
5634
- var _excluded$o = ["id", "icon", "name", "label", "date", "children", "helperText", "shadow", "size", "variant", "shape", "colorScheme", "styles", "error", "isHovered", "isFocused", "isDisabled", "isReadOnly", "setDate", "setIsFocused", "setIsHovered", "onChange", "onChangeText"];
5630
+ var _excluded$n = ["id", "icon", "name", "label", "date", "children", "helperText", "shadow", "size", "variant", "shape", "colorScheme", "styles", "error", "isHovered", "isFocused", "isDisabled", "isReadOnly", "setDate", "setIsFocused", "setIsHovered", "onChange", "onChangeText"];
5635
5631
  var DatePickerContent = props => /*#__PURE__*/React.createElement(Input, Object.assign({
5636
5632
  type: "date"
5637
5633
  }, props));
@@ -5665,7 +5661,7 @@ var DatePickerView = _ref => {
5665
5661
  onChange,
5666
5662
  onChangeText
5667
5663
  } = _ref,
5668
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
5664
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5669
5665
  var isWithLabel = !!(isFocused && label);
5670
5666
  var handleHover = () => setIsHovered(!isHovered);
5671
5667
  var handleFocus = () => setIsFocused(true);
@@ -5753,7 +5749,7 @@ var usePasswordState = props => {
5753
5749
  }, props, textFieldStates);
5754
5750
  };
5755
5751
 
5756
- var _excluded$p = ["visibleIcon", "hiddenIcon"],
5752
+ var _excluded$o = ["visibleIcon", "hiddenIcon"],
5757
5753
  _excluded2$5 = ["isVisible", "setIsVisible"];
5758
5754
  var PasswordComponent = _ref => {
5759
5755
  var {
@@ -5764,7 +5760,7 @@ var PasswordComponent = _ref => {
5764
5760
  size: 14
5765
5761
  })
5766
5762
  } = _ref,
5767
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
5763
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
5768
5764
  var _usePasswordState = usePasswordState(props),
5769
5765
  {
5770
5766
  isVisible,
@@ -5818,7 +5814,7 @@ var useComboBoxState = (items, placeholder, searchPlaceholder) => {
5818
5814
  };
5819
5815
  };
5820
5816
 
5821
- var _excluded$q = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
5817
+ var _excluded$p = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
5822
5818
  // Defines the functional component 'ComboBoxView' with destructured props.
5823
5819
  var ComboBoxView = _ref => {
5824
5820
  var {
@@ -5843,7 +5839,7 @@ var ComboBoxView = _ref => {
5843
5839
  setIsDropdownVisible
5844
5840
  // Collects all further props not destructured explicitly.
5845
5841
  } = _ref,
5846
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
5842
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
5847
5843
  // Sets up an effect to handle clicking outside the dropdown to close it.
5848
5844
  useEffect(() => {
5849
5845
  var handleClickOutside = event => {
@@ -5954,7 +5950,7 @@ var ComboBoxView = _ref => {
5954
5950
  }))))))))))));
5955
5951
  };
5956
5952
 
5957
- var _excluded$r = ["id", "name", "items", "placeholder", "searchPlaceholder"];
5953
+ var _excluded$q = ["id", "name", "items", "placeholder", "searchPlaceholder"];
5958
5954
  // Defines the ComboBoxComponent functional component with ComboBoxProps
5959
5955
  var ComboBoxComponent = _ref => {
5960
5956
  var {
@@ -5970,7 +5966,7 @@ var ComboBoxComponent = _ref => {
5970
5966
  searchPlaceholder
5971
5967
  // Destructures the rest of the props not explicitly defined
5972
5968
  } = _ref,
5973
- props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
5969
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
5974
5970
  // Initializes ComboBox state using custom hook with items and placeholders
5975
5971
  var state = useComboBoxState(items, placeholder, searchPlaceholder);
5976
5972
  return (
@@ -5986,7 +5982,7 @@ var ComboBoxComponent = _ref => {
5986
5982
  // Exports the ComboBoxComponent as ComboBox
5987
5983
  var ComboBox = ComboBoxComponent;
5988
5984
 
5989
- var _excluded$s = ["children", "autoFocus", "initFocus", "onChange"];
5985
+ var _excluded$r = ["children", "autoFocus", "initFocus", "onChange"];
5990
5986
  var FocusContext = /*#__PURE__*/createContext({
5991
5987
  active: false,
5992
5988
  focusNextInput: () => {},
@@ -6002,7 +5998,7 @@ var FormikForm = _ref => {
6002
5998
  initFocus,
6003
5999
  onChange = () => {}
6004
6000
  } = _ref,
6005
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
6001
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
6006
6002
  var formik = useFormikContext();
6007
6003
  useEffect(() => {
6008
6004
  onChange(formik.values);
@@ -6050,7 +6046,7 @@ var FormikForm = _ref => {
6050
6046
  }, /*#__PURE__*/React.createElement(Form, Object.assign({}, props), children));
6051
6047
  };
6052
6048
 
6053
- var _excluded$t = ["name", "type"];
6049
+ var _excluded$s = ["name", "type"];
6054
6050
  var getInputTypeProps = type => {
6055
6051
  switch (type) {
6056
6052
  case 'email':
@@ -6089,7 +6085,7 @@ var useFormikInput = _ref => {
6089
6085
  name,
6090
6086
  type
6091
6087
  } = _ref,
6092
- props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
6088
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
6093
6089
  var focus = useFormFocus();
6094
6090
  var {
6095
6091
  touched,
@@ -6133,13 +6129,13 @@ var useFormikInput = _ref => {
6133
6129
  } : {});
6134
6130
  };
6135
6131
 
6136
- var _excluded$u = ["value"];
6132
+ var _excluded$t = ["value"];
6137
6133
  var CheckboxComponent$1 = props => {
6138
6134
  var _useFormikInput = useFormikInput(props),
6139
6135
  {
6140
6136
  value
6141
6137
  } = _useFormikInput,
6142
- formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$u);
6138
+ formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$t);
6143
6139
  formProps.isChecked = value;
6144
6140
  var checkboxStates = useCheckboxState(props);
6145
6141
  return /*#__PURE__*/React.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
@@ -6197,11 +6193,11 @@ var TextAreaComponent$1 = props => {
6197
6193
  */
6198
6194
  var FormikTextArea = TextAreaComponent$1;
6199
6195
 
6200
- var _excluded$v = ["value"];
6196
+ var _excluded$u = ["value"];
6201
6197
  var TextFieldComponent$1 = props => {
6202
6198
  var formProps = useFormikInput(props);
6203
6199
  var _useTextFieldState = useTextFieldState(props),
6204
- textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$v);
6200
+ textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$u);
6205
6201
  return /*#__PURE__*/React.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
6206
6202
  };
6207
6203
  /**
@@ -6209,7 +6205,7 @@ var TextFieldComponent$1 = props => {
6209
6205
  */
6210
6206
  var FormikTextField = TextFieldComponent$1;
6211
6207
 
6212
- var _excluded$w = ["visibleIcon", "hiddenIcon"],
6208
+ var _excluded$v = ["visibleIcon", "hiddenIcon"],
6213
6209
  _excluded2$6 = ["isVisible", "setIsVisible"];
6214
6210
  var PasswordComponent$1 = _ref => {
6215
6211
  var {
@@ -6220,7 +6216,7 @@ var PasswordComponent$1 = _ref => {
6220
6216
  size: 14
6221
6217
  })
6222
6218
  } = _ref,
6223
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
6219
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
6224
6220
  var formProps = useFormikInput(props);
6225
6221
  var _usePasswordState = usePasswordState(formProps),
6226
6222
  {
@@ -6245,14 +6241,14 @@ var PasswordComponent$1 = _ref => {
6245
6241
  */
6246
6242
  var FormikPassword = PasswordComponent$1;
6247
6243
 
6248
- var _excluded$x = ["items", "placeholder", "searchPlaceholder"];
6244
+ var _excluded$w = ["items", "placeholder", "searchPlaceholder"];
6249
6245
  var ComboBoxComponent$1 = _ref => {
6250
6246
  var {
6251
6247
  items,
6252
6248
  placeholder,
6253
6249
  searchPlaceholder
6254
6250
  } = _ref,
6255
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
6251
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
6256
6252
  var formProps = useFormikInput(props);
6257
6253
  var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
6258
6254
  // Ensure the onChange function from formProps is being called when an item is selected
@@ -6621,7 +6617,7 @@ var HeaderIconSizes = {
6621
6617
  xl: 28
6622
6618
  };
6623
6619
 
6624
- var _excluded$y = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
6620
+ var _excluded$x = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
6625
6621
  _excluded2$7 = ["children", "shadow", "isFullScreen", "shape"],
6626
6622
  _excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition"],
6627
6623
  _excluded4$3 = ["children"],
@@ -6635,7 +6631,7 @@ var ModalOverlay = _ref => {
6635
6631
  onClose = () => {},
6636
6632
  position = 'center'
6637
6633
  } = _ref,
6638
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
6634
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
6639
6635
  var handleClick = () => {
6640
6636
  if (!isClosePrevented) onClose();
6641
6637
  };
@@ -7024,7 +7020,7 @@ var ToggleShapes = {
7024
7020
  pillShaped: 24
7025
7021
  };
7026
7022
 
7027
- var _excluded$z = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
7023
+ var _excluded$y = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
7028
7024
  var ToggleView = _ref => {
7029
7025
  var {
7030
7026
  children,
@@ -7038,7 +7034,7 @@ var ToggleView = _ref => {
7038
7034
  setIsToggled,
7039
7035
  onToggle
7040
7036
  } = _ref,
7041
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7037
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
7042
7038
  var toggleColor = !isDisabled ? colorScheme : 'theme.disabled';
7043
7039
  var isActive = !!(isToggle || isHovered);
7044
7040
  var ToggleVariants = {
@@ -7080,7 +7076,7 @@ var ToggleView = _ref => {
7080
7076
  }, ToggleVariants[variant], props), children);
7081
7077
  };
7082
7078
 
7083
- var _excluded$A = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
7079
+ var _excluded$z = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
7084
7080
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
7085
7081
  var ToggleComponent = _ref => {
7086
7082
  var {
@@ -7093,7 +7089,7 @@ var ToggleComponent = _ref => {
7093
7089
  isToggled = false,
7094
7090
  onToggle
7095
7091
  } = _ref,
7096
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
7092
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7097
7093
  // Initializing toggle state and set state functions using the custom hook useToggleState.
7098
7094
  var {
7099
7095
  isHovered,