@hero-design/rn 8.128.1 → 8.128.2

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 (49) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/es/index.js +135 -238
  3. package/lib/index.js +135 -238
  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/types/components/Checkbox/StyledInlineCheckBox.d.ts +1 -1
  22. package/types/components/Checkbox/utils.d.ts +1 -1
  23. package/types/components/DatePicker/DatePicker.d.ts +2 -2
  24. package/types/components/DatePicker/DatePickerAndroid.d.ts +3 -3
  25. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -2
  26. package/types/components/DatePicker/DatePickerIOS.d.ts +3 -3
  27. package/types/components/DatePicker/StyledDatePicker.d.ts +1 -8
  28. package/types/components/DatePicker/types.d.ts +0 -15
  29. package/types/components/Select/MultiSelect/index.d.ts +1 -6
  30. package/types/components/Select/SingleSelect/index.d.ts +1 -6
  31. package/types/components/Select/StyledSelect.d.ts +1 -8
  32. package/types/components/Select/index.d.ts +2 -2
  33. package/types/components/Select/types.d.ts +0 -4
  34. package/types/components/TextInput/index.d.ts +1 -1
  35. package/types/components/TimePicker/StyledTimePicker.d.ts +1 -8
  36. package/types/components/TimePicker/TimePicker.d.ts +2 -2
  37. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -2
  38. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -2
  39. package/types/components/TimePicker/types.d.ts +0 -15
  40. package/src/components/DatePicker/index.internal.tsx +0 -10
  41. package/src/components/Select/index.internal.tsx +0 -26
  42. package/src/components/TimePicker/index.internal.tsx +0 -9
  43. package/src/index.internal.ts +0 -26
  44. package/src/types.internal.ts +0 -28
  45. package/types/components/DatePicker/index.internal.d.ts +0 -7
  46. package/types/components/Select/index.internal.d.ts +0 -21
  47. package/types/components/TimePicker/index.internal.d.ts +0 -5
  48. package/types/index.internal.d.ts +0 -19
  49. package/types/types.internal.d.ts +0 -18
package/es/index.js CHANGED
@@ -8185,7 +8185,7 @@ var StyledText$4 = index$c(Text$1)(function (_ref) {
8185
8185
  });
8186
8186
  });
8187
8187
 
8188
- var _excluded$Q = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
8188
+ var _excluded$O = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
8189
8189
  /**
8190
8190
  * @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.
8191
8191
  */
@@ -8201,7 +8201,7 @@ var Text = function Text(_ref) {
8201
8201
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
8202
8202
  _ref$allowFontScaling = _ref.allowFontScaling,
8203
8203
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
8204
- nativeProps = _objectWithoutProperties(_ref, _excluded$Q);
8204
+ nativeProps = _objectWithoutProperties(_ref, _excluded$O);
8205
8205
  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.');
8206
8206
  return /*#__PURE__*/React__default.createElement(StyledText$4, _extends$1({}, nativeProps, {
8207
8207
  themeFontSize: fontSize,
@@ -8254,10 +8254,10 @@ var pickAccessibilityProps = function pickAccessibilityProps(props) {
8254
8254
  }, {});
8255
8255
  };
8256
8256
 
8257
- var _excluded$P = ["children"];
8257
+ var _excluded$N = ["children"];
8258
8258
  var GradientText = function GradientText(_ref) {
8259
8259
  var children = _ref.children,
8260
- accessibilityProps = _objectWithoutProperties(_ref, _excluded$P);
8260
+ accessibilityProps = _objectWithoutProperties(_ref, _excluded$N);
8261
8261
  var theme = useTheme();
8262
8262
  var gradient = theme.colors.gradients.aiDiagonal;
8263
8263
  var _useState = useState(null),
@@ -8313,7 +8313,7 @@ var GradientText = function GradientText(_ref) {
8313
8313
  }, children));
8314
8314
  };
8315
8315
 
8316
- var _excluded$O = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle", "style", "testID"];
8316
+ var _excluded$M = ["children", "fontWeight", "intent", "allowFontScaling", "fontStyle", "style", "testID"];
8317
8317
  var Caption = function Caption(_ref) {
8318
8318
  var children = _ref.children,
8319
8319
  _ref$fontWeight = _ref.fontWeight,
@@ -8326,7 +8326,7 @@ var Caption = function Caption(_ref) {
8326
8326
  fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8327
8327
  style = _ref.style,
8328
8328
  testID = _ref.testID,
8329
- nativeProps = _objectWithoutProperties(_ref, _excluded$O);
8329
+ nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8330
8330
  var isAi = intent === 'ai';
8331
8331
  var styledText = /*#__PURE__*/React__default.createElement(StyledCaption, _extends$1({}, nativeProps, {
8332
8332
  themeFontWeight: fontWeight,
@@ -8358,7 +8358,7 @@ var StyledLabel$1 = index$c(Text$1)(function (_ref) {
8358
8358
  };
8359
8359
  });
8360
8360
 
8361
- var _excluded$N = ["children", "intent", "allowFontScaling", "fontStyle", "fontWeight", "style", "testID"];
8361
+ var _excluded$L = ["children", "intent", "allowFontScaling", "fontStyle", "fontWeight", "style", "testID"];
8362
8362
  var Label = function Label(_ref) {
8363
8363
  var children = _ref.children,
8364
8364
  _ref$intent = _ref.intent,
@@ -8371,7 +8371,7 @@ var Label = function Label(_ref) {
8371
8371
  fontWeight = _ref$fontWeight === void 0 ? 'regular' : _ref$fontWeight,
8372
8372
  style = _ref.style,
8373
8373
  testID = _ref.testID,
8374
- nativeProps = _objectWithoutProperties(_ref, _excluded$N);
8374
+ nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8375
8375
  var isAi = intent === 'ai';
8376
8376
  var styledText = /*#__PURE__*/React__default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
8377
8377
  themeIntent: isAi ? 'body' : intent,
@@ -8402,7 +8402,7 @@ var StyledTitle$1 = index$c(Text$1)(function (_ref) {
8402
8402
  };
8403
8403
  });
8404
8404
 
8405
- var _excluded$M = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle", "style", "testID"];
8405
+ var _excluded$K = ["children", "intent", "allowFontScaling", "level", "typeface", "fontStyle", "style", "testID"];
8406
8406
  var Title = function Title(_ref) {
8407
8407
  var children = _ref.children,
8408
8408
  _ref$intent = _ref.intent,
@@ -8417,7 +8417,7 @@ var Title = function Title(_ref) {
8417
8417
  fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8418
8418
  style = _ref.style,
8419
8419
  testID = _ref.testID,
8420
- nativeProps = _objectWithoutProperties(_ref, _excluded$M);
8420
+ nativeProps = _objectWithoutProperties(_ref, _excluded$K);
8421
8421
  var isAi = intent === 'ai';
8422
8422
  var styledText = /*#__PURE__*/React__default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
8423
8423
  themeLevel: level,
@@ -8467,7 +8467,7 @@ var StyledBody$2 = index$c(Text$1)(function (_ref) {
8467
8467
  };
8468
8468
  });
8469
8469
 
8470
- var _excluded$L = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle", "style", "testID"];
8470
+ var _excluded$J = ["children", "intent", "allowFontScaling", "typeface", "variant", "fontStyle", "style", "testID"];
8471
8471
  var Body = function Body(_ref) {
8472
8472
  var children = _ref.children,
8473
8473
  _ref$intent = _ref.intent,
@@ -8482,7 +8482,7 @@ var Body = function Body(_ref) {
8482
8482
  fontStyle = _ref$fontStyle === void 0 ? 'normal' : _ref$fontStyle,
8483
8483
  style = _ref.style,
8484
8484
  testID = _ref.testID,
8485
- nativeProps = _objectWithoutProperties(_ref, _excluded$L);
8485
+ nativeProps = _objectWithoutProperties(_ref, _excluded$J);
8486
8486
  var isAi = intent === 'ai';
8487
8487
  var styledText = /*#__PURE__*/React__default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
8488
8488
  themeTypeface: typeface,
@@ -9146,22 +9146,22 @@ var SpinWrapper = function SpinWrapper(_ref) {
9146
9146
  }, children);
9147
9147
  };
9148
9148
 
9149
- var _excluded$K = ["style"];
9149
+ var _excluded$I = ["style"];
9150
9150
  var AnimatedIcon = function AnimatedIcon(_ref) {
9151
9151
  var style = _ref.style,
9152
- otherProps = _objectWithoutProperties(_ref, _excluded$K);
9152
+ otherProps = _objectWithoutProperties(_ref, _excluded$I);
9153
9153
  return /*#__PURE__*/React__default.createElement(SpinWrapper, {
9154
9154
  style: style
9155
9155
  }, /*#__PURE__*/React__default.createElement(StyledHeroIcon, otherProps));
9156
9156
  };
9157
9157
 
9158
- var _excluded$J = ["name", "themeSize", "testID", "style"];
9158
+ var _excluded$H = ["name", "themeSize", "testID", "style"];
9159
9159
  var GradientIcon = function GradientIcon(_ref) {
9160
9160
  var name = _ref.name,
9161
9161
  themeSize = _ref.themeSize,
9162
9162
  testID = _ref.testID,
9163
9163
  style = _ref.style,
9164
- accessibilityProps = _objectWithoutProperties(_ref, _excluded$J);
9164
+ accessibilityProps = _objectWithoutProperties(_ref, _excluded$H);
9165
9165
  var theme = useTheme();
9166
9166
  var gradient = theme.colors.gradients.aiDiagonal;
9167
9167
  var size = theme.__hd__.icon.sizes[themeSize];
@@ -9289,7 +9289,7 @@ var AccordionItem = function AccordionItem(_ref) {
9289
9289
  }, content));
9290
9290
  };
9291
9291
 
9292
- var _excluded$I = ["key"];
9292
+ var _excluded$G = ["key"];
9293
9293
  var Accordion = function Accordion(_ref) {
9294
9294
  var items = _ref.items,
9295
9295
  activeItemKey = _ref.activeItemKey,
@@ -9312,7 +9312,7 @@ var Accordion = function Accordion(_ref) {
9312
9312
  accessible: accessible
9313
9313
  }, items.map(function (_ref2, index) {
9314
9314
  var key = _ref2.key,
9315
- props = _objectWithoutProperties(_ref2, _excluded$I);
9315
+ props = _objectWithoutProperties(_ref2, _excluded$G);
9316
9316
  var open = _activeItemKey === key;
9317
9317
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
9318
9318
  key: key
@@ -10148,7 +10148,7 @@ var borderWidths = {
10148
10148
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
10149
10149
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
10150
10150
 
10151
- var _excluded$H = ["theme"];
10151
+ var _excluded$F = ["theme"];
10152
10152
  var getThemeValue = function getThemeValue(theme, key, props) {
10153
10153
  var propConfig = config[key];
10154
10154
  var propValue = props[key];
@@ -10175,18 +10175,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
10175
10175
  var configKeys = Object.keys(config);
10176
10176
  var StyledBox = index$c(View)(function (_ref5) {
10177
10177
  var theme = _ref5.theme,
10178
- otherProps = _objectWithoutProperties(_ref5, _excluded$H);
10178
+ otherProps = _objectWithoutProperties(_ref5, _excluded$F);
10179
10179
  var styleProps = pick(configKeys, otherProps);
10180
10180
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
10181
10181
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
10182
10182
  });
10183
10183
 
10184
- var _excluded$G = ["children", "style", "testID"];
10184
+ var _excluded$E = ["children", "style", "testID"];
10185
10185
  var Box = function Box(_ref) {
10186
10186
  var children = _ref.children,
10187
10187
  style = _ref.style,
10188
10188
  testID = _ref.testID,
10189
- otherProps = _objectWithoutProperties(_ref, _excluded$G);
10189
+ otherProps = _objectWithoutProperties(_ref, _excluded$E);
10190
10190
  return /*#__PURE__*/React__default.createElement(StyledBox, _extends$1({}, otherProps, {
10191
10191
  style: style,
10192
10192
  testID: testID
@@ -10457,7 +10457,7 @@ var StyledIcon$4 = index$c(Icon)(function (_ref6) {
10457
10457
  };
10458
10458
  });
10459
10459
 
10460
- var _excluded$F = ["children", "visible", "intent", "style", "testID"];
10460
+ var _excluded$D = ["children", "visible", "intent", "style", "testID"];
10461
10461
  var Status$1 = function Status(_ref) {
10462
10462
  var children = _ref.children,
10463
10463
  _ref$visible = _ref.visible,
@@ -10466,7 +10466,7 @@ var Status$1 = function Status(_ref) {
10466
10466
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
10467
10467
  style = _ref.style,
10468
10468
  testID = _ref.testID,
10469
- nativeProps = _objectWithoutProperties(_ref, _excluded$F);
10469
+ nativeProps = _objectWithoutProperties(_ref, _excluded$D);
10470
10470
  var _React$useRef = React__default.useRef(new Animated.Value(visible ? 1 : 0)),
10471
10471
  opacity = _React$useRef.current;
10472
10472
  var isFirstRendering = React__default.useRef(true);
@@ -10502,7 +10502,7 @@ var Status$1 = function Status(_ref) {
10502
10502
 
10503
10503
  var DEFAULT_MAX_NUMBER = 99;
10504
10504
 
10505
- var _excluded$E = ["children", "visible", "style", "max", "testID", "content"];
10505
+ var _excluded$C = ["children", "visible", "style", "max", "testID", "content"];
10506
10506
  var Status = function Status(_ref) {
10507
10507
  var children = _ref.children,
10508
10508
  _ref$visible = _ref.visible,
@@ -10512,7 +10512,7 @@ var Status = function Status(_ref) {
10512
10512
  max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
10513
10513
  testID = _ref.testID,
10514
10514
  originalContent = _ref.content,
10515
- nativeProps = _objectWithoutProperties(_ref, _excluded$E);
10515
+ nativeProps = _objectWithoutProperties(_ref, _excluded$C);
10516
10516
  var content = useMemo(function () {
10517
10517
  return originalContent > max ? "".concat(max, "+") : String(originalContent);
10518
10518
  }, [originalContent, max]);
@@ -10524,7 +10524,7 @@ var Status = function Status(_ref) {
10524
10524
  }, /*#__PURE__*/React__default.createElement(StyledCountText, null, content)));
10525
10525
  };
10526
10526
 
10527
- var _excluded$D = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
10527
+ var _excluded$B = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
10528
10528
  var getPaddingState = function getPaddingState(content) {
10529
10529
  return content.length > 1 ? 'wideContent' : 'narrowContent';
10530
10530
  };
@@ -10543,7 +10543,7 @@ var Badge$1 = function Badge(_ref) {
10543
10543
  _ref$variant = _ref.variant,
10544
10544
  variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
10545
10545
  icon = _ref.icon,
10546
- nativeProps = _objectWithoutProperties(_ref, _excluded$D);
10546
+ nativeProps = _objectWithoutProperties(_ref, _excluded$B);
10547
10547
  var _React$useRef = React__default.useRef(new Animated.Value(visible ? 1 : 0)),
10548
10548
  opacity = _React$useRef.current;
10549
10549
  var isFirstRendering = React__default.useRef(true);
@@ -10661,7 +10661,7 @@ var StyledBottomBarText = index$c(Typography.Label)(function (_ref4) {
10661
10661
  };
10662
10662
  });
10663
10663
 
10664
- var _excluded$C = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
10664
+ var _excluded$A = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
10665
10665
  var getInactiveIcon = function getInactiveIcon(icon) {
10666
10666
  var inactiveIcon = "".concat(icon, "-outlined");
10667
10667
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -10672,7 +10672,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
10672
10672
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
10673
10673
  selectedTabKey = _ref.selectedTabKey,
10674
10674
  tabs = _ref.tabs,
10675
- nativeProps = _objectWithoutProperties(_ref, _excluded$C);
10675
+ nativeProps = _objectWithoutProperties(_ref, _excluded$A);
10676
10676
  var insets = useSafeAreaInsets();
10677
10677
  /**
10678
10678
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -10764,13 +10764,13 @@ var StyledDivider = index$c(View)(function (_ref) {
10764
10764
  }, horizontalMargin), verticalMargin);
10765
10765
  });
10766
10766
 
10767
- var _excluded$B = ["marginHorizontal", "marginVertical", "style", "testID"];
10767
+ var _excluded$z = ["marginHorizontal", "marginVertical", "style", "testID"];
10768
10768
  var Divider = function Divider(_ref) {
10769
10769
  var marginHorizontal = _ref.marginHorizontal,
10770
10770
  marginVertical = _ref.marginVertical,
10771
10771
  style = _ref.style,
10772
10772
  testID = _ref.testID,
10773
- nativeProps = _objectWithoutProperties(_ref, _excluded$B);
10773
+ nativeProps = _objectWithoutProperties(_ref, _excluded$z);
10774
10774
  return /*#__PURE__*/React__default.createElement(StyledDivider, _extends$1({}, nativeProps, {
10775
10775
  themeMarginHorizontal: marginHorizontal,
10776
10776
  themeMarginVertical: marginVertical,
@@ -10901,7 +10901,7 @@ var StyledLoadingDot = index$c(View)(function (_ref) {
10901
10901
  }, themeStyling());
10902
10902
  });
10903
10903
 
10904
- var _excluded$A = ["count", "size", "testID", "themeVariant"];
10904
+ var _excluded$y = ["count", "size", "testID", "themeVariant"];
10905
10905
  var AnimatedLoadingIndicatorWrapper = Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
10906
10906
  var AnimatedLoadingDot = Animated.createAnimatedComponent(StyledLoadingDot);
10907
10907
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -10933,7 +10933,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
10933
10933
  size = _ref2$size === void 0 ? 12 : _ref2$size,
10934
10934
  testID = _ref2.testID,
10935
10935
  themeVariant = _ref2.themeVariant,
10936
- nativeProps = _objectWithoutProperties(_ref2, _excluded$A);
10936
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$y);
10937
10937
  var progressAnimation = useRef(new Animated.Value(0));
10938
10938
  useEffect(function () {
10939
10939
  var animation = Animated.loop(Animated.timing(progressAnimation.current, {
@@ -11565,11 +11565,11 @@ var Header = function Header(_ref) {
11565
11565
  }))) : null), showDivider ? /*#__PURE__*/React__default.createElement(Divider, null) : null);
11566
11566
  };
11567
11567
 
11568
- var _excluded$z = ["scrollEventThrottle"];
11568
+ var _excluded$x = ["scrollEventThrottle"];
11569
11569
  var BottomSheetScrollView = /*#__PURE__*/forwardRef(function (_ref, ref) {
11570
11570
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
11571
11571
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
11572
- props = _objectWithoutProperties(_ref, _excluded$z);
11572
+ props = _objectWithoutProperties(_ref, _excluded$x);
11573
11573
  var _useContext = useContext(BottomSheetContext),
11574
11574
  setInternalShowDivider = _useContext.setInternalShowDivider;
11575
11575
  var onScrollBeginDrag = useCallback(function (e) {
@@ -14691,12 +14691,12 @@ var Indicator = index$c(View)(function (_ref3) {
14691
14691
  };
14692
14692
  });
14693
14693
 
14694
- var _excluded$y = ["intent", "children"];
14694
+ var _excluded$w = ["intent", "children"];
14695
14695
  var DataCard = function DataCard(_ref) {
14696
14696
  var _ref$intent = _ref.intent,
14697
14697
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
14698
14698
  children = _ref.children,
14699
- nativeProps = _objectWithoutProperties(_ref, _excluded$y);
14699
+ nativeProps = _objectWithoutProperties(_ref, _excluded$w);
14700
14700
  return /*#__PURE__*/React__default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default.createElement(Indicator, {
14701
14701
  themeIntent: intent,
14702
14702
  testID: "data-card-indicator"
@@ -14715,13 +14715,13 @@ var StyledCard$1 = index$c(View)(function (_ref) {
14715
14715
  });
14716
14716
  });
14717
14717
 
14718
- var _excluded$x = ["intent", "children", "variant"];
14718
+ var _excluded$v = ["intent", "children", "variant"];
14719
14719
  var Card$1 = function Card(_ref) {
14720
14720
  var intent = _ref.intent,
14721
14721
  children = _ref.children,
14722
14722
  _ref$variant = _ref.variant,
14723
14723
  variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
14724
- nativeProps = _objectWithoutProperties(_ref, _excluded$x);
14724
+ nativeProps = _objectWithoutProperties(_ref, _excluded$v);
14725
14725
  return /*#__PURE__*/React__default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
14726
14726
  themeIntent: intent,
14727
14727
  themeVariant: variant
@@ -14988,7 +14988,7 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
14988
14988
  });
14989
14989
  CardCarousel.displayName = 'CardCarousel';
14990
14990
 
14991
- var _excluded$w = ["rounded", "size", "testID", "style"];
14991
+ var _excluded$u = ["rounded", "size", "testID", "style"];
14992
14992
  /**
14993
14993
  * @deprecated Image component will soon be deprecated. Please use `Image` from `react-native` instead.
14994
14994
  */
@@ -14999,7 +14999,7 @@ var Image = function Image(_ref) {
14999
14999
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
15000
15000
  testID = _ref.testID,
15001
15001
  style = _ref.style,
15002
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$w);
15002
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$u);
15003
15003
  useDeprecation('Image component will soon be deprecated. Please use `Image` from `react-native` instead.');
15004
15004
  var theme = useTheme();
15005
15005
  var imageSize = theme.__hd__.image.sizes[size];
@@ -15134,7 +15134,7 @@ var CarouselItem = function CarouselItem(_ref) {
15134
15134
  }, heading), !!body && /*#__PURE__*/React__default.createElement(Typography.Body, null, body)));
15135
15135
  };
15136
15136
 
15137
- var _excluded$v = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
15137
+ var _excluded$t = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
15138
15138
  function useStateFromProp(initialValue) {
15139
15139
  var _useState = useState(initialValue),
15140
15140
  _useState2 = _slicedToArray(_useState, 2),
@@ -15161,7 +15161,7 @@ var Carousel = function Carousel(_ref) {
15161
15161
  testID = _ref.testID,
15162
15162
  _ref$pageControlPosit = _ref.pageControlPosition,
15163
15163
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
15164
- nativeProps = _objectWithoutProperties(_ref, _excluded$v);
15164
+ nativeProps = _objectWithoutProperties(_ref, _excluded$t);
15165
15165
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
15166
15166
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
15167
15167
  var theme = useTheme();
@@ -20432,7 +20432,7 @@ var StyledChipIcon = index$c(Icon)(function (_ref2) {
20432
20432
  };
20433
20433
  });
20434
20434
 
20435
- var _excluded$u = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible", "onBlur", "onFocus"];
20435
+ var _excluded$s = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon", "accessible", "onBlur", "onFocus"];
20436
20436
  var getChipLabel = function getChipLabel(label) {
20437
20437
  if (typeof label === 'string') {
20438
20438
  return /*#__PURE__*/React__default.createElement(Typography.Body, {
@@ -20468,7 +20468,7 @@ var Chip = function Chip(_ref) {
20468
20468
  accessible = _ref.accessible,
20469
20469
  onBlur = _ref.onBlur,
20470
20470
  onFocus = _ref.onFocus,
20471
- otherProps = _objectWithoutProperties(_ref, _excluded$u);
20471
+ otherProps = _objectWithoutProperties(_ref, _excluded$s);
20472
20472
  useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
20473
20473
  var renamedVariant = getChipVariant(variant);
20474
20474
  var shouldShowSelectedIcon = (renamedVariant === 'selection' || renamedVariant === 'compact-outlined') && selected && showSelectedIcon;
@@ -20859,7 +20859,7 @@ var StyledErrorAndMaxLengthContainer = index$c(View)(function (_ref14) {
20859
20859
  };
20860
20860
  });
20861
20861
 
20862
- var _excluded$t = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
20862
+ var _excluded$r = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
20863
20863
  var getState$3 = function getState(_ref) {
20864
20864
  var disabled = _ref.disabled,
20865
20865
  error = _ref.error,
@@ -20975,7 +20975,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref8, ref) {
20975
20975
  allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
20976
20976
  _ref8$variant = _ref8.variant,
20977
20977
  variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
20978
- nativeProps = _objectWithoutProperties(_ref8, _excluded$t);
20978
+ nativeProps = _objectWithoutProperties(_ref8, _excluded$r);
20979
20979
  var displayText = getDisplayText(value, defaultValue);
20980
20980
  var isEmptyValue = displayText.length === 0;
20981
20981
  var _React$useState = React__default.useState(0),
@@ -21334,30 +21334,6 @@ var useFormatDate = function useFormatDate(_ref) {
21334
21334
  };
21335
21335
  };
21336
21336
 
21337
- var StyledPickerWrapper$1 = index$c(View)(function (_ref) {
21338
- var theme = _ref.theme;
21339
- return {
21340
- height: theme.__hd__.datePicker.sizes.height,
21341
- alignItems: 'center'
21342
- };
21343
- });
21344
- var getZIndexByState$2 = function getZIndexByState(_ref2) {
21345
- var themeHasError = _ref2.themeHasError;
21346
- if (themeHasError) {
21347
- return 1;
21348
- }
21349
- return 0;
21350
- };
21351
- var StyledTouchableOpacity$2 = index$c(TouchableOpacity)(function (_ref3) {
21352
- var themeGroupStyleEnabled = _ref3.themeGroupStyleEnabled,
21353
- themeHasError = _ref3.themeHasError;
21354
- return _objectSpread2({}, themeGroupStyleEnabled && {
21355
- zIndex: getZIndexByState$2({
21356
- themeHasError: themeHasError
21357
- })
21358
- });
21359
- });
21360
-
21361
21337
  var DatePickerAndroid = function DatePickerAndroid(_ref) {
21362
21338
  var value = _ref.value,
21363
21339
  minDate = _ref.minDate,
@@ -21376,11 +21352,7 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
21376
21352
  _ref$variant = _ref.variant,
21377
21353
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
21378
21354
  renderSelectedValue = _ref.renderSelectedValue,
21379
- locale = _ref.locale,
21380
- TextInputComponent = _ref.TextInputComponent,
21381
- inputProps = _ref.inputProps,
21382
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
21383
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
21355
+ locale = _ref.locale;
21384
21356
  var _useState = useState(false),
21385
21357
  _useState2 = _slicedToArray(_useState, 2),
21386
21358
  open = _useState2[0],
@@ -21398,20 +21370,17 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
21398
21370
  onChange: onChange,
21399
21371
  value: value
21400
21372
  });
21401
- var InputComponent = TextInputComponent || TextInput;
21402
21373
  var onPress = useCallback(function () {
21403
21374
  setOpen(true);
21404
21375
  }, []);
21405
- return /*#__PURE__*/React__default.createElement(StyledTouchableOpacity$2, {
21376
+ return /*#__PURE__*/React__default.createElement(TouchableOpacity, {
21406
21377
  onPress: onPress,
21407
21378
  disabled: disabled,
21408
- themeGroupStyleEnabled: groupStyleEnabled,
21409
- themeHasError: !!error,
21410
21379
  testID: "date-picker-android-touchable-opacity"
21411
21380
  }, /*#__PURE__*/React__default.createElement(View, {
21412
21381
  pointerEvents: "none",
21413
21382
  testID: "datePickerInputAndroid"
21414
- }, /*#__PURE__*/React__default.createElement(InputComponent, _extends$1({}, inputProps, {
21383
+ }, /*#__PURE__*/React__default.createElement(TextInput, {
21415
21384
  label: label,
21416
21385
  value: displayValue,
21417
21386
  suffix: "calendar-dates-outlined",
@@ -21422,13 +21391,13 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
21422
21391
  helpText: helpText,
21423
21392
  style: style,
21424
21393
  testID: testID,
21425
- renderInputValue: renderSelectedValue !== undefined && !!value ? function (props) {
21394
+ renderInputValue: renderSelectedValue !== undefined && !!value ? function (inputProps) {
21426
21395
  return renderSelectedValue({
21427
21396
  date: value,
21428
21397
  formattedDateString: displayValue
21429
- }, props);
21398
+ }, inputProps);
21430
21399
  } : undefined
21431
- }))), /*#__PURE__*/React__default.createElement(AndroidDatePickerDialog, {
21400
+ })), /*#__PURE__*/React__default.createElement(AndroidDatePickerDialog, {
21432
21401
  open: open,
21433
21402
  onClose: function onClose() {
21434
21403
  return setOpen(false);
@@ -21506,11 +21475,7 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
21506
21475
  _ref2$supportedOrient = _ref2.supportedOrientations,
21507
21476
  supportedOrientations = _ref2$supportedOrient === void 0 ? ['portrait'] : _ref2$supportedOrient,
21508
21477
  renderSelectedValue = _ref2.renderSelectedValue,
21509
- locale = _ref2.locale,
21510
- TextInputComponent = _ref2.TextInputComponent,
21511
- inputProps = _ref2.inputProps,
21512
- _ref2$groupStyleEnabl = _ref2.groupStyleEnabled,
21513
- groupStyleEnabled = _ref2$groupStyleEnabl === void 0 ? false : _ref2$groupStyleEnabl;
21478
+ locale = _ref2.locale;
21514
21479
  var _useState5 = useState(false),
21515
21480
  _useState6 = _slicedToArray(_useState5, 2),
21516
21481
  open = _useState6[0],
@@ -21536,20 +21501,17 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
21536
21501
  onChange: onChange,
21537
21502
  value: value
21538
21503
  });
21539
- var InputComponent = TextInputComponent || TextInput;
21540
21504
  var onPress = useCallback(function () {
21541
21505
  setOpen(true);
21542
21506
  }, []);
21543
- return /*#__PURE__*/React__default.createElement(StyledTouchableOpacity$2, {
21507
+ return /*#__PURE__*/React__default.createElement(TouchableOpacity, {
21544
21508
  onPress: onPress,
21545
21509
  disabled: disabled,
21546
- themeGroupStyleEnabled: groupStyleEnabled,
21547
- themeHasError: !!error,
21548
21510
  testID: "date-picker-calendar-touchable-opacity"
21549
21511
  }, /*#__PURE__*/React__default.createElement(View, {
21550
21512
  pointerEvents: "none",
21551
21513
  testID: "datePickerCalendar"
21552
- }, /*#__PURE__*/React__default.createElement(InputComponent, _extends$1({}, inputProps, {
21514
+ }, /*#__PURE__*/React__default.createElement(TextInput, {
21553
21515
  label: label,
21554
21516
  value: displayValue,
21555
21517
  suffix: "calendar-dates-outlined",
@@ -21560,13 +21522,13 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
21560
21522
  helpText: helpText,
21561
21523
  testID: testID,
21562
21524
  style: style,
21563
- renderInputValue: renderSelectedValue !== undefined && !!value ? function (props) {
21525
+ renderInputValue: renderSelectedValue !== undefined && !!value ? function (inputProps) {
21564
21526
  return renderSelectedValue({
21565
21527
  date: value,
21566
21528
  formattedDateString: displayValue
21567
- }, props);
21529
+ }, inputProps);
21568
21530
  } : undefined
21569
- }))), /*#__PURE__*/React__default.createElement(BottomSheet, {
21531
+ })), /*#__PURE__*/React__default.createElement(BottomSheet, {
21570
21532
  open: open,
21571
21533
  onRequestClose: function onRequestClose() {
21572
21534
  return setOpen(false);
@@ -21596,6 +21558,14 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
21596
21558
  }))));
21597
21559
  };
21598
21560
 
21561
+ var StyledPickerWrapper$1 = index$c(View)(function (_ref) {
21562
+ var theme = _ref.theme;
21563
+ return {
21564
+ height: theme.__hd__.datePicker.sizes.height,
21565
+ alignItems: 'center'
21566
+ };
21567
+ });
21568
+
21599
21569
  var IOSDatePickerDialog = function IOSDatePickerDialog(_ref) {
21600
21570
  var label = _ref.label,
21601
21571
  open = _ref.open,
@@ -21688,11 +21658,7 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
21688
21658
  _ref$variant = _ref.variant,
21689
21659
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
21690
21660
  locale = _ref.locale,
21691
- renderSelectedValue = _ref.renderSelectedValue,
21692
- TextInputComponent = _ref.TextInputComponent,
21693
- inputProps = _ref.inputProps,
21694
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
21695
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
21661
+ renderSelectedValue = _ref.renderSelectedValue;
21696
21662
  var _useState = useState(false),
21697
21663
  _useState2 = _slicedToArray(_useState, 2),
21698
21664
  open = _useState2[0],
@@ -21712,20 +21678,17 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
21712
21678
  onChange: onChange,
21713
21679
  value: value
21714
21680
  });
21715
- var InputComponent = TextInputComponent || TextInput;
21716
21681
  var onPress = useCallback(function () {
21717
21682
  setOpen(true);
21718
21683
  }, []);
21719
- return /*#__PURE__*/React__default.createElement(StyledTouchableOpacity$2, {
21684
+ return /*#__PURE__*/React__default.createElement(TouchableOpacity, {
21720
21685
  onPress: onPress,
21721
21686
  disabled: disabled,
21722
- themeGroupStyleEnabled: groupStyleEnabled,
21723
- themeHasError: !!error,
21724
21687
  testID: "date-picker-ios-touchable-opacity"
21725
21688
  }, /*#__PURE__*/React__default.createElement(View, {
21726
21689
  pointerEvents: "none",
21727
21690
  testID: "datePickerInputIOS"
21728
- }, /*#__PURE__*/React__default.createElement(InputComponent, _extends$1({}, inputProps, {
21691
+ }, /*#__PURE__*/React__default.createElement(TextInput, {
21729
21692
  label: label,
21730
21693
  value: displayValue,
21731
21694
  suffix: "calendar-dates-outlined",
@@ -21736,13 +21699,13 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
21736
21699
  helpText: helpText,
21737
21700
  testID: testID,
21738
21701
  style: style,
21739
- renderInputValue: renderSelectedValue !== undefined && !!value ? function (props) {
21702
+ renderInputValue: renderSelectedValue !== undefined && !!value ? function (inputProps) {
21740
21703
  return renderSelectedValue({
21741
21704
  date: value,
21742
21705
  formattedDateString: displayValue
21743
- }, props);
21706
+ }, inputProps);
21744
21707
  } : undefined
21745
- }))), /*#__PURE__*/React__default.createElement(IOSDatePickerDialog, {
21708
+ })), /*#__PURE__*/React__default.createElement(IOSDatePickerDialog, {
21746
21709
  value: value,
21747
21710
  onChange: onChange,
21748
21711
  open: open,
@@ -21759,27 +21722,21 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
21759
21722
  }));
21760
21723
  };
21761
21724
 
21762
- var _excluded$s = ["variant", "TextInputComponent"];
21725
+ var _excluded$q = ["variant"];
21763
21726
  var DatePicker = function DatePicker(_ref) {
21764
21727
  var _ref$variant = _ref.variant,
21765
21728
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
21766
- _ref$TextInputCompone = _ref.TextInputComponent,
21767
- TextInputComponent = _ref$TextInputCompone === void 0 ? TextInput : _ref$TextInputCompone,
21768
- props = _objectWithoutProperties(_ref, _excluded$s);
21729
+ props = _objectWithoutProperties(_ref, _excluded$q);
21769
21730
  if (variant === 'calendar') {
21770
- return /*#__PURE__*/React__default.createElement(DatePickerCalendar, _extends$1({}, props, {
21771
- TextInputComponent: TextInputComponent
21772
- }));
21731
+ return /*#__PURE__*/React__default.createElement(DatePickerCalendar, props);
21773
21732
  }
21774
21733
  if (Platform.OS === 'ios') {
21775
21734
  return /*#__PURE__*/React__default.createElement(DatePickerIOS, _extends$1({}, props, {
21776
- variant: variant,
21777
- TextInputComponent: TextInputComponent
21735
+ variant: variant
21778
21736
  }));
21779
21737
  }
21780
21738
  return /*#__PURE__*/React__default.createElement(DatePickerAndroid, _extends$1({}, props, {
21781
- variant: variant,
21782
- TextInputComponent: TextInputComponent
21739
+ variant: variant
21783
21740
  }));
21784
21741
  };
21785
21742
 
@@ -23824,7 +23781,7 @@ var StyledErrorDescription = index$c(Typography.Body)(function (_ref9) {
23824
23781
  };
23825
23782
  });
23826
23783
 
23827
- var _excluded$r = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
23784
+ var _excluded$p = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
23828
23785
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
23829
23786
  var renderImage$1 = function renderImage(image) {
23830
23787
  if (/*#__PURE__*/isValidElement(image)) {
@@ -23865,7 +23822,7 @@ var ErrorPage = function ErrorPage(_ref2) {
23865
23822
  secondaryCtaText = _ref2.secondaryCtaText,
23866
23823
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
23867
23824
  icon = _ref2.icon,
23868
- nativeProps = _objectWithoutProperties(_ref2, _excluded$r);
23825
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$p);
23869
23826
  var showCta = ctaText && onCtaPress !== undefined;
23870
23827
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
23871
23828
  var showButtonContainer = showCta || showSecondaryCta;
@@ -24094,13 +24051,13 @@ var ActionItem = function ActionItem(_ref) {
24094
24051
  })), /*#__PURE__*/React__default.createElement(StyledActionItemText, null, title))));
24095
24052
  };
24096
24053
 
24097
- var _excluded$q = ["active"];
24054
+ var _excluded$o = ["active"];
24098
24055
  var AnimatedIcons = Animated.createAnimatedComponent(/*#__PURE__*/React__default.forwardRef(function (props, _) {
24099
24056
  return /*#__PURE__*/React__default.createElement(StyledFABIcon, props);
24100
24057
  }));
24101
24058
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
24102
24059
  var active = _ref.active,
24103
- iconProps = _objectWithoutProperties(_ref, _excluded$q);
24060
+ iconProps = _objectWithoutProperties(_ref, _excluded$o);
24104
24061
  var rotateAnimation = useRef(new Animated.Value(active ? 1 : 0));
24105
24062
  useEffect(function () {
24106
24063
  var animation = Animated.spring(rotateAnimation.current, {
@@ -24506,11 +24463,11 @@ var StyledFAB = index$c(FABWithTitleStyle)(function (_ref) {
24506
24463
  };
24507
24464
  });
24508
24465
 
24509
- var _excluded$p = ["fabConfig", "onCancel"];
24466
+ var _excluded$n = ["fabConfig", "onCancel"];
24510
24467
  var Pair = function Pair(_ref) {
24511
24468
  var fabConfig = _ref.fabConfig,
24512
24469
  onCancel = _ref.onCancel,
24513
- props = _objectWithoutProperties(_ref, _excluded$p);
24470
+ props = _objectWithoutProperties(_ref, _excluded$n);
24514
24471
  var icon = fabConfig.icon,
24515
24472
  title = fabConfig.title,
24516
24473
  onPress = fabConfig.onPress,
@@ -25245,11 +25202,11 @@ var StyledFocusIcon = index$c(Icon)(function (_ref7) {
25245
25202
  };
25246
25203
  });
25247
25204
 
25248
- var _excluded$o = ["style", "testID"];
25205
+ var _excluded$m = ["style", "testID"];
25249
25206
  var MapPinFocussed = function MapPinFocussed(_ref) {
25250
25207
  var style = _ref.style,
25251
25208
  testID = _ref.testID,
25252
- nativeProps = _objectWithoutProperties(_ref, _excluded$o);
25209
+ nativeProps = _objectWithoutProperties(_ref, _excluded$m);
25253
25210
  return /*#__PURE__*/React__default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
25254
25211
  style: style,
25255
25212
  testID: testID
@@ -25259,7 +25216,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
25259
25216
  }));
25260
25217
  };
25261
25218
 
25262
- var _excluded$n = ["style", "testID", "state", "image", "icon"];
25219
+ var _excluded$l = ["style", "testID", "state", "image", "icon"];
25263
25220
  var getBadgeIconName = function getBadgeIconName(state) {
25264
25221
  var iconMap = {
25265
25222
  idle: undefined,
@@ -25275,7 +25232,7 @@ var MapPin = function MapPin(_ref) {
25275
25232
  state = _ref$state === void 0 ? 'idle' : _ref$state,
25276
25233
  image = _ref.image,
25277
25234
  icon = _ref.icon,
25278
- nativeProps = _objectWithoutProperties(_ref, _excluded$n);
25235
+ nativeProps = _objectWithoutProperties(_ref, _excluded$l);
25279
25236
  var badgeIcon = getBadgeIconName(state);
25280
25237
  return /*#__PURE__*/React__default.createElement(StyledContainer$4, _extends$1({}, nativeProps, {
25281
25238
  style: style,
@@ -25596,7 +25553,7 @@ var THEME_INTENT_MAP = {
25596
25553
  'archived-inverted': 'archivedInverted'
25597
25554
  };
25598
25555
 
25599
- var _excluded$m = ["value", "renderValue", "intent", "style", "testID"];
25556
+ var _excluded$k = ["value", "renderValue", "intent", "style", "testID"];
25600
25557
  var defaultRenderValue = function defaultRenderValue(value) {
25601
25558
  return "".concat(value, "%");
25602
25559
  };
@@ -25609,7 +25566,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
25609
25566
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25610
25567
  style = _ref.style,
25611
25568
  testID = _ref.testID,
25612
- nativeProps = _objectWithoutProperties(_ref, _excluded$m);
25569
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
25613
25570
  var theme = useTheme$1();
25614
25571
  var size = theme.__hd__.progress.sizes.circleDiameter;
25615
25572
  var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
@@ -25679,14 +25636,14 @@ var StyledInner = index$c(Animated.View)(function (_ref2) {
25679
25636
  };
25680
25637
  });
25681
25638
 
25682
- var _excluded$l = ["value", "intent", "style", "testID"];
25639
+ var _excluded$j = ["value", "intent", "style", "testID"];
25683
25640
  var ProgressBar = function ProgressBar(_ref) {
25684
25641
  var value = _ref.value,
25685
25642
  _ref$intent = _ref.intent,
25686
25643
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25687
25644
  style = _ref.style,
25688
25645
  testID = _ref.testID,
25689
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
25646
+ nativeProps = _objectWithoutProperties(_ref, _excluded$j);
25690
25647
  var _useState = useState(0),
25691
25648
  _useState2 = _slicedToArray(_useState, 2),
25692
25649
  width = _useState2[0],
@@ -25776,7 +25733,7 @@ var StyledSingleStep = index$c(Box)(function (_ref3) {
25776
25733
  };
25777
25734
  });
25778
25735
 
25779
- var _excluded$k = ["steps", "current", "onLayout"];
25736
+ var _excluded$i = ["steps", "current", "onLayout"];
25780
25737
  var getStepState = function getStepState(current, index) {
25781
25738
  if (index < current) {
25782
25739
  return 'complete';
@@ -25790,7 +25747,7 @@ var ProgressStep = function ProgressStep(_ref) {
25790
25747
  var steps = _ref.steps,
25791
25748
  current = _ref.current,
25792
25749
  onLayout = _ref.onLayout,
25793
- props = _objectWithoutProperties(_ref, _excluded$k);
25750
+ props = _objectWithoutProperties(_ref, _excluded$i);
25794
25751
  var theme = useTheme$1();
25795
25752
  var _React$useState = React__default.useState(0),
25796
25753
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -26087,7 +26044,7 @@ var StyledEmptyText = index$c(Typography.Caption)(function (_ref4) {
26087
26044
  };
26088
26045
  });
26089
26046
 
26090
- var _excluded$j = ["data", "headerConfig", "emptyText", "legendConfig", "styleConfig", "style", "testID", "collapsable"];
26047
+ var _excluded$h = ["data", "headerConfig", "emptyText", "legendConfig", "styleConfig", "style", "testID", "collapsable"];
26091
26048
  var ProgressSegmentedBar = function ProgressSegmentedBar(_ref) {
26092
26049
  var data = _ref.data,
26093
26050
  headerConfig = _ref.headerConfig,
@@ -26097,7 +26054,7 @@ var ProgressSegmentedBar = function ProgressSegmentedBar(_ref) {
26097
26054
  style = _ref.style,
26098
26055
  testID = _ref.testID,
26099
26056
  collapsable = _ref.collapsable,
26100
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
26057
+ nativeProps = _objectWithoutProperties(_ref, _excluded$h);
26101
26058
  var values = React__default.useMemo(function () {
26102
26059
  return data.map(function (s) {
26103
26060
  return s.data;
@@ -26467,14 +26424,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
26467
26424
  }, dotProps))));
26468
26425
  };
26469
26426
 
26470
- var _excluded$i = ["testID", "size", "intent"];
26427
+ var _excluded$g = ["testID", "size", "intent"];
26471
26428
  var Spinner = function Spinner(_ref) {
26472
26429
  var testID = _ref.testID,
26473
26430
  _ref$size = _ref.size,
26474
26431
  size = _ref$size === void 0 ? 'medium' : _ref$size,
26475
26432
  _ref$intent = _ref.intent,
26476
26433
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
26477
- nativeProps = _objectWithoutProperties(_ref, _excluded$i);
26434
+ nativeProps = _objectWithoutProperties(_ref, _excluded$g);
26478
26435
  return /*#__PURE__*/React__default.createElement(StyledView$1, nativeProps, /*#__PURE__*/React__default.createElement(StyledSpinnerContainer, {
26479
26436
  testID: testID
26480
26437
  }, /*#__PURE__*/React__default.createElement(AnimatedSpinner, {
@@ -26507,7 +26464,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
26507
26464
  }, children);
26508
26465
  };
26509
26466
 
26510
- var _excluded$h = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
26467
+ var _excluded$f = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
26511
26468
  var renderActions = function renderActions(actions, width, progress, direction) {
26512
26469
  var trans = progress.interpolate({
26513
26470
  inputRange: [0, 1],
@@ -26536,7 +26493,7 @@ var Swipeable = function Swipeable(_ref) {
26536
26493
  rightActionsWidth = _ref.rightActionsWidth,
26537
26494
  _ref$variant = _ref.variant,
26538
26495
  variant = _ref$variant === void 0 ? 'card' : _ref$variant,
26539
- swipeableProps = _objectWithoutProperties(_ref, _excluded$h);
26496
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$f);
26540
26497
  var theme = useTheme();
26541
26498
  var _useWindowDimensions = useWindowDimensions(),
26542
26499
  width = _useWindowDimensions.width;
@@ -26864,24 +26821,8 @@ var StyledSectionList = index$c(SectionList)(function (_ref4) {
26864
26821
  paddingHorizontal: theme.__hd__.select.space.optionListHorizontalPadding
26865
26822
  };
26866
26823
  });
26867
- var getZIndexByState$1 = function getZIndexByState(_ref5) {
26868
- var themeHasError = _ref5.themeHasError;
26869
- if (themeHasError) {
26870
- return 1;
26871
- }
26872
- return 0;
26873
- };
26874
- var StyledTouchableOpacity$1 = index$c(TouchableOpacity)(function (_ref6) {
26875
- var themeGroupStyleEnabled = _ref6.themeGroupStyleEnabled,
26876
- themeHasError = _ref6.themeHasError;
26877
- return _objectSpread2({}, themeGroupStyleEnabled && {
26878
- zIndex: getZIndexByState$1({
26879
- themeHasError: themeHasError
26880
- })
26881
- });
26882
- });
26883
26824
 
26884
- var _excluded$g = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
26825
+ var _excluded$e = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
26885
26826
  var BaseOptionList = function BaseOptionList(_ref) {
26886
26827
  var keyExtractor = _ref.keyExtractor,
26887
26828
  loading = _ref.loading,
@@ -26890,7 +26831,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
26890
26831
  sections = _ref.sections,
26891
26832
  renderItem = _ref.renderItem,
26892
26833
  sectionListRef = _ref.sectionListRef,
26893
- rest = _objectWithoutProperties(_ref, _excluded$g);
26834
+ rest = _objectWithoutProperties(_ref, _excluded$e);
26894
26835
  var theme = useTheme$1();
26895
26836
  var _useState = useState(false),
26896
26837
  _useState2 = _slicedToArray(_useState, 2),
@@ -26974,7 +26915,7 @@ var isOptionSelected = function isOptionSelected(value, option) {
26974
26915
  });
26975
26916
  };
26976
26917
 
26977
- var _excluded$f = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
26918
+ var _excluded$d = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
26978
26919
  var OptionList$1 = function OptionList(_ref) {
26979
26920
  var keyExtractor = _ref.keyExtractor,
26980
26921
  loading = _ref.loading,
@@ -26985,7 +26926,7 @@ var OptionList$1 = function OptionList(_ref) {
26985
26926
  renderOption = _ref.renderOption,
26986
26927
  value = _ref.value,
26987
26928
  sectionListRef = _ref.sectionListRef,
26988
- rest = _objectWithoutProperties(_ref, _excluded$f);
26929
+ rest = _objectWithoutProperties(_ref, _excluded$d);
26989
26930
  var renderItem = function renderItem(info) {
26990
26931
  var item = info.item;
26991
26932
  var selected = isOptionSelected(value, item);
@@ -27020,7 +26961,6 @@ var OptionList$1 = function OptionList(_ref) {
27020
26961
  }, rest));
27021
26962
  };
27022
26963
 
27023
- 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"];
27024
26964
  function MultiSelect(_ref) {
27025
26965
  var footerLabel = _ref.footerLabel,
27026
26966
  label = _ref.label,
@@ -27047,10 +26987,7 @@ function MultiSelect(_ref) {
27047
26987
  _ref$supportedOrienta = _ref.supportedOrientations,
27048
26988
  supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
27049
26989
  _ref$bottomSheetConfi = _ref.bottomSheetConfig,
27050
- bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
27051
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
27052
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable,
27053
- rest = _objectWithoutProperties(_ref, _excluded$e);
26990
+ bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi;
27054
26991
  var _useKeyboard = useKeyboard(),
27055
26992
  isKeyboardVisible = _useKeyboard.isKeyboardVisible,
27056
26993
  keyboardHeight = _useKeyboard.keyboardHeight;
@@ -27073,7 +27010,6 @@ function MultiSelect(_ref) {
27073
27010
  var rawValue = value.length > 0 ? value.join(', ') : '';
27074
27011
  var bottomSheetVariant = bottomSheetConfig.variant,
27075
27012
  bottomSheetHeader = bottomSheetConfig.header;
27076
- var TextInputComponent = rest.TextInputComponent || TextInput;
27077
27013
  var onPress = useCallback(function () {
27078
27014
  setOpen(true);
27079
27015
  }, []);
@@ -27086,14 +27022,12 @@ function MultiSelect(_ref) {
27086
27022
  }, [open, value]);
27087
27023
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(View, {
27088
27024
  pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
27089
- }, /*#__PURE__*/React__default.createElement(StyledTouchableOpacity$1, {
27025
+ }, /*#__PURE__*/React__default.createElement(TouchableOpacity, {
27090
27026
  onPress: onPress,
27091
- themeGroupStyleEnabled: groupStyleEnabled,
27092
- themeHasError: !!error,
27093
27027
  testID: "multi-select-touchable-opacity"
27094
27028
  }, /*#__PURE__*/React__default.createElement(View, {
27095
27029
  pointerEvents: "none"
27096
- }, /*#__PURE__*/React__default.createElement(TextInputComponent, _extends$1({}, inputProps, {
27030
+ }, /*#__PURE__*/React__default.createElement(TextInput, _extends$1({}, inputProps, {
27097
27031
  label: label,
27098
27032
  value: renderSelectedValue ? rawValue : displayedValue,
27099
27033
  suffix: selectSuffix,
@@ -27105,8 +27039,8 @@ function MultiSelect(_ref) {
27105
27039
  pointerEvents: "none",
27106
27040
  style: style,
27107
27041
  testID: testID,
27108
- renderInputValue: renderSelectedValue !== undefined && (rawValue === null || rawValue === void 0 ? void 0 : rawValue.length) > 0 ? function (props) {
27109
- return renderSelectedValue(value, props);
27042
+ renderInputValue: renderSelectedValue !== undefined && (rawValue === null || rawValue === void 0 ? void 0 : rawValue.length) > 0 ? function (nativeInputProps) {
27043
+ return renderSelectedValue(value, nativeInputProps);
27110
27044
  } : undefined
27111
27045
  }))))), /*#__PURE__*/React__default.createElement(BottomSheet, {
27112
27046
  variant: bottomSheetVariant || 'fixed',
@@ -27143,7 +27077,7 @@ function MultiSelect(_ref) {
27143
27077
  }
27144
27078
  },
27145
27079
  supportedOrientations: supportedOrientations
27146
- }, onQueryChange && /*#__PURE__*/React__default.createElement(StyledSearchBar, null, /*#__PURE__*/React__default.createElement(TextInputComponent, {
27080
+ }, onQueryChange && /*#__PURE__*/React__default.createElement(StyledSearchBar, null, /*#__PURE__*/React__default.createElement(TextInput, {
27147
27081
  editable: true,
27148
27082
  placeholder: "Search",
27149
27083
  suffix: "search-outlined",
@@ -27194,7 +27128,7 @@ var StyledOptionList = index$c(BaseOptionList)(function (_ref) {
27194
27128
  };
27195
27129
  });
27196
27130
 
27197
- var _excluded$d = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
27131
+ var _excluded$c = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
27198
27132
  var OptionList = function OptionList(_ref) {
27199
27133
  var keyExtractor = _ref.keyExtractor,
27200
27134
  loading = _ref.loading,
@@ -27205,7 +27139,7 @@ var OptionList = function OptionList(_ref) {
27205
27139
  renderOption = _ref.renderOption,
27206
27140
  value = _ref.value,
27207
27141
  sectionListRef = _ref.sectionListRef,
27208
- rest = _objectWithoutProperties(_ref, _excluded$d);
27142
+ rest = _objectWithoutProperties(_ref, _excluded$c);
27209
27143
  var renderItem = function renderItem(info) {
27210
27144
  var item = info.item;
27211
27145
  var selected = _deepCompareValue(item.value, value);
@@ -27241,7 +27175,6 @@ var OptionList = function OptionList(_ref) {
27241
27175
  }, rest));
27242
27176
  };
27243
27177
 
27244
- var _excluded$c = ["label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig", "groupStyleEnabled"];
27245
27178
  var SingleSelect = function SingleSelect(_ref) {
27246
27179
  var _flatOptions$find;
27247
27180
  var label = _ref.label,
@@ -27268,10 +27201,7 @@ var SingleSelect = function SingleSelect(_ref) {
27268
27201
  _ref$supportedOrienta = _ref.supportedOrientations,
27269
27202
  supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
27270
27203
  _ref$bottomSheetConfi = _ref.bottomSheetConfig,
27271
- bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
27272
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
27273
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable,
27274
- rest = _objectWithoutProperties(_ref, _excluded$c);
27204
+ bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi;
27275
27205
  var _useKeyboard = useKeyboard(),
27276
27206
  isKeyboardVisible = _useKeyboard.isKeyboardVisible,
27277
27207
  keyboardHeight = _useKeyboard.keyboardHeight;
@@ -27288,7 +27218,6 @@ var SingleSelect = function SingleSelect(_ref) {
27288
27218
  var rawValue = value ? String(value) : undefined;
27289
27219
  var bottomSheetVariant = bottomSheetConfig.variant,
27290
27220
  bottomSheetHeader = bottomSheetConfig.header;
27291
- var TextInputComponent = rest.TextInputComponent || TextInput;
27292
27221
  var onPress = useCallback(function () {
27293
27222
  setOpen(true);
27294
27223
  }, []);
@@ -27300,14 +27229,12 @@ var SingleSelect = function SingleSelect(_ref) {
27300
27229
  }, [editable, disabled, open]);
27301
27230
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(View, {
27302
27231
  pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
27303
- }, /*#__PURE__*/React__default.createElement(StyledTouchableOpacity$1, {
27232
+ }, /*#__PURE__*/React__default.createElement(TouchableOpacity, {
27304
27233
  onPress: onPress,
27305
- themeGroupStyleEnabled: groupStyleEnabled,
27306
- themeHasError: !!error,
27307
27234
  testID: "single-select-touchable-opacity"
27308
27235
  }, /*#__PURE__*/React__default.createElement(View, {
27309
27236
  pointerEvents: "none"
27310
- }, /*#__PURE__*/React__default.createElement(TextInputComponent, _extends$1({}, inputProps, {
27237
+ }, /*#__PURE__*/React__default.createElement(TextInput, _extends$1({}, inputProps, {
27311
27238
  label: label,
27312
27239
  value: renderSelectedValue ? rawValue : displayedValue,
27313
27240
  suffix: selectSuffix,
@@ -27319,8 +27246,8 @@ var SingleSelect = function SingleSelect(_ref) {
27319
27246
  pointerEvents: "none",
27320
27247
  style: style,
27321
27248
  testID: testID,
27322
- renderInputValue: renderSelectedValue !== undefined && !!rawValue ? function (props) {
27323
- return renderSelectedValue(value, props);
27249
+ renderInputValue: renderSelectedValue !== undefined && !!rawValue ? function (nativeInputProps) {
27250
+ return renderSelectedValue(value, nativeInputProps);
27324
27251
  } : undefined
27325
27252
  }))))), /*#__PURE__*/React__default.createElement(BottomSheet, {
27326
27253
  variant: bottomSheetVariant || 'fixed',
@@ -27341,7 +27268,7 @@ var SingleSelect = function SingleSelect(_ref) {
27341
27268
  }
27342
27269
  },
27343
27270
  supportedOrientations: supportedOrientations
27344
- }, onQueryChange && /*#__PURE__*/React__default.createElement(StyledSearchBar, null, /*#__PURE__*/React__default.createElement(TextInputComponent, {
27271
+ }, onQueryChange && /*#__PURE__*/React__default.createElement(StyledSearchBar, null, /*#__PURE__*/React__default.createElement(TextInput, {
27345
27272
  editable: true,
27346
27273
  placeholder: "Search",
27347
27274
  suffix: "search-outlined",
@@ -28714,30 +28641,6 @@ var Tag = function Tag(_ref) {
28714
28641
  }));
28715
28642
  };
28716
28643
 
28717
- var StyledPickerWrapper = index$c(View)(function (_ref) {
28718
- var theme = _ref.theme;
28719
- return {
28720
- height: theme.__hd__.timePicker.sizes.height,
28721
- alignItems: 'center'
28722
- };
28723
- });
28724
- var getZIndexByState = function getZIndexByState(_ref2) {
28725
- var themeHasError = _ref2.themeHasError;
28726
- if (themeHasError) {
28727
- return 1;
28728
- }
28729
- return 0;
28730
- };
28731
- var StyledTouchableOpacity = index$c(TouchableOpacity)(function (_ref3) {
28732
- var themeGroupStyleEnabled = _ref3.themeGroupStyleEnabled,
28733
- themeHasError = _ref3.themeHasError;
28734
- return _objectSpread2({}, themeGroupStyleEnabled && {
28735
- zIndex: getZIndexByState({
28736
- themeHasError: themeHasError
28737
- })
28738
- });
28739
- });
28740
-
28741
28644
  var TimePickerAndroid = function TimePickerAndroid(_ref) {
28742
28645
  var value = _ref.value,
28743
28646
  label = _ref.label,
@@ -28753,11 +28656,7 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
28753
28656
  style = _ref.style,
28754
28657
  testID = _ref.testID,
28755
28658
  _ref$showSuffix = _ref.showSuffix,
28756
- showSuffix = _ref$showSuffix === void 0 ? true : _ref$showSuffix,
28757
- TextInputComponent = _ref.TextInputComponent,
28758
- inputProps = _ref.inputProps,
28759
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
28760
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
28659
+ showSuffix = _ref$showSuffix === void 0 ? true : _ref$showSuffix;
28761
28660
  var _useState = useState(false),
28762
28661
  _useState2 = _slicedToArray(_useState, 2),
28763
28662
  open = _useState2[0],
@@ -28765,20 +28664,17 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
28765
28664
  var is12Hour = displayFormat.includes('hh');
28766
28665
  var displayValue = value ? formatTime(displayFormat, value) : '';
28767
28666
  var pickerInitValue = value || new Date();
28768
- var InputComponent = TextInputComponent || TextInput;
28769
28667
  var onPress = useCallback(function () {
28770
28668
  setOpen(true);
28771
28669
  }, []);
28772
- return /*#__PURE__*/React__default.createElement(StyledTouchableOpacity, {
28670
+ return /*#__PURE__*/React__default.createElement(TouchableOpacity, {
28773
28671
  onPress: onPress,
28774
28672
  disabled: disabled,
28775
- themeGroupStyleEnabled: groupStyleEnabled,
28776
- themeHasError: !!error,
28777
28673
  testID: "time-picker-android-touchable-opacity"
28778
28674
  }, /*#__PURE__*/React__default.createElement(View, {
28779
28675
  pointerEvents: "none",
28780
28676
  testID: "timePickerInputAndroid"
28781
- }, /*#__PURE__*/React__default.createElement(InputComponent, _extends$1({}, inputProps, {
28677
+ }, /*#__PURE__*/React__default.createElement(TextInput, {
28782
28678
  label: label,
28783
28679
  value: displayValue,
28784
28680
  suffix: showSuffix ? 'clock-3' : undefined,
@@ -28789,7 +28685,7 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
28789
28685
  helpText: helpText,
28790
28686
  style: style,
28791
28687
  testID: testID
28792
- }))), open ? /*#__PURE__*/React__default.createElement(DateTimePicker, {
28688
+ })), open ? /*#__PURE__*/React__default.createElement(DateTimePicker, {
28793
28689
  testID: "timePickerAndroid",
28794
28690
  mode: "time",
28795
28691
  value: pickerInitValue,
@@ -28804,6 +28700,14 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
28804
28700
  }) : null);
28805
28701
  };
28806
28702
 
28703
+ var StyledPickerWrapper = index$c(View)(function (_ref) {
28704
+ var theme = _ref.theme;
28705
+ return {
28706
+ height: theme.__hd__.timePicker.sizes.height,
28707
+ alignItems: 'center'
28708
+ };
28709
+ });
28710
+
28807
28711
  var TimePickerIOS = function TimePickerIOS(_ref) {
28808
28712
  var value = _ref.value,
28809
28713
  label = _ref.label,
@@ -28822,11 +28726,7 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
28822
28726
  _ref$showSuffix = _ref.showSuffix,
28823
28727
  showSuffix = _ref$showSuffix === void 0 ? true : _ref$showSuffix,
28824
28728
  _ref$supportedOrienta = _ref.supportedOrientations,
28825
- supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
28826
- TextInputComponent = _ref.TextInputComponent,
28827
- inputProps = _ref.inputProps,
28828
- _ref$groupStyleEnable = _ref.groupStyleEnabled,
28829
- groupStyleEnabled = _ref$groupStyleEnable === void 0 ? false : _ref$groupStyleEnable;
28729
+ supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta;
28830
28730
  var _useState = useState(value || new Date()),
28831
28731
  _useState2 = _slicedToArray(_useState, 2),
28832
28732
  selectingDate = _useState2[0],
@@ -28842,23 +28742,20 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
28842
28742
  // For 12-hour format: use en-US locale to ensure 12-hour display regardless of device settings
28843
28743
  // For 24-hour format: use en-GB for consistent 24-hour display
28844
28744
  var pickerLocale = is12Hour ? 'en-US' : 'en-GB';
28845
- var InputComponent = TextInputComponent || TextInput;
28846
28745
  useEffect(function () {
28847
28746
  setSelectingDate(value || new Date());
28848
28747
  }, [value]);
28849
28748
  var onPress = useCallback(function () {
28850
28749
  setOpen(true);
28851
28750
  }, []);
28852
- return /*#__PURE__*/React__default.createElement(StyledTouchableOpacity, {
28751
+ return /*#__PURE__*/React__default.createElement(TouchableOpacity, {
28853
28752
  onPress: onPress,
28854
28753
  disabled: disabled,
28855
- themeGroupStyleEnabled: groupStyleEnabled,
28856
- themeHasError: !!error,
28857
28754
  testID: "time-picker-ios-touchable-opacity"
28858
28755
  }, /*#__PURE__*/React__default.createElement(View, {
28859
28756
  pointerEvents: "none",
28860
28757
  testID: "timePickerInputIOS"
28861
- }, /*#__PURE__*/React__default.createElement(InputComponent, _extends$1({}, inputProps, {
28758
+ }, /*#__PURE__*/React__default.createElement(TextInput, {
28862
28759
  label: label,
28863
28760
  value: displayValue,
28864
28761
  suffix: showSuffix ? 'clock-3' : undefined,
@@ -28869,7 +28766,7 @@ var TimePickerIOS = function TimePickerIOS(_ref) {
28869
28766
  helpText: helpText,
28870
28767
  testID: testID,
28871
28768
  style: style
28872
- }))), /*#__PURE__*/React__default.createElement(BottomSheet, {
28769
+ })), /*#__PURE__*/React__default.createElement(BottomSheet, {
28873
28770
  open: open,
28874
28771
  onRequestClose: function onRequestClose() {
28875
28772
  return setOpen(false);