@hero-design/rn-work-uikit 1.5.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({
@@ -10208,18 +10208,18 @@ var StyledSectionList = index$b(reactNative.SectionList)(function (_ref4) {
10208
10208
  paddingHorizontal: theme.__hd__.select.space.optionListHorizontalPadding
10209
10209
  };
10210
10210
  });
10211
- var getZIndexByState$1 = function getZIndexByState(_ref5) {
10211
+ var getZIndexByState$3 = function getZIndexByState(_ref5) {
10212
10212
  var themeHasError = _ref5.themeHasError;
10213
10213
  if (themeHasError) {
10214
10214
  return 1;
10215
10215
  }
10216
10216
  return 0;
10217
10217
  };
10218
- var StyledTouchableOpacity = index$b(reactNative.TouchableOpacity)(function (_ref6) {
10218
+ var StyledTouchableOpacity$2 = index$b(reactNative.TouchableOpacity)(function (_ref6) {
10219
10219
  var themeGroupStyleEnabled = _ref6.themeGroupStyleEnabled,
10220
10220
  themeHasError = _ref6.themeHasError;
10221
10221
  return _objectSpread2({}, themeGroupStyleEnabled && {
10222
- zIndex: getZIndexByState$1({
10222
+ zIndex: getZIndexByState$3({
10223
10223
  themeHasError: themeHasError
10224
10224
  })
10225
10225
  });
@@ -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
  }, []);
@@ -10806,7 +10806,7 @@ function MultiSelect$1(_ref) {
10806
10806
  }, [open, value]);
10807
10807
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
10808
10808
  pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
10809
- }, /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity, {
10809
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$2, {
10810
10810
  onPress: onPress,
10811
10811
  themeGroupStyleEnabled: groupStyleEnabled,
10812
10812
  themeHasError: !!error,
@@ -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,13 +11011,13 @@ 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
  }, []);
11018
11018
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
11019
11019
  pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
11020
- }, /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity, {
11020
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$2, {
11021
11021
  onPress: onPress,
11022
11022
  themeGroupStyleEnabled: groupStyleEnabled,
11023
11023
  themeHasError: !!error,
@@ -13442,6 +13442,30 @@ var useFormatDate = function useFormatDate(_ref) {
13442
13442
  };
13443
13443
  };
13444
13444
 
13445
+ var StyledPickerWrapper$1 = index$b(reactNative.View)(function (_ref) {
13446
+ var theme = _ref.theme;
13447
+ return {
13448
+ height: theme.__hd__.datePicker.sizes.height,
13449
+ alignItems: 'center'
13450
+ };
13451
+ });
13452
+ var getZIndexByState$2 = function getZIndexByState(_ref2) {
13453
+ var themeHasError = _ref2.themeHasError;
13454
+ if (themeHasError) {
13455
+ return 1;
13456
+ }
13457
+ return 0;
13458
+ };
13459
+ var StyledTouchableOpacity$1 = index$b(reactNative.TouchableOpacity)(function (_ref3) {
13460
+ var themeGroupStyleEnabled = _ref3.themeGroupStyleEnabled,
13461
+ themeHasError = _ref3.themeHasError;
13462
+ return _objectSpread2({}, themeGroupStyleEnabled && {
13463
+ zIndex: getZIndexByState$2({
13464
+ themeHasError: themeHasError
13465
+ })
13466
+ });
13467
+ });
13468
+
13445
13469
  var DatePickerAndroid = function DatePickerAndroid(_ref) {
13446
13470
  var value = _ref.value,
13447
13471
  minDate = _ref.minDate,
@@ -13461,7 +13485,10 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
13461
13485
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
13462
13486
  renderSelectedValue = _ref.renderSelectedValue,
13463
13487
  locale = _ref.locale,
13464
- TextInputComponent = _ref.TextInputComponent;
13488
+ TextInputComponent = _ref.TextInputComponent,
13489
+ inputProps = _ref.inputProps,
13490
+ _ref$groupStyleEnable = _ref.groupStyleEnabled,
13491
+ groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
13465
13492
  var _useState = React.useState(false),
13466
13493
  _useState2 = _slicedToArray(_useState, 2),
13467
13494
  open = _useState2[0],
@@ -13479,16 +13506,20 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
13479
13506
  onChange: onChange,
13480
13507
  value: value
13481
13508
  });
13482
- var InputComponent = TextInputComponent || TextInput$2;
13483
- return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
13484
- onPress: function onPress() {
13485
- return setOpen(true);
13486
- },
13487
- disabled: disabled
13509
+ var InputComponent = TextInputComponent || TextInput$1;
13510
+ var onPress = React.useCallback(function () {
13511
+ setOpen(true);
13512
+ }, []);
13513
+ return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$1, {
13514
+ onPress: onPress,
13515
+ disabled: disabled,
13516
+ themeGroupStyleEnabled: groupStyleEnabled,
13517
+ themeHasError: !!error,
13518
+ testID: "date-picker-android-touchable-opacity"
13488
13519
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
13489
13520
  pointerEvents: "none",
13490
13521
  testID: "datePickerInputAndroid"
13491
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, {
13522
+ }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
13492
13523
  label: label,
13493
13524
  value: displayValue,
13494
13525
  suffix: "calendar-dates-outlined",
@@ -13505,7 +13536,7 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
13505
13536
  formattedDateString: displayValue
13506
13537
  }, props);
13507
13538
  } : undefined
13508
- })), /*#__PURE__*/React__namespace.default.createElement(AndroidDatePickerDialog, {
13539
+ }))), /*#__PURE__*/React__namespace.default.createElement(AndroidDatePickerDialog, {
13509
13540
  open: open,
13510
13541
  onClose: function onClose() {
13511
13542
  return setOpen(false);
@@ -14295,7 +14326,10 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
14295
14326
  supportedOrientations = _ref2$supportedOrient === void 0 ? ['portrait'] : _ref2$supportedOrient,
14296
14327
  renderSelectedValue = _ref2.renderSelectedValue,
14297
14328
  locale = _ref2.locale,
14298
- TextInputComponent = _ref2.TextInputComponent;
14329
+ TextInputComponent = _ref2.TextInputComponent,
14330
+ inputProps = _ref2.inputProps,
14331
+ _ref2$groupStyleEnabl = _ref2.groupStyleEnabled,
14332
+ groupStyleEnabled = _ref2$groupStyleEnabl === void 0 ? false : _ref2$groupStyleEnabl;
14299
14333
  var _useState5 = React.useState(false),
14300
14334
  _useState6 = _slicedToArray(_useState5, 2),
14301
14335
  open = _useState6[0],
@@ -14321,16 +14355,20 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
14321
14355
  onChange: onChange,
14322
14356
  value: value
14323
14357
  });
14324
- var InputComponent = TextInputComponent || TextInput$2;
14325
- return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
14326
- onPress: function onPress() {
14327
- return setOpen(true);
14328
- },
14329
- disabled: disabled
14358
+ var InputComponent = TextInputComponent || TextInput$1;
14359
+ var onPress = React.useCallback(function () {
14360
+ setOpen(true);
14361
+ }, []);
14362
+ return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$1, {
14363
+ onPress: onPress,
14364
+ disabled: disabled,
14365
+ themeGroupStyleEnabled: groupStyleEnabled,
14366
+ themeHasError: !!error,
14367
+ testID: "date-picker-calendar-touchable-opacity"
14330
14368
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
14331
14369
  pointerEvents: "none",
14332
14370
  testID: "datePickerCalendar"
14333
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, {
14371
+ }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
14334
14372
  label: label,
14335
14373
  value: displayValue,
14336
14374
  suffix: "calendar-dates-outlined",
@@ -14347,7 +14385,7 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
14347
14385
  formattedDateString: displayValue
14348
14386
  }, props);
14349
14387
  } : undefined
14350
- })), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
14388
+ }))), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
14351
14389
  open: open,
14352
14390
  onRequestClose: function onRequestClose() {
14353
14391
  return setOpen(false);
@@ -14377,14 +14415,6 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
14377
14415
  }))));
14378
14416
  };
14379
14417
 
14380
- var StyledPickerWrapper$1 = index$b(reactNative.View)(function (_ref) {
14381
- var theme = _ref.theme;
14382
- return {
14383
- height: theme.__hd__.datePicker.sizes.height,
14384
- alignItems: 'center'
14385
- };
14386
- });
14387
-
14388
14418
  var IOSDatePickerDialog = function IOSDatePickerDialog(_ref) {
14389
14419
  var label = _ref.label,
14390
14420
  open = _ref.open,
@@ -14478,7 +14508,10 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
14478
14508
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
14479
14509
  locale = _ref.locale,
14480
14510
  renderSelectedValue = _ref.renderSelectedValue,
14481
- TextInputComponent = _ref.TextInputComponent;
14511
+ TextInputComponent = _ref.TextInputComponent,
14512
+ inputProps = _ref.inputProps,
14513
+ _ref$groupStyleEnable = _ref.groupStyleEnabled,
14514
+ groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
14482
14515
  var _useState = React.useState(false),
14483
14516
  _useState2 = _slicedToArray(_useState, 2),
14484
14517
  open = _useState2[0],
@@ -14498,16 +14531,20 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
14498
14531
  onChange: onChange,
14499
14532
  value: value
14500
14533
  });
14501
- var InputComponent = TextInputComponent || TextInput$2;
14502
- return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
14503
- onPress: function onPress() {
14504
- return setOpen(true);
14505
- },
14506
- disabled: disabled
14534
+ var InputComponent = TextInputComponent || TextInput$1;
14535
+ var onPress = React.useCallback(function () {
14536
+ setOpen(true);
14537
+ }, []);
14538
+ return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$1, {
14539
+ onPress: onPress,
14540
+ disabled: disabled,
14541
+ themeGroupStyleEnabled: groupStyleEnabled,
14542
+ themeHasError: !!error,
14543
+ testID: "date-picker-ios-touchable-opacity"
14507
14544
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
14508
14545
  pointerEvents: "none",
14509
14546
  testID: "datePickerInputIOS"
14510
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, {
14547
+ }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
14511
14548
  label: label,
14512
14549
  value: displayValue,
14513
14550
  suffix: "calendar-dates-outlined",
@@ -14524,7 +14561,7 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
14524
14561
  formattedDateString: displayValue
14525
14562
  }, props);
14526
14563
  } : undefined
14527
- })), /*#__PURE__*/React__namespace.default.createElement(IOSDatePickerDialog, {
14564
+ }))), /*#__PURE__*/React__namespace.default.createElement(IOSDatePickerDialog, {
14528
14565
  value: value,
14529
14566
  onChange: onChange,
14530
14567
  open: open,
@@ -14541,13 +14578,13 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
14541
14578
  }));
14542
14579
  };
14543
14580
 
14544
- var _excluded$A = ["variant", "TextInputComponent"];
14581
+ var _excluded$z = ["variant", "TextInputComponent"];
14545
14582
  var DatePicker$1 = function DatePicker(_ref) {
14546
14583
  var _ref$variant = _ref.variant,
14547
14584
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
14548
14585
  _ref$TextInputCompone = _ref.TextInputComponent,
14549
- TextInputComponent = _ref$TextInputCompone === void 0 ? TextInput$2 : _ref$TextInputCompone,
14550
- props = _objectWithoutProperties(_ref, _excluded$A);
14586
+ TextInputComponent = _ref$TextInputCompone === void 0 ? TextInput$1 : _ref$TextInputCompone,
14587
+ props = _objectWithoutProperties(_ref, _excluded$z);
14551
14588
  if (variant === 'calendar') {
14552
14589
  return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, _extends$1({}, props, {
14553
14590
  TextInputComponent: TextInputComponent
@@ -14578,6 +14615,30 @@ var InternalDatePicker$1 = Object.assign(InternalDatePicker, {
14578
14615
  Dialog: Dialog
14579
14616
  });
14580
14617
 
14618
+ var StyledPickerWrapper = index$b(reactNative.View)(function (_ref) {
14619
+ var theme = _ref.theme;
14620
+ return {
14621
+ height: theme.__hd__.timePicker.sizes.height,
14622
+ alignItems: 'center'
14623
+ };
14624
+ });
14625
+ var getZIndexByState$1 = function getZIndexByState(_ref2) {
14626
+ var themeHasError = _ref2.themeHasError;
14627
+ if (themeHasError) {
14628
+ return 1;
14629
+ }
14630
+ return 0;
14631
+ };
14632
+ var StyledTouchableOpacity = index$b(reactNative.TouchableOpacity)(function (_ref3) {
14633
+ var themeGroupStyleEnabled = _ref3.themeGroupStyleEnabled,
14634
+ themeHasError = _ref3.themeHasError;
14635
+ return _objectSpread2({}, themeGroupStyleEnabled && {
14636
+ zIndex: getZIndexByState$1({
14637
+ themeHasError: themeHasError
14638
+ })
14639
+ });
14640
+ });
14641
+
14581
14642
  var TimePickerAndroid = function TimePickerAndroid(_ref) {
14582
14643
  var value = _ref.value,
14583
14644
  label = _ref.label,
@@ -14594,7 +14655,10 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
14594
14655
  testID = _ref.testID,
14595
14656
  _ref$showSuffix = _ref.showSuffix,
14596
14657
  showSuffix = _ref$showSuffix === void 0 ? true : _ref$showSuffix,
14597
- TextInputComponent = _ref.TextInputComponent;
14658
+ TextInputComponent = _ref.TextInputComponent,
14659
+ inputProps = _ref.inputProps,
14660
+ _ref$groupStyleEnable = _ref.groupStyleEnabled,
14661
+ groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
14598
14662
  var _useState = React.useState(false),
14599
14663
  _useState2 = _slicedToArray(_useState, 2),
14600
14664
  open = _useState2[0],
@@ -14602,16 +14666,20 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
14602
14666
  var is12Hour = displayFormat.includes('hh');
14603
14667
  var displayValue = value ? formatTime(displayFormat, value) : '';
14604
14668
  var pickerInitValue = value || new Date();
14605
- var InputComponent = TextInputComponent || TextInput$2;
14606
- return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
14607
- onPress: function onPress() {
14608
- return setOpen(true);
14609
- },
14610
- disabled: disabled
14669
+ var InputComponent = TextInputComponent || TextInput$1;
14670
+ var onPress = React.useCallback(function () {
14671
+ setOpen(true);
14672
+ }, []);
14673
+ return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity, {
14674
+ onPress: onPress,
14675
+ disabled: disabled,
14676
+ themeGroupStyleEnabled: groupStyleEnabled,
14677
+ themeHasError: !!error,
14678
+ testID: "time-picker-android-touchable-opacity"
14611
14679
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
14612
14680
  pointerEvents: "none",
14613
14681
  testID: "timePickerInputAndroid"
14614
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, {
14682
+ }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
14615
14683
  label: label,
14616
14684
  value: displayValue,
14617
14685
  suffix: showSuffix ? 'clock-3' : undefined,
@@ -14622,7 +14690,7 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
14622
14690
  helpText: helpText,
14623
14691
  style: style,
14624
14692
  testID: testID
14625
- })), open ? /*#__PURE__*/React__namespace.default.createElement(DateTimePicker__default.default, {
14693
+ }))), open ? /*#__PURE__*/React__namespace.default.createElement(DateTimePicker__default.default, {
14626
14694
  testID: "timePickerAndroid",
14627
14695
  mode: "time",
14628
14696
  value: pickerInitValue,
@@ -14637,14 +14705,6 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
14637
14705
  }) : null);
14638
14706
  };
14639
14707
 
14640
- var StyledPickerWrapper = index$b(reactNative.View)(function (_ref) {
14641
- var theme = _ref.theme;
14642
- return {
14643
- height: theme.__hd__.timePicker.sizes.height,
14644
- alignItems: 'center'
14645
- };
14646
- });
14647
-
14648
14708
  var TimePickerIOS = function TimePickerIOS(_ref) {
14649
14709
  var value = _ref.value,
14650
14710
  label = _ref.label,
@@ -14664,7 +14724,10 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
14664
14724
  showSuffix = _ref$showSuffix === void 0 ? true : _ref$showSuffix,
14665
14725
  _ref$supportedOrienta = _ref.supportedOrientations,
14666
14726
  supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
14667
- TextInputComponent = _ref.TextInputComponent;
14727
+ TextInputComponent = _ref.TextInputComponent,
14728
+ inputProps = _ref.inputProps,
14729
+ _ref$groupStyleEnable = _ref.groupStyleEnabled,
14730
+ groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
14668
14731
  var _useState = React.useState(value || new Date()),
14669
14732
  _useState2 = _slicedToArray(_useState, 2),
14670
14733
  selectingDate = _useState2[0],
@@ -14676,19 +14739,23 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
14676
14739
  var is12Hour = displayFormat.includes('hh');
14677
14740
  var displayValue = value ? formatTime(displayFormat, value) : '';
14678
14741
  var theme = useTheme();
14679
- var InputComponent = TextInputComponent || TextInput$2;
14742
+ var InputComponent = TextInputComponent || TextInput$1;
14680
14743
  React.useEffect(function () {
14681
14744
  setSelectingDate(value || new Date());
14682
14745
  }, [value]);
14683
- return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
14684
- onPress: function onPress() {
14685
- return setOpen(true);
14686
- },
14687
- disabled: disabled
14746
+ var onPress = React.useCallback(function () {
14747
+ setOpen(true);
14748
+ }, []);
14749
+ return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity, {
14750
+ onPress: onPress,
14751
+ disabled: disabled,
14752
+ themeGroupStyleEnabled: groupStyleEnabled,
14753
+ themeHasError: !!error,
14754
+ testID: "time-picker-ios-touchable-opacity"
14688
14755
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
14689
14756
  pointerEvents: "none",
14690
14757
  testID: "timePickerInputIOS"
14691
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, {
14758
+ }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
14692
14759
  label: label,
14693
14760
  value: displayValue,
14694
14761
  suffix: showSuffix ? 'clock-3' : undefined,
@@ -14699,7 +14766,7 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
14699
14766
  helpText: helpText,
14700
14767
  testID: testID,
14701
14768
  style: style
14702
- })), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
14769
+ }))), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
14703
14770
  open: open,
14704
14771
  onRequestClose: function onRequestClose() {
14705
14772
  return setOpen(false);
@@ -14873,7 +14940,7 @@ var AccordionItem = function AccordionItem(_ref) {
14873
14940
  }, content));
14874
14941
  };
14875
14942
 
14876
- var _excluded$z = ["key"];
14943
+ var _excluded$y = ["key"];
14877
14944
  var Accordion = function Accordion(_ref) {
14878
14945
  var items = _ref.items,
14879
14946
  activeItemKey = _ref.activeItemKey,
@@ -14894,7 +14961,7 @@ var Accordion = function Accordion(_ref) {
14894
14961
  testID: testID
14895
14962
  }, items.map(function (_ref2, index) {
14896
14963
  var key = _ref2.key,
14897
- props = _objectWithoutProperties(_ref2, _excluded$z);
14964
+ props = _objectWithoutProperties(_ref2, _excluded$y);
14898
14965
  var open = _activeItemKey === key;
14899
14966
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
14900
14967
  key: key
@@ -15006,7 +15073,7 @@ var Alert = function Alert(_ref2) {
15006
15073
  style = _ref2.style,
15007
15074
  testID = _ref2.testID,
15008
15075
  actionLabel = _ref2.actionLabel;
15009
- 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');
15010
15077
  return /*#__PURE__*/React__namespace.default.createElement(Container$1, {
15011
15078
  themeVariant: variant,
15012
15079
  themeIntent: intent,
@@ -15814,7 +15881,7 @@ var StyledIcon$4 = index$b(Icon)(function (_ref6) {
15814
15881
  };
15815
15882
  });
15816
15883
 
15817
- var _excluded$y = ["children", "visible", "intent", "style", "testID"];
15884
+ var _excluded$x = ["children", "visible", "intent", "style", "testID"];
15818
15885
  var Status$1 = function Status(_ref) {
15819
15886
  var children = _ref.children,
15820
15887
  _ref$visible = _ref.visible,
@@ -15823,7 +15890,7 @@ var Status$1 = function Status(_ref) {
15823
15890
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
15824
15891
  style = _ref.style,
15825
15892
  testID = _ref.testID,
15826
- nativeProps = _objectWithoutProperties(_ref, _excluded$y);
15893
+ nativeProps = _objectWithoutProperties(_ref, _excluded$x);
15827
15894
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
15828
15895
  opacity = _React$useRef.current;
15829
15896
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -15859,7 +15926,7 @@ var Status$1 = function Status(_ref) {
15859
15926
 
15860
15927
  var DEFAULT_MAX_NUMBER = 99;
15861
15928
 
15862
- var _excluded$x = ["children", "visible", "style", "max", "testID", "content"];
15929
+ var _excluded$w = ["children", "visible", "style", "max", "testID", "content"];
15863
15930
  var Status = function Status(_ref) {
15864
15931
  var children = _ref.children,
15865
15932
  _ref$visible = _ref.visible,
@@ -15869,7 +15936,7 @@ var Status = function Status(_ref) {
15869
15936
  max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
15870
15937
  testID = _ref.testID,
15871
15938
  originalContent = _ref.content,
15872
- nativeProps = _objectWithoutProperties(_ref, _excluded$x);
15939
+ nativeProps = _objectWithoutProperties(_ref, _excluded$w);
15873
15940
  var content = React.useMemo(function () {
15874
15941
  return originalContent > max ? "".concat(max, "+") : String(originalContent);
15875
15942
  }, [originalContent, max]);
@@ -15881,7 +15948,7 @@ var Status = function Status(_ref) {
15881
15948
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCountText, null, content)));
15882
15949
  };
15883
15950
 
15884
- 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"];
15885
15952
  var getPaddingState = function getPaddingState(content) {
15886
15953
  return content.length > 1 ? 'wideContent' : 'narrowContent';
15887
15954
  };
@@ -15900,7 +15967,7 @@ var Badge = function Badge(_ref) {
15900
15967
  _ref$variant = _ref.variant,
15901
15968
  variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
15902
15969
  icon = _ref.icon,
15903
- nativeProps = _objectWithoutProperties(_ref, _excluded$w);
15970
+ nativeProps = _objectWithoutProperties(_ref, _excluded$v);
15904
15971
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
15905
15972
  opacity = _React$useRef.current;
15906
15973
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -15999,7 +16066,7 @@ var StyledBottomBarText = index$b(Typography.Caption)(function (_ref3) {
15999
16066
  };
16000
16067
  });
16001
16068
 
16002
- var _excluded$v = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
16069
+ var _excluded$u = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
16003
16070
  var getInactiveIcon = function getInactiveIcon(icon) {
16004
16071
  var inactiveIcon = "".concat(icon, "-outlined");
16005
16072
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -16010,7 +16077,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
16010
16077
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
16011
16078
  selectedTabKey = _ref.selectedTabKey,
16012
16079
  tabs = _ref.tabs,
16013
- nativeProps = _objectWithoutProperties(_ref, _excluded$v);
16080
+ nativeProps = _objectWithoutProperties(_ref, _excluded$u);
16014
16081
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
16015
16082
 
16016
16083
  /**
@@ -16097,12 +16164,12 @@ var Indicator = index$b(reactNative.View)(function (_ref2) {
16097
16164
  };
16098
16165
  });
16099
16166
 
16100
- var _excluded$u = ["intent", "children"];
16167
+ var _excluded$t = ["intent", "children"];
16101
16168
  var DataCard = function DataCard(_ref) {
16102
16169
  var _ref$intent = _ref.intent,
16103
16170
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
16104
16171
  children = _ref.children,
16105
- nativeProps = _objectWithoutProperties(_ref, _excluded$u);
16172
+ nativeProps = _objectWithoutProperties(_ref, _excluded$t);
16106
16173
  return /*#__PURE__*/React__namespace.default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__namespace.default.createElement(Indicator, {
16107
16174
  themeIntent: intent,
16108
16175
  testID: "data-card-indicator"
@@ -16121,13 +16188,13 @@ var StyledCard$1 = index$b(reactNative.View)(function (_ref) {
16121
16188
  });
16122
16189
  });
16123
16190
 
16124
- var _excluded$t = ["intent", "children", "variant"];
16191
+ var _excluded$s = ["intent", "children", "variant"];
16125
16192
  var Card = function Card(_ref) {
16126
16193
  var intent = _ref.intent,
16127
16194
  children = _ref.children,
16128
16195
  _ref$variant = _ref.variant,
16129
16196
  variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
16130
- nativeProps = _objectWithoutProperties(_ref, _excluded$t);
16197
+ nativeProps = _objectWithoutProperties(_ref, _excluded$s);
16131
16198
  return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
16132
16199
  themeIntent: intent,
16133
16200
  themeVariant: variant
@@ -16395,7 +16462,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
16395
16462
  });
16396
16463
  CardCarousel.displayName = 'CardCarousel';
16397
16464
 
16398
- var _excluded$s = ["rounded", "size", "testID", "style"];
16465
+ var _excluded$r = ["rounded", "size", "testID", "style"];
16399
16466
  var Image = function Image(_ref) {
16400
16467
  var _ref$rounded = _ref.rounded,
16401
16468
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -16403,8 +16470,8 @@ var Image = function Image(_ref) {
16403
16470
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
16404
16471
  testID = _ref.testID,
16405
16472
  style = _ref.style,
16406
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$s);
16407
- 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.');
16408
16475
  var theme = useTheme();
16409
16476
  var imageSize = theme.__hd__.image.sizes[size];
16410
16477
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.Image, _extends$1({
@@ -16538,7 +16605,7 @@ var CarouselItem = function CarouselItem(_ref) {
16538
16605
  }, heading), !!body && /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, body)));
16539
16606
  };
16540
16607
 
16541
- var _excluded$r = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
16608
+ var _excluded$q = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
16542
16609
  function useStateFromProp(initialValue) {
16543
16610
  var _useState = React.useState(initialValue),
16544
16611
  _useState2 = _slicedToArray(_useState, 2),
@@ -16565,9 +16632,9 @@ var Carousel = function Carousel(_ref) {
16565
16632
  testID = _ref.testID,
16566
16633
  _ref$pageControlPosit = _ref.pageControlPosition,
16567
16634
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
16568
- nativeProps = _objectWithoutProperties(_ref, _excluded$r);
16569
- useDeprecation$1("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
16570
- 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');
16571
16638
  var theme = useTheme();
16572
16639
  var carouselRef = React.useRef(null);
16573
16640
  var _useStateFromProp = useStateFromProp(selectedItemIndex),
@@ -21705,7 +21772,7 @@ var StyledChipIcon = index$b(Icon)(function (_ref2) {
21705
21772
  };
21706
21773
  });
21707
21774
 
21708
- var _excluded$q = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
21775
+ var _excluded$p = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
21709
21776
  var getChipLabel = function getChipLabel(label) {
21710
21777
  if (typeof label === 'string') {
21711
21778
  return /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
@@ -21738,8 +21805,8 @@ var Chip = function Chip(_ref) {
21738
21805
  onPress = _ref.onPress,
21739
21806
  _ref$showSelectedIcon = _ref.showSelectedIcon,
21740
21807
  showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
21741
- otherProps = _objectWithoutProperties(_ref, _excluded$q);
21742
- 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');
21743
21810
  var renamedVariant = getChipVariant(variant);
21744
21811
  var shouldShowSelectedIcon = (renamedVariant === 'selection' || renamedVariant === 'compact-outlined') && selected && showSelectedIcon;
21745
21812
  var chipLabel = React.useMemo(function () {
@@ -21835,7 +21902,7 @@ var Checkbox = function Checkbox(_ref2) {
21835
21902
  testID = _ref2.testID,
21836
21903
  _ref2$readonly = _ref2.readonly,
21837
21904
  readonly = _ref2$readonly === void 0 ? false : _ref2$readonly;
21838
- 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);
21839
21906
  var themeState = getThemeState({
21840
21907
  disabled: disabled,
21841
21908
  readonly: readonly,
@@ -23129,7 +23196,7 @@ var Portal$1 = Object.assign(Portal, {
23129
23196
  Host: PortalHost
23130
23197
  });
23131
23198
 
23132
- var _excluded$p = ["visible"];
23199
+ var _excluded$o = ["visible"];
23133
23200
  var DEFAULT_BACKDROP_OPACITY = 0.4;
23134
23201
  var DEFAULT_ANIMATION_CONFIG = {
23135
23202
  easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
@@ -23228,7 +23295,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
23228
23295
  var ModalWrapper = function ModalWrapper(_ref3) {
23229
23296
  var _ref3$visible = _ref3.visible,
23230
23297
  visible = _ref3$visible === void 0 ? true : _ref3$visible,
23231
- props = _objectWithoutProperties(_ref3, _excluded$p);
23298
+ props = _objectWithoutProperties(_ref3, _excluded$o);
23232
23299
  var modalRef = React.useRef(null);
23233
23300
  var _useState = React.useState(visible),
23234
23301
  _useState2 = _slicedToArray(_useState, 2),
@@ -23339,7 +23406,7 @@ var StyledErrorDescription = index$b(Typography.Body)(function (_ref9) {
23339
23406
  };
23340
23407
  });
23341
23408
 
23342
- 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"],
23343
23410
  _excluded2$1 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
23344
23411
  var renderImage$1 = function renderImage(image) {
23345
23412
  if (/*#__PURE__*/React.isValidElement(image)) {
@@ -23380,7 +23447,7 @@ var ErrorPage = function ErrorPage(_ref2) {
23380
23447
  secondaryCtaText = _ref2.secondaryCtaText,
23381
23448
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
23382
23449
  icon = _ref2.icon,
23383
- nativeProps = _objectWithoutProperties(_ref2, _excluded$o);
23450
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$n);
23384
23451
  var showCta = ctaText && onCtaPress !== undefined;
23385
23452
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
23386
23453
  var showButtonContainer = showCta || showSecondaryCta;
@@ -23425,7 +23492,7 @@ var ErrorComponent = function ErrorComponent(_ref3) {
23425
23492
  secondaryCtaText = _ref3.secondaryCtaText,
23426
23493
  onSecondaryCtaPress = _ref3.onSecondaryCtaPress,
23427
23494
  nativeProps = _objectWithoutProperties(_ref3, _excluded2$1);
23428
- useDeprecation$1("Visible prop is deprecated. Use conditional rendering instead", visible);
23495
+ useDeprecation("Visible prop is deprecated. Use conditional rendering instead", visible);
23429
23496
  var _useState = React.useState(visible),
23430
23497
  _useState2 = _slicedToArray(_useState, 2),
23431
23498
  isVisible = _useState2[0],
@@ -23607,13 +23674,13 @@ var ActionItem = function ActionItem(_ref) {
23607
23674
  })), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
23608
23675
  };
23609
23676
 
23610
- var _excluded$n = ["active"];
23677
+ var _excluded$m = ["active"];
23611
23678
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
23612
23679
  return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
23613
23680
  }));
23614
23681
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
23615
23682
  var active = _ref.active,
23616
- iconProps = _objectWithoutProperties(_ref, _excluded$n);
23683
+ iconProps = _objectWithoutProperties(_ref, _excluded$m);
23617
23684
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
23618
23685
  React.useEffect(function () {
23619
23686
  var animation = reactNative.Animated.spring(rotateAnimation.current, {
@@ -23862,7 +23929,7 @@ var ActionGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
23862
23929
  fabIcon = _ref$fabIcon === void 0 ? 'add' : _ref$fabIcon,
23863
23930
  _ref$supportedOrienta = _ref.supportedOrientations,
23864
23931
  supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta;
23865
- 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);
23866
23933
  var theme = useTheme();
23867
23934
  var fabRef = React.useRef(null);
23868
23935
  var animatedValue = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
@@ -23978,11 +24045,11 @@ var StyledFAB = index$b(FAB$1)(function (_ref) {
23978
24045
  };
23979
24046
  });
23980
24047
 
23981
- var _excluded$m = ["fabConfig", "onCancel"];
24048
+ var _excluded$l = ["fabConfig", "onCancel"];
23982
24049
  var Pair = function Pair(_ref) {
23983
24050
  var fabConfig = _ref.fabConfig,
23984
24051
  onCancel = _ref.onCancel,
23985
- props = _objectWithoutProperties(_ref, _excluded$m);
24052
+ props = _objectWithoutProperties(_ref, _excluded$l);
23986
24053
  var icon = fabConfig.icon,
23987
24054
  title = fabConfig.title,
23988
24055
  onPress = fabConfig.onPress,
@@ -24296,7 +24363,7 @@ var ToastProvider = function ToastProvider(_ref) {
24296
24363
  displayType = _ref$displayType === void 0 ? 'single' : _ref$displayType,
24297
24364
  _position = _ref.position;
24298
24365
  var position = _position === undefined ? 'bottom' : _position;
24299
- 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);
24300
24367
  var toastRef = React.useRef(null);
24301
24368
  var _useState = React.useState(),
24302
24369
  _useState2 = _slicedToArray(_useState, 2),
@@ -24712,11 +24779,11 @@ var StyledFocusIcon = index$b(Icon)(function (_ref7) {
24712
24779
  };
24713
24780
  });
24714
24781
 
24715
- var _excluded$l = ["style", "testID"];
24782
+ var _excluded$k = ["style", "testID"];
24716
24783
  var MapPinFocussed = function MapPinFocussed(_ref) {
24717
24784
  var style = _ref.style,
24718
24785
  testID = _ref.testID,
24719
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
24786
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
24720
24787
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
24721
24788
  style: style,
24722
24789
  testID: testID
@@ -24726,7 +24793,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
24726
24793
  }));
24727
24794
  };
24728
24795
 
24729
- var _excluded$k = ["style", "testID", "state", "image", "icon"];
24796
+ var _excluded$j = ["style", "testID", "state", "image", "icon"];
24730
24797
  var getBadgeIconName = function getBadgeIconName(state) {
24731
24798
  var iconMap = {
24732
24799
  idle: undefined,
@@ -24742,7 +24809,7 @@ var MapPin = function MapPin(_ref) {
24742
24809
  state = _ref$state === void 0 ? 'idle' : _ref$state,
24743
24810
  image = _ref.image,
24744
24811
  icon = _ref.icon,
24745
- nativeProps = _objectWithoutProperties(_ref, _excluded$k);
24812
+ nativeProps = _objectWithoutProperties(_ref, _excluded$j);
24746
24813
  var badgeIcon = getBadgeIconName(state);
24747
24814
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
24748
24815
  style: style,
@@ -25059,7 +25126,7 @@ var THEME_INTENT_MAP = {
25059
25126
  'archived-inverted': 'archivedInverted'
25060
25127
  };
25061
25128
 
25062
- var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
25129
+ var _excluded$i = ["value", "renderValue", "intent", "style", "testID"];
25063
25130
  var defaultRenderValue = function defaultRenderValue(value) {
25064
25131
  return "".concat(value, "%");
25065
25132
  };
@@ -25072,7 +25139,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
25072
25139
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25073
25140
  style = _ref.style,
25074
25141
  testID = _ref.testID,
25075
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
25142
+ nativeProps = _objectWithoutProperties(_ref, _excluded$i);
25076
25143
  var theme = useTheme$1();
25077
25144
  var size = theme.__hd__.progress.sizes.circleDiameter;
25078
25145
  var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
@@ -25143,14 +25210,14 @@ var StyledInner = index$b(reactNative.Animated.View)(function (_ref2) {
25143
25210
  };
25144
25211
  });
25145
25212
 
25146
- var _excluded$i = ["value", "intent", "style", "testID"];
25213
+ var _excluded$h = ["value", "intent", "style", "testID"];
25147
25214
  var ProgressBar = function ProgressBar(_ref) {
25148
25215
  var value = _ref.value,
25149
25216
  _ref$intent = _ref.intent,
25150
25217
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25151
25218
  style = _ref.style,
25152
25219
  testID = _ref.testID,
25153
- nativeProps = _objectWithoutProperties(_ref, _excluded$i);
25220
+ nativeProps = _objectWithoutProperties(_ref, _excluded$h);
25154
25221
  var _useState = React.useState(0),
25155
25222
  _useState2 = _slicedToArray(_useState, 2),
25156
25223
  width = _useState2[0],
@@ -25240,7 +25307,7 @@ var StyledSingleStep = index$b(Box)(function (_ref3) {
25240
25307
  };
25241
25308
  });
25242
25309
 
25243
- var _excluded$h = ["steps", "current", "onLayout"];
25310
+ var _excluded$g = ["steps", "current", "onLayout"];
25244
25311
  var getStepState = function getStepState(current, index) {
25245
25312
  if (index < current) {
25246
25313
  return 'complete';
@@ -25254,7 +25321,7 @@ var ProgressStep = function ProgressStep(_ref) {
25254
25321
  var steps = _ref.steps,
25255
25322
  current = _ref.current,
25256
25323
  onLayout = _ref.onLayout,
25257
- props = _objectWithoutProperties(_ref, _excluded$h);
25324
+ props = _objectWithoutProperties(_ref, _excluded$g);
25258
25325
  var theme = useTheme$1();
25259
25326
  var _React$useState = React__namespace.default.useState(0),
25260
25327
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -25484,7 +25551,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
25484
25551
  }, children);
25485
25552
  };
25486
25553
 
25487
- var _excluded$g = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
25554
+ var _excluded$f = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
25488
25555
 
25489
25556
  // We are supporting both v1 and v2 of RNGH at the same time.
25490
25557
  // SwipeableProps is only exported in v2, so we have to use ComponentProps.
@@ -25517,7 +25584,7 @@ var Swipeable = function Swipeable(_ref) {
25517
25584
  rightActionsWidth = _ref.rightActionsWidth,
25518
25585
  _ref$variant = _ref.variant,
25519
25586
  variant = _ref$variant === void 0 ? 'card' : _ref$variant,
25520
- swipeableProps = _objectWithoutProperties(_ref, _excluded$g);
25587
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$f);
25521
25588
  var theme = useTheme();
25522
25589
  var _useWindowDimensions = reactNative.useWindowDimensions(),
25523
25590
  width = _useWindowDimensions.width;
@@ -25722,7 +25789,7 @@ var StyledGradientContainer = index$b(Box)(function (_ref2) {
25722
25789
  };
25723
25790
  });
25724
25791
 
25725
- var _excluded$f = ["intent", "variant", "style", "onLayout"];
25792
+ var _excluded$e = ["intent", "variant", "style", "onLayout"];
25726
25793
  var AnimatedLinearGradient = reactNative.Animated.createAnimatedComponent(LinearGradient__default.default);
25727
25794
  var gradientPositions = {
25728
25795
  start: {
@@ -25754,7 +25821,7 @@ var Skeleton = function Skeleton(_ref) {
25754
25821
  variant = _ref$variant === void 0 ? 'rounded' : _ref$variant,
25755
25822
  style = _ref.style,
25756
25823
  onLayout = _ref.onLayout,
25757
- props = _objectWithoutProperties(_ref, _excluded$f);
25824
+ props = _objectWithoutProperties(_ref, _excluded$e);
25758
25825
  var theme = useTheme();
25759
25826
  var colors = React.useMemo(function () {
25760
25827
  return getGradientColors(theme, intent);
@@ -25887,7 +25954,7 @@ var StyledSuccessModal = index$b(ModalWrapper)({
25887
25954
  width: '100%'
25888
25955
  });
25889
25956
 
25890
- 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"];
25891
25958
  var renderImage = function renderImage(image) {
25892
25959
  if (/*#__PURE__*/React.isValidElement(image)) {
25893
25960
  return /*#__PURE__*/React__namespace.default.cloneElement(image, {
@@ -25928,7 +25995,7 @@ var SuccessPage = function SuccessPage(_ref2) {
25928
25995
  secondaryCtaText = _ref2.secondaryCtaText,
25929
25996
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
25930
25997
  icon = _ref2.icon,
25931
- nativeProps = _objectWithoutProperties(_ref2, _excluded$e);
25998
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$d);
25932
25999
  var showSecondaryButton = secondaryCtaText && onSecondaryCtaPress;
25933
26000
  return /*#__PURE__*/React__namespace.default.createElement(StyledSuccessContainer, _extends$1({
25934
26001
  testID: testID,
@@ -26959,7 +27026,7 @@ var StyledText = index$b(Typography.Caption)(function (_ref2) {
26959
27026
  };
26960
27027
  });
26961
27028
 
26962
- var _excluded$d = ["content", "variant", "intent", "style", "testID"];
27029
+ var _excluded$c = ["content", "variant", "intent", "style", "testID"];
26963
27030
  var Tag = function Tag(_ref) {
26964
27031
  var content = _ref.content,
26965
27032
  _ref$variant = _ref.variant,
@@ -26968,8 +27035,8 @@ var Tag = function Tag(_ref) {
26968
27035
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
26969
27036
  style = _ref.style,
26970
27037
  testID = _ref.testID,
26971
- nativeProps = _objectWithoutProperties(_ref, _excluded$d);
26972
- 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);
26973
27040
  return /*#__PURE__*/React__namespace.default.createElement(StyledView, _extends$1({}, nativeProps, {
26974
27041
  themeIntent: intent,
26975
27042
  style: style,
@@ -27166,7 +27233,7 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
27166
27233
  align = _ref$align === void 0 ? 'right' : _ref$align,
27167
27234
  _ref$items = _ref.items,
27168
27235
  items = _ref$items === void 0 ? [] : _ref$items;
27169
- useDeprecation$1("Toolbar's align prop is deprecated", align !== 'right');
27236
+ useDeprecation("Toolbar's align prop is deprecated", align !== 'right');
27170
27237
  return /*#__PURE__*/React__namespace.default.createElement(ToolbarGroupWrapper, {
27171
27238
  align: align
27172
27239
  }, items.map(function (_ref2) {
@@ -27186,7 +27253,7 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
27186
27253
  }));
27187
27254
  };
27188
27255
 
27189
- 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"];
27190
27257
  var getState$2 = function getState(_ref) {
27191
27258
  var disabled = _ref.disabled,
27192
27259
  editable = _ref.editable,
@@ -27214,7 +27281,7 @@ var ToolbarMessage = /*#__PURE__*/React.forwardRef(function (props, forwardedRef
27214
27281
  _props$editable = props.editable,
27215
27282
  editable = _props$editable === void 0 ? true : _props$editable,
27216
27283
  textStyle = props.textStyle,
27217
- nativeProps = _objectWithoutProperties(props, _excluded$c);
27284
+ nativeProps = _objectWithoutProperties(props, _excluded$b);
27218
27285
  var theme = useTheme();
27219
27286
  var innerTextInput = React__namespace.default.useRef();
27220
27287
  var displayText = (_ref2 = value !== undefined ? value : defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
@@ -27274,10 +27341,10 @@ var ToolbarMessage = /*#__PURE__*/React.forwardRef(function (props, forwardedRef
27274
27341
  }, suffix));
27275
27342
  });
27276
27343
 
27277
- var _excluded$b = ["children"];
27344
+ var _excluded$a = ["children"];
27278
27345
  var Toolbar = function Toolbar(_ref) {
27279
27346
  var children = _ref.children,
27280
- rest = _objectWithoutProperties(_ref, _excluded$b);
27347
+ rest = _objectWithoutProperties(_ref, _excluded$a);
27281
27348
  return /*#__PURE__*/React__namespace.default.createElement(ToolbarWrapper, rest, children);
27282
27349
  };
27283
27350
  var index$3 = Object.assign(Toolbar, {
@@ -27297,7 +27364,7 @@ var StyledIconWrapper = index$b(AnimatedBox)(function (_ref) {
27297
27364
  };
27298
27365
  });
27299
27366
 
27300
- var _excluded$a = ["options", "value", "onChange", "readonly", "disabled"];
27367
+ var _excluded$9 = ["options", "value", "onChange", "readonly", "disabled"];
27301
27368
  var Rate = function Rate(_ref) {
27302
27369
  var options = _ref.options,
27303
27370
  value = _ref.value,
@@ -27306,7 +27373,7 @@ var Rate = function Rate(_ref) {
27306
27373
  readonly = _ref$readonly === void 0 ? false : _ref$readonly,
27307
27374
  _ref$disabled = _ref.disabled,
27308
27375
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
27309
- otherProps = _objectWithoutProperties(_ref, _excluded$a);
27376
+ otherProps = _objectWithoutProperties(_ref, _excluded$9);
27310
27377
  var valueIndex = React.useMemo(function () {
27311
27378
  return options.findIndex(function (item) {
27312
27379
  return item.value === value;
@@ -46543,30 +46610,30 @@ function AnimatedScroller(_ref) {
46543
46610
  }));
46544
46611
  }
46545
46612
 
46546
- var _excluded$9 = ["fabProps"];
46613
+ var _excluded$8 = ["fabProps"];
46547
46614
  var ScrollViewWithFAB = function ScrollViewWithFAB(_ref) {
46548
46615
  var fabProps = _ref.fabProps,
46549
- props = _objectWithoutProperties(_ref, _excluded$9);
46616
+ props = _objectWithoutProperties(_ref, _excluded$8);
46550
46617
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
46551
46618
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.ScrollView, props),
46552
46619
  fabProps: fabProps
46553
46620
  });
46554
46621
  };
46555
46622
 
46556
- var _excluded$8 = ["fabProps"];
46623
+ var _excluded$7 = ["fabProps"];
46557
46624
  function FlatListWithFAB(_ref) {
46558
46625
  var fabProps = _ref.fabProps,
46559
- props = _objectWithoutProperties(_ref, _excluded$8);
46626
+ props = _objectWithoutProperties(_ref, _excluded$7);
46560
46627
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
46561
46628
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.FlatList, props),
46562
46629
  fabProps: fabProps
46563
46630
  });
46564
46631
  }
46565
46632
 
46566
- var _excluded$7 = ["fabProps"];
46633
+ var _excluded$6 = ["fabProps"];
46567
46634
  function SectionListWithFAB(_ref) {
46568
46635
  var fabProps = _ref.fabProps,
46569
- props = _objectWithoutProperties(_ref, _excluded$7);
46636
+ props = _objectWithoutProperties(_ref, _excluded$6);
46570
46637
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
46571
46638
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.SectionList, props),
46572
46639
  fabProps: fabProps
@@ -46691,7 +46758,7 @@ var SearchTwoLine = function SearchTwoLine(props) {
46691
46758
  })));
46692
46759
  };
46693
46760
 
46694
- 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"];
46695
46762
  var getState$1 = function getState(_ref) {
46696
46763
  var disabled = _ref.disabled,
46697
46764
  editable = _ref.editable,
@@ -46735,7 +46802,7 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
46735
46802
  variant = _props$variant === void 0 ? 'basic' : _props$variant,
46736
46803
  _props$clearable = props.clearable,
46737
46804
  clearable = _props$clearable === void 0 ? false : _props$clearable,
46738
- nativeProps = _objectWithoutProperties(props, _excluded$6);
46805
+ nativeProps = _objectWithoutProperties(props, _excluded$5);
46739
46806
  var _React$useState = React__namespace.default.useState(false),
46740
46807
  _React$useState2 = _slicedToArray(_React$useState, 2),
46741
46808
  isFocused = _React$useState2[0],
@@ -46835,11 +46902,11 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
46835
46902
  })));
46836
46903
  });
46837
46904
 
46838
- var _excluded$5 = ["content", "icon"];
46905
+ var _excluded$4 = ["content", "icon"];
46839
46906
  var renderBadge = function renderBadge(props) {
46840
46907
  var content = props.content,
46841
46908
  icon = props.icon,
46842
- rest = _objectWithoutProperties(props, _excluded$5);
46909
+ rest = _objectWithoutProperties(props, _excluded$4);
46843
46910
  if (content) return /*#__PURE__*/React__namespace.default.createElement(StyledBadge, _extends$1({
46844
46911
  intent: "primary",
46845
46912
  content: content,
@@ -46906,7 +46973,7 @@ var StyledIcon = index$b(Icon)(function (_ref4) {
46906
46973
  };
46907
46974
  });
46908
46975
 
46909
- var _excluded$4 = ["onPress", "onLayout", "style", "children", "prefix", "suffix"];
46976
+ var _excluded$3 = ["onPress", "onLayout", "style", "children", "prefix", "suffix"];
46910
46977
  var getPrefixOrSuffix = function getPrefixOrSuffix(_ref) {
46911
46978
  var element = _ref.element,
46912
46979
  _ref$isPrefix = _ref.isPrefix,
@@ -46928,7 +46995,7 @@ var FloatingIsland = function FloatingIsland(_ref2) {
46928
46995
  children = _ref2.children,
46929
46996
  prefix = _ref2.prefix,
46930
46997
  suffix = _ref2.suffix,
46931
- props = _objectWithoutProperties(_ref2, _excluded$4);
46998
+ props = _objectWithoutProperties(_ref2, _excluded$3);
46932
46999
  var _React$useState = React__namespace.default.useState(0),
46933
47000
  _React$useState2 = _slicedToArray(_React$useState, 2),
46934
47001
  width = _React$useState2[0],
@@ -47440,7 +47507,7 @@ var FloatingLabel = function FloatingLabel(_ref) {
47440
47507
  FloatingLabel.displayName = 'FloatingLabel';
47441
47508
  var FloatingLabel$1 = /*#__PURE__*/React__namespace.default.memo(FloatingLabel);
47442
47509
 
47443
- var _excluded$3 = ["state", "prefix"];
47510
+ var _excluded$2 = ["state", "prefix"];
47444
47511
  /**
47445
47512
  * PrefixComponent
47446
47513
  *
@@ -47473,7 +47540,7 @@ var _excluded$3 = ["state", "prefix"];
47473
47540
  var PrefixComponent = function PrefixComponent(_ref) {
47474
47541
  var state = _ref.state,
47475
47542
  prefix = _ref.prefix,
47476
- rest = _objectWithoutProperties(_ref, _excluded$3);
47543
+ rest = _objectWithoutProperties(_ref, _excluded$2);
47477
47544
  var actualPrefix = typeof prefix === 'string' ? prefix : '';
47478
47545
  if (actualPrefix) {
47479
47546
  return /*#__PURE__*/React__namespace.default.createElement(StyledPrefixComponentWrapper, _extends$1({
@@ -47645,116 +47712,6 @@ var InputRow = /*#__PURE__*/React__namespace.default.forwardRef(function (_ref,
47645
47712
  })));
47646
47713
  });
47647
47714
 
47648
- /**
47649
- * Generates the border style for the TextInputGroup.
47650
- * @param index - The index of the TextInput.
47651
- * @param length - The length of the TextInputGroup.
47652
- * @returns The border style for the TextInputGroup.
47653
- */
47654
- var generateBorderStyle$1 = function generateBorderStyle(_ref) {
47655
- var index = _ref.index,
47656
- length = _ref.length;
47657
- var isFirst = index === 0;
47658
- var isLast = index === length - 1;
47659
- if (length === 1) {
47660
- return {};
47661
- }
47662
- if (isFirst) {
47663
- return {
47664
- borderBottomLeftRadius: 0,
47665
- borderBottomRightRadius: 0
47666
- };
47667
- }
47668
- if (isLast) {
47669
- return {
47670
- borderTopLeftRadius: 0,
47671
- borderTopRightRadius: 0
47672
- };
47673
- }
47674
- return {
47675
- borderRadius: 0
47676
- };
47677
- };
47678
- var generateMarginStyle$1 = function generateMarginStyle(_ref2) {
47679
- var index = _ref2.index,
47680
- length = _ref2.length,
47681
- theme = _ref2.theme;
47682
- if (length === 1) {
47683
- return {};
47684
- }
47685
- if (index === 0) {
47686
- return {
47687
- marginTop: 0
47688
- };
47689
- }
47690
- return {
47691
- marginTop: -theme.__hd__.textInput.borderWidths.container.normal
47692
- };
47693
- };
47694
-
47695
- var useDeprecation = function useDeprecation(message) {
47696
- var cond = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
47697
- React.useEffect(function () {
47698
- // eslint-disable-next-line no-console
47699
- if (cond) {
47700
- console.warn(message);
47701
- }
47702
- }, [message, cond]);
47703
- };
47704
-
47705
- var _excluded$2 = ["children", "style", "testID"];
47706
- var TextInputGroup = function TextInputGroup(_ref) {
47707
- var children = _ref.children,
47708
- style = _ref.style,
47709
- testID = _ref.testID,
47710
- props = _objectWithoutProperties(_ref, _excluded$2);
47711
- useDeprecation('TextInput.Group is deprecated. Please use FormGroup instead.', true);
47712
- var theme = useTheme();
47713
- var childrenArray = React__namespace.default.Children.toArray(children).filter(React__namespace.default.isValidElement);
47714
- // If there are multiple children, inject styles to group them together.
47715
- var groupedChildren = React.useMemo(function () {
47716
- return childrenArray.map(function (child, index) {
47717
- var rawChildStyle = child.props.style;
47718
- var rawChildTextStyle = child.props.textStyle;
47719
- // Handle array styles by flattening them first
47720
- var childStyle = reactNative.StyleSheet.flatten(rawChildStyle);
47721
- var childTextStyle = reactNative.StyleSheet.flatten(rawChildTextStyle);
47722
- /**
47723
- * Merge the child style with the group injected style.
47724
- * Order of precedence:
47725
- * 1. Child style.
47726
- * 2. Group injected style.
47727
- */
47728
- var mergedStyle = _objectSpread2(_objectSpread2({}, childStyle), generateMarginStyle$1({
47729
- index: index,
47730
- length: childrenArray.length,
47731
- theme: theme
47732
- }));
47733
- /**
47734
- * Merge the child text style with the group text style.
47735
- * Order of precedence:
47736
- * 1. Group text style through textStyle prop.
47737
- * 2. Child text style.
47738
- * 3. Group injected border style.
47739
- */
47740
- var mergedTextStyle = _objectSpread2(_objectSpread2({}, childTextStyle), generateBorderStyle$1({
47741
- index: index,
47742
- length: childrenArray.length
47743
- }));
47744
- return /*#__PURE__*/React__namespace.default.cloneElement(child, {
47745
- style: mergedStyle,
47746
- textStyle: mergedTextStyle,
47747
- // Internal text input prop to allow for different styling
47748
- groupStyleEnabled: true
47749
- });
47750
- });
47751
- }, [childrenArray, theme]);
47752
- return /*#__PURE__*/React__namespace.default.createElement(Box, _extends$1({
47753
- style: style,
47754
- testID: testID
47755
- }, props), groupedChildren);
47756
- };
47757
-
47758
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"],
47759
47716
  _excluded2 = ["onFocus", "onBlur", "onChangeText"];
47760
47717
  var getState = function getState(_ref) {
@@ -48027,18 +47984,15 @@ var TextInput = /*#__PURE__*/React__namespace.default.forwardRef(function (props
48027
47984
  }));
48028
47985
  });
48029
47986
  TextInput.displayName = 'TextInput';
48030
- var TextInput$1 = Object.assign(TextInput, {
48031
- Group: TextInputGroup
48032
- });
48033
47987
 
48034
47988
  var Select = function Select(props) {
48035
47989
  return /*#__PURE__*/React__namespace.default.createElement(InternalSelect, _extends$1({}, props, {
48036
- TextInputComponent: TextInput$1
47990
+ TextInputComponent: TextInput
48037
47991
  }));
48038
47992
  };
48039
47993
  var MultiSelect = function MultiSelect(props) {
48040
47994
  return /*#__PURE__*/React__namespace.default.createElement(InternalSelect.Multi, _extends$1({}, props, {
48041
- TextInputComponent: TextInput$1
47995
+ TextInputComponent: TextInput
48042
47996
  }));
48043
47997
  };
48044
47998
  var index$2 = Object.assign(Select, {
@@ -48047,7 +48001,7 @@ var index$2 = Object.assign(Select, {
48047
48001
 
48048
48002
  var DatePicker = function DatePicker(props) {
48049
48003
  return /*#__PURE__*/React__namespace.default.createElement(InternalDatePicker$1, _extends$1({}, props, {
48050
- TextInputComponent: TextInput$1
48004
+ TextInputComponent: TextInput
48051
48005
  }));
48052
48006
  };
48053
48007
  var index$1 = Object.assign(DatePicker, {
@@ -48056,7 +48010,7 @@ var index$1 = Object.assign(DatePicker, {
48056
48010
 
48057
48011
  var TimePicker = function TimePicker(props) {
48058
48012
  return /*#__PURE__*/React__namespace.default.createElement(InternalTimePicker, _extends$1({}, props, {
48059
- TextInputComponent: TextInput$1
48013
+ TextInputComponent: TextInput
48060
48014
  }));
48061
48015
  };
48062
48016
 
@@ -66685,10 +66639,11 @@ var postMessage = function postMessage(element, message) {
66685
66639
  };
66686
66640
 
66687
66641
  var StyledWrapper = index$b(reactNative.View)(function (_ref) {
66688
- var theme = _ref.theme;
66689
- return {
66642
+ var theme = _ref.theme,
66643
+ groupStyleEnabled = _ref.groupStyleEnabled;
66644
+ return _objectSpread2({}, groupStyleEnabled ? {} : {
66690
66645
  marginBottom: theme.__hd__.richTextEditor.space.wrapperMarginBottom
66691
- };
66646
+ });
66692
66647
  });
66693
66648
  var StyledWebView = index$b(reactNativeWebview.WebView)(function (_ref2) {
66694
66649
  var theme = _ref2.theme;
@@ -66900,17 +66855,22 @@ var RichTextEditor = function RichTextEditor(_ref) {
66900
66855
  error = _ref$error === void 0 ? '' : _ref$error,
66901
66856
  _ref$style = _ref.style,
66902
66857
  style = _ref$style === void 0 ? {} : _ref$style,
66858
+ textStyle = _ref.textStyle,
66903
66859
  label = _ref.label,
66904
66860
  helpText = _ref.helpText,
66905
66861
  required = _ref.required,
66906
66862
  testID = _ref.testID,
66907
66863
  forwardedRef = _ref.forwardedRef,
66908
66864
  _ref$value = _ref.value,
66909
- value = _ref$value === void 0 ? defaultValue : _ref$value;
66865
+ value = _ref$value === void 0 ? defaultValue : _ref$value,
66866
+ _ref$groupStyleEnable = _ref.groupStyleEnabled,
66867
+ groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
66910
66868
  var plain = React.useMemo(function () {
66911
66869
  return libExports.plainSerializer(value);
66912
66870
  }, [value]);
66913
- return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper, null, /*#__PURE__*/React__namespace.default.createElement(TextInput$1, {
66871
+ return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper, {
66872
+ groupStyleEnabled: groupStyleEnabled
66873
+ }, /*#__PURE__*/React__namespace.default.createElement(InternalTextInput, {
66914
66874
  autoFocus: autoFocus,
66915
66875
  error: error,
66916
66876
  label: label,
@@ -66919,7 +66879,9 @@ var RichTextEditor = function RichTextEditor(_ref) {
66919
66879
  placeholder: placeholder,
66920
66880
  value: plain,
66921
66881
  style: style,
66882
+ textStyle: textStyle,
66922
66883
  helpText: helpText,
66884
+ groupStyleEnabled: groupStyleEnabled,
66923
66885
  renderInputValue: function renderInputValue(inputProps, ref) {
66924
66886
  return /*#__PURE__*/React__namespace.default.createElement(RichTextEditorInput, _extends$1({}, inputProps, {
66925
66887
  ref: ref,
@@ -67227,7 +67189,7 @@ exports.Swipeable = index$6;
67227
67189
  exports.Switch = index$5;
67228
67190
  exports.Tabs = index$4;
67229
67191
  exports.Tag = Tag;
67230
- exports.TextInput = TextInput$1;
67192
+ exports.TextInput = TextInput;
67231
67193
  exports.ThemeProvider = WorkThemeProvider;
67232
67194
  exports.ThemeSwitcher = WorkThemeSwitcher;
67233
67195
  exports.TimePicker = TimePicker;