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