@app-studio/web 0.8.35 → 0.8.36

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.
@@ -171,7 +171,7 @@ var TextComponent = props => {
171
171
  var Text = TextComponent;
172
172
 
173
173
  var _excluded$1 = ["justifyContent", "isReversed"];
174
- var Vertical = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
174
+ var VerticalBase = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
175
175
  var {
176
176
  // Sets a default alignment for content within the Vertical container to 'flex-start'
177
177
  justifyContent = 'flex-start',
@@ -187,10 +187,11 @@ var Vertical = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
187
187
  ref: ref
188
188
  }));
189
189
  });
190
- Vertical.displayName = 'Vertical';
190
+ VerticalBase.displayName = 'Vertical';
191
+ var Vertical = VerticalBase;
191
192
 
192
193
  var _excluded$2 = ["justifyContent", "isReversed"];
193
- var Horizontal = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
194
+ var HorizontalBase = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
194
195
  var {
195
196
  // Sets a default alignment for content within the Horizontal container to 'flex-start'
196
197
  justifyContent = 'flex-start',
@@ -206,18 +207,24 @@ var Horizontal = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
206
207
  ref: ref
207
208
  }));
208
209
  });
209
- Horizontal.displayName = 'Horizontal';
210
+ HorizontalBase.displayName = 'Horizontal';
211
+ var Horizontal = HorizontalBase;
210
212
 
211
- var Center = /*#__PURE__*/React__default.forwardRef((props, ref) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
212
- display: "flex",
213
- justifyContent: "center",
214
- alignItems: "center"
215
- }, props, {
216
- ref: ref
217
- }))));
218
- Center.displayName = 'Center';
213
+ var _excluded$3 = ["justifyContent", "isReversed"];
214
+ var CenterBase = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
215
+ var props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
216
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
217
+ display: "flex",
218
+ justifyContent: "center",
219
+ alignItems: "center"
220
+ }, props, {
221
+ ref: ref
222
+ }));
223
+ });
224
+ CenterBase.displayName = 'Center';
225
+ var Center = CenterBase;
219
226
 
220
- var _excluded$3 = ["size", "color", "transform", "orientation", "children"],
227
+ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
221
228
  _excluded2 = ["size", "color", "filled", "strokeWidth"],
222
229
  _excluded3 = ["size", "color", "filled", "strokeWidth"],
223
230
  _excluded4 = ["size", "color", "filled", "strokeWidth"],
@@ -280,7 +287,7 @@ var IconWrapper = _ref => {
280
287
  orientation,
281
288
  children
282
289
  } = _ref,
283
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
290
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
284
291
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
285
292
  size: size,
286
293
  lineHeight: size,
@@ -1734,7 +1741,7 @@ var AlertComponent = _ref => {
1734
1741
  // Exporting the AlertComponent as 'Alert' for use in other parts of the application.
1735
1742
  var Alert = AlertComponent;
1736
1743
 
1737
- var _excluded$4 = ["ratio", "children"];
1744
+ var _excluded$5 = ["ratio", "children"];
1738
1745
  // Declaration of a functional component named AspectRatioView.
1739
1746
  var AspectRatioView = _ref => {
1740
1747
  var {
@@ -1744,7 +1751,7 @@ var AspectRatioView = _ref => {
1744
1751
  children
1745
1752
  // Spread the rest of the props to inherit additional properties.
1746
1753
  } = _ref,
1747
- props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
1754
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
1748
1755
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
1749
1756
  width: '100%',
1750
1757
  position: "relative",
@@ -1760,14 +1767,14 @@ var AspectRatioView = _ref => {
1760
1767
  }, children));
1761
1768
  };
1762
1769
 
1763
- var _excluded$5 = ["ratio", "children"];
1770
+ var _excluded$6 = ["ratio", "children"];
1764
1771
  // Declaration of the AspectRatioComponent functional component with destructured props.
1765
1772
  var AspectRatioComponent = _ref => {
1766
1773
  var {
1767
1774
  ratio,
1768
1775
  children
1769
1776
  } = _ref,
1770
- props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
1777
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
1771
1778
  // Beginning of the return statement in the functional component.
1772
1779
  return /*#__PURE__*/React__default.createElement(AspectRatioView, Object.assign({
1773
1780
  ratio: ratio
@@ -2037,7 +2044,7 @@ var IconSizes = {
2037
2044
  '6xl': 64
2038
2045
  };
2039
2046
 
2040
- var _excluded$6 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
2047
+ var _excluded$7 = ["children", "to", "iconSize", "underline", "isHovered", "isExternal", "styles", "setIsHovered"];
2041
2048
  // Component definition for 'LinkView', a functional component with props defined by 'LinkViewProps'.
2042
2049
  var LinkView = _ref => {
2043
2050
  var {
@@ -2060,7 +2067,7 @@ var LinkView = _ref => {
2060
2067
  // Setter function for the hover state, noop function provided by default.
2061
2068
  setIsHovered = () => {}
2062
2069
  } = _ref,
2063
- props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
2070
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
2064
2071
  // Function to handle mouse enter/leave events to toggle hover state.
2065
2072
  var handleHover = () => {
2066
2073
  if (underline === 'hover') setIsHovered(true);
@@ -2217,7 +2224,7 @@ var DefaultSpeeds = {
2217
2224
  slow: 300
2218
2225
  };
2219
2226
 
2220
- var _excluded$7 = ["size", "speed", "color"],
2227
+ var _excluded$8 = ["size", "speed", "color"],
2221
2228
  _excluded2$1 = ["size", "speed", "color"],
2222
2229
  _excluded3$1 = ["size", "speed", "color"],
2223
2230
  _excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
@@ -2227,7 +2234,7 @@ var DefaultSpinner = _ref => {
2227
2234
  speed = 'normal',
2228
2235
  color = 'theme.loading'
2229
2236
  } = _ref,
2230
- props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
2237
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2231
2238
  var theme = appStudio.useTheme();
2232
2239
  var colorStyle = theme.getColor(color);
2233
2240
  var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
@@ -2380,7 +2387,7 @@ React__default.createElement(LoaderView, Object.assign({}, props)));
2380
2387
  // Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
2381
2388
  var Loader = LoaderComponent;
2382
2389
 
2383
- var _excluded$8 = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered"];
2390
+ var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "externalHref", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered"];
2384
2391
  var contrast = /*#__PURE__*/require('contrast');
2385
2392
  var ButtonView = _ref => {
2386
2393
  var _props$onClick;
@@ -2416,7 +2423,7 @@ var ButtonView = _ref => {
2416
2423
  setIsHovered = () => {}
2417
2424
  // Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
2418
2425
  } = _ref,
2419
- props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2426
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2420
2427
  var {
2421
2428
  getColor
2422
2429
  } = appStudio.useTheme();
@@ -2531,14 +2538,14 @@ var ButtonComponent = props => {
2531
2538
  };
2532
2539
  var Button = ButtonComponent;
2533
2540
 
2534
- var _excluded$9 = ["src", "color"],
2541
+ var _excluded$a = ["src", "color"],
2535
2542
  _excluded2$2 = ["path"];
2536
2543
  var FileSVG = _ref => {
2537
2544
  var {
2538
2545
  src,
2539
2546
  color
2540
2547
  } = _ref,
2541
- props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
2548
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2542
2549
  var {
2543
2550
  getColor
2544
2551
  } = appStudio.useTheme();
@@ -2607,7 +2614,7 @@ var useItemState = () => {
2607
2614
  };
2608
2615
  };
2609
2616
 
2610
- var _excluded$a = ["children", "styles"];
2617
+ var _excluded$b = ["children", "styles"];
2611
2618
  var HelperText = _ref => {
2612
2619
  var {
2613
2620
  children,
@@ -2615,7 +2622,7 @@ var HelperText = _ref => {
2615
2622
  helperText: {}
2616
2623
  }
2617
2624
  } = _ref,
2618
- props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2625
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
2619
2626
  return /*#__PURE__*/React__default.createElement(Text, Object.assign({
2620
2627
  size: "xs",
2621
2628
  marginVertical: 0,
@@ -2624,7 +2631,7 @@ var HelperText = _ref => {
2624
2631
  }, styles['helperText'], props), children);
2625
2632
  };
2626
2633
 
2627
- var _excluded$b = ["children", "helperText", "error", "styles"];
2634
+ var _excluded$c = ["children", "helperText", "error", "styles"];
2628
2635
  var FieldContainer = _ref => {
2629
2636
  var {
2630
2637
  children,
@@ -2632,7 +2639,7 @@ var FieldContainer = _ref => {
2632
2639
  error = false,
2633
2640
  styles
2634
2641
  } = _ref,
2635
- props = _objectWithoutPropertiesLoose(_ref, _excluded$b);
2642
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
2636
2643
  return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
2637
2644
  gap: 5,
2638
2645
  position: "relative"
@@ -2691,7 +2698,7 @@ var PaddingWithoutLabel = {
2691
2698
  paddingRight: 36
2692
2699
  };
2693
2700
 
2694
- var _excluded$c = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
2701
+ var _excluded$d = ["label", "shadow", "children", "value", "size", "shape", "variant", "error", "isWithLabel", "isFocused", "isHovered", "isDisabled", "isReadOnly", "colorScheme", "styles"];
2695
2702
  var FieldContent = _ref => {
2696
2703
  var {
2697
2704
  shadow,
@@ -2710,7 +2717,7 @@ var FieldContent = _ref => {
2710
2717
  pickerBox: {}
2711
2718
  }
2712
2719
  } = _ref,
2713
- props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
2720
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
2714
2721
  var isInteractive = (isHovered || isFocused) && !isDisabled;
2715
2722
  var color = error ? 'error' : isInteractive ? colorScheme : 'midgray';
2716
2723
  return /*#__PURE__*/React__default.createElement(Horizontal, Object.assign({
@@ -2731,12 +2738,12 @@ var FieldContent = _ref => {
2731
2738
  }, isWithLabel ? PadddingWithLabel : PaddingWithoutLabel, shadow, Shapes[shape], InputVariants[variant], styles['box'], props), children);
2732
2739
  };
2733
2740
 
2734
- var _excluded$d = ["children"];
2741
+ var _excluded$e = ["children"];
2735
2742
  var FieldIcons = _ref => {
2736
2743
  var {
2737
2744
  children
2738
2745
  } = _ref,
2739
- props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
2746
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
2740
2747
  return /*#__PURE__*/React__default.createElement(Center, Object.assign({
2741
2748
  gap: 10,
2742
2749
  right: 16,
@@ -2788,7 +2795,7 @@ var HeadingSizes$1 = {
2788
2795
  }
2789
2796
  };
2790
2797
 
2791
- var _excluded$e = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
2798
+ var _excluded$f = ["children", "heading", "isItalic", "isUnderlined", "isStriked", "weight", "size"];
2792
2799
  var LabelView = _ref => {
2793
2800
  var {
2794
2801
  children,
@@ -2804,7 +2811,7 @@ var LabelView = _ref => {
2804
2811
  size = 'sm'
2805
2812
  // The fontSize prop for the Element is determined by the 'size' prop passed to LabelView.
2806
2813
  } = _ref,
2807
- props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
2814
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
2808
2815
  // The fontStyle prop toggles between 'italic' and 'normal' based on the 'isItalic' boolean prop.
2809
2816
  var headingStyles = heading ? HeadingSizes$1[heading] : {};
2810
2817
  // fontWeight is derived from the Typography module, ensuring consistent font weighting across the app.
@@ -2836,7 +2843,7 @@ React__default.createElement(LabelView, Object.assign({}, props))
2836
2843
  var Label = LabelComponent;
2837
2844
  // Export the 'LabelComponent' as 'Label' to be reused throughout the project.
2838
2845
 
2839
- var _excluded$f = ["children", "size", "error", "color", "styles", "helperText"];
2846
+ var _excluded$g = ["children", "size", "error", "color", "styles", "helperText"];
2840
2847
  var FieldLabel = _ref => {
2841
2848
  var {
2842
2849
  children,
@@ -2847,7 +2854,7 @@ var FieldLabel = _ref => {
2847
2854
  label: {}
2848
2855
  }
2849
2856
  } = _ref,
2850
- props = _objectWithoutPropertiesLoose(_ref, _excluded$f);
2857
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
2851
2858
  return /*#__PURE__*/React__default.createElement(Label, Object.assign({
2852
2859
  top: 6,
2853
2860
  zIndex: 1000,
@@ -2860,12 +2867,12 @@ var FieldLabel = _ref => {
2860
2867
  }, styles['label'], props), children);
2861
2868
  };
2862
2869
 
2863
- var _excluded$g = ["children"];
2870
+ var _excluded$h = ["children"];
2864
2871
  var FieldWrapper = _ref => {
2865
2872
  var {
2866
2873
  children
2867
2874
  } = _ref,
2868
- props = _objectWithoutPropertiesLoose(_ref, _excluded$g);
2875
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
2869
2876
  return /*#__PURE__*/React__default.createElement(Vertical, Object.assign({
2870
2877
  width: "100%"
2871
2878
  }, props), children);
@@ -2881,7 +2888,7 @@ var IconSizes$2 = {
2881
2888
  xl: 16
2882
2889
  };
2883
2890
 
2884
- var _excluded$h = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
2891
+ var _excluded$i = ["isHovered", "setIsHovered", "option", "size", "callback", "style"],
2885
2892
  _excluded2$3 = ["id", "name", "value", "onChange", "isMulti", "isDisabled", "isReadOnly", "options"],
2886
2893
  _excluded3$2 = ["option", "size", "removeOption"],
2887
2894
  _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"];
@@ -2895,7 +2902,7 @@ var Item = _ref => {
2895
2902
  callback = () => {},
2896
2903
  style
2897
2904
  } = _ref,
2898
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
2905
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
2899
2906
  // Handles the click event on an option by invoking the callback with the selected option's value.
2900
2907
  var handleOptionClick = option => callback(option);
2901
2908
  // Toggles the hover state on the item.
@@ -3357,7 +3364,7 @@ var SliderPadding = {
3357
3364
  }
3358
3365
  };
3359
3366
 
3360
- var _excluded$i = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
3367
+ var _excluded$j = ["id", "name", "label", "inActiveChild", "activeChild", "labelPosition", "shadow", "size", "colorScheme", "value", "isHovered", "isDisabled", "isReadOnly", "on", "setOn", "onChange", "setValue", "setIsHovered", "helperText", "styles"];
3361
3368
  var SwitchContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
3362
3369
  type: "checkbox"
3363
3370
  }, props));
@@ -3387,7 +3394,7 @@ var SwitchView = _ref => {
3387
3394
  label: {}
3388
3395
  }
3389
3396
  } = _ref,
3390
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
3397
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
3391
3398
  var handleToggle = event => {
3392
3399
  if (!isReadOnly) {
3393
3400
  setValue(!value);
@@ -3477,7 +3484,7 @@ var useTextAreaState = _ref => {
3477
3484
  // Export of the useTextAreaState hook for external usage.
3478
3485
  };
3479
3486
 
3480
- 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"];
3487
+ 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"];
3481
3488
  var TextAreaView = _ref => {
3482
3489
  var {
3483
3490
  id,
@@ -3517,7 +3524,7 @@ var TextAreaView = _ref => {
3517
3524
  field: {}
3518
3525
  }
3519
3526
  } = _ref,
3520
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
3527
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
3521
3528
  var isWithLabel = !!(isFocused && label);
3522
3529
  var fieldStyles = Object.assign({
3523
3530
  margin: 0,
@@ -3647,7 +3654,7 @@ var useTextFieldState = _ref => {
3647
3654
  };
3648
3655
  };
3649
3656
 
3650
- 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"];
3657
+ 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"];
3651
3658
  var TextFieldInput = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
3652
3659
  type: "text"
3653
3660
  }, props));
@@ -3690,7 +3697,7 @@ var TextFieldView = _ref => {
3690
3697
  onFocus,
3691
3698
  onBlur = () => {}
3692
3699
  } = _ref,
3693
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
3700
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
3694
3701
  var {
3695
3702
  getColor
3696
3703
  } = appStudio.useTheme();
@@ -3871,7 +3878,7 @@ var IconSizes$3 = {
3871
3878
  '6xl': 60
3872
3879
  };
3873
3880
 
3874
- 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"];
3881
+ 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"];
3875
3882
  var CheckboxView = _ref => {
3876
3883
  var {
3877
3884
  id,
@@ -3899,7 +3906,7 @@ var CheckboxView = _ref => {
3899
3906
  },
3900
3907
  infoText
3901
3908
  } = _ref,
3902
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
3909
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
3903
3910
  var handleHover = () => setIsHovered(!isHovered);
3904
3911
  var handleChange = () => {
3905
3912
  if (!isReadOnly && !isDisabled) {
@@ -5458,11 +5465,11 @@ var IconSizes$4 = {
5458
5465
  xl: 16
5459
5466
  };
5460
5467
 
5461
- var _excluded$m = ["size"],
5468
+ var _excluded$n = ["size"],
5462
5469
  _excluded2$4 = ["size"],
5463
5470
  _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"];
5464
5471
  var CountryList = _ref => {
5465
- var props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
5472
+ var props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5466
5473
  return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
5467
5474
  as: "ul"
5468
5475
  }, props));
@@ -5701,7 +5708,7 @@ var useDatePickerState = () => {
5701
5708
  };
5702
5709
  };
5703
5710
 
5704
- 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"];
5711
+ 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"];
5705
5712
  var DatePickerContent = props => /*#__PURE__*/React__default.createElement(appStudio.Input, Object.assign({
5706
5713
  type: "date"
5707
5714
  }, props));
@@ -5735,7 +5742,7 @@ var DatePickerView = _ref => {
5735
5742
  onChange,
5736
5743
  onChangeText
5737
5744
  } = _ref,
5738
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
5745
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
5739
5746
  var isWithLabel = !!(isFocused && label);
5740
5747
  var handleHover = () => setIsHovered(!isHovered);
5741
5748
  var handleFocus = () => setIsFocused(true);
@@ -5823,7 +5830,7 @@ var usePasswordState = props => {
5823
5830
  }, props, textFieldStates);
5824
5831
  };
5825
5832
 
5826
- var _excluded$o = ["visibleIcon", "hiddenIcon"],
5833
+ var _excluded$p = ["visibleIcon", "hiddenIcon"],
5827
5834
  _excluded2$5 = ["isVisible", "setIsVisible"];
5828
5835
  var PasswordComponent = _ref => {
5829
5836
  var {
@@ -5834,7 +5841,7 @@ var PasswordComponent = _ref => {
5834
5841
  size: 14
5835
5842
  })
5836
5843
  } = _ref,
5837
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
5844
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
5838
5845
  var _usePasswordState = usePasswordState(props),
5839
5846
  {
5840
5847
  isVisible,
@@ -5888,7 +5895,7 @@ var useComboBoxState = (items, placeholder, searchPlaceholder) => {
5888
5895
  };
5889
5896
  };
5890
5897
 
5891
- var _excluded$p = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
5898
+ var _excluded$q = ["placeholder", "items", "showTick", "onSelect", "searchEnabled", "left", "right", "label", "filteredItems", "setSelectedItem", "selectedItem", "highlightedIndex", "setHighlightedIndex", "searchQuery", "setSearchQuery", "setFilteredItems", "styles", "isDropdownVisible", "setIsDropdownVisible"];
5892
5899
  // Defines the functional component 'ComboBoxView' with destructured props.
5893
5900
  var ComboBoxView = _ref => {
5894
5901
  var {
@@ -5913,7 +5920,7 @@ var ComboBoxView = _ref => {
5913
5920
  setIsDropdownVisible
5914
5921
  // Collects all further props not destructured explicitly.
5915
5922
  } = _ref,
5916
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
5923
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
5917
5924
  // Sets up an effect to handle clicking outside the dropdown to close it.
5918
5925
  React.useEffect(() => {
5919
5926
  var handleClickOutside = event => {
@@ -6024,7 +6031,7 @@ var ComboBoxView = _ref => {
6024
6031
  }))))))))))));
6025
6032
  };
6026
6033
 
6027
- var _excluded$q = ["id", "name", "items", "placeholder", "searchPlaceholder"];
6034
+ var _excluded$r = ["id", "name", "items", "placeholder", "searchPlaceholder"];
6028
6035
  // Defines the ComboBoxComponent functional component with ComboBoxProps
6029
6036
  var ComboBoxComponent = _ref => {
6030
6037
  var {
@@ -6040,7 +6047,7 @@ var ComboBoxComponent = _ref => {
6040
6047
  searchPlaceholder
6041
6048
  // Destructures the rest of the props not explicitly defined
6042
6049
  } = _ref,
6043
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
6050
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
6044
6051
  // Initializes ComboBox state using custom hook with items and placeholders
6045
6052
  var state = useComboBoxState(items, placeholder, searchPlaceholder);
6046
6053
  return (
@@ -6056,7 +6063,7 @@ var ComboBoxComponent = _ref => {
6056
6063
  // Exports the ComboBoxComponent as ComboBox
6057
6064
  var ComboBox = ComboBoxComponent;
6058
6065
 
6059
- var _excluded$r = ["children", "autoFocus", "initFocus", "onChange"];
6066
+ var _excluded$s = ["children", "autoFocus", "initFocus", "onChange"];
6060
6067
  var FocusContext = /*#__PURE__*/React.createContext({
6061
6068
  active: false,
6062
6069
  focusNextInput: () => {},
@@ -6072,7 +6079,7 @@ var FormikForm = _ref => {
6072
6079
  initFocus,
6073
6080
  onChange = () => {}
6074
6081
  } = _ref,
6075
- props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
6082
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
6076
6083
  var formik$1 = formik.useFormikContext();
6077
6084
  React.useEffect(() => {
6078
6085
  onChange(formik$1.values);
@@ -6120,7 +6127,7 @@ var FormikForm = _ref => {
6120
6127
  }, /*#__PURE__*/React__default.createElement(appStudio.Form, Object.assign({}, props), children));
6121
6128
  };
6122
6129
 
6123
- var _excluded$s = ["name", "type"];
6130
+ var _excluded$t = ["name", "type"];
6124
6131
  var getInputTypeProps = type => {
6125
6132
  switch (type) {
6126
6133
  case 'email':
@@ -6159,7 +6166,7 @@ var useFormikInput = _ref => {
6159
6166
  name,
6160
6167
  type
6161
6168
  } = _ref,
6162
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
6169
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
6163
6170
  var focus = useFormFocus();
6164
6171
  var {
6165
6172
  touched,
@@ -6203,13 +6210,13 @@ var useFormikInput = _ref => {
6203
6210
  } : {});
6204
6211
  };
6205
6212
 
6206
- var _excluded$t = ["value"];
6213
+ var _excluded$u = ["value"];
6207
6214
  var CheckboxComponent$1 = props => {
6208
6215
  var _useFormikInput = useFormikInput(props),
6209
6216
  {
6210
6217
  value
6211
6218
  } = _useFormikInput,
6212
- formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$t);
6219
+ formProps = _objectWithoutPropertiesLoose(_useFormikInput, _excluded$u);
6213
6220
  formProps.isChecked = value;
6214
6221
  var checkboxStates = useCheckboxState(props);
6215
6222
  return /*#__PURE__*/React__default.createElement(CheckboxView, Object.assign({}, checkboxStates, formProps));
@@ -6267,11 +6274,11 @@ var TextAreaComponent$1 = props => {
6267
6274
  */
6268
6275
  var FormikTextArea = TextAreaComponent$1;
6269
6276
 
6270
- var _excluded$u = ["value"];
6277
+ var _excluded$v = ["value"];
6271
6278
  var TextFieldComponent$1 = props => {
6272
6279
  var formProps = useFormikInput(props);
6273
6280
  var _useTextFieldState = useTextFieldState(props),
6274
- textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$u);
6281
+ textFieldStates = _objectWithoutPropertiesLoose(_useTextFieldState, _excluded$v);
6275
6282
  return /*#__PURE__*/React__default.createElement(TextFieldView, Object.assign({}, textFieldStates, formProps));
6276
6283
  };
6277
6284
  /**
@@ -6279,7 +6286,7 @@ var TextFieldComponent$1 = props => {
6279
6286
  */
6280
6287
  var FormikTextField = TextFieldComponent$1;
6281
6288
 
6282
- var _excluded$v = ["visibleIcon", "hiddenIcon"],
6289
+ var _excluded$w = ["visibleIcon", "hiddenIcon"],
6283
6290
  _excluded2$6 = ["isVisible", "setIsVisible"];
6284
6291
  var PasswordComponent$1 = _ref => {
6285
6292
  var {
@@ -6290,7 +6297,7 @@ var PasswordComponent$1 = _ref => {
6290
6297
  size: 14
6291
6298
  })
6292
6299
  } = _ref,
6293
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
6300
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
6294
6301
  var formProps = useFormikInput(props);
6295
6302
  var _usePasswordState = usePasswordState(formProps),
6296
6303
  {
@@ -6315,14 +6322,14 @@ var PasswordComponent$1 = _ref => {
6315
6322
  */
6316
6323
  var FormikPassword = PasswordComponent$1;
6317
6324
 
6318
- var _excluded$w = ["items", "placeholder", "searchPlaceholder"];
6325
+ var _excluded$x = ["items", "placeholder", "searchPlaceholder"];
6319
6326
  var ComboBoxComponent$1 = _ref => {
6320
6327
  var {
6321
6328
  items,
6322
6329
  placeholder,
6323
6330
  searchPlaceholder
6324
6331
  } = _ref,
6325
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
6332
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
6326
6333
  var formProps = useFormikInput(props);
6327
6334
  var ComboBoxStates = useComboBoxState(items, placeholder, searchPlaceholder);
6328
6335
  // Ensure the onChange function from formProps is being called when an item is selected
@@ -6691,7 +6698,7 @@ var HeaderIconSizes = {
6691
6698
  xl: 28
6692
6699
  };
6693
6700
 
6694
- var _excluded$x = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
6701
+ var _excluded$y = ["children", "blur", "isOpen", "isClosePrevented", "onClose", "position"],
6695
6702
  _excluded2$7 = ["children", "shadow", "isFullScreen", "shape"],
6696
6703
  _excluded3$4 = ["children", "buttonColor", "iconSize", "buttonPosition"],
6697
6704
  _excluded4$3 = ["children"],
@@ -6705,7 +6712,7 @@ var ModalOverlay = _ref => {
6705
6712
  onClose = () => {},
6706
6713
  position = 'center'
6707
6714
  } = _ref,
6708
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
6715
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
6709
6716
  var handleClick = () => {
6710
6717
  if (!isClosePrevented) onClose();
6711
6718
  };
@@ -7121,7 +7128,7 @@ var ToggleShapes = {
7121
7128
  pillShaped: 24
7122
7129
  };
7123
7130
 
7124
- var _excluded$y = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
7131
+ var _excluded$z = ["children", "shape", "colorScheme", "variant", "isHovered", "setIsHovered", "isDisabled", "isToggle", "setIsToggled", "onToggle"];
7125
7132
  var ToggleView = _ref => {
7126
7133
  var {
7127
7134
  children,
@@ -7135,7 +7142,7 @@ var ToggleView = _ref => {
7135
7142
  setIsToggled,
7136
7143
  onToggle
7137
7144
  } = _ref,
7138
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
7145
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7139
7146
  var toggleColor = !isDisabled ? colorScheme : 'theme.disabled';
7140
7147
  var isActive = !!(isToggle || isHovered);
7141
7148
  var ToggleVariants = {
@@ -7177,7 +7184,7 @@ var ToggleView = _ref => {
7177
7184
  }, ToggleVariants[variant], props), children);
7178
7185
  };
7179
7186
 
7180
- var _excluded$z = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
7187
+ var _excluded$A = ["children", "shape", "colorScheme", "variant", "isDisabled", "isToggled", "onToggle"];
7181
7188
  // Destructuring properties from ToggleProps to be used within the ToggleComponent.
7182
7189
  var ToggleComponent = _ref => {
7183
7190
  var {
@@ -7190,7 +7197,7 @@ var ToggleComponent = _ref => {
7190
7197
  isToggled = false,
7191
7198
  onToggle
7192
7199
  } = _ref,
7193
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
7200
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
7194
7201
  // Initializing toggle state and set state functions using the custom hook useToggleState.
7195
7202
  var {
7196
7203
  isHovered,
@@ -7319,6 +7326,7 @@ exports.Button = Button;
7319
7326
  exports.CalendarIcon = CalendarIcon;
7320
7327
  exports.CameraIcon = CameraIcon;
7321
7328
  exports.Center = Center;
7329
+ exports.CenterBase = CenterBase;
7322
7330
  exports.Checkbox = Checkbox;
7323
7331
  exports.ChevronIcon = ChevronIcon;
7324
7332
  exports.ClockIcon = ClockIcon;
@@ -7350,6 +7358,7 @@ exports.FormikTextField = FormikTextField;
7350
7358
  exports.HeartIcon = HeartIcon;
7351
7359
  exports.HomeIcon = HomeIcon;
7352
7360
  exports.Horizontal = Horizontal;
7361
+ exports.HorizontalBase = HorizontalBase;
7353
7362
  exports.Icon = Icon;
7354
7363
  exports.InfoIcon = InfoIcon;
7355
7364
  exports.Inline = Inline;
@@ -7400,6 +7409,7 @@ exports.UnLikeIcon = UnLikeIcon;
7400
7409
  exports.UnlockIcon = UnlockIcon;
7401
7410
  exports.UploadIcon = UploadIcon;
7402
7411
  exports.Vertical = Vertical;
7412
+ exports.VerticalBase = VerticalBase;
7403
7413
  exports.View = View;
7404
7414
  exports.WarningIcon = WarningIcon;
7405
7415
  exports.WifiIcon = WifiIcon;