@hero-design/rn 7.21.0 → 7.22.0
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 +357 -247
- package/lib/index.js +361 -251
- 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/Box/helpers.ts +1 -1
- package/src/components/Calendar/index.tsx +9 -9
- package/src/components/Collapse/index.tsx +1 -1
- 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__/index.spec.tsx +1 -1
- package/src/components/Select/MultiSelect/index.tsx +3 -3
- 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/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/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/es/index.js
CHANGED
|
@@ -2295,19 +2295,11 @@ var getSwitchTheme = function getSwitchTheme(theme) {
|
|
|
2295
2295
|
'disabled-checked': theme.colors.primaryLight,
|
|
2296
2296
|
'disabled-unchecked': theme.colors.archived
|
|
2297
2297
|
},
|
|
2298
|
-
thumb: theme.colors.platformBackground
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
};
|
|
2304
|
-
var widths = {
|
|
2305
|
-
small: theme.space.xxxlarge,
|
|
2306
|
-
medium: theme.space.xxxxlarge
|
|
2307
|
-
};
|
|
2308
|
-
var heights = {
|
|
2309
|
-
small: theme.space.large,
|
|
2310
|
-
medium: theme.space.large * 1.2
|
|
2298
|
+
thumb: theme.colors.platformBackground,
|
|
2299
|
+
selector: {
|
|
2300
|
+
background: theme.colors.__alpha__globalNeutral3,
|
|
2301
|
+
textBackground: theme.colors.__alpha__primary1
|
|
2302
|
+
}
|
|
2311
2303
|
};
|
|
2312
2304
|
var sizes = {
|
|
2313
2305
|
thumbs: {
|
|
@@ -2321,21 +2313,28 @@ var getSwitchTheme = function getSwitchTheme(theme) {
|
|
|
2321
2313
|
heights: {
|
|
2322
2314
|
small: theme.sizes.large,
|
|
2323
2315
|
medium: theme.sizes.xlarge
|
|
2316
|
+
},
|
|
2317
|
+
selector: {
|
|
2318
|
+
height: theme.sizes.xxxxlarge
|
|
2324
2319
|
}
|
|
2325
2320
|
};
|
|
2326
2321
|
var spaces = {
|
|
2327
2322
|
small: theme.space.xsmall,
|
|
2328
|
-
medium: theme.space.xsmall
|
|
2323
|
+
medium: theme.space.xsmall,
|
|
2324
|
+
selector: {
|
|
2325
|
+
iconPadding: theme.space.medium,
|
|
2326
|
+
wrapperPadding: theme.space.xsmall
|
|
2327
|
+
}
|
|
2329
2328
|
};
|
|
2330
2329
|
var radii = {
|
|
2331
|
-
rounded: theme.radii.rounded
|
|
2330
|
+
rounded: theme.radii.rounded,
|
|
2331
|
+
selector: {
|
|
2332
|
+
"default": theme.radii.rounded
|
|
2333
|
+
}
|
|
2332
2334
|
};
|
|
2333
2335
|
return {
|
|
2334
2336
|
colors: colors,
|
|
2335
2337
|
sizes: sizes,
|
|
2336
|
-
thumbSizes: thumbSizes,
|
|
2337
|
-
widths: widths,
|
|
2338
|
-
heights: heights,
|
|
2339
2338
|
spaces: spaces,
|
|
2340
2339
|
radii: radii
|
|
2341
2340
|
};
|
|
@@ -5900,7 +5899,7 @@ var getDisplayName = function getDisplayName(primitive) {
|
|
|
5900
5899
|
|
|
5901
5900
|
var styled = createStyled(StyleSheet$1);
|
|
5902
5901
|
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'];
|
|
5903
|
-
var index$
|
|
5902
|
+
var index$8 = components.reduce(function (acc, comp) {
|
|
5904
5903
|
return Object.defineProperty(acc, comp, {
|
|
5905
5904
|
enumerable: true,
|
|
5906
5905
|
configurable: false,
|
|
@@ -5910,7 +5909,7 @@ var index$7 = components.reduce(function (acc, comp) {
|
|
|
5910
5909
|
});
|
|
5911
5910
|
}, styled);
|
|
5912
5911
|
|
|
5913
|
-
var StyledWrapper$
|
|
5912
|
+
var StyledWrapper$9 = index$8(Animated.View)(function () {
|
|
5914
5913
|
return {
|
|
5915
5914
|
margin: 0,
|
|
5916
5915
|
padding: 0,
|
|
@@ -5923,12 +5922,12 @@ var StyledWrapper$8 = index$7(Animated.View)(function () {
|
|
|
5923
5922
|
* to use with Animated.timing
|
|
5924
5923
|
*/
|
|
5925
5924
|
|
|
5926
|
-
var StyledHiddenWrapper = index$
|
|
5925
|
+
var StyledHiddenWrapper = index$8(View)(function () {
|
|
5927
5926
|
return {
|
|
5928
5927
|
height: Dimensions.get('window').height
|
|
5929
5928
|
};
|
|
5930
5929
|
});
|
|
5931
|
-
var StyledChildWrapper = index$
|
|
5930
|
+
var StyledChildWrapper = index$8(View)(function () {
|
|
5932
5931
|
return {
|
|
5933
5932
|
margin: 0,
|
|
5934
5933
|
padding: 0
|
|
@@ -5970,7 +5969,7 @@ var Collapse = function Collapse(_ref) {
|
|
|
5970
5969
|
var height = _ref2.height;
|
|
5971
5970
|
setContentHeight(height);
|
|
5972
5971
|
}, []);
|
|
5973
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
5972
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$9, {
|
|
5974
5973
|
style: {
|
|
5975
5974
|
height: collapseAnim
|
|
5976
5975
|
},
|
|
@@ -5983,10 +5982,10 @@ var Collapse = function Collapse(_ref) {
|
|
|
5983
5982
|
}, children)));
|
|
5984
5983
|
};
|
|
5985
5984
|
|
|
5986
|
-
var StyledWrapper$
|
|
5985
|
+
var StyledWrapper$8 = index$8(View)(function () {
|
|
5987
5986
|
return {};
|
|
5988
5987
|
});
|
|
5989
|
-
var StyledItemWrapper = index$
|
|
5988
|
+
var StyledItemWrapper = index$8(View)(function (_ref) {
|
|
5990
5989
|
var theme = _ref.theme,
|
|
5991
5990
|
themeVariant = _ref.themeVariant;
|
|
5992
5991
|
return {
|
|
@@ -5995,19 +5994,19 @@ var StyledItemWrapper = index$7(View)(function (_ref) {
|
|
|
5995
5994
|
borderRadius: themeVariant === 'card' ? theme.__hd__.accordion.radii.card : 0
|
|
5996
5995
|
};
|
|
5997
5996
|
});
|
|
5998
|
-
var StyledHeaderWrapper$1 = index$
|
|
5997
|
+
var StyledHeaderWrapper$1 = index$8(TouchableOpacity)(function () {
|
|
5999
5998
|
return {
|
|
6000
5999
|
flexDirection: 'row',
|
|
6001
6000
|
justifyContent: 'space-between'
|
|
6002
6001
|
};
|
|
6003
6002
|
});
|
|
6004
|
-
var StyledCollapse = index$
|
|
6003
|
+
var StyledCollapse = index$8(Collapse)(function (_ref2) {
|
|
6005
6004
|
var theme = _ref2.theme;
|
|
6006
6005
|
return {
|
|
6007
6006
|
paddingTop: theme.__hd__.accordion.space.padding
|
|
6008
6007
|
};
|
|
6009
6008
|
});
|
|
6010
|
-
var Spacer$1 = index$
|
|
6009
|
+
var Spacer$1 = index$8(View)(function (_ref3) {
|
|
6011
6010
|
var theme = _ref3.theme;
|
|
6012
6011
|
return {
|
|
6013
6012
|
paddingTop: theme.__hd__.accordion.space.padding
|
|
@@ -6019,7 +6018,7 @@ var FONTWEIGHT_MAP = {
|
|
|
6019
6018
|
regular: 'regular',
|
|
6020
6019
|
'semi-bold': 'semiBold'
|
|
6021
6020
|
};
|
|
6022
|
-
var StyledText$3 = index$
|
|
6021
|
+
var StyledText$3 = index$8(Text$1)(function (_ref) {
|
|
6023
6022
|
var themeFontSize = _ref.themeFontSize,
|
|
6024
6023
|
themeFontWeight = _ref.themeFontWeight,
|
|
6025
6024
|
themeIntent = _ref.themeIntent,
|
|
@@ -14580,7 +14579,7 @@ var COLOR_INTENTS = {
|
|
|
14580
14579
|
'disabled-text': 'disabledText',
|
|
14581
14580
|
'text-inverted': 'invertedText'
|
|
14582
14581
|
};
|
|
14583
|
-
var StyledHeroIcon = index$
|
|
14582
|
+
var StyledHeroIcon = index$8(HeroIcon)(function (_ref) {
|
|
14584
14583
|
var themeIntent = _ref.themeIntent,
|
|
14585
14584
|
themeSize = _ref.themeSize,
|
|
14586
14585
|
theme = _ref.theme;
|
|
@@ -14703,7 +14702,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
14703
14702
|
_activeItemKey = _usePropsOrInternalSt2[0],
|
|
14704
14703
|
_onItemPress = _usePropsOrInternalSt2[1];
|
|
14705
14704
|
|
|
14706
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
14705
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$8, {
|
|
14707
14706
|
style: style,
|
|
14708
14707
|
testID: testID
|
|
14709
14708
|
}, items.map(function (_ref2, index) {
|
|
@@ -14725,7 +14724,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
14725
14724
|
}));
|
|
14726
14725
|
};
|
|
14727
14726
|
|
|
14728
|
-
var Container$1 = index$
|
|
14727
|
+
var Container$1 = index$8(View)(function (_ref) {
|
|
14729
14728
|
var theme = _ref.theme,
|
|
14730
14729
|
_ref$themeVariant = _ref.themeVariant,
|
|
14731
14730
|
themeVariant = _ref$themeVariant === void 0 ? 'default' : _ref$themeVariant,
|
|
@@ -14737,21 +14736,21 @@ var Container$1 = index$7(View)(function (_ref) {
|
|
|
14737
14736
|
flexDirection: 'row'
|
|
14738
14737
|
};
|
|
14739
14738
|
});
|
|
14740
|
-
var IconContainer$1 = index$
|
|
14739
|
+
var IconContainer$1 = index$8(View)(function (_ref2) {
|
|
14741
14740
|
var theme = _ref2.theme;
|
|
14742
14741
|
return {
|
|
14743
14742
|
alignItems: 'center',
|
|
14744
14743
|
paddingLeft: theme.__hd__.alert.space.iconLeftPadding
|
|
14745
14744
|
};
|
|
14746
14745
|
});
|
|
14747
|
-
var TextContainer$1 = index$
|
|
14746
|
+
var TextContainer$1 = index$8(View)(function (_ref3) {
|
|
14748
14747
|
var theme = _ref3.theme;
|
|
14749
14748
|
return {
|
|
14750
14749
|
paddingHorizontal: theme.__hd__.alert.space.textPaddingHorizontal,
|
|
14751
14750
|
flex: 1
|
|
14752
14751
|
};
|
|
14753
14752
|
});
|
|
14754
|
-
var ContentContainer$1 = index$
|
|
14753
|
+
var ContentContainer$1 = index$8(View)(function (_ref4) {
|
|
14755
14754
|
var theme = _ref4.theme,
|
|
14756
14755
|
showDivider = _ref4.showDivider;
|
|
14757
14756
|
return {
|
|
@@ -14762,7 +14761,7 @@ var ContentContainer$1 = index$7(View)(function (_ref4) {
|
|
|
14762
14761
|
flexDirection: 'row'
|
|
14763
14762
|
};
|
|
14764
14763
|
});
|
|
14765
|
-
var CTAWrapper$1 = index$
|
|
14764
|
+
var CTAWrapper$1 = index$8(TouchableOpacity)(function (_ref5) {
|
|
14766
14765
|
var theme = _ref5.theme;
|
|
14767
14766
|
return {
|
|
14768
14767
|
paddingHorizontal: theme.__hd__.alert.space.ctaPadding,
|
|
@@ -14830,7 +14829,7 @@ var Alert = function Alert(_ref2) {
|
|
|
14830
14829
|
})) : null);
|
|
14831
14830
|
};
|
|
14832
14831
|
|
|
14833
|
-
var StyledPressable = index$
|
|
14832
|
+
var StyledPressable = index$8(TouchableOpacity)(function (_ref) {
|
|
14834
14833
|
var themeSize = _ref.themeSize,
|
|
14835
14834
|
themeIntent = _ref.themeIntent,
|
|
14836
14835
|
theme = _ref.theme;
|
|
@@ -14843,7 +14842,7 @@ var StyledPressable = index$7(TouchableOpacity)(function (_ref) {
|
|
|
14843
14842
|
overflow: 'hidden'
|
|
14844
14843
|
};
|
|
14845
14844
|
});
|
|
14846
|
-
var StyledView$3 = index$
|
|
14845
|
+
var StyledView$3 = index$8(View)(function (_ref2) {
|
|
14847
14846
|
var themeSize = _ref2.themeSize,
|
|
14848
14847
|
themeIntent = _ref2.themeIntent,
|
|
14849
14848
|
theme = _ref2.theme;
|
|
@@ -14856,7 +14855,7 @@ var StyledView$3 = index$7(View)(function (_ref2) {
|
|
|
14856
14855
|
overflow: 'hidden'
|
|
14857
14856
|
};
|
|
14858
14857
|
});
|
|
14859
|
-
var StyledTextWrapper = index$
|
|
14858
|
+
var StyledTextWrapper$1 = index$8(View)(function () {
|
|
14860
14859
|
return {
|
|
14861
14860
|
alignItems: 'center',
|
|
14862
14861
|
justifyContent: 'center',
|
|
@@ -14865,7 +14864,7 @@ var StyledTextWrapper = index$7(View)(function () {
|
|
|
14865
14864
|
height: '100%'
|
|
14866
14865
|
};
|
|
14867
14866
|
});
|
|
14868
|
-
var StyledText$2 = index$
|
|
14867
|
+
var StyledText$2 = index$8(Text$1)(function (_ref3) {
|
|
14869
14868
|
var themeSize = _ref3.themeSize,
|
|
14870
14869
|
themeIntent = _ref3.themeIntent,
|
|
14871
14870
|
theme = _ref3.theme;
|
|
@@ -14875,7 +14874,7 @@ var StyledText$2 = index$7(Text$1)(function (_ref3) {
|
|
|
14875
14874
|
overflow: 'hidden'
|
|
14876
14875
|
};
|
|
14877
14876
|
});
|
|
14878
|
-
var StyledImage = index$
|
|
14877
|
+
var StyledImage = index$8(Image$1)(function (_ref4) {
|
|
14879
14878
|
var themeSize = _ref4.themeSize,
|
|
14880
14879
|
theme = _ref4.theme;
|
|
14881
14880
|
return {
|
|
@@ -14901,7 +14900,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
14901
14900
|
themeIntent: intent,
|
|
14902
14901
|
themeSize: size,
|
|
14903
14902
|
style: style
|
|
14904
|
-
}, title !== undefined && source === undefined && /*#__PURE__*/React.createElement(StyledTextWrapper, null, /*#__PURE__*/React.createElement(StyledText$2, {
|
|
14903
|
+
}, title !== undefined && source === undefined && /*#__PURE__*/React.createElement(StyledTextWrapper$1, null, /*#__PURE__*/React.createElement(StyledText$2, {
|
|
14905
14904
|
themeIntent: intent,
|
|
14906
14905
|
themeSize: size
|
|
14907
14906
|
}, title)), source !== undefined && /*#__PURE__*/React.createElement(StyledImage, {
|
|
@@ -14911,7 +14910,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
14911
14910
|
})) : null;
|
|
14912
14911
|
};
|
|
14913
14912
|
|
|
14914
|
-
var StyledView$2 = index$
|
|
14913
|
+
var StyledView$2 = index$8(Animated.View)(function (_ref) {
|
|
14915
14914
|
var themeIntent = _ref.themeIntent,
|
|
14916
14915
|
themePadding = _ref.themePadding,
|
|
14917
14916
|
theme = _ref.theme;
|
|
@@ -14925,7 +14924,7 @@ var StyledView$2 = index$7(Animated.View)(function (_ref) {
|
|
|
14925
14924
|
paddingHorizontal: themePadding === 'wideContent' ? theme.__hd__.badge.space.horizontalPadding : undefined
|
|
14926
14925
|
};
|
|
14927
14926
|
});
|
|
14928
|
-
var StyledText$1 = index$
|
|
14927
|
+
var StyledText$1 = index$8(Text$1)(function (_ref2) {
|
|
14929
14928
|
var theme = _ref2.theme;
|
|
14930
14929
|
return {
|
|
14931
14930
|
fontFamily: theme.__hd__.badge.fonts["default"],
|
|
@@ -14936,7 +14935,7 @@ var StyledText$1 = index$7(Text$1)(function (_ref2) {
|
|
|
14936
14935
|
textAlign: 'center'
|
|
14937
14936
|
};
|
|
14938
14937
|
});
|
|
14939
|
-
var StyledStatus = index$
|
|
14938
|
+
var StyledStatus = index$8(Animated.View)(function (_ref3) {
|
|
14940
14939
|
var themeIntent = _ref3.themeIntent,
|
|
14941
14940
|
theme = _ref3.theme;
|
|
14942
14941
|
return {
|
|
@@ -15059,21 +15058,21 @@ var isHeroIcon = function isHeroIcon(x) {
|
|
|
15059
15058
|
return IconList.includes(x);
|
|
15060
15059
|
};
|
|
15061
15060
|
|
|
15062
|
-
var BottomNavigationTab = index$
|
|
15061
|
+
var BottomNavigationTab = index$8(View)(function (_ref) {
|
|
15063
15062
|
var themeVisibility = _ref.themeVisibility;
|
|
15064
15063
|
return {
|
|
15065
15064
|
flex: 1,
|
|
15066
15065
|
display: themeVisibility === false ? 'none' : 'flex'
|
|
15067
15066
|
};
|
|
15068
15067
|
});
|
|
15069
|
-
var BottomNavigationContainer = index$
|
|
15068
|
+
var BottomNavigationContainer = index$8(View)({
|
|
15070
15069
|
flex: 1,
|
|
15071
15070
|
overflow: 'hidden'
|
|
15072
15071
|
});
|
|
15073
|
-
var ContentWrapper$2 = index$
|
|
15072
|
+
var ContentWrapper$2 = index$8(View)({
|
|
15074
15073
|
flex: 1
|
|
15075
15074
|
});
|
|
15076
|
-
var BottomBarWrapper = index$
|
|
15075
|
+
var BottomBarWrapper = index$8(View)(function (_ref2) {
|
|
15077
15076
|
var themeInsets = _ref2.themeInsets,
|
|
15078
15077
|
theme = _ref2.theme;
|
|
15079
15078
|
return {
|
|
@@ -15089,17 +15088,17 @@ var BottomBarWrapper = index$7(View)(function (_ref2) {
|
|
|
15089
15088
|
elevation: theme.__hd__.bottomNavigation.shadows.elevation
|
|
15090
15089
|
};
|
|
15091
15090
|
});
|
|
15092
|
-
var BottomBar = index$
|
|
15091
|
+
var BottomBar = index$8(View)({
|
|
15093
15092
|
flex: 1,
|
|
15094
15093
|
flexDirection: 'row',
|
|
15095
15094
|
overflow: 'hidden',
|
|
15096
15095
|
alignItems: 'center'
|
|
15097
15096
|
});
|
|
15098
|
-
var BottomBarItem = index$
|
|
15097
|
+
var BottomBarItem = index$8(View)({
|
|
15099
15098
|
flex: 1,
|
|
15100
15099
|
alignItems: 'center'
|
|
15101
15100
|
});
|
|
15102
|
-
var StyledBottomBarText = index$
|
|
15101
|
+
var StyledBottomBarText = index$8(Typography.Text)(function (_ref3) {
|
|
15103
15102
|
var theme = _ref3.theme;
|
|
15104
15103
|
return {
|
|
15105
15104
|
marginTop: theme.__hd__.bottomNavigation.space.titleMarginTop
|
|
@@ -15196,7 +15195,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
|
|
|
15196
15195
|
}))));
|
|
15197
15196
|
};
|
|
15198
15197
|
|
|
15199
|
-
var StyledDivider = index$
|
|
15198
|
+
var StyledDivider = index$8(View)(function (_ref) {
|
|
15200
15199
|
var themeMarginHorizontal = _ref.themeMarginHorizontal,
|
|
15201
15200
|
themeMarginVertical = _ref.themeMarginVertical,
|
|
15202
15201
|
theme = _ref.theme;
|
|
@@ -15232,10 +15231,10 @@ var Divider = function Divider(_ref) {
|
|
|
15232
15231
|
|
|
15233
15232
|
var AnimatedPressable$1 = Animated.createAnimatedComponent(Pressable);
|
|
15234
15233
|
var AnimatedSafeAreaView = Animated.createAnimatedComponent(SafeAreaView);
|
|
15235
|
-
var StyledWrapper$
|
|
15234
|
+
var StyledWrapper$7 = index$8(View)(_objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
15236
15235
|
flexDirection: 'column-reverse'
|
|
15237
15236
|
}));
|
|
15238
|
-
var StyledBottomSheet = index$
|
|
15237
|
+
var StyledBottomSheet = index$8(AnimatedSafeAreaView)(function (_ref) {
|
|
15239
15238
|
var theme = _ref.theme;
|
|
15240
15239
|
return {
|
|
15241
15240
|
borderTopLeftRadius: theme.__hd__.bottomSheet.radii["default"],
|
|
@@ -15250,14 +15249,14 @@ var StyledBottomSheet = index$7(AnimatedSafeAreaView)(function (_ref) {
|
|
|
15250
15249
|
maxHeight: '94%'
|
|
15251
15250
|
};
|
|
15252
15251
|
});
|
|
15253
|
-
var StyledBackdrop$2 = index$
|
|
15252
|
+
var StyledBackdrop$2 = index$8(AnimatedPressable$1)(function (_ref2) {
|
|
15254
15253
|
var theme = _ref2.theme;
|
|
15255
15254
|
return _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
15256
15255
|
backgroundColor: theme.__hd__.bottomSheet.colors.backdrop,
|
|
15257
15256
|
opacity: 0.48
|
|
15258
15257
|
});
|
|
15259
15258
|
});
|
|
15260
|
-
var StyledHeaderWrapper = index$
|
|
15259
|
+
var StyledHeaderWrapper = index$8(View)(function (_ref3) {
|
|
15261
15260
|
var theme = _ref3.theme;
|
|
15262
15261
|
return {
|
|
15263
15262
|
flexDirection: 'row',
|
|
@@ -15265,11 +15264,11 @@ var StyledHeaderWrapper = index$7(View)(function (_ref3) {
|
|
|
15265
15264
|
paddingHorizontal: theme.__hd__.bottomSheet.space.headerWrapperHorizontalPadding
|
|
15266
15265
|
};
|
|
15267
15266
|
});
|
|
15268
|
-
var StyledHeader = index$
|
|
15267
|
+
var StyledHeader = index$8(View)({
|
|
15269
15268
|
flex: 1,
|
|
15270
15269
|
justifyContent: 'center'
|
|
15271
15270
|
});
|
|
15272
|
-
var StyledFooter = index$
|
|
15271
|
+
var StyledFooter = index$8(View)(function (_ref4) {
|
|
15273
15272
|
var theme = _ref4.theme;
|
|
15274
15273
|
return {
|
|
15275
15274
|
paddingHorizontal: theme.__hd__.bottomSheet.space.footerHorizontalPadding,
|
|
@@ -15280,7 +15279,7 @@ var StyledFooter = index$7(View)(function (_ref4) {
|
|
|
15280
15279
|
flexDirection: 'row'
|
|
15281
15280
|
};
|
|
15282
15281
|
});
|
|
15283
|
-
var StyledIconWrapper$
|
|
15282
|
+
var StyledIconWrapper$2 = index$8(View)(function (_ref5) {
|
|
15284
15283
|
var theme = _ref5.theme;
|
|
15285
15284
|
return {
|
|
15286
15285
|
alignItems: 'center',
|
|
@@ -15303,7 +15302,7 @@ var genLoadingIndicatorStyles = function genLoadingIndicatorStyles(theme, intent
|
|
|
15303
15302
|
};
|
|
15304
15303
|
};
|
|
15305
15304
|
|
|
15306
|
-
var StyledLoadingIndicatorWrapper = index$
|
|
15305
|
+
var StyledLoadingIndicatorWrapper = index$8(View)(function (_ref) {
|
|
15307
15306
|
var theme = _ref.theme;
|
|
15308
15307
|
return {
|
|
15309
15308
|
flexDirection: 'row',
|
|
@@ -15312,7 +15311,7 @@ var StyledLoadingIndicatorWrapper = index$7(View)(function (_ref) {
|
|
|
15312
15311
|
paddingVertical: theme.space.xxsmall
|
|
15313
15312
|
};
|
|
15314
15313
|
});
|
|
15315
|
-
var StyledLoadingDot = index$
|
|
15314
|
+
var StyledLoadingDot = index$8(View)(function (_ref2) {
|
|
15316
15315
|
var _ref2$size = _ref2.size,
|
|
15317
15316
|
size = _ref2$size === void 0 ? 12 : _ref2$size,
|
|
15318
15317
|
themeVariant = _ref2.themeVariant,
|
|
@@ -15563,7 +15562,7 @@ var genTextVariantTextStyles = function genTextVariantTextStyles(theme, intent,
|
|
|
15563
15562
|
}, textColorStyling());
|
|
15564
15563
|
};
|
|
15565
15564
|
|
|
15566
|
-
var StyledButtonContainer = index$
|
|
15565
|
+
var StyledButtonContainer = index$8(TouchableHighlight)(function (_ref) {
|
|
15567
15566
|
var _ref$disabled = _ref.disabled,
|
|
15568
15567
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15569
15568
|
_ref$pressed = _ref.pressed,
|
|
@@ -15605,7 +15604,7 @@ var StyledButtonContainer = index$7(TouchableHighlight)(function (_ref) {
|
|
|
15605
15604
|
};
|
|
15606
15605
|
}
|
|
15607
15606
|
});
|
|
15608
|
-
var StyledButtonText = index$
|
|
15607
|
+
var StyledButtonText = index$8(Typography.Text)(function (_ref2) {
|
|
15609
15608
|
var disabled = _ref2.disabled,
|
|
15610
15609
|
pressed = _ref2.pressed,
|
|
15611
15610
|
themeVariant = _ref2.themeVariant,
|
|
@@ -15655,7 +15654,7 @@ var StyledButtonText = index$7(Typography.Text)(function (_ref2) {
|
|
|
15655
15654
|
fontFamily: theme.__hd__.button.fonts["default"]
|
|
15656
15655
|
}, themeStyling());
|
|
15657
15656
|
});
|
|
15658
|
-
var StyledButtonIconWrapper = index$
|
|
15657
|
+
var StyledButtonIconWrapper = index$8(View)(function (_ref3) {
|
|
15659
15658
|
var themePosition = _ref3.themePosition,
|
|
15660
15659
|
theme = _ref3.theme;
|
|
15661
15660
|
|
|
@@ -15671,7 +15670,7 @@ var StyledButtonIconWrapper = index$7(View)(function (_ref3) {
|
|
|
15671
15670
|
};
|
|
15672
15671
|
}
|
|
15673
15672
|
});
|
|
15674
|
-
var StyledButtonIcon = index$
|
|
15673
|
+
var StyledButtonIcon = index$8(Icon)(function (_ref4) {
|
|
15675
15674
|
var disabled = _ref4.disabled,
|
|
15676
15675
|
pressed = _ref4.pressed,
|
|
15677
15676
|
themeVariant = _ref4.themeVariant,
|
|
@@ -15839,7 +15838,7 @@ var IconButton = function IconButton(_ref) {
|
|
|
15839
15838
|
}));
|
|
15840
15839
|
};
|
|
15841
15840
|
|
|
15842
|
-
var ButtonContainer = index$
|
|
15841
|
+
var ButtonContainer = index$8(TouchableOpacity)(function (_ref) {
|
|
15843
15842
|
var theme = _ref.theme;
|
|
15844
15843
|
return {
|
|
15845
15844
|
width: '100%',
|
|
@@ -15851,13 +15850,13 @@ var ButtonContainer = index$7(TouchableOpacity)(function (_ref) {
|
|
|
15851
15850
|
backgroundColor: theme.__hd__.button.colors.utilityBackground
|
|
15852
15851
|
};
|
|
15853
15852
|
});
|
|
15854
|
-
var IconWrapper = index$
|
|
15853
|
+
var IconWrapper = index$8(View)(function (_ref2) {
|
|
15855
15854
|
var theme = _ref2.theme;
|
|
15856
15855
|
return {
|
|
15857
15856
|
paddingRight: theme.__hd__.button.space.iconPadding
|
|
15858
15857
|
};
|
|
15859
15858
|
});
|
|
15860
|
-
var ButtonText = index$
|
|
15859
|
+
var ButtonText = index$8(Typography.Text)(function (_ref3) {
|
|
15861
15860
|
var theme = _ref3.theme;
|
|
15862
15861
|
return {
|
|
15863
15862
|
flexShrink: 1,
|
|
@@ -15912,7 +15911,7 @@ var Header = function Header(_ref) {
|
|
|
15912
15911
|
style: {
|
|
15913
15912
|
flex: 1
|
|
15914
15913
|
}
|
|
15915
|
-
}, content), showCloseButton ? /*#__PURE__*/React.createElement(StyledIconWrapper$
|
|
15914
|
+
}, content), showCloseButton ? /*#__PURE__*/React.createElement(StyledIconWrapper$2, null, /*#__PURE__*/React.createElement(CompoundButton.Icon, {
|
|
15916
15915
|
icon: "cancel",
|
|
15917
15916
|
onPress: onRequestClose,
|
|
15918
15917
|
intent: "text",
|
|
@@ -15999,7 +15998,7 @@ var BottomSheet = function BottomSheet(_ref) {
|
|
|
15999
15998
|
transparent: true,
|
|
16000
15999
|
testID: testID,
|
|
16001
16000
|
onShow: onOpen
|
|
16002
|
-
}, /*#__PURE__*/React.createElement(StyledWrapper$
|
|
16001
|
+
}, /*#__PURE__*/React.createElement(StyledWrapper$7, {
|
|
16003
16002
|
pointerEvents: "box-none"
|
|
16004
16003
|
}, /*#__PURE__*/React.createElement(StyledBackdrop$2, {
|
|
16005
16004
|
style: {
|
|
@@ -16244,7 +16243,7 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
16244
16243
|
};
|
|
16245
16244
|
|
|
16246
16245
|
var configKeys = Object.keys(config);
|
|
16247
|
-
var StyledBox = index$
|
|
16246
|
+
var StyledBox = index$8(View)(function (_ref5) {
|
|
16248
16247
|
var theme = _ref5.theme,
|
|
16249
16248
|
otherProps = _objectWithoutProperties(_ref5, _excluded$a);
|
|
16250
16249
|
|
|
@@ -18663,14 +18662,14 @@ function convertToFP(fn, arity, a) {
|
|
|
18663
18662
|
var format = convertToFP(format$1, 2);
|
|
18664
18663
|
var formatTime = format;
|
|
18665
18664
|
|
|
18666
|
-
var Wrapper = index$
|
|
18665
|
+
var Wrapper = index$8(View)(function () {
|
|
18667
18666
|
return {
|
|
18668
18667
|
flex: 1,
|
|
18669
18668
|
flexDirection: 'row',
|
|
18670
18669
|
justifyContent: 'space-between'
|
|
18671
18670
|
};
|
|
18672
18671
|
});
|
|
18673
|
-
var Value = index$
|
|
18672
|
+
var Value = index$8(Typography.Text)(function (_ref) {
|
|
18674
18673
|
var theme = _ref.theme;
|
|
18675
18674
|
return {
|
|
18676
18675
|
paddingHorizontal: theme.__hd__.contentNavigator.space.valueHorizontalPadding
|
|
@@ -18711,13 +18710,13 @@ function ContentNavigator(_ref) {
|
|
|
18711
18710
|
}));
|
|
18712
18711
|
}
|
|
18713
18712
|
|
|
18714
|
-
var StyledContainer$4 = index$
|
|
18713
|
+
var StyledContainer$4 = index$8(View)(function (_ref) {
|
|
18715
18714
|
var theme = _ref.theme;
|
|
18716
18715
|
return {
|
|
18717
18716
|
backgroundColor: theme.__hd__.calendar.colors.background
|
|
18718
18717
|
};
|
|
18719
18718
|
});
|
|
18720
|
-
var StyledCalendarHeader = index$
|
|
18719
|
+
var StyledCalendarHeader = index$8(View)(function (_ref2) {
|
|
18721
18720
|
var theme = _ref2.theme;
|
|
18722
18721
|
return {
|
|
18723
18722
|
flexDirection: 'row',
|
|
@@ -18725,7 +18724,7 @@ var StyledCalendarHeader = index$7(View)(function (_ref2) {
|
|
|
18725
18724
|
paddingVertical: theme.__hd__.calendar.space.headerVerticalPadding
|
|
18726
18725
|
};
|
|
18727
18726
|
});
|
|
18728
|
-
var StyledCalendarDayNameCell = index$
|
|
18727
|
+
var StyledCalendarDayNameCell = index$8(View)(function (_ref3) {
|
|
18729
18728
|
var theme = _ref3.theme;
|
|
18730
18729
|
return {
|
|
18731
18730
|
width: theme.__hd__.calendar.sizes.cellWidth,
|
|
@@ -18734,7 +18733,7 @@ var StyledCalendarDayNameCell = index$7(View)(function (_ref3) {
|
|
|
18734
18733
|
justifyContent: 'center'
|
|
18735
18734
|
};
|
|
18736
18735
|
});
|
|
18737
|
-
var StyledCalendarCell = index$
|
|
18736
|
+
var StyledCalendarCell = index$8(TouchableOpacity)(function (_ref4) {
|
|
18738
18737
|
var theme = _ref4.theme,
|
|
18739
18738
|
_ref4$variant = _ref4.variant,
|
|
18740
18739
|
variant = _ref4$variant === void 0 ? 'default' : _ref4$variant;
|
|
@@ -18749,7 +18748,7 @@ var StyledCalendarCell = index$7(TouchableOpacity)(function (_ref4) {
|
|
|
18749
18748
|
height: theme.__hd__.calendar.sizes.cellCircleHeight
|
|
18750
18749
|
};
|
|
18751
18750
|
});
|
|
18752
|
-
var StyledCalendarRow = index$
|
|
18751
|
+
var StyledCalendarRow = index$8(View)(function (_ref5) {
|
|
18753
18752
|
var theme = _ref5.theme;
|
|
18754
18753
|
return {
|
|
18755
18754
|
flexDirection: 'row',
|
|
@@ -18757,7 +18756,7 @@ var StyledCalendarRow = index$7(View)(function (_ref5) {
|
|
|
18757
18756
|
flexWrap: 'wrap'
|
|
18758
18757
|
};
|
|
18759
18758
|
});
|
|
18760
|
-
var StyledCalendarRowItem = index$
|
|
18759
|
+
var StyledCalendarRowItem = index$8(View)(function (_ref6) {
|
|
18761
18760
|
var theme = _ref6.theme;
|
|
18762
18761
|
return {
|
|
18763
18762
|
flexBasis: "".concat(Math.floor(100.0 / 7.0).toString(), "%"),
|
|
@@ -18767,7 +18766,7 @@ var StyledCalendarRowItem = index$7(View)(function (_ref6) {
|
|
|
18767
18766
|
justifyContent: 'center'
|
|
18768
18767
|
};
|
|
18769
18768
|
});
|
|
18770
|
-
var StyledDisabledCalendarRowItem = index$
|
|
18769
|
+
var StyledDisabledCalendarRowItem = index$8(View)(function (_ref7) {
|
|
18771
18770
|
var theme = _ref7.theme;
|
|
18772
18771
|
return {
|
|
18773
18772
|
flexBasis: "".concat(Math.floor(100.0 / 7.0).toString(), "%"),
|
|
@@ -18776,7 +18775,7 @@ var StyledDisabledCalendarRowItem = index$7(View)(function (_ref7) {
|
|
|
18776
18775
|
height: theme.__hd__.calendar.sizes.cellHeight
|
|
18777
18776
|
};
|
|
18778
18777
|
});
|
|
18779
|
-
var StyledMark = index$
|
|
18778
|
+
var StyledMark = index$8(View)(function (_ref8) {
|
|
18780
18779
|
var theme = _ref8.theme,
|
|
18781
18780
|
_ref8$variant = _ref8.variant,
|
|
18782
18781
|
variant = _ref8$variant === void 0 ? 'primary' : _ref8$variant;
|
|
@@ -18956,7 +18955,7 @@ var Calendar = function Calendar(_ref) {
|
|
|
18956
18955
|
})));
|
|
18957
18956
|
};
|
|
18958
18957
|
|
|
18959
|
-
var StyledDataCard = index$
|
|
18958
|
+
var StyledDataCard = index$8(View)(function (_ref) {
|
|
18960
18959
|
var theme = _ref.theme;
|
|
18961
18960
|
return {
|
|
18962
18961
|
borderRadius: theme.__hd__.card.radii["default"],
|
|
@@ -18964,7 +18963,7 @@ var StyledDataCard = index$7(View)(function (_ref) {
|
|
|
18964
18963
|
flexDirection: 'row'
|
|
18965
18964
|
};
|
|
18966
18965
|
});
|
|
18967
|
-
var Indicator = index$
|
|
18966
|
+
var Indicator = index$8(View)(function (_ref2) {
|
|
18968
18967
|
var theme = _ref2.theme,
|
|
18969
18968
|
themeIntent = _ref2.themeIntent;
|
|
18970
18969
|
return {
|
|
@@ -18988,7 +18987,7 @@ var DataCard = function DataCard(_ref) {
|
|
|
18988
18987
|
}), children);
|
|
18989
18988
|
};
|
|
18990
18989
|
|
|
18991
|
-
var StyledCard = index$
|
|
18990
|
+
var StyledCard = index$8(View)(function (_ref) {
|
|
18992
18991
|
var themeVariant = _ref.themeVariant,
|
|
18993
18992
|
theme = _ref.theme,
|
|
18994
18993
|
themeIntent = _ref.themeIntent;
|
|
@@ -19002,7 +19001,7 @@ var StyledCard = index$7(View)(function (_ref) {
|
|
|
19002
19001
|
});
|
|
19003
19002
|
}); // DEPRECATED
|
|
19004
19003
|
|
|
19005
|
-
var LeftDataCard = index$
|
|
19004
|
+
var LeftDataCard = index$8(View)(function (_ref2) {
|
|
19006
19005
|
var theme = _ref2.theme;
|
|
19007
19006
|
return {
|
|
19008
19007
|
backgroundColor: theme.__hd__.card.colors.dataCardIndicator,
|
|
@@ -19028,11 +19027,11 @@ var Card = function Card(_ref) {
|
|
|
19028
19027
|
}), children);
|
|
19029
19028
|
};
|
|
19030
19029
|
|
|
19031
|
-
var index$
|
|
19030
|
+
var index$7 = Object.assign(Card, {
|
|
19032
19031
|
Data: DataCard
|
|
19033
19032
|
});
|
|
19034
19033
|
|
|
19035
|
-
var StyledWrapper$
|
|
19034
|
+
var StyledWrapper$6 = index$8(TouchableOpacity)(function (_ref) {
|
|
19036
19035
|
var theme = _ref.theme,
|
|
19037
19036
|
themeWithBorder = _ref.themeWithBorder,
|
|
19038
19037
|
themeDisabled = _ref.themeDisabled;
|
|
@@ -19046,14 +19045,14 @@ var StyledWrapper$5 = index$7(TouchableOpacity)(function (_ref) {
|
|
|
19046
19045
|
flexDirection: 'row'
|
|
19047
19046
|
}, themeWithBorder && borderStyle);
|
|
19048
19047
|
});
|
|
19049
|
-
var StyledDescription$1 = index$
|
|
19048
|
+
var StyledDescription$1 = index$8(Typography.Text)(function (_ref2) {
|
|
19050
19049
|
var theme = _ref2.theme;
|
|
19051
19050
|
return {
|
|
19052
19051
|
paddingRight: theme.__hd__.checkbox.space.iconDescriptionPadding,
|
|
19053
19052
|
flex: 1
|
|
19054
19053
|
};
|
|
19055
19054
|
});
|
|
19056
|
-
var StyledCheckbox = index$
|
|
19055
|
+
var StyledCheckbox = index$8(View)(function (_ref3) {
|
|
19057
19056
|
var theme = _ref3.theme,
|
|
19058
19057
|
themeDisabled = _ref3.themeDisabled;
|
|
19059
19058
|
return {
|
|
@@ -19067,7 +19066,7 @@ var StyledCheckbox = index$7(View)(function (_ref3) {
|
|
|
19067
19066
|
overflow: 'hidden'
|
|
19068
19067
|
};
|
|
19069
19068
|
});
|
|
19070
|
-
var StyledCheckMark = index$
|
|
19069
|
+
var StyledCheckMark = index$8(Icon)(function (_ref4) {
|
|
19071
19070
|
var theme = _ref4.theme;
|
|
19072
19071
|
return {
|
|
19073
19072
|
position: 'absolute',
|
|
@@ -19085,7 +19084,7 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
19085
19084
|
onPress = _ref.onPress,
|
|
19086
19085
|
style = _ref.style,
|
|
19087
19086
|
testID = _ref.testID;
|
|
19088
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
19087
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$6, {
|
|
19089
19088
|
onPress: onPress,
|
|
19090
19089
|
disabled: disabled,
|
|
19091
19090
|
themeDisabled: disabled,
|
|
@@ -19103,14 +19102,14 @@ var Checkbox = function Checkbox(_ref) {
|
|
|
19103
19102
|
})));
|
|
19104
19103
|
};
|
|
19105
19104
|
|
|
19106
|
-
var StyledContainer$3 = index$
|
|
19105
|
+
var StyledContainer$3 = index$8(View)(function (_ref) {
|
|
19107
19106
|
var theme = _ref.theme;
|
|
19108
19107
|
return {
|
|
19109
19108
|
width: '100%',
|
|
19110
19109
|
marginVertical: theme.__hd__.textInput.space.containerMarginVertical
|
|
19111
19110
|
};
|
|
19112
19111
|
});
|
|
19113
|
-
var StyledLabelContainer = index$
|
|
19112
|
+
var StyledLabelContainer = index$8(View)(function (_ref2) {
|
|
19114
19113
|
var theme = _ref2.theme;
|
|
19115
19114
|
return {
|
|
19116
19115
|
position: 'absolute',
|
|
@@ -19122,28 +19121,28 @@ var StyledLabelContainer = index$7(View)(function (_ref2) {
|
|
|
19122
19121
|
paddingHorizontal: theme.__hd__.textInput.space.labelHorizontalPadding
|
|
19123
19122
|
};
|
|
19124
19123
|
});
|
|
19125
|
-
var StyledLabel = index$
|
|
19124
|
+
var StyledLabel = index$8(Typography.Text)(function (_ref3) {
|
|
19126
19125
|
var theme = _ref3.theme,
|
|
19127
19126
|
themeVariant = _ref3.themeVariant;
|
|
19128
19127
|
return {
|
|
19129
19128
|
color: theme.__hd__.textInput.colors.labels[themeVariant]
|
|
19130
19129
|
};
|
|
19131
19130
|
});
|
|
19132
|
-
var StyledAsteriskLabel = index$
|
|
19131
|
+
var StyledAsteriskLabel = index$8(Typography.Text)(function (_ref4) {
|
|
19133
19132
|
var theme = _ref4.theme,
|
|
19134
19133
|
themeVariant = _ref4.themeVariant;
|
|
19135
19134
|
return {
|
|
19136
19135
|
color: theme.__hd__.textInput.colors.asterisks[themeVariant]
|
|
19137
19136
|
};
|
|
19138
19137
|
});
|
|
19139
|
-
var StyledLabelContainerInsideTextInput = index$
|
|
19138
|
+
var StyledLabelContainerInsideTextInput = index$8(View)(function () {
|
|
19140
19139
|
return _objectSpread2({
|
|
19141
19140
|
flexDirection: 'row',
|
|
19142
19141
|
zIndex: 9999,
|
|
19143
19142
|
alignItems: 'center'
|
|
19144
19143
|
}, StyleSheet$1.absoluteFillObject);
|
|
19145
19144
|
});
|
|
19146
|
-
var StyledLabelInsideTextInput = index$
|
|
19145
|
+
var StyledLabelInsideTextInput = index$8(Typography.Text)(function (_ref5) {
|
|
19147
19146
|
var theme = _ref5.theme,
|
|
19148
19147
|
themeVariant = _ref5.themeVariant;
|
|
19149
19148
|
return {
|
|
@@ -19154,7 +19153,7 @@ var StyledLabelInsideTextInput = index$7(Typography.Text)(function (_ref5) {
|
|
|
19154
19153
|
color: theme.__hd__.textInput.colors.labelsInsideTextInput[themeVariant]
|
|
19155
19154
|
};
|
|
19156
19155
|
});
|
|
19157
|
-
var StyledAsteriskLabelInsideTextInput = index$
|
|
19156
|
+
var StyledAsteriskLabelInsideTextInput = index$8(Typography.Text)(function (_ref6) {
|
|
19158
19157
|
var theme = _ref6.theme,
|
|
19159
19158
|
themeVariant = _ref6.themeVariant;
|
|
19160
19159
|
return {
|
|
@@ -19162,7 +19161,7 @@ var StyledAsteriskLabelInsideTextInput = index$7(Typography.Text)(function (_ref
|
|
|
19162
19161
|
fontSize: theme.__hd__.textInput.fontSizes.asteriskLabel
|
|
19163
19162
|
};
|
|
19164
19163
|
});
|
|
19165
|
-
var StyledErrorContainer$1 = index$
|
|
19164
|
+
var StyledErrorContainer$1 = index$8(View)(function (_ref7) {
|
|
19166
19165
|
var theme = _ref7.theme;
|
|
19167
19166
|
return {
|
|
19168
19167
|
marginRight: theme.__hd__.textInput.space.errorContainerMarginRight,
|
|
@@ -19172,7 +19171,7 @@ var StyledErrorContainer$1 = index$7(View)(function (_ref7) {
|
|
|
19172
19171
|
flexGrow: 4
|
|
19173
19172
|
};
|
|
19174
19173
|
});
|
|
19175
|
-
var StyledError = index$
|
|
19174
|
+
var StyledError = index$8(Typography.Text)(function (_ref8) {
|
|
19176
19175
|
var theme = _ref8.theme;
|
|
19177
19176
|
return {
|
|
19178
19177
|
color: theme.__hd__.textInput.colors.error,
|
|
@@ -19180,7 +19179,7 @@ var StyledError = index$7(Typography.Text)(function (_ref8) {
|
|
|
19180
19179
|
marginLeft: theme.__hd__.textInput.space.errorMarginLeft
|
|
19181
19180
|
};
|
|
19182
19181
|
});
|
|
19183
|
-
var StyledMaxLengthMessage = index$
|
|
19182
|
+
var StyledMaxLengthMessage = index$8(Typography.Text)(function (_ref9) {
|
|
19184
19183
|
var theme = _ref9.theme,
|
|
19185
19184
|
themeVariant = _ref9.themeVariant;
|
|
19186
19185
|
return {
|
|
@@ -19193,13 +19192,13 @@ var StyledMaxLengthMessage = index$7(Typography.Text)(function (_ref9) {
|
|
|
19193
19192
|
textAlign: 'right'
|
|
19194
19193
|
};
|
|
19195
19194
|
});
|
|
19196
|
-
var StyledHelperText = index$
|
|
19195
|
+
var StyledHelperText = index$8(Typography.Text)(function (_ref10) {
|
|
19197
19196
|
var theme = _ref10.theme;
|
|
19198
19197
|
return {
|
|
19199
19198
|
fontSize: theme.__hd__.textInput.fontSizes.error
|
|
19200
19199
|
};
|
|
19201
19200
|
});
|
|
19202
|
-
var StyledTextInput = index$
|
|
19201
|
+
var StyledTextInput = index$8(TextInput$1)(function (_ref11) {
|
|
19203
19202
|
var theme = _ref11.theme;
|
|
19204
19203
|
return {
|
|
19205
19204
|
textAlignVertical: 'center',
|
|
@@ -19209,7 +19208,7 @@ var StyledTextInput = index$7(TextInput$1)(function (_ref11) {
|
|
|
19209
19208
|
marginHorizontal: theme.__hd__.textInput.space.inputHorizontalMargin
|
|
19210
19209
|
};
|
|
19211
19210
|
});
|
|
19212
|
-
var StyledBorderBackDrop = index$
|
|
19211
|
+
var StyledBorderBackDrop = index$8(View)(function (_ref12) {
|
|
19213
19212
|
var _theme$__hd__$textInp;
|
|
19214
19213
|
|
|
19215
19214
|
var theme = _ref12.theme,
|
|
@@ -19220,7 +19219,7 @@ var StyledBorderBackDrop = index$7(View)(function (_ref12) {
|
|
|
19220
19219
|
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"]
|
|
19221
19220
|
});
|
|
19222
19221
|
});
|
|
19223
|
-
var StyledTextInputContainer = index$
|
|
19222
|
+
var StyledTextInputContainer = index$8(View)(function (_ref13) {
|
|
19224
19223
|
var theme = _ref13.theme;
|
|
19225
19224
|
return {
|
|
19226
19225
|
flexDirection: 'row',
|
|
@@ -19228,7 +19227,7 @@ var StyledTextInputContainer = index$7(View)(function (_ref13) {
|
|
|
19228
19227
|
padding: theme.__hd__.textInput.space.containerPadding
|
|
19229
19228
|
};
|
|
19230
19229
|
});
|
|
19231
|
-
var StyledTextInputAndLabelContainer = index$
|
|
19230
|
+
var StyledTextInputAndLabelContainer = index$8(View)(function () {
|
|
19232
19231
|
return {
|
|
19233
19232
|
flexDirection: 'row',
|
|
19234
19233
|
alignItems: 'center',
|
|
@@ -19237,13 +19236,13 @@ var StyledTextInputAndLabelContainer = index$7(View)(function () {
|
|
|
19237
19236
|
flexShrink: 1
|
|
19238
19237
|
};
|
|
19239
19238
|
});
|
|
19240
|
-
var StyledErrorAndHelpTextContainer = index$
|
|
19239
|
+
var StyledErrorAndHelpTextContainer = index$8(View)(function (_ref14) {
|
|
19241
19240
|
var theme = _ref14.theme;
|
|
19242
19241
|
return {
|
|
19243
19242
|
paddingLeft: theme.__hd__.textInput.space.errorAndHelpTextContainerPaddingLeft
|
|
19244
19243
|
};
|
|
19245
19244
|
});
|
|
19246
|
-
var StyledErrorAndMaxLengthContainer = index$
|
|
19245
|
+
var StyledErrorAndMaxLengthContainer = index$8(View)(function () {
|
|
19247
19246
|
return {
|
|
19248
19247
|
flexDirection: 'row',
|
|
19249
19248
|
justifyContent: 'space-between'
|
|
@@ -19260,26 +19259,26 @@ var getVariant$1 = function getVariant(_ref) {
|
|
|
19260
19259
|
isEmptyValue = _ref.isEmptyValue;
|
|
19261
19260
|
|
|
19262
19261
|
if (disabled) {
|
|
19263
|
-
return
|
|
19262
|
+
return "disabled";
|
|
19264
19263
|
}
|
|
19265
19264
|
|
|
19266
19265
|
if (error) {
|
|
19267
|
-
return
|
|
19266
|
+
return "error";
|
|
19268
19267
|
}
|
|
19269
19268
|
|
|
19270
19269
|
if (!editable || loading) {
|
|
19271
|
-
return
|
|
19270
|
+
return "readonly";
|
|
19272
19271
|
}
|
|
19273
19272
|
|
|
19274
19273
|
if (isFocused) {
|
|
19275
|
-
return
|
|
19274
|
+
return "focused";
|
|
19276
19275
|
}
|
|
19277
19276
|
|
|
19278
19277
|
if (!isEmptyValue) {
|
|
19279
|
-
return
|
|
19278
|
+
return "filled";
|
|
19280
19279
|
}
|
|
19281
19280
|
|
|
19282
|
-
return
|
|
19281
|
+
return "default";
|
|
19283
19282
|
};
|
|
19284
19283
|
|
|
19285
19284
|
var TextInput = function TextInput(_ref2) {
|
|
@@ -19307,9 +19306,9 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19307
19306
|
renderInputValue = _ref2.renderInputValue,
|
|
19308
19307
|
nativeProps = _objectWithoutProperties(_ref2, _excluded$6);
|
|
19309
19308
|
|
|
19310
|
-
var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 :
|
|
19309
|
+
var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : "";
|
|
19311
19310
|
var isEmptyValue = displayText.length === 0;
|
|
19312
|
-
var actualSuffix = loading ?
|
|
19311
|
+
var actualSuffix = loading ? "loading" : suffix;
|
|
19313
19312
|
|
|
19314
19313
|
var _React$useState = React.useState(false),
|
|
19315
19314
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -19331,9 +19330,9 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19331
19330
|
style: StyleSheet$1.flatten([{
|
|
19332
19331
|
color: theme.__hd__.textInput.colors.text
|
|
19333
19332
|
}, textStyle]),
|
|
19334
|
-
testID:
|
|
19333
|
+
testID: "text-input",
|
|
19335
19334
|
accessibilityState: {
|
|
19336
|
-
disabled: variant ===
|
|
19335
|
+
disabled: variant === "disabled" || variant === "readonly"
|
|
19337
19336
|
},
|
|
19338
19337
|
// @ts-ignore
|
|
19339
19338
|
accessibilityLabelledBy: accessibilityLabelledBy
|
|
@@ -19359,15 +19358,15 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19359
19358
|
(_nativeProps$onChange = nativeProps.onChangeText) === null || _nativeProps$onChange === void 0 ? void 0 : _nativeProps$onChange.call(nativeProps, text);
|
|
19360
19359
|
},
|
|
19361
19360
|
defaultValue: defaultValue,
|
|
19362
|
-
placeholder: variant ===
|
|
19361
|
+
placeholder: variant === "focused" ? nativeProps.placeholder : undefined
|
|
19363
19362
|
});
|
|
19364
19363
|
|
|
19365
19364
|
return /*#__PURE__*/React.createElement(StyledContainer$3, {
|
|
19366
|
-
|
|
19367
|
-
pointerEvents: variant === 'disabled' || variant === 'readonly' ? 'none' : 'auto',
|
|
19365
|
+
pointerEvents: variant === "disabled" || variant === "readonly" ? "none" : "auto",
|
|
19368
19366
|
testID: testID
|
|
19369
19367
|
}, /*#__PURE__*/React.createElement(StyledTextInputContainer, null, /*#__PURE__*/React.createElement(StyledBorderBackDrop, {
|
|
19370
|
-
themeVariant: variant
|
|
19368
|
+
themeVariant: variant,
|
|
19369
|
+
style: style
|
|
19371
19370
|
}), (isFocused || label && !isEmptyValue) && /*#__PURE__*/React.createElement(StyledLabelContainer, {
|
|
19372
19371
|
pointerEvents: "none"
|
|
19373
19372
|
}, required && /*#__PURE__*/React.createElement(StyledAsteriskLabel, {
|
|
@@ -19378,8 +19377,8 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19378
19377
|
testID: "input-label",
|
|
19379
19378
|
fontSize: "small",
|
|
19380
19379
|
themeVariant: variant
|
|
19381
|
-
}, label)), typeof prefix ===
|
|
19382
|
-
intent: variant ===
|
|
19380
|
+
}, label)), typeof prefix === "string" ? /*#__PURE__*/React.createElement(Icon, {
|
|
19381
|
+
intent: variant === "disabled" ? "disabled-text" : "text",
|
|
19383
19382
|
testID: "input-prefix",
|
|
19384
19383
|
icon: prefix,
|
|
19385
19384
|
size: "xsmall"
|
|
@@ -19392,11 +19391,11 @@ var TextInput = function TextInput(_ref2) {
|
|
|
19392
19391
|
testID: "input-label",
|
|
19393
19392
|
fontSize: "medium",
|
|
19394
19393
|
themeVariant: variant
|
|
19395
|
-
}, label)), renderInputValue ? renderInputValue(nativeInputProps) : /*#__PURE__*/React.createElement(StyledTextInput, nativeInputProps)), typeof actualSuffix ===
|
|
19396
|
-
intent: variant ===
|
|
19394
|
+
}, label)), renderInputValue ? renderInputValue(nativeInputProps) : /*#__PURE__*/React.createElement(StyledTextInput, nativeInputProps)), typeof actualSuffix === "string" ? /*#__PURE__*/React.createElement(Icon, {
|
|
19395
|
+
intent: variant === "disabled" ? "disabled-text" : "text",
|
|
19397
19396
|
testID: "input-suffix",
|
|
19398
19397
|
icon: actualSuffix,
|
|
19399
|
-
spin: actualSuffix ===
|
|
19398
|
+
spin: actualSuffix === "loading",
|
|
19400
19399
|
size: "xsmall"
|
|
19401
19400
|
}) : suffix), /*#__PURE__*/React.createElement(StyledErrorAndHelpTextContainer, null, /*#__PURE__*/React.createElement(StyledErrorAndMaxLengthContainer, null, !!error && /*#__PURE__*/React.createElement(StyledErrorContainer$1, null, /*#__PURE__*/React.createElement(Icon, {
|
|
19402
19401
|
testID: "input-error-icon",
|
|
@@ -19467,7 +19466,7 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
|
|
|
19467
19466
|
}) : null);
|
|
19468
19467
|
};
|
|
19469
19468
|
|
|
19470
|
-
var StyledPickerWrapper$1 = index$
|
|
19469
|
+
var StyledPickerWrapper$1 = index$8(View)(function (_ref) {
|
|
19471
19470
|
var theme = _ref.theme;
|
|
19472
19471
|
return {
|
|
19473
19472
|
height: theme.__hd__.datePicker.sizes.height
|
|
@@ -19564,7 +19563,7 @@ var DatePicker = function DatePicker(props) {
|
|
|
19564
19563
|
};
|
|
19565
19564
|
|
|
19566
19565
|
var AnimatedPressable = Animated.createAnimatedComponent(Pressable);
|
|
19567
|
-
var StyledContainer$2 = index$
|
|
19566
|
+
var StyledContainer$2 = index$8(View)(function (_ref) {
|
|
19568
19567
|
var theme = _ref.theme,
|
|
19569
19568
|
enableShadow = _ref.enableShadow;
|
|
19570
19569
|
return _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
@@ -19577,7 +19576,7 @@ var StyledContainer$2 = index$7(View)(function (_ref) {
|
|
|
19577
19576
|
elevation: 9999
|
|
19578
19577
|
});
|
|
19579
19578
|
});
|
|
19580
|
-
var StyledDragableContainer = index$
|
|
19579
|
+
var StyledDragableContainer = index$8(View)(function (_ref2) {
|
|
19581
19580
|
var theme = _ref2.theme,
|
|
19582
19581
|
enableShadow = _ref2.enableShadow;
|
|
19583
19582
|
return _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
@@ -19591,13 +19590,13 @@ var StyledDragableContainer = index$7(View)(function (_ref2) {
|
|
|
19591
19590
|
flexDirection: 'column-reverse'
|
|
19592
19591
|
});
|
|
19593
19592
|
});
|
|
19594
|
-
var StyledBackdrop$1 = index$
|
|
19593
|
+
var StyledBackdrop$1 = index$8(AnimatedPressable)(function (_ref3) {
|
|
19595
19594
|
var theme = _ref3.theme;
|
|
19596
19595
|
return _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
19597
19596
|
backgroundColor: theme.__hd__.drawer.colors.backdrop
|
|
19598
19597
|
});
|
|
19599
19598
|
});
|
|
19600
|
-
var StyledDrawerContainer = index$
|
|
19599
|
+
var StyledDrawerContainer = index$8(Animated.View)(function (_ref4) {
|
|
19601
19600
|
var theme = _ref4.theme,
|
|
19602
19601
|
enableShadow = _ref4.enableShadow;
|
|
19603
19602
|
return {
|
|
@@ -19608,7 +19607,7 @@ var StyledDrawerContainer = index$7(Animated.View)(function (_ref4) {
|
|
|
19608
19607
|
overflow: 'hidden'
|
|
19609
19608
|
};
|
|
19610
19609
|
});
|
|
19611
|
-
var StyledDragableDrawerContainer = index$
|
|
19610
|
+
var StyledDragableDrawerContainer = index$8(Animated.View)(function (_ref5) {
|
|
19612
19611
|
var theme = _ref5.theme,
|
|
19613
19612
|
enableShadow = _ref5.enableShadow;
|
|
19614
19613
|
return {
|
|
@@ -19620,7 +19619,7 @@ var StyledDragableDrawerContainer = index$7(Animated.View)(function (_ref5) {
|
|
|
19620
19619
|
maxHeight: '100%'
|
|
19621
19620
|
};
|
|
19622
19621
|
});
|
|
19623
|
-
var StyledHandlerContainer = index$
|
|
19622
|
+
var StyledHandlerContainer = index$8(View)(function (_ref6) {
|
|
19624
19623
|
var theme = _ref6.theme;
|
|
19625
19624
|
return {
|
|
19626
19625
|
backgroundColor: theme.__hd__.drawer.colors.background,
|
|
@@ -19628,7 +19627,7 @@ var StyledHandlerContainer = index$7(View)(function (_ref6) {
|
|
|
19628
19627
|
alignItems: 'center'
|
|
19629
19628
|
};
|
|
19630
19629
|
});
|
|
19631
|
-
var StyledHandler = index$
|
|
19630
|
+
var StyledHandler = index$8(View)(function (_ref7) {
|
|
19632
19631
|
var theme = _ref7.theme;
|
|
19633
19632
|
return {
|
|
19634
19633
|
width: theme.__hd__.drawer.sizes.handlerWidth,
|
|
@@ -19859,11 +19858,11 @@ var Drawer = function Drawer(_ref) {
|
|
|
19859
19858
|
}, children));
|
|
19860
19859
|
};
|
|
19861
19860
|
|
|
19862
|
-
var index$
|
|
19861
|
+
var index$6 = Object.assign(Drawer, {
|
|
19863
19862
|
Dragable: DragableDrawer
|
|
19864
19863
|
});
|
|
19865
19864
|
|
|
19866
|
-
var StyledWrapper$
|
|
19865
|
+
var StyledWrapper$5 = index$8(View)(function (_ref) {
|
|
19867
19866
|
var theme = _ref.theme;
|
|
19868
19867
|
return {
|
|
19869
19868
|
display: 'flex',
|
|
@@ -19874,7 +19873,7 @@ var StyledWrapper$4 = index$7(View)(function (_ref) {
|
|
|
19874
19873
|
padding: theme.__hd__.empty.space.wrapperPadding
|
|
19875
19874
|
};
|
|
19876
19875
|
});
|
|
19877
|
-
var StyledTitle = index$
|
|
19876
|
+
var StyledTitle = index$8(Text$1)(function (_ref2) {
|
|
19878
19877
|
var theme = _ref2.theme,
|
|
19879
19878
|
themeVariant = _ref2.themeVariant;
|
|
19880
19879
|
return {
|
|
@@ -19885,7 +19884,7 @@ var StyledTitle = index$7(Text$1)(function (_ref2) {
|
|
|
19885
19884
|
color: themeVariant === 'dark' ? theme.__hd__.empty.colors.invertedText : theme.__hd__.empty.colors.text
|
|
19886
19885
|
};
|
|
19887
19886
|
});
|
|
19888
|
-
var StyledDescription = index$
|
|
19887
|
+
var StyledDescription = index$8(Text$1)(function (_ref3) {
|
|
19889
19888
|
var theme = _ref3.theme,
|
|
19890
19889
|
themeVariant = _ref3.themeVariant;
|
|
19891
19890
|
return {
|
|
@@ -19905,7 +19904,7 @@ var Empty = function Empty(_ref) {
|
|
|
19905
19904
|
_ref$variant = _ref.variant,
|
|
19906
19905
|
variant = _ref$variant === void 0 ? 'light' : _ref$variant;
|
|
19907
19906
|
var theme = useTheme();
|
|
19908
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
19907
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$5, {
|
|
19909
19908
|
style: style,
|
|
19910
19909
|
testID: testID
|
|
19911
19910
|
}, image !== undefined && /*#__PURE__*/React.cloneElement(image, _objectSpread2(_objectSpread2({}, image.props), {}, {
|
|
@@ -19919,7 +19918,7 @@ var Empty = function Empty(_ref) {
|
|
|
19919
19918
|
}, description));
|
|
19920
19919
|
};
|
|
19921
19920
|
|
|
19922
|
-
var StyledFABContainer = index$
|
|
19921
|
+
var StyledFABContainer = index$8(TouchableHighlight)(function (_ref) {
|
|
19923
19922
|
var theme = _ref.theme;
|
|
19924
19923
|
return {
|
|
19925
19924
|
backgroundColor: theme.__hd__.fab.colors.buttonBackground,
|
|
@@ -19933,7 +19932,7 @@ var StyledFABContainer = index$7(TouchableHighlight)(function (_ref) {
|
|
|
19933
19932
|
flexDirection: 'row'
|
|
19934
19933
|
};
|
|
19935
19934
|
});
|
|
19936
|
-
var StyledFABIcon = index$
|
|
19935
|
+
var StyledFABIcon = index$8(Icon)(function (_ref2) {
|
|
19937
19936
|
var theme = _ref2.theme;
|
|
19938
19937
|
return {
|
|
19939
19938
|
color: theme.__hd__.fab.colors.icon,
|
|
@@ -19942,7 +19941,7 @@ var StyledFABIcon = index$7(Icon)(function (_ref2) {
|
|
|
19942
19941
|
textAlign: 'center'
|
|
19943
19942
|
};
|
|
19944
19943
|
});
|
|
19945
|
-
var StyledFABText = index$
|
|
19944
|
+
var StyledFABText = index$8(Text$1)(function (_ref3) {
|
|
19946
19945
|
var theme = _ref3.theme;
|
|
19947
19946
|
return {
|
|
19948
19947
|
fontFamily: theme.__hd__.fab.fonts.title,
|
|
@@ -20039,7 +20038,7 @@ var FAB = function FAB(_ref3) {
|
|
|
20039
20038
|
}));
|
|
20040
20039
|
};
|
|
20041
20040
|
|
|
20042
|
-
var StyledActionItem = index$
|
|
20041
|
+
var StyledActionItem = index$8(TouchableOpacity)(function (_ref) {
|
|
20043
20042
|
var theme = _ref.theme;
|
|
20044
20043
|
return {
|
|
20045
20044
|
paddingLeft: theme.__hd__.fab.space.actionItemPaddingLeft,
|
|
@@ -20056,7 +20055,7 @@ var StyledActionItem = index$7(TouchableOpacity)(function (_ref) {
|
|
|
20056
20055
|
overflow: 'hidden'
|
|
20057
20056
|
};
|
|
20058
20057
|
});
|
|
20059
|
-
var StyledActionItemText = index$
|
|
20058
|
+
var StyledActionItemText = index$8(Typography.Text)(function (_ref2) {
|
|
20060
20059
|
var theme = _ref2.theme;
|
|
20061
20060
|
return {
|
|
20062
20061
|
paddingLeft: theme.__hd__.fab.space.actionItemTextPaddingLeft,
|
|
@@ -20066,7 +20065,7 @@ var StyledActionItemText = index$7(Typography.Text)(function (_ref2) {
|
|
|
20066
20065
|
color: theme.__hd__.fab.colors.actionItemText
|
|
20067
20066
|
};
|
|
20068
20067
|
});
|
|
20069
|
-
var StyledIcon = index$
|
|
20068
|
+
var StyledIcon = index$8(Icon)(function (_ref3) {
|
|
20070
20069
|
var theme = _ref3.theme;
|
|
20071
20070
|
return {
|
|
20072
20071
|
color: theme.__hd__.fab.colors.actionItemText
|
|
@@ -20088,7 +20087,7 @@ var ActionItem = function ActionItem(_ref) {
|
|
|
20088
20087
|
}), /*#__PURE__*/React.createElement(StyledActionItemText, null, title));
|
|
20089
20088
|
};
|
|
20090
20089
|
|
|
20091
|
-
var StyledContainer$1 = index$
|
|
20090
|
+
var StyledContainer$1 = index$8(View)({
|
|
20092
20091
|
position: 'absolute',
|
|
20093
20092
|
left: 0,
|
|
20094
20093
|
right: 0,
|
|
@@ -20097,12 +20096,12 @@ var StyledContainer$1 = index$7(View)({
|
|
|
20097
20096
|
alignItems: 'flex-end',
|
|
20098
20097
|
justifyContent: 'flex-end'
|
|
20099
20098
|
});
|
|
20100
|
-
var StyledActionGroupContainer = index$
|
|
20099
|
+
var StyledActionGroupContainer = index$8(Animated.View)({
|
|
20101
20100
|
alignItems: 'flex-end',
|
|
20102
20101
|
justifyContent: 'flex-end',
|
|
20103
20102
|
width: '70%'
|
|
20104
20103
|
});
|
|
20105
|
-
var StyledFAB = index$
|
|
20104
|
+
var StyledFAB = index$8(FAB)(function (_ref) {
|
|
20106
20105
|
var theme = _ref.theme;
|
|
20107
20106
|
return {
|
|
20108
20107
|
marginRight: theme.__hd__.fab.space.buttonMarginRight,
|
|
@@ -20110,7 +20109,7 @@ var StyledFAB = index$7(FAB)(function (_ref) {
|
|
|
20110
20109
|
alignSelf: 'flex-end'
|
|
20111
20110
|
};
|
|
20112
20111
|
});
|
|
20113
|
-
var StyledBackdrop = index$
|
|
20112
|
+
var StyledBackdrop = index$8(Animated.View)(function (_ref2) {
|
|
20114
20113
|
var theme = _ref2.theme;
|
|
20115
20114
|
return {
|
|
20116
20115
|
position: 'absolute',
|
|
@@ -20121,7 +20120,7 @@ var StyledBackdrop = index$7(Animated.View)(function (_ref2) {
|
|
|
20121
20120
|
backgroundColor: theme.__hd__.fab.colors.backdropBackground
|
|
20122
20121
|
};
|
|
20123
20122
|
});
|
|
20124
|
-
var StyledHeaderText = index$
|
|
20123
|
+
var StyledHeaderText = index$8(Typography.Text)(function (_ref3) {
|
|
20125
20124
|
var theme = _ref3.theme;
|
|
20126
20125
|
return {
|
|
20127
20126
|
fontSize: theme.__hd__.fab.fontSizes.header,
|
|
@@ -20209,7 +20208,7 @@ var ActionGroup = function ActionGroup(_ref2) {
|
|
|
20209
20208
|
}));
|
|
20210
20209
|
};
|
|
20211
20210
|
|
|
20212
|
-
var index$
|
|
20211
|
+
var index$5 = Object.assign(FAB, {
|
|
20213
20212
|
ActionGroup: ActionGroup
|
|
20214
20213
|
});
|
|
20215
20214
|
|
|
@@ -20236,7 +20235,7 @@ var Image = function Image(_ref) {
|
|
|
20236
20235
|
}, imageNativeProps));
|
|
20237
20236
|
};
|
|
20238
20237
|
|
|
20239
|
-
var StyledListItemContainer$1 = index$
|
|
20238
|
+
var StyledListItemContainer$1 = index$8(TouchableHighlight)(function (_ref) {
|
|
20240
20239
|
var theme = _ref.theme,
|
|
20241
20240
|
_ref$themeSelected = _ref.themeSelected,
|
|
20242
20241
|
themeSelected = _ref$themeSelected === void 0 ? false : _ref$themeSelected,
|
|
@@ -20267,21 +20266,21 @@ var StyledListItemContainer$1 = index$7(TouchableHighlight)(function (_ref) {
|
|
|
20267
20266
|
return sharedStyles;
|
|
20268
20267
|
}
|
|
20269
20268
|
});
|
|
20270
|
-
var StyledContentContainer = index$
|
|
20269
|
+
var StyledContentContainer = index$8(View)(function () {
|
|
20271
20270
|
return {
|
|
20272
20271
|
flexDirection: 'column',
|
|
20273
20272
|
flex: 1,
|
|
20274
20273
|
flexGrow: 2
|
|
20275
20274
|
};
|
|
20276
20275
|
});
|
|
20277
|
-
var StyledChildrenContainer = index$
|
|
20276
|
+
var StyledChildrenContainer = index$8(View)(function () {
|
|
20278
20277
|
return {
|
|
20279
20278
|
flexDirection: 'column',
|
|
20280
20279
|
justifyContent: 'flex-start',
|
|
20281
20280
|
alignItems: 'flex-start'
|
|
20282
20281
|
};
|
|
20283
20282
|
});
|
|
20284
|
-
var StyledLeadingStatus = index$
|
|
20283
|
+
var StyledLeadingStatus = index$8(View)(function (_ref2) {
|
|
20285
20284
|
var theme = _ref2.theme,
|
|
20286
20285
|
themeLeadingStatusIntent = _ref2.themeLeadingStatusIntent;
|
|
20287
20286
|
return {
|
|
@@ -20291,19 +20290,19 @@ var StyledLeadingStatus = index$7(View)(function (_ref2) {
|
|
|
20291
20290
|
backgroundColor: theme.__hd__.list.colors.leadingStatus[themeLeadingStatusIntent]
|
|
20292
20291
|
};
|
|
20293
20292
|
});
|
|
20294
|
-
var StyledPrefixContainer$1 = index$
|
|
20293
|
+
var StyledPrefixContainer$1 = index$8(View)(function (_ref3) {
|
|
20295
20294
|
var theme = _ref3.theme;
|
|
20296
20295
|
return {
|
|
20297
20296
|
marginRight: theme.__hd__.list.space.prefixContainerMarginRight
|
|
20298
20297
|
};
|
|
20299
20298
|
});
|
|
20300
|
-
var StyledSuffixContainer$1 = index$
|
|
20299
|
+
var StyledSuffixContainer$1 = index$8(View)(function (_ref4) {
|
|
20301
20300
|
var theme = _ref4.theme;
|
|
20302
20301
|
return {
|
|
20303
20302
|
marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
|
|
20304
20303
|
};
|
|
20305
20304
|
});
|
|
20306
|
-
var StyledTitleContainer$1 = index$
|
|
20305
|
+
var StyledTitleContainer$1 = index$8(View)(function () {
|
|
20307
20306
|
return {
|
|
20308
20307
|
flex: 1
|
|
20309
20308
|
};
|
|
@@ -20358,24 +20357,24 @@ var ListItem = function ListItem(_ref) {
|
|
|
20358
20357
|
}) : suffix)), children && /*#__PURE__*/React.createElement(StyledChildrenContainer, null, children))));
|
|
20359
20358
|
};
|
|
20360
20359
|
|
|
20361
|
-
var StyledPrefixContainer = index$
|
|
20360
|
+
var StyledPrefixContainer = index$8(View)(function (_ref) {
|
|
20362
20361
|
var theme = _ref.theme;
|
|
20363
20362
|
return {
|
|
20364
20363
|
marginRight: theme.__hd__.list.space.prefixContainerMarginRight
|
|
20365
20364
|
};
|
|
20366
20365
|
});
|
|
20367
|
-
var StyledSuffixContainer = index$
|
|
20366
|
+
var StyledSuffixContainer = index$8(View)(function (_ref2) {
|
|
20368
20367
|
var theme = _ref2.theme;
|
|
20369
20368
|
return {
|
|
20370
20369
|
marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
|
|
20371
20370
|
};
|
|
20372
20371
|
});
|
|
20373
|
-
var StyledTitleContainer = index$
|
|
20372
|
+
var StyledTitleContainer = index$8(View)(function () {
|
|
20374
20373
|
return {
|
|
20375
20374
|
flex: 1
|
|
20376
20375
|
};
|
|
20377
20376
|
});
|
|
20378
|
-
var StyledListItemContainer = index$
|
|
20377
|
+
var StyledListItemContainer = index$8(TouchableHighlight)(function (_ref3) {
|
|
20379
20378
|
var theme = _ref3.theme,
|
|
20380
20379
|
themeSelected = _ref3.themeSelected,
|
|
20381
20380
|
themeDisabled = _ref3.themeDisabled;
|
|
@@ -20429,17 +20428,17 @@ var List = {
|
|
|
20429
20428
|
BasicItem: BasicListItem
|
|
20430
20429
|
};
|
|
20431
20430
|
|
|
20432
|
-
var StyledWrapper$
|
|
20431
|
+
var StyledWrapper$4 = index$8(View)(function () {
|
|
20433
20432
|
return {
|
|
20434
20433
|
alignContent: 'flex-start'
|
|
20435
20434
|
};
|
|
20436
20435
|
});
|
|
20437
|
-
var StyledPinWrapper = index$
|
|
20436
|
+
var StyledPinWrapper = index$8(View)(function () {
|
|
20438
20437
|
return {
|
|
20439
20438
|
flexDirection: 'row'
|
|
20440
20439
|
};
|
|
20441
20440
|
});
|
|
20442
|
-
var StyledCell = index$
|
|
20441
|
+
var StyledCell = index$8(View)(function (_ref) {
|
|
20443
20442
|
var theme = _ref.theme,
|
|
20444
20443
|
themeFocused = _ref.themeFocused,
|
|
20445
20444
|
themeState = _ref.themeState;
|
|
@@ -20453,7 +20452,7 @@ var StyledCell = index$7(View)(function (_ref) {
|
|
|
20453
20452
|
borderColor: theme.__hd__.pinInput.colors[themeState]
|
|
20454
20453
|
};
|
|
20455
20454
|
});
|
|
20456
|
-
var StyledCellText = index$
|
|
20455
|
+
var StyledCellText = index$8(Text$1)(function (_ref2) {
|
|
20457
20456
|
var theme = _ref2.theme,
|
|
20458
20457
|
themeState = _ref2.themeState;
|
|
20459
20458
|
return {
|
|
@@ -20462,13 +20461,13 @@ var StyledCellText = index$7(Text$1)(function (_ref2) {
|
|
|
20462
20461
|
color: theme.__hd__.pinInput.colors[themeState]
|
|
20463
20462
|
};
|
|
20464
20463
|
});
|
|
20465
|
-
var StyledSpacer = index$
|
|
20464
|
+
var StyledSpacer = index$8(View)(function (_ref3) {
|
|
20466
20465
|
var theme = _ref3.theme;
|
|
20467
20466
|
return {
|
|
20468
20467
|
marginLeft: theme.__hd__.pinInput.space.spacer
|
|
20469
20468
|
};
|
|
20470
20469
|
});
|
|
20471
|
-
var StyledMask = index$
|
|
20470
|
+
var StyledMask = index$8(View)(function (_ref4) {
|
|
20472
20471
|
var theme = _ref4.theme,
|
|
20473
20472
|
themeState = _ref4.themeState;
|
|
20474
20473
|
return {
|
|
@@ -20479,7 +20478,7 @@ var StyledMask = index$7(View)(function (_ref4) {
|
|
|
20479
20478
|
borderColor: theme.__hd__.pinInput.colors[themeState]
|
|
20480
20479
|
};
|
|
20481
20480
|
});
|
|
20482
|
-
var StyledFilledMask = index$
|
|
20481
|
+
var StyledFilledMask = index$8(View)(function (_ref5) {
|
|
20483
20482
|
var theme = _ref5.theme,
|
|
20484
20483
|
themeState = _ref5.themeState;
|
|
20485
20484
|
return {
|
|
@@ -20491,7 +20490,7 @@ var StyledFilledMask = index$7(View)(function (_ref5) {
|
|
|
20491
20490
|
backgroundColor: theme.__hd__.pinInput.colors[themeState]
|
|
20492
20491
|
};
|
|
20493
20492
|
});
|
|
20494
|
-
var StyledHiddenInput = index$
|
|
20493
|
+
var StyledHiddenInput = index$8(TextInput$1)(function (_ref6) {
|
|
20495
20494
|
var themePinLength = _ref6.themePinLength,
|
|
20496
20495
|
theme = _ref6.theme;
|
|
20497
20496
|
var cellWidth = theme.__hd__.pinInput.sizes.cellWidth;
|
|
@@ -20505,14 +20504,14 @@ var StyledHiddenInput = index$7(TextInput$1)(function (_ref6) {
|
|
|
20505
20504
|
height: '100%'
|
|
20506
20505
|
};
|
|
20507
20506
|
});
|
|
20508
|
-
var StyledErrorContainer = index$
|
|
20507
|
+
var StyledErrorContainer = index$8(View)(function (_ref7) {
|
|
20509
20508
|
var theme = _ref7.theme;
|
|
20510
20509
|
return {
|
|
20511
20510
|
flexDirection: 'row',
|
|
20512
20511
|
paddingTop: theme.__hd__.pinInput.space.errorMessagePadding
|
|
20513
20512
|
};
|
|
20514
20513
|
});
|
|
20515
|
-
var StyledErrorMessage = index$
|
|
20514
|
+
var StyledErrorMessage = index$8(Text$1)(function (_ref8) {
|
|
20516
20515
|
var theme = _ref8.theme;
|
|
20517
20516
|
return {
|
|
20518
20517
|
fontFamily: theme.__hd__.pinInput.fonts.errorMessage,
|
|
@@ -20615,7 +20614,7 @@ function PinInput(_ref2) {
|
|
|
20615
20614
|
InteractionManager.runAfterInteractions(focus);
|
|
20616
20615
|
}
|
|
20617
20616
|
}, [inputRef]);
|
|
20618
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
20617
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$4, {
|
|
20619
20618
|
style: style,
|
|
20620
20619
|
testID: testID
|
|
20621
20620
|
}, /*#__PURE__*/React.createElement(StyledPinWrapper, null, _toConsumableArray(Array(length).keys()).map(function (index) {
|
|
@@ -20654,14 +20653,14 @@ var INNER_CIRCLE_PERCENTAGE = 0.85; // 85% width according to design
|
|
|
20654
20653
|
|
|
20655
20654
|
var STROKE_WIDTH_PERCENTAGE = 0.075; // 7.5% width according to design
|
|
20656
20655
|
|
|
20657
|
-
var StyledContainer = index$
|
|
20656
|
+
var StyledContainer = index$8(View)(function (_ref) {
|
|
20658
20657
|
var theme = _ref.theme;
|
|
20659
20658
|
return {
|
|
20660
20659
|
flexDirection: 'row',
|
|
20661
20660
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
20662
20661
|
};
|
|
20663
20662
|
});
|
|
20664
|
-
var StyledHalfCircleWrapper = index$
|
|
20663
|
+
var StyledHalfCircleWrapper = index$8(View)(function (_ref2) {
|
|
20665
20664
|
var theme = _ref2.theme;
|
|
20666
20665
|
return {
|
|
20667
20666
|
width: theme.__hd__.progress.sizes.circleWidth / 2,
|
|
@@ -20669,7 +20668,7 @@ var StyledHalfCircleWrapper = index$7(View)(function (_ref2) {
|
|
|
20669
20668
|
overflow: 'hidden'
|
|
20670
20669
|
};
|
|
20671
20670
|
});
|
|
20672
|
-
var StyledHalfCircleInnerFG = index$
|
|
20671
|
+
var StyledHalfCircleInnerFG = index$8(View)(function (_ref3) {
|
|
20673
20672
|
var theme = _ref3.theme,
|
|
20674
20673
|
themeIntent = _ref3.themeIntent;
|
|
20675
20674
|
return {
|
|
@@ -20679,7 +20678,7 @@ var StyledHalfCircleInnerFG = index$7(View)(function (_ref3) {
|
|
|
20679
20678
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
20680
20679
|
};
|
|
20681
20680
|
});
|
|
20682
|
-
var StyledHalfCircleInnerBG = index$
|
|
20681
|
+
var StyledHalfCircleInnerBG = index$8(View)(function (_ref4) {
|
|
20683
20682
|
var theme = _ref4.theme;
|
|
20684
20683
|
return {
|
|
20685
20684
|
width: theme.__hd__.progress.sizes.circleWidth,
|
|
@@ -20688,7 +20687,7 @@ var StyledHalfCircleInnerBG = index$7(View)(function (_ref4) {
|
|
|
20688
20687
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
20689
20688
|
};
|
|
20690
20689
|
});
|
|
20691
|
-
var StyledDonutCircle = index$
|
|
20690
|
+
var StyledDonutCircle = index$8(View)(function (_ref5) {
|
|
20692
20691
|
var theme = _ref5.theme;
|
|
20693
20692
|
return {
|
|
20694
20693
|
position: 'absolute',
|
|
@@ -20703,7 +20702,7 @@ var StyledDonutCircle = index$7(View)(function (_ref5) {
|
|
|
20703
20702
|
justifyContent: 'center'
|
|
20704
20703
|
};
|
|
20705
20704
|
});
|
|
20706
|
-
var StyledStrokeEnd = index$
|
|
20705
|
+
var StyledStrokeEnd = index$8(View)(function (_ref6) {
|
|
20707
20706
|
var theme = _ref6.theme,
|
|
20708
20707
|
themeIntent = _ref6.themeIntent;
|
|
20709
20708
|
return {
|
|
@@ -20831,7 +20830,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
|
|
|
20831
20830
|
}, "".concat(value, "%")))));
|
|
20832
20831
|
};
|
|
20833
20832
|
|
|
20834
|
-
var StyledWrapper$
|
|
20833
|
+
var StyledWrapper$3 = index$8(View)(function (_ref) {
|
|
20835
20834
|
var theme = _ref.theme;
|
|
20836
20835
|
return {
|
|
20837
20836
|
height: theme.__hd__.progress.sizes.barHeight,
|
|
@@ -20840,7 +20839,7 @@ var StyledWrapper$2 = index$7(View)(function (_ref) {
|
|
|
20840
20839
|
overflow: 'hidden'
|
|
20841
20840
|
};
|
|
20842
20841
|
});
|
|
20843
|
-
var StyledInner = index$
|
|
20842
|
+
var StyledInner = index$8(Animated.View)(function (_ref2) {
|
|
20844
20843
|
var theme = _ref2.theme,
|
|
20845
20844
|
themeIntent = _ref2.themeIntent;
|
|
20846
20845
|
return {
|
|
@@ -20886,7 +20885,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
20886
20885
|
outputRange: [999, 0],
|
|
20887
20886
|
extrapolate: 'clamp'
|
|
20888
20887
|
});
|
|
20889
|
-
return /*#__PURE__*/React.createElement(StyledWrapper$
|
|
20888
|
+
return /*#__PURE__*/React.createElement(StyledWrapper$3, _extends$1({}, nativeProps, {
|
|
20890
20889
|
testID: testID,
|
|
20891
20890
|
style: style
|
|
20892
20891
|
}), /*#__PURE__*/React.createElement(StyledInner, {
|
|
@@ -20944,13 +20943,13 @@ var Slider = function Slider(_ref) {
|
|
|
20944
20943
|
});
|
|
20945
20944
|
};
|
|
20946
20945
|
|
|
20947
|
-
var StyledView$1 = index$
|
|
20948
|
-
var StyledSpinnerContainer = index$
|
|
20946
|
+
var StyledView$1 = index$8(View)();
|
|
20947
|
+
var StyledSpinnerContainer = index$8(View)({
|
|
20949
20948
|
height: '100%',
|
|
20950
20949
|
justifyContent: 'center',
|
|
20951
20950
|
alignItems: 'center'
|
|
20952
20951
|
});
|
|
20953
|
-
var StyledSpinnerRow = index$
|
|
20952
|
+
var StyledSpinnerRow = index$8(View)(function (_ref) {
|
|
20954
20953
|
var themePosition = _ref.themePosition,
|
|
20955
20954
|
_ref$themeSize = _ref.themeSize,
|
|
20956
20955
|
themeSize = _ref$themeSize === void 0 ? 'medium' : _ref$themeSize,
|
|
@@ -20960,7 +20959,7 @@ var StyledSpinnerRow = index$7(View)(function (_ref) {
|
|
|
20960
20959
|
marginBottom: themePosition === 'top' ? theme.__hd__.spinner.space.spinnerDotPadding[themeSize] : 0
|
|
20961
20960
|
};
|
|
20962
20961
|
});
|
|
20963
|
-
var StyledSpinnerDot = index$
|
|
20962
|
+
var StyledSpinnerDot = index$8(View)(function (_ref2) {
|
|
20964
20963
|
var themePosition = _ref2.themePosition,
|
|
20965
20964
|
_ref2$themeSize = _ref2.themeSize,
|
|
20966
20965
|
themeSize = _ref2$themeSize === void 0 ? 'medium' : _ref2$themeSize,
|
|
@@ -21064,7 +21063,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
21064
21063
|
})));
|
|
21065
21064
|
};
|
|
21066
21065
|
|
|
21067
|
-
var Circle = index$
|
|
21066
|
+
var Circle = index$8(View)(function (_ref) {
|
|
21068
21067
|
var theme = _ref.theme;
|
|
21069
21068
|
return {
|
|
21070
21069
|
height: theme.__hd__.radio.sizes.circle,
|
|
@@ -21076,7 +21075,7 @@ var Circle = index$7(View)(function (_ref) {
|
|
|
21076
21075
|
justifyContent: 'center'
|
|
21077
21076
|
};
|
|
21078
21077
|
});
|
|
21079
|
-
var InnerCircle = index$
|
|
21078
|
+
var InnerCircle = index$8(View)(function (_ref2) {
|
|
21080
21079
|
var theme = _ref2.theme;
|
|
21081
21080
|
return {
|
|
21082
21081
|
height: theme.__hd__.radio.sizes.innerCircle,
|
|
@@ -21085,7 +21084,7 @@ var InnerCircle = index$7(View)(function (_ref2) {
|
|
|
21085
21084
|
backgroundColor: theme.__hd__.radio.colors.circle
|
|
21086
21085
|
};
|
|
21087
21086
|
});
|
|
21088
|
-
var Spacer = index$
|
|
21087
|
+
var Spacer = index$8(View)(function (_ref3) {
|
|
21089
21088
|
var theme = _ref3.theme;
|
|
21090
21089
|
return {
|
|
21091
21090
|
marginTop: theme.__hd__.radio.space.groupTopMargin
|
|
@@ -21161,7 +21160,7 @@ var CompoundRadio = {
|
|
|
21161
21160
|
Group: RadioGroup
|
|
21162
21161
|
};
|
|
21163
21162
|
|
|
21164
|
-
var StyledHeading = index$
|
|
21163
|
+
var StyledHeading = index$8(View)(function (_ref) {
|
|
21165
21164
|
var theme = _ref.theme;
|
|
21166
21165
|
return {
|
|
21167
21166
|
paddingVertical: theme.__hd__.sectionHeading.space.headingVerticalPadding,
|
|
@@ -21174,13 +21173,13 @@ var StyledHeading = index$7(View)(function (_ref) {
|
|
|
21174
21173
|
justifyContent: 'space-between'
|
|
21175
21174
|
};
|
|
21176
21175
|
});
|
|
21177
|
-
var StyledIconWrapper = index$
|
|
21176
|
+
var StyledIconWrapper$1 = index$8(View)(function (_ref2) {
|
|
21178
21177
|
var theme = _ref2.theme;
|
|
21179
21178
|
return {
|
|
21180
21179
|
marginRight: theme.__hd__.sectionHeading.space.iconMarginRight
|
|
21181
21180
|
};
|
|
21182
21181
|
});
|
|
21183
|
-
var StyledWrapper$
|
|
21182
|
+
var StyledWrapper$2 = index$8(View)(function () {
|
|
21184
21183
|
return {
|
|
21185
21184
|
display: 'flex',
|
|
21186
21185
|
flexDirection: 'row'
|
|
@@ -21214,7 +21213,7 @@ var SectionHeading = function SectionHeading(_ref) {
|
|
|
21214
21213
|
return /*#__PURE__*/React.createElement(StyledHeading, {
|
|
21215
21214
|
style: style,
|
|
21216
21215
|
testID: testID
|
|
21217
|
-
}, /*#__PURE__*/React.createElement(StyledWrapper$
|
|
21216
|
+
}, /*#__PURE__*/React.createElement(StyledWrapper$2, null, /*#__PURE__*/React.createElement(StyledIconWrapper$1, null, icon !== undefined && (typeof icon === 'string' ? /*#__PURE__*/React.createElement(Icon, {
|
|
21218
21217
|
icon: icon,
|
|
21219
21218
|
size: ICON_SIZE_MAP[fontSize],
|
|
21220
21219
|
intent: ICON_INTENT_MAP[intent]
|
|
@@ -21228,25 +21227,25 @@ var SectionHeading = function SectionHeading(_ref) {
|
|
|
21228
21227
|
}, text)), rightChildren);
|
|
21229
21228
|
};
|
|
21230
21229
|
|
|
21231
|
-
var SectionSpacer = index$
|
|
21230
|
+
var SectionSpacer = index$8(View)(function (_ref) {
|
|
21232
21231
|
var theme = _ref.theme;
|
|
21233
21232
|
return {
|
|
21234
21233
|
marginTop: theme.__hd__.select.space.sectionSpacing
|
|
21235
21234
|
};
|
|
21236
21235
|
});
|
|
21237
|
-
var OptionSpacer = index$
|
|
21236
|
+
var OptionSpacer = index$8(View)(function (_ref2) {
|
|
21238
21237
|
var theme = _ref2.theme;
|
|
21239
21238
|
return {
|
|
21240
21239
|
marginTop: theme.__hd__.select.space.optionSpacing
|
|
21241
21240
|
};
|
|
21242
21241
|
});
|
|
21243
|
-
var FooterText = index$
|
|
21242
|
+
var FooterText = index$8(Typography.Text)(function (_ref3) {
|
|
21244
21243
|
var theme = _ref3.theme;
|
|
21245
21244
|
return {
|
|
21246
21245
|
color: theme.__hd__.select.colors.footerText
|
|
21247
21246
|
};
|
|
21248
21247
|
});
|
|
21249
|
-
var StyledSearchBar = index$
|
|
21248
|
+
var StyledSearchBar = index$8(View)(function (_ref4) {
|
|
21250
21249
|
var theme = _ref4.theme;
|
|
21251
21250
|
return {
|
|
21252
21251
|
marginTop: theme.__hd__.select.space.searchBarMarginTopSpacing,
|
|
@@ -21319,7 +21318,7 @@ var StyledOptionList = function StyledOptionList(_ref) {
|
|
|
21319
21318
|
});
|
|
21320
21319
|
};
|
|
21321
21320
|
|
|
21322
|
-
var Option$
|
|
21321
|
+
var Option$2 = function Option(_ref) {
|
|
21323
21322
|
var text = _ref.text,
|
|
21324
21323
|
_ref$disabled = _ref.disabled,
|
|
21325
21324
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
@@ -21366,7 +21365,7 @@ var OptionList$1 = function OptionList(_ref) {
|
|
|
21366
21365
|
return renderOption ? renderOption(_objectSpread2(_objectSpread2({}, info), {}, {
|
|
21367
21366
|
selected: selected,
|
|
21368
21367
|
onPress: onItemPress
|
|
21369
|
-
})) : /*#__PURE__*/React.createElement(Option$
|
|
21368
|
+
})) : /*#__PURE__*/React.createElement(Option$2, {
|
|
21370
21369
|
selected: selected,
|
|
21371
21370
|
text: item.text,
|
|
21372
21371
|
disabled: item.disabled,
|
|
@@ -21564,7 +21563,7 @@ function MultiSelect(_ref) {
|
|
|
21564
21563
|
})));
|
|
21565
21564
|
}
|
|
21566
21565
|
|
|
21567
|
-
var Option = function Option(_ref) {
|
|
21566
|
+
var Option$1 = function Option(_ref) {
|
|
21568
21567
|
var text = _ref.text,
|
|
21569
21568
|
_ref$disabled = _ref.disabled,
|
|
21570
21569
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
@@ -21608,7 +21607,7 @@ var OptionList = function OptionList(_ref) {
|
|
|
21608
21607
|
return renderOption ? renderOption(_objectSpread2(_objectSpread2({}, info), {}, {
|
|
21609
21608
|
selected: selected,
|
|
21610
21609
|
onPress: onItemPress
|
|
21611
|
-
})) : /*#__PURE__*/React.createElement(Option, {
|
|
21610
|
+
})) : /*#__PURE__*/React.createElement(Option$1, {
|
|
21612
21611
|
selected: selected,
|
|
21613
21612
|
text: item.text,
|
|
21614
21613
|
disabled: item.disabled,
|
|
@@ -21730,11 +21729,11 @@ var SingleSelect = function SingleSelect(_ref) {
|
|
|
21730
21729
|
})));
|
|
21731
21730
|
};
|
|
21732
21731
|
|
|
21733
|
-
var index$
|
|
21732
|
+
var index$4 = Object.assign(SingleSelect, {
|
|
21734
21733
|
Multi: MultiSelect
|
|
21735
21734
|
});
|
|
21736
21735
|
|
|
21737
|
-
var StyledWrapper = index$
|
|
21736
|
+
var StyledWrapper$1 = index$8(View)(function (_ref) {
|
|
21738
21737
|
var theme = _ref.theme,
|
|
21739
21738
|
themeVariant = _ref.themeVariant,
|
|
21740
21739
|
themeSize = _ref.themeSize;
|
|
@@ -21748,7 +21747,7 @@ var StyledWrapper = index$7(View)(function (_ref) {
|
|
|
21748
21747
|
justifyContent: 'center'
|
|
21749
21748
|
};
|
|
21750
21749
|
});
|
|
21751
|
-
var StyledKnot = index$
|
|
21750
|
+
var StyledKnot = index$8(Animated.View)(function (_ref2) {
|
|
21752
21751
|
var theme = _ref2.theme,
|
|
21753
21752
|
themeSize = _ref2.themeSize;
|
|
21754
21753
|
return {
|
|
@@ -21759,6 +21758,107 @@ var StyledKnot = index$7(Animated.View)(function (_ref2) {
|
|
|
21759
21758
|
};
|
|
21760
21759
|
});
|
|
21761
21760
|
|
|
21761
|
+
var StyledWrapper = index$8(View)(function (_ref) {
|
|
21762
|
+
var theme = _ref.theme;
|
|
21763
|
+
return {
|
|
21764
|
+
flexDirection: 'row',
|
|
21765
|
+
width: '100%',
|
|
21766
|
+
height: theme.__hd__["switch"].sizes.selector.height,
|
|
21767
|
+
borderRadius: theme.__hd__["switch"].radii.selector["default"],
|
|
21768
|
+
backgroundColor: theme.__hd__["switch"].colors.selector.background,
|
|
21769
|
+
padding: theme.__hd__["switch"].spaces.selector.wrapperPadding
|
|
21770
|
+
};
|
|
21771
|
+
});
|
|
21772
|
+
var StyledTextWrapper = index$8(View)(function (_ref2) {
|
|
21773
|
+
var theme = _ref2.theme;
|
|
21774
|
+
return {
|
|
21775
|
+
flex: 1,
|
|
21776
|
+
borderRadius: theme.__hd__["switch"].radii.selector["default"],
|
|
21777
|
+
backgroundColor: theme.__hd__["switch"].colors.selector.textBackground,
|
|
21778
|
+
justifyContent: 'center',
|
|
21779
|
+
alignItems: 'center'
|
|
21780
|
+
};
|
|
21781
|
+
});
|
|
21782
|
+
var StyledIconWrapper = index$8(View)(function (_ref3) {
|
|
21783
|
+
var theme = _ref3.theme;
|
|
21784
|
+
return {
|
|
21785
|
+
paddingHorizontal: theme.__hd__["switch"].spaces.selector.iconPadding,
|
|
21786
|
+
justifyContent: 'center',
|
|
21787
|
+
alignItems: 'center'
|
|
21788
|
+
};
|
|
21789
|
+
});
|
|
21790
|
+
|
|
21791
|
+
var OptionContent = function OptionContent(_ref) {
|
|
21792
|
+
var content = _ref.content,
|
|
21793
|
+
badge = _ref.badge;
|
|
21794
|
+
var theme = useTheme();
|
|
21795
|
+
|
|
21796
|
+
if (!badge) {
|
|
21797
|
+
return content;
|
|
21798
|
+
}
|
|
21799
|
+
|
|
21800
|
+
if (badge.type === 'status') {
|
|
21801
|
+
return /*#__PURE__*/React.createElement(Badge$1.Status, {
|
|
21802
|
+
visible: true,
|
|
21803
|
+
style: {
|
|
21804
|
+
paddingHorizontal: theme.space.small
|
|
21805
|
+
},
|
|
21806
|
+
testID: "selector-switch-status-badge"
|
|
21807
|
+
}, content);
|
|
21808
|
+
}
|
|
21809
|
+
|
|
21810
|
+
return content;
|
|
21811
|
+
};
|
|
21812
|
+
|
|
21813
|
+
var Option = function Option(_ref2) {
|
|
21814
|
+
var text = _ref2.text,
|
|
21815
|
+
icon = _ref2.icon,
|
|
21816
|
+
badge = _ref2.badge,
|
|
21817
|
+
selected = _ref2.selected;
|
|
21818
|
+
|
|
21819
|
+
if (selected) {
|
|
21820
|
+
return /*#__PURE__*/React.createElement(StyledTextWrapper, null, /*#__PURE__*/React.createElement(OptionContent, {
|
|
21821
|
+
content: /*#__PURE__*/React.createElement(Typography.Text, {
|
|
21822
|
+
fontSize: "large",
|
|
21823
|
+
intent: "inverted"
|
|
21824
|
+
}, text),
|
|
21825
|
+
badge: badge
|
|
21826
|
+
}));
|
|
21827
|
+
}
|
|
21828
|
+
|
|
21829
|
+
return /*#__PURE__*/React.createElement(StyledIconWrapper, null, /*#__PURE__*/React.createElement(OptionContent, {
|
|
21830
|
+
content: /*#__PURE__*/React.createElement(Icon, {
|
|
21831
|
+
icon: icon
|
|
21832
|
+
}),
|
|
21833
|
+
badge: badge
|
|
21834
|
+
}));
|
|
21835
|
+
};
|
|
21836
|
+
|
|
21837
|
+
var SelectorSwitch = function SelectorSwitch(_ref) {
|
|
21838
|
+
var options = _ref.options,
|
|
21839
|
+
value = _ref.value,
|
|
21840
|
+
_onPress = _ref.onPress,
|
|
21841
|
+
style = _ref.style,
|
|
21842
|
+
testID = _ref.testID;
|
|
21843
|
+
return /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
|
|
21844
|
+
onPress: function onPress() {
|
|
21845
|
+
return _onPress(value);
|
|
21846
|
+
},
|
|
21847
|
+
testID: testID
|
|
21848
|
+
}, /*#__PURE__*/React.createElement(StyledWrapper, {
|
|
21849
|
+
style: style
|
|
21850
|
+
}, options.map(function (opt, index) {
|
|
21851
|
+
return (
|
|
21852
|
+
/*#__PURE__*/
|
|
21853
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
21854
|
+
React.createElement(Option, _extends$1({}, opt, {
|
|
21855
|
+
selected: opt.value === value,
|
|
21856
|
+
key: index
|
|
21857
|
+
}))
|
|
21858
|
+
);
|
|
21859
|
+
})));
|
|
21860
|
+
};
|
|
21861
|
+
|
|
21762
21862
|
var getVariant = function getVariant(_ref) {
|
|
21763
21863
|
var disabled = _ref.disabled,
|
|
21764
21864
|
checked = _ref.checked;
|
|
@@ -21804,7 +21904,7 @@ var Switch = function Switch(_ref2) {
|
|
|
21804
21904
|
testID: testID,
|
|
21805
21905
|
onPress: onPress,
|
|
21806
21906
|
disabled: disabled
|
|
21807
|
-
}, /*#__PURE__*/React.createElement(StyledWrapper, {
|
|
21907
|
+
}, /*#__PURE__*/React.createElement(StyledWrapper$1, {
|
|
21808
21908
|
themeVariant: variant,
|
|
21809
21909
|
themeSize: size,
|
|
21810
21910
|
style: style
|
|
@@ -21816,12 +21916,16 @@ var Switch = function Switch(_ref2) {
|
|
|
21816
21916
|
})));
|
|
21817
21917
|
};
|
|
21818
21918
|
|
|
21919
|
+
var index$3 = Object.assign(Switch, {
|
|
21920
|
+
Selector: SelectorSwitch
|
|
21921
|
+
});
|
|
21922
|
+
|
|
21819
21923
|
var AnimatedPagerView = Animated.createAnimatedComponent(PagerView);
|
|
21820
|
-
var TabContainer$1 = index$
|
|
21924
|
+
var TabContainer$1 = index$8(View)({
|
|
21821
21925
|
flex: 1,
|
|
21822
21926
|
overflow: 'hidden'
|
|
21823
21927
|
});
|
|
21824
|
-
var HeaderTabWrapper$1 = index$
|
|
21928
|
+
var HeaderTabWrapper$1 = index$8(View)(function (_ref) {
|
|
21825
21929
|
var theme = _ref.theme,
|
|
21826
21930
|
themeInsets = _ref.themeInsets;
|
|
21827
21931
|
return {
|
|
@@ -21830,10 +21934,10 @@ var HeaderTabWrapper$1 = index$7(View)(function (_ref) {
|
|
|
21830
21934
|
borderBottomWidth: theme.__hd__.tabs.borderWidths.headerBottom
|
|
21831
21935
|
};
|
|
21832
21936
|
});
|
|
21833
|
-
var HeaderTab = index$
|
|
21937
|
+
var HeaderTab = index$8(View)({
|
|
21834
21938
|
flexDirection: 'row'
|
|
21835
21939
|
});
|
|
21836
|
-
var HeaderTabItem$1 = index$
|
|
21940
|
+
var HeaderTabItem$1 = index$8(View)(function (_ref2) {
|
|
21837
21941
|
var theme = _ref2.theme;
|
|
21838
21942
|
return {
|
|
21839
21943
|
flex: 1,
|
|
@@ -21841,13 +21945,13 @@ var HeaderTabItem$1 = index$7(View)(function (_ref2) {
|
|
|
21841
21945
|
paddingVertical: theme.__hd__.tabs.space.itemVerticalPadding
|
|
21842
21946
|
};
|
|
21843
21947
|
});
|
|
21844
|
-
var ContentWrapper$1 = index$
|
|
21948
|
+
var ContentWrapper$1 = index$8(AnimatedPagerView)({
|
|
21845
21949
|
flex: 1
|
|
21846
21950
|
});
|
|
21847
|
-
var TabScreen$1 = index$
|
|
21951
|
+
var TabScreen$1 = index$8(View)({
|
|
21848
21952
|
flex: 1
|
|
21849
21953
|
});
|
|
21850
|
-
var StyledIndicator = index$
|
|
21954
|
+
var StyledIndicator = index$8(Animated.View)(function (_ref3) {
|
|
21851
21955
|
var theme = _ref3.theme,
|
|
21852
21956
|
themeWidth = _ref3.themeWidth;
|
|
21853
21957
|
return {
|
|
@@ -21858,7 +21962,7 @@ var StyledIndicator = index$7(Animated.View)(function (_ref3) {
|
|
|
21858
21962
|
bottom: 0
|
|
21859
21963
|
};
|
|
21860
21964
|
});
|
|
21861
|
-
var StyledBadgeWrapper = index$
|
|
21965
|
+
var StyledBadgeWrapper = index$8(View)({
|
|
21862
21966
|
flexDirection: 'row',
|
|
21863
21967
|
alignItems: 'center'
|
|
21864
21968
|
});
|
|
@@ -21884,17 +21988,17 @@ var ActiveTabIndicator = function ActiveTabIndicator(_ref) {
|
|
|
21884
21988
|
});
|
|
21885
21989
|
};
|
|
21886
21990
|
|
|
21887
|
-
var TabScreen = index$
|
|
21991
|
+
var TabScreen = index$8(View)({
|
|
21888
21992
|
flex: 1
|
|
21889
21993
|
});
|
|
21890
|
-
var TabContainer = index$
|
|
21994
|
+
var TabContainer = index$8(View)({
|
|
21891
21995
|
flex: 1,
|
|
21892
21996
|
overflow: 'hidden'
|
|
21893
21997
|
});
|
|
21894
|
-
var ContentWrapper = index$
|
|
21998
|
+
var ContentWrapper = index$8(PagerView)({
|
|
21895
21999
|
flex: 1
|
|
21896
22000
|
});
|
|
21897
|
-
var HeaderTabWrapper = index$
|
|
22001
|
+
var HeaderTabWrapper = index$8(View)(function (_ref) {
|
|
21898
22002
|
var theme = _ref.theme,
|
|
21899
22003
|
themeInsets = _ref.themeInsets;
|
|
21900
22004
|
return {
|
|
@@ -21903,7 +22007,7 @@ var HeaderTabWrapper = index$7(View)(function (_ref) {
|
|
|
21903
22007
|
borderBottomWidth: theme.__hd__.tabs.borderWidths.headerBottom
|
|
21904
22008
|
};
|
|
21905
22009
|
});
|
|
21906
|
-
var HeaderTabItem = index$
|
|
22010
|
+
var HeaderTabItem = index$8(Animated.View)(function (_ref2) {
|
|
21907
22011
|
var theme = _ref2.theme,
|
|
21908
22012
|
isFirstItem = _ref2.isFirstItem;
|
|
21909
22013
|
return {
|
|
@@ -21911,13 +22015,13 @@ var HeaderTabItem = index$7(Animated.View)(function (_ref2) {
|
|
|
21911
22015
|
paddingVertical: theme.__hd__.tabs.space.itemVerticalPadding
|
|
21912
22016
|
};
|
|
21913
22017
|
});
|
|
21914
|
-
var HeaderTabItemOutlineWrapper = index$
|
|
22018
|
+
var HeaderTabItemOutlineWrapper = index$8(View)(function (_ref3) {
|
|
21915
22019
|
var theme = _ref3.theme;
|
|
21916
22020
|
return _objectSpread2({
|
|
21917
22021
|
paddingVertical: theme.__hd__.tabs.space.itemVerticalPadding
|
|
21918
22022
|
}, StyleSheet$1.absoluteFillObject);
|
|
21919
22023
|
});
|
|
21920
|
-
var HeaderTabItemOutline = index$
|
|
22024
|
+
var HeaderTabItemOutline = index$8(Animated.View)(function (_ref4) {
|
|
21921
22025
|
var theme = _ref4.theme,
|
|
21922
22026
|
themeActive = _ref4.themeActive;
|
|
21923
22027
|
return {
|
|
@@ -21925,7 +22029,7 @@ var HeaderTabItemOutline = index$7(Animated.View)(function (_ref4) {
|
|
|
21925
22029
|
backgroundColor: themeActive ? theme.__hd__.tabs.colors.activeBackground : undefined
|
|
21926
22030
|
};
|
|
21927
22031
|
});
|
|
21928
|
-
var HeaderTabItemWrapper = index$
|
|
22032
|
+
var HeaderTabItemWrapper = index$8(View)(function (_ref5) {
|
|
21929
22033
|
var theme = _ref5.theme;
|
|
21930
22034
|
return {
|
|
21931
22035
|
paddingHorizontal: theme.__hd__.tabs.space.outlineHorizontalPadding,
|
|
@@ -22023,7 +22127,8 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
22023
22127
|
_ref2$lazy = _ref2.lazy,
|
|
22024
22128
|
lazy = _ref2$lazy === void 0 ? false : _ref2$lazy,
|
|
22025
22129
|
_ref2$lazyPreloadDist = _ref2.lazyPreloadDistance,
|
|
22026
|
-
lazyPreloadDistance = _ref2$lazyPreloadDist === void 0 ? 1 : _ref2$lazyPreloadDist
|
|
22130
|
+
lazyPreloadDistance = _ref2$lazyPreloadDist === void 0 ? 1 : _ref2$lazyPreloadDist,
|
|
22131
|
+
componentTestID = _ref2.testID;
|
|
22027
22132
|
var flatListRef = React.useRef(null);
|
|
22028
22133
|
var pagerViewRef = React.useRef(null);
|
|
22029
22134
|
var insets = useSafeAreaInsets();
|
|
@@ -22058,10 +22163,12 @@ var ScrollableTab = function ScrollableTab(_ref2) {
|
|
|
22058
22163
|
};
|
|
22059
22164
|
}, [selectedTabIndex]);
|
|
22060
22165
|
return /*#__PURE__*/React.createElement(TabContainer, {
|
|
22061
|
-
style: containerStyle
|
|
22166
|
+
style: containerStyle,
|
|
22167
|
+
testID: componentTestID
|
|
22062
22168
|
}, /*#__PURE__*/React.createElement(HeaderTabWrapper, {
|
|
22063
22169
|
themeInsets: insets,
|
|
22064
|
-
style: barStyle
|
|
22170
|
+
style: barStyle,
|
|
22171
|
+
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined
|
|
22065
22172
|
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
22066
22173
|
ref: flatListRef,
|
|
22067
22174
|
horizontal: true,
|
|
@@ -22184,7 +22291,8 @@ var Tabs = function Tabs(_ref2) {
|
|
|
22184
22291
|
_ref2$lazy = _ref2.lazy,
|
|
22185
22292
|
lazy = _ref2$lazy === void 0 ? false : _ref2$lazy,
|
|
22186
22293
|
_ref2$lazyPreloadDist = _ref2.lazyPreloadDistance,
|
|
22187
|
-
lazyPreloadDistance = _ref2$lazyPreloadDist === void 0 ? 1 : _ref2$lazyPreloadDist
|
|
22294
|
+
lazyPreloadDistance = _ref2$lazyPreloadDist === void 0 ? 1 : _ref2$lazyPreloadDist,
|
|
22295
|
+
componentTestID = _ref2.testID;
|
|
22188
22296
|
var theme = useTheme$1();
|
|
22189
22297
|
var insets = useSafeAreaInsets();
|
|
22190
22298
|
var pagerViewRef = React.useRef(null);
|
|
@@ -22207,10 +22315,12 @@ var Tabs = function Tabs(_ref2) {
|
|
|
22207
22315
|
}
|
|
22208
22316
|
}, [selectedTabIndex]);
|
|
22209
22317
|
return /*#__PURE__*/React.createElement(TabContainer$1, {
|
|
22210
|
-
style: containerStyle
|
|
22318
|
+
style: containerStyle,
|
|
22319
|
+
testID: componentTestID
|
|
22211
22320
|
}, /*#__PURE__*/React.createElement(HeaderTabWrapper$1, {
|
|
22212
22321
|
themeInsets: insets,
|
|
22213
|
-
style: barStyle
|
|
22322
|
+
style: barStyle,
|
|
22323
|
+
testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined
|
|
22214
22324
|
}, /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(HeaderTab, {
|
|
22215
22325
|
onLayout: function onLayout(e) {
|
|
22216
22326
|
var width = e.nativeEvent.layout.width;
|
|
@@ -22289,7 +22399,7 @@ var index$2 = Object.assign(Tabs, {
|
|
|
22289
22399
|
Scroll: ScrollableTab
|
|
22290
22400
|
});
|
|
22291
22401
|
|
|
22292
|
-
var StyledView = index$
|
|
22402
|
+
var StyledView = index$8(View)(function (_ref) {
|
|
22293
22403
|
var themeIntent = _ref.themeIntent,
|
|
22294
22404
|
theme = _ref.theme;
|
|
22295
22405
|
return {
|
|
@@ -22301,7 +22411,7 @@ var StyledView = index$7(View)(function (_ref) {
|
|
|
22301
22411
|
backgroundColor: theme.__hd__.tag.colors["".concat(themeIntent, "Background")]
|
|
22302
22412
|
};
|
|
22303
22413
|
});
|
|
22304
|
-
var StyledText = index$
|
|
22414
|
+
var StyledText = index$8(Text$1)(function (_ref2) {
|
|
22305
22415
|
var themeIntent = _ref2.themeIntent,
|
|
22306
22416
|
theme = _ref2.theme;
|
|
22307
22417
|
return {
|
|
@@ -22391,7 +22501,7 @@ var TimePickerAndroid = function TimePickerAndroid(_ref) {
|
|
|
22391
22501
|
}) : null);
|
|
22392
22502
|
};
|
|
22393
22503
|
|
|
22394
|
-
var StyledPickerWrapper = index$
|
|
22504
|
+
var StyledPickerWrapper = index$8(View)(function (_ref) {
|
|
22395
22505
|
var theme = _ref.theme;
|
|
22396
22506
|
return {
|
|
22397
22507
|
height: theme.__hd__.timePicker.sizes.height
|
|
@@ -22491,7 +22601,7 @@ var TimePicker = function TimePicker(props) {
|
|
|
22491
22601
|
return /*#__PURE__*/React.createElement(TimePickerAndroid, props);
|
|
22492
22602
|
};
|
|
22493
22603
|
|
|
22494
|
-
var ToastContainerWrapper = index$
|
|
22604
|
+
var ToastContainerWrapper = index$8(View)(function (_ref) {
|
|
22495
22605
|
var theme = _ref.theme,
|
|
22496
22606
|
position = _ref.position;
|
|
22497
22607
|
return _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
@@ -22501,7 +22611,7 @@ var ToastContainerWrapper = index$7(View)(function (_ref) {
|
|
|
22501
22611
|
elevation: 9999
|
|
22502
22612
|
});
|
|
22503
22613
|
});
|
|
22504
|
-
var Container = index$
|
|
22614
|
+
var Container = index$8(Animated.View)(function (_ref2) {
|
|
22505
22615
|
var theme = _ref2.theme,
|
|
22506
22616
|
themeVariant = _ref2.themeVariant,
|
|
22507
22617
|
themeIntent = _ref2.themeIntent;
|
|
@@ -22517,21 +22627,21 @@ var Container = index$7(Animated.View)(function (_ref2) {
|
|
|
22517
22627
|
elevation: theme.__hd__.toast.shadows.elevation
|
|
22518
22628
|
};
|
|
22519
22629
|
});
|
|
22520
|
-
var IconContainer = index$
|
|
22630
|
+
var IconContainer = index$8(View)(function (_ref3) {
|
|
22521
22631
|
var theme = _ref3.theme;
|
|
22522
22632
|
return {
|
|
22523
22633
|
alignItems: 'center',
|
|
22524
22634
|
paddingLeft: theme.__hd__.toast.space.iconLeftPadding
|
|
22525
22635
|
};
|
|
22526
22636
|
});
|
|
22527
|
-
var TextContainer = index$
|
|
22637
|
+
var TextContainer = index$8(View)(function (_ref4) {
|
|
22528
22638
|
var theme = _ref4.theme;
|
|
22529
22639
|
return {
|
|
22530
22640
|
paddingHorizontal: theme.__hd__.toast.space.textHorizontalPadding,
|
|
22531
22641
|
flex: 1
|
|
22532
22642
|
};
|
|
22533
22643
|
});
|
|
22534
|
-
var ContentContainer = index$
|
|
22644
|
+
var ContentContainer = index$8(View)(function (_ref5) {
|
|
22535
22645
|
var theme = _ref5.theme,
|
|
22536
22646
|
showDivider = _ref5.showDivider;
|
|
22537
22647
|
return {
|
|
@@ -22542,7 +22652,7 @@ var ContentContainer = index$7(View)(function (_ref5) {
|
|
|
22542
22652
|
flexDirection: 'row'
|
|
22543
22653
|
};
|
|
22544
22654
|
});
|
|
22545
|
-
var CTAWrapper = index$
|
|
22655
|
+
var CTAWrapper = index$8(TouchableOpacity)(function (_ref6) {
|
|
22546
22656
|
var theme = _ref6.theme;
|
|
22547
22657
|
return {
|
|
22548
22658
|
paddingHorizontal: theme.__hd__.toast.space.ctaPadding,
|
|
@@ -22803,7 +22913,7 @@ var Toast = {
|
|
|
22803
22913
|
useToast: useToast
|
|
22804
22914
|
};
|
|
22805
22915
|
|
|
22806
|
-
var ToolbarWrapper = index$
|
|
22916
|
+
var ToolbarWrapper = index$8(View)(function (_ref) {
|
|
22807
22917
|
var theme = _ref.theme;
|
|
22808
22918
|
return {
|
|
22809
22919
|
position: 'absolute',
|
|
@@ -22827,7 +22937,7 @@ var alignment = {
|
|
|
22827
22937
|
center: 'center',
|
|
22828
22938
|
right: 'flex-end'
|
|
22829
22939
|
};
|
|
22830
|
-
var ToolbarGroupWrapper = index$
|
|
22940
|
+
var ToolbarGroupWrapper = index$8(View)(function (_ref2) {
|
|
22831
22941
|
var align = _ref2.align;
|
|
22832
22942
|
return {
|
|
22833
22943
|
flex: 1,
|
|
@@ -22836,7 +22946,7 @@ var ToolbarGroupWrapper = index$7(View)(function (_ref2) {
|
|
|
22836
22946
|
alignItems: 'center'
|
|
22837
22947
|
};
|
|
22838
22948
|
});
|
|
22839
|
-
var ToolbarItemWrapper = index$
|
|
22949
|
+
var ToolbarItemWrapper = index$8(TouchableOpacity)(function (_ref3) {
|
|
22840
22950
|
var theme = _ref3.theme;
|
|
22841
22951
|
return {
|
|
22842
22952
|
paddingVertical: theme.__hd__.toolbar.space.verticalPadding,
|
|
@@ -22916,7 +23026,7 @@ var ToolbarEvents;
|
|
|
22916
23026
|
var emitter = new EventEmitter();
|
|
22917
23027
|
emitter.setMaxListeners(20);
|
|
22918
23028
|
|
|
22919
|
-
var StyledToolbarButton = index$
|
|
23029
|
+
var StyledToolbarButton = index$8(TouchableOpacity)(function (_ref) {
|
|
22920
23030
|
var theme = _ref.theme,
|
|
22921
23031
|
selected = _ref.selected;
|
|
22922
23032
|
return {
|
|
@@ -22927,7 +23037,7 @@ var StyledToolbarButton = index$7(TouchableOpacity)(function (_ref) {
|
|
|
22927
23037
|
backgroundColor: selected ? theme.__hd__.richTextEditor.colors.toolbarButtonSelectedBackground : undefined
|
|
22928
23038
|
};
|
|
22929
23039
|
});
|
|
22930
|
-
var StyledToolbar = index$
|
|
23040
|
+
var StyledToolbar = index$8(View)(function (_ref2) {
|
|
22931
23041
|
var theme = _ref2.theme;
|
|
22932
23042
|
return {
|
|
22933
23043
|
flexDirection: 'row',
|
|
@@ -22938,7 +23048,7 @@ var StyledToolbar = index$7(View)(function (_ref2) {
|
|
|
22938
23048
|
paddingHorizontal: theme.__hd__.richTextEditor.space.toolbarHorizontalPadding
|
|
22939
23049
|
};
|
|
22940
23050
|
});
|
|
22941
|
-
var StyledSeparator = index$
|
|
23051
|
+
var StyledSeparator = index$8(View)(function (_ref3) {
|
|
22942
23052
|
var theme = _ref3.theme;
|
|
22943
23053
|
return {
|
|
22944
23054
|
width: theme.__hd__.richTextEditor.sizes.toolbarSeparatorWidth,
|
|
@@ -40909,13 +41019,13 @@ function checkDCE() {
|
|
|
40909
41019
|
});
|
|
40910
41020
|
})(lib);
|
|
40911
41021
|
|
|
40912
|
-
index$
|
|
41022
|
+
index$8(View)(function (_ref) {
|
|
40913
41023
|
var theme = _ref.theme;
|
|
40914
41024
|
return {
|
|
40915
41025
|
marginBottom: theme.__hd__.richTextEditor.space.wrapperMarginBottom
|
|
40916
41026
|
};
|
|
40917
41027
|
});
|
|
40918
|
-
var StyledWebView = index$
|
|
41028
|
+
var StyledWebView = index$8(WebView)(function (_ref2) {
|
|
40919
41029
|
var height = _ref2.height,
|
|
40920
41030
|
theme = _ref2.theme;
|
|
40921
41031
|
return {
|
|
@@ -41169,4 +41279,4 @@ var index = Object.assign(RichTextEditor$1, {
|
|
|
41169
41279
|
Toolbar: EditorToolbar
|
|
41170
41280
|
});
|
|
41171
41281
|
|
|
41172
|
-
export { Accordion, Alert, Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet, Box, CompoundButton as Button, Calendar, index$
|
|
41282
|
+
export { Accordion, Alert, Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet, Box, CompoundButton as Button, Calendar, index$7 as Card, Checkbox, Collapse, ContentNavigator, DatePicker, Divider, index$6 as Drawer, Empty, index$5 as FAB, Icon, Image, List, PinInput, Progress, CompoundRadio as Radio, index as RichTextEditor, SectionHeading, index$4 as Select, Slider, Spinner, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, TimePicker, Toast, index$1 as Toolbar, Typography, getTheme$1 as getTheme, scale, swagSystemPalette, defaultTheme as theme, useTheme, workSystemPalette };
|