@hero-design/rn-work-uikit 1.6.0 → 1.6.1

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/lib/index.js CHANGED
@@ -3661,13 +3661,13 @@ var StyledDivider = index$b(reactNative.View)(function (_ref) {
3661
3661
  }, horizontalMargin), verticalMargin);
3662
3662
  });
3663
3663
 
3664
- var _excluded$S = ["marginHorizontal", "marginVertical", "style", "testID"];
3664
+ var _excluded$R = ["marginHorizontal", "marginVertical", "style", "testID"];
3665
3665
  var Divider = function Divider(_ref) {
3666
3666
  var marginHorizontal = _ref.marginHorizontal,
3667
3667
  marginVertical = _ref.marginVertical,
3668
3668
  style = _ref.style,
3669
3669
  testID = _ref.testID,
3670
- nativeProps = _objectWithoutProperties(_ref, _excluded$S);
3670
+ nativeProps = _objectWithoutProperties(_ref, _excluded$R);
3671
3671
  return /*#__PURE__*/React__namespace.default.createElement(StyledDivider, _extends$1({}, nativeProps, {
3672
3672
  themeMarginHorizontal: marginHorizontal,
3673
3673
  themeMarginVertical: marginVertical,
@@ -7721,7 +7721,7 @@ function usePropsOrInternalState(initialState, state, setState) {
7721
7721
  setInternalState = _React$useState2[1];
7722
7722
  return [state || internalState, setState || setInternalState];
7723
7723
  }
7724
- var useDeprecation$1 = function useDeprecation(message) {
7724
+ var useDeprecation = function useDeprecation(message) {
7725
7725
  var cond = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
7726
7726
  React.useEffect(function () {
7727
7727
  // eslint-disable-next-line no-console
@@ -7777,7 +7777,7 @@ var StyledLoadingDot = index$b(reactNative.View)(function (_ref) {
7777
7777
  }, themeStyling());
7778
7778
  });
7779
7779
 
7780
- var _excluded$R = ["count", "size", "testID", "themeVariant"];
7780
+ var _excluded$Q = ["count", "size", "testID", "themeVariant"];
7781
7781
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
7782
7782
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
7783
7783
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -7809,7 +7809,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7809
7809
  size = _ref2$size === void 0 ? 12 : _ref2$size,
7810
7810
  testID = _ref2.testID,
7811
7811
  themeVariant = _ref2.themeVariant,
7812
- nativeProps = _objectWithoutProperties(_ref2, _excluded$R);
7812
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$Q);
7813
7813
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
7814
7814
  React.useEffect(function () {
7815
7815
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -8424,10 +8424,10 @@ var StyledHeroIcon = index$b(HeroIcon)(function (_ref) {
8424
8424
  };
8425
8425
  });
8426
8426
 
8427
- var _excluded$Q = ["style"];
8427
+ var _excluded$P = ["style"];
8428
8428
  var AnimatedIcon = function AnimatedIcon(_ref) {
8429
8429
  var style = _ref.style,
8430
- otherProps = _objectWithoutProperties(_ref, _excluded$Q);
8430
+ otherProps = _objectWithoutProperties(_ref, _excluded$P);
8431
8431
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
8432
8432
  React.useEffect(function () {
8433
8433
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -8475,7 +8475,7 @@ var Icon = function Icon(_ref) {
8475
8475
  accessibilityIgnoresInvertColors = _ref.accessibilityIgnoresInvertColors,
8476
8476
  accessibilityViewIsModal = _ref.accessibilityViewIsModal,
8477
8477
  accessibilityActions = _ref.accessibilityActions;
8478
- useDeprecation$1("".concat(icon, " icon is deprecated and will be removed in the next major release, please use ").concat(icon.replace('carat', 'caret'), " instead."), icon.startsWith('carat'));
8478
+ useDeprecation("".concat(icon, " icon is deprecated and will be removed in the next major release, please use ").concat(icon.replace('carat', 'caret'), " instead."), icon.startsWith('carat'));
8479
8479
  var accessibilityProps = {
8480
8480
  accessibilityLabel: accessibilityLabel,
8481
8481
  accessibilityHint: accessibilityHint,
@@ -8527,7 +8527,7 @@ var StyledText$3 = index$b(reactNative.Text)(function (_ref) {
8527
8527
  });
8528
8528
  });
8529
8529
 
8530
- var _excluded$P = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
8530
+ var _excluded$O = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
8531
8531
  var Text = function Text(_ref) {
8532
8532
  var children = _ref.children,
8533
8533
  _ref$fontSize = _ref.fontSize,
@@ -8540,8 +8540,8 @@ var Text = function Text(_ref) {
8540
8540
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8541
8541
  _ref$allowFontScaling = _ref.allowFontScaling,
8542
8542
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8543
- nativeProps = _objectWithoutProperties(_ref, _excluded$P);
8544
- useDeprecation$1('Typography.Text is deprecated and will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.');
8543
+ nativeProps = _objectWithoutProperties(_ref, _excluded$O);
8544
+ useDeprecation('Typography.Text is deprecated and will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.');
8545
8545
  return /*#__PURE__*/React__namespace.default.createElement(StyledText$3, _extends$1({}, nativeProps, {
8546
8546
  themeFontSize: fontSize,
8547
8547
  themeFontWeight: fontWeight,
@@ -8570,7 +8570,7 @@ var StyledCaption = index$b(reactNative.Text)(function (_ref) {
8570
8570
  };
8571
8571
  });
8572
8572
 
8573
- var _excluded$O = ["children", "fontWeight", "intent", "allowFontScaling"];
8573
+ var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling"];
8574
8574
  var Caption = function Caption(_ref) {
8575
8575
  var children = _ref.children,
8576
8576
  _ref$fontWeight = _ref.fontWeight,
@@ -8579,7 +8579,7 @@ var Caption = function Caption(_ref) {
8579
8579
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
8580
8580
  _ref$allowFontScaling = _ref.allowFontScaling,
8581
8581
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8582
- nativeProps = _objectWithoutProperties(_ref, _excluded$O);
8582
+ nativeProps = _objectWithoutProperties(_ref, _excluded$N);
8583
8583
  return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
8584
8584
  themeFontWeight: fontWeight,
8585
8585
  themeIntent: intent,
@@ -8598,14 +8598,14 @@ var StyledLabel$2 = index$b(reactNative.Text)(function (_ref) {
8598
8598
  };
8599
8599
  });
8600
8600
 
8601
- var _excluded$N = ["children", "intent", "allowFontScaling"];
8601
+ var _excluded$M = ["children", "intent", "allowFontScaling"];
8602
8602
  var Label = function Label(_ref) {
8603
8603
  var children = _ref.children,
8604
8604
  _ref$intent = _ref.intent,
8605
8605
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
8606
8606
  _ref$allowFontScaling = _ref.allowFontScaling,
8607
8607
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8608
- nativeProps = _objectWithoutProperties(_ref, _excluded$N);
8608
+ nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8609
8609
  return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$2, _extends$1({}, nativeProps, {
8610
8610
  themeIntent: intent,
8611
8611
  allowFontScaling: allowFontScaling
@@ -8626,7 +8626,7 @@ var StyledTitle$1 = index$b(reactNative.Text)(function (_ref) {
8626
8626
  };
8627
8627
  });
8628
8628
 
8629
- var _excluded$M = ["children", "intent", "allowFontScaling", "level", "typeface"];
8629
+ var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface"];
8630
8630
  var Title = function Title(_ref) {
8631
8631
  var children = _ref.children,
8632
8632
  _ref$intent = _ref.intent,
@@ -8637,7 +8637,7 @@ var Title = function Title(_ref) {
8637
8637
  level = _ref$level === void 0 ? 'h1' : _ref$level,
8638
8638
  _ref$typeface = _ref.typeface,
8639
8639
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8640
- nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8640
+ nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8641
8641
  return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
8642
8642
  themeLevel: level,
8643
8643
  themeTypeface: typeface,
@@ -8672,7 +8672,7 @@ var StyledBody$2 = index$b(reactNative.Text)(function (_ref) {
8672
8672
  };
8673
8673
  });
8674
8674
 
8675
- var _excluded$L = ["children", "intent", "allowFontScaling", "typeface", "variant"];
8675
+ var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant"];
8676
8676
  var Body = function Body(_ref) {
8677
8677
  var children = _ref.children,
8678
8678
  _ref$intent = _ref.intent,
@@ -8683,7 +8683,7 @@ var Body = function Body(_ref) {
8683
8683
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8684
8684
  _ref$variant = _ref.variant,
8685
8685
  variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
8686
- nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8686
+ nativeProps = _objectWithoutProperties(_ref, _excluded$K);
8687
8687
  return /*#__PURE__*/React__namespace.default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
8688
8688
  themeTypeface: typeface,
8689
8689
  themeIntent: intent,
@@ -9109,7 +9109,7 @@ var Button = function Button(_ref) {
9109
9109
  _useState2 = _slicedToArray(_useState, 2),
9110
9110
  isPressed = _useState2[0],
9111
9111
  setIsPressed = _useState2[1];
9112
- useDeprecation$1("Button variant ".concat(deprecatedVariants.join(', '), " are deprecated."), deprecatedVariants.includes(themeVariant));
9112
+ useDeprecation("Button variant ".concat(deprecatedVariants.join(', '), " are deprecated."), deprecatedVariants.includes(themeVariant));
9113
9113
  var isCompactVariant = ['filled-compact', 'outlined-compact', 'text-compact', 'inline-text-compact'].includes(variant);
9114
9114
  var isRenderTextVariant = isTextVariant(themeVariant);
9115
9115
  var renderTextVariantTitle = function renderTextVariantTitle() {
@@ -9296,11 +9296,11 @@ var Header = function Header(_ref) {
9296
9296
  }))) : null), showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null);
9297
9297
  };
9298
9298
 
9299
- var _excluded$K = ["scrollEventThrottle"];
9299
+ var _excluded$J = ["scrollEventThrottle"];
9300
9300
  var BottomSheetScrollView = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9301
9301
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
9302
9302
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
9303
- props = _objectWithoutProperties(_ref, _excluded$K);
9303
+ props = _objectWithoutProperties(_ref, _excluded$J);
9304
9304
  var _useContext = React.useContext(BottomSheetContext),
9305
9305
  setInternalShowDivider = _useContext.setInternalShowDivider;
9306
9306
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -9633,7 +9633,7 @@ var borderWidths = {
9633
9633
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
9634
9634
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
9635
9635
 
9636
- var _excluded$J = ["theme"];
9636
+ var _excluded$I = ["theme"];
9637
9637
  var getThemeValue = function getThemeValue(theme, key, props) {
9638
9638
  var propConfig = config[key];
9639
9639
  var propValue = props[key];
@@ -9660,18 +9660,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
9660
9660
  var configKeys = Object.keys(config);
9661
9661
  var StyledBox = index$b(reactNative.View)(function (_ref5) {
9662
9662
  var theme = _ref5.theme,
9663
- otherProps = _objectWithoutProperties(_ref5, _excluded$J);
9663
+ otherProps = _objectWithoutProperties(_ref5, _excluded$I);
9664
9664
  var styleProps = pick(configKeys, otherProps);
9665
9665
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
9666
9666
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
9667
9667
  });
9668
9668
 
9669
- var _excluded$I = ["children", "style", "testID"];
9669
+ var _excluded$H = ["children", "style", "testID"];
9670
9670
  var Box = function Box(_ref) {
9671
9671
  var children = _ref.children,
9672
9672
  style = _ref.style,
9673
9673
  testID = _ref.testID,
9674
- otherProps = _objectWithoutProperties(_ref, _excluded$I);
9674
+ otherProps = _objectWithoutProperties(_ref, _excluded$H);
9675
9675
  return /*#__PURE__*/React__namespace.default.createElement(StyledBox, _extends$1({}, otherProps, {
9676
9676
  style: style,
9677
9677
  testID: testID
@@ -9807,7 +9807,7 @@ var StyledErrorAndMaxLengthContainer = index$b(reactNative.View)(function () {
9807
9807
  };
9808
9808
  });
9809
9809
 
9810
- var _excluded$H = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
9810
+ var _excluded$G = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
9811
9811
  var getState$4 = function getState(_ref) {
9812
9812
  var disabled = _ref.disabled,
9813
9813
  error = _ref.error,
@@ -9899,7 +9899,7 @@ var getDisplayText = function getDisplayText(value, defaultValue) {
9899
9899
  var _ref7;
9900
9900
  return (_ref7 = value !== undefined ? value : defaultValue) !== null && _ref7 !== void 0 ? _ref7 : '';
9901
9901
  };
9902
- var TextInput$2 = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
9902
+ var TextInput$1 = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
9903
9903
  var label = _ref8.label,
9904
9904
  prefix = _ref8.prefix,
9905
9905
  suffix = _ref8.suffix,
@@ -9926,7 +9926,7 @@ var TextInput$2 = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
9926
9926
  allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
9927
9927
  _ref8$variant = _ref8.variant,
9928
9928
  variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
9929
- nativeProps = _objectWithoutProperties(_ref8, _excluded$H);
9929
+ nativeProps = _objectWithoutProperties(_ref8, _excluded$G);
9930
9930
  var displayText = getDisplayText(value, defaultValue);
9931
9931
  var isEmptyValue = displayText.length === 0;
9932
9932
  var _React$useState = React__namespace.default.useState({
@@ -10276,8 +10276,8 @@ var SectionHeading = function SectionHeading(_ref) {
10276
10276
  size = _ref$size === void 0 ? 'medium' : _ref$size,
10277
10277
  style = _ref.style,
10278
10278
  testID = _ref.testID;
10279
- useDeprecation$1("SectionHeading's fontSize prop is deprecated and will be removed in the next major release, please remove it.", fontSize !== undefined);
10280
- useDeprecation$1("SectionHeading's fontWeight prop is deprecated and will be removed in the next major release, please remove it.", fontWeight !== undefined);
10279
+ useDeprecation("SectionHeading's fontSize prop is deprecated and will be removed in the next major release, please remove it.", fontSize !== undefined);
10280
+ useDeprecation("SectionHeading's fontWeight prop is deprecated and will be removed in the next major release, please remove it.", fontWeight !== undefined);
10281
10281
  return /*#__PURE__*/React__namespace.default.createElement(StyledHeading, {
10282
10282
  themeSize: size,
10283
10283
  style: style,
@@ -10403,14 +10403,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
10403
10403
  }, dotProps))));
10404
10404
  };
10405
10405
 
10406
- var _excluded$G = ["testID", "size", "intent"];
10406
+ var _excluded$F = ["testID", "size", "intent"];
10407
10407
  var Spinner = function Spinner(_ref) {
10408
10408
  var testID = _ref.testID,
10409
10409
  _ref$size = _ref.size,
10410
10410
  size = _ref$size === void 0 ? 'medium' : _ref$size,
10411
10411
  _ref$intent = _ref.intent,
10412
10412
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
10413
- nativeProps = _objectWithoutProperties(_ref, _excluded$G);
10413
+ nativeProps = _objectWithoutProperties(_ref, _excluded$F);
10414
10414
  return /*#__PURE__*/React__namespace.default.createElement(StyledView$2, nativeProps, /*#__PURE__*/React__namespace.default.createElement(StyledSpinnerContainer, {
10415
10415
  testID: testID
10416
10416
  }, /*#__PURE__*/React__namespace.default.createElement(AnimatedSpinner, {
@@ -10419,7 +10419,7 @@ var Spinner = function Spinner(_ref) {
10419
10419
  })));
10420
10420
  };
10421
10421
 
10422
- var _excluded$F = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
10422
+ var _excluded$E = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
10423
10423
  var BaseOptionList = function BaseOptionList(_ref) {
10424
10424
  var keyExtractor = _ref.keyExtractor,
10425
10425
  loading = _ref.loading,
@@ -10428,7 +10428,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
10428
10428
  sections = _ref.sections,
10429
10429
  renderItem = _ref.renderItem,
10430
10430
  sectionListRef = _ref.sectionListRef,
10431
- rest = _objectWithoutProperties(_ref, _excluded$F);
10431
+ rest = _objectWithoutProperties(_ref, _excluded$E);
10432
10432
  var theme = useTheme$1();
10433
10433
  var _useState = React.useState(false),
10434
10434
  _useState2 = _slicedToArray(_useState, 2),
@@ -10695,7 +10695,7 @@ var isOptionSelected = function isOptionSelected(value, option) {
10695
10695
  });
10696
10696
  };
10697
10697
 
10698
- var _excluded$E = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
10698
+ var _excluded$D = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
10699
10699
  var OptionList$1 = function OptionList(_ref) {
10700
10700
  var keyExtractor = _ref.keyExtractor,
10701
10701
  loading = _ref.loading,
@@ -10706,7 +10706,7 @@ var OptionList$1 = function OptionList(_ref) {
10706
10706
  renderOption = _ref.renderOption,
10707
10707
  value = _ref.value,
10708
10708
  sectionListRef = _ref.sectionListRef,
10709
- rest = _objectWithoutProperties(_ref, _excluded$E);
10709
+ rest = _objectWithoutProperties(_ref, _excluded$D);
10710
10710
  var renderItem = function renderItem(info) {
10711
10711
  var item = info.item;
10712
10712
  var selected = isOptionSelected(value, item);
@@ -10741,7 +10741,7 @@ var OptionList$1 = function OptionList(_ref) {
10741
10741
  }, rest));
10742
10742
  };
10743
10743
 
10744
- var _excluded$D = ["footerLabel", "label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig", "groupStyleEnabled"];
10744
+ var _excluded$C = ["footerLabel", "label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig", "groupStyleEnabled"];
10745
10745
 
10746
10746
  // Add an internal prop type for TextInputComponent, not exported
10747
10747
 
@@ -10774,7 +10774,7 @@ function MultiSelect$1(_ref) {
10774
10774
  bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
10775
10775
  _ref$groupStyleEnable = _ref.groupStyleEnabled,
10776
10776
  groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable,
10777
- rest = _objectWithoutProperties(_ref, _excluded$D);
10777
+ rest = _objectWithoutProperties(_ref, _excluded$C);
10778
10778
  var _useKeyboard = useKeyboard(),
10779
10779
  isKeyboardVisible = _useKeyboard.isKeyboardVisible,
10780
10780
  keyboardHeight = _useKeyboard.keyboardHeight;
@@ -10797,7 +10797,7 @@ function MultiSelect$1(_ref) {
10797
10797
  var rawValue = value.length > 0 ? value.join(', ') : '';
10798
10798
  var bottomSheetVariant = bottomSheetConfig.variant,
10799
10799
  bottomSheetHeader = bottomSheetConfig.header;
10800
- var TextInputComponent = rest.TextInputComponent || TextInput$2;
10800
+ var TextInputComponent = rest.TextInputComponent || TextInput$1;
10801
10801
  var onPress = React.useCallback(function () {
10802
10802
  setOpen(true);
10803
10803
  }, []);
@@ -10914,7 +10914,7 @@ var StyledOptionList = index$b(BaseOptionList)(function (_ref) {
10914
10914
  };
10915
10915
  });
10916
10916
 
10917
- var _excluded$C = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
10917
+ var _excluded$B = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
10918
10918
  var OptionList = function OptionList(_ref) {
10919
10919
  var keyExtractor = _ref.keyExtractor,
10920
10920
  loading = _ref.loading,
@@ -10925,7 +10925,7 @@ var OptionList = function OptionList(_ref) {
10925
10925
  renderOption = _ref.renderOption,
10926
10926
  value = _ref.value,
10927
10927
  sectionListRef = _ref.sectionListRef,
10928
- rest = _objectWithoutProperties(_ref, _excluded$C);
10928
+ rest = _objectWithoutProperties(_ref, _excluded$B);
10929
10929
  var renderItem = function renderItem(info) {
10930
10930
  var item = info.item;
10931
10931
  var selected = _deepCompareValue(item.value, value);
@@ -10961,7 +10961,7 @@ var OptionList = function OptionList(_ref) {
10961
10961
  }, rest));
10962
10962
  };
10963
10963
 
10964
- var _excluded$B = ["label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig", "groupStyleEnabled"];
10964
+ var _excluded$A = ["label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig", "groupStyleEnabled"];
10965
10965
 
10966
10966
  // Add an internal prop type for TextInputComponent, not exported
10967
10967
 
@@ -10994,7 +10994,7 @@ var SingleSelect$1 = function SingleSelect(_ref) {
10994
10994
  bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
10995
10995
  _ref$groupStyleEnable = _ref.groupStyleEnabled,
10996
10996
  groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable,
10997
- rest = _objectWithoutProperties(_ref, _excluded$B);
10997
+ rest = _objectWithoutProperties(_ref, _excluded$A);
10998
10998
  var _useKeyboard = useKeyboard(),
10999
10999
  isKeyboardVisible = _useKeyboard.isKeyboardVisible,
11000
11000
  keyboardHeight = _useKeyboard.keyboardHeight;
@@ -11011,7 +11011,7 @@ var SingleSelect$1 = function SingleSelect(_ref) {
11011
11011
  var rawValue = value ? String(value) : undefined;
11012
11012
  var bottomSheetVariant = bottomSheetConfig.variant,
11013
11013
  bottomSheetHeader = bottomSheetConfig.header;
11014
- var TextInputComponent = rest.TextInputComponent || TextInput$2;
11014
+ var TextInputComponent = rest.TextInputComponent || TextInput$1;
11015
11015
  var onPress = React.useCallback(function () {
11016
11016
  setOpen(true);
11017
11017
  }, []);
@@ -13506,7 +13506,7 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
13506
13506
  onChange: onChange,
13507
13507
  value: value
13508
13508
  });
13509
- var InputComponent = TextInputComponent || TextInput$2;
13509
+ var InputComponent = TextInputComponent || TextInput$1;
13510
13510
  var onPress = React.useCallback(function () {
13511
13511
  setOpen(true);
13512
13512
  }, []);
@@ -14355,7 +14355,7 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
14355
14355
  onChange: onChange,
14356
14356
  value: value
14357
14357
  });
14358
- var InputComponent = TextInputComponent || TextInput$2;
14358
+ var InputComponent = TextInputComponent || TextInput$1;
14359
14359
  var onPress = React.useCallback(function () {
14360
14360
  setOpen(true);
14361
14361
  }, []);
@@ -14531,7 +14531,7 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
14531
14531
  onChange: onChange,
14532
14532
  value: value
14533
14533
  });
14534
- var InputComponent = TextInputComponent || TextInput$2;
14534
+ var InputComponent = TextInputComponent || TextInput$1;
14535
14535
  var onPress = React.useCallback(function () {
14536
14536
  setOpen(true);
14537
14537
  }, []);
@@ -14578,13 +14578,13 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
14578
14578
  }));
14579
14579
  };
14580
14580
 
14581
- var _excluded$A = ["variant", "TextInputComponent"];
14581
+ var _excluded$z = ["variant", "TextInputComponent"];
14582
14582
  var DatePicker$1 = function DatePicker(_ref) {
14583
14583
  var _ref$variant = _ref.variant,
14584
14584
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
14585
14585
  _ref$TextInputCompone = _ref.TextInputComponent,
14586
- TextInputComponent = _ref$TextInputCompone === void 0 ? TextInput$2 : _ref$TextInputCompone,
14587
- props = _objectWithoutProperties(_ref, _excluded$A);
14586
+ TextInputComponent = _ref$TextInputCompone === void 0 ? TextInput$1 : _ref$TextInputCompone,
14587
+ props = _objectWithoutProperties(_ref, _excluded$z);
14588
14588
  if (variant === 'calendar') {
14589
14589
  return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, _extends$1({}, props, {
14590
14590
  TextInputComponent: TextInputComponent
@@ -14666,7 +14666,7 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
14666
14666
  var is12Hour = displayFormat.includes('hh');
14667
14667
  var displayValue = value ? formatTime(displayFormat, value) : '';
14668
14668
  var pickerInitValue = value || new Date();
14669
- var InputComponent = TextInputComponent || TextInput$2;
14669
+ var InputComponent = TextInputComponent || TextInput$1;
14670
14670
  var onPress = React.useCallback(function () {
14671
14671
  setOpen(true);
14672
14672
  }, []);
@@ -14739,7 +14739,7 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
14739
14739
  var is12Hour = displayFormat.includes('hh');
14740
14740
  var displayValue = value ? formatTime(displayFormat, value) : '';
14741
14741
  var theme = useTheme();
14742
- var InputComponent = TextInputComponent || TextInput$2;
14742
+ var InputComponent = TextInputComponent || TextInput$1;
14743
14743
  React.useEffect(function () {
14744
14744
  setSelectingDate(value || new Date());
14745
14745
  }, [value]);
@@ -14940,7 +14940,7 @@ var AccordionItem = function AccordionItem(_ref) {
14940
14940
  }, content));
14941
14941
  };
14942
14942
 
14943
- var _excluded$z = ["key"];
14943
+ var _excluded$y = ["key"];
14944
14944
  var Accordion = function Accordion(_ref) {
14945
14945
  var items = _ref.items,
14946
14946
  activeItemKey = _ref.activeItemKey,
@@ -14961,7 +14961,7 @@ var Accordion = function Accordion(_ref) {
14961
14961
  testID: testID
14962
14962
  }, items.map(function (_ref2, index) {
14963
14963
  var key = _ref2.key,
14964
- props = _objectWithoutProperties(_ref2, _excluded$z);
14964
+ props = _objectWithoutProperties(_ref2, _excluded$y);
14965
14965
  var open = _activeItemKey === key;
14966
14966
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
14967
14967
  key: key
@@ -15073,7 +15073,7 @@ var Alert = function Alert(_ref2) {
15073
15073
  style = _ref2.style,
15074
15074
  testID = _ref2.testID,
15075
15075
  actionLabel = _ref2.actionLabel;
15076
- useDeprecation$1("Alert's notification intent is deprecated and will be removed in the next major release. Please use other intents instead.", intent === 'notification');
15076
+ useDeprecation("Alert's notification intent is deprecated and will be removed in the next major release. Please use other intents instead.", intent === 'notification');
15077
15077
  return /*#__PURE__*/React__namespace.default.createElement(Container$1, {
15078
15078
  themeVariant: variant,
15079
15079
  themeIntent: intent,
@@ -15881,7 +15881,7 @@ var StyledIcon$4 = index$b(Icon)(function (_ref6) {
15881
15881
  };
15882
15882
  });
15883
15883
 
15884
- var _excluded$y = ["children", "visible", "intent", "style", "testID"];
15884
+ var _excluded$x = ["children", "visible", "intent", "style", "testID"];
15885
15885
  var Status$1 = function Status(_ref) {
15886
15886
  var children = _ref.children,
15887
15887
  _ref$visible = _ref.visible,
@@ -15890,7 +15890,7 @@ var Status$1 = function Status(_ref) {
15890
15890
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
15891
15891
  style = _ref.style,
15892
15892
  testID = _ref.testID,
15893
- nativeProps = _objectWithoutProperties(_ref, _excluded$y);
15893
+ nativeProps = _objectWithoutProperties(_ref, _excluded$x);
15894
15894
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
15895
15895
  opacity = _React$useRef.current;
15896
15896
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -15926,7 +15926,7 @@ var Status$1 = function Status(_ref) {
15926
15926
 
15927
15927
  var DEFAULT_MAX_NUMBER = 99;
15928
15928
 
15929
- var _excluded$x = ["children", "visible", "style", "max", "testID", "content"];
15929
+ var _excluded$w = ["children", "visible", "style", "max", "testID", "content"];
15930
15930
  var Status = function Status(_ref) {
15931
15931
  var children = _ref.children,
15932
15932
  _ref$visible = _ref.visible,
@@ -15936,7 +15936,7 @@ var Status = function Status(_ref) {
15936
15936
  max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
15937
15937
  testID = _ref.testID,
15938
15938
  originalContent = _ref.content,
15939
- nativeProps = _objectWithoutProperties(_ref, _excluded$x);
15939
+ nativeProps = _objectWithoutProperties(_ref, _excluded$w);
15940
15940
  var content = React.useMemo(function () {
15941
15941
  return originalContent > max ? "".concat(max, "+") : String(originalContent);
15942
15942
  }, [originalContent, max]);
@@ -15948,7 +15948,7 @@ var Status = function Status(_ref) {
15948
15948
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCountText, null, content)));
15949
15949
  };
15950
15950
 
15951
- var _excluded$w = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
15951
+ var _excluded$v = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
15952
15952
  var getPaddingState = function getPaddingState(content) {
15953
15953
  return content.length > 1 ? 'wideContent' : 'narrowContent';
15954
15954
  };
@@ -15967,7 +15967,7 @@ var Badge = function Badge(_ref) {
15967
15967
  _ref$variant = _ref.variant,
15968
15968
  variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
15969
15969
  icon = _ref.icon,
15970
- nativeProps = _objectWithoutProperties(_ref, _excluded$w);
15970
+ nativeProps = _objectWithoutProperties(_ref, _excluded$v);
15971
15971
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
15972
15972
  opacity = _React$useRef.current;
15973
15973
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -16066,7 +16066,7 @@ var StyledBottomBarText = index$b(Typography.Caption)(function (_ref3) {
16066
16066
  };
16067
16067
  });
16068
16068
 
16069
- var _excluded$v = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
16069
+ var _excluded$u = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
16070
16070
  var getInactiveIcon = function getInactiveIcon(icon) {
16071
16071
  var inactiveIcon = "".concat(icon, "-outlined");
16072
16072
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -16077,7 +16077,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
16077
16077
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
16078
16078
  selectedTabKey = _ref.selectedTabKey,
16079
16079
  tabs = _ref.tabs,
16080
- nativeProps = _objectWithoutProperties(_ref, _excluded$v);
16080
+ nativeProps = _objectWithoutProperties(_ref, _excluded$u);
16081
16081
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
16082
16082
 
16083
16083
  /**
@@ -16164,12 +16164,12 @@ var Indicator = index$b(reactNative.View)(function (_ref2) {
16164
16164
  };
16165
16165
  });
16166
16166
 
16167
- var _excluded$u = ["intent", "children"];
16167
+ var _excluded$t = ["intent", "children"];
16168
16168
  var DataCard = function DataCard(_ref) {
16169
16169
  var _ref$intent = _ref.intent,
16170
16170
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
16171
16171
  children = _ref.children,
16172
- nativeProps = _objectWithoutProperties(_ref, _excluded$u);
16172
+ nativeProps = _objectWithoutProperties(_ref, _excluded$t);
16173
16173
  return /*#__PURE__*/React__namespace.default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__namespace.default.createElement(Indicator, {
16174
16174
  themeIntent: intent,
16175
16175
  testID: "data-card-indicator"
@@ -16188,13 +16188,13 @@ var StyledCard$1 = index$b(reactNative.View)(function (_ref) {
16188
16188
  });
16189
16189
  });
16190
16190
 
16191
- var _excluded$t = ["intent", "children", "variant"];
16191
+ var _excluded$s = ["intent", "children", "variant"];
16192
16192
  var Card = function Card(_ref) {
16193
16193
  var intent = _ref.intent,
16194
16194
  children = _ref.children,
16195
16195
  _ref$variant = _ref.variant,
16196
16196
  variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
16197
- nativeProps = _objectWithoutProperties(_ref, _excluded$t);
16197
+ nativeProps = _objectWithoutProperties(_ref, _excluded$s);
16198
16198
  return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
16199
16199
  themeIntent: intent,
16200
16200
  themeVariant: variant
@@ -16462,7 +16462,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
16462
16462
  });
16463
16463
  CardCarousel.displayName = 'CardCarousel';
16464
16464
 
16465
- var _excluded$s = ["rounded", "size", "testID", "style"];
16465
+ var _excluded$r = ["rounded", "size", "testID", "style"];
16466
16466
  var Image = function Image(_ref) {
16467
16467
  var _ref$rounded = _ref.rounded,
16468
16468
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -16470,8 +16470,8 @@ var Image = function Image(_ref) {
16470
16470
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
16471
16471
  testID = _ref.testID,
16472
16472
  style = _ref.style,
16473
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$s);
16474
- useDeprecation$1('Image component will soon be deprecated. Please use `Image` from `react-native` instead.');
16473
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$r);
16474
+ useDeprecation('Image component will soon be deprecated. Please use `Image` from `react-native` instead.');
16475
16475
  var theme = useTheme();
16476
16476
  var imageSize = theme.__hd__.image.sizes[size];
16477
16477
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.Image, _extends$1({
@@ -16605,7 +16605,7 @@ var CarouselItem = function CarouselItem(_ref) {
16605
16605
  }, heading), !!body && /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, body)));
16606
16606
  };
16607
16607
 
16608
- var _excluded$r = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
16608
+ var _excluded$q = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
16609
16609
  function useStateFromProp(initialValue) {
16610
16610
  var _useState = React.useState(initialValue),
16611
16611
  _useState2 = _slicedToArray(_useState, 2),
@@ -16632,9 +16632,9 @@ var Carousel = function Carousel(_ref) {
16632
16632
  testID = _ref.testID,
16633
16633
  _ref$pageControlPosit = _ref.pageControlPosition,
16634
16634
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
16635
- nativeProps = _objectWithoutProperties(_ref, _excluded$r);
16636
- useDeprecation$1("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
16637
- useDeprecation$1("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
16635
+ nativeProps = _objectWithoutProperties(_ref, _excluded$q);
16636
+ useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
16637
+ useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
16638
16638
  var theme = useTheme();
16639
16639
  var carouselRef = React.useRef(null);
16640
16640
  var _useStateFromProp = useStateFromProp(selectedItemIndex),
@@ -21772,7 +21772,7 @@ var StyledChipIcon = index$b(Icon)(function (_ref2) {
21772
21772
  };
21773
21773
  });
21774
21774
 
21775
- var _excluded$q = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
21775
+ var _excluded$p = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
21776
21776
  var getChipLabel = function getChipLabel(label) {
21777
21777
  if (typeof label === 'string') {
21778
21778
  return /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
@@ -21805,8 +21805,8 @@ var Chip = function Chip(_ref) {
21805
21805
  onPress = _ref.onPress,
21806
21806
  _ref$showSelectedIcon = _ref.showSelectedIcon,
21807
21807
  showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
21808
- otherProps = _objectWithoutProperties(_ref, _excluded$q);
21809
- useDeprecation$1('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
21808
+ otherProps = _objectWithoutProperties(_ref, _excluded$p);
21809
+ useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
21810
21810
  var renamedVariant = getChipVariant(variant);
21811
21811
  var shouldShowSelectedIcon = (renamedVariant === 'selection' || renamedVariant === 'compact-outlined') && selected && showSelectedIcon;
21812
21812
  var chipLabel = React.useMemo(function () {
@@ -21902,7 +21902,7 @@ var Checkbox = function Checkbox(_ref2) {
21902
21902
  testID = _ref2.testID,
21903
21903
  _ref2$readonly = _ref2.readonly,
21904
21904
  readonly = _ref2$readonly === void 0 ? false : _ref2$readonly;
21905
- useDeprecation$1("Checkbox's withBorder prop will be removed in the next major release, all checkboxes will have border by default. Please remove it.", withBorder === true);
21905
+ useDeprecation("Checkbox's withBorder prop will be removed in the next major release, all checkboxes will have border by default. Please remove it.", withBorder === true);
21906
21906
  var themeState = getThemeState({
21907
21907
  disabled: disabled,
21908
21908
  readonly: readonly,
@@ -23196,7 +23196,7 @@ var Portal$1 = Object.assign(Portal, {
23196
23196
  Host: PortalHost
23197
23197
  });
23198
23198
 
23199
- var _excluded$p = ["visible"];
23199
+ var _excluded$o = ["visible"];
23200
23200
  var DEFAULT_BACKDROP_OPACITY = 0.4;
23201
23201
  var DEFAULT_ANIMATION_CONFIG = {
23202
23202
  easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
@@ -23295,7 +23295,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
23295
23295
  var ModalWrapper = function ModalWrapper(_ref3) {
23296
23296
  var _ref3$visible = _ref3.visible,
23297
23297
  visible = _ref3$visible === void 0 ? true : _ref3$visible,
23298
- props = _objectWithoutProperties(_ref3, _excluded$p);
23298
+ props = _objectWithoutProperties(_ref3, _excluded$o);
23299
23299
  var modalRef = React.useRef(null);
23300
23300
  var _useState = React.useState(visible),
23301
23301
  _useState2 = _slicedToArray(_useState, 2),
@@ -23406,7 +23406,7 @@ var StyledErrorDescription = index$b(Typography.Body)(function (_ref9) {
23406
23406
  };
23407
23407
  });
23408
23408
 
23409
- var _excluded$o = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
23409
+ var _excluded$n = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
23410
23410
  _excluded2$1 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
23411
23411
  var renderImage$1 = function renderImage(image) {
23412
23412
  if (/*#__PURE__*/React.isValidElement(image)) {
@@ -23447,7 +23447,7 @@ var ErrorPage = function ErrorPage(_ref2) {
23447
23447
  secondaryCtaText = _ref2.secondaryCtaText,
23448
23448
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
23449
23449
  icon = _ref2.icon,
23450
- nativeProps = _objectWithoutProperties(_ref2, _excluded$o);
23450
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$n);
23451
23451
  var showCta = ctaText && onCtaPress !== undefined;
23452
23452
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
23453
23453
  var showButtonContainer = showCta || showSecondaryCta;
@@ -23492,7 +23492,7 @@ var ErrorComponent = function ErrorComponent(_ref3) {
23492
23492
  secondaryCtaText = _ref3.secondaryCtaText,
23493
23493
  onSecondaryCtaPress = _ref3.onSecondaryCtaPress,
23494
23494
  nativeProps = _objectWithoutProperties(_ref3, _excluded2$1);
23495
- useDeprecation$1("Visible prop is deprecated. Use conditional rendering instead", visible);
23495
+ useDeprecation("Visible prop is deprecated. Use conditional rendering instead", visible);
23496
23496
  var _useState = React.useState(visible),
23497
23497
  _useState2 = _slicedToArray(_useState, 2),
23498
23498
  isVisible = _useState2[0],
@@ -23674,13 +23674,13 @@ var ActionItem = function ActionItem(_ref) {
23674
23674
  })), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
23675
23675
  };
23676
23676
 
23677
- var _excluded$n = ["active"];
23677
+ var _excluded$m = ["active"];
23678
23678
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
23679
23679
  return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
23680
23680
  }));
23681
23681
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
23682
23682
  var active = _ref.active,
23683
- iconProps = _objectWithoutProperties(_ref, _excluded$n);
23683
+ iconProps = _objectWithoutProperties(_ref, _excluded$m);
23684
23684
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
23685
23685
  React.useEffect(function () {
23686
23686
  var animation = reactNative.Animated.spring(rotateAnimation.current, {
@@ -23929,7 +23929,7 @@ var ActionGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
23929
23929
  fabIcon = _ref$fabIcon === void 0 ? 'add' : _ref$fabIcon,
23930
23930
  _ref$supportedOrienta = _ref.supportedOrientations,
23931
23931
  supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta;
23932
- useDeprecation$1("FAB.ActionGroup's headerTitle prop will be removed in the next major release. Please remove it.", headerTitle !== undefined);
23932
+ useDeprecation("FAB.ActionGroup's headerTitle prop will be removed in the next major release. Please remove it.", headerTitle !== undefined);
23933
23933
  var theme = useTheme();
23934
23934
  var fabRef = React.useRef(null);
23935
23935
  var animatedValue = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
@@ -24045,11 +24045,11 @@ var StyledFAB = index$b(FAB$1)(function (_ref) {
24045
24045
  };
24046
24046
  });
24047
24047
 
24048
- var _excluded$m = ["fabConfig", "onCancel"];
24048
+ var _excluded$l = ["fabConfig", "onCancel"];
24049
24049
  var Pair = function Pair(_ref) {
24050
24050
  var fabConfig = _ref.fabConfig,
24051
24051
  onCancel = _ref.onCancel,
24052
- props = _objectWithoutProperties(_ref, _excluded$m);
24052
+ props = _objectWithoutProperties(_ref, _excluded$l);
24053
24053
  var icon = fabConfig.icon,
24054
24054
  title = fabConfig.title,
24055
24055
  onPress = fabConfig.onPress,
@@ -24363,7 +24363,7 @@ var ToastProvider = function ToastProvider(_ref) {
24363
24363
  displayType = _ref$displayType === void 0 ? 'single' : _ref$displayType,
24364
24364
  _position = _ref.position;
24365
24365
  var position = _position === undefined ? 'bottom' : _position;
24366
- useDeprecation$1("Toast's position prop is deprecated and will be removed in the next major release.\nPlease remove it.", _position !== undefined);
24366
+ useDeprecation("Toast's position prop is deprecated and will be removed in the next major release.\nPlease remove it.", _position !== undefined);
24367
24367
  var toastRef = React.useRef(null);
24368
24368
  var _useState = React.useState(),
24369
24369
  _useState2 = _slicedToArray(_useState, 2),
@@ -24779,11 +24779,11 @@ var StyledFocusIcon = index$b(Icon)(function (_ref7) {
24779
24779
  };
24780
24780
  });
24781
24781
 
24782
- var _excluded$l = ["style", "testID"];
24782
+ var _excluded$k = ["style", "testID"];
24783
24783
  var MapPinFocussed = function MapPinFocussed(_ref) {
24784
24784
  var style = _ref.style,
24785
24785
  testID = _ref.testID,
24786
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
24786
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
24787
24787
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
24788
24788
  style: style,
24789
24789
  testID: testID
@@ -24793,7 +24793,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
24793
24793
  }));
24794
24794
  };
24795
24795
 
24796
- var _excluded$k = ["style", "testID", "state", "image", "icon"];
24796
+ var _excluded$j = ["style", "testID", "state", "image", "icon"];
24797
24797
  var getBadgeIconName = function getBadgeIconName(state) {
24798
24798
  var iconMap = {
24799
24799
  idle: undefined,
@@ -24809,7 +24809,7 @@ var MapPin = function MapPin(_ref) {
24809
24809
  state = _ref$state === void 0 ? 'idle' : _ref$state,
24810
24810
  image = _ref.image,
24811
24811
  icon = _ref.icon,
24812
- nativeProps = _objectWithoutProperties(_ref, _excluded$k);
24812
+ nativeProps = _objectWithoutProperties(_ref, _excluded$j);
24813
24813
  var badgeIcon = getBadgeIconName(state);
24814
24814
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
24815
24815
  style: style,
@@ -25126,7 +25126,7 @@ var THEME_INTENT_MAP = {
25126
25126
  'archived-inverted': 'archivedInverted'
25127
25127
  };
25128
25128
 
25129
- var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
25129
+ var _excluded$i = ["value", "renderValue", "intent", "style", "testID"];
25130
25130
  var defaultRenderValue = function defaultRenderValue(value) {
25131
25131
  return "".concat(value, "%");
25132
25132
  };
@@ -25139,7 +25139,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
25139
25139
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25140
25140
  style = _ref.style,
25141
25141
  testID = _ref.testID,
25142
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
25142
+ nativeProps = _objectWithoutProperties(_ref, _excluded$i);
25143
25143
  var theme = useTheme$1();
25144
25144
  var size = theme.__hd__.progress.sizes.circleDiameter;
25145
25145
  var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
@@ -25210,14 +25210,14 @@ var StyledInner = index$b(reactNative.Animated.View)(function (_ref2) {
25210
25210
  };
25211
25211
  });
25212
25212
 
25213
- var _excluded$i = ["value", "intent", "style", "testID"];
25213
+ var _excluded$h = ["value", "intent", "style", "testID"];
25214
25214
  var ProgressBar = function ProgressBar(_ref) {
25215
25215
  var value = _ref.value,
25216
25216
  _ref$intent = _ref.intent,
25217
25217
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25218
25218
  style = _ref.style,
25219
25219
  testID = _ref.testID,
25220
- nativeProps = _objectWithoutProperties(_ref, _excluded$i);
25220
+ nativeProps = _objectWithoutProperties(_ref, _excluded$h);
25221
25221
  var _useState = React.useState(0),
25222
25222
  _useState2 = _slicedToArray(_useState, 2),
25223
25223
  width = _useState2[0],
@@ -25307,7 +25307,7 @@ var StyledSingleStep = index$b(Box)(function (_ref3) {
25307
25307
  };
25308
25308
  });
25309
25309
 
25310
- var _excluded$h = ["steps", "current", "onLayout"];
25310
+ var _excluded$g = ["steps", "current", "onLayout"];
25311
25311
  var getStepState = function getStepState(current, index) {
25312
25312
  if (index < current) {
25313
25313
  return 'complete';
@@ -25321,7 +25321,7 @@ var ProgressStep = function ProgressStep(_ref) {
25321
25321
  var steps = _ref.steps,
25322
25322
  current = _ref.current,
25323
25323
  onLayout = _ref.onLayout,
25324
- props = _objectWithoutProperties(_ref, _excluded$h);
25324
+ props = _objectWithoutProperties(_ref, _excluded$g);
25325
25325
  var theme = useTheme$1();
25326
25326
  var _React$useState = React__namespace.default.useState(0),
25327
25327
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -25551,7 +25551,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
25551
25551
  }, children);
25552
25552
  };
25553
25553
 
25554
- var _excluded$g = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
25554
+ var _excluded$f = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
25555
25555
 
25556
25556
  // We are supporting both v1 and v2 of RNGH at the same time.
25557
25557
  // SwipeableProps is only exported in v2, so we have to use ComponentProps.
@@ -25584,7 +25584,7 @@ var Swipeable = function Swipeable(_ref) {
25584
25584
  rightActionsWidth = _ref.rightActionsWidth,
25585
25585
  _ref$variant = _ref.variant,
25586
25586
  variant = _ref$variant === void 0 ? 'card' : _ref$variant,
25587
- swipeableProps = _objectWithoutProperties(_ref, _excluded$g);
25587
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$f);
25588
25588
  var theme = useTheme();
25589
25589
  var _useWindowDimensions = reactNative.useWindowDimensions(),
25590
25590
  width = _useWindowDimensions.width;
@@ -25789,7 +25789,7 @@ var StyledGradientContainer = index$b(Box)(function (_ref2) {
25789
25789
  };
25790
25790
  });
25791
25791
 
25792
- var _excluded$f = ["intent", "variant", "style", "onLayout"];
25792
+ var _excluded$e = ["intent", "variant", "style", "onLayout"];
25793
25793
  var AnimatedLinearGradient = reactNative.Animated.createAnimatedComponent(LinearGradient__default.default);
25794
25794
  var gradientPositions = {
25795
25795
  start: {
@@ -25821,7 +25821,7 @@ var Skeleton = function Skeleton(_ref) {
25821
25821
  variant = _ref$variant === void 0 ? 'rounded' : _ref$variant,
25822
25822
  style = _ref.style,
25823
25823
  onLayout = _ref.onLayout,
25824
- props = _objectWithoutProperties(_ref, _excluded$f);
25824
+ props = _objectWithoutProperties(_ref, _excluded$e);
25825
25825
  var theme = useTheme();
25826
25826
  var colors = React.useMemo(function () {
25827
25827
  return getGradientColors(theme, intent);
@@ -25954,7 +25954,7 @@ var StyledSuccessModal = index$b(ModalWrapper)({
25954
25954
  width: '100%'
25955
25955
  });
25956
25956
 
25957
- var _excluded$e = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"];
25957
+ var _excluded$d = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"];
25958
25958
  var renderImage = function renderImage(image) {
25959
25959
  if (/*#__PURE__*/React.isValidElement(image)) {
25960
25960
  return /*#__PURE__*/React__namespace.default.cloneElement(image, {
@@ -25995,7 +25995,7 @@ var SuccessPage = function SuccessPage(_ref2) {
25995
25995
  secondaryCtaText = _ref2.secondaryCtaText,
25996
25996
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
25997
25997
  icon = _ref2.icon,
25998
- nativeProps = _objectWithoutProperties(_ref2, _excluded$e);
25998
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$d);
25999
25999
  var showSecondaryButton = secondaryCtaText && onSecondaryCtaPress;
26000
26000
  return /*#__PURE__*/React__namespace.default.createElement(StyledSuccessContainer, _extends$1({
26001
26001
  testID: testID,
@@ -27026,7 +27026,7 @@ var StyledText = index$b(Typography.Caption)(function (_ref2) {
27026
27026
  };
27027
27027
  });
27028
27028
 
27029
- var _excluded$d = ["content", "variant", "intent", "style", "testID"];
27029
+ var _excluded$c = ["content", "variant", "intent", "style", "testID"];
27030
27030
  var Tag = function Tag(_ref) {
27031
27031
  var content = _ref.content,
27032
27032
  _ref$variant = _ref.variant,
@@ -27035,8 +27035,8 @@ var Tag = function Tag(_ref) {
27035
27035
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
27036
27036
  style = _ref.style,
27037
27037
  testID = _ref.testID,
27038
- nativeProps = _objectWithoutProperties(_ref, _excluded$d);
27039
- useDeprecation$1("Tag's variant prop is deprecated and will be removed in the next major release. Please remove it.", variant !== undefined);
27038
+ nativeProps = _objectWithoutProperties(_ref, _excluded$c);
27039
+ useDeprecation("Tag's variant prop is deprecated and will be removed in the next major release. Please remove it.", variant !== undefined);
27040
27040
  return /*#__PURE__*/React__namespace.default.createElement(StyledView, _extends$1({}, nativeProps, {
27041
27041
  themeIntent: intent,
27042
27042
  style: style,
@@ -27233,7 +27233,7 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
27233
27233
  align = _ref$align === void 0 ? 'right' : _ref$align,
27234
27234
  _ref$items = _ref.items,
27235
27235
  items = _ref$items === void 0 ? [] : _ref$items;
27236
- useDeprecation$1("Toolbar's align prop is deprecated", align !== 'right');
27236
+ useDeprecation("Toolbar's align prop is deprecated", align !== 'right');
27237
27237
  return /*#__PURE__*/React__namespace.default.createElement(ToolbarGroupWrapper, {
27238
27238
  align: align
27239
27239
  }, items.map(function (_ref2) {
@@ -27253,7 +27253,7 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
27253
27253
  }));
27254
27254
  };
27255
27255
 
27256
- var _excluded$c = ["prefix", "suffix", "style", "testID", "value", "defaultValue", "disabled", "editable", "textStyle"];
27256
+ var _excluded$b = ["prefix", "suffix", "style", "testID", "value", "defaultValue", "disabled", "editable", "textStyle"];
27257
27257
  var getState$2 = function getState(_ref) {
27258
27258
  var disabled = _ref.disabled,
27259
27259
  editable = _ref.editable,
@@ -27281,7 +27281,7 @@ var ToolbarMessage = /*#__PURE__*/React.forwardRef(function (props, forwardedRef
27281
27281
  _props$editable = props.editable,
27282
27282
  editable = _props$editable === void 0 ? true : _props$editable,
27283
27283
  textStyle = props.textStyle,
27284
- nativeProps = _objectWithoutProperties(props, _excluded$c);
27284
+ nativeProps = _objectWithoutProperties(props, _excluded$b);
27285
27285
  var theme = useTheme();
27286
27286
  var innerTextInput = React__namespace.default.useRef();
27287
27287
  var displayText = (_ref2 = value !== undefined ? value : defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
@@ -27341,10 +27341,10 @@ var ToolbarMessage = /*#__PURE__*/React.forwardRef(function (props, forwardedRef
27341
27341
  }, suffix));
27342
27342
  });
27343
27343
 
27344
- var _excluded$b = ["children"];
27344
+ var _excluded$a = ["children"];
27345
27345
  var Toolbar = function Toolbar(_ref) {
27346
27346
  var children = _ref.children,
27347
- rest = _objectWithoutProperties(_ref, _excluded$b);
27347
+ rest = _objectWithoutProperties(_ref, _excluded$a);
27348
27348
  return /*#__PURE__*/React__namespace.default.createElement(ToolbarWrapper, rest, children);
27349
27349
  };
27350
27350
  var index$3 = Object.assign(Toolbar, {
@@ -27364,7 +27364,7 @@ var StyledIconWrapper = index$b(AnimatedBox)(function (_ref) {
27364
27364
  };
27365
27365
  });
27366
27366
 
27367
- var _excluded$a = ["options", "value", "onChange", "readonly", "disabled"];
27367
+ var _excluded$9 = ["options", "value", "onChange", "readonly", "disabled"];
27368
27368
  var Rate = function Rate(_ref) {
27369
27369
  var options = _ref.options,
27370
27370
  value = _ref.value,
@@ -27373,7 +27373,7 @@ var Rate = function Rate(_ref) {
27373
27373
  readonly = _ref$readonly === void 0 ? false : _ref$readonly,
27374
27374
  _ref$disabled = _ref.disabled,
27375
27375
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
27376
- otherProps = _objectWithoutProperties(_ref, _excluded$a);
27376
+ otherProps = _objectWithoutProperties(_ref, _excluded$9);
27377
27377
  var valueIndex = React.useMemo(function () {
27378
27378
  return options.findIndex(function (item) {
27379
27379
  return item.value === value;
@@ -46610,30 +46610,30 @@ function AnimatedScroller(_ref) {
46610
46610
  }));
46611
46611
  }
46612
46612
 
46613
- var _excluded$9 = ["fabProps"];
46613
+ var _excluded$8 = ["fabProps"];
46614
46614
  var ScrollViewWithFAB = function ScrollViewWithFAB(_ref) {
46615
46615
  var fabProps = _ref.fabProps,
46616
- props = _objectWithoutProperties(_ref, _excluded$9);
46616
+ props = _objectWithoutProperties(_ref, _excluded$8);
46617
46617
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
46618
46618
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.ScrollView, props),
46619
46619
  fabProps: fabProps
46620
46620
  });
46621
46621
  };
46622
46622
 
46623
- var _excluded$8 = ["fabProps"];
46623
+ var _excluded$7 = ["fabProps"];
46624
46624
  function FlatListWithFAB(_ref) {
46625
46625
  var fabProps = _ref.fabProps,
46626
- props = _objectWithoutProperties(_ref, _excluded$8);
46626
+ props = _objectWithoutProperties(_ref, _excluded$7);
46627
46627
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
46628
46628
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.FlatList, props),
46629
46629
  fabProps: fabProps
46630
46630
  });
46631
46631
  }
46632
46632
 
46633
- var _excluded$7 = ["fabProps"];
46633
+ var _excluded$6 = ["fabProps"];
46634
46634
  function SectionListWithFAB(_ref) {
46635
46635
  var fabProps = _ref.fabProps,
46636
- props = _objectWithoutProperties(_ref, _excluded$7);
46636
+ props = _objectWithoutProperties(_ref, _excluded$6);
46637
46637
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
46638
46638
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.SectionList, props),
46639
46639
  fabProps: fabProps
@@ -46758,7 +46758,7 @@ var SearchTwoLine = function SearchTwoLine(props) {
46758
46758
  })));
46759
46759
  };
46760
46760
 
46761
- var _excluded$6 = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID", "variant", "clearable"];
46761
+ var _excluded$5 = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID", "variant", "clearable"];
46762
46762
  var getState$1 = function getState(_ref) {
46763
46763
  var disabled = _ref.disabled,
46764
46764
  editable = _ref.editable,
@@ -46802,7 +46802,7 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
46802
46802
  variant = _props$variant === void 0 ? 'basic' : _props$variant,
46803
46803
  _props$clearable = props.clearable,
46804
46804
  clearable = _props$clearable === void 0 ? false : _props$clearable,
46805
- nativeProps = _objectWithoutProperties(props, _excluded$6);
46805
+ nativeProps = _objectWithoutProperties(props, _excluded$5);
46806
46806
  var _React$useState = React__namespace.default.useState(false),
46807
46807
  _React$useState2 = _slicedToArray(_React$useState, 2),
46808
46808
  isFocused = _React$useState2[0],
@@ -46902,11 +46902,11 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
46902
46902
  })));
46903
46903
  });
46904
46904
 
46905
- var _excluded$5 = ["content", "icon"];
46905
+ var _excluded$4 = ["content", "icon"];
46906
46906
  var renderBadge = function renderBadge(props) {
46907
46907
  var content = props.content,
46908
46908
  icon = props.icon,
46909
- rest = _objectWithoutProperties(props, _excluded$5);
46909
+ rest = _objectWithoutProperties(props, _excluded$4);
46910
46910
  if (content) return /*#__PURE__*/React__namespace.default.createElement(StyledBadge, _extends$1({
46911
46911
  intent: "primary",
46912
46912
  content: content,
@@ -46973,7 +46973,7 @@ var StyledIcon = index$b(Icon)(function (_ref4) {
46973
46973
  };
46974
46974
  });
46975
46975
 
46976
- var _excluded$4 = ["onPress", "onLayout", "style", "children", "prefix", "suffix"];
46976
+ var _excluded$3 = ["onPress", "onLayout", "style", "children", "prefix", "suffix"];
46977
46977
  var getPrefixOrSuffix = function getPrefixOrSuffix(_ref) {
46978
46978
  var element = _ref.element,
46979
46979
  _ref$isPrefix = _ref.isPrefix,
@@ -46995,7 +46995,7 @@ var FloatingIsland = function FloatingIsland(_ref2) {
46995
46995
  children = _ref2.children,
46996
46996
  prefix = _ref2.prefix,
46997
46997
  suffix = _ref2.suffix,
46998
- props = _objectWithoutProperties(_ref2, _excluded$4);
46998
+ props = _objectWithoutProperties(_ref2, _excluded$3);
46999
46999
  var _React$useState = React__namespace.default.useState(0),
47000
47000
  _React$useState2 = _slicedToArray(_React$useState, 2),
47001
47001
  width = _React$useState2[0],
@@ -47507,7 +47507,7 @@ var FloatingLabel = function FloatingLabel(_ref) {
47507
47507
  FloatingLabel.displayName = 'FloatingLabel';
47508
47508
  var FloatingLabel$1 = /*#__PURE__*/React__namespace.default.memo(FloatingLabel);
47509
47509
 
47510
- var _excluded$3 = ["state", "prefix"];
47510
+ var _excluded$2 = ["state", "prefix"];
47511
47511
  /**
47512
47512
  * PrefixComponent
47513
47513
  *
@@ -47540,7 +47540,7 @@ var _excluded$3 = ["state", "prefix"];
47540
47540
  var PrefixComponent = function PrefixComponent(_ref) {
47541
47541
  var state = _ref.state,
47542
47542
  prefix = _ref.prefix,
47543
- rest = _objectWithoutProperties(_ref, _excluded$3);
47543
+ rest = _objectWithoutProperties(_ref, _excluded$2);
47544
47544
  var actualPrefix = typeof prefix === 'string' ? prefix : '';
47545
47545
  if (actualPrefix) {
47546
47546
  return /*#__PURE__*/React__namespace.default.createElement(StyledPrefixComponentWrapper, _extends$1({
@@ -47712,116 +47712,6 @@ var InputRow = /*#__PURE__*/React__namespace.default.forwardRef(function (_ref,
47712
47712
  })));
47713
47713
  });
47714
47714
 
47715
- /**
47716
- * Generates the border style for the TextInputGroup.
47717
- * @param index - The index of the TextInput.
47718
- * @param length - The length of the TextInputGroup.
47719
- * @returns The border style for the TextInputGroup.
47720
- */
47721
- var generateBorderStyle$1 = function generateBorderStyle(_ref) {
47722
- var index = _ref.index,
47723
- length = _ref.length;
47724
- var isFirst = index === 0;
47725
- var isLast = index === length - 1;
47726
- if (length === 1) {
47727
- return {};
47728
- }
47729
- if (isFirst) {
47730
- return {
47731
- borderBottomLeftRadius: 0,
47732
- borderBottomRightRadius: 0
47733
- };
47734
- }
47735
- if (isLast) {
47736
- return {
47737
- borderTopLeftRadius: 0,
47738
- borderTopRightRadius: 0
47739
- };
47740
- }
47741
- return {
47742
- borderRadius: 0
47743
- };
47744
- };
47745
- var generateMarginStyle$1 = function generateMarginStyle(_ref2) {
47746
- var index = _ref2.index,
47747
- length = _ref2.length,
47748
- theme = _ref2.theme;
47749
- if (length === 1) {
47750
- return {};
47751
- }
47752
- if (index === 0) {
47753
- return {
47754
- marginTop: 0
47755
- };
47756
- }
47757
- return {
47758
- marginTop: -theme.__hd__.textInput.borderWidths.container.normal
47759
- };
47760
- };
47761
-
47762
- var useDeprecation = function useDeprecation(message) {
47763
- var cond = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
47764
- React.useEffect(function () {
47765
- // eslint-disable-next-line no-console
47766
- if (cond) {
47767
- console.warn(message);
47768
- }
47769
- }, [message, cond]);
47770
- };
47771
-
47772
- var _excluded$2 = ["children", "style", "testID"];
47773
- var TextInputGroup = function TextInputGroup(_ref) {
47774
- var children = _ref.children,
47775
- style = _ref.style,
47776
- testID = _ref.testID,
47777
- props = _objectWithoutProperties(_ref, _excluded$2);
47778
- useDeprecation('TextInput.Group is deprecated. Please use FormGroup instead.', true);
47779
- var theme = useTheme();
47780
- var childrenArray = React__namespace.default.Children.toArray(children).filter(React__namespace.default.isValidElement);
47781
- // If there are multiple children, inject styles to group them together.
47782
- var groupedChildren = React.useMemo(function () {
47783
- return childrenArray.map(function (child, index) {
47784
- var rawChildStyle = child.props.style;
47785
- var rawChildTextStyle = child.props.textStyle;
47786
- // Handle array styles by flattening them first
47787
- var childStyle = reactNative.StyleSheet.flatten(rawChildStyle);
47788
- var childTextStyle = reactNative.StyleSheet.flatten(rawChildTextStyle);
47789
- /**
47790
- * Merge the child style with the group injected style.
47791
- * Order of precedence:
47792
- * 1. Child style.
47793
- * 2. Group injected style.
47794
- */
47795
- var mergedStyle = _objectSpread2(_objectSpread2({}, childStyle), generateMarginStyle$1({
47796
- index: index,
47797
- length: childrenArray.length,
47798
- theme: theme
47799
- }));
47800
- /**
47801
- * Merge the child text style with the group text style.
47802
- * Order of precedence:
47803
- * 1. Group text style through textStyle prop.
47804
- * 2. Child text style.
47805
- * 3. Group injected border style.
47806
- */
47807
- var mergedTextStyle = _objectSpread2(_objectSpread2({}, childTextStyle), generateBorderStyle$1({
47808
- index: index,
47809
- length: childrenArray.length
47810
- }));
47811
- return /*#__PURE__*/React__namespace.default.cloneElement(child, {
47812
- style: mergedStyle,
47813
- textStyle: mergedTextStyle,
47814
- // Internal text input prop to allow for different styling
47815
- groupStyleEnabled: true
47816
- });
47817
- });
47818
- }, [childrenArray, theme]);
47819
- return /*#__PURE__*/React__namespace.default.createElement(Box, _extends$1({
47820
- style: style,
47821
- testID: testID
47822
- }, props), groupedChildren);
47823
- };
47824
-
47825
47715
  var _excluded$1 = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant", "accessibilityLabel", "groupStyleEnabled"],
47826
47716
  _excluded2 = ["onFocus", "onBlur", "onChangeText"];
47827
47717
  var getState = function getState(_ref) {
@@ -48094,18 +47984,15 @@ var TextInput = /*#__PURE__*/React__namespace.default.forwardRef(function (props
48094
47984
  }));
48095
47985
  });
48096
47986
  TextInput.displayName = 'TextInput';
48097
- var TextInput$1 = Object.assign(TextInput, {
48098
- Group: TextInputGroup
48099
- });
48100
47987
 
48101
47988
  var Select = function Select(props) {
48102
47989
  return /*#__PURE__*/React__namespace.default.createElement(InternalSelect, _extends$1({}, props, {
48103
- TextInputComponent: TextInput$1
47990
+ TextInputComponent: TextInput
48104
47991
  }));
48105
47992
  };
48106
47993
  var MultiSelect = function MultiSelect(props) {
48107
47994
  return /*#__PURE__*/React__namespace.default.createElement(InternalSelect.Multi, _extends$1({}, props, {
48108
- TextInputComponent: TextInput$1
47995
+ TextInputComponent: TextInput
48109
47996
  }));
48110
47997
  };
48111
47998
  var index$2 = Object.assign(Select, {
@@ -48114,7 +48001,7 @@ var index$2 = Object.assign(Select, {
48114
48001
 
48115
48002
  var DatePicker = function DatePicker(props) {
48116
48003
  return /*#__PURE__*/React__namespace.default.createElement(InternalDatePicker$1, _extends$1({}, props, {
48117
- TextInputComponent: TextInput$1
48004
+ TextInputComponent: TextInput
48118
48005
  }));
48119
48006
  };
48120
48007
  var index$1 = Object.assign(DatePicker, {
@@ -48123,7 +48010,7 @@ var index$1 = Object.assign(DatePicker, {
48123
48010
 
48124
48011
  var TimePicker = function TimePicker(props) {
48125
48012
  return /*#__PURE__*/React__namespace.default.createElement(InternalTimePicker, _extends$1({}, props, {
48126
- TextInputComponent: TextInput$1
48013
+ TextInputComponent: TextInput
48127
48014
  }));
48128
48015
  };
48129
48016
 
@@ -67302,7 +67189,7 @@ exports.Swipeable = index$6;
67302
67189
  exports.Switch = index$5;
67303
67190
  exports.Tabs = index$4;
67304
67191
  exports.Tag = Tag;
67305
- exports.TextInput = TextInput$1;
67192
+ exports.TextInput = TextInput;
67306
67193
  exports.ThemeProvider = WorkThemeProvider;
67307
67194
  exports.ThemeSwitcher = WorkThemeSwitcher;
67308
67195
  exports.TimePicker = TimePicker;