@hero-design/rn 8.128.1 → 8.128.3

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/es/index.js +136 -240
  3. package/lib/index.js +136 -240
  4. package/package.json +8 -1
  5. package/src/components/DatePicker/DatePicker.tsx +5 -24
  6. package/src/components/DatePicker/DatePickerAndroid.tsx +8 -17
  7. package/src/components/DatePicker/DatePickerCalendar.tsx +8 -17
  8. package/src/components/DatePicker/DatePickerIOS.tsx +8 -17
  9. package/src/components/DatePicker/StyledDatePicker.tsx +2 -19
  10. package/src/components/DatePicker/types.ts +0 -17
  11. package/src/components/Select/MultiSelect/index.tsx +9 -23
  12. package/src/components/Select/SingleSelect/index.tsx +9 -23
  13. package/src/components/Select/StyledSelect.tsx +2 -25
  14. package/src/components/Select/index.tsx +2 -8
  15. package/src/components/Select/types.ts +0 -4
  16. package/src/components/TimePicker/StyledTimePicker.tsx +2 -19
  17. package/src/components/TimePicker/TimePicker.tsx +2 -2
  18. package/src/components/TimePicker/TimePickerAndroid.tsx +6 -15
  19. package/src/components/TimePicker/TimePickerIOS.tsx +7 -18
  20. package/src/components/TimePicker/types.ts +0 -17
  21. package/src/theme/global/colors/ehJobs.ts +0 -1
  22. package/src/theme/global/colors/ehWork.ts +1 -1
  23. package/types/components/Checkbox/StyledInlineCheckBox.d.ts +1 -1
  24. package/types/components/Checkbox/utils.d.ts +1 -1
  25. package/types/components/DatePicker/DatePicker.d.ts +2 -2
  26. package/types/components/DatePicker/DatePickerAndroid.d.ts +3 -3
  27. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -2
  28. package/types/components/DatePicker/DatePickerIOS.d.ts +3 -3
  29. package/types/components/DatePicker/StyledDatePicker.d.ts +1 -8
  30. package/types/components/DatePicker/types.d.ts +0 -15
  31. package/types/components/Select/MultiSelect/index.d.ts +1 -6
  32. package/types/components/Select/SingleSelect/index.d.ts +1 -6
  33. package/types/components/Select/StyledSelect.d.ts +1 -8
  34. package/types/components/Select/index.d.ts +2 -2
  35. package/types/components/Select/types.d.ts +0 -4
  36. package/types/components/TextInput/index.d.ts +1 -1
  37. package/types/components/TimePicker/StyledTimePicker.d.ts +1 -8
  38. package/types/components/TimePicker/TimePicker.d.ts +2 -2
  39. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -2
  40. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -2
  41. package/types/components/TimePicker/types.d.ts +0 -15
  42. package/src/components/DatePicker/index.internal.tsx +0 -10
  43. package/src/components/Select/index.internal.tsx +0 -26
  44. package/src/components/TimePicker/index.internal.tsx +0 -9
  45. package/src/index.internal.ts +0 -26
  46. package/src/types.internal.ts +0 -28
  47. package/types/components/DatePicker/index.internal.d.ts +0 -7
  48. package/types/components/Select/index.internal.d.ts +0 -21
  49. package/types/components/TimePicker/index.internal.d.ts +0 -5
  50. package/types/index.internal.d.ts +0 -19
  51. package/types/types.internal.d.ts +0 -18
package/lib/index.js CHANGED
@@ -5008,7 +5008,7 @@ var swagLightGlobalPalette = _objectSpread2(_objectSpread2({}, globalPalette$1),
5008
5008
  });
5009
5009
 
5010
5010
  var ehWorkBrandSystemPalette = {
5011
- primary: '#7622d7',
5011
+ primary: '#460078',
5012
5012
  onPrimary: '#fdfbff',
5013
5013
  secondary: '#b382fd',
5014
5014
  onSecondary: palette$4.white,
@@ -5037,7 +5037,6 @@ var swagSystemPalette = _objectSpread2(_objectSpread2({}, ehWorkSystemPalette),
5037
5037
 
5038
5038
  var ehJobsSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette), {}, {
5039
5039
  name: 'ehJobs',
5040
- primary: '#7622d7',
5041
5040
  secondary: '#40d1ff',
5042
5041
  onSecondary: '#460078',
5043
5042
  secondaryHighlightedSurface: '#ecfaff',
@@ -8215,7 +8214,7 @@ var StyledText$4 = index$c(reactNative.Text)(function (_ref) {
8215
8214
  });
8216
8215
  });
8217
8216
 
8218
- var _excluded$Q = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
8217
+ var _excluded$O = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
8219
8218
  /**
8220
8219
  * @deprecated 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.
8221
8220
  */
@@ -8231,7 +8230,7 @@ var Text = function Text(_ref) {
8231
8230
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8232
8231
  _ref$allowFontScaling = _ref.allowFontScaling,
8233
8232
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8234
- nativeProps = _objectWithoutProperties(_ref, _excluded$Q);
8233
+ nativeProps = _objectWithoutProperties(_ref, _excluded$O);
8235
8234
  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.');
8236
8235
  return /*#__PURE__*/React__namespace.default.createElement(StyledText$4, _extends$1({}, nativeProps, {
8237
8236
  themeFontSize: fontSize,
@@ -8284,10 +8283,10 @@ var pickAccessibilityProps = function pickAccessibilityProps(props) {
8284
8283
  }, {});
8285
8284
  };
8286
8285
 
8287
- var _excluded$P = ["children"];
8286
+ var _excluded$N = ["children"];
8288
8287
  var GradientText = function GradientText(_ref) {
8289
8288
  var children = _ref.children,
8290
- accessibilityProps = _objectWithoutProperties(_ref, _excluded$P);
8289
+ accessibilityProps = _objectWithoutProperties(_ref, _excluded$N);
8291
8290
  var theme = useTheme();
8292
8291
  var gradient = theme.colors.gradients.aiDiagonal;
8293
8292
  var _useState = React.useState(null),
@@ -8343,7 +8342,7 @@ var GradientText = function GradientText(_ref) {
8343
8342
  }, children));
8344
8343
  };
8345
8344
 
8346
- var _excluded$O = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle", "style", "testID"];
8345
+ var _excluded$M = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle", "style", "testID"];
8347
8346
  var Caption = function Caption(_ref) {
8348
8347
  var children = _ref.children,
8349
8348
  _ref$fontWeight = _ref.fontWeight,
@@ -8356,7 +8355,7 @@ var Caption = function Caption(_ref) {
8356
8355
  fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8357
8356
  style = _ref.style,
8358
8357
  testID = _ref.testID,
8359
- nativeProps = _objectWithoutProperties(_ref, _excluded$O);
8358
+ nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8360
8359
  var isAi = intent === 'ai';
8361
8360
  var styledText = /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
8362
8361
  themeFontWeight: fontWeight,
@@ -8388,7 +8387,7 @@ var StyledLabel$1 = index$c(reactNative.Text)(function (_ref) {
8388
8387
  };
8389
8388
  });
8390
8389
 
8391
- var _excluded$N = ["children", "intent", "allowFontScaling", "fontStyle", "fontWeight", "style", "testID"];
8390
+ var _excluded$L = ["children", "intent", "allowFontScaling", "fontStyle", "fontWeight", "style", "testID"];
8392
8391
  var Label = function Label(_ref) {
8393
8392
  var children = _ref.children,
8394
8393
  _ref$intent = _ref.intent,
@@ -8401,7 +8400,7 @@ var Label = function Label(_ref) {
8401
8400
  fontWeight = _ref$fontWeight === void 0 ? 'regular' : _ref$fontWeight,
8402
8401
  style = _ref.style,
8403
8402
  testID = _ref.testID,
8404
- nativeProps = _objectWithoutProperties(_ref, _excluded$N);
8403
+ nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8405
8404
  var isAi = intent === 'ai';
8406
8405
  var styledText = /*#__PURE__*/React__namespace.default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
8407
8406
  themeIntent: isAi ? 'body' : intent,
@@ -8432,7 +8431,7 @@ var StyledTitle$1 = index$c(reactNative.Text)(function (_ref) {
8432
8431
  };
8433
8432
  });
8434
8433
 
8435
- var _excluded$M = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle", "style", "testID"];
8434
+ var _excluded$K = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle", "style", "testID"];
8436
8435
  var Title = function Title(_ref) {
8437
8436
  var children = _ref.children,
8438
8437
  _ref$intent = _ref.intent,
@@ -8447,7 +8446,7 @@ var Title = function Title(_ref) {
8447
8446
  fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8448
8447
  style = _ref.style,
8449
8448
  testID = _ref.testID,
8450
- nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8449
+ nativeProps = _objectWithoutProperties(_ref, _excluded$K);
8451
8450
  var isAi = intent === 'ai';
8452
8451
  var styledText = /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
8453
8452
  themeLevel: level,
@@ -8497,7 +8496,7 @@ var StyledBody$2 = index$c(reactNative.Text)(function (_ref) {
8497
8496
  };
8498
8497
  });
8499
8498
 
8500
- var _excluded$L = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle", "style", "testID"];
8499
+ var _excluded$J = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle", "style", "testID"];
8501
8500
  var Body = function Body(_ref) {
8502
8501
  var children = _ref.children,
8503
8502
  _ref$intent = _ref.intent,
@@ -8512,7 +8511,7 @@ var Body = function Body(_ref) {
8512
8511
  fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8513
8512
  style = _ref.style,
8514
8513
  testID = _ref.testID,
8515
- nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8514
+ nativeProps = _objectWithoutProperties(_ref, _excluded$J);
8516
8515
  var isAi = intent === 'ai';
8517
8516
  var styledText = /*#__PURE__*/React__namespace.default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
8518
8517
  themeTypeface: typeface,
@@ -9176,22 +9175,22 @@ var SpinWrapper = function SpinWrapper(_ref) {
9176
9175
  }, children);
9177
9176
  };
9178
9177
 
9179
- var _excluded$K = ["style"];
9178
+ var _excluded$I = ["style"];
9180
9179
  var AnimatedIcon = function AnimatedIcon(_ref) {
9181
9180
  var style = _ref.style,
9182
- otherProps = _objectWithoutProperties(_ref, _excluded$K);
9181
+ otherProps = _objectWithoutProperties(_ref, _excluded$I);
9183
9182
  return /*#__PURE__*/React__namespace.default.createElement(SpinWrapper, {
9184
9183
  style: style
9185
9184
  }, /*#__PURE__*/React__namespace.default.createElement(StyledHeroIcon, otherProps));
9186
9185
  };
9187
9186
 
9188
- var _excluded$J = ["name", "themeSize", "testID", "style"];
9187
+ var _excluded$H = ["name", "themeSize", "testID", "style"];
9189
9188
  var GradientIcon = function GradientIcon(_ref) {
9190
9189
  var name = _ref.name,
9191
9190
  themeSize = _ref.themeSize,
9192
9191
  testID = _ref.testID,
9193
9192
  style = _ref.style,
9194
- accessibilityProps = _objectWithoutProperties(_ref, _excluded$J);
9193
+ accessibilityProps = _objectWithoutProperties(_ref, _excluded$H);
9195
9194
  var theme = useTheme();
9196
9195
  var gradient = theme.colors.gradients.aiDiagonal;
9197
9196
  var size = theme.__hd__.icon.sizes[themeSize];
@@ -9319,7 +9318,7 @@ var AccordionItem = function AccordionItem(_ref) {
9319
9318
  }, content));
9320
9319
  };
9321
9320
 
9322
- var _excluded$I = ["key"];
9321
+ var _excluded$G = ["key"];
9323
9322
  var Accordion = function Accordion(_ref) {
9324
9323
  var items = _ref.items,
9325
9324
  activeItemKey = _ref.activeItemKey,
@@ -9342,7 +9341,7 @@ var Accordion = function Accordion(_ref) {
9342
9341
  accessible: accessible
9343
9342
  }, items.map(function (_ref2, index) {
9344
9343
  var key = _ref2.key,
9345
- props = _objectWithoutProperties(_ref2, _excluded$I);
9344
+ props = _objectWithoutProperties(_ref2, _excluded$G);
9346
9345
  var open = _activeItemKey === key;
9347
9346
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
9348
9347
  key: key
@@ -10178,7 +10177,7 @@ var borderWidths = {
10178
10177
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
10179
10178
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
10180
10179
 
10181
- var _excluded$H = ["theme"];
10180
+ var _excluded$F = ["theme"];
10182
10181
  var getThemeValue = function getThemeValue(theme, key, props) {
10183
10182
  var propConfig = config[key];
10184
10183
  var propValue = props[key];
@@ -10205,18 +10204,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
10205
10204
  var configKeys = Object.keys(config);
10206
10205
  var StyledBox = index$c(reactNative.View)(function (_ref5) {
10207
10206
  var theme = _ref5.theme,
10208
- otherProps = _objectWithoutProperties(_ref5, _excluded$H);
10207
+ otherProps = _objectWithoutProperties(_ref5, _excluded$F);
10209
10208
  var styleProps = pick(configKeys, otherProps);
10210
10209
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
10211
10210
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
10212
10211
  });
10213
10212
 
10214
- var _excluded$G = ["children", "style", "testID"];
10213
+ var _excluded$E = ["children", "style", "testID"];
10215
10214
  var Box = function Box(_ref) {
10216
10215
  var children = _ref.children,
10217
10216
  style = _ref.style,
10218
10217
  testID = _ref.testID,
10219
- otherProps = _objectWithoutProperties(_ref, _excluded$G);
10218
+ otherProps = _objectWithoutProperties(_ref, _excluded$E);
10220
10219
  return /*#__PURE__*/React__namespace.default.createElement(StyledBox, _extends$1({}, otherProps, {
10221
10220
  style: style,
10222
10221
  testID: testID
@@ -10487,7 +10486,7 @@ var StyledIcon$4 = index$c(Icon)(function (_ref6) {
10487
10486
  };
10488
10487
  });
10489
10488
 
10490
- var _excluded$F = ["children", "visible", "intent", "style", "testID"];
10489
+ var _excluded$D = ["children", "visible", "intent", "style", "testID"];
10491
10490
  var Status$1 = function Status(_ref) {
10492
10491
  var children = _ref.children,
10493
10492
  _ref$visible = _ref.visible,
@@ -10496,7 +10495,7 @@ var Status$1 = function Status(_ref) {
10496
10495
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
10497
10496
  style = _ref.style,
10498
10497
  testID = _ref.testID,
10499
- nativeProps = _objectWithoutProperties(_ref, _excluded$F);
10498
+ nativeProps = _objectWithoutProperties(_ref, _excluded$D);
10500
10499
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
10501
10500
  opacity = _React$useRef.current;
10502
10501
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -10532,7 +10531,7 @@ var Status$1 = function Status(_ref) {
10532
10531
 
10533
10532
  var DEFAULT_MAX_NUMBER = 99;
10534
10533
 
10535
- var _excluded$E = ["children", "visible", "style", "max", "testID", "content"];
10534
+ var _excluded$C = ["children", "visible", "style", "max", "testID", "content"];
10536
10535
  var Status = function Status(_ref) {
10537
10536
  var children = _ref.children,
10538
10537
  _ref$visible = _ref.visible,
@@ -10542,7 +10541,7 @@ var Status = function Status(_ref) {
10542
10541
  max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
10543
10542
  testID = _ref.testID,
10544
10543
  originalContent = _ref.content,
10545
- nativeProps = _objectWithoutProperties(_ref, _excluded$E);
10544
+ nativeProps = _objectWithoutProperties(_ref, _excluded$C);
10546
10545
  var content = React.useMemo(function () {
10547
10546
  return originalContent > max ? "".concat(max, "+") : String(originalContent);
10548
10547
  }, [originalContent, max]);
@@ -10554,7 +10553,7 @@ var Status = function Status(_ref) {
10554
10553
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCountText, null, content)));
10555
10554
  };
10556
10555
 
10557
- var _excluded$D = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
10556
+ var _excluded$B = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
10558
10557
  var getPaddingState = function getPaddingState(content) {
10559
10558
  return content.length > 1 ? 'wideContent' : 'narrowContent';
10560
10559
  };
@@ -10573,7 +10572,7 @@ var Badge = function Badge(_ref) {
10573
10572
  _ref$variant = _ref.variant,
10574
10573
  variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
10575
10574
  icon = _ref.icon,
10576
- nativeProps = _objectWithoutProperties(_ref, _excluded$D);
10575
+ nativeProps = _objectWithoutProperties(_ref, _excluded$B);
10577
10576
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
10578
10577
  opacity = _React$useRef.current;
10579
10578
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -10691,7 +10690,7 @@ var StyledBottomBarText = index$c(Typography.Label)(function (_ref4) {
10691
10690
  };
10692
10691
  });
10693
10692
 
10694
- var _excluded$C = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
10693
+ var _excluded$A = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
10695
10694
  var getInactiveIcon = function getInactiveIcon(icon) {
10696
10695
  var inactiveIcon = "".concat(icon, "-outlined");
10697
10696
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -10702,7 +10701,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
10702
10701
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
10703
10702
  selectedTabKey = _ref.selectedTabKey,
10704
10703
  tabs = _ref.tabs,
10705
- nativeProps = _objectWithoutProperties(_ref, _excluded$C);
10704
+ nativeProps = _objectWithoutProperties(_ref, _excluded$A);
10706
10705
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
10707
10706
  /**
10708
10707
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -10794,13 +10793,13 @@ var StyledDivider = index$c(reactNative.View)(function (_ref) {
10794
10793
  }, horizontalMargin), verticalMargin);
10795
10794
  });
10796
10795
 
10797
- var _excluded$B = ["marginHorizontal", "marginVertical", "style", "testID"];
10796
+ var _excluded$z = ["marginHorizontal", "marginVertical", "style", "testID"];
10798
10797
  var Divider = function Divider(_ref) {
10799
10798
  var marginHorizontal = _ref.marginHorizontal,
10800
10799
  marginVertical = _ref.marginVertical,
10801
10800
  style = _ref.style,
10802
10801
  testID = _ref.testID,
10803
- nativeProps = _objectWithoutProperties(_ref, _excluded$B);
10802
+ nativeProps = _objectWithoutProperties(_ref, _excluded$z);
10804
10803
  return /*#__PURE__*/React__namespace.default.createElement(StyledDivider, _extends$1({}, nativeProps, {
10805
10804
  themeMarginHorizontal: marginHorizontal,
10806
10805
  themeMarginVertical: marginVertical,
@@ -10931,7 +10930,7 @@ var StyledLoadingDot = index$c(reactNative.View)(function (_ref) {
10931
10930
  }, themeStyling());
10932
10931
  });
10933
10932
 
10934
- var _excluded$A = ["count", "size", "testID", "themeVariant"];
10933
+ var _excluded$y = ["count", "size", "testID", "themeVariant"];
10935
10934
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
10936
10935
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
10937
10936
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -10963,7 +10962,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
10963
10962
  size = _ref2$size === void 0 ? 12 : _ref2$size,
10964
10963
  testID = _ref2.testID,
10965
10964
  themeVariant = _ref2.themeVariant,
10966
- nativeProps = _objectWithoutProperties(_ref2, _excluded$A);
10965
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$y);
10967
10966
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
10968
10967
  React.useEffect(function () {
10969
10968
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -11595,11 +11594,11 @@ var Header = function Header(_ref) {
11595
11594
  }))) : null), showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null);
11596
11595
  };
11597
11596
 
11598
- var _excluded$z = ["scrollEventThrottle"];
11597
+ var _excluded$x = ["scrollEventThrottle"];
11599
11598
  var BottomSheetScrollView = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11600
11599
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
11601
11600
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
11602
- props = _objectWithoutProperties(_ref, _excluded$z);
11601
+ props = _objectWithoutProperties(_ref, _excluded$x);
11603
11602
  var _useContext = React.useContext(BottomSheetContext),
11604
11603
  setInternalShowDivider = _useContext.setInternalShowDivider;
11605
11604
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -14721,12 +14720,12 @@ var Indicator = index$c(reactNative.View)(function (_ref3) {
14721
14720
  };
14722
14721
  });
14723
14722
 
14724
- var _excluded$y = ["intent", "children"];
14723
+ var _excluded$w = ["intent", "children"];
14725
14724
  var DataCard = function DataCard(_ref) {
14726
14725
  var _ref$intent = _ref.intent,
14727
14726
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
14728
14727
  children = _ref.children,
14729
- nativeProps = _objectWithoutProperties(_ref, _excluded$y);
14728
+ nativeProps = _objectWithoutProperties(_ref, _excluded$w);
14730
14729
  return /*#__PURE__*/React__namespace.default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__namespace.default.createElement(Indicator, {
14731
14730
  themeIntent: intent,
14732
14731
  testID: "data-card-indicator"
@@ -14745,13 +14744,13 @@ var StyledCard$1 = index$c(reactNative.View)(function (_ref) {
14745
14744
  });
14746
14745
  });
14747
14746
 
14748
- var _excluded$x = ["intent", "children", "variant"];
14747
+ var _excluded$v = ["intent", "children", "variant"];
14749
14748
  var Card = function Card(_ref) {
14750
14749
  var intent = _ref.intent,
14751
14750
  children = _ref.children,
14752
14751
  _ref$variant = _ref.variant,
14753
14752
  variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
14754
- nativeProps = _objectWithoutProperties(_ref, _excluded$x);
14753
+ nativeProps = _objectWithoutProperties(_ref, _excluded$v);
14755
14754
  return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
14756
14755
  themeIntent: intent,
14757
14756
  themeVariant: variant
@@ -15018,7 +15017,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15018
15017
  });
15019
15018
  CardCarousel.displayName = 'CardCarousel';
15020
15019
 
15021
- var _excluded$w = ["rounded", "size", "testID", "style"];
15020
+ var _excluded$u = ["rounded", "size", "testID", "style"];
15022
15021
  /**
15023
15022
  * @deprecated Image component will soon be deprecated. Please use `Image` from `react-native` instead.
15024
15023
  */
@@ -15029,7 +15028,7 @@ var Image = function Image(_ref) {
15029
15028
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
15030
15029
  testID = _ref.testID,
15031
15030
  style = _ref.style,
15032
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$w);
15031
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$u);
15033
15032
  useDeprecation('Image component will soon be deprecated. Please use `Image` from `react-native` instead.');
15034
15033
  var theme = useTheme();
15035
15034
  var imageSize = theme.__hd__.image.sizes[size];
@@ -15164,7 +15163,7 @@ var CarouselItem = function CarouselItem(_ref) {
15164
15163
  }, heading), !!body && /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, body)));
15165
15164
  };
15166
15165
 
15167
- var _excluded$v = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
15166
+ var _excluded$t = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
15168
15167
  function useStateFromProp(initialValue) {
15169
15168
  var _useState = React.useState(initialValue),
15170
15169
  _useState2 = _slicedToArray(_useState, 2),
@@ -15191,7 +15190,7 @@ var Carousel = function Carousel(_ref) {
15191
15190
  testID = _ref.testID,
15192
15191
  _ref$pageControlPosit = _ref.pageControlPosition,
15193
15192
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
15194
- nativeProps = _objectWithoutProperties(_ref, _excluded$v);
15193
+ nativeProps = _objectWithoutProperties(_ref, _excluded$t);
15195
15194
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
15196
15195
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
15197
15196
  var theme = useTheme();
@@ -20462,7 +20461,7 @@ var StyledChipIcon = index$c(Icon)(function (_ref2) {
20462
20461
  };
20463
20462
  });
20464
20463
 
20465
- var _excluded$u = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible", "onBlur", "onFocus"];
20464
+ var _excluded$s = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible", "onBlur", "onFocus"];
20466
20465
  var getChipLabel = function getChipLabel(label) {
20467
20466
  if (typeof label === 'string') {
20468
20467
  return /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
@@ -20498,7 +20497,7 @@ var Chip = function Chip(_ref) {
20498
20497
  accessible = _ref.accessible,
20499
20498
  onBlur = _ref.onBlur,
20500
20499
  onFocus = _ref.onFocus,
20501
- otherProps = _objectWithoutProperties(_ref, _excluded$u);
20500
+ otherProps = _objectWithoutProperties(_ref, _excluded$s);
20502
20501
  useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
20503
20502
  var renamedVariant = getChipVariant(variant);
20504
20503
  var shouldShowSelectedIcon = (renamedVariant === 'selection' || renamedVariant === 'compact-outlined') && selected && showSelectedIcon;
@@ -20889,7 +20888,7 @@ var StyledErrorAndMaxLengthContainer = index$c(reactNative.View)(function (_ref1
20889
20888
  };
20890
20889
  });
20891
20890
 
20892
- var _excluded$t = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
20891
+ var _excluded$r = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
20893
20892
  var getState$3 = function getState(_ref) {
20894
20893
  var disabled = _ref.disabled,
20895
20894
  error = _ref.error,
@@ -21005,7 +21004,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
21005
21004
  allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
21006
21005
  _ref8$variant = _ref8.variant,
21007
21006
  variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
21008
- nativeProps = _objectWithoutProperties(_ref8, _excluded$t);
21007
+ nativeProps = _objectWithoutProperties(_ref8, _excluded$r);
21009
21008
  var displayText = getDisplayText(value, defaultValue);
21010
21009
  var isEmptyValue = displayText.length === 0;
21011
21010
  var _React$useState = React__namespace.default.useState(0),
@@ -21364,30 +21363,6 @@ var useFormatDate = function useFormatDate(_ref) {
21364
21363
  };
21365
21364
  };
21366
21365
 
21367
- var StyledPickerWrapper$1 = index$c(reactNative.View)(function (_ref) {
21368
- var theme = _ref.theme;
21369
- return {
21370
- height: theme.__hd__.datePicker.sizes.height,
21371
- alignItems: 'center'
21372
- };
21373
- });
21374
- var getZIndexByState$2 = function getZIndexByState(_ref2) {
21375
- var themeHasError = _ref2.themeHasError;
21376
- if (themeHasError) {
21377
- return 1;
21378
- }
21379
- return 0;
21380
- };
21381
- var StyledTouchableOpacity$2 = index$c(reactNative.TouchableOpacity)(function (_ref3) {
21382
- var themeGroupStyleEnabled = _ref3.themeGroupStyleEnabled,
21383
- themeHasError = _ref3.themeHasError;
21384
- return _objectSpread2({}, themeGroupStyleEnabled && {
21385
- zIndex: getZIndexByState$2({
21386
- themeHasError: themeHasError
21387
- })
21388
- });
21389
- });
21390
-
21391
21366
  var DatePickerAndroid = function DatePickerAndroid(_ref) {
21392
21367
  var value = _ref.value,
21393
21368
  minDate = _ref.minDate,
@@ -21406,11 +21381,7 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
21406
21381
  _ref$variant = _ref.variant,
21407
21382
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
21408
21383
  renderSelectedValue = _ref.renderSelectedValue,
21409
- locale = _ref.locale,
21410
- TextInputComponent = _ref.TextInputComponent,
21411
- inputProps = _ref.inputProps,
21412
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
21413
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
21384
+ locale = _ref.locale;
21414
21385
  var _useState = React.useState(false),
21415
21386
  _useState2 = _slicedToArray(_useState, 2),
21416
21387
  open = _useState2[0],
@@ -21428,20 +21399,17 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
21428
21399
  onChange: onChange,
21429
21400
  value: value
21430
21401
  });
21431
- var InputComponent = TextInputComponent || TextInput;
21432
21402
  var onPress = React.useCallback(function () {
21433
21403
  setOpen(true);
21434
21404
  }, []);
21435
- return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$2, {
21405
+ return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
21436
21406
  onPress: onPress,
21437
21407
  disabled: disabled,
21438
- themeGroupStyleEnabled: groupStyleEnabled,
21439
- themeHasError: !!error,
21440
21408
  testID: "date-picker-android-touchable-opacity"
21441
21409
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
21442
21410
  pointerEvents: "none",
21443
21411
  testID: "datePickerInputAndroid"
21444
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
21412
+ }, /*#__PURE__*/React__namespace.default.createElement(TextInput, {
21445
21413
  label: label,
21446
21414
  value: displayValue,
21447
21415
  suffix: "calendar-dates-outlined",
@@ -21452,13 +21420,13 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
21452
21420
  helpText: helpText,
21453
21421
  style: style,
21454
21422
  testID: testID,
21455
- renderInputValue: renderSelectedValue !== undefined && !!value ? function (props) {
21423
+ renderInputValue: renderSelectedValue !== undefined && !!value ? function (inputProps) {
21456
21424
  return renderSelectedValue({
21457
21425
  date: value,
21458
21426
  formattedDateString: displayValue
21459
- }, props);
21427
+ }, inputProps);
21460
21428
  } : undefined
21461
- }))), /*#__PURE__*/React__namespace.default.createElement(AndroidDatePickerDialog, {
21429
+ })), /*#__PURE__*/React__namespace.default.createElement(AndroidDatePickerDialog, {
21462
21430
  open: open,
21463
21431
  onClose: function onClose() {
21464
21432
  return setOpen(false);
@@ -21536,11 +21504,7 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
21536
21504
  _ref2$supportedOrient = _ref2.supportedOrientations,
21537
21505
  supportedOrientations = _ref2$supportedOrient === void 0 ? ['portrait'] : _ref2$supportedOrient,
21538
21506
  renderSelectedValue = _ref2.renderSelectedValue,
21539
- locale = _ref2.locale,
21540
- TextInputComponent = _ref2.TextInputComponent,
21541
- inputProps = _ref2.inputProps,
21542
- _ref2$groupStyleEnabl = _ref2.groupStyleEnabled,
21543
- groupStyleEnabled = _ref2$groupStyleEnabl === void 0 ? false : _ref2$groupStyleEnabl;
21507
+ locale = _ref2.locale;
21544
21508
  var _useState5 = React.useState(false),
21545
21509
  _useState6 = _slicedToArray(_useState5, 2),
21546
21510
  open = _useState6[0],
@@ -21566,20 +21530,17 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
21566
21530
  onChange: onChange,
21567
21531
  value: value
21568
21532
  });
21569
- var InputComponent = TextInputComponent || TextInput;
21570
21533
  var onPress = React.useCallback(function () {
21571
21534
  setOpen(true);
21572
21535
  }, []);
21573
- return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$2, {
21536
+ return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
21574
21537
  onPress: onPress,
21575
21538
  disabled: disabled,
21576
- themeGroupStyleEnabled: groupStyleEnabled,
21577
- themeHasError: !!error,
21578
21539
  testID: "date-picker-calendar-touchable-opacity"
21579
21540
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
21580
21541
  pointerEvents: "none",
21581
21542
  testID: "datePickerCalendar"
21582
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
21543
+ }, /*#__PURE__*/React__namespace.default.createElement(TextInput, {
21583
21544
  label: label,
21584
21545
  value: displayValue,
21585
21546
  suffix: "calendar-dates-outlined",
@@ -21590,13 +21551,13 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
21590
21551
  helpText: helpText,
21591
21552
  testID: testID,
21592
21553
  style: style,
21593
- renderInputValue: renderSelectedValue !== undefined && !!value ? function (props) {
21554
+ renderInputValue: renderSelectedValue !== undefined && !!value ? function (inputProps) {
21594
21555
  return renderSelectedValue({
21595
21556
  date: value,
21596
21557
  formattedDateString: displayValue
21597
- }, props);
21558
+ }, inputProps);
21598
21559
  } : undefined
21599
- }))), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
21560
+ })), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
21600
21561
  open: open,
21601
21562
  onRequestClose: function onRequestClose() {
21602
21563
  return setOpen(false);
@@ -21626,6 +21587,14 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
21626
21587
  }))));
21627
21588
  };
21628
21589
 
21590
+ var StyledPickerWrapper$1 = index$c(reactNative.View)(function (_ref) {
21591
+ var theme = _ref.theme;
21592
+ return {
21593
+ height: theme.__hd__.datePicker.sizes.height,
21594
+ alignItems: 'center'
21595
+ };
21596
+ });
21597
+
21629
21598
  var IOSDatePickerDialog = function IOSDatePickerDialog(_ref) {
21630
21599
  var label = _ref.label,
21631
21600
  open = _ref.open,
@@ -21718,11 +21687,7 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
21718
21687
  _ref$variant = _ref.variant,
21719
21688
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
21720
21689
  locale = _ref.locale,
21721
- renderSelectedValue = _ref.renderSelectedValue,
21722
- TextInputComponent = _ref.TextInputComponent,
21723
- inputProps = _ref.inputProps,
21724
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
21725
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
21690
+ renderSelectedValue = _ref.renderSelectedValue;
21726
21691
  var _useState = React.useState(false),
21727
21692
  _useState2 = _slicedToArray(_useState, 2),
21728
21693
  open = _useState2[0],
@@ -21742,20 +21707,17 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
21742
21707
  onChange: onChange,
21743
21708
  value: value
21744
21709
  });
21745
- var InputComponent = TextInputComponent || TextInput;
21746
21710
  var onPress = React.useCallback(function () {
21747
21711
  setOpen(true);
21748
21712
  }, []);
21749
- return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$2, {
21713
+ return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
21750
21714
  onPress: onPress,
21751
21715
  disabled: disabled,
21752
- themeGroupStyleEnabled: groupStyleEnabled,
21753
- themeHasError: !!error,
21754
21716
  testID: "date-picker-ios-touchable-opacity"
21755
21717
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
21756
21718
  pointerEvents: "none",
21757
21719
  testID: "datePickerInputIOS"
21758
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
21720
+ }, /*#__PURE__*/React__namespace.default.createElement(TextInput, {
21759
21721
  label: label,
21760
21722
  value: displayValue,
21761
21723
  suffix: "calendar-dates-outlined",
@@ -21766,13 +21728,13 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
21766
21728
  helpText: helpText,
21767
21729
  testID: testID,
21768
21730
  style: style,
21769
- renderInputValue: renderSelectedValue !== undefined && !!value ? function (props) {
21731
+ renderInputValue: renderSelectedValue !== undefined && !!value ? function (inputProps) {
21770
21732
  return renderSelectedValue({
21771
21733
  date: value,
21772
21734
  formattedDateString: displayValue
21773
- }, props);
21735
+ }, inputProps);
21774
21736
  } : undefined
21775
- }))), /*#__PURE__*/React__namespace.default.createElement(IOSDatePickerDialog, {
21737
+ })), /*#__PURE__*/React__namespace.default.createElement(IOSDatePickerDialog, {
21776
21738
  value: value,
21777
21739
  onChange: onChange,
21778
21740
  open: open,
@@ -21789,27 +21751,21 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
21789
21751
  }));
21790
21752
  };
21791
21753
 
21792
- var _excluded$s = ["variant", "TextInputComponent"];
21754
+ var _excluded$q = ["variant"];
21793
21755
  var DatePicker = function DatePicker(_ref) {
21794
21756
  var _ref$variant = _ref.variant,
21795
21757
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
21796
- _ref$TextInputCompone = _ref.TextInputComponent,
21797
- TextInputComponent = _ref$TextInputCompone === void 0 ? TextInput : _ref$TextInputCompone,
21798
- props = _objectWithoutProperties(_ref, _excluded$s);
21758
+ props = _objectWithoutProperties(_ref, _excluded$q);
21799
21759
  if (variant === 'calendar') {
21800
- return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, _extends$1({}, props, {
21801
- TextInputComponent: TextInputComponent
21802
- }));
21760
+ return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, props);
21803
21761
  }
21804
21762
  if (reactNative.Platform.OS === 'ios') {
21805
21763
  return /*#__PURE__*/React__namespace.default.createElement(DatePickerIOS, _extends$1({}, props, {
21806
- variant: variant,
21807
- TextInputComponent: TextInputComponent
21764
+ variant: variant
21808
21765
  }));
21809
21766
  }
21810
21767
  return /*#__PURE__*/React__namespace.default.createElement(DatePickerAndroid, _extends$1({}, props, {
21811
- variant: variant,
21812
- TextInputComponent: TextInputComponent
21768
+ variant: variant
21813
21769
  }));
21814
21770
  };
21815
21771
 
@@ -23854,7 +23810,7 @@ var StyledErrorDescription = index$c(Typography.Body)(function (_ref9) {
23854
23810
  };
23855
23811
  });
23856
23812
 
23857
- var _excluded$r = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
23813
+ var _excluded$p = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
23858
23814
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
23859
23815
  var renderImage$1 = function renderImage(image) {
23860
23816
  if (/*#__PURE__*/React.isValidElement(image)) {
@@ -23895,7 +23851,7 @@ var ErrorPage = function ErrorPage(_ref2) {
23895
23851
  secondaryCtaText = _ref2.secondaryCtaText,
23896
23852
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
23897
23853
  icon = _ref2.icon,
23898
- nativeProps = _objectWithoutProperties(_ref2, _excluded$r);
23854
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$p);
23899
23855
  var showCta = ctaText && onCtaPress !== undefined;
23900
23856
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
23901
23857
  var showButtonContainer = showCta || showSecondaryCta;
@@ -24124,13 +24080,13 @@ var ActionItem = function ActionItem(_ref) {
24124
24080
  })), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
24125
24081
  };
24126
24082
 
24127
- var _excluded$q = ["active"];
24083
+ var _excluded$o = ["active"];
24128
24084
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
24129
24085
  return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
24130
24086
  }));
24131
24087
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
24132
24088
  var active = _ref.active,
24133
- iconProps = _objectWithoutProperties(_ref, _excluded$q);
24089
+ iconProps = _objectWithoutProperties(_ref, _excluded$o);
24134
24090
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
24135
24091
  React.useEffect(function () {
24136
24092
  var animation = reactNative.Animated.spring(rotateAnimation.current, {
@@ -24536,11 +24492,11 @@ var StyledFAB = index$c(FABWithTitleStyle)(function (_ref) {
24536
24492
  };
24537
24493
  });
24538
24494
 
24539
- var _excluded$p = ["fabConfig", "onCancel"];
24495
+ var _excluded$n = ["fabConfig", "onCancel"];
24540
24496
  var Pair = function Pair(_ref) {
24541
24497
  var fabConfig = _ref.fabConfig,
24542
24498
  onCancel = _ref.onCancel,
24543
- props = _objectWithoutProperties(_ref, _excluded$p);
24499
+ props = _objectWithoutProperties(_ref, _excluded$n);
24544
24500
  var icon = fabConfig.icon,
24545
24501
  title = fabConfig.title,
24546
24502
  onPress = fabConfig.onPress,
@@ -25275,11 +25231,11 @@ var StyledFocusIcon = index$c(Icon)(function (_ref7) {
25275
25231
  };
25276
25232
  });
25277
25233
 
25278
- var _excluded$o = ["style", "testID"];
25234
+ var _excluded$m = ["style", "testID"];
25279
25235
  var MapPinFocussed = function MapPinFocussed(_ref) {
25280
25236
  var style = _ref.style,
25281
25237
  testID = _ref.testID,
25282
- nativeProps = _objectWithoutProperties(_ref, _excluded$o);
25238
+ nativeProps = _objectWithoutProperties(_ref, _excluded$m);
25283
25239
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
25284
25240
  style: style,
25285
25241
  testID: testID
@@ -25289,7 +25245,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
25289
25245
  }));
25290
25246
  };
25291
25247
 
25292
- var _excluded$n = ["style", "testID", "state", "image", "icon"];
25248
+ var _excluded$l = ["style", "testID", "state", "image", "icon"];
25293
25249
  var getBadgeIconName = function getBadgeIconName(state) {
25294
25250
  var iconMap = {
25295
25251
  idle: undefined,
@@ -25305,7 +25261,7 @@ var MapPin = function MapPin(_ref) {
25305
25261
  state = _ref$state === void 0 ? 'idle' : _ref$state,
25306
25262
  image = _ref.image,
25307
25263
  icon = _ref.icon,
25308
- nativeProps = _objectWithoutProperties(_ref, _excluded$n);
25264
+ nativeProps = _objectWithoutProperties(_ref, _excluded$l);
25309
25265
  var badgeIcon = getBadgeIconName(state);
25310
25266
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
25311
25267
  style: style,
@@ -25626,7 +25582,7 @@ var THEME_INTENT_MAP = {
25626
25582
  'archived-inverted': 'archivedInverted'
25627
25583
  };
25628
25584
 
25629
- var _excluded$m = ["value", "renderValue", "intent", "style", "testID"];
25585
+ var _excluded$k = ["value", "renderValue", "intent", "style", "testID"];
25630
25586
  var defaultRenderValue = function defaultRenderValue(value) {
25631
25587
  return "".concat(value, "%");
25632
25588
  };
@@ -25639,7 +25595,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
25639
25595
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25640
25596
  style = _ref.style,
25641
25597
  testID = _ref.testID,
25642
- nativeProps = _objectWithoutProperties(_ref, _excluded$m);
25598
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
25643
25599
  var theme = useTheme$1();
25644
25600
  var size = theme.__hd__.progress.sizes.circleDiameter;
25645
25601
  var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
@@ -25709,14 +25665,14 @@ var StyledInner = index$c(reactNative.Animated.View)(function (_ref2) {
25709
25665
  };
25710
25666
  });
25711
25667
 
25712
- var _excluded$l = ["value", "intent", "style", "testID"];
25668
+ var _excluded$j = ["value", "intent", "style", "testID"];
25713
25669
  var ProgressBar = function ProgressBar(_ref) {
25714
25670
  var value = _ref.value,
25715
25671
  _ref$intent = _ref.intent,
25716
25672
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25717
25673
  style = _ref.style,
25718
25674
  testID = _ref.testID,
25719
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
25675
+ nativeProps = _objectWithoutProperties(_ref, _excluded$j);
25720
25676
  var _useState = React.useState(0),
25721
25677
  _useState2 = _slicedToArray(_useState, 2),
25722
25678
  width = _useState2[0],
@@ -25806,7 +25762,7 @@ var StyledSingleStep = index$c(Box)(function (_ref3) {
25806
25762
  };
25807
25763
  });
25808
25764
 
25809
- var _excluded$k = ["steps", "current", "onLayout"];
25765
+ var _excluded$i = ["steps", "current", "onLayout"];
25810
25766
  var getStepState = function getStepState(current, index) {
25811
25767
  if (index < current) {
25812
25768
  return 'complete';
@@ -25820,7 +25776,7 @@ var ProgressStep = function ProgressStep(_ref) {
25820
25776
  var steps = _ref.steps,
25821
25777
  current = _ref.current,
25822
25778
  onLayout = _ref.onLayout,
25823
- props = _objectWithoutProperties(_ref, _excluded$k);
25779
+ props = _objectWithoutProperties(_ref, _excluded$i);
25824
25780
  var theme = useTheme$1();
25825
25781
  var _React$useState = React__namespace.default.useState(0),
25826
25782
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -26117,7 +26073,7 @@ var StyledEmptyText = index$c(Typography.Caption)(function (_ref4) {
26117
26073
  };
26118
26074
  });
26119
26075
 
26120
- var _excluded$j = ["data", "headerConfig", "emptyText", "legendConfig", "styleConfig", "style", "testID", "collapsable"];
26076
+ var _excluded$h = ["data", "headerConfig", "emptyText", "legendConfig", "styleConfig", "style", "testID", "collapsable"];
26121
26077
  var ProgressSegmentedBar = function ProgressSegmentedBar(_ref) {
26122
26078
  var data = _ref.data,
26123
26079
  headerConfig = _ref.headerConfig,
@@ -26127,7 +26083,7 @@ var ProgressSegmentedBar = function ProgressSegmentedBar(_ref) {
26127
26083
  style = _ref.style,
26128
26084
  testID = _ref.testID,
26129
26085
  collapsable = _ref.collapsable,
26130
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
26086
+ nativeProps = _objectWithoutProperties(_ref, _excluded$h);
26131
26087
  var values = React__namespace.default.useMemo(function () {
26132
26088
  return data.map(function (s) {
26133
26089
  return s.data;
@@ -26497,14 +26453,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
26497
26453
  }, dotProps))));
26498
26454
  };
26499
26455
 
26500
- var _excluded$i = ["testID", "size", "intent"];
26456
+ var _excluded$g = ["testID", "size", "intent"];
26501
26457
  var Spinner = function Spinner(_ref) {
26502
26458
  var testID = _ref.testID,
26503
26459
  _ref$size = _ref.size,
26504
26460
  size = _ref$size === void 0 ? 'medium' : _ref$size,
26505
26461
  _ref$intent = _ref.intent,
26506
26462
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
26507
- nativeProps = _objectWithoutProperties(_ref, _excluded$i);
26463
+ nativeProps = _objectWithoutProperties(_ref, _excluded$g);
26508
26464
  return /*#__PURE__*/React__namespace.default.createElement(StyledView$1, nativeProps, /*#__PURE__*/React__namespace.default.createElement(StyledSpinnerContainer, {
26509
26465
  testID: testID
26510
26466
  }, /*#__PURE__*/React__namespace.default.createElement(AnimatedSpinner, {
@@ -26537,7 +26493,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
26537
26493
  }, children);
26538
26494
  };
26539
26495
 
26540
- var _excluded$h = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
26496
+ var _excluded$f = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
26541
26497
  var renderActions = function renderActions(actions, width, progress, direction) {
26542
26498
  var trans = progress.interpolate({
26543
26499
  inputRange: [0, 1],
@@ -26566,7 +26522,7 @@ var Swipeable = function Swipeable(_ref) {
26566
26522
  rightActionsWidth = _ref.rightActionsWidth,
26567
26523
  _ref$variant = _ref.variant,
26568
26524
  variant = _ref$variant === void 0 ? 'card' : _ref$variant,
26569
- swipeableProps = _objectWithoutProperties(_ref, _excluded$h);
26525
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$f);
26570
26526
  var theme = useTheme();
26571
26527
  var _useWindowDimensions = reactNative.useWindowDimensions(),
26572
26528
  width = _useWindowDimensions.width;
@@ -26894,24 +26850,8 @@ var StyledSectionList = index$c(reactNative.SectionList)(function (_ref4) {
26894
26850
  paddingHorizontal: theme.__hd__.select.space.optionListHorizontalPadding
26895
26851
  };
26896
26852
  });
26897
- var getZIndexByState$1 = function getZIndexByState(_ref5) {
26898
- var themeHasError = _ref5.themeHasError;
26899
- if (themeHasError) {
26900
- return 1;
26901
- }
26902
- return 0;
26903
- };
26904
- var StyledTouchableOpacity$1 = index$c(reactNative.TouchableOpacity)(function (_ref6) {
26905
- var themeGroupStyleEnabled = _ref6.themeGroupStyleEnabled,
26906
- themeHasError = _ref6.themeHasError;
26907
- return _objectSpread2({}, themeGroupStyleEnabled && {
26908
- zIndex: getZIndexByState$1({
26909
- themeHasError: themeHasError
26910
- })
26911
- });
26912
- });
26913
26853
 
26914
- var _excluded$g = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
26854
+ var _excluded$e = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
26915
26855
  var BaseOptionList = function BaseOptionList(_ref) {
26916
26856
  var keyExtractor = _ref.keyExtractor,
26917
26857
  loading = _ref.loading,
@@ -26920,7 +26860,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
26920
26860
  sections = _ref.sections,
26921
26861
  renderItem = _ref.renderItem,
26922
26862
  sectionListRef = _ref.sectionListRef,
26923
- rest = _objectWithoutProperties(_ref, _excluded$g);
26863
+ rest = _objectWithoutProperties(_ref, _excluded$e);
26924
26864
  var theme = useTheme$1();
26925
26865
  var _useState = React.useState(false),
26926
26866
  _useState2 = _slicedToArray(_useState, 2),
@@ -27004,7 +26944,7 @@ var isOptionSelected = function isOptionSelected(value, option) {
27004
26944
  });
27005
26945
  };
27006
26946
 
27007
- var _excluded$f = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
26947
+ var _excluded$d = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
27008
26948
  var OptionList$1 = function OptionList(_ref) {
27009
26949
  var keyExtractor = _ref.keyExtractor,
27010
26950
  loading = _ref.loading,
@@ -27015,7 +26955,7 @@ var OptionList$1 = function OptionList(_ref) {
27015
26955
  renderOption = _ref.renderOption,
27016
26956
  value = _ref.value,
27017
26957
  sectionListRef = _ref.sectionListRef,
27018
- rest = _objectWithoutProperties(_ref, _excluded$f);
26958
+ rest = _objectWithoutProperties(_ref, _excluded$d);
27019
26959
  var renderItem = function renderItem(info) {
27020
26960
  var item = info.item;
27021
26961
  var selected = isOptionSelected(value, item);
@@ -27050,7 +26990,6 @@ var OptionList$1 = function OptionList(_ref) {
27050
26990
  }, rest));
27051
26991
  };
27052
26992
 
27053
- var _excluded$e = ["footerLabel", "label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig", "groupStyleEnabled"];
27054
26993
  function MultiSelect(_ref) {
27055
26994
  var footerLabel = _ref.footerLabel,
27056
26995
  label = _ref.label,
@@ -27077,10 +27016,7 @@ function MultiSelect(_ref) {
27077
27016
  _ref$supportedOrienta = _ref.supportedOrientations,
27078
27017
  supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
27079
27018
  _ref$bottomSheetConfi = _ref.bottomSheetConfig,
27080
- bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
27081
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
27082
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable,
27083
- rest = _objectWithoutProperties(_ref, _excluded$e);
27019
+ bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi;
27084
27020
  var _useKeyboard = useKeyboard(),
27085
27021
  isKeyboardVisible = _useKeyboard.isKeyboardVisible,
27086
27022
  keyboardHeight = _useKeyboard.keyboardHeight;
@@ -27103,7 +27039,6 @@ function MultiSelect(_ref) {
27103
27039
  var rawValue = value.length > 0 ? value.join(', ') : '';
27104
27040
  var bottomSheetVariant = bottomSheetConfig.variant,
27105
27041
  bottomSheetHeader = bottomSheetConfig.header;
27106
- var TextInputComponent = rest.TextInputComponent || TextInput;
27107
27042
  var onPress = React.useCallback(function () {
27108
27043
  setOpen(true);
27109
27044
  }, []);
@@ -27116,14 +27051,12 @@ function MultiSelect(_ref) {
27116
27051
  }, [open, value]);
27117
27052
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
27118
27053
  pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
27119
- }, /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$1, {
27054
+ }, /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
27120
27055
  onPress: onPress,
27121
- themeGroupStyleEnabled: groupStyleEnabled,
27122
- themeHasError: !!error,
27123
27056
  testID: "multi-select-touchable-opacity"
27124
27057
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
27125
27058
  pointerEvents: "none"
27126
- }, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, _extends$1({}, inputProps, {
27059
+ }, /*#__PURE__*/React__namespace.default.createElement(TextInput, _extends$1({}, inputProps, {
27127
27060
  label: label,
27128
27061
  value: renderSelectedValue ? rawValue : displayedValue,
27129
27062
  suffix: selectSuffix,
@@ -27135,8 +27068,8 @@ function MultiSelect(_ref) {
27135
27068
  pointerEvents: "none",
27136
27069
  style: style,
27137
27070
  testID: testID,
27138
- renderInputValue: renderSelectedValue !== undefined && (rawValue === null || rawValue === void 0 ? void 0 : rawValue.length) > 0 ? function (props) {
27139
- return renderSelectedValue(value, props);
27071
+ renderInputValue: renderSelectedValue !== undefined && (rawValue === null || rawValue === void 0 ? void 0 : rawValue.length) > 0 ? function (nativeInputProps) {
27072
+ return renderSelectedValue(value, nativeInputProps);
27140
27073
  } : undefined
27141
27074
  }))))), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
27142
27075
  variant: bottomSheetVariant || 'fixed',
@@ -27173,7 +27106,7 @@ function MultiSelect(_ref) {
27173
27106
  }
27174
27107
  },
27175
27108
  supportedOrientations: supportedOrientations
27176
- }, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, {
27109
+ }, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInput, {
27177
27110
  editable: true,
27178
27111
  placeholder: "Search",
27179
27112
  suffix: "search-outlined",
@@ -27224,7 +27157,7 @@ var StyledOptionList = index$c(BaseOptionList)(function (_ref) {
27224
27157
  };
27225
27158
  });
27226
27159
 
27227
- var _excluded$d = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
27160
+ var _excluded$c = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
27228
27161
  var OptionList = function OptionList(_ref) {
27229
27162
  var keyExtractor = _ref.keyExtractor,
27230
27163
  loading = _ref.loading,
@@ -27235,7 +27168,7 @@ var OptionList = function OptionList(_ref) {
27235
27168
  renderOption = _ref.renderOption,
27236
27169
  value = _ref.value,
27237
27170
  sectionListRef = _ref.sectionListRef,
27238
- rest = _objectWithoutProperties(_ref, _excluded$d);
27171
+ rest = _objectWithoutProperties(_ref, _excluded$c);
27239
27172
  var renderItem = function renderItem(info) {
27240
27173
  var item = info.item;
27241
27174
  var selected = _deepCompareValue(item.value, value);
@@ -27271,7 +27204,6 @@ var OptionList = function OptionList(_ref) {
27271
27204
  }, rest));
27272
27205
  };
27273
27206
 
27274
- var _excluded$c = ["label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig", "groupStyleEnabled"];
27275
27207
  var SingleSelect = function SingleSelect(_ref) {
27276
27208
  var _flatOptions$find;
27277
27209
  var label = _ref.label,
@@ -27298,10 +27230,7 @@ var SingleSelect = function SingleSelect(_ref) {
27298
27230
  _ref$supportedOrienta = _ref.supportedOrientations,
27299
27231
  supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
27300
27232
  _ref$bottomSheetConfi = _ref.bottomSheetConfig,
27301
- bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
27302
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
27303
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable,
27304
- rest = _objectWithoutProperties(_ref, _excluded$c);
27233
+ bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi;
27305
27234
  var _useKeyboard = useKeyboard(),
27306
27235
  isKeyboardVisible = _useKeyboard.isKeyboardVisible,
27307
27236
  keyboardHeight = _useKeyboard.keyboardHeight;
@@ -27318,7 +27247,6 @@ var SingleSelect = function SingleSelect(_ref) {
27318
27247
  var rawValue = value ? String(value) : undefined;
27319
27248
  var bottomSheetVariant = bottomSheetConfig.variant,
27320
27249
  bottomSheetHeader = bottomSheetConfig.header;
27321
- var TextInputComponent = rest.TextInputComponent || TextInput;
27322
27250
  var onPress = React.useCallback(function () {
27323
27251
  setOpen(true);
27324
27252
  }, []);
@@ -27330,14 +27258,12 @@ var SingleSelect = function SingleSelect(_ref) {
27330
27258
  }, [editable, disabled, open]);
27331
27259
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
27332
27260
  pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
27333
- }, /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity$1, {
27261
+ }, /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
27334
27262
  onPress: onPress,
27335
- themeGroupStyleEnabled: groupStyleEnabled,
27336
- themeHasError: !!error,
27337
27263
  testID: "single-select-touchable-opacity"
27338
27264
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
27339
27265
  pointerEvents: "none"
27340
- }, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, _extends$1({}, inputProps, {
27266
+ }, /*#__PURE__*/React__namespace.default.createElement(TextInput, _extends$1({}, inputProps, {
27341
27267
  label: label,
27342
27268
  value: renderSelectedValue ? rawValue : displayedValue,
27343
27269
  suffix: selectSuffix,
@@ -27349,8 +27275,8 @@ var SingleSelect = function SingleSelect(_ref) {
27349
27275
  pointerEvents: "none",
27350
27276
  style: style,
27351
27277
  testID: testID,
27352
- renderInputValue: renderSelectedValue !== undefined && !!rawValue ? function (props) {
27353
- return renderSelectedValue(value, props);
27278
+ renderInputValue: renderSelectedValue !== undefined && !!rawValue ? function (nativeInputProps) {
27279
+ return renderSelectedValue(value, nativeInputProps);
27354
27280
  } : undefined
27355
27281
  }))))), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
27356
27282
  variant: bottomSheetVariant || 'fixed',
@@ -27371,7 +27297,7 @@ var SingleSelect = function SingleSelect(_ref) {
27371
27297
  }
27372
27298
  },
27373
27299
  supportedOrientations: supportedOrientations
27374
- }, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, {
27300
+ }, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInput, {
27375
27301
  editable: true,
27376
27302
  placeholder: "Search",
27377
27303
  suffix: "search-outlined",
@@ -28744,30 +28670,6 @@ var Tag = function Tag(_ref) {
28744
28670
  }));
28745
28671
  };
28746
28672
 
28747
- var StyledPickerWrapper = index$c(reactNative.View)(function (_ref) {
28748
- var theme = _ref.theme;
28749
- return {
28750
- height: theme.__hd__.timePicker.sizes.height,
28751
- alignItems: 'center'
28752
- };
28753
- });
28754
- var getZIndexByState = function getZIndexByState(_ref2) {
28755
- var themeHasError = _ref2.themeHasError;
28756
- if (themeHasError) {
28757
- return 1;
28758
- }
28759
- return 0;
28760
- };
28761
- var StyledTouchableOpacity = index$c(reactNative.TouchableOpacity)(function (_ref3) {
28762
- var themeGroupStyleEnabled = _ref3.themeGroupStyleEnabled,
28763
- themeHasError = _ref3.themeHasError;
28764
- return _objectSpread2({}, themeGroupStyleEnabled && {
28765
- zIndex: getZIndexByState({
28766
- themeHasError: themeHasError
28767
- })
28768
- });
28769
- });
28770
-
28771
28673
  var TimePickerAndroid = function TimePickerAndroid(_ref) {
28772
28674
  var value = _ref.value,
28773
28675
  label = _ref.label,
@@ -28783,11 +28685,7 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
28783
28685
  style = _ref.style,
28784
28686
  testID = _ref.testID,
28785
28687
  _ref$showSuffix = _ref.showSuffix,
28786
- showSuffix = _ref$showSuffix === void 0 ? true : _ref$showSuffix,
28787
- TextInputComponent = _ref.TextInputComponent,
28788
- inputProps = _ref.inputProps,
28789
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
28790
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
28688
+ showSuffix = _ref$showSuffix === void 0 ? true : _ref$showSuffix;
28791
28689
  var _useState = React.useState(false),
28792
28690
  _useState2 = _slicedToArray(_useState, 2),
28793
28691
  open = _useState2[0],
@@ -28795,20 +28693,17 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
28795
28693
  var is12Hour = displayFormat.includes('hh');
28796
28694
  var displayValue = value ? formatTime(displayFormat, value) : '';
28797
28695
  var pickerInitValue = value || new Date();
28798
- var InputComponent = TextInputComponent || TextInput;
28799
28696
  var onPress = React.useCallback(function () {
28800
28697
  setOpen(true);
28801
28698
  }, []);
28802
- return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity, {
28699
+ return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
28803
28700
  onPress: onPress,
28804
28701
  disabled: disabled,
28805
- themeGroupStyleEnabled: groupStyleEnabled,
28806
- themeHasError: !!error,
28807
28702
  testID: "time-picker-android-touchable-opacity"
28808
28703
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
28809
28704
  pointerEvents: "none",
28810
28705
  testID: "timePickerInputAndroid"
28811
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
28706
+ }, /*#__PURE__*/React__namespace.default.createElement(TextInput, {
28812
28707
  label: label,
28813
28708
  value: displayValue,
28814
28709
  suffix: showSuffix ? 'clock-3' : undefined,
@@ -28819,7 +28714,7 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
28819
28714
  helpText: helpText,
28820
28715
  style: style,
28821
28716
  testID: testID
28822
- }))), open ? /*#__PURE__*/React__namespace.default.createElement(DateTimePicker__default.default, {
28717
+ })), open ? /*#__PURE__*/React__namespace.default.createElement(DateTimePicker__default.default, {
28823
28718
  testID: "timePickerAndroid",
28824
28719
  mode: "time",
28825
28720
  value: pickerInitValue,
@@ -28834,6 +28729,14 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
28834
28729
  }) : null);
28835
28730
  };
28836
28731
 
28732
+ var StyledPickerWrapper = index$c(reactNative.View)(function (_ref) {
28733
+ var theme = _ref.theme;
28734
+ return {
28735
+ height: theme.__hd__.timePicker.sizes.height,
28736
+ alignItems: 'center'
28737
+ };
28738
+ });
28739
+
28837
28740
  var TimePickerIOS = function TimePickerIOS(_ref) {
28838
28741
  var value = _ref.value,
28839
28742
  label = _ref.label,
@@ -28852,11 +28755,7 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
28852
28755
  _ref$showSuffix = _ref.showSuffix,
28853
28756
  showSuffix = _ref$showSuffix === void 0 ? true : _ref$showSuffix,
28854
28757
  _ref$supportedOrienta = _ref.supportedOrientations,
28855
- supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
28856
- TextInputComponent = _ref.TextInputComponent,
28857
- inputProps = _ref.inputProps,
28858
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
28859
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
28758
+ supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta;
28860
28759
  var _useState = React.useState(value || new Date()),
28861
28760
  _useState2 = _slicedToArray(_useState, 2),
28862
28761
  selectingDate = _useState2[0],
@@ -28872,23 +28771,20 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
28872
28771
  // For 12-hour format: use en-US locale to ensure 12-hour display regardless of device settings
28873
28772
  // For 24-hour format: use en-GB for consistent 24-hour display
28874
28773
  var pickerLocale = is12Hour ? 'en-US' : 'en-GB';
28875
- var InputComponent = TextInputComponent || TextInput;
28876
28774
  React.useEffect(function () {
28877
28775
  setSelectingDate(value || new Date());
28878
28776
  }, [value]);
28879
28777
  var onPress = React.useCallback(function () {
28880
28778
  setOpen(true);
28881
28779
  }, []);
28882
- return /*#__PURE__*/React__namespace.default.createElement(StyledTouchableOpacity, {
28780
+ return /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
28883
28781
  onPress: onPress,
28884
28782
  disabled: disabled,
28885
- themeGroupStyleEnabled: groupStyleEnabled,
28886
- themeHasError: !!error,
28887
28783
  testID: "time-picker-ios-touchable-opacity"
28888
28784
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
28889
28785
  pointerEvents: "none",
28890
28786
  testID: "timePickerInputIOS"
28891
- }, /*#__PURE__*/React__namespace.default.createElement(InputComponent, _extends$1({}, inputProps, {
28787
+ }, /*#__PURE__*/React__namespace.default.createElement(TextInput, {
28892
28788
  label: label,
28893
28789
  value: displayValue,
28894
28790
  suffix: showSuffix ? 'clock-3' : undefined,
@@ -28899,7 +28795,7 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
28899
28795
  helpText: helpText,
28900
28796
  testID: testID,
28901
28797
  style: style
28902
- }))), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
28798
+ })), /*#__PURE__*/React__namespace.default.createElement(BottomSheet$1, {
28903
28799
  open: open,
28904
28800
  onRequestClose: function onRequestClose() {
28905
28801
  return setOpen(false);