@hero-design/rn 8.103.2 → 8.103.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 (35) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +7 -0
  3. package/es/index.js +102 -86
  4. package/eslint.config.js +1 -0
  5. package/lib/index.js +102 -86
  6. package/package.json +1 -1
  7. package/src/components/DatePicker/StyledDatePicker.tsx +1 -0
  8. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -0
  9. package/src/components/PinInput/PinCell.tsx +6 -1
  10. package/src/components/PinInput/StyledPinInput.tsx +2 -2
  11. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +30 -0
  12. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +287 -5
  13. package/src/components/PinInput/__tests__/index.spec.tsx +33 -0
  14. package/src/components/PinInput/index.tsx +6 -2
  15. package/src/components/Select/MultiSelect/index.tsx +15 -4
  16. package/src/components/Select/SingleSelect/index.tsx +15 -4
  17. package/src/components/Select/index.internal.tsx +13 -0
  18. package/src/components/Select/index.tsx +14 -2
  19. package/src/components/Select/types.ts +4 -0
  20. package/src/components/TimePicker/StyledTimePicker.tsx +1 -0
  21. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -0
  22. package/src/index.internal.ts +5 -0
  23. package/src/types.internal.ts +8 -0
  24. package/stats/8.103.2/rn-stats.html +3 -1
  25. package/stats/8.103.3/rn-stats.html +4844 -0
  26. package/types/components/Checkbox/index.d.ts +1 -1
  27. package/types/components/PinInput/StyledPinInput.d.ts +2 -4
  28. package/types/components/Select/MultiSelect/index.d.ts +5 -1
  29. package/types/components/Select/SingleSelect/index.d.ts +5 -1
  30. package/types/components/Select/index.d.ts +5 -3
  31. package/types/components/Select/index.internal.d.ts +8 -0
  32. package/types/components/Select/types.d.ts +4 -0
  33. package/types/components/TextInput/index.d.ts +1 -1
  34. package/types/index.internal.d.ts +4 -0
  35. package/types/types.internal.d.ts +3 -0
package/lib/index.js CHANGED
@@ -7661,7 +7661,7 @@ var StyledText$3 = index$b(reactNative.Text)(function (_ref) {
7661
7661
  });
7662
7662
  });
7663
7663
 
7664
- var _excluded$M = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
7664
+ var _excluded$O = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
7665
7665
  var Text = function Text(_ref) {
7666
7666
  var children = _ref.children,
7667
7667
  _ref$fontSize = _ref.fontSize,
@@ -7674,7 +7674,7 @@ var Text = function Text(_ref) {
7674
7674
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7675
7675
  _ref$allowFontScaling = _ref.allowFontScaling,
7676
7676
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
7677
- nativeProps = _objectWithoutProperties(_ref, _excluded$M);
7677
+ nativeProps = _objectWithoutProperties(_ref, _excluded$O);
7678
7678
  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.');
7679
7679
  return /*#__PURE__*/React__namespace.default.createElement(StyledText$3, _extends$1({}, nativeProps, {
7680
7680
  themeFontSize: fontSize,
@@ -7704,7 +7704,7 @@ var StyledCaption = index$b(reactNative.Text)(function (_ref) {
7704
7704
  };
7705
7705
  });
7706
7706
 
7707
- var _excluded$L = ["children", "fontWeight", "intent", "allowFontScaling"];
7707
+ var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling"];
7708
7708
  var Caption = function Caption(_ref) {
7709
7709
  var children = _ref.children,
7710
7710
  _ref$fontWeight = _ref.fontWeight,
@@ -7713,7 +7713,7 @@ var Caption = function Caption(_ref) {
7713
7713
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
7714
7714
  _ref$allowFontScaling = _ref.allowFontScaling,
7715
7715
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
7716
- nativeProps = _objectWithoutProperties(_ref, _excluded$L);
7716
+ nativeProps = _objectWithoutProperties(_ref, _excluded$N);
7717
7717
  return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
7718
7718
  themeFontWeight: fontWeight,
7719
7719
  themeIntent: intent,
@@ -7732,14 +7732,14 @@ var StyledLabel$1 = index$b(reactNative.Text)(function (_ref) {
7732
7732
  };
7733
7733
  });
7734
7734
 
7735
- var _excluded$K = ["children", "intent", "allowFontScaling"];
7735
+ var _excluded$M = ["children", "intent", "allowFontScaling"];
7736
7736
  var Label = function Label(_ref) {
7737
7737
  var children = _ref.children,
7738
7738
  _ref$intent = _ref.intent,
7739
7739
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
7740
7740
  _ref$allowFontScaling = _ref.allowFontScaling,
7741
7741
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
7742
- nativeProps = _objectWithoutProperties(_ref, _excluded$K);
7742
+ nativeProps = _objectWithoutProperties(_ref, _excluded$M);
7743
7743
  return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
7744
7744
  themeIntent: intent,
7745
7745
  allowFontScaling: allowFontScaling
@@ -7760,7 +7760,7 @@ var StyledTitle$1 = index$b(reactNative.Text)(function (_ref) {
7760
7760
  };
7761
7761
  });
7762
7762
 
7763
- var _excluded$J = ["children", "intent", "allowFontScaling", "level", "typeface"];
7763
+ var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface"];
7764
7764
  var Title = function Title(_ref) {
7765
7765
  var children = _ref.children,
7766
7766
  _ref$intent = _ref.intent,
@@ -7771,7 +7771,7 @@ var Title = function Title(_ref) {
7771
7771
  level = _ref$level === void 0 ? 'h1' : _ref$level,
7772
7772
  _ref$typeface = _ref.typeface,
7773
7773
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7774
- nativeProps = _objectWithoutProperties(_ref, _excluded$J);
7774
+ nativeProps = _objectWithoutProperties(_ref, _excluded$L);
7775
7775
  return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
7776
7776
  themeLevel: level,
7777
7777
  themeTypeface: typeface,
@@ -7806,7 +7806,7 @@ var StyledBody$2 = index$b(reactNative.Text)(function (_ref) {
7806
7806
  };
7807
7807
  });
7808
7808
 
7809
- var _excluded$I = ["children", "intent", "allowFontScaling", "typeface", "variant"];
7809
+ var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant"];
7810
7810
  var Body = function Body(_ref) {
7811
7811
  var children = _ref.children,
7812
7812
  _ref$intent = _ref.intent,
@@ -7817,7 +7817,7 @@ var Body = function Body(_ref) {
7817
7817
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7818
7818
  _ref$variant = _ref.variant,
7819
7819
  variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
7820
- nativeProps = _objectWithoutProperties(_ref, _excluded$I);
7820
+ nativeProps = _objectWithoutProperties(_ref, _excluded$K);
7821
7821
  return /*#__PURE__*/React__namespace.default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
7822
7822
  themeTypeface: typeface,
7823
7823
  themeIntent: intent,
@@ -8418,10 +8418,10 @@ var StyledHeroIcon = index$b(HeroIcon)(function (_ref) {
8418
8418
  };
8419
8419
  });
8420
8420
 
8421
- var _excluded$H = ["style"];
8421
+ var _excluded$J = ["style"];
8422
8422
  var AnimatedIcon = function AnimatedIcon(_ref) {
8423
8423
  var style = _ref.style,
8424
- otherProps = _objectWithoutProperties(_ref, _excluded$H);
8424
+ otherProps = _objectWithoutProperties(_ref, _excluded$J);
8425
8425
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
8426
8426
  React.useEffect(function () {
8427
8427
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -8526,7 +8526,7 @@ var AccordionItem = function AccordionItem(_ref) {
8526
8526
  }, content));
8527
8527
  };
8528
8528
 
8529
- var _excluded$G = ["key"];
8529
+ var _excluded$I = ["key"];
8530
8530
  var Accordion = function Accordion(_ref) {
8531
8531
  var items = _ref.items,
8532
8532
  activeItemKey = _ref.activeItemKey,
@@ -8547,7 +8547,7 @@ var Accordion = function Accordion(_ref) {
8547
8547
  testID: testID
8548
8548
  }, items.map(function (_ref2, index) {
8549
8549
  var key = _ref2.key,
8550
- props = _objectWithoutProperties(_ref2, _excluded$G);
8550
+ props = _objectWithoutProperties(_ref2, _excluded$I);
8551
8551
  var open = _activeItemKey === key;
8552
8552
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
8553
8553
  key: key
@@ -9470,7 +9470,7 @@ var borderWidths = {
9470
9470
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
9471
9471
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
9472
9472
 
9473
- var _excluded$F = ["theme"];
9473
+ var _excluded$H = ["theme"];
9474
9474
  var getThemeValue = function getThemeValue(theme, key, props) {
9475
9475
  var propConfig = config[key];
9476
9476
  var propValue = props[key];
@@ -9497,18 +9497,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
9497
9497
  var configKeys = Object.keys(config);
9498
9498
  var StyledBox = index$b(reactNative.View)(function (_ref5) {
9499
9499
  var theme = _ref5.theme,
9500
- otherProps = _objectWithoutProperties(_ref5, _excluded$F);
9500
+ otherProps = _objectWithoutProperties(_ref5, _excluded$H);
9501
9501
  var styleProps = pick(configKeys, otherProps);
9502
9502
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
9503
9503
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
9504
9504
  });
9505
9505
 
9506
- var _excluded$E = ["children", "style", "testID"];
9506
+ var _excluded$G = ["children", "style", "testID"];
9507
9507
  var Box = function Box(_ref) {
9508
9508
  var children = _ref.children,
9509
9509
  style = _ref.style,
9510
9510
  testID = _ref.testID,
9511
- otherProps = _objectWithoutProperties(_ref, _excluded$E);
9511
+ otherProps = _objectWithoutProperties(_ref, _excluded$G);
9512
9512
  return /*#__PURE__*/React__namespace.default.createElement(StyledBox, _extends$1({}, otherProps, {
9513
9513
  style: style,
9514
9514
  testID: testID
@@ -9775,7 +9775,7 @@ var StyledIcon$4 = index$b(Icon)(function (_ref6) {
9775
9775
  };
9776
9776
  });
9777
9777
 
9778
- var _excluded$D = ["children", "visible", "intent", "style", "testID"];
9778
+ var _excluded$F = ["children", "visible", "intent", "style", "testID"];
9779
9779
  var Status$1 = function Status(_ref) {
9780
9780
  var children = _ref.children,
9781
9781
  _ref$visible = _ref.visible,
@@ -9784,7 +9784,7 @@ var Status$1 = function Status(_ref) {
9784
9784
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
9785
9785
  style = _ref.style,
9786
9786
  testID = _ref.testID,
9787
- nativeProps = _objectWithoutProperties(_ref, _excluded$D);
9787
+ nativeProps = _objectWithoutProperties(_ref, _excluded$F);
9788
9788
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
9789
9789
  opacity = _React$useRef.current;
9790
9790
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -9820,7 +9820,7 @@ var Status$1 = function Status(_ref) {
9820
9820
 
9821
9821
  var DEFAULT_MAX_NUMBER = 99;
9822
9822
 
9823
- var _excluded$C = ["children", "visible", "style", "max", "testID", "content"];
9823
+ var _excluded$E = ["children", "visible", "style", "max", "testID", "content"];
9824
9824
  var Status = function Status(_ref) {
9825
9825
  var children = _ref.children,
9826
9826
  _ref$visible = _ref.visible,
@@ -9830,7 +9830,7 @@ var Status = function Status(_ref) {
9830
9830
  max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
9831
9831
  testID = _ref.testID,
9832
9832
  originalContent = _ref.content,
9833
- nativeProps = _objectWithoutProperties(_ref, _excluded$C);
9833
+ nativeProps = _objectWithoutProperties(_ref, _excluded$E);
9834
9834
  var content = React.useMemo(function () {
9835
9835
  return originalContent > max ? "".concat(max, "+") : String(originalContent);
9836
9836
  }, [originalContent, max]);
@@ -9842,7 +9842,7 @@ var Status = function Status(_ref) {
9842
9842
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCountText, null, content)));
9843
9843
  };
9844
9844
 
9845
- var _excluded$B = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
9845
+ var _excluded$D = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
9846
9846
  var getPaddingState = function getPaddingState(content) {
9847
9847
  return content.length > 1 ? 'wideContent' : 'narrowContent';
9848
9848
  };
@@ -9861,7 +9861,7 @@ var Badge = function Badge(_ref) {
9861
9861
  _ref$variant = _ref.variant,
9862
9862
  variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
9863
9863
  icon = _ref.icon,
9864
- nativeProps = _objectWithoutProperties(_ref, _excluded$B);
9864
+ nativeProps = _objectWithoutProperties(_ref, _excluded$D);
9865
9865
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
9866
9866
  opacity = _React$useRef.current;
9867
9867
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -9960,7 +9960,7 @@ var StyledBottomBarText = index$b(Typography.Caption)(function (_ref3) {
9960
9960
  };
9961
9961
  });
9962
9962
 
9963
- var _excluded$A = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
9963
+ var _excluded$C = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
9964
9964
  var getInactiveIcon = function getInactiveIcon(icon) {
9965
9965
  var inactiveIcon = "".concat(icon, "-outlined");
9966
9966
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -9971,7 +9971,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
9971
9971
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
9972
9972
  selectedTabKey = _ref.selectedTabKey,
9973
9973
  tabs = _ref.tabs,
9974
- nativeProps = _objectWithoutProperties(_ref, _excluded$A);
9974
+ nativeProps = _objectWithoutProperties(_ref, _excluded$C);
9975
9975
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
9976
9976
  /**
9977
9977
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -10057,13 +10057,13 @@ var StyledDivider = index$b(reactNative.View)(function (_ref) {
10057
10057
  }, horizontalMargin), verticalMargin);
10058
10058
  });
10059
10059
 
10060
- var _excluded$z = ["marginHorizontal", "marginVertical", "style", "testID"];
10060
+ var _excluded$B = ["marginHorizontal", "marginVertical", "style", "testID"];
10061
10061
  var Divider = function Divider(_ref) {
10062
10062
  var marginHorizontal = _ref.marginHorizontal,
10063
10063
  marginVertical = _ref.marginVertical,
10064
10064
  style = _ref.style,
10065
10065
  testID = _ref.testID,
10066
- nativeProps = _objectWithoutProperties(_ref, _excluded$z);
10066
+ nativeProps = _objectWithoutProperties(_ref, _excluded$B);
10067
10067
  return /*#__PURE__*/React__namespace.default.createElement(StyledDivider, _extends$1({}, nativeProps, {
10068
10068
  themeMarginHorizontal: marginHorizontal,
10069
10069
  themeMarginVertical: marginVertical,
@@ -10212,7 +10212,7 @@ var StyledLoadingDot = index$b(reactNative.View)(function (_ref) {
10212
10212
  }, themeStyling());
10213
10213
  });
10214
10214
 
10215
- var _excluded$y = ["count", "size", "testID", "themeVariant"];
10215
+ var _excluded$A = ["count", "size", "testID", "themeVariant"];
10216
10216
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
10217
10217
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
10218
10218
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -10244,7 +10244,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
10244
10244
  size = _ref2$size === void 0 ? 12 : _ref2$size,
10245
10245
  testID = _ref2.testID,
10246
10246
  themeVariant = _ref2.themeVariant,
10247
- nativeProps = _objectWithoutProperties(_ref2, _excluded$y);
10247
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$A);
10248
10248
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
10249
10249
  React.useEffect(function () {
10250
10250
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -10871,11 +10871,11 @@ var Header = function Header(_ref) {
10871
10871
  }))) : null), showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null);
10872
10872
  };
10873
10873
 
10874
- var _excluded$x = ["scrollEventThrottle"];
10874
+ var _excluded$z = ["scrollEventThrottle"];
10875
10875
  var BottomSheetScrollView = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10876
10876
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
10877
10877
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
10878
- props = _objectWithoutProperties(_ref, _excluded$x);
10878
+ props = _objectWithoutProperties(_ref, _excluded$z);
10879
10879
  var _useContext = React.useContext(BottomSheetContext),
10880
10880
  setInternalShowDivider = _useContext.setInternalShowDivider;
10881
10881
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -13953,12 +13953,12 @@ var Indicator = index$b(reactNative.View)(function (_ref2) {
13953
13953
  };
13954
13954
  });
13955
13955
 
13956
- var _excluded$w = ["intent", "children"];
13956
+ var _excluded$y = ["intent", "children"];
13957
13957
  var DataCard = function DataCard(_ref) {
13958
13958
  var _ref$intent = _ref.intent,
13959
13959
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
13960
13960
  children = _ref.children,
13961
- nativeProps = _objectWithoutProperties(_ref, _excluded$w);
13961
+ nativeProps = _objectWithoutProperties(_ref, _excluded$y);
13962
13962
  return /*#__PURE__*/React__namespace.default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__namespace.default.createElement(Indicator, {
13963
13963
  themeIntent: intent,
13964
13964
  testID: "data-card-indicator"
@@ -13977,13 +13977,13 @@ var StyledCard$1 = index$b(reactNative.View)(function (_ref) {
13977
13977
  });
13978
13978
  });
13979
13979
 
13980
- var _excluded$v = ["intent", "children", "variant"];
13980
+ var _excluded$x = ["intent", "children", "variant"];
13981
13981
  var Card = function Card(_ref) {
13982
13982
  var intent = _ref.intent,
13983
13983
  children = _ref.children,
13984
13984
  _ref$variant = _ref.variant,
13985
13985
  variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
13986
- nativeProps = _objectWithoutProperties(_ref, _excluded$v);
13986
+ nativeProps = _objectWithoutProperties(_ref, _excluded$x);
13987
13987
  return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
13988
13988
  themeIntent: intent,
13989
13989
  themeVariant: variant
@@ -14249,7 +14249,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14249
14249
  });
14250
14250
  CardCarousel.displayName = 'CardCarousel';
14251
14251
 
14252
- var _excluded$u = ["rounded", "size", "testID", "style"];
14252
+ var _excluded$w = ["rounded", "size", "testID", "style"];
14253
14253
  var Image = function Image(_ref) {
14254
14254
  var _ref$rounded = _ref.rounded,
14255
14255
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -14257,7 +14257,7 @@ var Image = function Image(_ref) {
14257
14257
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
14258
14258
  testID = _ref.testID,
14259
14259
  style = _ref.style,
14260
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$u);
14260
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$w);
14261
14261
  useDeprecation('Image component will soon be deprecated. Please use `Image` from `react-native` instead.');
14262
14262
  var theme = useTheme();
14263
14263
  var imageSize = theme.__hd__.image.sizes[size];
@@ -14392,7 +14392,7 @@ var CarouselItem = function CarouselItem(_ref) {
14392
14392
  }, heading), !!body && /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, body)));
14393
14393
  };
14394
14394
 
14395
- var _excluded$t = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
14395
+ var _excluded$v = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
14396
14396
  function useStateFromProp(initialValue) {
14397
14397
  var _useState = React.useState(initialValue),
14398
14398
  _useState2 = _slicedToArray(_useState, 2),
@@ -14419,7 +14419,7 @@ var Carousel = function Carousel(_ref) {
14419
14419
  testID = _ref.testID,
14420
14420
  _ref$pageControlPosit = _ref.pageControlPosition,
14421
14421
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
14422
- nativeProps = _objectWithoutProperties(_ref, _excluded$t);
14422
+ nativeProps = _objectWithoutProperties(_ref, _excluded$v);
14423
14423
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
14424
14424
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
14425
14425
  var theme = useTheme();
@@ -19690,7 +19690,7 @@ var StyledChipIcon = index$b(Icon)(function (_ref2) {
19690
19690
  };
19691
19691
  });
19692
19692
 
19693
- var _excluded$s = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
19693
+ var _excluded$u = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
19694
19694
  var getChipLabel = function getChipLabel(label) {
19695
19695
  if (typeof label === 'string') {
19696
19696
  return /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
@@ -19723,7 +19723,7 @@ var Chip = function Chip(_ref) {
19723
19723
  onPress = _ref.onPress,
19724
19724
  _ref$showSelectedIcon = _ref.showSelectedIcon,
19725
19725
  showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
19726
- otherProps = _objectWithoutProperties(_ref, _excluded$s);
19726
+ otherProps = _objectWithoutProperties(_ref, _excluded$u);
19727
19727
  useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
19728
19728
  var renamedVariant = getChipVariant(variant);
19729
19729
  var shouldShowSelectedIcon = (renamedVariant === 'selection' || renamedVariant === 'compact-outlined') && selected && showSelectedIcon;
@@ -19973,7 +19973,7 @@ var StyledErrorAndMaxLengthContainer = index$b(reactNative.View)(function () {
19973
19973
  };
19974
19974
  });
19975
19975
 
19976
- var _excluded$r = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
19976
+ var _excluded$t = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
19977
19977
  var getState$3 = function getState(_ref) {
19978
19978
  var disabled = _ref.disabled,
19979
19979
  error = _ref.error,
@@ -20087,7 +20087,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
20087
20087
  allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
20088
20088
  _ref8$variant = _ref8.variant,
20089
20089
  variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
20090
- nativeProps = _objectWithoutProperties(_ref8, _excluded$r);
20090
+ nativeProps = _objectWithoutProperties(_ref8, _excluded$t);
20091
20091
  var displayText = getDisplayText(value, defaultValue);
20092
20092
  var isEmptyValue = displayText.length === 0;
20093
20093
  var _React$useState = React__namespace.default.useState({
@@ -20663,7 +20663,8 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
20663
20663
  var StyledPickerWrapper$1 = index$b(reactNative.View)(function (_ref) {
20664
20664
  var theme = _ref.theme;
20665
20665
  return {
20666
- height: theme.__hd__.datePicker.sizes.height
20666
+ height: theme.__hd__.datePicker.sizes.height,
20667
+ alignItems: 'center'
20667
20668
  };
20668
20669
  });
20669
20670
 
@@ -20820,11 +20821,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
20820
20821
  }));
20821
20822
  };
20822
20823
 
20823
- var _excluded$q = ["variant"];
20824
+ var _excluded$s = ["variant"];
20824
20825
  var DatePicker = function DatePicker(_ref) {
20825
20826
  var _ref$variant = _ref.variant,
20826
20827
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
20827
- props = _objectWithoutProperties(_ref, _excluded$q);
20828
+ props = _objectWithoutProperties(_ref, _excluded$s);
20828
20829
  if (variant === 'calendar') {
20829
20830
  return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, props);
20830
20831
  }
@@ -22108,7 +22109,7 @@ var Portal$1 = Object.assign(Portal, {
22108
22109
  Host: PortalHost
22109
22110
  });
22110
22111
 
22111
- var _excluded$p = ["visible"];
22112
+ var _excluded$r = ["visible"];
22112
22113
  var DEFAULT_BACKDROP_OPACITY = 0.4;
22113
22114
  var DEFAULT_ANIMATION_CONFIG = {
22114
22115
  easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
@@ -22204,7 +22205,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
22204
22205
  var ModalWrapper = function ModalWrapper(_ref3) {
22205
22206
  var _ref3$visible = _ref3.visible,
22206
22207
  visible = _ref3$visible === void 0 ? true : _ref3$visible,
22207
- props = _objectWithoutProperties(_ref3, _excluded$p);
22208
+ props = _objectWithoutProperties(_ref3, _excluded$r);
22208
22209
  var modalRef = React.useRef(null);
22209
22210
  var _useState = React.useState(visible),
22210
22211
  _useState2 = _slicedToArray(_useState, 2),
@@ -22315,7 +22316,7 @@ var StyledErrorDescription = index$b(Typography.Body)(function (_ref9) {
22315
22316
  };
22316
22317
  });
22317
22318
 
22318
- var _excluded$o = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
22319
+ var _excluded$q = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
22319
22320
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
22320
22321
  var renderImage$1 = function renderImage(image) {
22321
22322
  if (/*#__PURE__*/React.isValidElement(image)) {
@@ -22356,7 +22357,7 @@ var ErrorPage = function ErrorPage(_ref2) {
22356
22357
  secondaryCtaText = _ref2.secondaryCtaText,
22357
22358
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
22358
22359
  icon = _ref2.icon,
22359
- nativeProps = _objectWithoutProperties(_ref2, _excluded$o);
22360
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$q);
22360
22361
  var showCta = ctaText && onCtaPress !== undefined;
22361
22362
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
22362
22363
  var showButtonContainer = showCta || showSecondaryCta;
@@ -22582,13 +22583,13 @@ var ActionItem = function ActionItem(_ref) {
22582
22583
  })), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
22583
22584
  };
22584
22585
 
22585
- var _excluded$n = ["active"];
22586
+ var _excluded$p = ["active"];
22586
22587
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
22587
22588
  return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
22588
22589
  }));
22589
22590
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
22590
22591
  var active = _ref.active,
22591
- iconProps = _objectWithoutProperties(_ref, _excluded$n);
22592
+ iconProps = _objectWithoutProperties(_ref, _excluded$p);
22592
22593
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
22593
22594
  React.useEffect(function () {
22594
22595
  var animation = reactNative.Animated.spring(rotateAnimation.current, {
@@ -22953,11 +22954,11 @@ var StyledFAB = index$b(FAB$1)(function (_ref) {
22953
22954
  };
22954
22955
  });
22955
22956
 
22956
- var _excluded$m = ["fabConfig", "onCancel"];
22957
+ var _excluded$o = ["fabConfig", "onCancel"];
22957
22958
  var Pair = function Pair(_ref) {
22958
22959
  var fabConfig = _ref.fabConfig,
22959
22960
  onCancel = _ref.onCancel,
22960
- props = _objectWithoutProperties(_ref, _excluded$m);
22961
+ props = _objectWithoutProperties(_ref, _excluded$o);
22961
22962
  var icon = fabConfig.icon,
22962
22963
  title = fabConfig.title,
22963
22964
  onPress = fabConfig.onPress,
@@ -23687,11 +23688,11 @@ var StyledFocusIcon = index$b(Icon)(function (_ref7) {
23687
23688
  };
23688
23689
  });
23689
23690
 
23690
- var _excluded$l = ["style", "testID"];
23691
+ var _excluded$n = ["style", "testID"];
23691
23692
  var MapPinFocussed = function MapPinFocussed(_ref) {
23692
23693
  var style = _ref.style,
23693
23694
  testID = _ref.testID,
23694
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
23695
+ nativeProps = _objectWithoutProperties(_ref, _excluded$n);
23695
23696
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
23696
23697
  style: style,
23697
23698
  testID: testID
@@ -23701,7 +23702,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
23701
23702
  }));
23702
23703
  };
23703
23704
 
23704
- var _excluded$k = ["style", "testID", "state", "image", "icon"];
23705
+ var _excluded$m = ["style", "testID", "state", "image", "icon"];
23705
23706
  var getBadgeIconName = function getBadgeIconName(state) {
23706
23707
  var iconMap = {
23707
23708
  idle: undefined,
@@ -23717,7 +23718,7 @@ var MapPin = function MapPin(_ref) {
23717
23718
  state = _ref$state === void 0 ? 'idle' : _ref$state,
23718
23719
  image = _ref.image,
23719
23720
  icon = _ref.icon,
23720
- nativeProps = _objectWithoutProperties(_ref, _excluded$k);
23721
+ nativeProps = _objectWithoutProperties(_ref, _excluded$m);
23721
23722
  var badgeIcon = getBadgeIconName(state);
23722
23723
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
23723
23724
  style: style,
@@ -23746,7 +23747,7 @@ var StyledWrapper$6 = index$b(reactNative.View)(function () {
23746
23747
  alignContent: 'flex-start'
23747
23748
  };
23748
23749
  });
23749
- var StyledPinWrapper = index$b(reactNative.View)(function () {
23750
+ var StyledPinWrapper = index$b(reactNative.Pressable)(function () {
23750
23751
  return {
23751
23752
  flexDirection: 'row'
23752
23753
  };
@@ -23845,7 +23846,11 @@ function PinCell(_ref) {
23845
23846
  state = _ref$state === void 0 ? 'default' : _ref$state;
23846
23847
  return /*#__PURE__*/React__namespace.default.createElement(StyledCell, {
23847
23848
  themeFocused: focused,
23848
- themeState: state
23849
+ themeState: state,
23850
+ accessibilityState: {
23851
+ selected: focused
23852
+ },
23853
+ testID: "pin-cell"
23849
23854
  }, value === '' && /*#__PURE__*/React__namespace.default.createElement(StyledMask, {
23850
23855
  themeState: state,
23851
23856
  testID: "pin-cell-mask"
@@ -23953,7 +23958,11 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
23953
23958
  return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$6, {
23954
23959
  style: style,
23955
23960
  testID: testID
23956
- }, /*#__PURE__*/React__namespace.default.createElement(StyledPinWrapper, null, _toConsumableArray(Array(length).keys()).map(function (index) {
23961
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledPinWrapper, {
23962
+ onPress: focus,
23963
+ disabled: disabled,
23964
+ testID: "pin-wrapper"
23965
+ }, _toConsumableArray(Array(length).keys()).map(function (index) {
23957
23966
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
23958
23967
  key: index
23959
23968
  }, index !== 0 && /*#__PURE__*/React__namespace.default.createElement(StyledSpacer, null), /*#__PURE__*/React__namespace.default.createElement(PinCell, {
@@ -23977,7 +23986,7 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
23977
23986
  autoFocus: autoFocus,
23978
23987
  onFocus: focus,
23979
23988
  onBlur: blur,
23980
- pointerEvents: "box-none",
23989
+ pointerEvents: "none",
23981
23990
  keyboardType: "numeric",
23982
23991
  testID: "pin-hidden-input",
23983
23992
  textContentType: textContentType,
@@ -24025,7 +24034,7 @@ var THEME_INTENT_MAP = {
24025
24034
  'archived-inverted': 'archivedInverted'
24026
24035
  };
24027
24036
 
24028
- var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
24037
+ var _excluded$l = ["value", "renderValue", "intent", "style", "testID"];
24029
24038
  var defaultRenderValue = function defaultRenderValue(value) {
24030
24039
  return "".concat(value, "%");
24031
24040
  };
@@ -24038,7 +24047,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
24038
24047
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
24039
24048
  style = _ref.style,
24040
24049
  testID = _ref.testID,
24041
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
24050
+ nativeProps = _objectWithoutProperties(_ref, _excluded$l);
24042
24051
  var theme = useTheme$1();
24043
24052
  var size = theme.__hd__.progress.sizes.circleDiameter;
24044
24053
  var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
@@ -24108,14 +24117,14 @@ var StyledInner = index$b(reactNative.Animated.View)(function (_ref2) {
24108
24117
  };
24109
24118
  });
24110
24119
 
24111
- var _excluded$i = ["value", "intent", "style", "testID"];
24120
+ var _excluded$k = ["value", "intent", "style", "testID"];
24112
24121
  var ProgressBar = function ProgressBar(_ref) {
24113
24122
  var value = _ref.value,
24114
24123
  _ref$intent = _ref.intent,
24115
24124
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
24116
24125
  style = _ref.style,
24117
24126
  testID = _ref.testID,
24118
- nativeProps = _objectWithoutProperties(_ref, _excluded$i);
24127
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
24119
24128
  var _useState = React.useState(0),
24120
24129
  _useState2 = _slicedToArray(_useState, 2),
24121
24130
  width = _useState2[0],
@@ -24205,7 +24214,7 @@ var StyledSingleStep = index$b(Box)(function (_ref3) {
24205
24214
  };
24206
24215
  });
24207
24216
 
24208
- var _excluded$h = ["steps", "current", "onLayout"];
24217
+ var _excluded$j = ["steps", "current", "onLayout"];
24209
24218
  var getStepState = function getStepState(current, index) {
24210
24219
  if (index < current) {
24211
24220
  return 'complete';
@@ -24219,7 +24228,7 @@ var ProgressStep = function ProgressStep(_ref) {
24219
24228
  var steps = _ref.steps,
24220
24229
  current = _ref.current,
24221
24230
  onLayout = _ref.onLayout,
24222
- props = _objectWithoutProperties(_ref, _excluded$h);
24231
+ props = _objectWithoutProperties(_ref, _excluded$j);
24223
24232
  var theme = useTheme$1();
24224
24233
  var _React$useState = React__namespace.default.useState(0),
24225
24234
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -24528,14 +24537,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
24528
24537
  }, dotProps))));
24529
24538
  };
24530
24539
 
24531
- var _excluded$g = ["testID", "size", "intent"];
24540
+ var _excluded$i = ["testID", "size", "intent"];
24532
24541
  var Spinner = function Spinner(_ref) {
24533
24542
  var testID = _ref.testID,
24534
24543
  _ref$size = _ref.size,
24535
24544
  size = _ref$size === void 0 ? 'medium' : _ref$size,
24536
24545
  _ref$intent = _ref.intent,
24537
24546
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
24538
- nativeProps = _objectWithoutProperties(_ref, _excluded$g);
24547
+ nativeProps = _objectWithoutProperties(_ref, _excluded$i);
24539
24548
  return /*#__PURE__*/React__namespace.default.createElement(StyledView$1, nativeProps, /*#__PURE__*/React__namespace.default.createElement(StyledSpinnerContainer, {
24540
24549
  testID: testID
24541
24550
  }, /*#__PURE__*/React__namespace.default.createElement(AnimatedSpinner, {
@@ -24568,7 +24577,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
24568
24577
  }, children);
24569
24578
  };
24570
24579
 
24571
- var _excluded$f = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
24580
+ var _excluded$h = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
24572
24581
  var renderActions = function renderActions(actions, width, progress, direction) {
24573
24582
  var trans = progress.interpolate({
24574
24583
  inputRange: [0, 1],
@@ -24597,7 +24606,7 @@ var Swipeable = function Swipeable(_ref) {
24597
24606
  rightActionsWidth = _ref.rightActionsWidth,
24598
24607
  _ref$variant = _ref.variant,
24599
24608
  variant = _ref$variant === void 0 ? 'card' : _ref$variant,
24600
- swipeableProps = _objectWithoutProperties(_ref, _excluded$f);
24609
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$h);
24601
24610
  var theme = useTheme();
24602
24611
  var _useWindowDimensions = reactNative.useWindowDimensions(),
24603
24612
  width = _useWindowDimensions.width;
@@ -24924,7 +24933,7 @@ var StyledSectionList = index$b(reactNative.SectionList)(function (_ref4) {
24924
24933
  };
24925
24934
  });
24926
24935
 
24927
- var _excluded$e = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
24936
+ var _excluded$g = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
24928
24937
  var BaseOptionList = function BaseOptionList(_ref) {
24929
24938
  var keyExtractor = _ref.keyExtractor,
24930
24939
  loading = _ref.loading,
@@ -24933,7 +24942,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
24933
24942
  sections = _ref.sections,
24934
24943
  renderItem = _ref.renderItem,
24935
24944
  sectionListRef = _ref.sectionListRef,
24936
- rest = _objectWithoutProperties(_ref, _excluded$e);
24945
+ rest = _objectWithoutProperties(_ref, _excluded$g);
24937
24946
  var theme = useTheme$1();
24938
24947
  var _useState = React.useState(false),
24939
24948
  _useState2 = _slicedToArray(_useState, 2),
@@ -25015,7 +25024,7 @@ var isOptionSelected = function isOptionSelected(value, option) {
25015
25024
  });
25016
25025
  };
25017
25026
 
25018
- var _excluded$d = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
25027
+ var _excluded$f = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
25019
25028
  var OptionList$1 = function OptionList(_ref) {
25020
25029
  var keyExtractor = _ref.keyExtractor,
25021
25030
  loading = _ref.loading,
@@ -25026,7 +25035,7 @@ var OptionList$1 = function OptionList(_ref) {
25026
25035
  renderOption = _ref.renderOption,
25027
25036
  value = _ref.value,
25028
25037
  sectionListRef = _ref.sectionListRef,
25029
- rest = _objectWithoutProperties(_ref, _excluded$d);
25038
+ rest = _objectWithoutProperties(_ref, _excluded$f);
25030
25039
  var renderItem = function renderItem(info) {
25031
25040
  var item = info.item;
25032
25041
  var selected = isOptionSelected(value, item);
@@ -25061,6 +25070,7 @@ var OptionList$1 = function OptionList(_ref) {
25061
25070
  }, rest));
25062
25071
  };
25063
25072
 
25073
+ var _excluded$e = ["footerLabel", "label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig"];
25064
25074
  function MultiSelect(_ref) {
25065
25075
  var footerLabel = _ref.footerLabel,
25066
25076
  label = _ref.label,
@@ -25087,7 +25097,8 @@ function MultiSelect(_ref) {
25087
25097
  _ref$supportedOrienta = _ref.supportedOrientations,
25088
25098
  supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
25089
25099
  _ref$bottomSheetConfi = _ref.bottomSheetConfig,
25090
- bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi;
25100
+ bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
25101
+ rest = _objectWithoutProperties(_ref, _excluded$e);
25091
25102
  var _useKeyboard = useKeyboard(),
25092
25103
  isKeyboardVisible = _useKeyboard.isKeyboardVisible,
25093
25104
  keyboardHeight = _useKeyboard.keyboardHeight;
@@ -25110,6 +25121,7 @@ function MultiSelect(_ref) {
25110
25121
  var rawValue = value.length > 0 ? value.join(', ') : '';
25111
25122
  var bottomSheetVariant = bottomSheetConfig.variant,
25112
25123
  bottomSheetHeader = bottomSheetConfig.header;
25124
+ var TextInputComponent = rest.TextInputComponent || TextInput;
25113
25125
  React.useEffect(function () {
25114
25126
  setSelectingValue(value);
25115
25127
  }, [open, value]);
@@ -25121,7 +25133,7 @@ function MultiSelect(_ref) {
25121
25133
  }
25122
25134
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
25123
25135
  pointerEvents: "none"
25124
- }, /*#__PURE__*/React__namespace.default.createElement(TextInput, _extends$1({}, inputProps, {
25136
+ }, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, _extends$1({}, inputProps, {
25125
25137
  label: label,
25126
25138
  value: renderSelectedValue ? rawValue : displayedValue,
25127
25139
  suffix: "arrow-down",
@@ -25171,7 +25183,7 @@ function MultiSelect(_ref) {
25171
25183
  }
25172
25184
  },
25173
25185
  supportedOrientations: supportedOrientations
25174
- }, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInput, {
25186
+ }, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, {
25175
25187
  editable: true,
25176
25188
  placeholder: "Search",
25177
25189
  suffix: "search-outlined",
@@ -25222,7 +25234,7 @@ var StyledOptionList = index$b(BaseOptionList)(function (_ref) {
25222
25234
  };
25223
25235
  });
25224
25236
 
25225
- var _excluded$c = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
25237
+ var _excluded$d = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
25226
25238
  var OptionList = function OptionList(_ref) {
25227
25239
  var keyExtractor = _ref.keyExtractor,
25228
25240
  loading = _ref.loading,
@@ -25233,7 +25245,7 @@ var OptionList = function OptionList(_ref) {
25233
25245
  renderOption = _ref.renderOption,
25234
25246
  value = _ref.value,
25235
25247
  sectionListRef = _ref.sectionListRef,
25236
- rest = _objectWithoutProperties(_ref, _excluded$c);
25248
+ rest = _objectWithoutProperties(_ref, _excluded$d);
25237
25249
  var renderItem = function renderItem(info) {
25238
25250
  var item = info.item;
25239
25251
  var selected = _deepCompareValue(item.value, value);
@@ -25269,6 +25281,7 @@ var OptionList = function OptionList(_ref) {
25269
25281
  }, rest));
25270
25282
  };
25271
25283
 
25284
+ var _excluded$c = ["label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig"];
25272
25285
  var SingleSelect = function SingleSelect(_ref) {
25273
25286
  var _flatOptions$find;
25274
25287
  var label = _ref.label,
@@ -25295,7 +25308,8 @@ var SingleSelect = function SingleSelect(_ref) {
25295
25308
  _ref$supportedOrienta = _ref.supportedOrientations,
25296
25309
  supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
25297
25310
  _ref$bottomSheetConfi = _ref.bottomSheetConfig,
25298
- bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi;
25311
+ bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
25312
+ rest = _objectWithoutProperties(_ref, _excluded$c);
25299
25313
  var _useKeyboard = useKeyboard(),
25300
25314
  isKeyboardVisible = _useKeyboard.isKeyboardVisible,
25301
25315
  keyboardHeight = _useKeyboard.keyboardHeight;
@@ -25312,6 +25326,7 @@ var SingleSelect = function SingleSelect(_ref) {
25312
25326
  var rawValue = value ? String(value) : undefined;
25313
25327
  var bottomSheetVariant = bottomSheetConfig.variant,
25314
25328
  bottomSheetHeader = bottomSheetConfig.header;
25329
+ var TextInputComponent = rest.TextInputComponent || TextInput;
25315
25330
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
25316
25331
  pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
25317
25332
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
@@ -25320,7 +25335,7 @@ var SingleSelect = function SingleSelect(_ref) {
25320
25335
  }
25321
25336
  }, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
25322
25337
  pointerEvents: "none"
25323
- }, /*#__PURE__*/React__namespace.default.createElement(TextInput, _extends$1({}, inputProps, {
25338
+ }, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, _extends$1({}, inputProps, {
25324
25339
  label: label,
25325
25340
  value: renderSelectedValue ? rawValue : displayedValue,
25326
25341
  suffix: "arrow-down",
@@ -25354,7 +25369,7 @@ var SingleSelect = function SingleSelect(_ref) {
25354
25369
  }
25355
25370
  },
25356
25371
  supportedOrientations: supportedOrientations
25357
- }, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInput, {
25372
+ }, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, {
25358
25373
  editable: true,
25359
25374
  placeholder: "Search",
25360
25375
  suffix: "search-outlined",
@@ -26720,7 +26735,8 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
26720
26735
  var StyledPickerWrapper = index$b(reactNative.View)(function (_ref) {
26721
26736
  var theme = _ref.theme;
26722
26737
  return {
26723
- height: theme.__hd__.timePicker.sizes.height
26738
+ height: theme.__hd__.timePicker.sizes.height,
26739
+ alignItems: 'center'
26724
26740
  };
26725
26741
  });
26726
26742