@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/es/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { StyleSheet as StyleSheet$1, Platform, Dimensions, Animated, View, UIMan
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useMemo, useEffect, useCallback, useRef, useLayoutEffect, useState, createContext, forwardRef, useContext, memo, useReducer, useImperativeHandle, isValidElement } from 'react';
|
|
5
5
|
import { createIconSet } from 'react-native-vector-icons';
|
|
6
|
-
import { useSafeAreaInsets
|
|
6
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
7
7
|
import { MonthYearPickerViewIOS, MonthYearPickerDialogueAndroid } from '@hero-design/react-native-month-year-picker';
|
|
8
8
|
import Svg, { G, ForeignObject, Line as Line$1, Path as Path$1, Rect, Mask, Circle as Circle$1, Defs, ClipPath } from 'react-native-svg';
|
|
9
9
|
import DateTimePicker from '@react-native-community/datetimepicker';
|
|
@@ -5676,8 +5676,7 @@ var getBottomSheetTheme = function getBottomSheetTheme(theme) {
|
|
|
5676
5676
|
footerHorizontalPadding: theme.space.smallMedium,
|
|
5677
5677
|
floatingContentMargin: theme.space.medium,
|
|
5678
5678
|
floatingInnerPadding: theme.space.small,
|
|
5679
|
-
floatingHeaderIconPadding: theme.space.small
|
|
5680
|
-
contentPaddingBottom: theme.space.large
|
|
5679
|
+
floatingHeaderIconPadding: theme.space.small
|
|
5681
5680
|
};
|
|
5682
5681
|
var radii = {
|
|
5683
5682
|
"default": theme.radii.xlarge,
|
|
@@ -7633,7 +7632,7 @@ var StyledText$3 = index$b(Text$1)(function (_ref) {
|
|
|
7633
7632
|
});
|
|
7634
7633
|
});
|
|
7635
7634
|
|
|
7636
|
-
var _excluded$
|
|
7635
|
+
var _excluded$O = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
|
|
7637
7636
|
var Text = function Text(_ref) {
|
|
7638
7637
|
var children = _ref.children,
|
|
7639
7638
|
_ref$fontSize = _ref.fontSize,
|
|
@@ -7646,7 +7645,7 @@ var Text = function Text(_ref) {
|
|
|
7646
7645
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7647
7646
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7648
7647
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7649
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7648
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$O);
|
|
7650
7649
|
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.');
|
|
7651
7650
|
return /*#__PURE__*/React__default.createElement(StyledText$3, _extends$1({}, nativeProps, {
|
|
7652
7651
|
themeFontSize: fontSize,
|
|
@@ -7676,7 +7675,7 @@ var StyledCaption = index$b(Text$1)(function (_ref) {
|
|
|
7676
7675
|
};
|
|
7677
7676
|
});
|
|
7678
7677
|
|
|
7679
|
-
var _excluded$
|
|
7678
|
+
var _excluded$N = ["children", "fontWeight", "intent", "allowFontScaling"];
|
|
7680
7679
|
var Caption = function Caption(_ref) {
|
|
7681
7680
|
var children = _ref.children,
|
|
7682
7681
|
_ref$fontWeight = _ref.fontWeight,
|
|
@@ -7685,7 +7684,7 @@ var Caption = function Caption(_ref) {
|
|
|
7685
7684
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
7686
7685
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7687
7686
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7688
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7687
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$N);
|
|
7689
7688
|
return /*#__PURE__*/React__default.createElement(StyledCaption, _extends$1({}, nativeProps, {
|
|
7690
7689
|
themeFontWeight: fontWeight,
|
|
7691
7690
|
themeIntent: intent,
|
|
@@ -7704,14 +7703,14 @@ var StyledLabel$1 = index$b(Text$1)(function (_ref) {
|
|
|
7704
7703
|
};
|
|
7705
7704
|
});
|
|
7706
7705
|
|
|
7707
|
-
var _excluded$
|
|
7706
|
+
var _excluded$M = ["children", "intent", "allowFontScaling"];
|
|
7708
7707
|
var Label = function Label(_ref) {
|
|
7709
7708
|
var children = _ref.children,
|
|
7710
7709
|
_ref$intent = _ref.intent,
|
|
7711
7710
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
7712
7711
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7713
7712
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7714
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7713
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$M);
|
|
7715
7714
|
return /*#__PURE__*/React__default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
|
|
7716
7715
|
themeIntent: intent,
|
|
7717
7716
|
allowFontScaling: allowFontScaling
|
|
@@ -7732,7 +7731,7 @@ var StyledTitle$1 = index$b(Text$1)(function (_ref) {
|
|
|
7732
7731
|
};
|
|
7733
7732
|
});
|
|
7734
7733
|
|
|
7735
|
-
var _excluded$
|
|
7734
|
+
var _excluded$L = ["children", "intent", "allowFontScaling", "level", "typeface"];
|
|
7736
7735
|
var Title = function Title(_ref) {
|
|
7737
7736
|
var children = _ref.children,
|
|
7738
7737
|
_ref$intent = _ref.intent,
|
|
@@ -7743,7 +7742,7 @@ var Title = function Title(_ref) {
|
|
|
7743
7742
|
level = _ref$level === void 0 ? 'h1' : _ref$level,
|
|
7744
7743
|
_ref$typeface = _ref.typeface,
|
|
7745
7744
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7746
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7745
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$L);
|
|
7747
7746
|
return /*#__PURE__*/React__default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
|
|
7748
7747
|
themeLevel: level,
|
|
7749
7748
|
themeTypeface: typeface,
|
|
@@ -7778,7 +7777,7 @@ var StyledBody$2 = index$b(Text$1)(function (_ref) {
|
|
|
7778
7777
|
};
|
|
7779
7778
|
});
|
|
7780
7779
|
|
|
7781
|
-
var _excluded$
|
|
7780
|
+
var _excluded$K = ["children", "intent", "allowFontScaling", "typeface", "variant"];
|
|
7782
7781
|
var Body = function Body(_ref) {
|
|
7783
7782
|
var children = _ref.children,
|
|
7784
7783
|
_ref$intent = _ref.intent,
|
|
@@ -7789,7 +7788,7 @@ var Body = function Body(_ref) {
|
|
|
7789
7788
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7790
7789
|
_ref$variant = _ref.variant,
|
|
7791
7790
|
variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
|
|
7792
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7791
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$K);
|
|
7793
7792
|
return /*#__PURE__*/React__default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
|
|
7794
7793
|
themeTypeface: typeface,
|
|
7795
7794
|
themeIntent: intent,
|
|
@@ -8390,10 +8389,10 @@ var StyledHeroIcon = index$b(HeroIcon)(function (_ref) {
|
|
|
8390
8389
|
};
|
|
8391
8390
|
});
|
|
8392
8391
|
|
|
8393
|
-
var _excluded$
|
|
8392
|
+
var _excluded$J = ["style"];
|
|
8394
8393
|
var AnimatedIcon = function AnimatedIcon(_ref) {
|
|
8395
8394
|
var style = _ref.style,
|
|
8396
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
8395
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$J);
|
|
8397
8396
|
var rotateAnimation = useRef(new Animated.Value(0));
|
|
8398
8397
|
useEffect(function () {
|
|
8399
8398
|
var animation = Animated.loop(Animated.timing(rotateAnimation.current, {
|
|
@@ -8498,7 +8497,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
8498
8497
|
}, content));
|
|
8499
8498
|
};
|
|
8500
8499
|
|
|
8501
|
-
var _excluded$
|
|
8500
|
+
var _excluded$I = ["key"];
|
|
8502
8501
|
var Accordion = function Accordion(_ref) {
|
|
8503
8502
|
var items = _ref.items,
|
|
8504
8503
|
activeItemKey = _ref.activeItemKey,
|
|
@@ -8519,7 +8518,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
8519
8518
|
testID: testID
|
|
8520
8519
|
}, items.map(function (_ref2, index) {
|
|
8521
8520
|
var key = _ref2.key,
|
|
8522
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
8521
|
+
props = _objectWithoutProperties(_ref2, _excluded$I);
|
|
8523
8522
|
var open = _activeItemKey === key;
|
|
8524
8523
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
8525
8524
|
key: key
|
|
@@ -8575,7 +8574,7 @@ var StyledBody$1 = index$b(Typography.Body)(function (_ref5) {
|
|
|
8575
8574
|
color: theme.__hd__.alert.colors.texts[themeIntent]
|
|
8576
8575
|
};
|
|
8577
8576
|
});
|
|
8578
|
-
var ContentContainer$
|
|
8577
|
+
var ContentContainer$1 = index$b(View)(function (_ref6) {
|
|
8579
8578
|
var theme = _ref6.theme,
|
|
8580
8579
|
showDivider = _ref6.showDivider;
|
|
8581
8580
|
return {
|
|
@@ -8637,7 +8636,7 @@ var Alert = function Alert(_ref2) {
|
|
|
8637
8636
|
themeIntent: intent,
|
|
8638
8637
|
style: style,
|
|
8639
8638
|
testID: testID
|
|
8640
|
-
}, /*#__PURE__*/React__default.createElement(ContentContainer$
|
|
8639
|
+
}, /*#__PURE__*/React__default.createElement(ContentContainer$1, {
|
|
8641
8640
|
showDivider: !!onClose
|
|
8642
8641
|
}, icon !== null ? /*#__PURE__*/React__default.createElement(AlertIcon, {
|
|
8643
8642
|
icon: icon || getIntentIcon$1(intent),
|
|
@@ -9442,7 +9441,7 @@ var borderWidths = {
|
|
|
9442
9441
|
var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
|
|
9443
9442
|
var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
|
|
9444
9443
|
|
|
9445
|
-
var _excluded$
|
|
9444
|
+
var _excluded$H = ["theme"];
|
|
9446
9445
|
var getThemeValue = function getThemeValue(theme, key, props) {
|
|
9447
9446
|
var propConfig = config[key];
|
|
9448
9447
|
var propValue = props[key];
|
|
@@ -9469,18 +9468,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
9469
9468
|
var configKeys = Object.keys(config);
|
|
9470
9469
|
var StyledBox = index$b(View)(function (_ref5) {
|
|
9471
9470
|
var theme = _ref5.theme,
|
|
9472
|
-
otherProps = _objectWithoutProperties(_ref5, _excluded$
|
|
9471
|
+
otherProps = _objectWithoutProperties(_ref5, _excluded$H);
|
|
9473
9472
|
var styleProps = pick(configKeys, otherProps);
|
|
9474
9473
|
var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
|
|
9475
9474
|
return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
|
|
9476
9475
|
});
|
|
9477
9476
|
|
|
9478
|
-
var _excluded$
|
|
9477
|
+
var _excluded$G = ["children", "style", "testID"];
|
|
9479
9478
|
var Box = function Box(_ref) {
|
|
9480
9479
|
var children = _ref.children,
|
|
9481
9480
|
style = _ref.style,
|
|
9482
9481
|
testID = _ref.testID,
|
|
9483
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
9482
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$G);
|
|
9484
9483
|
return /*#__PURE__*/React__default.createElement(StyledBox, _extends$1({}, otherProps, {
|
|
9485
9484
|
style: style,
|
|
9486
9485
|
testID: testID
|
|
@@ -9747,7 +9746,7 @@ var StyledIcon$4 = index$b(Icon)(function (_ref6) {
|
|
|
9747
9746
|
};
|
|
9748
9747
|
});
|
|
9749
9748
|
|
|
9750
|
-
var _excluded$
|
|
9749
|
+
var _excluded$F = ["children", "visible", "intent", "style", "testID"];
|
|
9751
9750
|
var Status$1 = function Status(_ref) {
|
|
9752
9751
|
var children = _ref.children,
|
|
9753
9752
|
_ref$visible = _ref.visible,
|
|
@@ -9756,7 +9755,7 @@ var Status$1 = function Status(_ref) {
|
|
|
9756
9755
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
9757
9756
|
style = _ref.style,
|
|
9758
9757
|
testID = _ref.testID,
|
|
9759
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9758
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$F);
|
|
9760
9759
|
var _React$useRef = React__default.useRef(new Animated.Value(visible ? 1 : 0)),
|
|
9761
9760
|
opacity = _React$useRef.current;
|
|
9762
9761
|
var isFirstRendering = React__default.useRef(true);
|
|
@@ -9792,7 +9791,7 @@ var Status$1 = function Status(_ref) {
|
|
|
9792
9791
|
|
|
9793
9792
|
var DEFAULT_MAX_NUMBER = 99;
|
|
9794
9793
|
|
|
9795
|
-
var _excluded$
|
|
9794
|
+
var _excluded$E = ["children", "visible", "style", "max", "testID", "content"];
|
|
9796
9795
|
var Status = function Status(_ref) {
|
|
9797
9796
|
var children = _ref.children,
|
|
9798
9797
|
_ref$visible = _ref.visible,
|
|
@@ -9802,7 +9801,7 @@ var Status = function Status(_ref) {
|
|
|
9802
9801
|
max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
|
|
9803
9802
|
testID = _ref.testID,
|
|
9804
9803
|
originalContent = _ref.content,
|
|
9805
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9804
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$E);
|
|
9806
9805
|
var content = useMemo(function () {
|
|
9807
9806
|
return originalContent > max ? "".concat(max, "+") : String(originalContent);
|
|
9808
9807
|
}, [originalContent, max]);
|
|
@@ -9814,7 +9813,7 @@ var Status = function Status(_ref) {
|
|
|
9814
9813
|
}, /*#__PURE__*/React__default.createElement(StyledCountText, null, content)));
|
|
9815
9814
|
};
|
|
9816
9815
|
|
|
9817
|
-
var _excluded$
|
|
9816
|
+
var _excluded$D = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
|
|
9818
9817
|
var getPaddingState = function getPaddingState(content) {
|
|
9819
9818
|
return content.length > 1 ? 'wideContent' : 'narrowContent';
|
|
9820
9819
|
};
|
|
@@ -9833,7 +9832,7 @@ var Badge = function Badge(_ref) {
|
|
|
9833
9832
|
_ref$variant = _ref.variant,
|
|
9834
9833
|
variant = _ref$variant === void 0 ? 'filled' : _ref$variant,
|
|
9835
9834
|
icon = _ref.icon,
|
|
9836
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9835
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$D);
|
|
9837
9836
|
var _React$useRef = React__default.useRef(new Animated.Value(visible ? 1 : 0)),
|
|
9838
9837
|
opacity = _React$useRef.current;
|
|
9839
9838
|
var isFirstRendering = React__default.useRef(true);
|
|
@@ -9932,7 +9931,7 @@ var StyledBottomBarText = index$b(Typography.Caption)(function (_ref3) {
|
|
|
9932
9931
|
};
|
|
9933
9932
|
});
|
|
9934
9933
|
|
|
9935
|
-
var _excluded$
|
|
9934
|
+
var _excluded$C = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
|
|
9936
9935
|
var getInactiveIcon = function getInactiveIcon(icon) {
|
|
9937
9936
|
var inactiveIcon = "".concat(icon, "-outlined");
|
|
9938
9937
|
return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
|
|
@@ -9943,7 +9942,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
9943
9942
|
renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
|
|
9944
9943
|
selectedTabKey = _ref.selectedTabKey,
|
|
9945
9944
|
tabs = _ref.tabs,
|
|
9946
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9945
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$C);
|
|
9947
9946
|
var insets = useSafeAreaInsets();
|
|
9948
9947
|
/**
|
|
9949
9948
|
* List of loaded tabs, tabs will be loaded when navigated to.
|
|
@@ -10012,6 +10011,38 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
10012
10011
|
|
|
10013
10012
|
var BottomSheetContext = /*#__PURE__*/createContext({});
|
|
10014
10013
|
|
|
10014
|
+
var StyledDivider = index$b(View)(function (_ref) {
|
|
10015
|
+
var themeMarginHorizontal = _ref.themeMarginHorizontal,
|
|
10016
|
+
themeMarginVertical = _ref.themeMarginVertical,
|
|
10017
|
+
theme = _ref.theme;
|
|
10018
|
+
var horizontalMargin = themeMarginHorizontal !== undefined ? {
|
|
10019
|
+
marginHorizontal: theme.__hd__.divider.space[themeMarginHorizontal]
|
|
10020
|
+
} : {};
|
|
10021
|
+
var verticalMargin = themeMarginVertical !== undefined ? {
|
|
10022
|
+
marginVertical: theme.__hd__.divider.space[themeMarginVertical]
|
|
10023
|
+
} : {};
|
|
10024
|
+
return _objectSpread2(_objectSpread2({
|
|
10025
|
+
maxWidth: '100%',
|
|
10026
|
+
borderBottomColor: theme.__hd__.divider.colors["default"],
|
|
10027
|
+
borderBottomWidth: theme.__hd__.divider.borderWidths["default"]
|
|
10028
|
+
}, horizontalMargin), verticalMargin);
|
|
10029
|
+
});
|
|
10030
|
+
|
|
10031
|
+
var _excluded$B = ["marginHorizontal", "marginVertical", "style", "testID"];
|
|
10032
|
+
var Divider = function Divider(_ref) {
|
|
10033
|
+
var marginHorizontal = _ref.marginHorizontal,
|
|
10034
|
+
marginVertical = _ref.marginVertical,
|
|
10035
|
+
style = _ref.style,
|
|
10036
|
+
testID = _ref.testID,
|
|
10037
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$B);
|
|
10038
|
+
return /*#__PURE__*/React__default.createElement(StyledDivider, _extends$1({}, nativeProps, {
|
|
10039
|
+
themeMarginHorizontal: marginHorizontal,
|
|
10040
|
+
themeMarginVertical: marginVertical,
|
|
10041
|
+
style: style,
|
|
10042
|
+
testID: testID
|
|
10043
|
+
}));
|
|
10044
|
+
};
|
|
10045
|
+
|
|
10015
10046
|
var AnimatedPressable$1 = Animated.createAnimatedComponent(Pressable);
|
|
10016
10047
|
var AnimatedSafeAreaView = Animated.createAnimatedComponent(SafeAreaView);
|
|
10017
10048
|
var StyledWrapper$a = index$b(View)(_objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
@@ -10039,15 +10070,14 @@ var StyledFloatingBottomSheet = index$b(Animated.View)(function (_ref2) {
|
|
|
10039
10070
|
padding: theme.__hd__.bottomSheet.space.floatingInnerPadding
|
|
10040
10071
|
};
|
|
10041
10072
|
});
|
|
10042
|
-
var StyledBottomSheet = index$b(
|
|
10073
|
+
var StyledBottomSheet = index$b(AnimatedSafeAreaView)(function (_ref3) {
|
|
10043
10074
|
var theme = _ref3.theme;
|
|
10044
10075
|
return {
|
|
10045
10076
|
borderTopLeftRadius: theme.__hd__.bottomSheet.radii["default"],
|
|
10046
10077
|
borderTopRightRadius: theme.__hd__.bottomSheet.radii["default"],
|
|
10047
10078
|
backgroundColor: theme.__hd__.bottomSheet.colors.background,
|
|
10048
10079
|
width: '100%',
|
|
10049
|
-
maxHeight: '
|
|
10050
|
-
paddingBottom: theme.__hd__.bottomSheet.space.contentPaddingBottom
|
|
10080
|
+
maxHeight: '94%'
|
|
10051
10081
|
};
|
|
10052
10082
|
});
|
|
10053
10083
|
var StyledBackdrop$2 = index$b(AnimatedPressable$1)(function (_ref4) {
|
|
@@ -10098,54 +10128,6 @@ var StyledFloatingHeaderWrapper = index$b(TouchableOpacity)(function (_ref8) {
|
|
|
10098
10128
|
};
|
|
10099
10129
|
});
|
|
10100
10130
|
|
|
10101
|
-
var ContentContainer$1 = function ContentContainer(_ref) {
|
|
10102
|
-
var children = _ref.children,
|
|
10103
|
-
variant = _ref.variant,
|
|
10104
|
-
style = _ref.style;
|
|
10105
|
-
return variant === 'fixed' ? /*#__PURE__*/React__default.createElement(SafeAreaView$1, {
|
|
10106
|
-
edges: ['left', 'right', 'top'],
|
|
10107
|
-
style: {
|
|
10108
|
-
maxHeight: '94%'
|
|
10109
|
-
}
|
|
10110
|
-
}, /*#__PURE__*/React__default.createElement(StyledBottomSheet, {
|
|
10111
|
-
style: style
|
|
10112
|
-
}, children)) : /*#__PURE__*/React__default.createElement(StyledFloatingWrapper, null, /*#__PURE__*/React__default.createElement(StyledFloatingBottomSheet, {
|
|
10113
|
-
style: style
|
|
10114
|
-
}, children));
|
|
10115
|
-
};
|
|
10116
|
-
|
|
10117
|
-
var StyledDivider = index$b(View)(function (_ref) {
|
|
10118
|
-
var themeMarginHorizontal = _ref.themeMarginHorizontal,
|
|
10119
|
-
themeMarginVertical = _ref.themeMarginVertical,
|
|
10120
|
-
theme = _ref.theme;
|
|
10121
|
-
var horizontalMargin = themeMarginHorizontal !== undefined ? {
|
|
10122
|
-
marginHorizontal: theme.__hd__.divider.space[themeMarginHorizontal]
|
|
10123
|
-
} : {};
|
|
10124
|
-
var verticalMargin = themeMarginVertical !== undefined ? {
|
|
10125
|
-
marginVertical: theme.__hd__.divider.space[themeMarginVertical]
|
|
10126
|
-
} : {};
|
|
10127
|
-
return _objectSpread2(_objectSpread2({
|
|
10128
|
-
maxWidth: '100%',
|
|
10129
|
-
borderBottomColor: theme.__hd__.divider.colors["default"],
|
|
10130
|
-
borderBottomWidth: theme.__hd__.divider.borderWidths["default"]
|
|
10131
|
-
}, horizontalMargin), verticalMargin);
|
|
10132
|
-
});
|
|
10133
|
-
|
|
10134
|
-
var _excluded$z = ["marginHorizontal", "marginVertical", "style", "testID"];
|
|
10135
|
-
var Divider = function Divider(_ref) {
|
|
10136
|
-
var marginHorizontal = _ref.marginHorizontal,
|
|
10137
|
-
marginVertical = _ref.marginVertical,
|
|
10138
|
-
style = _ref.style,
|
|
10139
|
-
testID = _ref.testID,
|
|
10140
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$z);
|
|
10141
|
-
return /*#__PURE__*/React__default.createElement(StyledDivider, _extends$1({}, nativeProps, {
|
|
10142
|
-
themeMarginHorizontal: marginHorizontal,
|
|
10143
|
-
themeMarginVertical: marginVertical,
|
|
10144
|
-
style: style,
|
|
10145
|
-
testID: testID
|
|
10146
|
-
}));
|
|
10147
|
-
};
|
|
10148
|
-
|
|
10149
10131
|
var Footer$1 = function Footer(_ref) {
|
|
10150
10132
|
var children = _ref.children,
|
|
10151
10133
|
showDivider = _ref.showDivider;
|
|
@@ -10201,7 +10183,7 @@ var StyledLoadingDot = index$b(View)(function (_ref) {
|
|
|
10201
10183
|
}, themeStyling());
|
|
10202
10184
|
});
|
|
10203
10185
|
|
|
10204
|
-
var _excluded$
|
|
10186
|
+
var _excluded$A = ["count", "size", "testID", "themeVariant"];
|
|
10205
10187
|
var AnimatedLoadingIndicatorWrapper = Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
|
|
10206
10188
|
var AnimatedLoadingDot = Animated.createAnimatedComponent(StyledLoadingDot);
|
|
10207
10189
|
var renderDotComponent = function renderDotComponent(_ref) {
|
|
@@ -10233,7 +10215,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
|
|
|
10233
10215
|
size = _ref2$size === void 0 ? 12 : _ref2$size,
|
|
10234
10216
|
testID = _ref2.testID,
|
|
10235
10217
|
themeVariant = _ref2.themeVariant,
|
|
10236
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
10218
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$A);
|
|
10237
10219
|
var progressAnimation = useRef(new Animated.Value(0));
|
|
10238
10220
|
useEffect(function () {
|
|
10239
10221
|
var animation = Animated.loop(Animated.timing(progressAnimation.current, {
|
|
@@ -10860,11 +10842,11 @@ var Header = function Header(_ref) {
|
|
|
10860
10842
|
}))) : null), showDivider ? /*#__PURE__*/React__default.createElement(Divider, null) : null);
|
|
10861
10843
|
};
|
|
10862
10844
|
|
|
10863
|
-
var _excluded$
|
|
10845
|
+
var _excluded$z = ["scrollEventThrottle"];
|
|
10864
10846
|
var BottomSheetScrollView = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10865
10847
|
var _ref$scrollEventThrot = _ref.scrollEventThrottle,
|
|
10866
10848
|
scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
|
|
10867
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10849
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
10868
10850
|
var _useContext = useContext(BottomSheetContext),
|
|
10869
10851
|
setInternalShowDivider = _useContext.setInternalShowDivider;
|
|
10870
10852
|
var onScrollBeginDrag = useCallback(function (e) {
|
|
@@ -10972,6 +10954,8 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
10972
10954
|
setInternalShowDivider: setInternalShowDivider
|
|
10973
10955
|
};
|
|
10974
10956
|
}, [setInternalShowDivider]);
|
|
10957
|
+
var BottomSheetWrapperComponent = variant === 'fixed' ? React__default.Fragment : StyledFloatingWrapper;
|
|
10958
|
+
var BottomSheetComponent = variant === 'fixed' ? StyledBottomSheet : StyledFloatingBottomSheet;
|
|
10975
10959
|
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
10976
10960
|
visible: visible,
|
|
10977
10961
|
onRequestClose: onRequestClose,
|
|
@@ -10988,8 +10972,7 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
10988
10972
|
opacity: interpolateOpacity
|
|
10989
10973
|
},
|
|
10990
10974
|
onPress: onRequestClose
|
|
10991
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
10992
|
-
variant: variant,
|
|
10975
|
+
}), /*#__PURE__*/React__default.createElement(BottomSheetWrapperComponent, null, /*#__PURE__*/React__default.createElement(BottomSheetComponent, {
|
|
10993
10976
|
style: [style, {
|
|
10994
10977
|
transform: [{
|
|
10995
10978
|
scaleY: height > 0 ? 1 : 0
|
|
@@ -11007,7 +10990,7 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
11007
10990
|
value: BottomSheetContextValue
|
|
11008
10991
|
}, children), footer ? /*#__PURE__*/React__default.createElement(Footer$1, {
|
|
11009
10992
|
showDivider: showDivider
|
|
11010
|
-
}, footer) : null))));
|
|
10993
|
+
}, footer) : null)))));
|
|
11011
10994
|
};
|
|
11012
10995
|
var BottomSheet$1 = Object.assign(BottomSheet, {
|
|
11013
10996
|
ScrollView: BottomSheetScrollView
|
|
@@ -13941,12 +13924,12 @@ var Indicator = index$b(View)(function (_ref2) {
|
|
|
13941
13924
|
};
|
|
13942
13925
|
});
|
|
13943
13926
|
|
|
13944
|
-
var _excluded$
|
|
13927
|
+
var _excluded$y = ["intent", "children"];
|
|
13945
13928
|
var DataCard = function DataCard(_ref) {
|
|
13946
13929
|
var _ref$intent = _ref.intent,
|
|
13947
13930
|
intent = _ref$intent === void 0 ? 'info' : _ref$intent,
|
|
13948
13931
|
children = _ref.children,
|
|
13949
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
13932
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$y);
|
|
13950
13933
|
return /*#__PURE__*/React__default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default.createElement(Indicator, {
|
|
13951
13934
|
themeIntent: intent,
|
|
13952
13935
|
testID: "data-card-indicator"
|
|
@@ -13965,13 +13948,13 @@ var StyledCard$1 = index$b(View)(function (_ref) {
|
|
|
13965
13948
|
});
|
|
13966
13949
|
});
|
|
13967
13950
|
|
|
13968
|
-
var _excluded$
|
|
13951
|
+
var _excluded$x = ["intent", "children", "variant"];
|
|
13969
13952
|
var Card = function Card(_ref) {
|
|
13970
13953
|
var intent = _ref.intent,
|
|
13971
13954
|
children = _ref.children,
|
|
13972
13955
|
_ref$variant = _ref.variant,
|
|
13973
13956
|
variant = _ref$variant === void 0 ? 'basic' : _ref$variant,
|
|
13974
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
13957
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$x);
|
|
13975
13958
|
return /*#__PURE__*/React__default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
|
|
13976
13959
|
themeIntent: intent,
|
|
13977
13960
|
themeVariant: variant
|
|
@@ -14237,7 +14220,7 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
14237
14220
|
});
|
|
14238
14221
|
CardCarousel.displayName = 'CardCarousel';
|
|
14239
14222
|
|
|
14240
|
-
var _excluded$
|
|
14223
|
+
var _excluded$w = ["rounded", "size", "testID", "style"];
|
|
14241
14224
|
var Image = function Image(_ref) {
|
|
14242
14225
|
var _ref$rounded = _ref.rounded,
|
|
14243
14226
|
rounded = _ref$rounded === void 0 ? false : _ref$rounded,
|
|
@@ -14245,7 +14228,7 @@ var Image = function Image(_ref) {
|
|
|
14245
14228
|
size = _ref$size === void 0 ? '6xlarge' : _ref$size,
|
|
14246
14229
|
testID = _ref.testID,
|
|
14247
14230
|
style = _ref.style,
|
|
14248
|
-
imageNativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
14231
|
+
imageNativeProps = _objectWithoutProperties(_ref, _excluded$w);
|
|
14249
14232
|
useDeprecation('Image component will soon be deprecated. Please use `Image` from `react-native` instead.');
|
|
14250
14233
|
var theme = useTheme();
|
|
14251
14234
|
var imageSize = theme.__hd__.image.sizes[size];
|
|
@@ -14380,7 +14363,7 @@ var CarouselItem = function CarouselItem(_ref) {
|
|
|
14380
14363
|
}, heading), !!body && /*#__PURE__*/React__default.createElement(Typography.Body, null, body)));
|
|
14381
14364
|
};
|
|
14382
14365
|
|
|
14383
|
-
var _excluded$
|
|
14366
|
+
var _excluded$v = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
|
|
14384
14367
|
function useStateFromProp(initialValue) {
|
|
14385
14368
|
var _useState = useState(initialValue),
|
|
14386
14369
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -14407,7 +14390,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
14407
14390
|
testID = _ref.testID,
|
|
14408
14391
|
_ref$pageControlPosit = _ref.pageControlPosition,
|
|
14409
14392
|
pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
|
|
14410
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
14393
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
14411
14394
|
useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop$1);
|
|
14412
14395
|
useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
|
|
14413
14396
|
var theme = useTheme();
|
|
@@ -19678,7 +19661,7 @@ var StyledChipIcon = index$b(Icon)(function (_ref2) {
|
|
|
19678
19661
|
};
|
|
19679
19662
|
});
|
|
19680
19663
|
|
|
19681
|
-
var _excluded$
|
|
19664
|
+
var _excluded$u = ["label", "variant", "selected", "icon", "onPress", "showSelectedIcon"];
|
|
19682
19665
|
var getChipLabel = function getChipLabel(label) {
|
|
19683
19666
|
if (typeof label === 'string') {
|
|
19684
19667
|
return /*#__PURE__*/React__default.createElement(Typography.Body, {
|
|
@@ -19711,7 +19694,7 @@ var Chip = function Chip(_ref) {
|
|
|
19711
19694
|
onPress = _ref.onPress,
|
|
19712
19695
|
_ref$showSelectedIcon = _ref.showSelectedIcon,
|
|
19713
19696
|
showSelectedIcon = _ref$showSelectedIcon === void 0 ? true : _ref$showSelectedIcon,
|
|
19714
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
19697
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$u);
|
|
19715
19698
|
useDeprecation('Chip variant `outlined` and `filled` are deprecated.', variant === 'outlined' || variant === 'filled');
|
|
19716
19699
|
var renamedVariant = getChipVariant(variant);
|
|
19717
19700
|
var shouldShowSelectedIcon = (renamedVariant === 'selection' || renamedVariant === 'compact-outlined') && selected && showSelectedIcon;
|
|
@@ -19961,7 +19944,7 @@ var StyledErrorAndMaxLengthContainer = index$b(View)(function () {
|
|
|
19961
19944
|
};
|
|
19962
19945
|
});
|
|
19963
19946
|
|
|
19964
|
-
var _excluded$
|
|
19947
|
+
var _excluded$t = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
|
|
19965
19948
|
var getState$3 = function getState(_ref) {
|
|
19966
19949
|
var disabled = _ref.disabled,
|
|
19967
19950
|
error = _ref.error,
|
|
@@ -20075,7 +20058,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref8, ref) {
|
|
|
20075
20058
|
allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
|
|
20076
20059
|
_ref8$variant = _ref8.variant,
|
|
20077
20060
|
variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
|
|
20078
|
-
nativeProps = _objectWithoutProperties(_ref8, _excluded$
|
|
20061
|
+
nativeProps = _objectWithoutProperties(_ref8, _excluded$t);
|
|
20079
20062
|
var displayText = getDisplayText(value, defaultValue);
|
|
20080
20063
|
var isEmptyValue = displayText.length === 0;
|
|
20081
20064
|
var _React$useState = React__default.useState({
|
|
@@ -20651,7 +20634,8 @@ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
|
|
|
20651
20634
|
var StyledPickerWrapper$1 = index$b(View)(function (_ref) {
|
|
20652
20635
|
var theme = _ref.theme;
|
|
20653
20636
|
return {
|
|
20654
|
-
height: theme.__hd__.datePicker.sizes.height
|
|
20637
|
+
height: theme.__hd__.datePicker.sizes.height,
|
|
20638
|
+
alignItems: 'center'
|
|
20655
20639
|
};
|
|
20656
20640
|
});
|
|
20657
20641
|
|
|
@@ -20808,11 +20792,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
|
|
|
20808
20792
|
}));
|
|
20809
20793
|
};
|
|
20810
20794
|
|
|
20811
|
-
var _excluded$
|
|
20795
|
+
var _excluded$s = ["variant"];
|
|
20812
20796
|
var DatePicker = function DatePicker(_ref) {
|
|
20813
20797
|
var _ref$variant = _ref.variant,
|
|
20814
20798
|
variant = _ref$variant === void 0 ? 'default' : _ref$variant,
|
|
20815
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20799
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
20816
20800
|
if (variant === 'calendar') {
|
|
20817
20801
|
return /*#__PURE__*/React__default.createElement(DatePickerCalendar, props);
|
|
20818
20802
|
}
|
|
@@ -22096,7 +22080,7 @@ var Portal$1 = Object.assign(Portal, {
|
|
|
22096
22080
|
Host: PortalHost
|
|
22097
22081
|
});
|
|
22098
22082
|
|
|
22099
|
-
var _excluded$
|
|
22083
|
+
var _excluded$r = ["visible"];
|
|
22100
22084
|
var DEFAULT_BACKDROP_OPACITY = 0.4;
|
|
22101
22085
|
var DEFAULT_ANIMATION_CONFIG = {
|
|
22102
22086
|
easing: Easing.inOut(Easing.cubic),
|
|
@@ -22192,7 +22176,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
22192
22176
|
var ModalWrapper = function ModalWrapper(_ref3) {
|
|
22193
22177
|
var _ref3$visible = _ref3.visible,
|
|
22194
22178
|
visible = _ref3$visible === void 0 ? true : _ref3$visible,
|
|
22195
|
-
props = _objectWithoutProperties(_ref3, _excluded$
|
|
22179
|
+
props = _objectWithoutProperties(_ref3, _excluded$r);
|
|
22196
22180
|
var modalRef = useRef(null);
|
|
22197
22181
|
var _useState = useState(visible),
|
|
22198
22182
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -22303,7 +22287,7 @@ var StyledErrorDescription = index$b(Typography.Body)(function (_ref9) {
|
|
|
22303
22287
|
};
|
|
22304
22288
|
});
|
|
22305
22289
|
|
|
22306
|
-
var _excluded$
|
|
22290
|
+
var _excluded$q = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
|
|
22307
22291
|
_excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
|
|
22308
22292
|
var renderImage$1 = function renderImage(image) {
|
|
22309
22293
|
if (/*#__PURE__*/isValidElement(image)) {
|
|
@@ -22344,7 +22328,7 @@ var ErrorPage = function ErrorPage(_ref2) {
|
|
|
22344
22328
|
secondaryCtaText = _ref2.secondaryCtaText,
|
|
22345
22329
|
onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
|
|
22346
22330
|
icon = _ref2.icon,
|
|
22347
|
-
nativeProps = _objectWithoutProperties(_ref2, _excluded$
|
|
22331
|
+
nativeProps = _objectWithoutProperties(_ref2, _excluded$q);
|
|
22348
22332
|
var showCta = ctaText && onCtaPress !== undefined;
|
|
22349
22333
|
var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
|
|
22350
22334
|
var showButtonContainer = showCta || showSecondaryCta;
|
|
@@ -22570,13 +22554,13 @@ var ActionItem = function ActionItem(_ref) {
|
|
|
22570
22554
|
})), /*#__PURE__*/React__default.createElement(StyledActionItemText, null, title))));
|
|
22571
22555
|
};
|
|
22572
22556
|
|
|
22573
|
-
var _excluded$
|
|
22557
|
+
var _excluded$p = ["active"];
|
|
22574
22558
|
var AnimatedIcons = Animated.createAnimatedComponent(/*#__PURE__*/React__default.forwardRef(function (props, _) {
|
|
22575
22559
|
return /*#__PURE__*/React__default.createElement(StyledFABIcon, props);
|
|
22576
22560
|
}));
|
|
22577
22561
|
var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
|
|
22578
22562
|
var active = _ref.active,
|
|
22579
|
-
iconProps = _objectWithoutProperties(_ref, _excluded$
|
|
22563
|
+
iconProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
22580
22564
|
var rotateAnimation = useRef(new Animated.Value(active ? 1 : 0));
|
|
22581
22565
|
useEffect(function () {
|
|
22582
22566
|
var animation = Animated.spring(rotateAnimation.current, {
|
|
@@ -22941,11 +22925,11 @@ var StyledFAB = index$b(FAB$1)(function (_ref) {
|
|
|
22941
22925
|
};
|
|
22942
22926
|
});
|
|
22943
22927
|
|
|
22944
|
-
var _excluded$
|
|
22928
|
+
var _excluded$o = ["fabConfig", "onCancel"];
|
|
22945
22929
|
var Pair = function Pair(_ref) {
|
|
22946
22930
|
var fabConfig = _ref.fabConfig,
|
|
22947
22931
|
onCancel = _ref.onCancel,
|
|
22948
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
22932
|
+
props = _objectWithoutProperties(_ref, _excluded$o);
|
|
22949
22933
|
var icon = fabConfig.icon,
|
|
22950
22934
|
title = fabConfig.title,
|
|
22951
22935
|
onPress = fabConfig.onPress,
|
|
@@ -23675,11 +23659,11 @@ var StyledFocusIcon = index$b(Icon)(function (_ref7) {
|
|
|
23675
23659
|
};
|
|
23676
23660
|
});
|
|
23677
23661
|
|
|
23678
|
-
var _excluded$
|
|
23662
|
+
var _excluded$n = ["style", "testID"];
|
|
23679
23663
|
var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
23680
23664
|
var style = _ref.style,
|
|
23681
23665
|
testID = _ref.testID,
|
|
23682
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
23666
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$n);
|
|
23683
23667
|
return /*#__PURE__*/React__default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
|
|
23684
23668
|
style: style,
|
|
23685
23669
|
testID: testID
|
|
@@ -23689,7 +23673,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
|
|
|
23689
23673
|
}));
|
|
23690
23674
|
};
|
|
23691
23675
|
|
|
23692
|
-
var _excluded$
|
|
23676
|
+
var _excluded$m = ["style", "testID", "state", "image", "icon"];
|
|
23693
23677
|
var getBadgeIconName = function getBadgeIconName(state) {
|
|
23694
23678
|
var iconMap = {
|
|
23695
23679
|
idle: undefined,
|
|
@@ -23705,7 +23689,7 @@ var MapPin = function MapPin(_ref) {
|
|
|
23705
23689
|
state = _ref$state === void 0 ? 'idle' : _ref$state,
|
|
23706
23690
|
image = _ref.image,
|
|
23707
23691
|
icon = _ref.icon,
|
|
23708
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
23692
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
23709
23693
|
var badgeIcon = getBadgeIconName(state);
|
|
23710
23694
|
return /*#__PURE__*/React__default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
|
|
23711
23695
|
style: style,
|
|
@@ -23734,7 +23718,7 @@ var StyledWrapper$6 = index$b(View)(function () {
|
|
|
23734
23718
|
alignContent: 'flex-start'
|
|
23735
23719
|
};
|
|
23736
23720
|
});
|
|
23737
|
-
var StyledPinWrapper = index$b(
|
|
23721
|
+
var StyledPinWrapper = index$b(Pressable)(function () {
|
|
23738
23722
|
return {
|
|
23739
23723
|
flexDirection: 'row'
|
|
23740
23724
|
};
|
|
@@ -23833,7 +23817,11 @@ function PinCell(_ref) {
|
|
|
23833
23817
|
state = _ref$state === void 0 ? 'default' : _ref$state;
|
|
23834
23818
|
return /*#__PURE__*/React__default.createElement(StyledCell, {
|
|
23835
23819
|
themeFocused: focused,
|
|
23836
|
-
themeState: state
|
|
23820
|
+
themeState: state,
|
|
23821
|
+
accessibilityState: {
|
|
23822
|
+
selected: focused
|
|
23823
|
+
},
|
|
23824
|
+
testID: "pin-cell"
|
|
23837
23825
|
}, value === '' && /*#__PURE__*/React__default.createElement(StyledMask, {
|
|
23838
23826
|
themeState: state,
|
|
23839
23827
|
testID: "pin-cell-mask"
|
|
@@ -23941,7 +23929,11 @@ var PinInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
23941
23929
|
return /*#__PURE__*/React__default.createElement(StyledWrapper$6, {
|
|
23942
23930
|
style: style,
|
|
23943
23931
|
testID: testID
|
|
23944
|
-
}, /*#__PURE__*/React__default.createElement(StyledPinWrapper,
|
|
23932
|
+
}, /*#__PURE__*/React__default.createElement(StyledPinWrapper, {
|
|
23933
|
+
onPress: focus,
|
|
23934
|
+
disabled: disabled,
|
|
23935
|
+
testID: "pin-wrapper"
|
|
23936
|
+
}, _toConsumableArray(Array(length).keys()).map(function (index) {
|
|
23945
23937
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
23946
23938
|
key: index
|
|
23947
23939
|
}, index !== 0 && /*#__PURE__*/React__default.createElement(StyledSpacer, null), /*#__PURE__*/React__default.createElement(PinCell, {
|
|
@@ -23965,7 +23957,7 @@ var PinInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
23965
23957
|
autoFocus: autoFocus,
|
|
23966
23958
|
onFocus: focus,
|
|
23967
23959
|
onBlur: blur,
|
|
23968
|
-
pointerEvents: "
|
|
23960
|
+
pointerEvents: "none",
|
|
23969
23961
|
keyboardType: "numeric",
|
|
23970
23962
|
testID: "pin-hidden-input",
|
|
23971
23963
|
textContentType: textContentType,
|
|
@@ -24013,7 +24005,7 @@ var THEME_INTENT_MAP = {
|
|
|
24013
24005
|
'archived-inverted': 'archivedInverted'
|
|
24014
24006
|
};
|
|
24015
24007
|
|
|
24016
|
-
var _excluded$
|
|
24008
|
+
var _excluded$l = ["value", "renderValue", "intent", "style", "testID"];
|
|
24017
24009
|
var defaultRenderValue = function defaultRenderValue(value) {
|
|
24018
24010
|
return "".concat(value, "%");
|
|
24019
24011
|
};
|
|
@@ -24026,7 +24018,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
|
|
|
24026
24018
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
24027
24019
|
style = _ref.style,
|
|
24028
24020
|
testID = _ref.testID,
|
|
24029
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
24021
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$l);
|
|
24030
24022
|
var theme = useTheme$1();
|
|
24031
24023
|
var size = theme.__hd__.progress.sizes.circleDiameter;
|
|
24032
24024
|
var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
|
|
@@ -24096,14 +24088,14 @@ var StyledInner = index$b(Animated.View)(function (_ref2) {
|
|
|
24096
24088
|
};
|
|
24097
24089
|
});
|
|
24098
24090
|
|
|
24099
|
-
var _excluded$
|
|
24091
|
+
var _excluded$k = ["value", "intent", "style", "testID"];
|
|
24100
24092
|
var ProgressBar = function ProgressBar(_ref) {
|
|
24101
24093
|
var value = _ref.value,
|
|
24102
24094
|
_ref$intent = _ref.intent,
|
|
24103
24095
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
24104
24096
|
style = _ref.style,
|
|
24105
24097
|
testID = _ref.testID,
|
|
24106
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
24098
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$k);
|
|
24107
24099
|
var _useState = useState(0),
|
|
24108
24100
|
_useState2 = _slicedToArray(_useState, 2),
|
|
24109
24101
|
width = _useState2[0],
|
|
@@ -24193,7 +24185,7 @@ var StyledSingleStep = index$b(Box)(function (_ref3) {
|
|
|
24193
24185
|
};
|
|
24194
24186
|
});
|
|
24195
24187
|
|
|
24196
|
-
var _excluded$
|
|
24188
|
+
var _excluded$j = ["steps", "current", "onLayout"];
|
|
24197
24189
|
var getStepState = function getStepState(current, index) {
|
|
24198
24190
|
if (index < current) {
|
|
24199
24191
|
return 'complete';
|
|
@@ -24207,7 +24199,7 @@ var ProgressStep = function ProgressStep(_ref) {
|
|
|
24207
24199
|
var steps = _ref.steps,
|
|
24208
24200
|
current = _ref.current,
|
|
24209
24201
|
onLayout = _ref.onLayout,
|
|
24210
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
24202
|
+
props = _objectWithoutProperties(_ref, _excluded$j);
|
|
24211
24203
|
var theme = useTheme$1();
|
|
24212
24204
|
var _React$useState = React__default.useState(0),
|
|
24213
24205
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -24516,14 +24508,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
|
|
|
24516
24508
|
}, dotProps))));
|
|
24517
24509
|
};
|
|
24518
24510
|
|
|
24519
|
-
var _excluded$
|
|
24511
|
+
var _excluded$i = ["testID", "size", "intent"];
|
|
24520
24512
|
var Spinner = function Spinner(_ref) {
|
|
24521
24513
|
var testID = _ref.testID,
|
|
24522
24514
|
_ref$size = _ref.size,
|
|
24523
24515
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
24524
24516
|
_ref$intent = _ref.intent,
|
|
24525
24517
|
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
24526
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
24518
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$i);
|
|
24527
24519
|
return /*#__PURE__*/React__default.createElement(StyledView$1, nativeProps, /*#__PURE__*/React__default.createElement(StyledSpinnerContainer, {
|
|
24528
24520
|
testID: testID
|
|
24529
24521
|
}, /*#__PURE__*/React__default.createElement(AnimatedSpinner, {
|
|
@@ -24556,7 +24548,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
|
|
|
24556
24548
|
}, children);
|
|
24557
24549
|
};
|
|
24558
24550
|
|
|
24559
|
-
var _excluded$
|
|
24551
|
+
var _excluded$h = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
|
|
24560
24552
|
var renderActions = function renderActions(actions, width, progress, direction) {
|
|
24561
24553
|
var trans = progress.interpolate({
|
|
24562
24554
|
inputRange: [0, 1],
|
|
@@ -24585,7 +24577,7 @@ var Swipeable = function Swipeable(_ref) {
|
|
|
24585
24577
|
rightActionsWidth = _ref.rightActionsWidth,
|
|
24586
24578
|
_ref$variant = _ref.variant,
|
|
24587
24579
|
variant = _ref$variant === void 0 ? 'card' : _ref$variant,
|
|
24588
|
-
swipeableProps = _objectWithoutProperties(_ref, _excluded$
|
|
24580
|
+
swipeableProps = _objectWithoutProperties(_ref, _excluded$h);
|
|
24589
24581
|
var theme = useTheme();
|
|
24590
24582
|
var _useWindowDimensions = useWindowDimensions(),
|
|
24591
24583
|
width = _useWindowDimensions.width;
|
|
@@ -24912,7 +24904,7 @@ var StyledSectionList = index$b(SectionList)(function (_ref4) {
|
|
|
24912
24904
|
};
|
|
24913
24905
|
});
|
|
24914
24906
|
|
|
24915
|
-
var _excluded$
|
|
24907
|
+
var _excluded$g = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
|
|
24916
24908
|
var BaseOptionList = function BaseOptionList(_ref) {
|
|
24917
24909
|
var keyExtractor = _ref.keyExtractor,
|
|
24918
24910
|
loading = _ref.loading,
|
|
@@ -24921,7 +24913,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
|
|
|
24921
24913
|
sections = _ref.sections,
|
|
24922
24914
|
renderItem = _ref.renderItem,
|
|
24923
24915
|
sectionListRef = _ref.sectionListRef,
|
|
24924
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
24916
|
+
rest = _objectWithoutProperties(_ref, _excluded$g);
|
|
24925
24917
|
var theme = useTheme$1();
|
|
24926
24918
|
var _useState = useState(false),
|
|
24927
24919
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -25003,7 +24995,7 @@ var isOptionSelected = function isOptionSelected(value, option) {
|
|
|
25003
24995
|
});
|
|
25004
24996
|
};
|
|
25005
24997
|
|
|
25006
|
-
var _excluded$
|
|
24998
|
+
var _excluded$f = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
|
|
25007
24999
|
var OptionList$1 = function OptionList(_ref) {
|
|
25008
25000
|
var keyExtractor = _ref.keyExtractor,
|
|
25009
25001
|
loading = _ref.loading,
|
|
@@ -25014,7 +25006,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
25014
25006
|
renderOption = _ref.renderOption,
|
|
25015
25007
|
value = _ref.value,
|
|
25016
25008
|
sectionListRef = _ref.sectionListRef,
|
|
25017
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25009
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
25018
25010
|
var renderItem = function renderItem(info) {
|
|
25019
25011
|
var item = info.item;
|
|
25020
25012
|
var selected = isOptionSelected(value, item);
|
|
@@ -25049,6 +25041,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
25049
25041
|
}, rest));
|
|
25050
25042
|
};
|
|
25051
25043
|
|
|
25044
|
+
var _excluded$e = ["footerLabel", "label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig"];
|
|
25052
25045
|
function MultiSelect(_ref) {
|
|
25053
25046
|
var footerLabel = _ref.footerLabel,
|
|
25054
25047
|
label = _ref.label,
|
|
@@ -25075,7 +25068,8 @@ function MultiSelect(_ref) {
|
|
|
25075
25068
|
_ref$supportedOrienta = _ref.supportedOrientations,
|
|
25076
25069
|
supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
|
|
25077
25070
|
_ref$bottomSheetConfi = _ref.bottomSheetConfig,
|
|
25078
|
-
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi
|
|
25071
|
+
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
|
|
25072
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
25079
25073
|
var _useKeyboard = useKeyboard(),
|
|
25080
25074
|
isKeyboardVisible = _useKeyboard.isKeyboardVisible,
|
|
25081
25075
|
keyboardHeight = _useKeyboard.keyboardHeight;
|
|
@@ -25098,6 +25092,7 @@ function MultiSelect(_ref) {
|
|
|
25098
25092
|
var rawValue = value.length > 0 ? value.join(', ') : '';
|
|
25099
25093
|
var bottomSheetVariant = bottomSheetConfig.variant,
|
|
25100
25094
|
bottomSheetHeader = bottomSheetConfig.header;
|
|
25095
|
+
var TextInputComponent = rest.TextInputComponent || TextInput;
|
|
25101
25096
|
useEffect(function () {
|
|
25102
25097
|
setSelectingValue(value);
|
|
25103
25098
|
}, [open, value]);
|
|
@@ -25109,7 +25104,7 @@ function MultiSelect(_ref) {
|
|
|
25109
25104
|
}
|
|
25110
25105
|
}, /*#__PURE__*/React__default.createElement(View, {
|
|
25111
25106
|
pointerEvents: "none"
|
|
25112
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
25107
|
+
}, /*#__PURE__*/React__default.createElement(TextInputComponent, _extends$1({}, inputProps, {
|
|
25113
25108
|
label: label,
|
|
25114
25109
|
value: renderSelectedValue ? rawValue : displayedValue,
|
|
25115
25110
|
suffix: "arrow-down",
|
|
@@ -25159,7 +25154,7 @@ function MultiSelect(_ref) {
|
|
|
25159
25154
|
}
|
|
25160
25155
|
},
|
|
25161
25156
|
supportedOrientations: supportedOrientations
|
|
25162
|
-
}, onQueryChange && /*#__PURE__*/React__default.createElement(StyledSearchBar, null, /*#__PURE__*/React__default.createElement(
|
|
25157
|
+
}, onQueryChange && /*#__PURE__*/React__default.createElement(StyledSearchBar, null, /*#__PURE__*/React__default.createElement(TextInputComponent, {
|
|
25163
25158
|
editable: true,
|
|
25164
25159
|
placeholder: "Search",
|
|
25165
25160
|
suffix: "search-outlined",
|
|
@@ -25210,7 +25205,7 @@ var StyledOptionList = index$b(BaseOptionList)(function (_ref) {
|
|
|
25210
25205
|
};
|
|
25211
25206
|
});
|
|
25212
25207
|
|
|
25213
|
-
var _excluded$
|
|
25208
|
+
var _excluded$d = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
|
|
25214
25209
|
var OptionList = function OptionList(_ref) {
|
|
25215
25210
|
var keyExtractor = _ref.keyExtractor,
|
|
25216
25211
|
loading = _ref.loading,
|
|
@@ -25221,7 +25216,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
25221
25216
|
renderOption = _ref.renderOption,
|
|
25222
25217
|
value = _ref.value,
|
|
25223
25218
|
sectionListRef = _ref.sectionListRef,
|
|
25224
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
25219
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
25225
25220
|
var renderItem = function renderItem(info) {
|
|
25226
25221
|
var item = info.item;
|
|
25227
25222
|
var selected = _deepCompareValue(item.value, value);
|
|
@@ -25257,6 +25252,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
25257
25252
|
}, rest));
|
|
25258
25253
|
};
|
|
25259
25254
|
|
|
25255
|
+
var _excluded$c = ["label", "loading", "inputProps", "onConfirm", "onDismiss", "onEndReached", "onQueryChange", "options", "renderOption", "renderSelectedValue", "query", "error", "editable", "disabled", "required", "style", "testID", "value", "supportedOrientations", "bottomSheetConfig"];
|
|
25260
25256
|
var SingleSelect = function SingleSelect(_ref) {
|
|
25261
25257
|
var _flatOptions$find;
|
|
25262
25258
|
var label = _ref.label,
|
|
@@ -25283,7 +25279,8 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
25283
25279
|
_ref$supportedOrienta = _ref.supportedOrientations,
|
|
25284
25280
|
supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
|
|
25285
25281
|
_ref$bottomSheetConfi = _ref.bottomSheetConfig,
|
|
25286
|
-
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi
|
|
25282
|
+
bottomSheetConfig = _ref$bottomSheetConfi === void 0 ? {} : _ref$bottomSheetConfi,
|
|
25283
|
+
rest = _objectWithoutProperties(_ref, _excluded$c);
|
|
25287
25284
|
var _useKeyboard = useKeyboard(),
|
|
25288
25285
|
isKeyboardVisible = _useKeyboard.isKeyboardVisible,
|
|
25289
25286
|
keyboardHeight = _useKeyboard.keyboardHeight;
|
|
@@ -25300,6 +25297,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
25300
25297
|
var rawValue = value ? String(value) : undefined;
|
|
25301
25298
|
var bottomSheetVariant = bottomSheetConfig.variant,
|
|
25302
25299
|
bottomSheetHeader = bottomSheetConfig.header;
|
|
25300
|
+
var TextInputComponent = rest.TextInputComponent || TextInput;
|
|
25303
25301
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(View, {
|
|
25304
25302
|
pointerEvents: !editable || disabled || inputProps !== null && inputProps !== void 0 && inputProps.loading ? 'none' : 'auto'
|
|
25305
25303
|
}, /*#__PURE__*/React__default.createElement(TouchableOpacity, {
|
|
@@ -25308,7 +25306,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
25308
25306
|
}
|
|
25309
25307
|
}, /*#__PURE__*/React__default.createElement(View, {
|
|
25310
25308
|
pointerEvents: "none"
|
|
25311
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
25309
|
+
}, /*#__PURE__*/React__default.createElement(TextInputComponent, _extends$1({}, inputProps, {
|
|
25312
25310
|
label: label,
|
|
25313
25311
|
value: renderSelectedValue ? rawValue : displayedValue,
|
|
25314
25312
|
suffix: "arrow-down",
|
|
@@ -25342,7 +25340,7 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
25342
25340
|
}
|
|
25343
25341
|
},
|
|
25344
25342
|
supportedOrientations: supportedOrientations
|
|
25345
|
-
}, onQueryChange && /*#__PURE__*/React__default.createElement(StyledSearchBar, null, /*#__PURE__*/React__default.createElement(
|
|
25343
|
+
}, onQueryChange && /*#__PURE__*/React__default.createElement(StyledSearchBar, null, /*#__PURE__*/React__default.createElement(TextInputComponent, {
|
|
25346
25344
|
editable: true,
|
|
25347
25345
|
placeholder: "Search",
|
|
25348
25346
|
suffix: "search-outlined",
|
|
@@ -26708,7 +26706,8 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
|
|
|
26708
26706
|
var StyledPickerWrapper = index$b(View)(function (_ref) {
|
|
26709
26707
|
var theme = _ref.theme;
|
|
26710
26708
|
return {
|
|
26711
|
-
height: theme.__hd__.timePicker.sizes.height
|
|
26709
|
+
height: theme.__hd__.timePicker.sizes.height,
|
|
26710
|
+
alignItems: 'center'
|
|
26712
26711
|
};
|
|
26713
26712
|
});
|
|
26714
26713
|
|