@hero-design/rn 8.103.2-alpha.0 → 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.
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +9 -2
- package/es/index.js +142 -143
- package/eslint.config.js +1 -0
- package/lib/index.js +141 -142
- package/package.json +1 -1
- package/src/components/BottomSheet/StyledBottomSheet.tsx +4 -3
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +153 -170
- package/src/components/BottomSheet/index.tsx +42 -31
- package/src/components/DatePicker/StyledDatePicker.tsx +1 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +358 -390
- package/src/components/PinInput/PinCell.tsx +6 -1
- package/src/components/PinInput/StyledPinInput.tsx +2 -2
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +30 -0
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +287 -5
- package/src/components/PinInput/__tests__/index.spec.tsx +33 -0
- package/src/components/PinInput/index.tsx +6 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +3552 -3616
- package/src/components/Select/MultiSelect/index.tsx +15 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +2469 -2517
- package/src/components/Select/SingleSelect/index.tsx +15 -4
- package/src/components/Select/index.internal.tsx +13 -0
- package/src/components/Select/index.tsx +14 -2
- package/src/components/Select/types.ts +4 -0
- package/src/components/TimePicker/StyledTimePicker.tsx +1 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +178 -194
- package/src/index.internal.ts +5 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +0 -1
- package/src/theme/components/bottomSheet.ts +0 -1
- package/src/types.internal.ts +8 -0
- package/stats/8.103.1/rn-stats.html +1 -3
- package/stats/8.103.2/rn-stats.html +4844 -0
- package/stats/8.103.3/rn-stats.html +4844 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +1 -1
- package/types/components/Checkbox/index.d.ts +1 -1
- package/types/components/PinInput/StyledPinInput.d.ts +2 -4
- package/types/components/Select/MultiSelect/index.d.ts +5 -1
- package/types/components/Select/SingleSelect/index.d.ts +5 -1
- package/types/components/Select/index.d.ts +5 -3
- package/types/components/Select/index.internal.d.ts +8 -0
- package/types/components/Select/types.d.ts +4 -0
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/index.internal.d.ts +4 -0
- package/types/theme/components/bottomSheet.d.ts +0 -1
- package/types/types.internal.d.ts +3 -0
- package/src/components/BottomSheet/ContentContainer.tsx +0 -34
- package/types/components/BottomSheet/ContentContainer.d.ts +0 -10
package/lib/index.js
CHANGED
|
@@ -5705,8 +5705,7 @@ var getBottomSheetTheme = function getBottomSheetTheme(theme) {
|
|
|
5705
5705
|
footerHorizontalPadding: theme.space.smallMedium,
|
|
5706
5706
|
floatingContentMargin: theme.space.medium,
|
|
5707
5707
|
floatingInnerPadding: theme.space.small,
|
|
5708
|
-
floatingHeaderIconPadding: theme.space.small
|
|
5709
|
-
contentPaddingBottom: theme.space.large
|
|
5708
|
+
floatingHeaderIconPadding: theme.space.small
|
|
5710
5709
|
};
|
|
5711
5710
|
var radii = {
|
|
5712
5711
|
"default": theme.radii.xlarge,
|
|
@@ -7662,7 +7661,7 @@ var StyledText$3 = index$b(reactNative.Text)(function (_ref) {
|
|
|
7662
7661
|
});
|
|
7663
7662
|
});
|
|
7664
7663
|
|
|
7665
|
-
var _excluded$
|
|
7664
|
+
var _excluded$O = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
|
|
7666
7665
|
var Text = function Text(_ref) {
|
|
7667
7666
|
var children = _ref.children,
|
|
7668
7667
|
_ref$fontSize = _ref.fontSize,
|
|
@@ -7675,7 +7674,7 @@ var Text = function Text(_ref) {
|
|
|
7675
7674
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7676
7675
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7677
7676
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7678
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7677
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$O);
|
|
7679
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.');
|
|
7680
7679
|
return /*#__PURE__*/React__namespace.default.createElement(StyledText$3, _extends$1({}, nativeProps, {
|
|
7681
7680
|
themeFontSize: fontSize,
|
|
@@ -7705,7 +7704,7 @@ var StyledCaption = index$b(reactNative.Text)(function (_ref) {
|
|
|
7705
7704
|
};
|
|
7706
7705
|
});
|
|
7707
7706
|
|
|
7708
|
-
var _excluded$
|
|
7707
|
+
var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling"];
|
|
7709
7708
|
var Caption = function Caption(_ref) {
|
|
7710
7709
|
var children = _ref.children,
|
|
7711
7710
|
_ref$fontWeight = _ref.fontWeight,
|
|
@@ -7714,7 +7713,7 @@ var Caption = function Caption(_ref) {
|
|
|
7714
7713
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
7715
7714
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7716
7715
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7717
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7716
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$N);
|
|
7718
7717
|
return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
|
|
7719
7718
|
themeFontWeight: fontWeight,
|
|
7720
7719
|
themeIntent: intent,
|
|
@@ -7733,14 +7732,14 @@ var StyledLabel$1 = index$b(reactNative.Text)(function (_ref) {
|
|
|
7733
7732
|
};
|
|
7734
7733
|
});
|
|
7735
7734
|
|
|
7736
|
-
var _excluded$
|
|
7735
|
+
var _excluded$M = ["children", "intent", "allowFontScaling"];
|
|
7737
7736
|
var Label = function Label(_ref) {
|
|
7738
7737
|
var children = _ref.children,
|
|
7739
7738
|
_ref$intent = _ref.intent,
|
|
7740
7739
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
7741
7740
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7742
7741
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7743
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7742
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$M);
|
|
7744
7743
|
return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
|
|
7745
7744
|
themeIntent: intent,
|
|
7746
7745
|
allowFontScaling: allowFontScaling
|
|
@@ -7761,7 +7760,7 @@ var StyledTitle$1 = index$b(reactNative.Text)(function (_ref) {
|
|
|
7761
7760
|
};
|
|
7762
7761
|
});
|
|
7763
7762
|
|
|
7764
|
-
var _excluded$
|
|
7763
|
+
var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface"];
|
|
7765
7764
|
var Title = function Title(_ref) {
|
|
7766
7765
|
var children = _ref.children,
|
|
7767
7766
|
_ref$intent = _ref.intent,
|
|
@@ -7772,7 +7771,7 @@ var Title = function Title(_ref) {
|
|
|
7772
7771
|
level = _ref$level === void 0 ? 'h1' : _ref$level,
|
|
7773
7772
|
_ref$typeface = _ref.typeface,
|
|
7774
7773
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7775
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7774
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$L);
|
|
7776
7775
|
return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
|
|
7777
7776
|
themeLevel: level,
|
|
7778
7777
|
themeTypeface: typeface,
|
|
@@ -7807,7 +7806,7 @@ var StyledBody$2 = index$b(reactNative.Text)(function (_ref) {
|
|
|
7807
7806
|
};
|
|
7808
7807
|
});
|
|
7809
7808
|
|
|
7810
|
-
var _excluded$
|
|
7809
|
+
var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant"];
|
|
7811
7810
|
var Body = function Body(_ref) {
|
|
7812
7811
|
var children = _ref.children,
|
|
7813
7812
|
_ref$intent = _ref.intent,
|
|
@@ -7818,7 +7817,7 @@ var Body = function Body(_ref) {
|
|
|
7818
7817
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7819
7818
|
_ref$variant = _ref.variant,
|
|
7820
7819
|
variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
|
|
7821
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7820
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$K);
|
|
7822
7821
|
return /*#__PURE__*/React__namespace.default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
|
|
7823
7822
|
themeTypeface: typeface,
|
|
7824
7823
|
themeIntent: intent,
|
|
@@ -8419,10 +8418,10 @@ var StyledHeroIcon = index$b(HeroIcon)(function (_ref) {
|
|
|
8419
8418
|
};
|
|
8420
8419
|
});
|
|
8421
8420
|
|
|
8422
|
-
var _excluded$
|
|
8421
|
+
var _excluded$J = ["style"];
|
|
8423
8422
|
var AnimatedIcon = function AnimatedIcon(_ref) {
|
|
8424
8423
|
var style = _ref.style,
|
|
8425
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
8424
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$J);
|
|
8426
8425
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
|
|
8427
8426
|
React.useEffect(function () {
|
|
8428
8427
|
var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
|
|
@@ -8527,7 +8526,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
8527
8526
|
}, content));
|
|
8528
8527
|
};
|
|
8529
8528
|
|
|
8530
|
-
var _excluded$
|
|
8529
|
+
var _excluded$I = ["key"];
|
|
8531
8530
|
var Accordion = function Accordion(_ref) {
|
|
8532
8531
|
var items = _ref.items,
|
|
8533
8532
|
activeItemKey = _ref.activeItemKey,
|
|
@@ -8548,7 +8547,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
8548
8547
|
testID: testID
|
|
8549
8548
|
}, items.map(function (_ref2, index) {
|
|
8550
8549
|
var key = _ref2.key,
|
|
8551
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
8550
|
+
props = _objectWithoutProperties(_ref2, _excluded$I);
|
|
8552
8551
|
var open = _activeItemKey === key;
|
|
8553
8552
|
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
|
|
8554
8553
|
key: key
|
|
@@ -8604,7 +8603,7 @@ var StyledBody$1 = index$b(Typography.Body)(function (_ref5) {
|
|
|
8604
8603
|
color: theme.__hd__.alert.colors.texts[themeIntent]
|
|
8605
8604
|
};
|
|
8606
8605
|
});
|
|
8607
|
-
var ContentContainer$
|
|
8606
|
+
var ContentContainer$1 = index$b(reactNative.View)(function (_ref6) {
|
|
8608
8607
|
var theme = _ref6.theme,
|
|
8609
8608
|
showDivider = _ref6.showDivider;
|
|
8610
8609
|
return {
|
|
@@ -8666,7 +8665,7 @@ var Alert = function Alert(_ref2) {
|
|
|
8666
8665
|
themeIntent: intent,
|
|
8667
8666
|
style: style,
|
|
8668
8667
|
testID: testID
|
|
8669
|
-
}, /*#__PURE__*/React__namespace.default.createElement(ContentContainer$
|
|
8668
|
+
}, /*#__PURE__*/React__namespace.default.createElement(ContentContainer$1, {
|
|
8670
8669
|
showDivider: !!onClose
|
|
8671
8670
|
}, icon !== null ? /*#__PURE__*/React__namespace.default.createElement(AlertIcon, {
|
|
8672
8671
|
icon: icon || getIntentIcon$1(intent),
|
|
@@ -9471,7 +9470,7 @@ var borderWidths = {
|
|
|
9471
9470
|
var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
|
|
9472
9471
|
var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
|
|
9473
9472
|
|
|
9474
|
-
var _excluded$
|
|
9473
|
+
var _excluded$H = ["theme"];
|
|
9475
9474
|
var getThemeValue = function getThemeValue(theme, key, props) {
|
|
9476
9475
|
var propConfig = config[key];
|
|
9477
9476
|
var propValue = props[key];
|
|
@@ -9498,18 +9497,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
9498
9497
|
var configKeys = Object.keys(config);
|
|
9499
9498
|
var StyledBox = index$b(reactNative.View)(function (_ref5) {
|
|
9500
9499
|
var theme = _ref5.theme,
|
|
9501
|
-
otherProps = _objectWithoutProperties(_ref5, _excluded$
|
|
9500
|
+
otherProps = _objectWithoutProperties(_ref5, _excluded$H);
|
|
9502
9501
|
var styleProps = pick(configKeys, otherProps);
|
|
9503
9502
|
var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
|
|
9504
9503
|
return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
|
|
9505
9504
|
});
|
|
9506
9505
|
|
|
9507
|
-
var _excluded$
|
|
9506
|
+
var _excluded$G = ["children", "style", "testID"];
|
|
9508
9507
|
var Box = function Box(_ref) {
|
|
9509
9508
|
var children = _ref.children,
|
|
9510
9509
|
style = _ref.style,
|
|
9511
9510
|
testID = _ref.testID,
|
|
9512
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
9511
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$G);
|
|
9513
9512
|
return /*#__PURE__*/React__namespace.default.createElement(StyledBox, _extends$1({}, otherProps, {
|
|
9514
9513
|
style: style,
|
|
9515
9514
|
testID: testID
|
|
@@ -9776,7 +9775,7 @@ var StyledIcon$4 = index$b(Icon)(function (_ref6) {
|
|
|
9776
9775
|
};
|
|
9777
9776
|
});
|
|
9778
9777
|
|
|
9779
|
-
var _excluded$
|
|
9778
|
+
var _excluded$F = ["children", "visible", "intent", "style", "testID"];
|
|
9780
9779
|
var Status$1 = function Status(_ref) {
|
|
9781
9780
|
var children = _ref.children,
|
|
9782
9781
|
_ref$visible = _ref.visible,
|
|
@@ -9785,7 +9784,7 @@ var Status$1 = function Status(_ref) {
|
|
|
9785
9784
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
9786
9785
|
style = _ref.style,
|
|
9787
9786
|
testID = _ref.testID,
|
|
9788
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9787
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$F);
|
|
9789
9788
|
var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
|
|
9790
9789
|
opacity = _React$useRef.current;
|
|
9791
9790
|
var isFirstRendering = React__namespace.default.useRef(true);
|
|
@@ -9821,7 +9820,7 @@ var Status$1 = function Status(_ref) {
|
|
|
9821
9820
|
|
|
9822
9821
|
var DEFAULT_MAX_NUMBER = 99;
|
|
9823
9822
|
|
|
9824
|
-
var _excluded$
|
|
9823
|
+
var _excluded$E = ["children", "visible", "style", "max", "testID", "content"];
|
|
9825
9824
|
var Status = function Status(_ref) {
|
|
9826
9825
|
var children = _ref.children,
|
|
9827
9826
|
_ref$visible = _ref.visible,
|
|
@@ -9831,7 +9830,7 @@ var Status = function Status(_ref) {
|
|
|
9831
9830
|
max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
|
|
9832
9831
|
testID = _ref.testID,
|
|
9833
9832
|
originalContent = _ref.content,
|
|
9834
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9833
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$E);
|
|
9835
9834
|
var content = React.useMemo(function () {
|
|
9836
9835
|
return originalContent > max ? "".concat(max, "+") : String(originalContent);
|
|
9837
9836
|
}, [originalContent, max]);
|
|
@@ -9843,7 +9842,7 @@ var Status = function Status(_ref) {
|
|
|
9843
9842
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledCountText, null, content)));
|
|
9844
9843
|
};
|
|
9845
9844
|
|
|
9846
|
-
var _excluded$
|
|
9845
|
+
var _excluded$D = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
|
|
9847
9846
|
var getPaddingState = function getPaddingState(content) {
|
|
9848
9847
|
return content.length > 1 ? 'wideContent' : 'narrowContent';
|
|
9849
9848
|
};
|
|
@@ -9862,7 +9861,7 @@ var Badge = function Badge(_ref) {
|
|
|
9862
9861
|
_ref$variant = _ref.variant,
|
|
9863
9862
|
variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
|
|
9864
9863
|
icon = _ref.icon,
|
|
9865
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9864
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$D);
|
|
9866
9865
|
var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
|
|
9867
9866
|
opacity = _React$useRef.current;
|
|
9868
9867
|
var isFirstRendering = React__namespace.default.useRef(true);
|
|
@@ -9961,7 +9960,7 @@ var StyledBottomBarText = index$b(Typography.Caption)(function (_ref3) {
|
|
|
9961
9960
|
};
|
|
9962
9961
|
});
|
|
9963
9962
|
|
|
9964
|
-
var _excluded$
|
|
9963
|
+
var _excluded$C = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
|
|
9965
9964
|
var getInactiveIcon = function getInactiveIcon(icon) {
|
|
9966
9965
|
var inactiveIcon = "".concat(icon, "-outlined");
|
|
9967
9966
|
return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
|
|
@@ -9972,7 +9971,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
9972
9971
|
renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
|
|
9973
9972
|
selectedTabKey = _ref.selectedTabKey,
|
|
9974
9973
|
tabs = _ref.tabs,
|
|
9975
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9974
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$C);
|
|
9976
9975
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
9977
9976
|
/**
|
|
9978
9977
|
* List of loaded tabs, tabs will be loaded when navigated to.
|
|
@@ -10041,6 +10040,38 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
10041
10040
|
|
|
10042
10041
|
var BottomSheetContext = /*#__PURE__*/React.createContext({});
|
|
10043
10042
|
|
|
10043
|
+
var StyledDivider = index$b(reactNative.View)(function (_ref) {
|
|
10044
|
+
var themeMarginHorizontal = _ref.themeMarginHorizontal,
|
|
10045
|
+
themeMarginVertical = _ref.themeMarginVertical,
|
|
10046
|
+
theme = _ref.theme;
|
|
10047
|
+
var horizontalMargin = themeMarginHorizontal !== undefined ? {
|
|
10048
|
+
marginHorizontal: theme.__hd__.divider.space[themeMarginHorizontal]
|
|
10049
|
+
} : {};
|
|
10050
|
+
var verticalMargin = themeMarginVertical !== undefined ? {
|
|
10051
|
+
marginVertical: theme.__hd__.divider.space[themeMarginVertical]
|
|
10052
|
+
} : {};
|
|
10053
|
+
return _objectSpread2(_objectSpread2({
|
|
10054
|
+
maxWidth: '100%',
|
|
10055
|
+
borderBottomColor: theme.__hd__.divider.colors["default"],
|
|
10056
|
+
borderBottomWidth: theme.__hd__.divider.borderWidths["default"]
|
|
10057
|
+
}, horizontalMargin), verticalMargin);
|
|
10058
|
+
});
|
|
10059
|
+
|
|
10060
|
+
var _excluded$B = ["marginHorizontal", "marginVertical", "style", "testID"];
|
|
10061
|
+
var Divider = function Divider(_ref) {
|
|
10062
|
+
var marginHorizontal = _ref.marginHorizontal,
|
|
10063
|
+
marginVertical = _ref.marginVertical,
|
|
10064
|
+
style = _ref.style,
|
|
10065
|
+
testID = _ref.testID,
|
|
10066
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$B);
|
|
10067
|
+
return /*#__PURE__*/React__namespace.default.createElement(StyledDivider, _extends$1({}, nativeProps, {
|
|
10068
|
+
themeMarginHorizontal: marginHorizontal,
|
|
10069
|
+
themeMarginVertical: marginVertical,
|
|
10070
|
+
style: style,
|
|
10071
|
+
testID: testID
|
|
10072
|
+
}));
|
|
10073
|
+
};
|
|
10074
|
+
|
|
10044
10075
|
var AnimatedPressable$1 = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
|
|
10045
10076
|
var AnimatedSafeAreaView = reactNative.Animated.createAnimatedComponent(reactNative.SafeAreaView);
|
|
10046
10077
|
var StyledWrapper$a = index$b(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
@@ -10068,15 +10099,14 @@ var StyledFloatingBottomSheet = index$b(reactNative.Animated.View)(function (_re
|
|
|
10068
10099
|
padding: theme.__hd__.bottomSheet.space.floatingInnerPadding
|
|
10069
10100
|
};
|
|
10070
10101
|
});
|
|
10071
|
-
var StyledBottomSheet = index$b(
|
|
10102
|
+
var StyledBottomSheet = index$b(AnimatedSafeAreaView)(function (_ref3) {
|
|
10072
10103
|
var theme = _ref3.theme;
|
|
10073
10104
|
return {
|
|
10074
10105
|
borderTopLeftRadius: theme.__hd__.bottomSheet.radii["default"],
|
|
10075
10106
|
borderTopRightRadius: theme.__hd__.bottomSheet.radii["default"],
|
|
10076
10107
|
backgroundColor: theme.__hd__.bottomSheet.colors.background,
|
|
10077
10108
|
width: '100%',
|
|
10078
|
-
maxHeight: '
|
|
10079
|
-
paddingBottom: theme.__hd__.bottomSheet.space.contentPaddingBottom
|
|
10109
|
+
maxHeight: '94%'
|
|
10080
10110
|
};
|
|
10081
10111
|
});
|
|
10082
10112
|
var StyledBackdrop$2 = index$b(AnimatedPressable$1)(function (_ref4) {
|
|
@@ -10127,54 +10157,6 @@ var StyledFloatingHeaderWrapper = index$b(reactNative.TouchableOpacity)(function
|
|
|
10127
10157
|
};
|
|
10128
10158
|
});
|
|
10129
10159
|
|
|
10130
|
-
var ContentContainer$1 = function ContentContainer(_ref) {
|
|
10131
|
-
var children = _ref.children,
|
|
10132
|
-
variant = _ref.variant,
|
|
10133
|
-
style = _ref.style;
|
|
10134
|
-
return variant === 'fixed' ? /*#__PURE__*/React__namespace.default.createElement(reactNativeSafeAreaContext.SafeAreaView, {
|
|
10135
|
-
edges: ['left', 'right', 'top'],
|
|
10136
|
-
style: {
|
|
10137
|
-
maxHeight: '94%'
|
|
10138
|
-
}
|
|
10139
|
-
}, /*#__PURE__*/React__namespace.default.createElement(StyledBottomSheet, {
|
|
10140
|
-
style: style
|
|
10141
|
-
}, children)) : /*#__PURE__*/React__namespace.default.createElement(StyledFloatingWrapper, null, /*#__PURE__*/React__namespace.default.createElement(StyledFloatingBottomSheet, {
|
|
10142
|
-
style: style
|
|
10143
|
-
}, children));
|
|
10144
|
-
};
|
|
10145
|
-
|
|
10146
|
-
var StyledDivider = index$b(reactNative.View)(function (_ref) {
|
|
10147
|
-
var themeMarginHorizontal = _ref.themeMarginHorizontal,
|
|
10148
|
-
themeMarginVertical = _ref.themeMarginVertical,
|
|
10149
|
-
theme = _ref.theme;
|
|
10150
|
-
var horizontalMargin = themeMarginHorizontal !== undefined ? {
|
|
10151
|
-
marginHorizontal: theme.__hd__.divider.space[themeMarginHorizontal]
|
|
10152
|
-
} : {};
|
|
10153
|
-
var verticalMargin = themeMarginVertical !== undefined ? {
|
|
10154
|
-
marginVertical: theme.__hd__.divider.space[themeMarginVertical]
|
|
10155
|
-
} : {};
|
|
10156
|
-
return _objectSpread2(_objectSpread2({
|
|
10157
|
-
maxWidth: '100%',
|
|
10158
|
-
borderBottomColor: theme.__hd__.divider.colors["default"],
|
|
10159
|
-
borderBottomWidth: theme.__hd__.divider.borderWidths["default"]
|
|
10160
|
-
}, horizontalMargin), verticalMargin);
|
|
10161
|
-
});
|
|
10162
|
-
|
|
10163
|
-
var _excluded$z = ["marginHorizontal", "marginVertical", "style", "testID"];
|
|
10164
|
-
var Divider = function Divider(_ref) {
|
|
10165
|
-
var marginHorizontal = _ref.marginHorizontal,
|
|
10166
|
-
marginVertical = _ref.marginVertical,
|
|
10167
|
-
style = _ref.style,
|
|
10168
|
-
testID = _ref.testID,
|
|
10169
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$z);
|
|
10170
|
-
return /*#__PURE__*/React__namespace.default.createElement(StyledDivider, _extends$1({}, nativeProps, {
|
|
10171
|
-
themeMarginHorizontal: marginHorizontal,
|
|
10172
|
-
themeMarginVertical: marginVertical,
|
|
10173
|
-
style: style,
|
|
10174
|
-
testID: testID
|
|
10175
|
-
}));
|
|
10176
|
-
};
|
|
10177
|
-
|
|
10178
10160
|
var Footer$1 = function Footer(_ref) {
|
|
10179
10161
|
var children = _ref.children,
|
|
10180
10162
|
showDivider = _ref.showDivider;
|
|
@@ -10230,7 +10212,7 @@ var StyledLoadingDot = index$b(reactNative.View)(function (_ref) {
|
|
|
10230
10212
|
}, themeStyling());
|
|
10231
10213
|
});
|
|
10232
10214
|
|
|
10233
|
-
var _excluded$
|
|
10215
|
+
var _excluded$A = ["count", "size", "testID", "themeVariant"];
|
|
10234
10216
|
var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
|
|
10235
10217
|
var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
|
|
10236
10218
|
var renderDotComponent = function renderDotComponent(_ref) {
|
|
@@ -10262,7 +10244,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
10262
10244
|
size = _ref2$size === void 0 ? 12 : _ref2$size,
|
|
10263
10245
|
testID = _ref2.testID,
|
|
10264
10246
|
themeVariant = _ref2.themeVariant,
|
|
10265
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
10247
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$A);
|
|
10266
10248
|
var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
|
|
10267
10249
|
React.useEffect(function () {
|
|
10268
10250
|
var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
|
|
@@ -10889,11 +10871,11 @@ var Header = function Header(_ref) {
|
|
|
10889
10871
|
}))) : null), showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null);
|
|
10890
10872
|
};
|
|
10891
10873
|
|
|
10892
|
-
var _excluded$
|
|
10874
|
+
var _excluded$z = ["scrollEventThrottle"];
|
|
10893
10875
|
var BottomSheetScrollView = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10894
10876
|
var _ref$scrollEventThrot = _ref.scrollEventThrottle,
|
|
10895
10877
|
scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
|
|
10896
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10878
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
10897
10879
|
var _useContext = React.useContext(BottomSheetContext),
|
|
10898
10880
|
setInternalShowDivider = _useContext.setInternalShowDivider;
|
|
10899
10881
|
var onScrollBeginDrag = React.useCallback(function (e) {
|
|
@@ -11001,6 +10983,8 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
11001
10983
|
setInternalShowDivider: setInternalShowDivider
|
|
11002
10984
|
};
|
|
11003
10985
|
}, [setInternalShowDivider]);
|
|
10986
|
+
var BottomSheetWrapperComponent = variant === 'fixed' ? React__namespace.default.Fragment : StyledFloatingWrapper;
|
|
10987
|
+
var BottomSheetComponent = variant === 'fixed' ? StyledBottomSheet : StyledFloatingBottomSheet;
|
|
11004
10988
|
return /*#__PURE__*/React__namespace.default.createElement(reactNative.Modal, {
|
|
11005
10989
|
visible: visible,
|
|
11006
10990
|
onRequestClose: onRequestClose,
|
|
@@ -11017,8 +11001,7 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
11017
11001
|
opacity: interpolateOpacity
|
|
11018
11002
|
},
|
|
11019
11003
|
onPress: onRequestClose
|
|
11020
|
-
}), /*#__PURE__*/React__namespace.default.createElement(
|
|
11021
|
-
variant: variant,
|
|
11004
|
+
}), /*#__PURE__*/React__namespace.default.createElement(BottomSheetWrapperComponent, null, /*#__PURE__*/React__namespace.default.createElement(BottomSheetComponent, {
|
|
11022
11005
|
style: [style, {
|
|
11023
11006
|
transform: [{
|
|
11024
11007
|
scaleY: height > 0 ? 1 : 0
|
|
@@ -11036,7 +11019,7 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
11036
11019
|
value: BottomSheetContextValue
|
|
11037
11020
|
}, children), footer ? /*#__PURE__*/React__namespace.default.createElement(Footer$1, {
|
|
11038
11021
|
showDivider: showDivider
|
|
11039
|
-
}, footer) : null))));
|
|
11022
|
+
}, footer) : null)))));
|
|
11040
11023
|
};
|
|
11041
11024
|
var BottomSheet$1 = Object.assign(BottomSheet, {
|
|
11042
11025
|
ScrollView: BottomSheetScrollView
|
|
@@ -13970,12 +13953,12 @@ var Indicator = index$b(reactNative.View)(function (_ref2) {
|
|
|
13970
13953
|
};
|
|
13971
13954
|
});
|
|
13972
13955
|
|
|
13973
|
-
var _excluded$
|
|
13956
|
+
var _excluded$y = ["intent", "children"];
|
|
13974
13957
|
var DataCard = function DataCard(_ref) {
|
|
13975
13958
|
var _ref$intent = _ref.intent,
|
|
13976
13959
|
intent = _ref$intent === void 0 ? 'info' : _ref$intent,
|
|
13977
13960
|
children = _ref.children,
|
|
13978
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
13961
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$y);
|
|
13979
13962
|
return /*#__PURE__*/React__namespace.default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__namespace.default.createElement(Indicator, {
|
|
13980
13963
|
themeIntent: intent,
|
|
13981
13964
|
testID: "data-card-indicator"
|
|
@@ -13994,13 +13977,13 @@ var StyledCard$1 = index$b(reactNative.View)(function (_ref) {
|
|
|
13994
13977
|
});
|
|
13995
13978
|
});
|
|
13996
13979
|
|
|
13997
|
-
var _excluded$
|
|
13980
|
+
var _excluded$x = ["intent", "children", "variant"];
|
|
13998
13981
|
var Card = function Card(_ref) {
|
|
13999
13982
|
var intent = _ref.intent,
|
|
14000
13983
|
children = _ref.children,
|
|
14001
13984
|
_ref$variant = _ref.variant,
|
|
14002
13985
|
variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
|
|
14003
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
13986
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$x);
|
|
14004
13987
|
return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
|
|
14005
13988
|
themeIntent: intent,
|
|
14006
13989
|
themeVariant: variant
|
|
@@ -14266,7 +14249,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
14266
14249
|
});
|
|
14267
14250
|
CardCarousel.displayName = 'CardCarousel';
|
|
14268
14251
|
|
|
14269
|
-
var _excluded$
|
|
14252
|
+
var _excluded$w = ["rounded", "size", "testID", "style"];
|
|
14270
14253
|
var Image = function Image(_ref) {
|
|
14271
14254
|
var _ref$rounded = _ref.rounded,
|
|
14272
14255
|
rounded = _ref$rounded === void 0 ? false : _ref$rounded,
|
|
@@ -14274,7 +14257,7 @@ var Image = function Image(_ref) {
|
|
|
14274
14257
|
size = _ref$size === void 0 ? '6xlarge' : _ref$size,
|
|
14275
14258
|
testID = _ref.testID,
|
|
14276
14259
|
style = _ref.style,
|
|
14277
|
-
imageNativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
14260
|
+
imageNativeProps = _objectWithoutProperties(_ref, _excluded$w);
|
|
14278
14261
|
useDeprecation('Image component will soon be deprecated. Please use `Image` from `react-native` instead.');
|
|
14279
14262
|
var theme = useTheme();
|
|
14280
14263
|
var imageSize = theme.__hd__.image.sizes[size];
|
|
@@ -14409,7 +14392,7 @@ var CarouselItem = function CarouselItem(_ref) {
|
|
|
14409
14392
|
}, heading), !!body && /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, body)));
|
|
14410
14393
|
};
|
|
14411
14394
|
|
|
14412
|
-
var _excluded$
|
|
14395
|
+
var _excluded$v = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
|
|
14413
14396
|
function useStateFromProp(initialValue) {
|
|
14414
14397
|
var _useState = React.useState(initialValue),
|
|
14415
14398
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -14436,7 +14419,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
14436
14419
|
testID = _ref.testID,
|
|
14437
14420
|
_ref$pageControlPosit = _ref.pageControlPosition,
|
|
14438
14421
|
pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
|
|
14439
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
14422
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
14440
14423
|
useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
|
|
14441
14424
|
useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
|
|
14442
14425
|
var theme = useTheme();
|
|
@@ -19707,7 +19690,7 @@ var StyledChipIcon = index$b(Icon)(function (_ref2) {
|
|
|
19707
19690
|
};
|
|
19708
19691
|
});
|
|
19709
19692
|
|
|
19710
|
-
var _excluded$
|
|
19693
|
+
var _excluded$u = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
|
|
19711
19694
|
var getChipLabel = function getChipLabel(label) {
|
|
19712
19695
|
if (typeof label === 'string') {
|
|
19713
19696
|
return /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
|
|
@@ -19740,7 +19723,7 @@ var Chip = function Chip(_ref) {
|
|
|
19740
19723
|
onPress = _ref.onPress,
|
|
19741
19724
|
_ref$showSelectedIcon = _ref.showSelectedIcon,
|
|
19742
19725
|
showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
|
|
19743
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
19726
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$u);
|
|
19744
19727
|
useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
|
|
19745
19728
|
var renamedVariant = getChipVariant(variant);
|
|
19746
19729
|
var shouldShowSelectedIcon = (renamedVariant === 'selection' || renamedVariant === 'compact-outlined') && selected && showSelectedIcon;
|
|
@@ -19990,7 +19973,7 @@ var StyledErrorAndMaxLengthContainer = index$b(reactNative.View)(function () {
|
|
|
19990
19973
|
};
|
|
19991
19974
|
});
|
|
19992
19975
|
|
|
19993
|
-
var _excluded$
|
|
19976
|
+
var _excluded$t = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
|
|
19994
19977
|
var getState$3 = function getState(_ref) {
|
|
19995
19978
|
var disabled = _ref.disabled,
|
|
19996
19979
|
error = _ref.error,
|
|
@@ -20104,7 +20087,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
|
|
|
20104
20087
|
allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
|
|
20105
20088
|
_ref8$variant = _ref8.variant,
|
|
20106
20089
|
variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
|
|
20107
|
-
nativeProps = _objectWithoutProperties(_ref8, _excluded$
|
|
20090
|
+
nativeProps = _objectWithoutProperties(_ref8, _excluded$t);
|
|
20108
20091
|
var displayText = getDisplayText(value, defaultValue);
|
|
20109
20092
|
var isEmptyValue = displayText.length === 0;
|
|
20110
20093
|
var _React$useState = React__namespace.default.useState({
|
|
@@ -20680,7 +20663,8 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
|
|
|
20680
20663
|
var StyledPickerWrapper$1 = index$b(reactNative.View)(function (_ref) {
|
|
20681
20664
|
var theme = _ref.theme;
|
|
20682
20665
|
return {
|
|
20683
|
-
height: theme.__hd__.datePicker.sizes.height
|
|
20666
|
+
height: theme.__hd__.datePicker.sizes.height,
|
|
20667
|
+
alignItems: 'center'
|
|
20684
20668
|
};
|
|
20685
20669
|
});
|
|
20686
20670
|
|
|
@@ -20837,11 +20821,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
|
|
|
20837
20821
|
}));
|
|
20838
20822
|
};
|
|
20839
20823
|
|
|
20840
|
-
var _excluded$
|
|
20824
|
+
var _excluded$s = ["variant"];
|
|
20841
20825
|
var DatePicker = function DatePicker(_ref) {
|
|
20842
20826
|
var _ref$variant = _ref.variant,
|
|
20843
20827
|
variant = _ref$variant === void 0 ? 'default' : _ref$variant,
|
|
20844
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20828
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
20845
20829
|
if (variant === 'calendar') {
|
|
20846
20830
|
return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, props);
|
|
20847
20831
|
}
|
|
@@ -22125,7 +22109,7 @@ var Portal$1 = Object.assign(Portal, {
|
|
|
22125
22109
|
Host: PortalHost
|
|
22126
22110
|
});
|
|
22127
22111
|
|
|
22128
|
-
var _excluded$
|
|
22112
|
+
var _excluded$r = ["visible"];
|
|
22129
22113
|
var DEFAULT_BACKDROP_OPACITY = 0.4;
|
|
22130
22114
|
var DEFAULT_ANIMATION_CONFIG = {
|
|
22131
22115
|
easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
|
|
@@ -22221,7 +22205,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
22221
22205
|
var ModalWrapper = function ModalWrapper(_ref3) {
|
|
22222
22206
|
var _ref3$visible = _ref3.visible,
|
|
22223
22207
|
visible = _ref3$visible === void 0 ? true : _ref3$visible,
|
|
22224
|
-
props = _objectWithoutProperties(_ref3, _excluded$
|
|
22208
|
+
props = _objectWithoutProperties(_ref3, _excluded$r);
|
|
22225
22209
|
var modalRef = React.useRef(null);
|
|
22226
22210
|
var _useState = React.useState(visible),
|
|
22227
22211
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -22332,7 +22316,7 @@ var StyledErrorDescription = index$b(Typography.Body)(function (_ref9) {
|
|
|
22332
22316
|
};
|
|
22333
22317
|
});
|
|
22334
22318
|
|
|
22335
|
-
var _excluded$
|
|
22319
|
+
var _excluded$q = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
|
|
22336
22320
|
_excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
|
|
22337
22321
|
var renderImage$1 = function renderImage(image) {
|
|
22338
22322
|
if (/*#__PURE__*/React.isValidElement(image)) {
|
|
@@ -22373,7 +22357,7 @@ var ErrorPage = function ErrorPage(_ref2) {
|
|
|
22373
22357
|
secondaryCtaText = _ref2.secondaryCtaText,
|
|
22374
22358
|
onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
|
|
22375
22359
|
icon = _ref2.icon,
|
|
22376
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
22360
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$q);
|
|
22377
22361
|
var showCta = ctaText && onCtaPress !== undefined;
|
|
22378
22362
|
var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
|
|
22379
22363
|
var showButtonContainer = showCta || showSecondaryCta;
|
|
@@ -22599,13 +22583,13 @@ var ActionItem = function ActionItem(_ref) {
|
|
|
22599
22583
|
})), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
|
|
22600
22584
|
};
|
|
22601
22585
|
|
|
22602
|
-
var _excluded$
|
|
22586
|
+
var _excluded$p = ["active"];
|
|
22603
22587
|
var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
|
|
22604
22588
|
return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
|
|
22605
22589
|
}));
|
|
22606
22590
|
var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
|
|
22607
22591
|
var active = _ref.active,
|
|
22608
|
-
iconProps = _objectWithoutProperties(_ref, _excluded$
|
|
22592
|
+
iconProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
22609
22593
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
|
|
22610
22594
|
React.useEffect(function () {
|
|
22611
22595
|
var animation = reactNative.Animated.spring(rotateAnimation.current, {
|
|
@@ -22970,11 +22954,11 @@ var StyledFAB = index$b(FAB$1)(function (_ref) {
|
|
|
22970
22954
|
};
|
|
22971
22955
|
});
|
|
22972
22956
|
|
|
22973
|
-
var _excluded$
|
|
22957
|
+
var _excluded$o = ["fabConfig", "onCancel"];
|
|
22974
22958
|
var Pair = function Pair(_ref) {
|
|
22975
22959
|
var fabConfig = _ref.fabConfig,
|
|
22976
22960
|
onCancel = _ref.onCancel,
|
|
22977
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
22961
|
+
props = _objectWithoutProperties(_ref, _excluded$o);
|
|
22978
22962
|
var icon = fabConfig.icon,
|
|
22979
22963
|
title = fabConfig.title,
|
|
22980
22964
|
onPress = fabConfig.onPress,
|
|
@@ -23704,11 +23688,11 @@ var StyledFocusIcon = index$b(Icon)(function (_ref7) {
|
|
|
23704
23688
|
};
|
|
23705
23689
|
});
|
|
23706
23690
|
|
|
23707
|
-
var _excluded$
|
|
23691
|
+
var _excluded$n = ["style", "testID"];
|
|
23708
23692
|
var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
23709
23693
|
var style = _ref.style,
|
|
23710
23694
|
testID = _ref.testID,
|
|
23711
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
23695
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
23712
23696
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
|
|
23713
23697
|
style: style,
|
|
23714
23698
|
testID: testID
|
|
@@ -23718,7 +23702,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
|
23718
23702
|
}));
|
|
23719
23703
|
};
|
|
23720
23704
|
|
|
23721
|
-
var _excluded$
|
|
23705
|
+
var _excluded$m = ["style", "testID", "state", "image", "icon"];
|
|
23722
23706
|
var getBadgeIconName = function getBadgeIconName(state) {
|
|
23723
23707
|
var iconMap = {
|
|
23724
23708
|
idle: undefined,
|
|
@@ -23734,7 +23718,7 @@ var MapPin = function MapPin(_ref) {
|
|
|
23734
23718
|
state = _ref$state === void 0 ? 'idle' : _ref$state,
|
|
23735
23719
|
image = _ref.image,
|
|
23736
23720
|
icon = _ref.icon,
|
|
23737
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
23721
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
23738
23722
|
var badgeIcon = getBadgeIconName(state);
|
|
23739
23723
|
return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
|
|
23740
23724
|
style: style,
|
|
@@ -23763,7 +23747,7 @@ var StyledWrapper$6 = index$b(reactNative.View)(function () {
|
|
|
23763
23747
|
alignContent: 'flex-start'
|
|
23764
23748
|
};
|
|
23765
23749
|
});
|
|
23766
|
-
var StyledPinWrapper = index$b(reactNative.
|
|
23750
|
+
var StyledPinWrapper = index$b(reactNative.Pressable)(function () {
|
|
23767
23751
|
return {
|
|
23768
23752
|
flexDirection: 'row'
|
|
23769
23753
|
};
|
|
@@ -23862,7 +23846,11 @@ function PinCell(_ref) {
|
|
|
23862
23846
|
state = _ref$state === void 0 ? 'default' : _ref$state;
|
|
23863
23847
|
return /*#__PURE__*/React__namespace.default.createElement(StyledCell, {
|
|
23864
23848
|
themeFocused: focused,
|
|
23865
|
-
themeState: state
|
|
23849
|
+
themeState: state,
|
|
23850
|
+
accessibilityState: {
|
|
23851
|
+
selected: focused
|
|
23852
|
+
},
|
|
23853
|
+
testID: "pin-cell"
|
|
23866
23854
|
}, value === '' && /*#__PURE__*/React__namespace.default.createElement(StyledMask, {
|
|
23867
23855
|
themeState: state,
|
|
23868
23856
|
testID: "pin-cell-mask"
|
|
@@ -23970,7 +23958,11 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
23970
23958
|
return /*#__PURE__*/React__namespace.default.createElement(StyledWrapper$6, {
|
|
23971
23959
|
style: style,
|
|
23972
23960
|
testID: testID
|
|
23973
|
-
}, /*#__PURE__*/React__namespace.default.createElement(StyledPinWrapper,
|
|
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) {
|
|
23974
23966
|
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
|
|
23975
23967
|
key: index
|
|
23976
23968
|
}, index !== 0 && /*#__PURE__*/React__namespace.default.createElement(StyledSpacer, null), /*#__PURE__*/React__namespace.default.createElement(PinCell, {
|
|
@@ -23994,7 +23986,7 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
23994
23986
|
autoFocus: autoFocus,
|
|
23995
23987
|
onFocus: focus,
|
|
23996
23988
|
onBlur: blur,
|
|
23997
|
-
pointerEvents: "
|
|
23989
|
+
pointerEvents: "none",
|
|
23998
23990
|
keyboardType: "numeric",
|
|
23999
23991
|
testID: "pin-hidden-input",
|
|
24000
23992
|
textContentType: textContentType,
|
|
@@ -24042,7 +24034,7 @@ var THEME_INTENT_MAP = {
|
|
|
24042
24034
|
'archived-inverted': 'archivedInverted'
|
|
24043
24035
|
};
|
|
24044
24036
|
|
|
24045
|
-
var _excluded$
|
|
24037
|
+
var _excluded$l = ["value", "renderValue", "intent", "style", "testID"];
|
|
24046
24038
|
var defaultRenderValue = function defaultRenderValue(value) {
|
|
24047
24039
|
return "".concat(value, "%");
|
|
24048
24040
|
};
|
|
@@ -24055,7 +24047,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
|
|
|
24055
24047
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
24056
24048
|
style = _ref.style,
|
|
24057
24049
|
testID = _ref.testID,
|
|
24058
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
24050
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$l);
|
|
24059
24051
|
var theme = useTheme$1();
|
|
24060
24052
|
var size = theme.__hd__.progress.sizes.circleDiameter;
|
|
24061
24053
|
var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
|
|
@@ -24125,14 +24117,14 @@ var StyledInner = index$b(reactNative.Animated.View)(function (_ref2) {
|
|
|
24125
24117
|
};
|
|
24126
24118
|
});
|
|
24127
24119
|
|
|
24128
|
-
var _excluded$
|
|
24120
|
+
var _excluded$k = ["value", "intent", "style", "testID"];
|
|
24129
24121
|
var ProgressBar = function ProgressBar(_ref) {
|
|
24130
24122
|
var value = _ref.value,
|
|
24131
24123
|
_ref$intent = _ref.intent,
|
|
24132
24124
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
24133
24125
|
style = _ref.style,
|
|
24134
24126
|
testID = _ref.testID,
|
|
24135
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
24127
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$k);
|
|
24136
24128
|
var _useState = React.useState(0),
|
|
24137
24129
|
_useState2 = _slicedToArray(_useState, 2),
|
|
24138
24130
|
width = _useState2[0],
|
|
@@ -24222,7 +24214,7 @@ var StyledSingleStep = index$b(Box)(function (_ref3) {
|
|
|
24222
24214
|
};
|
|
24223
24215
|
});
|
|
24224
24216
|
|
|
24225
|
-
var _excluded$
|
|
24217
|
+
var _excluded$j = ["steps", "current", "onLayout"];
|
|
24226
24218
|
var getStepState = function getStepState(current, index) {
|
|
24227
24219
|
if (index < current) {
|
|
24228
24220
|
return 'complete';
|
|
@@ -24236,7 +24228,7 @@ var ProgressStep = function ProgressStep(_ref) {
|
|
|
24236
24228
|
var steps = _ref.steps,
|
|
24237
24229
|
current = _ref.current,
|
|
24238
24230
|
onLayout = _ref.onLayout,
|
|
24239
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
24231
|
+
props = _objectWithoutProperties(_ref, _excluded$j);
|
|
24240
24232
|
var theme = useTheme$1();
|
|
24241
24233
|
var _React$useState = React__namespace.default.useState(0),
|
|
24242
24234
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -24545,14 +24537,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
|
|
|
24545
24537
|
}, dotProps))));
|
|
24546
24538
|
};
|
|
24547
24539
|
|
|
24548
|
-
var _excluded$
|
|
24540
|
+
var _excluded$i = ["testID", "size", "intent"];
|
|
24549
24541
|
var Spinner = function Spinner(_ref) {
|
|
24550
24542
|
var testID = _ref.testID,
|
|
24551
24543
|
_ref$size = _ref.size,
|
|
24552
24544
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
24553
24545
|
_ref$intent = _ref.intent,
|
|
24554
24546
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
24555
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
24547
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$i);
|
|
24556
24548
|
return /*#__PURE__*/React__namespace.default.createElement(StyledView$1, nativeProps, /*#__PURE__*/React__namespace.default.createElement(StyledSpinnerContainer, {
|
|
24557
24549
|
testID: testID
|
|
24558
24550
|
}, /*#__PURE__*/React__namespace.default.createElement(AnimatedSpinner, {
|
|
@@ -24585,7 +24577,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
|
|
|
24585
24577
|
}, children);
|
|
24586
24578
|
};
|
|
24587
24579
|
|
|
24588
|
-
var _excluded$
|
|
24580
|
+
var _excluded$h = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
|
|
24589
24581
|
var renderActions = function renderActions(actions, width, progress, direction) {
|
|
24590
24582
|
var trans = progress.interpolate({
|
|
24591
24583
|
inputRange: [0, 1],
|
|
@@ -24614,7 +24606,7 @@ var Swipeable = function Swipeable(_ref) {
|
|
|
24614
24606
|
rightActionsWidth = _ref.rightActionsWidth,
|
|
24615
24607
|
_ref$variant = _ref.variant,
|
|
24616
24608
|
variant = _ref$variant === void 0 ? 'card' : _ref$variant,
|
|
24617
|
-
swipeableProps = _objectWithoutProperties(_ref, _excluded$
|
|
24609
|
+
swipeableProps = _objectWithoutProperties(_ref, _excluded$h);
|
|
24618
24610
|
var theme = useTheme();
|
|
24619
24611
|
var _useWindowDimensions = reactNative.useWindowDimensions(),
|
|
24620
24612
|
width = _useWindowDimensions.width;
|
|
@@ -24941,7 +24933,7 @@ var StyledSectionList = index$b(reactNative.SectionList)(function (_ref4) {
|
|
|
24941
24933
|
};
|
|
24942
24934
|
});
|
|
24943
24935
|
|
|
24944
|
-
var _excluded$
|
|
24936
|
+
var _excluded$g = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
|
|
24945
24937
|
var BaseOptionList = function BaseOptionList(_ref) {
|
|
24946
24938
|
var keyExtractor = _ref.keyExtractor,
|
|
24947
24939
|
loading = _ref.loading,
|
|
@@ -24950,7 +24942,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
|
|
|
24950
24942
|
sections = _ref.sections,
|
|
24951
24943
|
renderItem = _ref.renderItem,
|
|
24952
24944
|
sectionListRef = _ref.sectionListRef,
|
|
24953
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
24945
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
24954
24946
|
var theme = useTheme$1();
|
|
24955
24947
|
var _useState = React.useState(false),
|
|
24956
24948
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -25032,7 +25024,7 @@ var isOptionSelected = function isOptionSelected(value, option) {
|
|
|
25032
25024
|
});
|
|
25033
25025
|
};
|
|
25034
25026
|
|
|
25035
|
-
var _excluded$
|
|
25027
|
+
var _excluded$f = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
|
|
25036
25028
|
var OptionList$1 = function OptionList(_ref) {
|
|
25037
25029
|
var keyExtractor = _ref.keyExtractor,
|
|
25038
25030
|
loading = _ref.loading,
|
|
@@ -25043,7 +25035,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
25043
25035
|
renderOption = _ref.renderOption,
|
|
25044
25036
|
value = _ref.value,
|
|
25045
25037
|
sectionListRef = _ref.sectionListRef,
|
|
25046
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25038
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
25047
25039
|
var renderItem = function renderItem(info) {
|
|
25048
25040
|
var item = info.item;
|
|
25049
25041
|
var selected = isOptionSelected(value, item);
|
|
@@ -25078,6 +25070,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
25078
25070
|
}, rest));
|
|
25079
25071
|
};
|
|
25080
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"];
|
|
25081
25074
|
function MultiSelect(_ref) {
|
|
25082
25075
|
var footerLabel = _ref.footerLabel,
|
|
25083
25076
|
label = _ref.label,
|
|
@@ -25104,7 +25097,8 @@ function MultiSelect(_ref) {
|
|
|
25104
25097
|
_ref$supportedOrienta = _ref.supportedOrientations,
|
|
25105
25098
|
supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
|
|
25106
25099
|
_ref$bottomSheetConfi = _ref.bottomSheetConfig,
|
|
25107
|
-
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi
|
|
25100
|
+
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
|
|
25101
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
25108
25102
|
var _useKeyboard = useKeyboard(),
|
|
25109
25103
|
isKeyboardVisible = _useKeyboard.isKeyboardVisible,
|
|
25110
25104
|
keyboardHeight = _useKeyboard.keyboardHeight;
|
|
@@ -25127,6 +25121,7 @@ function MultiSelect(_ref) {
|
|
|
25127
25121
|
var rawValue = value.length > 0 ? value.join(', ') : '';
|
|
25128
25122
|
var bottomSheetVariant = bottomSheetConfig.variant,
|
|
25129
25123
|
bottomSheetHeader = bottomSheetConfig.header;
|
|
25124
|
+
var TextInputComponent = rest.TextInputComponent || TextInput;
|
|
25130
25125
|
React.useEffect(function () {
|
|
25131
25126
|
setSelectingValue(value);
|
|
25132
25127
|
}, [open, value]);
|
|
@@ -25138,7 +25133,7 @@ function MultiSelect(_ref) {
|
|
|
25138
25133
|
}
|
|
25139
25134
|
}, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
|
|
25140
25135
|
pointerEvents: "none"
|
|
25141
|
-
}, /*#__PURE__*/React__namespace.default.createElement(
|
|
25136
|
+
}, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, _extends$1({}, inputProps, {
|
|
25142
25137
|
label: label,
|
|
25143
25138
|
value: renderSelectedValue ? rawValue : displayedValue,
|
|
25144
25139
|
suffix: "arrow-down",
|
|
@@ -25188,7 +25183,7 @@ function MultiSelect(_ref) {
|
|
|
25188
25183
|
}
|
|
25189
25184
|
},
|
|
25190
25185
|
supportedOrientations: supportedOrientations
|
|
25191
|
-
}, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(
|
|
25186
|
+
}, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, {
|
|
25192
25187
|
editable: true,
|
|
25193
25188
|
placeholder: "Search",
|
|
25194
25189
|
suffix: "search-outlined",
|
|
@@ -25239,7 +25234,7 @@ var StyledOptionList = index$b(BaseOptionList)(function (_ref) {
|
|
|
25239
25234
|
};
|
|
25240
25235
|
});
|
|
25241
25236
|
|
|
25242
|
-
var _excluded$
|
|
25237
|
+
var _excluded$d = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
|
|
25243
25238
|
var OptionList = function OptionList(_ref) {
|
|
25244
25239
|
var keyExtractor = _ref.keyExtractor,
|
|
25245
25240
|
loading = _ref.loading,
|
|
@@ -25250,7 +25245,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
25250
25245
|
renderOption = _ref.renderOption,
|
|
25251
25246
|
value = _ref.value,
|
|
25252
25247
|
sectionListRef = _ref.sectionListRef,
|
|
25253
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25248
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
25254
25249
|
var renderItem = function renderItem(info) {
|
|
25255
25250
|
var item = info.item;
|
|
25256
25251
|
var selected = _deepCompareValue(item.value, value);
|
|
@@ -25286,6 +25281,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
25286
25281
|
}, rest));
|
|
25287
25282
|
};
|
|
25288
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"];
|
|
25289
25285
|
var SingleSelect = function SingleSelect(_ref) {
|
|
25290
25286
|
var _flatOptions$find;
|
|
25291
25287
|
var label = _ref.label,
|
|
@@ -25312,7 +25308,8 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
25312
25308
|
_ref$supportedOrienta = _ref.supportedOrientations,
|
|
25313
25309
|
supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
|
|
25314
25310
|
_ref$bottomSheetConfi = _ref.bottomSheetConfig,
|
|
25315
|
-
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi
|
|
25311
|
+
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
|
|
25312
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
25316
25313
|
var _useKeyboard = useKeyboard(),
|
|
25317
25314
|
isKeyboardVisible = _useKeyboard.isKeyboardVisible,
|
|
25318
25315
|
keyboardHeight = _useKeyboard.keyboardHeight;
|
|
@@ -25329,6 +25326,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
25329
25326
|
var rawValue = value ? String(value) : undefined;
|
|
25330
25327
|
var bottomSheetVariant = bottomSheetConfig.variant,
|
|
25331
25328
|
bottomSheetHeader = bottomSheetConfig.header;
|
|
25329
|
+
var TextInputComponent = rest.TextInputComponent || TextInput;
|
|
25332
25330
|
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
|
|
25333
25331
|
pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
|
|
25334
25332
|
}, /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
|
|
@@ -25337,7 +25335,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
25337
25335
|
}
|
|
25338
25336
|
}, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
|
|
25339
25337
|
pointerEvents: "none"
|
|
25340
|
-
}, /*#__PURE__*/React__namespace.default.createElement(
|
|
25338
|
+
}, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, _extends$1({}, inputProps, {
|
|
25341
25339
|
label: label,
|
|
25342
25340
|
value: renderSelectedValue ? rawValue : displayedValue,
|
|
25343
25341
|
suffix: "arrow-down",
|
|
@@ -25371,7 +25369,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
25371
25369
|
}
|
|
25372
25370
|
},
|
|
25373
25371
|
supportedOrientations: supportedOrientations
|
|
25374
|
-
}, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(
|
|
25372
|
+
}, onQueryChange && /*#__PURE__*/React__namespace.default.createElement(StyledSearchBar, null, /*#__PURE__*/React__namespace.default.createElement(TextInputComponent, {
|
|
25375
25373
|
editable: true,
|
|
25376
25374
|
placeholder: "Search",
|
|
25377
25375
|
suffix: "search-outlined",
|
|
@@ -26737,7 +26735,8 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
|
|
|
26737
26735
|
var StyledPickerWrapper = index$b(reactNative.View)(function (_ref) {
|
|
26738
26736
|
var theme = _ref.theme;
|
|
26739
26737
|
return {
|
|
26740
|
-
height: theme.__hd__.timePicker.sizes.height
|
|
26738
|
+
height: theme.__hd__.timePicker.sizes.height,
|
|
26739
|
+
alignItems: 'center'
|
|
26741
26740
|
};
|
|
26742
26741
|
});
|
|
26743
26742
|
|