@app-studio/web 0.8.35 → 0.8.37

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
@@ -164,7 +164,7 @@ var TextComponent = props => {
164
164
  var Text = TextComponent;
165
165
 
166
166
  var _excluded$1 = ["justifyContent", "isReversed"];
167
- var Vertical = /*#__PURE__*/React.forwardRef((_ref, ref) => {
167
+ var VerticalBase = /*#__PURE__*/React.forwardRef((_ref, ref) => {
168
168
  var {
169
169
  // Sets a default alignment for content within the Vertical container to 'flex-start'
170
170
  justifyContent = 'flex-start',
@@ -180,10 +180,11 @@ var Vertical = /*#__PURE__*/React.forwardRef((_ref, ref) => {
180
180
  ref: ref
181
181
  }));
182
182
  });
183
- Vertical.displayName = 'Vertical';
183
+ VerticalBase.displayName = 'Vertical';
184
+ var Vertical = VerticalBase;
184
185
 
185
186
  var _excluded$2 = ["justifyContent", "isReversed"];
186
- var Horizontal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
187
+ var HorizontalBase = /*#__PURE__*/React.forwardRef((_ref, ref) => {
187
188
  var {
188
189
  // Sets a default alignment for content within the Horizontal container to 'flex-start'
189
190
  justifyContent = 'flex-start',
@@ -199,18 +200,24 @@ var Horizontal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
199
200
  ref: ref
200
201
  }));
201
202
  });
202
- Horizontal.displayName = 'Horizontal';
203
+ HorizontalBase.displayName = 'Horizontal';
204
+ var Horizontal = HorizontalBase;
203
205
 
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
- }))));
211
- Center.displayName = 'Center';
206
+ var _excluded$3 = ["justifyContent", "isReversed"];
207
+ var CenterBase = /*#__PURE__*/React.forwardRef((_ref, ref) => {
208
+ var props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
209
+ return /*#__PURE__*/React.createElement(View$1, Object.assign({
210
+ display: "flex",
211
+ justifyContent: "center",
212
+ alignItems: "center"
213
+ }, props, {
214
+ ref: ref
215
+ }));
216
+ });
217
+ CenterBase.displayName = 'Center';
218
+ var Center = CenterBase;
212
219
 
213
- var _excluded$3 = ["size", "color", "transform", "orientation", "children"],
220
+ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
214
221
  _excluded2 = ["size", "color", "filled", "strokeWidth"],
215
222
  _excluded3 = ["size", "color", "filled", "strokeWidth"],
216
223
  _excluded4 = ["size", "color", "filled", "strokeWidth"],
@@ -273,7 +280,7 @@ var IconWrapper = _ref => {
273
280
  orientation,
274
281
  children
275
282
  } = _ref,
276
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
283
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
277
284
  return /*#__PURE__*/React.createElement(Center, Object.assign({
278
285
  size: size,
279
286
  lineHeight: size,
@@ -1727,7 +1734,7 @@ var AlertComponent = _ref => {
1727
1734
  // Exporting the AlertComponent as 'Alert' for use in other parts of the application.
1728
1735
  var Alert = AlertComponent;
1729
1736
 
1730
- var _excluded$4 = ["ratio", "children"];
1737
+ var _excluded$5 = ["ratio", "children"];
1731
1738
  // Declaration of a functional component named AspectRatioView.
1732
1739
  var AspectRatioView = _ref => {
1733
1740
  var {
@@ -1737,7 +1744,7 @@ var AspectRatioView = _ref => {
1737
1744
  children
1738
1745
  // Spread the rest of the props to inherit additional properties.
1739
1746
  } = _ref,
1740
- props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
1747
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
1741
1748
  return /*#__PURE__*/React.createElement(Center, Object.assign({
1742
1749
  width: '100%',
1743
1750
  position: "relative",
@@ -1753,14 +1760,14 @@ var AspectRatioView = _ref => {
1753
1760
  }, children));
1754
1761
  };
1755
1762
 
1756
- var _excluded$5 = ["ratio", "children"];
1763
+ var _excluded$6 = ["ratio", "children"];
1757
1764
  // Declaration of the AspectRatioComponent functional component with destructured props.
1758
1765
  var AspectRatioComponent = _ref => {
1759
1766
  var {
1760
1767
  ratio,
1761
1768
  children
1762
1769
  } = _ref,
1763
- props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
1770
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
1764
1771
  // Beginning of the return statement in the functional component.
1765
1772
  return /*#__PURE__*/React.createElement(AspectRatioView, Object.assign({
1766
1773
  ratio: ratio
@@ -2030,7 +2037,7 @@ var IconSizes = {
2030
2037
  '6xl': 64
2031
2038
  };
2032
2039
 
2033
- var _excluded$6 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
2040
+ var _excluded$7 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
2034
2041
  // Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
2035
2042
  var LinkView = _ref => {
2036
2043
  var {
@@ -2053,7 +2060,7 @@ var LinkView = _ref => {
2053
2060
  // Setter function for the hover state, noop function provided by default.
2054
2061
  setIsHovered = () => {}
2055
2062
  } = _ref,
2056
- props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
2063
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
2057
2064
  // Function to handle mouse enter/leave events to toggle hover state.
2058
2065
  var handleHover = () => {
2059
2066
  if (underline === 'hover') setIsHovered(true);
@@ -2210,7 +2217,7 @@ var DefaultSpeeds = {
2210
2217
  slow: 300
2211
2218
  };
2212
2219
 
2213
- var _excluded$7 = ["size", "speed", "color"],
2220
+ var _excluded$8 = ["size", "speed", "color"],
2214
2221
  _excluded2$1 = ["size", "speed", "color"],
2215
2222
  _excluded3$1 = ["size", "speed", "color"],
2216
2223
  _excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
@@ -2220,7 +2227,7 @@ var DefaultSpinner = _ref => {
2220
2227
  speed = 'normal',
2221
2228
  color = 'theme.loading'
2222
2229
  } = _ref,
2223
- props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
2230
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2224
2231
  var theme = useTheme();
2225
2232
  var colorStyle = theme.getColor(color);
2226
2233
  var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
@@ -2373,7 +2380,7 @@ React.createElement(LoaderView, Object.assign({}, props)));
2373
2380
  // Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
2374
2381
  var Loader = LoaderComponent;
2375
2382
 
2376
- var _excluded$8 = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered"];
2383
+ var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered"];
2377
2384
  var contrast = /*#__PURE__*/require('contrast');
2378
2385
  var ButtonView = _ref => {
2379
2386
  var _props$onClick;
@@ -2409,7 +2416,7 @@ var ButtonView = _ref => {
2409
2416
  setIsHovered = () => {}
2410
2417
  // Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
2411
2418
  } = _ref,
2412
- props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2419
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2413
2420
  var {
2414
2421
  getColor
2415
2422
  } = useTheme();
@@ -2524,14 +2531,14 @@ var ButtonComponent = props => {
2524
2531
  };
2525
2532
  var Button = ButtonComponent;
2526
2533
 
2527
- var _excluded$9 = ["src", "color"],
2534
+ var _excluded$a = ["src", "color"],
2528
2535
  _excluded2$2 = ["path"];
2529
2536
  var FileSVG = _ref => {
2530
2537
  var {
2531
2538
  src,
2532
2539
  color
2533
2540
  } = _ref,
2534
- props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2541
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2535
2542
  var {
2536
2543
  getColor
2537
2544
  } = useTheme();
@@ -2600,7 +2607,7 @@ var useItemState = () => {
2600
2607
  };
2601
2608
  };
2602
2609
 
2603
- var _excluded$a = ["children", "styles"];
2610
+ var _excluded$b = ["children", "styles"];
2604
2611
  var HelperText = _ref => {
2605
2612
  var {
2606
2613
  children,
@@ -2608,7 +2615,7 @@ var HelperText = _ref => {
2608
2615
  helperText: {}
2609
2616
  }
2610
2617
  } = _ref,
2611
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2618
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
2612
2619
  return /*#__PURE__*/React.createElement(Text, Object.assign({
2613
2620
  size: "xs",
2614
2621
  marginVertical: 0,
@@ -2617,7 +2624,7 @@ var HelperText = _ref => {
2617
2624
  }, styles['helperText'], props), children);
2618
2625
  };
2619
2626
 
2620
- var _excluded$b = ["children", "helperText", "error", "styles"];
2627
+ var _excluded$c = ["children", "helperText", "error", "styles"];
2621
2628
  var FieldContainer = _ref => {
2622
2629
  var {
2623
2630
  children,
@@ -2625,7 +2632,7 @@ var FieldContainer = _ref => {
2625
2632
  error = false,
2626
2633
  styles
2627
2634
  } = _ref,
2628
- props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
2635
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
2629
2636
  return /*#__PURE__*/React.createElement(Vertical, Object.assign({
2630
2637
  gap: 5,
2631
2638
  position: "relative"
@@ -2684,7 +2691,7 @@ var PaddingWithoutLabel = {
2684
2691
  paddingRight: 36
2685
2692
  };
2686
2693
 
2687
- var _excluded$c = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
2694
+ var _excluded$d = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
2688
2695
  var FieldContent = _ref => {
2689
2696
  var {
2690
2697
  shadow,
@@ -2703,7 +2710,7 @@ var FieldContent = _ref => {
2703
2710
  pickerBox: {}
2704
2711
  }
2705
2712
  } = _ref,
2706
- props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
2713
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
2707
2714
  var isInteractive = (isHovered || isFocused) && !isDisabled;
2708
2715
  var color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
2709
2716
  return /*#__PURE__*/React.createElement(Horizontal, Object.assign({
@@ -2724,12 +2731,12 @@ var FieldContent = _ref => {
2724
2731
  }, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
2725
2732
  };
2726
2733
 
2727
- var _excluded$d = ["children"];
2734
+ var _excluded$e = ["children"];
2728
2735
  var FieldIcons = _ref => {
2729
2736
  var {
2730
2737
  children
2731
2738
  } = _ref,
2732
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
2739
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
2733
2740
  return /*#__PURE__*/React.createElement(Center, Object.assign({
2734
2741
  gap: 10,
2735
2742
  right: 16,
@@ -2781,7 +2788,7 @@ var HeadingSizes$1 = {
2781
2788
  }
2782
2789
  };
2783
2790
 
2784
- var _excluded$e = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
2791
+ var _excluded$f = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
2785
2792
  var LabelView = _ref => {
2786
2793
  var {
2787
2794
  children,
@@ -2797,7 +2804,7 @@ var LabelView = _ref => {
2797
2804
  size = 'sm'
2798
2805
  // The fontSize prop for the Element is determined by the 'size' prop passed to LabelView.
2799
2806
  } = _ref,
2800
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
2807
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
2801
2808
  // The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
2802
2809
  var headingStyles = heading ? HeadingSizes$1[heading] : {};
2803
2810
  // fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
@@ -2829,7 +2836,7 @@ React.createElement(LabelView, Object.assign({}, props))
2829
2836
  var Label = LabelComponent;
2830
2837
  // Export the 'LabelComponent' as 'Label' to be reused throughout the project.
2831
2838
 
2832
- var _excluded$f = ["children", "size", "error", "color", "styles", "helperText"];
2839
+ var _excluded$g = ["children", "size", "error", "color", "styles", "helperText"];
2833
2840
  var FieldLabel = _ref => {
2834
2841
  var {
2835
2842
  children,
@@ -2840,7 +2847,7 @@ var FieldLabel = _ref => {
2840
2847
  label: {}
2841
2848
  }
2842
2849
  } = _ref,
2843
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
2850
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
2844
2851
  return /*#__PURE__*/React.createElement(Label, Object.assign({
2845
2852
  top: 6,
2846
2853
  zIndex: 1000,
@@ -2853,12 +2860,12 @@ var FieldLabel = _ref => {
2853
2860
  }, styles['label'], props), children);
2854
2861
  };
2855
2862
 
2856
- var _excluded$g = ["children"];
2863
+ var _excluded$h = ["children"];
2857
2864
  var FieldWrapper = _ref => {
2858
2865
  var {
2859
2866
  children
2860
2867
  } = _ref,
2861
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
2868
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
2862
2869
  return /*#__PURE__*/React.createElement(Vertical, Object.assign({
2863
2870
  width: "100%"
2864
2871
  }, props), children);
@@ -2874,7 +2881,7 @@ var IconSizes$2 = {
2874
2881
  xl: 16
2875
2882
  };
2876
2883
 
2877
- var _excluded$h = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
2884
+ var _excluded$i = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
2878
2885
  _excluded2$3 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
2879
2886
  _excluded3$2 = ["option", "size", "removeOption"],
2880
2887
  _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"];
@@ -2888,7 +2895,7 @@ var Item = _ref => {
2888
2895
  callback = () => {},
2889
2896
  style
2890
2897
  } = _ref,
2891
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
2898
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
2892
2899
  // Handles the click event on an option by invoking the callback with the selected option's value.
2893
2900
  var handleOptionClick = option => callback(option);
2894
2901
  // Toggles the hover state on the item.
@@ -3350,7 +3357,7 @@ var SliderPadding = {
3350
3357
  }
3351
3358
  };
3352
3359
 
3353
- var _excluded$i = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
3360
+ var _excluded$j = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
3354
3361
  var SwitchContent = props => /*#__PURE__*/React.createElement(Input, Object.assign({
3355
3362
  type: "checkbox"
3356
3363
  }, props));
@@ -3380,7 +3387,7 @@ var SwitchView = _ref => {
3380
3387
  label: {}
3381
3388
  }
3382
3389
  } = _ref,
3383
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
3390
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
3384
3391
  var handleToggle = event => {
3385
3392
  if (!isReadOnly) {
3386
3393
  setValue(!value);
@@ -3470,7 +3477,7 @@ var useTextAreaState = _ref => {
3470
3477
  // Export of the useTextAreaState hook for external usage.
3471
3478
  };
3472
3479
 
3473
- 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"];
3480
+ 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"];
3474
3481
  var TextAreaView = _ref => {
3475
3482
  var {
3476
3483
  id,
@@ -3510,7 +3517,7 @@ var TextAreaView = _ref => {
3510
3517
  field: {}
3511
3518
  }
3512
3519
  } = _ref,
3513
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
3520
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
3514
3521
  var isWithLabel = !!(isFocused && label);
3515
3522
  var fieldStyles = Object.assign({
3516
3523
  margin: 0,
@@ -3640,7 +3647,7 @@ var useTextFieldState = _ref => {
3640
3647
  };
3641
3648
  };
3642
3649
 
3643
- 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"];
3650
+ 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"];
3644
3651
  var TextFieldInput = props => /*#__PURE__*/React.createElement(Input, Object.assign({
3645
3652
  type: "text"
3646
3653
  }, props));
@@ -3683,7 +3690,7 @@ var TextFieldView = _ref => {
3683
3690
  onFocus,
3684
3691
  onBlur = () => {}
3685
3692
  } = _ref,
3686
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
3693
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
3687
3694
  var {
3688
3695
  getColor
3689
3696
  } = useTheme();
@@ -3864,7 +3871,7 @@ var IconSizes$3 = {
3864
3871
  '6xl': 60
3865
3872
  };
3866
3873
 
3867
- 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"];
3874
+ 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"];
3868
3875
  var CheckboxView = _ref => {
3869
3876
  var {
3870
3877
  id,
@@ -3892,7 +3899,7 @@ var CheckboxView = _ref => {
3892
3899
  },
3893
3900
  infoText
3894
3901
  } = _ref,
3895
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
3902
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
3896
3903
  var handleHover = () => setIsHovered(!isHovered);
3897
3904
  var handleChange = () => {
3898
3905
  if (!isReadOnly && !isDisabled) {
@@ -5451,11 +5458,11 @@ var IconSizes$4 = {
5451
5458
  xl: 16
5452
5459
  };
5453
5460
 
5454
- var _excluded$m = ["size"],
5461
+ var _excluded$n = ["size"],
5455
5462
  _excluded2$4 = ["size"],
5456
5463
  _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"];
5457
5464
  var CountryList = _ref => {
5458
- var props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
5465
+ var props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5459
5466
  return /*#__PURE__*/React.createElement(Element, Object.assign({
5460
5467
  as: "ul"
5461
5468
  }, props));
@@ -5694,7 +5701,7 @@ var useDatePickerState = () => {
5694
5701
  };
5695
5702
  };
5696
5703
 
5697
- 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"];
5704
+ 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"];
5698
5705
  var DatePickerContent = props => /*#__PURE__*/React.createElement(Input, Object.assign({
5699
5706
  type: "date"
5700
5707
  }, props));
@@ -5728,7 +5735,7 @@ var DatePickerView = _ref => {
5728
5735
  onChange,
5729
5736
  onChangeText
5730
5737
  } = _ref,
5731
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5738
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
5732
5739
  var isWithLabel = !!(isFocused && label);
5733
5740
  var handleHover = () => setIsHovered(!isHovered);
5734
5741
  var handleFocus = () => setIsFocused(true);
@@ -5816,7 +5823,7 @@ var usePasswordState = props => {
5816
5823
  }, props, textFieldStates);
5817
5824
  };
5818
5825
 
5819
- var _excluded$o = ["visibleIcon", "hiddenIcon"],
5826
+ var _excluded$p = ["visibleIcon", "hiddenIcon"],
5820
5827
  _excluded2$5 = ["isVisible", "setIsVisible"];
5821
5828
  var PasswordComponent = _ref => {
5822
5829
  var {
@@ -5827,7 +5834,7 @@ var PasswordComponent = _ref => {
5827
5834
  size: 14
5828
5835
  })
5829
5836
  } = _ref,
5830
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
5837
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
5831
5838
  var _usePasswordState = usePasswordState(props),
5832
5839
  {
5833
5840
  isVisible,
@@ -5881,7 +5888,7 @@ var useComboBoxState = (items, placeholder, searchPlaceholder) => {
5881
5888
  };
5882
5889
  };
5883
5890
 
5884
- var _excluded$p = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
5891
+ var _excluded$q = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
5885
5892
  // Defines the functional component 'ComboBoxView' with destructured props.
5886
5893
  var ComboBoxView = _ref => {
5887
5894
  var {
@@ -5906,7 +5913,7 @@ var ComboBoxView = _ref => {
5906
5913
  setIsDropdownVisible
5907
5914
  // Collects all further props not destructured explicitly.
5908
5915
  } = _ref,
5909
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
5916
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
5910
5917
  // Sets up an effect to handle clicking outside the dropdown to close it.
5911
5918
  useEffect(() => {
5912
5919
  var handleClickOutside = event => {
@@ -6017,7 +6024,7 @@ var ComboBoxView = _ref => {
6017
6024
  }))))))))))));
6018
6025
  };
6019
6026
 
6020
- var _excluded$q = ["id", "name", "items", "placeholder", "searchPlaceholder"];
6027
+ var _excluded$r = ["id", "name", "items", "placeholder", "searchPlaceholder"];
6021
6028
  // Defines the ComboBoxComponent functional component with ComboBoxProps
6022
6029
  var ComboBoxComponent = _ref => {
6023
6030
  var {
@@ -6033,7 +6040,7 @@ var ComboBoxComponent = _ref => {
6033
6040
  searchPlaceholder
6034
6041
  // Destructures the rest of the props not explicitly defined
6035
6042
  } = _ref,
6036
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
6043
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
6037
6044
  // Initializes ComboBox state using custom hook with items and placeholders
6038
6045
  var state = useComboBoxState(items, placeholder, searchPlaceholder);
6039
6046
  return (
@@ -6049,7 +6056,7 @@ var ComboBoxComponent = _ref => {
6049
6056
  // Exports the ComboBoxComponent as ComboBox
6050
6057
  var ComboBox = ComboBoxComponent;
6051
6058
 
6052
- var _excluded$r = ["children", "autoFocus", "initFocus", "onChange"];
6059
+ var _excluded$s = ["children", "autoFocus", "initFocus", "onChange"];
6053
6060
  var FocusContext = /*#__PURE__*/createContext({
6054
6061
  active: false,
6055
6062
  focusNextInput: () => {},
@@ -6065,7 +6072,7 @@ var FormikForm = _ref => {
6065
6072
  initFocus,
6066
6073
  onChange = () => {}
6067
6074
  } = _ref,
6068
- props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
6075
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
6069
6076
  var formik = useFormikContext();
6070
6077
  useEffect(() => {
6071
6078
  onChange(formik.values);
@@ -6113,7 +6120,7 @@ var FormikForm = _ref => {
6113
6120
  }, /*#__PURE__*/React.createElement(Form, Object.assign({}, props), children));
6114
6121
  };
6115
6122
 
6116
- var _excluded$s = ["name", "type"];
6123
+ var _excluded$t = ["name", "type"];
6117
6124
  var getInputTypeProps = type => {
6118
6125
  switch (type) {
6119
6126
  case 'email':
@@ -6152,7 +6159,7 @@ var useFormikInput = _ref => {
6152
6159
  name,
6153
6160
  type
6154
6161
  } = _ref,
6155
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
6162
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
6156
6163
  var focus = useFormFocus();
6157
6164
  var {
6158
6165
  touched,
@@ -6196,13 +6203,13 @@ var useFormikInput = _ref => {
6196
6203
  } : {});
6197
6204
  };
6198
6205
 
6199
- var _excluded$t = ["value"];
6206
+ var _excluded$u = ["value"];
6200
6207
  var CheckboxComponent$1 = props => {
6201
6208
  var _useFormikInput = useFormikInput(props),
6202
6209
  {
6203
6210
  value
6204
6211
  } = _useFormikInput,
6205
- formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$t);
6212
+ formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$u);
6206
6213
  formProps.isChecked = value;
6207
6214
  var checkboxStates = useCheckboxState(props);
6208
6215
  return /*#__PURE__*/React.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
@@ -6260,11 +6267,11 @@ var TextAreaComponent$1 = props => {
6260
6267
  */
6261
6268
  var FormikTextArea = TextAreaComponent$1;
6262
6269
 
6263
- var _excluded$u = ["value"];
6270
+ var _excluded$v = ["value"];
6264
6271
  var TextFieldComponent$1 = props => {
6265
6272
  var formProps = useFormikInput(props);
6266
6273
  var _useTextFieldState = useTextFieldState(props),
6267
- textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$u);
6274
+ textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$v);
6268
6275
  return /*#__PURE__*/React.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
6269
6276
  };
6270
6277
  /**
@@ -6272,7 +6279,7 @@ var TextFieldComponent$1 = props => {
6272
6279
  */
6273
6280
  var FormikTextField = TextFieldComponent$1;
6274
6281
 
6275
- var _excluded$v = ["visibleIcon", "hiddenIcon"],
6282
+ var _excluded$w = ["visibleIcon", "hiddenIcon"],
6276
6283
  _excluded2$6 = ["isVisible", "setIsVisible"];
6277
6284
  var PasswordComponent$1 = _ref => {
6278
6285
  var {
@@ -6283,7 +6290,7 @@ var PasswordComponent$1 = _ref => {
6283
6290
  size: 14
6284
6291
  })
6285
6292
  } = _ref,
6286
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
6293
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
6287
6294
  var formProps = useFormikInput(props);
6288
6295
  var _usePasswordState = usePasswordState(formProps),
6289
6296
  {
@@ -6308,14 +6315,14 @@ var PasswordComponent$1 = _ref => {
6308
6315
  */
6309
6316
  var FormikPassword = PasswordComponent$1;
6310
6317
 
6311
- var _excluded$w = ["items", "placeholder", "searchPlaceholder"];
6318
+ var _excluded$x = ["items", "placeholder", "searchPlaceholder"];
6312
6319
  var ComboBoxComponent$1 = _ref => {
6313
6320
  var {
6314
6321
  items,
6315
6322
  placeholder,
6316
6323
  searchPlaceholder
6317
6324
  } = _ref,
6318
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
6325
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
6319
6326
  var formProps = useFormikInput(props);
6320
6327
  var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
6321
6328
  // Ensure the onChange function from formProps is being called when an item is selected
@@ -6684,7 +6691,7 @@ var HeaderIconSizes = {
6684
6691
  xl: 28
6685
6692
  };
6686
6693
 
6687
- var _excluded$x = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
6694
+ var _excluded$y = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
6688
6695
  _excluded2$7 = ["children", "shadow", "isFullScreen", "shape"],
6689
6696
  _excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition"],
6690
6697
  _excluded4$3 = ["children"],
@@ -6698,7 +6705,7 @@ var ModalOverlay = _ref => {
6698
6705
  onClose = () => {},
6699
6706
  position = 'center'
6700
6707
  } = _ref,
6701
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
6708
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
6702
6709
  var handleClick = () => {
6703
6710
  if (!isClosePrevented) onClose();
6704
6711
  };
@@ -7114,7 +7121,7 @@ var ToggleShapes = {
7114
7121
  pillShaped: 24
7115
7122
  };
7116
7123
 
7117
- var _excluded$y = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
7124
+ var _excluded$z = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
7118
7125
  var ToggleView = _ref => {
7119
7126
  var {
7120
7127
  children,
@@ -7128,7 +7135,7 @@ var ToggleView = _ref => {
7128
7135
  setIsToggled,
7129
7136
  onToggle
7130
7137
  } = _ref,
7131
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
7138
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7132
7139
  var toggleColor = !isDisabled ? colorScheme : 'theme.disabled';
7133
7140
  var isActive = !!(isToggle || isHovered);
7134
7141
  var ToggleVariants = {
@@ -7170,7 +7177,7 @@ var ToggleView = _ref => {
7170
7177
  }, ToggleVariants[variant], props), children);
7171
7178
  };
7172
7179
 
7173
- var _excluded$z = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
7180
+ var _excluded$A = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
7174
7181
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
7175
7182
  var ToggleComponent = _ref => {
7176
7183
  var {
@@ -7183,7 +7190,7 @@ var ToggleComponent = _ref => {
7183
7190
  isToggled = false,
7184
7191
  onToggle
7185
7192
  } = _ref,
7186
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7193
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
7187
7194
  // Initializing toggle state and set state functions using the custom hook useToggleState.
7188
7195
  var {
7189
7196
  isHovered,
@@ -7298,5 +7305,5 @@ var ToggleGroupComponent = _ref => {
7298
7305
  // Expose the ToggleGroupComponent for import into other modules
7299
7306
  var ToggleGroup = ToggleGroupComponent;
7300
7307
 
7301
- export { Alert, ArrowIcon, AspectRatio, Avatar, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Bottom, Button, CalendarIcon, CameraIcon, Center, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ComboBox, CopyIcon, CountryPicker, DatePicker, DownloadIcon, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, FileImage, FileSVG, FilterIcon, FormikCheckbox, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikPassword, FormikSelect, FormikSwitch, FormikTextArea, FormikTextField, HeartIcon, HomeIcon, Horizontal, Icon, InfoIcon, Inline, InstagramIcon, Left, LikeIcon, Link, LinkedinIcon, Loader, LocationIcon, LockIcon, MenuIcon, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NotificationIcon, OpenEyeIcon, PanelIcon, Password, PlusIcon, PrintIcon, ProfileIcon, RefreshIcon, Right, SaveIcon, SearchIcon, Select, SettingsIcon, ShareIcon, SpinnerIcon, StarIcon, SuccessIcon, Switch, Table, Tabs, Text, TextArea, TextField, ThreadsIcon, TickIcon, Toggle, ToggleGroup, Top, UnLikeIcon, UnlockIcon, UploadIcon, Vertical, View, WarningIcon, WifiIcon, YoutubeIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore };
7308
+ export { Alert, ArrowIcon, AspectRatio, Avatar, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Bottom, Button, CalendarIcon, CameraIcon, Center, CenterBase, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ComboBox, CopyIcon, CountryPicker, DatePicker, DownloadIcon, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, FileImage, FileSVG, FilterIcon, FormikCheckbox, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikPassword, FormikSelect, FormikSwitch, FormikTextArea, FormikTextField, HeartIcon, HomeIcon, Horizontal, HorizontalBase, Icon, InfoIcon, Inline, InstagramIcon, Left, LikeIcon, Link, LinkedinIcon, Loader, LocationIcon, LockIcon, MenuIcon, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NotificationIcon, OpenEyeIcon, PanelIcon, Password, PlusIcon, PrintIcon, ProfileIcon, RefreshIcon, Right, SaveIcon, SearchIcon, Select, SettingsIcon, ShareIcon, SpinnerIcon, StarIcon, SuccessIcon, Switch, Table, Tabs, Text, TextArea, TextField, ThreadsIcon, TickIcon, Toggle, ToggleGroup, Top, UnLikeIcon, UnlockIcon, UploadIcon, Vertical, VerticalBase, View, WarningIcon, WifiIcon, YoutubeIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore };
7302
7309
  //# sourceMappingURL=web.esm.js.map