@hero-design/rn 7.21.0 → 7.22.1
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/.eslintrc.js +11 -0
- package/.turbo/turbo-build.log +9 -9
- package/babel.config.js +1 -1
- package/es/index.js +377 -263
- package/lib/index.js +380 -266
- package/package.json +7 -15
- package/src/components/BottomNavigation/__tests__/index.spec.tsx +1 -1
- package/src/components/BottomNavigation/index.tsx +3 -3
- package/src/components/BottomSheet/StyledBottomSheet.tsx +10 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +326 -292
- package/src/components/BottomSheet/index.tsx +46 -26
- package/src/components/Box/helpers.ts +1 -1
- package/src/components/Calendar/index.tsx +9 -9
- package/src/components/Collapse/index.tsx +1 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +176 -159
- package/src/components/Drawer/DragableDrawer/helpers.ts +7 -3
- package/src/components/FAB/ActionGroup/index.tsx +1 -1
- package/src/components/Icon/HeroIcon/selection.json +7029 -1
- package/src/components/PinInput/index.tsx +1 -1
- package/src/components/RichTextEditor/EditorToolbar.tsx +3 -3
- package/src/components/RichTextEditor/RichTextEditor.tsx +5 -5
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +2 -2
- package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +1 -1
- package/src/components/Select/MultiSelect/OptionList.tsx +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +4691 -4606
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +1 -1
- package/src/components/Select/MultiSelect/index.tsx +3 -3
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +4245 -4160
- package/src/components/Select/SingleSelect/index.tsx +3 -3
- package/src/components/Select/helpers.tsx +4 -4
- package/src/components/Slider/index.tsx +1 -1
- package/src/components/Switch/SelectorSwitch/Option.tsx +67 -0
- package/src/components/Switch/SelectorSwitch/StyledSelectorSwitch.tsx +25 -0
- package/src/components/Switch/SelectorSwitch/__tests__/Option.spec.tsx +61 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +195 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +121 -0
- package/src/components/Switch/SelectorSwitch/__tests__/index.spec.tsx +62 -0
- package/src/components/Switch/SelectorSwitch/index.tsx +60 -0
- package/src/components/Switch/index.tsx +4 -1
- package/src/components/Tabs/ScrollableTabs.tsx +12 -5
- package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +1 -1
- package/src/components/Tabs/__tests__/index.spec.tsx +1 -1
- package/src/components/Tabs/index.tsx +13 -6
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3 -1
- package/src/components/TextInput/__tests__/index.spec.tsx +114 -112
- package/src/components/TextInput/index.tsx +29 -30
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +176 -159
- package/src/components/Toast/ToastContainer.tsx +6 -6
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +14 -12
- package/src/theme/components/switch.ts +14 -18
- package/testUtils/setup.tsx +1 -1
- package/tsconfig.json +1 -1
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -2
- package/types/components/BottomSheet/index.d.ts +6 -1
- package/types/components/Slider/index.d.ts +1 -1
- package/types/components/Switch/SelectorSwitch/Option.d.ts +10 -0
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +19 -0
- package/types/components/Switch/SelectorSwitch/__tests__/Option.spec.d.ts +1 -0
- package/types/components/Switch/SelectorSwitch/__tests__/index.spec.d.ts +1 -0
- package/types/components/Switch/SelectorSwitch/index.d.ts +37 -0
- package/types/components/Switch/index.d.ts +5 -3
- package/types/components/Tabs/ScrollableTabs.d.ts +1 -1
- package/types/components/Tabs/index.d.ts +2 -2
- package/types/components/TextInput/index.d.ts +4 -4
- package/types/theme/components/switch.d.ts +14 -12
- package/.eslintrc.json +0 -62
- package/.prettierrc.json +0 -8
package/lib/index.js
CHANGED
|
@@ -2324,19 +2324,11 @@ var getSwitchTheme = function getSwitchTheme(theme) {
|
|
|
2324
2324
|
'disabled-checked': theme.colors.primaryLight,
|
|
2325
2325
|
'disabled-unchecked': theme.colors.archived
|
|
2326
2326
|
},
|
|
2327
|
-
thumb: theme.colors.platformBackground
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
};
|
|
2333
|
-
var widths = {
|
|
2334
|
-
small: theme.space.xxxlarge,
|
|
2335
|
-
medium: theme.space.xxxxlarge
|
|
2336
|
-
};
|
|
2337
|
-
var heights = {
|
|
2338
|
-
small: theme.space.large,
|
|
2339
|
-
medium: theme.space.large * 1.2
|
|
2327
|
+
thumb: theme.colors.platformBackground,
|
|
2328
|
+
selector: {
|
|
2329
|
+
background: theme.colors.__alpha__globalNeutral3,
|
|
2330
|
+
textBackground: theme.colors.__alpha__primary1
|
|
2331
|
+
}
|
|
2340
2332
|
};
|
|
2341
2333
|
var sizes = {
|
|
2342
2334
|
thumbs: {
|
|
@@ -2350,21 +2342,28 @@ var getSwitchTheme = function getSwitchTheme(theme) {
|
|
|
2350
2342
|
heights: {
|
|
2351
2343
|
small: theme.sizes.large,
|
|
2352
2344
|
medium: theme.sizes.xlarge
|
|
2345
|
+
},
|
|
2346
|
+
selector: {
|
|
2347
|
+
height: theme.sizes.xxxxlarge
|
|
2353
2348
|
}
|
|
2354
2349
|
};
|
|
2355
2350
|
var spaces = {
|
|
2356
2351
|
small: theme.space.xsmall,
|
|
2357
|
-
medium: theme.space.xsmall
|
|
2352
|
+
medium: theme.space.xsmall,
|
|
2353
|
+
selector: {
|
|
2354
|
+
iconPadding: theme.space.medium,
|
|
2355
|
+
wrapperPadding: theme.space.xsmall
|
|
2356
|
+
}
|
|
2358
2357
|
};
|
|
2359
2358
|
var radii = {
|
|
2360
|
-
rounded: theme.radii.rounded
|
|
2359
|
+
rounded: theme.radii.rounded,
|
|
2360
|
+
selector: {
|
|
2361
|
+
"default": theme.radii.rounded
|
|
2362
|
+
}
|
|
2361
2363
|
};
|
|
2362
2364
|
return {
|
|
2363
2365
|
colors: colors,
|
|
2364
2366
|
sizes: sizes,
|
|
2365
|
-
thumbSizes: thumbSizes,
|
|
2366
|
-
widths: widths,
|
|
2367
|
-
heights: heights,
|
|
2368
2367
|
spaces: spaces,
|
|
2369
2368
|
radii: radii
|
|
2370
2369
|
};
|
|
@@ -5929,7 +5928,7 @@ var getDisplayName = function getDisplayName(primitive) {
|
|
|
5929
5928
|
|
|
5930
5929
|
var styled = createStyled(reactNative.StyleSheet);
|
|
5931
5930
|
var components = ['ActivityIndicator', 'Button', 'DatePickerIOS', 'DrawerLayoutAndroid', 'FlatList', 'Image', 'ImageBackground', 'KeyboardAvoidingView', 'ListView', 'Modal', 'NavigatorIOS', 'Picker', 'PickerIOS', 'Pressable', 'ProgressBarAndroid', 'ProgressViewIOS', 'RecyclerViewBackedScrollView', 'RefreshControl', 'SafeAreaView', 'ScrollView', 'SectionList', 'SegmentedControlIOS', 'Slider', 'SnapshotViewIOS', 'StatusBar', 'SwipeableListView', 'Switch', 'SwitchIOS', 'TabBarIOS', 'Text', 'TextInput', 'ToolbarAndroid', 'TouchableHighlight', 'TouchableNativeFeedback', 'TouchableOpacity', 'TouchableWithoutFeedback', 'View', 'ViewPagerAndroid'];
|
|
5932
|
-
var index$
|
|
5931
|
+
var index$8 = components.reduce(function (acc, comp) {
|
|
5933
5932
|
return Object.defineProperty(acc, comp, {
|
|
5934
5933
|
enumerable: true,
|
|
5935
5934
|
configurable: false,
|
|
@@ -5939,7 +5938,7 @@ var index$7 = components.reduce(function (acc, comp) {
|
|
|
5939
5938
|
});
|
|
5940
5939
|
}, styled);
|
|
5941
5940
|
|
|
5942
|
-
var StyledWrapper$
|
|
5941
|
+
var StyledWrapper$9 = index$8(reactNative.Animated.View)(function () {
|
|
5943
5942
|
return {
|
|
5944
5943
|
margin: 0,
|
|
5945
5944
|
padding: 0,
|
|
@@ -5952,12 +5951,12 @@ var StyledWrapper$8 = index$7(reactNative.Animated.View)(function () {
|
|
|
5952
5951
|
* to use with Animated.timing
|
|
5953
5952
|
*/
|
|
5954
5953
|
|
|
5955
|
-
var StyledHiddenWrapper = index$
|
|
5954
|
+
var StyledHiddenWrapper = index$8(reactNative.View)(function () {
|
|
5956
5955
|
return {
|
|
5957
5956
|
height: reactNative.Dimensions.get('window').height
|
|
5958
5957
|
};
|
|
5959
5958
|
});
|
|
5960
|
-
var StyledChildWrapper = index$
|
|
5959
|
+
var StyledChildWrapper = index$8(reactNative.View)(function () {
|
|
5961
5960
|
return {
|
|
5962
5961
|
margin: 0,
|
|
5963
5962
|
padding: 0
|
|
@@ -5999,7 +5998,7 @@ var Collapse = function Collapse(_ref) {
|
|
|
5999
5998
|
var height = _ref2.height;
|
|
6000
5999
|
setContentHeight(height);
|
|
6001
6000
|
}, []);
|
|
6002
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
6001
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$9, {
|
|
6003
6002
|
style: {
|
|
6004
6003
|
height: collapseAnim
|
|
6005
6004
|
},
|
|
@@ -6012,10 +6011,10 @@ var Collapse = function Collapse(_ref) {
|
|
|
6012
6011
|
}, children)));
|
|
6013
6012
|
};
|
|
6014
6013
|
|
|
6015
|
-
var StyledWrapper$
|
|
6014
|
+
var StyledWrapper$8 = index$8(reactNative.View)(function () {
|
|
6016
6015
|
return {};
|
|
6017
6016
|
});
|
|
6018
|
-
var StyledItemWrapper = index$
|
|
6017
|
+
var StyledItemWrapper = index$8(reactNative.View)(function (_ref) {
|
|
6019
6018
|
var theme = _ref.theme,
|
|
6020
6019
|
themeVariant = _ref.themeVariant;
|
|
6021
6020
|
return {
|
|
@@ -6024,19 +6023,19 @@ var StyledItemWrapper = index$7(reactNative.View)(function (_ref) {
|
|
|
6024
6023
|
borderRadius: themeVariant === 'card' ? theme.__hd__.accordion.radii.card : 0
|
|
6025
6024
|
};
|
|
6026
6025
|
});
|
|
6027
|
-
var StyledHeaderWrapper$1 = index$
|
|
6026
|
+
var StyledHeaderWrapper$1 = index$8(reactNative.TouchableOpacity)(function () {
|
|
6028
6027
|
return {
|
|
6029
6028
|
flexDirection: 'row',
|
|
6030
6029
|
justifyContent: 'space-between'
|
|
6031
6030
|
};
|
|
6032
6031
|
});
|
|
6033
|
-
var StyledCollapse = index$
|
|
6032
|
+
var StyledCollapse = index$8(Collapse)(function (_ref2) {
|
|
6034
6033
|
var theme = _ref2.theme;
|
|
6035
6034
|
return {
|
|
6036
6035
|
paddingTop: theme.__hd__.accordion.space.padding
|
|
6037
6036
|
};
|
|
6038
6037
|
});
|
|
6039
|
-
var Spacer$1 = index$
|
|
6038
|
+
var Spacer$1 = index$8(reactNative.View)(function (_ref3) {
|
|
6040
6039
|
var theme = _ref3.theme;
|
|
6041
6040
|
return {
|
|
6042
6041
|
paddingTop: theme.__hd__.accordion.space.padding
|
|
@@ -6048,7 +6047,7 @@ var FONTWEIGHT_MAP = {
|
|
|
6048
6047
|
regular: 'regular',
|
|
6049
6048
|
'semi-bold': 'semiBold'
|
|
6050
6049
|
};
|
|
6051
|
-
var StyledText$3 = index$
|
|
6050
|
+
var StyledText$3 = index$8(reactNative.Text)(function (_ref) {
|
|
6052
6051
|
var themeFontSize = _ref.themeFontSize,
|
|
6053
6052
|
themeFontWeight = _ref.themeFontWeight,
|
|
6054
6053
|
themeIntent = _ref.themeIntent,
|
|
@@ -14609,7 +14608,7 @@ var COLOR_INTENTS = {
|
|
|
14609
14608
|
'disabled-text': 'disabledText',
|
|
14610
14609
|
'text-inverted': 'invertedText'
|
|
14611
14610
|
};
|
|
14612
|
-
var StyledHeroIcon = index$
|
|
14611
|
+
var StyledHeroIcon = index$8(HeroIcon)(function (_ref) {
|
|
14613
14612
|
var themeIntent = _ref.themeIntent,
|
|
14614
14613
|
themeSize = _ref.themeSize,
|
|
14615
14614
|
theme = _ref.theme;
|
|
@@ -14732,7 +14731,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
14732
14731
|
_activeItemKey = _usePropsOrInternalSt2[0],
|
|
14733
14732
|
_onItemPress = _usePropsOrInternalSt2[1];
|
|
14734
14733
|
|
|
14735
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
14734
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$8, {
|
|
14736
14735
|
style: style,
|
|
14737
14736
|
testID: testID
|
|
14738
14737
|
}, items.map(function (_ref2, index) {
|
|
@@ -14754,7 +14753,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
14754
14753
|
}));
|
|
14755
14754
|
};
|
|
14756
14755
|
|
|
14757
|
-
var Container$1 = index$
|
|
14756
|
+
var Container$1 = index$8(reactNative.View)(function (_ref) {
|
|
14758
14757
|
var theme = _ref.theme,
|
|
14759
14758
|
_ref$themeVariant = _ref.themeVariant,
|
|
14760
14759
|
themeVariant = _ref$themeVariant === void 0 ? 'default' : _ref$themeVariant,
|
|
@@ -14766,21 +14765,21 @@ var Container$1 = index$7(reactNative.View)(function (_ref) {
|
|
|
14766
14765
|
flexDirection: 'row'
|
|
14767
14766
|
};
|
|
14768
14767
|
});
|
|
14769
|
-
var IconContainer$1 = index$
|
|
14768
|
+
var IconContainer$1 = index$8(reactNative.View)(function (_ref2) {
|
|
14770
14769
|
var theme = _ref2.theme;
|
|
14771
14770
|
return {
|
|
14772
14771
|
alignItems: 'center',
|
|
14773
14772
|
paddingLeft: theme.__hd__.alert.space.iconLeftPadding
|
|
14774
14773
|
};
|
|
14775
14774
|
});
|
|
14776
|
-
var TextContainer$1 = index$
|
|
14775
|
+
var TextContainer$1 = index$8(reactNative.View)(function (_ref3) {
|
|
14777
14776
|
var theme = _ref3.theme;
|
|
14778
14777
|
return {
|
|
14779
14778
|
paddingHorizontal: theme.__hd__.alert.space.textPaddingHorizontal,
|
|
14780
14779
|
flex: 1
|
|
14781
14780
|
};
|
|
14782
14781
|
});
|
|
14783
|
-
var ContentContainer$1 = index$
|
|
14782
|
+
var ContentContainer$1 = index$8(reactNative.View)(function (_ref4) {
|
|
14784
14783
|
var theme = _ref4.theme,
|
|
14785
14784
|
showDivider = _ref4.showDivider;
|
|
14786
14785
|
return {
|
|
@@ -14791,7 +14790,7 @@ var ContentContainer$1 = index$7(reactNative.View)(function (_ref4) {
|
|
|
14791
14790
|
flexDirection: 'row'
|
|
14792
14791
|
};
|
|
14793
14792
|
});
|
|
14794
|
-
var CTAWrapper$1 = index$
|
|
14793
|
+
var CTAWrapper$1 = index$8(reactNative.TouchableOpacity)(function (_ref5) {
|
|
14795
14794
|
var theme = _ref5.theme;
|
|
14796
14795
|
return {
|
|
14797
14796
|
paddingHorizontal: theme.__hd__.alert.space.ctaPadding,
|
|
@@ -14859,7 +14858,7 @@ var Alert = function Alert(_ref2) {
|
|
|
14859
14858
|
})) : null);
|
|
14860
14859
|
};
|
|
14861
14860
|
|
|
14862
|
-
var StyledPressable = index$
|
|
14861
|
+
var StyledPressable = index$8(reactNative.TouchableOpacity)(function (_ref) {
|
|
14863
14862
|
var themeSize = _ref.themeSize,
|
|
14864
14863
|
themeIntent = _ref.themeIntent,
|
|
14865
14864
|
theme = _ref.theme;
|
|
@@ -14872,7 +14871,7 @@ var StyledPressable = index$7(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
14872
14871
|
overflow: 'hidden'
|
|
14873
14872
|
};
|
|
14874
14873
|
});
|
|
14875
|
-
var StyledView$3 = index$
|
|
14874
|
+
var StyledView$3 = index$8(reactNative.View)(function (_ref2) {
|
|
14876
14875
|
var themeSize = _ref2.themeSize,
|
|
14877
14876
|
themeIntent = _ref2.themeIntent,
|
|
14878
14877
|
theme = _ref2.theme;
|
|
@@ -14885,7 +14884,7 @@ var StyledView$3 = index$7(reactNative.View)(function (_ref2) {
|
|
|
14885
14884
|
overflow: 'hidden'
|
|
14886
14885
|
};
|
|
14887
14886
|
});
|
|
14888
|
-
var StyledTextWrapper = index$
|
|
14887
|
+
var StyledTextWrapper$1 = index$8(reactNative.View)(function () {
|
|
14889
14888
|
return {
|
|
14890
14889
|
alignItems: 'center',
|
|
14891
14890
|
justifyContent: 'center',
|
|
@@ -14894,7 +14893,7 @@ var StyledTextWrapper = index$7(reactNative.View)(function () {
|
|
|
14894
14893
|
height: '100%'
|
|
14895
14894
|
};
|
|
14896
14895
|
});
|
|
14897
|
-
var StyledText$2 = index$
|
|
14896
|
+
var StyledText$2 = index$8(reactNative.Text)(function (_ref3) {
|
|
14898
14897
|
var themeSize = _ref3.themeSize,
|
|
14899
14898
|
themeIntent = _ref3.themeIntent,
|
|
14900
14899
|
theme = _ref3.theme;
|
|
@@ -14904,7 +14903,7 @@ var StyledText$2 = index$7(reactNative.Text)(function (_ref3) {
|
|
|
14904
14903
|
overflow: 'hidden'
|
|
14905
14904
|
};
|
|
14906
14905
|
});
|
|
14907
|
-
var StyledImage = index$
|
|
14906
|
+
var StyledImage = index$8(reactNative.Image)(function (_ref4) {
|
|
14908
14907
|
var themeSize = _ref4.themeSize,
|
|
14909
14908
|
theme = _ref4.theme;
|
|
14910
14909
|
return {
|
|
@@ -14930,7 +14929,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
14930
14929
|
themeIntent: intent,
|
|
14931
14930
|
themeSize: size,
|
|
14932
14931
|
style: style
|
|
14933
|
-
}, title !== undefined && source === undefined && /*#__PURE__*/React__default["default"].createElement(StyledTextWrapper, null, /*#__PURE__*/React__default["default"].createElement(StyledText$2, {
|
|
14932
|
+
}, title !== undefined && source === undefined && /*#__PURE__*/React__default["default"].createElement(StyledTextWrapper$1, null, /*#__PURE__*/React__default["default"].createElement(StyledText$2, {
|
|
14934
14933
|
themeIntent: intent,
|
|
14935
14934
|
themeSize: size
|
|
14936
14935
|
}, title)), source !== undefined && /*#__PURE__*/React__default["default"].createElement(StyledImage, {
|
|
@@ -14940,7 +14939,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
14940
14939
|
})) : null;
|
|
14941
14940
|
};
|
|
14942
14941
|
|
|
14943
|
-
var StyledView$2 = index$
|
|
14942
|
+
var StyledView$2 = index$8(reactNative.Animated.View)(function (_ref) {
|
|
14944
14943
|
var themeIntent = _ref.themeIntent,
|
|
14945
14944
|
themePadding = _ref.themePadding,
|
|
14946
14945
|
theme = _ref.theme;
|
|
@@ -14954,7 +14953,7 @@ var StyledView$2 = index$7(reactNative.Animated.View)(function (_ref) {
|
|
|
14954
14953
|
paddingHorizontal: themePadding === 'wideContent' ? theme.__hd__.badge.space.horizontalPadding : undefined
|
|
14955
14954
|
};
|
|
14956
14955
|
});
|
|
14957
|
-
var StyledText$1 = index$
|
|
14956
|
+
var StyledText$1 = index$8(reactNative.Text)(function (_ref2) {
|
|
14958
14957
|
var theme = _ref2.theme;
|
|
14959
14958
|
return {
|
|
14960
14959
|
fontFamily: theme.__hd__.badge.fonts["default"],
|
|
@@ -14965,7 +14964,7 @@ var StyledText$1 = index$7(reactNative.Text)(function (_ref2) {
|
|
|
14965
14964
|
textAlign: 'center'
|
|
14966
14965
|
};
|
|
14967
14966
|
});
|
|
14968
|
-
var StyledStatus = index$
|
|
14967
|
+
var StyledStatus = index$8(reactNative.Animated.View)(function (_ref3) {
|
|
14969
14968
|
var themeIntent = _ref3.themeIntent,
|
|
14970
14969
|
theme = _ref3.theme;
|
|
14971
14970
|
return {
|
|
@@ -15088,21 +15087,21 @@ var isHeroIcon = function isHeroIcon(x) {
|
|
|
15088
15087
|
return IconList.includes(x);
|
|
15089
15088
|
};
|
|
15090
15089
|
|
|
15091
|
-
var BottomNavigationTab = index$
|
|
15090
|
+
var BottomNavigationTab = index$8(reactNative.View)(function (_ref) {
|
|
15092
15091
|
var themeVisibility = _ref.themeVisibility;
|
|
15093
15092
|
return {
|
|
15094
15093
|
flex: 1,
|
|
15095
15094
|
display: themeVisibility === false ? 'none' : 'flex'
|
|
15096
15095
|
};
|
|
15097
15096
|
});
|
|
15098
|
-
var BottomNavigationContainer = index$
|
|
15097
|
+
var BottomNavigationContainer = index$8(reactNative.View)({
|
|
15099
15098
|
flex: 1,
|
|
15100
15099
|
overflow: 'hidden'
|
|
15101
15100
|
});
|
|
15102
|
-
var ContentWrapper$2 = index$
|
|
15101
|
+
var ContentWrapper$2 = index$8(reactNative.View)({
|
|
15103
15102
|
flex: 1
|
|
15104
15103
|
});
|
|
15105
|
-
var BottomBarWrapper = index$
|
|
15104
|
+
var BottomBarWrapper = index$8(reactNative.View)(function (_ref2) {
|
|
15106
15105
|
var themeInsets = _ref2.themeInsets,
|
|
15107
15106
|
theme = _ref2.theme;
|
|
15108
15107
|
return {
|
|
@@ -15118,17 +15117,17 @@ var BottomBarWrapper = index$7(reactNative.View)(function (_ref2) {
|
|
|
15118
15117
|
elevation: theme.__hd__.bottomNavigation.shadows.elevation
|
|
15119
15118
|
};
|
|
15120
15119
|
});
|
|
15121
|
-
var BottomBar = index$
|
|
15120
|
+
var BottomBar = index$8(reactNative.View)({
|
|
15122
15121
|
flex: 1,
|
|
15123
15122
|
flexDirection: 'row',
|
|
15124
15123
|
overflow: 'hidden',
|
|
15125
15124
|
alignItems: 'center'
|
|
15126
15125
|
});
|
|
15127
|
-
var BottomBarItem = index$
|
|
15126
|
+
var BottomBarItem = index$8(reactNative.View)({
|
|
15128
15127
|
flex: 1,
|
|
15129
15128
|
alignItems: 'center'
|
|
15130
15129
|
});
|
|
15131
|
-
var StyledBottomBarText = index$
|
|
15130
|
+
var StyledBottomBarText = index$8(Typography.Text)(function (_ref3) {
|
|
15132
15131
|
var theme = _ref3.theme;
|
|
15133
15132
|
return {
|
|
15134
15133
|
marginTop: theme.__hd__.bottomNavigation.space.titleMarginTop
|
|
@@ -15225,7 +15224,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
15225
15224
|
}))));
|
|
15226
15225
|
};
|
|
15227
15226
|
|
|
15228
|
-
var StyledDivider = index$
|
|
15227
|
+
var StyledDivider = index$8(reactNative.View)(function (_ref) {
|
|
15229
15228
|
var themeMarginHorizontal = _ref.themeMarginHorizontal,
|
|
15230
15229
|
themeMarginVertical = _ref.themeMarginVertical,
|
|
15231
15230
|
theme = _ref.theme;
|
|
@@ -15261,10 +15260,16 @@ var Divider = function Divider(_ref) {
|
|
|
15261
15260
|
|
|
15262
15261
|
var AnimatedPressable$1 = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
|
|
15263
15262
|
var AnimatedSafeAreaView = reactNative.Animated.createAnimatedComponent(reactNative.SafeAreaView);
|
|
15264
|
-
var StyledWrapper$
|
|
15263
|
+
var StyledWrapper$7 = index$8(reactNative.View)(_objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
15265
15264
|
flexDirection: 'column-reverse'
|
|
15266
15265
|
}));
|
|
15267
|
-
var
|
|
15266
|
+
var StyledKeyboardAvoidingView = index$8(reactNative.KeyboardAvoidingView)(function () {
|
|
15267
|
+
return {
|
|
15268
|
+
flex: 1,
|
|
15269
|
+
flexDirection: 'column-reverse'
|
|
15270
|
+
};
|
|
15271
|
+
});
|
|
15272
|
+
var StyledBottomSheet = index$8(AnimatedSafeAreaView)(function (_ref) {
|
|
15268
15273
|
var theme = _ref.theme;
|
|
15269
15274
|
return {
|
|
15270
15275
|
borderTopLeftRadius: theme.__hd__.bottomSheet.radii["default"],
|
|
@@ -15279,14 +15284,14 @@ var StyledBottomSheet = index$7(AnimatedSafeAreaView)(function (_ref) {
|
|
|
15279
15284
|
maxHeight: '94%'
|
|
15280
15285
|
};
|
|
15281
15286
|
});
|
|
15282
|
-
var StyledBackdrop$2 = index$
|
|
15287
|
+
var StyledBackdrop$2 = index$8(AnimatedPressable$1)(function (_ref2) {
|
|
15283
15288
|
var theme = _ref2.theme;
|
|
15284
15289
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
15285
15290
|
backgroundColor: theme.__hd__.bottomSheet.colors.backdrop,
|
|
15286
15291
|
opacity: 0.48
|
|
15287
15292
|
});
|
|
15288
15293
|
});
|
|
15289
|
-
var StyledHeaderWrapper = index$
|
|
15294
|
+
var StyledHeaderWrapper = index$8(reactNative.View)(function (_ref3) {
|
|
15290
15295
|
var theme = _ref3.theme;
|
|
15291
15296
|
return {
|
|
15292
15297
|
flexDirection: 'row',
|
|
@@ -15294,11 +15299,11 @@ var StyledHeaderWrapper = index$7(reactNative.View)(function (_ref3) {
|
|
|
15294
15299
|
paddingHorizontal: theme.__hd__.bottomSheet.space.headerWrapperHorizontalPadding
|
|
15295
15300
|
};
|
|
15296
15301
|
});
|
|
15297
|
-
var StyledHeader = index$
|
|
15302
|
+
var StyledHeader = index$8(reactNative.View)({
|
|
15298
15303
|
flex: 1,
|
|
15299
15304
|
justifyContent: 'center'
|
|
15300
15305
|
});
|
|
15301
|
-
var StyledFooter = index$
|
|
15306
|
+
var StyledFooter = index$8(reactNative.View)(function (_ref4) {
|
|
15302
15307
|
var theme = _ref4.theme;
|
|
15303
15308
|
return {
|
|
15304
15309
|
paddingHorizontal: theme.__hd__.bottomSheet.space.footerHorizontalPadding,
|
|
@@ -15309,7 +15314,7 @@ var StyledFooter = index$7(reactNative.View)(function (_ref4) {
|
|
|
15309
15314
|
flexDirection: 'row'
|
|
15310
15315
|
};
|
|
15311
15316
|
});
|
|
15312
|
-
var StyledIconWrapper$
|
|
15317
|
+
var StyledIconWrapper$2 = index$8(reactNative.View)(function (_ref5) {
|
|
15313
15318
|
var theme = _ref5.theme;
|
|
15314
15319
|
return {
|
|
15315
15320
|
alignItems: 'center',
|
|
@@ -15332,7 +15337,7 @@ var genLoadingIndicatorStyles = function genLoadingIndicatorStyles(theme, intent
|
|
|
15332
15337
|
};
|
|
15333
15338
|
};
|
|
15334
15339
|
|
|
15335
|
-
var StyledLoadingIndicatorWrapper = index$
|
|
15340
|
+
var StyledLoadingIndicatorWrapper = index$8(reactNative.View)(function (_ref) {
|
|
15336
15341
|
var theme = _ref.theme;
|
|
15337
15342
|
return {
|
|
15338
15343
|
flexDirection: 'row',
|
|
@@ -15341,7 +15346,7 @@ var StyledLoadingIndicatorWrapper = index$7(reactNative.View)(function (_ref) {
|
|
|
15341
15346
|
paddingVertical: theme.space.xxsmall
|
|
15342
15347
|
};
|
|
15343
15348
|
});
|
|
15344
|
-
var StyledLoadingDot = index$
|
|
15349
|
+
var StyledLoadingDot = index$8(reactNative.View)(function (_ref2) {
|
|
15345
15350
|
var _ref2$size = _ref2.size,
|
|
15346
15351
|
size = _ref2$size === void 0 ? 12 : _ref2$size,
|
|
15347
15352
|
themeVariant = _ref2.themeVariant,
|
|
@@ -15592,7 +15597,7 @@ var genTextVariantTextStyles = function genTextVariantTextStyles(theme, intent,
|
|
|
15592
15597
|
}, textColorStyling());
|
|
15593
15598
|
};
|
|
15594
15599
|
|
|
15595
|
-
var StyledButtonContainer = index$
|
|
15600
|
+
var StyledButtonContainer = index$8(reactNative.TouchableHighlight)(function (_ref) {
|
|
15596
15601
|
var _ref$disabled = _ref.disabled,
|
|
15597
15602
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15598
15603
|
_ref$pressed = _ref.pressed,
|
|
@@ -15634,7 +15639,7 @@ var StyledButtonContainer = index$7(reactNative.TouchableHighlight)(function (_r
|
|
|
15634
15639
|
};
|
|
15635
15640
|
}
|
|
15636
15641
|
});
|
|
15637
|
-
var StyledButtonText = index$
|
|
15642
|
+
var StyledButtonText = index$8(Typography.Text)(function (_ref2) {
|
|
15638
15643
|
var disabled = _ref2.disabled,
|
|
15639
15644
|
pressed = _ref2.pressed,
|
|
15640
15645
|
themeVariant = _ref2.themeVariant,
|
|
@@ -15684,7 +15689,7 @@ var StyledButtonText = index$7(Typography.Text)(function (_ref2) {
|
|
|
15684
15689
|
fontFamily: theme.__hd__.button.fonts["default"]
|
|
15685
15690
|
}, themeStyling());
|
|
15686
15691
|
});
|
|
15687
|
-
var StyledButtonIconWrapper = index$
|
|
15692
|
+
var StyledButtonIconWrapper = index$8(reactNative.View)(function (_ref3) {
|
|
15688
15693
|
var themePosition = _ref3.themePosition,
|
|
15689
15694
|
theme = _ref3.theme;
|
|
15690
15695
|
|
|
@@ -15700,7 +15705,7 @@ var StyledButtonIconWrapper = index$7(reactNative.View)(function (_ref3) {
|
|
|
15700
15705
|
};
|
|
15701
15706
|
}
|
|
15702
15707
|
});
|
|
15703
|
-
var StyledButtonIcon = index$
|
|
15708
|
+
var StyledButtonIcon = index$8(Icon)(function (_ref4) {
|
|
15704
15709
|
var disabled = _ref4.disabled,
|
|
15705
15710
|
pressed = _ref4.pressed,
|
|
15706
15711
|
themeVariant = _ref4.themeVariant,
|
|
@@ -15868,7 +15873,7 @@ var IconButton = function IconButton(_ref) {
|
|
|
15868
15873
|
}));
|
|
15869
15874
|
};
|
|
15870
15875
|
|
|
15871
|
-
var ButtonContainer = index$
|
|
15876
|
+
var ButtonContainer = index$8(reactNative.TouchableOpacity)(function (_ref) {
|
|
15872
15877
|
var theme = _ref.theme;
|
|
15873
15878
|
return {
|
|
15874
15879
|
width: '100%',
|
|
@@ -15880,13 +15885,13 @@ var ButtonContainer = index$7(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
15880
15885
|
backgroundColor: theme.__hd__.button.colors.utilityBackground
|
|
15881
15886
|
};
|
|
15882
15887
|
});
|
|
15883
|
-
var IconWrapper = index$
|
|
15888
|
+
var IconWrapper = index$8(reactNative.View)(function (_ref2) {
|
|
15884
15889
|
var theme = _ref2.theme;
|
|
15885
15890
|
return {
|
|
15886
15891
|
paddingRight: theme.__hd__.button.space.iconPadding
|
|
15887
15892
|
};
|
|
15888
15893
|
});
|
|
15889
|
-
var ButtonText = index$
|
|
15894
|
+
var ButtonText = index$8(Typography.Text)(function (_ref3) {
|
|
15890
15895
|
var theme = _ref3.theme;
|
|
15891
15896
|
return {
|
|
15892
15897
|
flexShrink: 1,
|
|
@@ -15941,7 +15946,7 @@ var Header = function Header(_ref) {
|
|
|
15941
15946
|
style: {
|
|
15942
15947
|
flex: 1
|
|
15943
15948
|
}
|
|
15944
|
-
}, content), showCloseButton ? /*#__PURE__*/React__default["default"].createElement(StyledIconWrapper$
|
|
15949
|
+
}, content), showCloseButton ? /*#__PURE__*/React__default["default"].createElement(StyledIconWrapper$2, null, /*#__PURE__*/React__default["default"].createElement(CompoundButton.Icon, {
|
|
15945
15950
|
icon: "cancel",
|
|
15946
15951
|
onPress: onRequestClose,
|
|
15947
15952
|
intent: "text",
|
|
@@ -15966,18 +15971,18 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
15966
15971
|
_ref$showDivider = _ref.showDivider,
|
|
15967
15972
|
showDivider = _ref$showDivider === void 0 ? true : _ref$showDivider,
|
|
15968
15973
|
style = _ref.style,
|
|
15969
|
-
testID = _ref.testID
|
|
15974
|
+
testID = _ref.testID,
|
|
15975
|
+
_ref$keyboardAvoiding = _ref.keyboardAvoidingViewProps,
|
|
15976
|
+
keyboardAvoidingViewProps = _ref$keyboardAvoiding === void 0 ? {} : _ref$keyboardAvoiding;
|
|
15970
15977
|
|
|
15971
|
-
var
|
|
15972
|
-
|
|
15973
|
-
height = _useState2[0],
|
|
15974
|
-
setHeight = _useState2[1]; // Internal state to control modal open/close timing with animation
|
|
15978
|
+
var _Dimensions$get = reactNative.Dimensions.get('window'),
|
|
15979
|
+
height = _Dimensions$get.height; // Internal state to control modal open/close timing with animation
|
|
15975
15980
|
|
|
15976
15981
|
|
|
15977
|
-
var
|
|
15978
|
-
|
|
15979
|
-
visible =
|
|
15980
|
-
setVisibility =
|
|
15982
|
+
var _useState = React.useState(open),
|
|
15983
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
15984
|
+
visible = _useState2[0],
|
|
15985
|
+
setVisibility = _useState2[1];
|
|
15981
15986
|
|
|
15982
15987
|
var animatedValue = React.useRef(new reactNative.Animated.Value(open ? 0 : 1));
|
|
15983
15988
|
React.useEffect(function () {
|
|
@@ -16028,18 +16033,16 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
16028
16033
|
transparent: true,
|
|
16029
16034
|
testID: testID,
|
|
16030
16035
|
onShow: onOpen
|
|
16031
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
16036
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$7, {
|
|
16032
16037
|
pointerEvents: "box-none"
|
|
16033
16038
|
}, /*#__PURE__*/React__default["default"].createElement(StyledBackdrop$2, {
|
|
16034
16039
|
style: {
|
|
16035
16040
|
opacity: interpolateOpacity
|
|
16036
16041
|
},
|
|
16037
16042
|
onPress: onRequestClose
|
|
16038
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
return setHeight(nativeEvent.layout.height);
|
|
16042
|
-
},
|
|
16043
|
+
}), /*#__PURE__*/React__default["default"].createElement(StyledKeyboardAvoidingView, _extends$1({
|
|
16044
|
+
behavior: reactNative.Platform.OS === 'ios' ? 'padding' : 'height'
|
|
16045
|
+
}, keyboardAvoidingViewProps), /*#__PURE__*/React__default["default"].createElement(StyledBottomSheet, {
|
|
16043
16046
|
style: [style, {
|
|
16044
16047
|
transform: [{
|
|
16045
16048
|
scaleY: height > 0 ? 1 : 0
|
|
@@ -16054,7 +16057,7 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
16054
16057
|
showCloseButton: showCloseButton
|
|
16055
16058
|
}) : null, children, footer ? /*#__PURE__*/React__default["default"].createElement(Footer$1, {
|
|
16056
16059
|
showDivider: showDivider
|
|
16057
|
-
}, footer) : null)));
|
|
16060
|
+
}, footer) : null))));
|
|
16058
16061
|
};
|
|
16059
16062
|
|
|
16060
16063
|
var colors = {
|
|
@@ -16273,7 +16276,7 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
16273
16276
|
};
|
|
16274
16277
|
|
|
16275
16278
|
var configKeys = Object.keys(config);
|
|
16276
|
-
var StyledBox = index$
|
|
16279
|
+
var StyledBox = index$8(reactNative.View)(function (_ref5) {
|
|
16277
16280
|
var theme = _ref5.theme,
|
|
16278
16281
|
otherProps = _objectWithoutProperties(_ref5, _excluded$a);
|
|
16279
16282
|
|
|
@@ -18692,14 +18695,14 @@ function convertToFP(fn, arity, a) {
|
|
|
18692
18695
|
var format = convertToFP(format$1, 2);
|
|
18693
18696
|
var formatTime = format;
|
|
18694
18697
|
|
|
18695
|
-
var Wrapper = index$
|
|
18698
|
+
var Wrapper = index$8(reactNative.View)(function () {
|
|
18696
18699
|
return {
|
|
18697
18700
|
flex: 1,
|
|
18698
18701
|
flexDirection: 'row',
|
|
18699
18702
|
justifyContent: 'space-between'
|
|
18700
18703
|
};
|
|
18701
18704
|
});
|
|
18702
|
-
var Value = index$
|
|
18705
|
+
var Value = index$8(Typography.Text)(function (_ref) {
|
|
18703
18706
|
var theme = _ref.theme;
|
|
18704
18707
|
return {
|
|
18705
18708
|
paddingHorizontal: theme.__hd__.contentNavigator.space.valueHorizontalPadding
|
|
@@ -18740,13 +18743,13 @@ function ContentNavigator(_ref) {
|
|
|
18740
18743
|
}));
|
|
18741
18744
|
}
|
|
18742
18745
|
|
|
18743
|
-
var StyledContainer$4 = index$
|
|
18746
|
+
var StyledContainer$4 = index$8(reactNative.View)(function (_ref) {
|
|
18744
18747
|
var theme = _ref.theme;
|
|
18745
18748
|
return {
|
|
18746
18749
|
backgroundColor: theme.__hd__.calendar.colors.background
|
|
18747
18750
|
};
|
|
18748
18751
|
});
|
|
18749
|
-
var StyledCalendarHeader = index$
|
|
18752
|
+
var StyledCalendarHeader = index$8(reactNative.View)(function (_ref2) {
|
|
18750
18753
|
var theme = _ref2.theme;
|
|
18751
18754
|
return {
|
|
18752
18755
|
flexDirection: 'row',
|
|
@@ -18754,7 +18757,7 @@ var StyledCalendarHeader = index$7(reactNative.View)(function (_ref2) {
|
|
|
18754
18757
|
paddingVertical: theme.__hd__.calendar.space.headerVerticalPadding
|
|
18755
18758
|
};
|
|
18756
18759
|
});
|
|
18757
|
-
var StyledCalendarDayNameCell = index$
|
|
18760
|
+
var StyledCalendarDayNameCell = index$8(reactNative.View)(function (_ref3) {
|
|
18758
18761
|
var theme = _ref3.theme;
|
|
18759
18762
|
return {
|
|
18760
18763
|
width: theme.__hd__.calendar.sizes.cellWidth,
|
|
@@ -18763,7 +18766,7 @@ var StyledCalendarDayNameCell = index$7(reactNative.View)(function (_ref3) {
|
|
|
18763
18766
|
justifyContent: 'center'
|
|
18764
18767
|
};
|
|
18765
18768
|
});
|
|
18766
|
-
var StyledCalendarCell = index$
|
|
18769
|
+
var StyledCalendarCell = index$8(reactNative.TouchableOpacity)(function (_ref4) {
|
|
18767
18770
|
var theme = _ref4.theme,
|
|
18768
18771
|
_ref4$variant = _ref4.variant,
|
|
18769
18772
|
variant = _ref4$variant === void 0 ? 'default' : _ref4$variant;
|
|
@@ -18778,7 +18781,7 @@ var StyledCalendarCell = index$7(reactNative.TouchableOpacity)(function (_ref4)
|
|
|
18778
18781
|
height: theme.__hd__.calendar.sizes.cellCircleHeight
|
|
18779
18782
|
};
|
|
18780
18783
|
});
|
|
18781
|
-
var StyledCalendarRow = index$
|
|
18784
|
+
var StyledCalendarRow = index$8(reactNative.View)(function (_ref5) {
|
|
18782
18785
|
var theme = _ref5.theme;
|
|
18783
18786
|
return {
|
|
18784
18787
|
flexDirection: 'row',
|
|
@@ -18786,7 +18789,7 @@ var StyledCalendarRow = index$7(reactNative.View)(function (_ref5) {
|
|
|
18786
18789
|
flexWrap: 'wrap'
|
|
18787
18790
|
};
|
|
18788
18791
|
});
|
|
18789
|
-
var StyledCalendarRowItem = index$
|
|
18792
|
+
var StyledCalendarRowItem = index$8(reactNative.View)(function (_ref6) {
|
|
18790
18793
|
var theme = _ref6.theme;
|
|
18791
18794
|
return {
|
|
18792
18795
|
flexBasis: "".concat(Math.floor(100.0 / 7.0).toString(), "%"),
|
|
@@ -18796,7 +18799,7 @@ var StyledCalendarRowItem = index$7(reactNative.View)(function (_ref6) {
|
|
|
18796
18799
|
justifyContent: 'center'
|
|
18797
18800
|
};
|
|
18798
18801
|
});
|
|
18799
|
-
var StyledDisabledCalendarRowItem = index$
|
|
18802
|
+
var StyledDisabledCalendarRowItem = index$8(reactNative.View)(function (_ref7) {
|
|
18800
18803
|
var theme = _ref7.theme;
|
|
18801
18804
|
return {
|
|
18802
18805
|
flexBasis: "".concat(Math.floor(100.0 / 7.0).toString(), "%"),
|
|
@@ -18805,7 +18808,7 @@ var StyledDisabledCalendarRowItem = index$7(reactNative.View)(function (_ref7) {
|
|
|
18805
18808
|
height: theme.__hd__.calendar.sizes.cellHeight
|
|
18806
18809
|
};
|
|
18807
18810
|
});
|
|
18808
|
-
var StyledMark = index$
|
|
18811
|
+
var StyledMark = index$8(reactNative.View)(function (_ref8) {
|
|
18809
18812
|
var theme = _ref8.theme,
|
|
18810
18813
|
_ref8$variant = _ref8.variant,
|
|
18811
18814
|
variant = _ref8$variant === void 0 ? 'primary' : _ref8$variant;
|
|
@@ -18985,7 +18988,7 @@ var Calendar = function Calendar(_ref) {
|
|
|
18985
18988
|
})));
|
|
18986
18989
|
};
|
|
18987
18990
|
|
|
18988
|
-
var StyledDataCard = index$
|
|
18991
|
+
var StyledDataCard = index$8(reactNative.View)(function (_ref) {
|
|
18989
18992
|
var theme = _ref.theme;
|
|
18990
18993
|
return {
|
|
18991
18994
|
borderRadius: theme.__hd__.card.radii["default"],
|
|
@@ -18993,7 +18996,7 @@ var StyledDataCard = index$7(reactNative.View)(function (_ref) {
|
|
|
18993
18996
|
flexDirection: 'row'
|
|
18994
18997
|
};
|
|
18995
18998
|
});
|
|
18996
|
-
var Indicator = index$
|
|
18999
|
+
var Indicator = index$8(reactNative.View)(function (_ref2) {
|
|
18997
19000
|
var theme = _ref2.theme,
|
|
18998
19001
|
themeIntent = _ref2.themeIntent;
|
|
18999
19002
|
return {
|
|
@@ -19017,7 +19020,7 @@ var DataCard = function DataCard(_ref) {
|
|
|
19017
19020
|
}), children);
|
|
19018
19021
|
};
|
|
19019
19022
|
|
|
19020
|
-
var StyledCard = index$
|
|
19023
|
+
var StyledCard = index$8(reactNative.View)(function (_ref) {
|
|
19021
19024
|
var themeVariant = _ref.themeVariant,
|
|
19022
19025
|
theme = _ref.theme,
|
|
19023
19026
|
themeIntent = _ref.themeIntent;
|
|
@@ -19031,7 +19034,7 @@ var StyledCard = index$7(reactNative.View)(function (_ref) {
|
|
|
19031
19034
|
});
|
|
19032
19035
|
}); // DEPRECATED
|
|
19033
19036
|
|
|
19034
|
-
var LeftDataCard = index$
|
|
19037
|
+
var LeftDataCard = index$8(reactNative.View)(function (_ref2) {
|
|
19035
19038
|
var theme = _ref2.theme;
|
|
19036
19039
|
return {
|
|
19037
19040
|
backgroundColor: theme.__hd__.card.colors.dataCardIndicator,
|
|
@@ -19057,11 +19060,11 @@ var Card = function Card(_ref) {
|
|
|
19057
19060
|
}), children);
|
|
19058
19061
|
};
|
|
19059
19062
|
|
|
19060
|
-
var index$
|
|
19063
|
+
var index$7 = Object.assign(Card, {
|
|
19061
19064
|
Data: DataCard
|
|
19062
19065
|
});
|
|
19063
19066
|
|
|
19064
|
-
var StyledWrapper$
|
|
19067
|
+
var StyledWrapper$6 = index$8(reactNative.TouchableOpacity)(function (_ref) {
|
|
19065
19068
|
var theme = _ref.theme,
|
|
19066
19069
|
themeWithBorder = _ref.themeWithBorder,
|
|
19067
19070
|
themeDisabled = _ref.themeDisabled;
|
|
@@ -19075,14 +19078,14 @@ var StyledWrapper$5 = index$7(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
19075
19078
|
flexDirection: 'row'
|
|
19076
19079
|
}, themeWithBorder && borderStyle);
|
|
19077
19080
|
});
|
|
19078
|
-
var StyledDescription$1 = index$
|
|
19081
|
+
var StyledDescription$1 = index$8(Typography.Text)(function (_ref2) {
|
|
19079
19082
|
var theme = _ref2.theme;
|
|
19080
19083
|
return {
|
|
19081
19084
|
paddingRight: theme.__hd__.checkbox.space.iconDescriptionPadding,
|
|
19082
19085
|
flex: 1
|
|
19083
19086
|
};
|
|
19084
19087
|
});
|
|
19085
|
-
var StyledCheckbox = index$
|
|
19088
|
+
var StyledCheckbox = index$8(reactNative.View)(function (_ref3) {
|
|
19086
19089
|
var theme = _ref3.theme,
|
|
19087
19090
|
themeDisabled = _ref3.themeDisabled;
|
|
19088
19091
|
return {
|
|
@@ -19096,7 +19099,7 @@ var StyledCheckbox = index$7(reactNative.View)(function (_ref3) {
|
|
|
19096
19099
|
overflow: 'hidden'
|
|
19097
19100
|
};
|
|
19098
19101
|
});
|
|
19099
|
-
var StyledCheckMark = index$
|
|
19102
|
+
var StyledCheckMark = index$8(Icon)(function (_ref4) {
|
|
19100
19103
|
var theme = _ref4.theme;
|
|
19101
19104
|
return {
|
|
19102
19105
|
position: 'absolute',
|
|
@@ -19114,7 +19117,7 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
19114
19117
|
onPress = _ref.onPress,
|
|
19115
19118
|
style = _ref.style,
|
|
19116
19119
|
testID = _ref.testID;
|
|
19117
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
19120
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$6, {
|
|
19118
19121
|
onPress: onPress,
|
|
19119
19122
|
disabled: disabled,
|
|
19120
19123
|
themeDisabled: disabled,
|
|
@@ -19132,14 +19135,14 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
19132
19135
|
})));
|
|
19133
19136
|
};
|
|
19134
19137
|
|
|
19135
|
-
var StyledContainer$3 = index$
|
|
19138
|
+
var StyledContainer$3 = index$8(reactNative.View)(function (_ref) {
|
|
19136
19139
|
var theme = _ref.theme;
|
|
19137
19140
|
return {
|
|
19138
19141
|
width: '100%',
|
|
19139
19142
|
marginVertical: theme.__hd__.textInput.space.containerMarginVertical
|
|
19140
19143
|
};
|
|
19141
19144
|
});
|
|
19142
|
-
var StyledLabelContainer = index$
|
|
19145
|
+
var StyledLabelContainer = index$8(reactNative.View)(function (_ref2) {
|
|
19143
19146
|
var theme = _ref2.theme;
|
|
19144
19147
|
return {
|
|
19145
19148
|
position: 'absolute',
|
|
@@ -19151,28 +19154,28 @@ var StyledLabelContainer = index$7(reactNative.View)(function (_ref2) {
|
|
|
19151
19154
|
paddingHorizontal: theme.__hd__.textInput.space.labelHorizontalPadding
|
|
19152
19155
|
};
|
|
19153
19156
|
});
|
|
19154
|
-
var StyledLabel = index$
|
|
19157
|
+
var StyledLabel = index$8(Typography.Text)(function (_ref3) {
|
|
19155
19158
|
var theme = _ref3.theme,
|
|
19156
19159
|
themeVariant = _ref3.themeVariant;
|
|
19157
19160
|
return {
|
|
19158
19161
|
color: theme.__hd__.textInput.colors.labels[themeVariant]
|
|
19159
19162
|
};
|
|
19160
19163
|
});
|
|
19161
|
-
var StyledAsteriskLabel = index$
|
|
19164
|
+
var StyledAsteriskLabel = index$8(Typography.Text)(function (_ref4) {
|
|
19162
19165
|
var theme = _ref4.theme,
|
|
19163
19166
|
themeVariant = _ref4.themeVariant;
|
|
19164
19167
|
return {
|
|
19165
19168
|
color: theme.__hd__.textInput.colors.asterisks[themeVariant]
|
|
19166
19169
|
};
|
|
19167
19170
|
});
|
|
19168
|
-
var StyledLabelContainerInsideTextInput = index$
|
|
19171
|
+
var StyledLabelContainerInsideTextInput = index$8(reactNative.View)(function () {
|
|
19169
19172
|
return _objectSpread2({
|
|
19170
19173
|
flexDirection: 'row',
|
|
19171
19174
|
zIndex: 9999,
|
|
19172
19175
|
alignItems: 'center'
|
|
19173
19176
|
}, reactNative.StyleSheet.absoluteFillObject);
|
|
19174
19177
|
});
|
|
19175
|
-
var StyledLabelInsideTextInput = index$
|
|
19178
|
+
var StyledLabelInsideTextInput = index$8(Typography.Text)(function (_ref5) {
|
|
19176
19179
|
var theme = _ref5.theme,
|
|
19177
19180
|
themeVariant = _ref5.themeVariant;
|
|
19178
19181
|
return {
|
|
@@ -19183,7 +19186,7 @@ var StyledLabelInsideTextInput = index$7(Typography.Text)(function (_ref5) {
|
|
|
19183
19186
|
color: theme.__hd__.textInput.colors.labelsInsideTextInput[themeVariant]
|
|
19184
19187
|
};
|
|
19185
19188
|
});
|
|
19186
|
-
var StyledAsteriskLabelInsideTextInput = index$
|
|
19189
|
+
var StyledAsteriskLabelInsideTextInput = index$8(Typography.Text)(function (_ref6) {
|
|
19187
19190
|
var theme = _ref6.theme,
|
|
19188
19191
|
themeVariant = _ref6.themeVariant;
|
|
19189
19192
|
return {
|
|
@@ -19191,7 +19194,7 @@ var StyledAsteriskLabelInsideTextInput = index$7(Typography.Text)(function (_ref
|
|
|
19191
19194
|
fontSize: theme.__hd__.textInput.fontSizes.asteriskLabel
|
|
19192
19195
|
};
|
|
19193
19196
|
});
|
|
19194
|
-
var StyledErrorContainer$1 = index$
|
|
19197
|
+
var StyledErrorContainer$1 = index$8(reactNative.View)(function (_ref7) {
|
|
19195
19198
|
var theme = _ref7.theme;
|
|
19196
19199
|
return {
|
|
19197
19200
|
marginRight: theme.__hd__.textInput.space.errorContainerMarginRight,
|
|
@@ -19201,7 +19204,7 @@ var StyledErrorContainer$1 = index$7(reactNative.View)(function (_ref7) {
|
|
|
19201
19204
|
flexGrow: 4
|
|
19202
19205
|
};
|
|
19203
19206
|
});
|
|
19204
|
-
var StyledError = index$
|
|
19207
|
+
var StyledError = index$8(Typography.Text)(function (_ref8) {
|
|
19205
19208
|
var theme = _ref8.theme;
|
|
19206
19209
|
return {
|
|
19207
19210
|
color: theme.__hd__.textInput.colors.error,
|
|
@@ -19209,7 +19212,7 @@ var StyledError = index$7(Typography.Text)(function (_ref8) {
|
|
|
19209
19212
|
marginLeft: theme.__hd__.textInput.space.errorMarginLeft
|
|
19210
19213
|
};
|
|
19211
19214
|
});
|
|
19212
|
-
var StyledMaxLengthMessage = index$
|
|
19215
|
+
var StyledMaxLengthMessage = index$8(Typography.Text)(function (_ref9) {
|
|
19213
19216
|
var theme = _ref9.theme,
|
|
19214
19217
|
themeVariant = _ref9.themeVariant;
|
|
19215
19218
|
return {
|
|
@@ -19222,13 +19225,13 @@ var StyledMaxLengthMessage = index$7(Typography.Text)(function (_ref9) {
|
|
|
19222
19225
|
textAlign: 'right'
|
|
19223
19226
|
};
|
|
19224
19227
|
});
|
|
19225
|
-
var StyledHelperText = index$
|
|
19228
|
+
var StyledHelperText = index$8(Typography.Text)(function (_ref10) {
|
|
19226
19229
|
var theme = _ref10.theme;
|
|
19227
19230
|
return {
|
|
19228
19231
|
fontSize: theme.__hd__.textInput.fontSizes.error
|
|
19229
19232
|
};
|
|
19230
19233
|
});
|
|
19231
|
-
var StyledTextInput = index$
|
|
19234
|
+
var StyledTextInput = index$8(reactNative.TextInput)(function (_ref11) {
|
|
19232
19235
|
var theme = _ref11.theme;
|
|
19233
19236
|
return {
|
|
19234
19237
|
textAlignVertical: 'center',
|
|
@@ -19238,7 +19241,7 @@ var StyledTextInput = index$7(reactNative.TextInput)(function (_ref11) {
|
|
|
19238
19241
|
marginHorizontal: theme.__hd__.textInput.space.inputHorizontalMargin
|
|
19239
19242
|
};
|
|
19240
19243
|
});
|
|
19241
|
-
var StyledBorderBackDrop = index$
|
|
19244
|
+
var StyledBorderBackDrop = index$8(reactNative.View)(function (_ref12) {
|
|
19242
19245
|
var _theme$__hd__$textInp;
|
|
19243
19246
|
|
|
19244
19247
|
var theme = _ref12.theme,
|
|
@@ -19249,7 +19252,7 @@ var StyledBorderBackDrop = index$7(reactNative.View)(function (_ref12) {
|
|
|
19249
19252
|
borderColor: (_theme$__hd__$textInp = theme.__hd__.textInput.colors.borders[themeVariant]) !== null && _theme$__hd__$textInp !== void 0 ? _theme$__hd__$textInp : theme.__hd__.textInput.colors.borders["default"]
|
|
19250
19253
|
});
|
|
19251
19254
|
});
|
|
19252
|
-
var StyledTextInputContainer = index$
|
|
19255
|
+
var StyledTextInputContainer = index$8(reactNative.View)(function (_ref13) {
|
|
19253
19256
|
var theme = _ref13.theme;
|
|
19254
19257
|
return {
|
|
19255
19258
|
flexDirection: 'row',
|
|
@@ -19257,7 +19260,7 @@ var StyledTextInputContainer = index$7(reactNative.View)(function (_ref13) {
|
|
|
19257
19260
|
padding: theme.__hd__.textInput.space.containerPadding
|
|
19258
19261
|
};
|
|
19259
19262
|
});
|
|
19260
|
-
var StyledTextInputAndLabelContainer = index$
|
|
19263
|
+
var StyledTextInputAndLabelContainer = index$8(reactNative.View)(function () {
|
|
19261
19264
|
return {
|
|
19262
19265
|
flexDirection: 'row',
|
|
19263
19266
|
alignItems: 'center',
|
|
@@ -19266,13 +19269,13 @@ var StyledTextInputAndLabelContainer = index$7(reactNative.View)(function () {
|
|
|
19266
19269
|
flexShrink: 1
|
|
19267
19270
|
};
|
|
19268
19271
|
});
|
|
19269
|
-
var StyledErrorAndHelpTextContainer = index$
|
|
19272
|
+
var StyledErrorAndHelpTextContainer = index$8(reactNative.View)(function (_ref14) {
|
|
19270
19273
|
var theme = _ref14.theme;
|
|
19271
19274
|
return {
|
|
19272
19275
|
paddingLeft: theme.__hd__.textInput.space.errorAndHelpTextContainerPaddingLeft
|
|
19273
19276
|
};
|
|
19274
19277
|
});
|
|
19275
|
-
var StyledErrorAndMaxLengthContainer = index$
|
|
19278
|
+
var StyledErrorAndMaxLengthContainer = index$8(reactNative.View)(function () {
|
|
19276
19279
|
return {
|
|
19277
19280
|
flexDirection: 'row',
|
|
19278
19281
|
justifyContent: 'space-between'
|
|
@@ -19289,26 +19292,26 @@ var getVariant$1 = function getVariant(_ref) {
|
|
|
19289
19292
|
isEmptyValue = _ref.isEmptyValue;
|
|
19290
19293
|
|
|
19291
19294
|
if (disabled) {
|
|
19292
|
-
return
|
|
19295
|
+
return "disabled";
|
|
19293
19296
|
}
|
|
19294
19297
|
|
|
19295
19298
|
if (error) {
|
|
19296
|
-
return
|
|
19299
|
+
return "error";
|
|
19297
19300
|
}
|
|
19298
19301
|
|
|
19299
19302
|
if (!editable || loading) {
|
|
19300
|
-
return
|
|
19303
|
+
return "readonly";
|
|
19301
19304
|
}
|
|
19302
19305
|
|
|
19303
19306
|
if (isFocused) {
|
|
19304
|
-
return
|
|
19307
|
+
return "focused";
|
|
19305
19308
|
}
|
|
19306
19309
|
|
|
19307
19310
|
if (!isEmptyValue) {
|
|
19308
|
-
return
|
|
19311
|
+
return "filled";
|
|
19309
19312
|
}
|
|
19310
19313
|
|
|
19311
|
-
return
|
|
19314
|
+
return "default";
|
|
19312
19315
|
};
|
|
19313
19316
|
|
|
19314
19317
|
var TextInput = function TextInput(_ref2) {
|
|
@@ -19336,9 +19339,9 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19336
19339
|
renderInputValue = _ref2.renderInputValue,
|
|
19337
19340
|
nativeProps = _objectWithoutProperties(_ref2, _excluded$6);
|
|
19338
19341
|
|
|
19339
|
-
var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 :
|
|
19342
|
+
var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : "";
|
|
19340
19343
|
var isEmptyValue = displayText.length === 0;
|
|
19341
|
-
var actualSuffix = loading ?
|
|
19344
|
+
var actualSuffix = loading ? "loading" : suffix;
|
|
19342
19345
|
|
|
19343
19346
|
var _React$useState = React__default["default"].useState(false),
|
|
19344
19347
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -19360,9 +19363,9 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19360
19363
|
style: reactNative.StyleSheet.flatten([{
|
|
19361
19364
|
color: theme.__hd__.textInput.colors.text
|
|
19362
19365
|
}, textStyle]),
|
|
19363
|
-
testID:
|
|
19366
|
+
testID: "text-input",
|
|
19364
19367
|
accessibilityState: {
|
|
19365
|
-
disabled: variant ===
|
|
19368
|
+
disabled: variant === "disabled" || variant === "readonly"
|
|
19366
19369
|
},
|
|
19367
19370
|
// @ts-ignore
|
|
19368
19371
|
accessibilityLabelledBy: accessibilityLabelledBy
|
|
@@ -19388,15 +19391,15 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19388
19391
|
(_nativeProps$onChange = nativeProps.onChangeText) === null || _nativeProps$onChange === void 0 ? void 0 : _nativeProps$onChange.call(nativeProps, text);
|
|
19389
19392
|
},
|
|
19390
19393
|
defaultValue: defaultValue,
|
|
19391
|
-
placeholder: variant ===
|
|
19394
|
+
placeholder: variant === "focused" ? nativeProps.placeholder : undefined
|
|
19392
19395
|
});
|
|
19393
19396
|
|
|
19394
19397
|
return /*#__PURE__*/React__default["default"].createElement(StyledContainer$3, {
|
|
19395
|
-
|
|
19396
|
-
pointerEvents: variant === 'disabled' || variant === 'readonly' ? 'none' : 'auto',
|
|
19398
|
+
pointerEvents: variant === "disabled" || variant === "readonly" ? "none" : "auto",
|
|
19397
19399
|
testID: testID
|
|
19398
19400
|
}, /*#__PURE__*/React__default["default"].createElement(StyledTextInputContainer, null, /*#__PURE__*/React__default["default"].createElement(StyledBorderBackDrop, {
|
|
19399
|
-
themeVariant: variant
|
|
19401
|
+
themeVariant: variant,
|
|
19402
|
+
style: style
|
|
19400
19403
|
}), (isFocused || label && !isEmptyValue) && /*#__PURE__*/React__default["default"].createElement(StyledLabelContainer, {
|
|
19401
19404
|
pointerEvents: "none"
|
|
19402
19405
|
}, required && /*#__PURE__*/React__default["default"].createElement(StyledAsteriskLabel, {
|
|
@@ -19407,8 +19410,8 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19407
19410
|
testID: "input-label",
|
|
19408
19411
|
fontSize: "small",
|
|
19409
19412
|
themeVariant: variant
|
|
19410
|
-
}, label)), typeof prefix ===
|
|
19411
|
-
intent: variant ===
|
|
19413
|
+
}, label)), typeof prefix === "string" ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
19414
|
+
intent: variant === "disabled" ? "disabled-text" : "text",
|
|
19412
19415
|
testID: "input-prefix",
|
|
19413
19416
|
icon: prefix,
|
|
19414
19417
|
size: "xsmall"
|
|
@@ -19421,11 +19424,11 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19421
19424
|
testID: "input-label",
|
|
19422
19425
|
fontSize: "medium",
|
|
19423
19426
|
themeVariant: variant
|
|
19424
|
-
}, label)), renderInputValue ? renderInputValue(nativeInputProps) : /*#__PURE__*/React__default["default"].createElement(StyledTextInput, nativeInputProps)), typeof actualSuffix ===
|
|
19425
|
-
intent: variant ===
|
|
19427
|
+
}, label)), renderInputValue ? renderInputValue(nativeInputProps) : /*#__PURE__*/React__default["default"].createElement(StyledTextInput, nativeInputProps)), typeof actualSuffix === "string" ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
19428
|
+
intent: variant === "disabled" ? "disabled-text" : "text",
|
|
19426
19429
|
testID: "input-suffix",
|
|
19427
19430
|
icon: actualSuffix,
|
|
19428
|
-
spin: actualSuffix ===
|
|
19431
|
+
spin: actualSuffix === "loading",
|
|
19429
19432
|
size: "xsmall"
|
|
19430
19433
|
}) : suffix), /*#__PURE__*/React__default["default"].createElement(StyledErrorAndHelpTextContainer, null, /*#__PURE__*/React__default["default"].createElement(StyledErrorAndMaxLengthContainer, null, !!error && /*#__PURE__*/React__default["default"].createElement(StyledErrorContainer$1, null, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
19431
19434
|
testID: "input-error-icon",
|
|
@@ -19496,7 +19499,7 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
|
|
|
19496
19499
|
}) : null);
|
|
19497
19500
|
};
|
|
19498
19501
|
|
|
19499
|
-
var StyledPickerWrapper$1 = index$
|
|
19502
|
+
var StyledPickerWrapper$1 = index$8(reactNative.View)(function (_ref) {
|
|
19500
19503
|
var theme = _ref.theme;
|
|
19501
19504
|
return {
|
|
19502
19505
|
height: theme.__hd__.datePicker.sizes.height
|
|
@@ -19593,7 +19596,7 @@ var DatePicker = function DatePicker(props) {
|
|
|
19593
19596
|
};
|
|
19594
19597
|
|
|
19595
19598
|
var AnimatedPressable = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
|
|
19596
|
-
var StyledContainer$2 = index$
|
|
19599
|
+
var StyledContainer$2 = index$8(reactNative.View)(function (_ref) {
|
|
19597
19600
|
var theme = _ref.theme,
|
|
19598
19601
|
enableShadow = _ref.enableShadow;
|
|
19599
19602
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
@@ -19606,7 +19609,7 @@ var StyledContainer$2 = index$7(reactNative.View)(function (_ref) {
|
|
|
19606
19609
|
elevation: 9999
|
|
19607
19610
|
});
|
|
19608
19611
|
});
|
|
19609
|
-
var StyledDragableContainer = index$
|
|
19612
|
+
var StyledDragableContainer = index$8(reactNative.View)(function (_ref2) {
|
|
19610
19613
|
var theme = _ref2.theme,
|
|
19611
19614
|
enableShadow = _ref2.enableShadow;
|
|
19612
19615
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
@@ -19620,13 +19623,13 @@ var StyledDragableContainer = index$7(reactNative.View)(function (_ref2) {
|
|
|
19620
19623
|
flexDirection: 'column-reverse'
|
|
19621
19624
|
});
|
|
19622
19625
|
});
|
|
19623
|
-
var StyledBackdrop$1 = index$
|
|
19626
|
+
var StyledBackdrop$1 = index$8(AnimatedPressable)(function (_ref3) {
|
|
19624
19627
|
var theme = _ref3.theme;
|
|
19625
19628
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
19626
19629
|
backgroundColor: theme.__hd__.drawer.colors.backdrop
|
|
19627
19630
|
});
|
|
19628
19631
|
});
|
|
19629
|
-
var StyledDrawerContainer = index$
|
|
19632
|
+
var StyledDrawerContainer = index$8(reactNative.Animated.View)(function (_ref4) {
|
|
19630
19633
|
var theme = _ref4.theme,
|
|
19631
19634
|
enableShadow = _ref4.enableShadow;
|
|
19632
19635
|
return {
|
|
@@ -19637,7 +19640,7 @@ var StyledDrawerContainer = index$7(reactNative.Animated.View)(function (_ref4)
|
|
|
19637
19640
|
overflow: 'hidden'
|
|
19638
19641
|
};
|
|
19639
19642
|
});
|
|
19640
|
-
var StyledDragableDrawerContainer = index$
|
|
19643
|
+
var StyledDragableDrawerContainer = index$8(reactNative.Animated.View)(function (_ref5) {
|
|
19641
19644
|
var theme = _ref5.theme,
|
|
19642
19645
|
enableShadow = _ref5.enableShadow;
|
|
19643
19646
|
return {
|
|
@@ -19649,7 +19652,7 @@ var StyledDragableDrawerContainer = index$7(reactNative.Animated.View)(function
|
|
|
19649
19652
|
maxHeight: '100%'
|
|
19650
19653
|
};
|
|
19651
19654
|
});
|
|
19652
|
-
var StyledHandlerContainer = index$
|
|
19655
|
+
var StyledHandlerContainer = index$8(reactNative.View)(function (_ref6) {
|
|
19653
19656
|
var theme = _ref6.theme;
|
|
19654
19657
|
return {
|
|
19655
19658
|
backgroundColor: theme.__hd__.drawer.colors.background,
|
|
@@ -19657,7 +19660,7 @@ var StyledHandlerContainer = index$7(reactNative.View)(function (_ref6) {
|
|
|
19657
19660
|
alignItems: 'center'
|
|
19658
19661
|
};
|
|
19659
19662
|
});
|
|
19660
|
-
var StyledHandler = index$
|
|
19663
|
+
var StyledHandler = index$8(reactNative.View)(function (_ref7) {
|
|
19661
19664
|
var theme = _ref7.theme;
|
|
19662
19665
|
return {
|
|
19663
19666
|
width: theme.__hd__.drawer.sizes.handlerWidth,
|
|
@@ -19888,11 +19891,11 @@ var Drawer = function Drawer(_ref) {
|
|
|
19888
19891
|
}, children));
|
|
19889
19892
|
};
|
|
19890
19893
|
|
|
19891
|
-
var index$
|
|
19894
|
+
var index$6 = Object.assign(Drawer, {
|
|
19892
19895
|
Dragable: DragableDrawer
|
|
19893
19896
|
});
|
|
19894
19897
|
|
|
19895
|
-
var StyledWrapper$
|
|
19898
|
+
var StyledWrapper$5 = index$8(reactNative.View)(function (_ref) {
|
|
19896
19899
|
var theme = _ref.theme;
|
|
19897
19900
|
return {
|
|
19898
19901
|
display: 'flex',
|
|
@@ -19903,7 +19906,7 @@ var StyledWrapper$4 = index$7(reactNative.View)(function (_ref) {
|
|
|
19903
19906
|
padding: theme.__hd__.empty.space.wrapperPadding
|
|
19904
19907
|
};
|
|
19905
19908
|
});
|
|
19906
|
-
var StyledTitle = index$
|
|
19909
|
+
var StyledTitle = index$8(reactNative.Text)(function (_ref2) {
|
|
19907
19910
|
var theme = _ref2.theme,
|
|
19908
19911
|
themeVariant = _ref2.themeVariant;
|
|
19909
19912
|
return {
|
|
@@ -19914,7 +19917,7 @@ var StyledTitle = index$7(reactNative.Text)(function (_ref2) {
|
|
|
19914
19917
|
color: themeVariant === 'dark' ? theme.__hd__.empty.colors.invertedText : theme.__hd__.empty.colors.text
|
|
19915
19918
|
};
|
|
19916
19919
|
});
|
|
19917
|
-
var StyledDescription = index$
|
|
19920
|
+
var StyledDescription = index$8(reactNative.Text)(function (_ref3) {
|
|
19918
19921
|
var theme = _ref3.theme,
|
|
19919
19922
|
themeVariant = _ref3.themeVariant;
|
|
19920
19923
|
return {
|
|
@@ -19934,7 +19937,7 @@ var Empty = function Empty(_ref) {
|
|
|
19934
19937
|
_ref$variant = _ref.variant,
|
|
19935
19938
|
variant = _ref$variant === void 0 ? 'light' : _ref$variant;
|
|
19936
19939
|
var theme = useTheme();
|
|
19937
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
19940
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$5, {
|
|
19938
19941
|
style: style,
|
|
19939
19942
|
testID: testID
|
|
19940
19943
|
}, image !== undefined && /*#__PURE__*/React__default["default"].cloneElement(image, _objectSpread2(_objectSpread2({}, image.props), {}, {
|
|
@@ -19948,7 +19951,7 @@ var Empty = function Empty(_ref) {
|
|
|
19948
19951
|
}, description));
|
|
19949
19952
|
};
|
|
19950
19953
|
|
|
19951
|
-
var StyledFABContainer = index$
|
|
19954
|
+
var StyledFABContainer = index$8(reactNative.TouchableHighlight)(function (_ref) {
|
|
19952
19955
|
var theme = _ref.theme;
|
|
19953
19956
|
return {
|
|
19954
19957
|
backgroundColor: theme.__hd__.fab.colors.buttonBackground,
|
|
@@ -19962,7 +19965,7 @@ var StyledFABContainer = index$7(reactNative.TouchableHighlight)(function (_ref)
|
|
|
19962
19965
|
flexDirection: 'row'
|
|
19963
19966
|
};
|
|
19964
19967
|
});
|
|
19965
|
-
var StyledFABIcon = index$
|
|
19968
|
+
var StyledFABIcon = index$8(Icon)(function (_ref2) {
|
|
19966
19969
|
var theme = _ref2.theme;
|
|
19967
19970
|
return {
|
|
19968
19971
|
color: theme.__hd__.fab.colors.icon,
|
|
@@ -19971,7 +19974,7 @@ var StyledFABIcon = index$7(Icon)(function (_ref2) {
|
|
|
19971
19974
|
textAlign: 'center'
|
|
19972
19975
|
};
|
|
19973
19976
|
});
|
|
19974
|
-
var StyledFABText = index$
|
|
19977
|
+
var StyledFABText = index$8(reactNative.Text)(function (_ref3) {
|
|
19975
19978
|
var theme = _ref3.theme;
|
|
19976
19979
|
return {
|
|
19977
19980
|
fontFamily: theme.__hd__.fab.fonts.title,
|
|
@@ -20068,7 +20071,7 @@ var FAB = function FAB(_ref3) {
|
|
|
20068
20071
|
}));
|
|
20069
20072
|
};
|
|
20070
20073
|
|
|
20071
|
-
var StyledActionItem = index$
|
|
20074
|
+
var StyledActionItem = index$8(reactNative.TouchableOpacity)(function (_ref) {
|
|
20072
20075
|
var theme = _ref.theme;
|
|
20073
20076
|
return {
|
|
20074
20077
|
paddingLeft: theme.__hd__.fab.space.actionItemPaddingLeft,
|
|
@@ -20085,7 +20088,7 @@ var StyledActionItem = index$7(reactNative.TouchableOpacity)(function (_ref) {
|
|
|
20085
20088
|
overflow: 'hidden'
|
|
20086
20089
|
};
|
|
20087
20090
|
});
|
|
20088
|
-
var StyledActionItemText = index$
|
|
20091
|
+
var StyledActionItemText = index$8(Typography.Text)(function (_ref2) {
|
|
20089
20092
|
var theme = _ref2.theme;
|
|
20090
20093
|
return {
|
|
20091
20094
|
paddingLeft: theme.__hd__.fab.space.actionItemTextPaddingLeft,
|
|
@@ -20095,7 +20098,7 @@ var StyledActionItemText = index$7(Typography.Text)(function (_ref2) {
|
|
|
20095
20098
|
color: theme.__hd__.fab.colors.actionItemText
|
|
20096
20099
|
};
|
|
20097
20100
|
});
|
|
20098
|
-
var StyledIcon = index$
|
|
20101
|
+
var StyledIcon = index$8(Icon)(function (_ref3) {
|
|
20099
20102
|
var theme = _ref3.theme;
|
|
20100
20103
|
return {
|
|
20101
20104
|
color: theme.__hd__.fab.colors.actionItemText
|
|
@@ -20117,7 +20120,7 @@ var ActionItem = function ActionItem(_ref) {
|
|
|
20117
20120
|
}), /*#__PURE__*/React__default["default"].createElement(StyledActionItemText, null, title));
|
|
20118
20121
|
};
|
|
20119
20122
|
|
|
20120
|
-
var StyledContainer$1 = index$
|
|
20123
|
+
var StyledContainer$1 = index$8(reactNative.View)({
|
|
20121
20124
|
position: 'absolute',
|
|
20122
20125
|
left: 0,
|
|
20123
20126
|
right: 0,
|
|
@@ -20126,12 +20129,12 @@ var StyledContainer$1 = index$7(reactNative.View)({
|
|
|
20126
20129
|
alignItems: 'flex-end',
|
|
20127
20130
|
justifyContent: 'flex-end'
|
|
20128
20131
|
});
|
|
20129
|
-
var StyledActionGroupContainer = index$
|
|
20132
|
+
var StyledActionGroupContainer = index$8(reactNative.Animated.View)({
|
|
20130
20133
|
alignItems: 'flex-end',
|
|
20131
20134
|
justifyContent: 'flex-end',
|
|
20132
20135
|
width: '70%'
|
|
20133
20136
|
});
|
|
20134
|
-
var StyledFAB = index$
|
|
20137
|
+
var StyledFAB = index$8(FAB)(function (_ref) {
|
|
20135
20138
|
var theme = _ref.theme;
|
|
20136
20139
|
return {
|
|
20137
20140
|
marginRight: theme.__hd__.fab.space.buttonMarginRight,
|
|
@@ -20139,7 +20142,7 @@ var StyledFAB = index$7(FAB)(function (_ref) {
|
|
|
20139
20142
|
alignSelf: 'flex-end'
|
|
20140
20143
|
};
|
|
20141
20144
|
});
|
|
20142
|
-
var StyledBackdrop = index$
|
|
20145
|
+
var StyledBackdrop = index$8(reactNative.Animated.View)(function (_ref2) {
|
|
20143
20146
|
var theme = _ref2.theme;
|
|
20144
20147
|
return {
|
|
20145
20148
|
position: 'absolute',
|
|
@@ -20150,7 +20153,7 @@ var StyledBackdrop = index$7(reactNative.Animated.View)(function (_ref2) {
|
|
|
20150
20153
|
backgroundColor: theme.__hd__.fab.colors.backdropBackground
|
|
20151
20154
|
};
|
|
20152
20155
|
});
|
|
20153
|
-
var StyledHeaderText = index$
|
|
20156
|
+
var StyledHeaderText = index$8(Typography.Text)(function (_ref3) {
|
|
20154
20157
|
var theme = _ref3.theme;
|
|
20155
20158
|
return {
|
|
20156
20159
|
fontSize: theme.__hd__.fab.fontSizes.header,
|
|
@@ -20238,7 +20241,7 @@ var ActionGroup = function ActionGroup(_ref2) {
|
|
|
20238
20241
|
}));
|
|
20239
20242
|
};
|
|
20240
20243
|
|
|
20241
|
-
var index$
|
|
20244
|
+
var index$5 = Object.assign(FAB, {
|
|
20242
20245
|
ActionGroup: ActionGroup
|
|
20243
20246
|
});
|
|
20244
20247
|
|
|
@@ -20265,7 +20268,7 @@ var Image = function Image(_ref) {
|
|
|
20265
20268
|
}, imageNativeProps));
|
|
20266
20269
|
};
|
|
20267
20270
|
|
|
20268
|
-
var StyledListItemContainer$1 = index$
|
|
20271
|
+
var StyledListItemContainer$1 = index$8(reactNative.TouchableHighlight)(function (_ref) {
|
|
20269
20272
|
var theme = _ref.theme,
|
|
20270
20273
|
_ref$themeSelected = _ref.themeSelected,
|
|
20271
20274
|
themeSelected = _ref$themeSelected === void 0 ? false : _ref$themeSelected,
|
|
@@ -20296,21 +20299,21 @@ var StyledListItemContainer$1 = index$7(reactNative.TouchableHighlight)(function
|
|
|
20296
20299
|
return sharedStyles;
|
|
20297
20300
|
}
|
|
20298
20301
|
});
|
|
20299
|
-
var StyledContentContainer = index$
|
|
20302
|
+
var StyledContentContainer = index$8(reactNative.View)(function () {
|
|
20300
20303
|
return {
|
|
20301
20304
|
flexDirection: 'column',
|
|
20302
20305
|
flex: 1,
|
|
20303
20306
|
flexGrow: 2
|
|
20304
20307
|
};
|
|
20305
20308
|
});
|
|
20306
|
-
var StyledChildrenContainer = index$
|
|
20309
|
+
var StyledChildrenContainer = index$8(reactNative.View)(function () {
|
|
20307
20310
|
return {
|
|
20308
20311
|
flexDirection: 'column',
|
|
20309
20312
|
justifyContent: 'flex-start',
|
|
20310
20313
|
alignItems: 'flex-start'
|
|
20311
20314
|
};
|
|
20312
20315
|
});
|
|
20313
|
-
var StyledLeadingStatus = index$
|
|
20316
|
+
var StyledLeadingStatus = index$8(reactNative.View)(function (_ref2) {
|
|
20314
20317
|
var theme = _ref2.theme,
|
|
20315
20318
|
themeLeadingStatusIntent = _ref2.themeLeadingStatusIntent;
|
|
20316
20319
|
return {
|
|
@@ -20320,19 +20323,19 @@ var StyledLeadingStatus = index$7(reactNative.View)(function (_ref2) {
|
|
|
20320
20323
|
backgroundColor: theme.__hd__.list.colors.leadingStatus[themeLeadingStatusIntent]
|
|
20321
20324
|
};
|
|
20322
20325
|
});
|
|
20323
|
-
var StyledPrefixContainer$1 = index$
|
|
20326
|
+
var StyledPrefixContainer$1 = index$8(reactNative.View)(function (_ref3) {
|
|
20324
20327
|
var theme = _ref3.theme;
|
|
20325
20328
|
return {
|
|
20326
20329
|
marginRight: theme.__hd__.list.space.prefixContainerMarginRight
|
|
20327
20330
|
};
|
|
20328
20331
|
});
|
|
20329
|
-
var StyledSuffixContainer$1 = index$
|
|
20332
|
+
var StyledSuffixContainer$1 = index$8(reactNative.View)(function (_ref4) {
|
|
20330
20333
|
var theme = _ref4.theme;
|
|
20331
20334
|
return {
|
|
20332
20335
|
marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
|
|
20333
20336
|
};
|
|
20334
20337
|
});
|
|
20335
|
-
var StyledTitleContainer$1 = index$
|
|
20338
|
+
var StyledTitleContainer$1 = index$8(reactNative.View)(function () {
|
|
20336
20339
|
return {
|
|
20337
20340
|
flex: 1
|
|
20338
20341
|
};
|
|
@@ -20387,24 +20390,24 @@ var ListItem = function ListItem(_ref) {
|
|
|
20387
20390
|
}) : suffix)), children && /*#__PURE__*/React__default["default"].createElement(StyledChildrenContainer, null, children))));
|
|
20388
20391
|
};
|
|
20389
20392
|
|
|
20390
|
-
var StyledPrefixContainer = index$
|
|
20393
|
+
var StyledPrefixContainer = index$8(reactNative.View)(function (_ref) {
|
|
20391
20394
|
var theme = _ref.theme;
|
|
20392
20395
|
return {
|
|
20393
20396
|
marginRight: theme.__hd__.list.space.prefixContainerMarginRight
|
|
20394
20397
|
};
|
|
20395
20398
|
});
|
|
20396
|
-
var StyledSuffixContainer = index$
|
|
20399
|
+
var StyledSuffixContainer = index$8(reactNative.View)(function (_ref2) {
|
|
20397
20400
|
var theme = _ref2.theme;
|
|
20398
20401
|
return {
|
|
20399
20402
|
marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
|
|
20400
20403
|
};
|
|
20401
20404
|
});
|
|
20402
|
-
var StyledTitleContainer = index$
|
|
20405
|
+
var StyledTitleContainer = index$8(reactNative.View)(function () {
|
|
20403
20406
|
return {
|
|
20404
20407
|
flex: 1
|
|
20405
20408
|
};
|
|
20406
20409
|
});
|
|
20407
|
-
var StyledListItemContainer = index$
|
|
20410
|
+
var StyledListItemContainer = index$8(reactNative.TouchableHighlight)(function (_ref3) {
|
|
20408
20411
|
var theme = _ref3.theme,
|
|
20409
20412
|
themeSelected = _ref3.themeSelected,
|
|
20410
20413
|
themeDisabled = _ref3.themeDisabled;
|
|
@@ -20458,17 +20461,17 @@ var List = {
|
|
|
20458
20461
|
BasicItem: BasicListItem
|
|
20459
20462
|
};
|
|
20460
20463
|
|
|
20461
|
-
var StyledWrapper$
|
|
20464
|
+
var StyledWrapper$4 = index$8(reactNative.View)(function () {
|
|
20462
20465
|
return {
|
|
20463
20466
|
alignContent: 'flex-start'
|
|
20464
20467
|
};
|
|
20465
20468
|
});
|
|
20466
|
-
var StyledPinWrapper = index$
|
|
20469
|
+
var StyledPinWrapper = index$8(reactNative.View)(function () {
|
|
20467
20470
|
return {
|
|
20468
20471
|
flexDirection: 'row'
|
|
20469
20472
|
};
|
|
20470
20473
|
});
|
|
20471
|
-
var StyledCell = index$
|
|
20474
|
+
var StyledCell = index$8(reactNative.View)(function (_ref) {
|
|
20472
20475
|
var theme = _ref.theme,
|
|
20473
20476
|
themeFocused = _ref.themeFocused,
|
|
20474
20477
|
themeState = _ref.themeState;
|
|
@@ -20482,7 +20485,7 @@ var StyledCell = index$7(reactNative.View)(function (_ref) {
|
|
|
20482
20485
|
borderColor: theme.__hd__.pinInput.colors[themeState]
|
|
20483
20486
|
};
|
|
20484
20487
|
});
|
|
20485
|
-
var StyledCellText = index$
|
|
20488
|
+
var StyledCellText = index$8(reactNative.Text)(function (_ref2) {
|
|
20486
20489
|
var theme = _ref2.theme,
|
|
20487
20490
|
themeState = _ref2.themeState;
|
|
20488
20491
|
return {
|
|
@@ -20491,13 +20494,13 @@ var StyledCellText = index$7(reactNative.Text)(function (_ref2) {
|
|
|
20491
20494
|
color: theme.__hd__.pinInput.colors[themeState]
|
|
20492
20495
|
};
|
|
20493
20496
|
});
|
|
20494
|
-
var StyledSpacer = index$
|
|
20497
|
+
var StyledSpacer = index$8(reactNative.View)(function (_ref3) {
|
|
20495
20498
|
var theme = _ref3.theme;
|
|
20496
20499
|
return {
|
|
20497
20500
|
marginLeft: theme.__hd__.pinInput.space.spacer
|
|
20498
20501
|
};
|
|
20499
20502
|
});
|
|
20500
|
-
var StyledMask = index$
|
|
20503
|
+
var StyledMask = index$8(reactNative.View)(function (_ref4) {
|
|
20501
20504
|
var theme = _ref4.theme,
|
|
20502
20505
|
themeState = _ref4.themeState;
|
|
20503
20506
|
return {
|
|
@@ -20508,7 +20511,7 @@ var StyledMask = index$7(reactNative.View)(function (_ref4) {
|
|
|
20508
20511
|
borderColor: theme.__hd__.pinInput.colors[themeState]
|
|
20509
20512
|
};
|
|
20510
20513
|
});
|
|
20511
|
-
var StyledFilledMask = index$
|
|
20514
|
+
var StyledFilledMask = index$8(reactNative.View)(function (_ref5) {
|
|
20512
20515
|
var theme = _ref5.theme,
|
|
20513
20516
|
themeState = _ref5.themeState;
|
|
20514
20517
|
return {
|
|
@@ -20520,7 +20523,7 @@ var StyledFilledMask = index$7(reactNative.View)(function (_ref5) {
|
|
|
20520
20523
|
backgroundColor: theme.__hd__.pinInput.colors[themeState]
|
|
20521
20524
|
};
|
|
20522
20525
|
});
|
|
20523
|
-
var StyledHiddenInput = index$
|
|
20526
|
+
var StyledHiddenInput = index$8(reactNative.TextInput)(function (_ref6) {
|
|
20524
20527
|
var themePinLength = _ref6.themePinLength,
|
|
20525
20528
|
theme = _ref6.theme;
|
|
20526
20529
|
var cellWidth = theme.__hd__.pinInput.sizes.cellWidth;
|
|
@@ -20534,14 +20537,14 @@ var StyledHiddenInput = index$7(reactNative.TextInput)(function (_ref6) {
|
|
|
20534
20537
|
height: '100%'
|
|
20535
20538
|
};
|
|
20536
20539
|
});
|
|
20537
|
-
var StyledErrorContainer = index$
|
|
20540
|
+
var StyledErrorContainer = index$8(reactNative.View)(function (_ref7) {
|
|
20538
20541
|
var theme = _ref7.theme;
|
|
20539
20542
|
return {
|
|
20540
20543
|
flexDirection: 'row',
|
|
20541
20544
|
paddingTop: theme.__hd__.pinInput.space.errorMessagePadding
|
|
20542
20545
|
};
|
|
20543
20546
|
});
|
|
20544
|
-
var StyledErrorMessage = index$
|
|
20547
|
+
var StyledErrorMessage = index$8(reactNative.Text)(function (_ref8) {
|
|
20545
20548
|
var theme = _ref8.theme;
|
|
20546
20549
|
return {
|
|
20547
20550
|
fontFamily: theme.__hd__.pinInput.fonts.errorMessage,
|
|
@@ -20644,7 +20647,7 @@ function PinInput(_ref2) {
|
|
|
20644
20647
|
reactNative.InteractionManager.runAfterInteractions(focus);
|
|
20645
20648
|
}
|
|
20646
20649
|
}, [inputRef]);
|
|
20647
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
20650
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$4, {
|
|
20648
20651
|
style: style,
|
|
20649
20652
|
testID: testID
|
|
20650
20653
|
}, /*#__PURE__*/React__default["default"].createElement(StyledPinWrapper, null, _toConsumableArray(Array(length).keys()).map(function (index) {
|
|
@@ -20683,14 +20686,14 @@ var INNER_CIRCLE_PERCENTAGE = 0.85; // 85% width according to design
|
|
|
20683
20686
|
|
|
20684
20687
|
var STROKE_WIDTH_PERCENTAGE = 0.075; // 7.5% width according to design
|
|
20685
20688
|
|
|
20686
|
-
var StyledContainer = index$
|
|
20689
|
+
var StyledContainer = index$8(reactNative.View)(function (_ref) {
|
|
20687
20690
|
var theme = _ref.theme;
|
|
20688
20691
|
return {
|
|
20689
20692
|
flexDirection: 'row',
|
|
20690
20693
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
20691
20694
|
};
|
|
20692
20695
|
});
|
|
20693
|
-
var StyledHalfCircleWrapper = index$
|
|
20696
|
+
var StyledHalfCircleWrapper = index$8(reactNative.View)(function (_ref2) {
|
|
20694
20697
|
var theme = _ref2.theme;
|
|
20695
20698
|
return {
|
|
20696
20699
|
width: theme.__hd__.progress.sizes.circleWidth / 2,
|
|
@@ -20698,7 +20701,7 @@ var StyledHalfCircleWrapper = index$7(reactNative.View)(function (_ref2) {
|
|
|
20698
20701
|
overflow: 'hidden'
|
|
20699
20702
|
};
|
|
20700
20703
|
});
|
|
20701
|
-
var StyledHalfCircleInnerFG = index$
|
|
20704
|
+
var StyledHalfCircleInnerFG = index$8(reactNative.View)(function (_ref3) {
|
|
20702
20705
|
var theme = _ref3.theme,
|
|
20703
20706
|
themeIntent = _ref3.themeIntent;
|
|
20704
20707
|
return {
|
|
@@ -20708,7 +20711,7 @@ var StyledHalfCircleInnerFG = index$7(reactNative.View)(function (_ref3) {
|
|
|
20708
20711
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
20709
20712
|
};
|
|
20710
20713
|
});
|
|
20711
|
-
var StyledHalfCircleInnerBG = index$
|
|
20714
|
+
var StyledHalfCircleInnerBG = index$8(reactNative.View)(function (_ref4) {
|
|
20712
20715
|
var theme = _ref4.theme;
|
|
20713
20716
|
return {
|
|
20714
20717
|
width: theme.__hd__.progress.sizes.circleWidth,
|
|
@@ -20717,7 +20720,7 @@ var StyledHalfCircleInnerBG = index$7(reactNative.View)(function (_ref4) {
|
|
|
20717
20720
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
20718
20721
|
};
|
|
20719
20722
|
});
|
|
20720
|
-
var StyledDonutCircle = index$
|
|
20723
|
+
var StyledDonutCircle = index$8(reactNative.View)(function (_ref5) {
|
|
20721
20724
|
var theme = _ref5.theme;
|
|
20722
20725
|
return {
|
|
20723
20726
|
position: 'absolute',
|
|
@@ -20732,7 +20735,7 @@ var StyledDonutCircle = index$7(reactNative.View)(function (_ref5) {
|
|
|
20732
20735
|
justifyContent: 'center'
|
|
20733
20736
|
};
|
|
20734
20737
|
});
|
|
20735
|
-
var StyledStrokeEnd = index$
|
|
20738
|
+
var StyledStrokeEnd = index$8(reactNative.View)(function (_ref6) {
|
|
20736
20739
|
var theme = _ref6.theme,
|
|
20737
20740
|
themeIntent = _ref6.themeIntent;
|
|
20738
20741
|
return {
|
|
@@ -20860,7 +20863,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
|
|
|
20860
20863
|
}, "".concat(value, "%")))));
|
|
20861
20864
|
};
|
|
20862
20865
|
|
|
20863
|
-
var StyledWrapper$
|
|
20866
|
+
var StyledWrapper$3 = index$8(reactNative.View)(function (_ref) {
|
|
20864
20867
|
var theme = _ref.theme;
|
|
20865
20868
|
return {
|
|
20866
20869
|
height: theme.__hd__.progress.sizes.barHeight,
|
|
@@ -20869,7 +20872,7 @@ var StyledWrapper$2 = index$7(reactNative.View)(function (_ref) {
|
|
|
20869
20872
|
overflow: 'hidden'
|
|
20870
20873
|
};
|
|
20871
20874
|
});
|
|
20872
|
-
var StyledInner = index$
|
|
20875
|
+
var StyledInner = index$8(reactNative.Animated.View)(function (_ref2) {
|
|
20873
20876
|
var theme = _ref2.theme,
|
|
20874
20877
|
themeIntent = _ref2.themeIntent;
|
|
20875
20878
|
return {
|
|
@@ -20915,7 +20918,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
20915
20918
|
outputRange: [999, 0],
|
|
20916
20919
|
extrapolate: 'clamp'
|
|
20917
20920
|
});
|
|
20918
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
20921
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper$3, _extends$1({}, nativeProps, {
|
|
20919
20922
|
testID: testID,
|
|
20920
20923
|
style: style
|
|
20921
20924
|
}), /*#__PURE__*/React__default["default"].createElement(StyledInner, {
|
|
@@ -20973,13 +20976,13 @@ var Slider = function Slider(_ref) {
|
|
|
20973
20976
|
});
|
|
20974
20977
|
};
|
|
20975
20978
|
|
|
20976
|
-
var StyledView$1 = index$
|
|
20977
|
-
var StyledSpinnerContainer = index$
|
|
20979
|
+
var StyledView$1 = index$8(reactNative.View)();
|
|
20980
|
+
var StyledSpinnerContainer = index$8(reactNative.View)({
|
|
20978
20981
|
height: '100%',
|
|
20979
20982
|
justifyContent: 'center',
|
|
20980
20983
|
alignItems: 'center'
|
|
20981
20984
|
});
|
|
20982
|
-
var StyledSpinnerRow = index$
|
|
20985
|
+
var StyledSpinnerRow = index$8(reactNative.View)(function (_ref) {
|
|
20983
20986
|
var themePosition = _ref.themePosition,
|
|
20984
20987
|
_ref$themeSize = _ref.themeSize,
|
|
20985
20988
|
themeSize = _ref$themeSize === void 0 ? 'medium' : _ref$themeSize,
|
|
@@ -20989,7 +20992,7 @@ var StyledSpinnerRow = index$7(reactNative.View)(function (_ref) {
|
|
|
20989
20992
|
marginBottom: themePosition === 'top' ? theme.__hd__.spinner.space.spinnerDotPadding[themeSize] : 0
|
|
20990
20993
|
};
|
|
20991
20994
|
});
|
|
20992
|
-
var StyledSpinnerDot = index$
|
|
20995
|
+
var StyledSpinnerDot = index$8(reactNative.View)(function (_ref2) {
|
|
20993
20996
|
var themePosition = _ref2.themePosition,
|
|
20994
20997
|
_ref2$themeSize = _ref2.themeSize,
|
|
20995
20998
|
themeSize = _ref2$themeSize === void 0 ? 'medium' : _ref2$themeSize,
|
|
@@ -21093,7 +21096,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
21093
21096
|
})));
|
|
21094
21097
|
};
|
|
21095
21098
|
|
|
21096
|
-
var Circle = index$
|
|
21099
|
+
var Circle = index$8(reactNative.View)(function (_ref) {
|
|
21097
21100
|
var theme = _ref.theme;
|
|
21098
21101
|
return {
|
|
21099
21102
|
height: theme.__hd__.radio.sizes.circle,
|
|
@@ -21105,7 +21108,7 @@ var Circle = index$7(reactNative.View)(function (_ref) {
|
|
|
21105
21108
|
justifyContent: 'center'
|
|
21106
21109
|
};
|
|
21107
21110
|
});
|
|
21108
|
-
var InnerCircle = index$
|
|
21111
|
+
var InnerCircle = index$8(reactNative.View)(function (_ref2) {
|
|
21109
21112
|
var theme = _ref2.theme;
|
|
21110
21113
|
return {
|
|
21111
21114
|
height: theme.__hd__.radio.sizes.innerCircle,
|
|
@@ -21114,7 +21117,7 @@ var InnerCircle = index$7(reactNative.View)(function (_ref2) {
|
|
|
21114
21117
|
backgroundColor: theme.__hd__.radio.colors.circle
|
|
21115
21118
|
};
|
|
21116
21119
|
});
|
|
21117
|
-
var Spacer = index$
|
|
21120
|
+
var Spacer = index$8(reactNative.View)(function (_ref3) {
|
|
21118
21121
|
var theme = _ref3.theme;
|
|
21119
21122
|
return {
|
|
21120
21123
|
marginTop: theme.__hd__.radio.space.groupTopMargin
|
|
@@ -21190,7 +21193,7 @@ var CompoundRadio = {
|
|
|
21190
21193
|
Group: RadioGroup
|
|
21191
21194
|
};
|
|
21192
21195
|
|
|
21193
|
-
var StyledHeading = index$
|
|
21196
|
+
var StyledHeading = index$8(reactNative.View)(function (_ref) {
|
|
21194
21197
|
var theme = _ref.theme;
|
|
21195
21198
|
return {
|
|
21196
21199
|
paddingVertical: theme.__hd__.sectionHeading.space.headingVerticalPadding,
|
|
@@ -21203,13 +21206,13 @@ var StyledHeading = index$7(reactNative.View)(function (_ref) {
|
|
|
21203
21206
|
justifyContent: 'space-between'
|
|
21204
21207
|
};
|
|
21205
21208
|
});
|
|
21206
|
-
var StyledIconWrapper = index$
|
|
21209
|
+
var StyledIconWrapper$1 = index$8(reactNative.View)(function (_ref2) {
|
|
21207
21210
|
var theme = _ref2.theme;
|
|
21208
21211
|
return {
|
|
21209
21212
|
marginRight: theme.__hd__.sectionHeading.space.iconMarginRight
|
|
21210
21213
|
};
|
|
21211
21214
|
});
|
|
21212
|
-
var StyledWrapper$
|
|
21215
|
+
var StyledWrapper$2 = index$8(reactNative.View)(function () {
|
|
21213
21216
|
return {
|
|
21214
21217
|
display: 'flex',
|
|
21215
21218
|
flexDirection: 'row'
|
|
@@ -21243,7 +21246,7 @@ var SectionHeading = function SectionHeading(_ref) {
|
|
|
21243
21246
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeading, {
|
|
21244
21247
|
style: style,
|
|
21245
21248
|
testID: testID
|
|
21246
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$
|
|
21249
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$2, null, /*#__PURE__*/React__default["default"].createElement(StyledIconWrapper$1, null, icon !== undefined && (typeof icon === 'string' ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
21247
21250
|
icon: icon,
|
|
21248
21251
|
size: ICON_SIZE_MAP[fontSize],
|
|
21249
21252
|
intent: ICON_INTENT_MAP[intent]
|
|
@@ -21257,25 +21260,25 @@ var SectionHeading = function SectionHeading(_ref) {
|
|
|
21257
21260
|
}, text)), rightChildren);
|
|
21258
21261
|
};
|
|
21259
21262
|
|
|
21260
|
-
var SectionSpacer = index$
|
|
21263
|
+
var SectionSpacer = index$8(reactNative.View)(function (_ref) {
|
|
21261
21264
|
var theme = _ref.theme;
|
|
21262
21265
|
return {
|
|
21263
21266
|
marginTop: theme.__hd__.select.space.sectionSpacing
|
|
21264
21267
|
};
|
|
21265
21268
|
});
|
|
21266
|
-
var OptionSpacer = index$
|
|
21269
|
+
var OptionSpacer = index$8(reactNative.View)(function (_ref2) {
|
|
21267
21270
|
var theme = _ref2.theme;
|
|
21268
21271
|
return {
|
|
21269
21272
|
marginTop: theme.__hd__.select.space.optionSpacing
|
|
21270
21273
|
};
|
|
21271
21274
|
});
|
|
21272
|
-
var FooterText = index$
|
|
21275
|
+
var FooterText = index$8(Typography.Text)(function (_ref3) {
|
|
21273
21276
|
var theme = _ref3.theme;
|
|
21274
21277
|
return {
|
|
21275
21278
|
color: theme.__hd__.select.colors.footerText
|
|
21276
21279
|
};
|
|
21277
21280
|
});
|
|
21278
|
-
var StyledSearchBar = index$
|
|
21281
|
+
var StyledSearchBar = index$8(reactNative.View)(function (_ref4) {
|
|
21279
21282
|
var theme = _ref4.theme;
|
|
21280
21283
|
return {
|
|
21281
21284
|
marginTop: theme.__hd__.select.space.searchBarMarginTopSpacing,
|
|
@@ -21348,7 +21351,7 @@ var StyledOptionList = function StyledOptionList(_ref) {
|
|
|
21348
21351
|
});
|
|
21349
21352
|
};
|
|
21350
21353
|
|
|
21351
|
-
var Option$
|
|
21354
|
+
var Option$2 = function Option(_ref) {
|
|
21352
21355
|
var text = _ref.text,
|
|
21353
21356
|
_ref$disabled = _ref.disabled,
|
|
21354
21357
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
@@ -21395,7 +21398,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
21395
21398
|
return renderOption ? renderOption(_objectSpread2(_objectSpread2({}, info), {}, {
|
|
21396
21399
|
selected: selected,
|
|
21397
21400
|
onPress: onItemPress
|
|
21398
|
-
})) : /*#__PURE__*/React__default["default"].createElement(Option$
|
|
21401
|
+
})) : /*#__PURE__*/React__default["default"].createElement(Option$2, {
|
|
21399
21402
|
selected: selected,
|
|
21400
21403
|
text: item.text,
|
|
21401
21404
|
disabled: item.disabled,
|
|
@@ -21593,7 +21596,7 @@ function MultiSelect(_ref) {
|
|
|
21593
21596
|
})));
|
|
21594
21597
|
}
|
|
21595
21598
|
|
|
21596
|
-
var Option = function Option(_ref) {
|
|
21599
|
+
var Option$1 = function Option(_ref) {
|
|
21597
21600
|
var text = _ref.text,
|
|
21598
21601
|
_ref$disabled = _ref.disabled,
|
|
21599
21602
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
@@ -21637,7 +21640,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
21637
21640
|
return renderOption ? renderOption(_objectSpread2(_objectSpread2({}, info), {}, {
|
|
21638
21641
|
selected: selected,
|
|
21639
21642
|
onPress: onItemPress
|
|
21640
|
-
})) : /*#__PURE__*/React__default["default"].createElement(Option, {
|
|
21643
|
+
})) : /*#__PURE__*/React__default["default"].createElement(Option$1, {
|
|
21641
21644
|
selected: selected,
|
|
21642
21645
|
text: item.text,
|
|
21643
21646
|
disabled: item.disabled,
|
|
@@ -21759,11 +21762,11 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
21759
21762
|
})));
|
|
21760
21763
|
};
|
|
21761
21764
|
|
|
21762
|
-
var index$
|
|
21765
|
+
var index$4 = Object.assign(SingleSelect, {
|
|
21763
21766
|
Multi: MultiSelect
|
|
21764
21767
|
});
|
|
21765
21768
|
|
|
21766
|
-
var StyledWrapper = index$
|
|
21769
|
+
var StyledWrapper$1 = index$8(reactNative.View)(function (_ref) {
|
|
21767
21770
|
var theme = _ref.theme,
|
|
21768
21771
|
themeVariant = _ref.themeVariant,
|
|
21769
21772
|
themeSize = _ref.themeSize;
|
|
@@ -21777,7 +21780,7 @@ var StyledWrapper = index$7(reactNative.View)(function (_ref) {
|
|
|
21777
21780
|
justifyContent: 'center'
|
|
21778
21781
|
};
|
|
21779
21782
|
});
|
|
21780
|
-
var StyledKnot = index$
|
|
21783
|
+
var StyledKnot = index$8(reactNative.Animated.View)(function (_ref2) {
|
|
21781
21784
|
var theme = _ref2.theme,
|
|
21782
21785
|
themeSize = _ref2.themeSize;
|
|
21783
21786
|
return {
|
|
@@ -21788,6 +21791,107 @@ var StyledKnot = index$7(reactNative.Animated.View)(function (_ref2) {
|
|
|
21788
21791
|
};
|
|
21789
21792
|
});
|
|
21790
21793
|
|
|
21794
|
+
var StyledWrapper = index$8(reactNative.View)(function (_ref) {
|
|
21795
|
+
var theme = _ref.theme;
|
|
21796
|
+
return {
|
|
21797
|
+
flexDirection: 'row',
|
|
21798
|
+
width: '100%',
|
|
21799
|
+
height: theme.__hd__["switch"].sizes.selector.height,
|
|
21800
|
+
borderRadius: theme.__hd__["switch"].radii.selector["default"],
|
|
21801
|
+
backgroundColor: theme.__hd__["switch"].colors.selector.background,
|
|
21802
|
+
padding: theme.__hd__["switch"].spaces.selector.wrapperPadding
|
|
21803
|
+
};
|
|
21804
|
+
});
|
|
21805
|
+
var StyledTextWrapper = index$8(reactNative.View)(function (_ref2) {
|
|
21806
|
+
var theme = _ref2.theme;
|
|
21807
|
+
return {
|
|
21808
|
+
flex: 1,
|
|
21809
|
+
borderRadius: theme.__hd__["switch"].radii.selector["default"],
|
|
21810
|
+
backgroundColor: theme.__hd__["switch"].colors.selector.textBackground,
|
|
21811
|
+
justifyContent: 'center',
|
|
21812
|
+
alignItems: 'center'
|
|
21813
|
+
};
|
|
21814
|
+
});
|
|
21815
|
+
var StyledIconWrapper = index$8(reactNative.View)(function (_ref3) {
|
|
21816
|
+
var theme = _ref3.theme;
|
|
21817
|
+
return {
|
|
21818
|
+
paddingHorizontal: theme.__hd__["switch"].spaces.selector.iconPadding,
|
|
21819
|
+
justifyContent: 'center',
|
|
21820
|
+
alignItems: 'center'
|
|
21821
|
+
};
|
|
21822
|
+
});
|
|
21823
|
+
|
|
21824
|
+
var OptionContent = function OptionContent(_ref) {
|
|
21825
|
+
var content = _ref.content,
|
|
21826
|
+
badge = _ref.badge;
|
|
21827
|
+
var theme = useTheme();
|
|
21828
|
+
|
|
21829
|
+
if (!badge) {
|
|
21830
|
+
return content;
|
|
21831
|
+
}
|
|
21832
|
+
|
|
21833
|
+
if (badge.type === 'status') {
|
|
21834
|
+
return /*#__PURE__*/React__default["default"].createElement(Badge$1.Status, {
|
|
21835
|
+
visible: true,
|
|
21836
|
+
style: {
|
|
21837
|
+
paddingHorizontal: theme.space.small
|
|
21838
|
+
},
|
|
21839
|
+
testID: "selector-switch-status-badge"
|
|
21840
|
+
}, content);
|
|
21841
|
+
}
|
|
21842
|
+
|
|
21843
|
+
return content;
|
|
21844
|
+
};
|
|
21845
|
+
|
|
21846
|
+
var Option = function Option(_ref2) {
|
|
21847
|
+
var text = _ref2.text,
|
|
21848
|
+
icon = _ref2.icon,
|
|
21849
|
+
badge = _ref2.badge,
|
|
21850
|
+
selected = _ref2.selected;
|
|
21851
|
+
|
|
21852
|
+
if (selected) {
|
|
21853
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledTextWrapper, null, /*#__PURE__*/React__default["default"].createElement(OptionContent, {
|
|
21854
|
+
content: /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
|
|
21855
|
+
fontSize: "large",
|
|
21856
|
+
intent: "inverted"
|
|
21857
|
+
}, text),
|
|
21858
|
+
badge: badge
|
|
21859
|
+
}));
|
|
21860
|
+
}
|
|
21861
|
+
|
|
21862
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledIconWrapper, null, /*#__PURE__*/React__default["default"].createElement(OptionContent, {
|
|
21863
|
+
content: /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
21864
|
+
icon: icon
|
|
21865
|
+
}),
|
|
21866
|
+
badge: badge
|
|
21867
|
+
}));
|
|
21868
|
+
};
|
|
21869
|
+
|
|
21870
|
+
var SelectorSwitch = function SelectorSwitch(_ref) {
|
|
21871
|
+
var options = _ref.options,
|
|
21872
|
+
value = _ref.value,
|
|
21873
|
+
_onPress = _ref.onPress,
|
|
21874
|
+
style = _ref.style,
|
|
21875
|
+
testID = _ref.testID;
|
|
21876
|
+
return /*#__PURE__*/React__default["default"].createElement(reactNative.TouchableWithoutFeedback, {
|
|
21877
|
+
onPress: function onPress() {
|
|
21878
|
+
return _onPress(value);
|
|
21879
|
+
},
|
|
21880
|
+
testID: testID
|
|
21881
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
21882
|
+
style: style
|
|
21883
|
+
}, options.map(function (opt, index) {
|
|
21884
|
+
return (
|
|
21885
|
+
/*#__PURE__*/
|
|
21886
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
21887
|
+
React__default["default"].createElement(Option, _extends$1({}, opt, {
|
|
21888
|
+
selected: opt.value === value,
|
|
21889
|
+
key: index
|
|
21890
|
+
}))
|
|
21891
|
+
);
|
|
21892
|
+
})));
|
|
21893
|
+
};
|
|
21894
|
+
|
|
21791
21895
|
var getVariant = function getVariant(_ref) {
|
|
21792
21896
|
var disabled = _ref.disabled,
|
|
21793
21897
|
checked = _ref.checked;
|
|
@@ -21833,7 +21937,7 @@ var Switch = function Switch(_ref2) {
|
|
|
21833
21937
|
testID: testID,
|
|
21834
21938
|
onPress: onPress,
|
|
21835
21939
|
disabled: disabled
|
|
21836
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
21940
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper$1, {
|
|
21837
21941
|
themeVariant: variant,
|
|
21838
21942
|
themeSize: size,
|
|
21839
21943
|
style: style
|
|
@@ -21845,12 +21949,16 @@ var Switch = function Switch(_ref2) {
|
|
|
21845
21949
|
})));
|
|
21846
21950
|
};
|
|
21847
21951
|
|
|
21952
|
+
var index$3 = Object.assign(Switch, {
|
|
21953
|
+
Selector: SelectorSwitch
|
|
21954
|
+
});
|
|
21955
|
+
|
|
21848
21956
|
var AnimatedPagerView = reactNative.Animated.createAnimatedComponent(PagerView__default["default"]);
|
|
21849
|
-
var TabContainer$1 = index$
|
|
21957
|
+
var TabContainer$1 = index$8(reactNative.View)({
|
|
21850
21958
|
flex: 1,
|
|
21851
21959
|
overflow: 'hidden'
|
|
21852
21960
|
});
|
|
21853
|
-
var HeaderTabWrapper$1 = index$
|
|
21961
|
+
var HeaderTabWrapper$1 = index$8(reactNative.View)(function (_ref) {
|
|
21854
21962
|
var theme = _ref.theme,
|
|
21855
21963
|
themeInsets = _ref.themeInsets;
|
|
21856
21964
|
return {
|
|
@@ -21859,10 +21967,10 @@ var HeaderTabWrapper$1 = index$7(reactNative.View)(function (_ref) {
|
|
|
21859
21967
|
borderBottomWidth: theme.__hd__.tabs.borderWidths.headerBottom
|
|
21860
21968
|
};
|
|
21861
21969
|
});
|
|
21862
|
-
var HeaderTab = index$
|
|
21970
|
+
var HeaderTab = index$8(reactNative.View)({
|
|
21863
21971
|
flexDirection: 'row'
|
|
21864
21972
|
});
|
|
21865
|
-
var HeaderTabItem$1 = index$
|
|
21973
|
+
var HeaderTabItem$1 = index$8(reactNative.View)(function (_ref2) {
|
|
21866
21974
|
var theme = _ref2.theme;
|
|
21867
21975
|
return {
|
|
21868
21976
|
flex: 1,
|
|
@@ -21870,13 +21978,13 @@ var HeaderTabItem$1 = index$7(reactNative.View)(function (_ref2) {
|
|
|
21870
21978
|
paddingVertical: theme.__hd__.tabs.space.itemVerticalPadding
|
|
21871
21979
|
};
|
|
21872
21980
|
});
|
|
21873
|
-
var ContentWrapper$1 = index$
|
|
21981
|
+
var ContentWrapper$1 = index$8(AnimatedPagerView)({
|
|
21874
21982
|
flex: 1
|
|
21875
21983
|
});
|
|
21876
|
-
var TabScreen$1 = index$
|
|
21984
|
+
var TabScreen$1 = index$8(reactNative.View)({
|
|
21877
21985
|
flex: 1
|
|
21878
21986
|
});
|
|
21879
|
-
var StyledIndicator = index$
|
|
21987
|
+
var StyledIndicator = index$8(reactNative.Animated.View)(function (_ref3) {
|
|
21880
21988
|
var theme = _ref3.theme,
|
|
21881
21989
|
themeWidth = _ref3.themeWidth;
|
|
21882
21990
|
return {
|
|
@@ -21887,7 +21995,7 @@ var StyledIndicator = index$7(reactNative.Animated.View)(function (_ref3) {
|
|
|
21887
21995
|
bottom: 0
|
|
21888
21996
|
};
|
|
21889
21997
|
});
|
|
21890
|
-
var StyledBadgeWrapper = index$
|
|
21998
|
+
var StyledBadgeWrapper = index$8(reactNative.View)({
|
|
21891
21999
|
flexDirection: 'row',
|
|
21892
22000
|
alignItems: 'center'
|
|
21893
22001
|
});
|
|
@@ -21913,17 +22021,17 @@ var ActiveTabIndicator = function ActiveTabIndicator(_ref) {
|
|
|
21913
22021
|
});
|
|
21914
22022
|
};
|
|
21915
22023
|
|
|
21916
|
-
var TabScreen = index$
|
|
22024
|
+
var TabScreen = index$8(reactNative.View)({
|
|
21917
22025
|
flex: 1
|
|
21918
22026
|
});
|
|
21919
|
-
var TabContainer = index$
|
|
22027
|
+
var TabContainer = index$8(reactNative.View)({
|
|
21920
22028
|
flex: 1,
|
|
21921
22029
|
overflow: 'hidden'
|
|
21922
22030
|
});
|
|
21923
|
-
var ContentWrapper = index$
|
|
22031
|
+
var ContentWrapper = index$8(PagerView__default["default"])({
|
|
21924
22032
|
flex: 1
|
|
21925
22033
|
});
|
|
21926
|
-
var HeaderTabWrapper = index$
|
|
22034
|
+
var HeaderTabWrapper = index$8(reactNative.View)(function (_ref) {
|
|
21927
22035
|
var theme = _ref.theme,
|
|
21928
22036
|
themeInsets = _ref.themeInsets;
|
|
21929
22037
|
return {
|
|
@@ -21932,7 +22040,7 @@ var HeaderTabWrapper = index$7(reactNative.View)(function (_ref) {
|
|
|
21932
22040
|
borderBottomWidth: theme.__hd__.tabs.borderWidths.headerBottom
|
|
21933
22041
|
};
|
|
21934
22042
|
});
|
|
21935
|
-
var HeaderTabItem = index$
|
|
22043
|
+
var HeaderTabItem = index$8(reactNative.Animated.View)(function (_ref2) {
|
|
21936
22044
|
var theme = _ref2.theme,
|
|
21937
22045
|
isFirstItem = _ref2.isFirstItem;
|
|
21938
22046
|
return {
|
|
@@ -21940,13 +22048,13 @@ var HeaderTabItem = index$7(reactNative.Animated.View)(function (_ref2) {
|
|
|
21940
22048
|
paddingVertical: theme.__hd__.tabs.space.itemVerticalPadding
|
|
21941
22049
|
};
|
|
21942
22050
|
});
|
|
21943
|
-
var HeaderTabItemOutlineWrapper = index$
|
|
22051
|
+
var HeaderTabItemOutlineWrapper = index$8(reactNative.View)(function (_ref3) {
|
|
21944
22052
|
var theme = _ref3.theme;
|
|
21945
22053
|
return _objectSpread2({
|
|
21946
22054
|
paddingVertical: theme.__hd__.tabs.space.itemVerticalPadding
|
|
21947
22055
|
}, reactNative.StyleSheet.absoluteFillObject);
|
|
21948
22056
|
});
|
|
21949
|
-
var HeaderTabItemOutline = index$
|
|
22057
|
+
var HeaderTabItemOutline = index$8(reactNative.Animated.View)(function (_ref4) {
|
|
21950
22058
|
var theme = _ref4.theme,
|
|
21951
22059
|
themeActive = _ref4.themeActive;
|
|
21952
22060
|
return {
|
|
@@ -21954,7 +22062,7 @@ var HeaderTabItemOutline = index$7(reactNative.Animated.View)(function (_ref4) {
|
|
|
21954
22062
|
backgroundColor: themeActive ? theme.__hd__.tabs.colors.activeBackground : undefined
|
|
21955
22063
|
};
|
|
21956
22064
|
});
|
|
21957
|
-
var HeaderTabItemWrapper = index$
|
|
22065
|
+
var HeaderTabItemWrapper = index$8(reactNative.View)(function (_ref5) {
|
|
21958
22066
|
var theme = _ref5.theme;
|
|
21959
22067
|
return {
|
|
21960
22068
|
paddingHorizontal: theme.__hd__.tabs.space.outlineHorizontalPadding,
|
|
@@ -22052,7 +22160,8 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
22052
22160
|
_ref2$lazy = _ref2.lazy,
|
|
22053
22161
|
lazy = _ref2$lazy === void 0 ? false : _ref2$lazy,
|
|
22054
22162
|
_ref2$lazyPreloadDist = _ref2.lazyPreloadDistance,
|
|
22055
|
-
lazyPreloadDistance = _ref2$lazyPreloadDist === void 0 ? 1 : _ref2$lazyPreloadDist
|
|
22163
|
+
lazyPreloadDistance = _ref2$lazyPreloadDist === void 0 ? 1 : _ref2$lazyPreloadDist,
|
|
22164
|
+
componentTestID = _ref2.testID;
|
|
22056
22165
|
var flatListRef = React__default["default"].useRef(null);
|
|
22057
22166
|
var pagerViewRef = React__default["default"].useRef(null);
|
|
22058
22167
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
@@ -22087,10 +22196,12 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
22087
22196
|
};
|
|
22088
22197
|
}, [selectedTabIndex]);
|
|
22089
22198
|
return /*#__PURE__*/React__default["default"].createElement(TabContainer, {
|
|
22090
|
-
style: containerStyle
|
|
22199
|
+
style: containerStyle,
|
|
22200
|
+
testID: componentTestID
|
|
22091
22201
|
}, /*#__PURE__*/React__default["default"].createElement(HeaderTabWrapper, {
|
|
22092
22202
|
themeInsets: insets,
|
|
22093
|
-
style: barStyle
|
|
22203
|
+
style: barStyle,
|
|
22204
|
+
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined
|
|
22094
22205
|
}, /*#__PURE__*/React__default["default"].createElement(reactNative.FlatList, {
|
|
22095
22206
|
ref: flatListRef,
|
|
22096
22207
|
horizontal: true,
|
|
@@ -22213,7 +22324,8 @@ var Tabs = function Tabs(_ref2) {
|
|
|
22213
22324
|
_ref2$lazy = _ref2.lazy,
|
|
22214
22325
|
lazy = _ref2$lazy === void 0 ? false : _ref2$lazy,
|
|
22215
22326
|
_ref2$lazyPreloadDist = _ref2.lazyPreloadDistance,
|
|
22216
|
-
lazyPreloadDistance = _ref2$lazyPreloadDist === void 0 ? 1 : _ref2$lazyPreloadDist
|
|
22327
|
+
lazyPreloadDistance = _ref2$lazyPreloadDist === void 0 ? 1 : _ref2$lazyPreloadDist,
|
|
22328
|
+
componentTestID = _ref2.testID;
|
|
22217
22329
|
var theme = useTheme$1();
|
|
22218
22330
|
var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
|
|
22219
22331
|
var pagerViewRef = React__default["default"].useRef(null);
|
|
@@ -22236,10 +22348,12 @@ var Tabs = function Tabs(_ref2) {
|
|
|
22236
22348
|
}
|
|
22237
22349
|
}, [selectedTabIndex]);
|
|
22238
22350
|
return /*#__PURE__*/React__default["default"].createElement(TabContainer$1, {
|
|
22239
|
-
style: containerStyle
|
|
22351
|
+
style: containerStyle,
|
|
22352
|
+
testID: componentTestID
|
|
22240
22353
|
}, /*#__PURE__*/React__default["default"].createElement(HeaderTabWrapper$1, {
|
|
22241
22354
|
themeInsets: insets,
|
|
22242
|
-
style: barStyle
|
|
22355
|
+
style: barStyle,
|
|
22356
|
+
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined
|
|
22243
22357
|
}, /*#__PURE__*/React__default["default"].createElement(reactNative.View, null, /*#__PURE__*/React__default["default"].createElement(HeaderTab, {
|
|
22244
22358
|
onLayout: function onLayout(e) {
|
|
22245
22359
|
var width = e.nativeEvent.layout.width;
|
|
@@ -22318,7 +22432,7 @@ var index$2 = Object.assign(Tabs, {
|
|
|
22318
22432
|
Scroll: ScrollableTab
|
|
22319
22433
|
});
|
|
22320
22434
|
|
|
22321
|
-
var StyledView = index$
|
|
22435
|
+
var StyledView = index$8(reactNative.View)(function (_ref) {
|
|
22322
22436
|
var themeIntent = _ref.themeIntent,
|
|
22323
22437
|
theme = _ref.theme;
|
|
22324
22438
|
return {
|
|
@@ -22330,7 +22444,7 @@ var StyledView = index$7(reactNative.View)(function (_ref) {
|
|
|
22330
22444
|
backgroundColor: theme.__hd__.tag.colors["".concat(themeIntent, "Background")]
|
|
22331
22445
|
};
|
|
22332
22446
|
});
|
|
22333
|
-
var StyledText = index$
|
|
22447
|
+
var StyledText = index$8(reactNative.Text)(function (_ref2) {
|
|
22334
22448
|
var themeIntent = _ref2.themeIntent,
|
|
22335
22449
|
theme = _ref2.theme;
|
|
22336
22450
|
return {
|
|
@@ -22420,7 +22534,7 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
|
|
|
22420
22534
|
}) : null);
|
|
22421
22535
|
};
|
|
22422
22536
|
|
|
22423
|
-
var StyledPickerWrapper = index$
|
|
22537
|
+
var StyledPickerWrapper = index$8(reactNative.View)(function (_ref) {
|
|
22424
22538
|
var theme = _ref.theme;
|
|
22425
22539
|
return {
|
|
22426
22540
|
height: theme.__hd__.timePicker.sizes.height
|
|
@@ -22520,7 +22634,7 @@ var TimePicker = function TimePicker(props) {
|
|
|
22520
22634
|
return /*#__PURE__*/React__default["default"].createElement(TimePickerAndroid, props);
|
|
22521
22635
|
};
|
|
22522
22636
|
|
|
22523
|
-
var ToastContainerWrapper = index$
|
|
22637
|
+
var ToastContainerWrapper = index$8(reactNative.View)(function (_ref) {
|
|
22524
22638
|
var theme = _ref.theme,
|
|
22525
22639
|
position = _ref.position;
|
|
22526
22640
|
return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
@@ -22530,7 +22644,7 @@ var ToastContainerWrapper = index$7(reactNative.View)(function (_ref) {
|
|
|
22530
22644
|
elevation: 9999
|
|
22531
22645
|
});
|
|
22532
22646
|
});
|
|
22533
|
-
var Container = index$
|
|
22647
|
+
var Container = index$8(reactNative.Animated.View)(function (_ref2) {
|
|
22534
22648
|
var theme = _ref2.theme,
|
|
22535
22649
|
themeVariant = _ref2.themeVariant,
|
|
22536
22650
|
themeIntent = _ref2.themeIntent;
|
|
@@ -22546,21 +22660,21 @@ var Container = index$7(reactNative.Animated.View)(function (_ref2) {
|
|
|
22546
22660
|
elevation: theme.__hd__.toast.shadows.elevation
|
|
22547
22661
|
};
|
|
22548
22662
|
});
|
|
22549
|
-
var IconContainer = index$
|
|
22663
|
+
var IconContainer = index$8(reactNative.View)(function (_ref3) {
|
|
22550
22664
|
var theme = _ref3.theme;
|
|
22551
22665
|
return {
|
|
22552
22666
|
alignItems: 'center',
|
|
22553
22667
|
paddingLeft: theme.__hd__.toast.space.iconLeftPadding
|
|
22554
22668
|
};
|
|
22555
22669
|
});
|
|
22556
|
-
var TextContainer = index$
|
|
22670
|
+
var TextContainer = index$8(reactNative.View)(function (_ref4) {
|
|
22557
22671
|
var theme = _ref4.theme;
|
|
22558
22672
|
return {
|
|
22559
22673
|
paddingHorizontal: theme.__hd__.toast.space.textHorizontalPadding,
|
|
22560
22674
|
flex: 1
|
|
22561
22675
|
};
|
|
22562
22676
|
});
|
|
22563
|
-
var ContentContainer = index$
|
|
22677
|
+
var ContentContainer = index$8(reactNative.View)(function (_ref5) {
|
|
22564
22678
|
var theme = _ref5.theme,
|
|
22565
22679
|
showDivider = _ref5.showDivider;
|
|
22566
22680
|
return {
|
|
@@ -22571,7 +22685,7 @@ var ContentContainer = index$7(reactNative.View)(function (_ref5) {
|
|
|
22571
22685
|
flexDirection: 'row'
|
|
22572
22686
|
};
|
|
22573
22687
|
});
|
|
22574
|
-
var CTAWrapper = index$
|
|
22688
|
+
var CTAWrapper = index$8(reactNative.TouchableOpacity)(function (_ref6) {
|
|
22575
22689
|
var theme = _ref6.theme;
|
|
22576
22690
|
return {
|
|
22577
22691
|
paddingHorizontal: theme.__hd__.toast.space.ctaPadding,
|
|
@@ -22832,7 +22946,7 @@ var Toast = {
|
|
|
22832
22946
|
useToast: useToast
|
|
22833
22947
|
};
|
|
22834
22948
|
|
|
22835
|
-
var ToolbarWrapper = index$
|
|
22949
|
+
var ToolbarWrapper = index$8(reactNative.View)(function (_ref) {
|
|
22836
22950
|
var theme = _ref.theme;
|
|
22837
22951
|
return {
|
|
22838
22952
|
position: 'absolute',
|
|
@@ -22856,7 +22970,7 @@ var alignment = {
|
|
|
22856
22970
|
center: 'center',
|
|
22857
22971
|
right: 'flex-end'
|
|
22858
22972
|
};
|
|
22859
|
-
var ToolbarGroupWrapper = index$
|
|
22973
|
+
var ToolbarGroupWrapper = index$8(reactNative.View)(function (_ref2) {
|
|
22860
22974
|
var align = _ref2.align;
|
|
22861
22975
|
return {
|
|
22862
22976
|
flex: 1,
|
|
@@ -22865,7 +22979,7 @@ var ToolbarGroupWrapper = index$7(reactNative.View)(function (_ref2) {
|
|
|
22865
22979
|
alignItems: 'center'
|
|
22866
22980
|
};
|
|
22867
22981
|
});
|
|
22868
|
-
var ToolbarItemWrapper = index$
|
|
22982
|
+
var ToolbarItemWrapper = index$8(reactNative.TouchableOpacity)(function (_ref3) {
|
|
22869
22983
|
var theme = _ref3.theme;
|
|
22870
22984
|
return {
|
|
22871
22985
|
paddingVertical: theme.__hd__.toolbar.space.verticalPadding,
|
|
@@ -22945,7 +23059,7 @@ var ToolbarEvents;
|
|
|
22945
23059
|
var emitter = new events.EventEmitter();
|
|
22946
23060
|
emitter.setMaxListeners(20);
|
|
22947
23061
|
|
|
22948
|
-
var StyledToolbarButton = index$
|
|
23062
|
+
var StyledToolbarButton = index$8(reactNative.TouchableOpacity)(function (_ref) {
|
|
22949
23063
|
var theme = _ref.theme,
|
|
22950
23064
|
selected = _ref.selected;
|
|
22951
23065
|
return {
|
|
@@ -22956,7 +23070,7 @@ var StyledToolbarButton = index$7(reactNative.TouchableOpacity)(function (_ref)
|
|
|
22956
23070
|
backgroundColor: selected ? theme.__hd__.richTextEditor.colors.toolbarButtonSelectedBackground : undefined
|
|
22957
23071
|
};
|
|
22958
23072
|
});
|
|
22959
|
-
var StyledToolbar = index$
|
|
23073
|
+
var StyledToolbar = index$8(reactNative.View)(function (_ref2) {
|
|
22960
23074
|
var theme = _ref2.theme;
|
|
22961
23075
|
return {
|
|
22962
23076
|
flexDirection: 'row',
|
|
@@ -22967,7 +23081,7 @@ var StyledToolbar = index$7(reactNative.View)(function (_ref2) {
|
|
|
22967
23081
|
paddingHorizontal: theme.__hd__.richTextEditor.space.toolbarHorizontalPadding
|
|
22968
23082
|
};
|
|
22969
23083
|
});
|
|
22970
|
-
var StyledSeparator = index$
|
|
23084
|
+
var StyledSeparator = index$8(reactNative.View)(function (_ref3) {
|
|
22971
23085
|
var theme = _ref3.theme;
|
|
22972
23086
|
return {
|
|
22973
23087
|
width: theme.__hd__.richTextEditor.sizes.toolbarSeparatorWidth,
|
|
@@ -40938,13 +41052,13 @@ function checkDCE() {
|
|
|
40938
41052
|
});
|
|
40939
41053
|
})(lib);
|
|
40940
41054
|
|
|
40941
|
-
index$
|
|
41055
|
+
index$8(reactNative.View)(function (_ref) {
|
|
40942
41056
|
var theme = _ref.theme;
|
|
40943
41057
|
return {
|
|
40944
41058
|
marginBottom: theme.__hd__.richTextEditor.space.wrapperMarginBottom
|
|
40945
41059
|
};
|
|
40946
41060
|
});
|
|
40947
|
-
var StyledWebView = index$
|
|
41061
|
+
var StyledWebView = index$8(reactNativeWebview.WebView)(function (_ref2) {
|
|
40948
41062
|
var height = _ref2.height,
|
|
40949
41063
|
theme = _ref2.theme;
|
|
40950
41064
|
return {
|
|
@@ -41207,15 +41321,15 @@ exports.BottomSheet = BottomSheet;
|
|
|
41207
41321
|
exports.Box = Box;
|
|
41208
41322
|
exports.Button = CompoundButton;
|
|
41209
41323
|
exports.Calendar = Calendar;
|
|
41210
|
-
exports.Card = index$
|
|
41324
|
+
exports.Card = index$7;
|
|
41211
41325
|
exports.Checkbox = Checkbox;
|
|
41212
41326
|
exports.Collapse = Collapse;
|
|
41213
41327
|
exports.ContentNavigator = ContentNavigator;
|
|
41214
41328
|
exports.DatePicker = DatePicker;
|
|
41215
41329
|
exports.Divider = Divider;
|
|
41216
|
-
exports.Drawer = index$
|
|
41330
|
+
exports.Drawer = index$6;
|
|
41217
41331
|
exports.Empty = Empty;
|
|
41218
|
-
exports.FAB = index$
|
|
41332
|
+
exports.FAB = index$5;
|
|
41219
41333
|
exports.Icon = Icon;
|
|
41220
41334
|
exports.Image = Image;
|
|
41221
41335
|
exports.List = List;
|
|
@@ -41224,10 +41338,10 @@ exports.Progress = Progress;
|
|
|
41224
41338
|
exports.Radio = CompoundRadio;
|
|
41225
41339
|
exports.RichTextEditor = index;
|
|
41226
41340
|
exports.SectionHeading = SectionHeading;
|
|
41227
|
-
exports.Select = index$
|
|
41341
|
+
exports.Select = index$4;
|
|
41228
41342
|
exports.Slider = Slider;
|
|
41229
41343
|
exports.Spinner = Spinner;
|
|
41230
|
-
exports.Switch =
|
|
41344
|
+
exports.Switch = index$3;
|
|
41231
41345
|
exports.Tabs = index$2;
|
|
41232
41346
|
exports.Tag = Tag;
|
|
41233
41347
|
exports.TextInput = TextInput;
|