@hero-design/rn 8.38.0 → 8.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +201 -196
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +201 -196
- package/package.json +13 -12
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +64 -64
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +4 -4
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +104 -104
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +107 -107
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +17 -17
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +10 -10
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +76 -76
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +8 -8
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +24 -24
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +42 -42
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +10 -10
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +46 -46
- package/src/components/BottomNavigation/index.tsx +4 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +30 -30
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +42 -42
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +20 -20
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +210 -210
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +214 -214
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +4 -4
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +105 -105
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +35 -35
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +14 -14
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +20 -20
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +24 -24
- package/src/components/Carousel/CardCarousel.tsx +1 -1
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +88 -88
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +15 -15
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +2 -2
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +342 -342
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +12 -12
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +56 -56
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +3 -3
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +2 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +39 -39
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +90 -90
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +30 -30
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +30 -30
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +71 -71
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +24 -24
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +23 -23
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +69 -69
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +157 -157
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +16 -16
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +14 -14
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +46 -46
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +34 -34
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +98 -98
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +16 -16
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +28 -28
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +30 -30
- package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +6 -6
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +138 -138
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +136 -136
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +24 -24
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +39 -39
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +78 -78
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +27 -27
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +4 -4
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +72 -72
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +6 -6
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +38 -38
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +12 -12
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +460 -460
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +838 -838
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +7 -7
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +443 -443
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +628 -628
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +98 -98
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +21 -21
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +132 -132
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +25 -25
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +69 -69
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +9 -9
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +26 -26
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +19 -19
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +9 -9
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
- package/src/components/Tabs/SceneView.tsx +5 -2
- package/src/components/Tabs/ScrollableTabs.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +23 -23
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +336 -336
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +80 -80
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +13 -13
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +225 -225
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +58 -58
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +106 -106
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +561 -561
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +60 -60
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +101 -101
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +108 -108
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +8 -8
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +66 -66
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +52 -52
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +32 -32
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +38 -38
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +20 -20
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +26 -26
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +16 -16
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +40 -40
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +40 -40
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +46 -46
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +302 -302
- package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/globalDark.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/swagDark.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +1 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/RichTextEditor/EditorEvent.d.ts +1 -0
- package/src/components/Modal/__tests__/ModalContentWrapper.spec.tsx +0 -25
- package/src/components/Modal/__tests__/ModalPresenter.spec.tsx +0 -57
- package/src/components/Modal/__tests__/__snapshots__/ModalContentWrapper.spec.tsx.snap +0 -35
- package/src/components/Modal/__tests__/__snapshots__/ModalPresenter.spec.tsx.snap +0 -55
- package/src/components/Modal/__tests__/index.spec.tsx +0 -50
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
} from './StyledBottomNavigation';
|
|
17
17
|
import { isIOS } from '../../utils/helpers';
|
|
18
18
|
import type { IconName } from '../Icon';
|
|
19
|
+
import { useDeprecation } from '../../utils/hooks';
|
|
19
20
|
|
|
20
21
|
export type BottomNavigationTabType = {
|
|
21
22
|
key: string;
|
|
@@ -71,6 +72,9 @@ const BottomNavigation = ({
|
|
|
71
72
|
tabs,
|
|
72
73
|
...nativeProps
|
|
73
74
|
}: BottomNavigationProps): JSX.Element => {
|
|
75
|
+
useDeprecation(
|
|
76
|
+
'BottomNavigation is deprecated and will be removed in the next major release. Please remove it.'
|
|
77
|
+
);
|
|
74
78
|
const insets = useSafeAreaInsets();
|
|
75
79
|
|
|
76
80
|
/**
|
|
@@ -28,8 +28,8 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
28
28
|
<View
|
|
29
29
|
pointerEvents="box-none"
|
|
30
30
|
style={
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
33
|
"bottom": 0,
|
|
34
34
|
"flexDirection": "column-reverse",
|
|
35
35
|
"left": 0,
|
|
@@ -44,15 +44,15 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
44
44
|
<View
|
|
45
45
|
onLayout={[Function]}
|
|
46
46
|
style={
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
[
|
|
48
|
+
[
|
|
49
|
+
{
|
|
50
50
|
"flex": 1,
|
|
51
51
|
"flexDirection": "column-reverse",
|
|
52
52
|
},
|
|
53
53
|
undefined,
|
|
54
54
|
],
|
|
55
|
-
|
|
55
|
+
{
|
|
56
56
|
"paddingBottom": 0,
|
|
57
57
|
},
|
|
58
58
|
]
|
|
@@ -72,7 +72,7 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
72
72
|
onResponderTerminationRequest={[Function]}
|
|
73
73
|
onStartShouldSetResponder={[Function]}
|
|
74
74
|
style={
|
|
75
|
-
|
|
75
|
+
{
|
|
76
76
|
"backgroundColor": "#000000",
|
|
77
77
|
"bottom": 0,
|
|
78
78
|
"left": 0,
|
|
@@ -87,24 +87,24 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
87
87
|
collapsable={false}
|
|
88
88
|
emulateUnlessSupported={true}
|
|
89
89
|
style={
|
|
90
|
-
|
|
90
|
+
{
|
|
91
91
|
"backgroundColor": "#ffffff",
|
|
92
92
|
"borderTopLeftRadius": 16,
|
|
93
93
|
"borderTopRightRadius": 16,
|
|
94
94
|
"elevation": 10,
|
|
95
95
|
"maxHeight": "94%",
|
|
96
96
|
"shadowColor": "#001f23",
|
|
97
|
-
"shadowOffset":
|
|
97
|
+
"shadowOffset": {
|
|
98
98
|
"height": 3,
|
|
99
99
|
"width": 0,
|
|
100
100
|
},
|
|
101
101
|
"shadowOpacity": 0.4,
|
|
102
102
|
"shadowRadius": 16,
|
|
103
|
-
"transform":
|
|
104
|
-
|
|
103
|
+
"transform": [
|
|
104
|
+
{
|
|
105
105
|
"scaleY": 1,
|
|
106
106
|
},
|
|
107
|
-
|
|
107
|
+
{
|
|
108
108
|
"translateY": 1334,
|
|
109
109
|
},
|
|
110
110
|
],
|
|
@@ -114,8 +114,8 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
114
114
|
>
|
|
115
115
|
<View
|
|
116
116
|
style={
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
[
|
|
118
|
+
{
|
|
119
119
|
"flexDirection": "row",
|
|
120
120
|
"paddingHorizontal": 16,
|
|
121
121
|
"paddingVertical": 8,
|
|
@@ -126,8 +126,8 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
126
126
|
>
|
|
127
127
|
<View
|
|
128
128
|
style={
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
[
|
|
130
|
+
{
|
|
131
131
|
"flex": 1,
|
|
132
132
|
"justifyContent": "center",
|
|
133
133
|
},
|
|
@@ -138,8 +138,8 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
138
138
|
<Text
|
|
139
139
|
allowFontScaling={false}
|
|
140
140
|
style={
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
[
|
|
142
|
+
{
|
|
143
143
|
"color": "#001f23",
|
|
144
144
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
145
145
|
"fontSize": 16,
|
|
@@ -158,8 +158,8 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
158
158
|
</View>
|
|
159
159
|
<View
|
|
160
160
|
style={
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
[
|
|
162
|
+
{
|
|
163
163
|
"alignItems": "center",
|
|
164
164
|
"height": 48,
|
|
165
165
|
"justifyContent": "center",
|
|
@@ -182,7 +182,7 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
182
182
|
onResponderTerminationRequest={[Function]}
|
|
183
183
|
onStartShouldSetResponder={[Function]}
|
|
184
184
|
style={
|
|
185
|
-
|
|
185
|
+
{
|
|
186
186
|
"opacity": 1,
|
|
187
187
|
}
|
|
188
188
|
}
|
|
@@ -191,8 +191,8 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
191
191
|
<HeroIcon
|
|
192
192
|
name="cancel"
|
|
193
193
|
style={
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
[
|
|
195
|
+
{
|
|
196
196
|
"color": "#001f23",
|
|
197
197
|
"fontSize": 16,
|
|
198
198
|
},
|
|
@@ -211,8 +211,8 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
211
211
|
<View>
|
|
212
212
|
<View
|
|
213
213
|
style={
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
[
|
|
215
|
+
{
|
|
216
216
|
"alignItems": "center",
|
|
217
217
|
"flexDirection": "row",
|
|
218
218
|
"justifyContent": "flex-end",
|
|
@@ -236,22 +236,22 @@ exports[`BottomSheet renders correctly with open state 1`] = `
|
|
|
236
236
|
onResponderTerminationRequest={[Function]}
|
|
237
237
|
onStartShouldSetResponder={[Function]}
|
|
238
238
|
style={
|
|
239
|
-
|
|
239
|
+
{
|
|
240
240
|
"opacity": 1,
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
>
|
|
244
244
|
<View
|
|
245
245
|
style={
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
[
|
|
247
|
+
{},
|
|
248
248
|
]
|
|
249
249
|
}
|
|
250
250
|
>
|
|
251
251
|
<Text
|
|
252
252
|
style={
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
[
|
|
254
|
+
{
|
|
255
255
|
"color": "#007AFF",
|
|
256
256
|
"fontSize": 18,
|
|
257
257
|
"margin": 8,
|
|
@@ -14,8 +14,8 @@ exports[`Box allows flex props 1`] = `
|
|
|
14
14
|
flexWrap="wrap"
|
|
15
15
|
justifyContent="space-around"
|
|
16
16
|
style={
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
[
|
|
18
|
+
{
|
|
19
19
|
"alignContent": "center",
|
|
20
20
|
"alignItems": "flex-end",
|
|
21
21
|
"alignSelf": "baseline",
|
|
@@ -45,8 +45,8 @@ exports[`Box map prop to valid property and correct color from theme 1`] = `
|
|
|
45
45
|
borderStartColor="warning"
|
|
46
46
|
borderTopColor="warning"
|
|
47
47
|
style={
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
[
|
|
49
|
+
{
|
|
50
50
|
"backgroundColor": "#ffbe71",
|
|
51
51
|
"borderBottomColor": "#ffbe71",
|
|
52
52
|
"borderColor": "#ffbe71",
|
|
@@ -73,8 +73,8 @@ exports[`Box map prop to valid property and correct color from theme 2`] = `
|
|
|
73
73
|
borderStartColor="danger"
|
|
74
74
|
borderTopColor="danger"
|
|
75
75
|
style={
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
[
|
|
77
|
+
{},
|
|
78
78
|
undefined,
|
|
79
79
|
]
|
|
80
80
|
}
|
|
@@ -92,8 +92,8 @@ exports[`Box map prop to valid property and correct color from theme 3`] = `
|
|
|
92
92
|
borderStartColor="success"
|
|
93
93
|
borderTopColor="success"
|
|
94
94
|
style={
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
[
|
|
96
|
+
{
|
|
97
97
|
"backgroundColor": "#5ace7d",
|
|
98
98
|
"borderBottomColor": "#5ace7d",
|
|
99
99
|
"borderColor": "#5ace7d",
|
|
@@ -120,8 +120,8 @@ exports[`Box map prop to valid property and correct color from theme 4`] = `
|
|
|
120
120
|
borderStartColor="backgroundDark"
|
|
121
121
|
borderTopColor="backgroundDark"
|
|
122
122
|
style={
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
[
|
|
124
|
+
{},
|
|
125
125
|
undefined,
|
|
126
126
|
]
|
|
127
127
|
}
|
|
@@ -140,8 +140,8 @@ exports[`Box map prop to valid property and correct radius from theme 1`] = `
|
|
|
140
140
|
borderTopRightRadius="base"
|
|
141
141
|
borderTopStartRadius="base"
|
|
142
142
|
style={
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
[
|
|
144
|
+
{
|
|
145
145
|
"borderBottomEndRadius": 4,
|
|
146
146
|
"borderBottomLeftRadius": 4,
|
|
147
147
|
"borderBottomRightRadius": 4,
|
|
@@ -170,8 +170,8 @@ exports[`Box map prop to valid property and correct radius from theme 2`] = `
|
|
|
170
170
|
borderTopRightRadius="large"
|
|
171
171
|
borderTopStartRadius="large"
|
|
172
172
|
style={
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
[
|
|
174
|
+
{
|
|
175
175
|
"borderBottomEndRadius": 12,
|
|
176
176
|
"borderBottomLeftRadius": 12,
|
|
177
177
|
"borderBottomRightRadius": 12,
|
|
@@ -200,8 +200,8 @@ exports[`Box map prop to valid property and correct radius from theme 3`] = `
|
|
|
200
200
|
borderTopRightRadius="medium"
|
|
201
201
|
borderTopStartRadius="medium"
|
|
202
202
|
style={
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
[
|
|
204
|
+
{
|
|
205
205
|
"borderBottomEndRadius": 8,
|
|
206
206
|
"borderBottomLeftRadius": 8,
|
|
207
207
|
"borderBottomRightRadius": 8,
|
|
@@ -230,8 +230,8 @@ exports[`Box map prop to valid property and correct radius from theme 4`] = `
|
|
|
230
230
|
borderTopRightRadius="xlarge"
|
|
231
231
|
borderTopStartRadius="xlarge"
|
|
232
232
|
style={
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
[
|
|
234
|
+
{
|
|
235
235
|
"borderBottomEndRadius": 16,
|
|
236
236
|
"borderBottomLeftRadius": 16,
|
|
237
237
|
"borderBottomRightRadius": 16,
|
|
@@ -260,8 +260,8 @@ exports[`Box map prop to valid property and correct radius from theme 5`] = `
|
|
|
260
260
|
borderTopRightRadius="rounded"
|
|
261
261
|
borderTopStartRadius="rounded"
|
|
262
262
|
style={
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
[
|
|
264
|
+
{
|
|
265
265
|
"borderBottomEndRadius": 999,
|
|
266
266
|
"borderBottomLeftRadius": 999,
|
|
267
267
|
"borderBottomRightRadius": 999,
|
|
@@ -299,8 +299,8 @@ exports[`Box map prop to valid property and correct space from theme 1`] = `
|
|
|
299
299
|
paddingTop="large"
|
|
300
300
|
paddingVertical="large"
|
|
301
301
|
style={
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
[
|
|
303
|
+
{
|
|
304
304
|
"margin": 24,
|
|
305
305
|
"marginBottom": 24,
|
|
306
306
|
"marginEnd": 24,
|
|
@@ -347,8 +347,8 @@ exports[`Box map prop to valid property and correct space from theme 2`] = `
|
|
|
347
347
|
paddingTop="medium"
|
|
348
348
|
paddingVertical="medium"
|
|
349
349
|
style={
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
[
|
|
351
|
+
{
|
|
352
352
|
"margin": 16,
|
|
353
353
|
"marginBottom": 16,
|
|
354
354
|
"marginEnd": 16,
|
|
@@ -395,8 +395,8 @@ exports[`Box map prop to valid property and correct space from theme 3`] = `
|
|
|
395
395
|
paddingTop="small"
|
|
396
396
|
paddingVertical="small"
|
|
397
397
|
style={
|
|
398
|
-
|
|
399
|
-
|
|
398
|
+
[
|
|
399
|
+
{
|
|
400
400
|
"margin": 8,
|
|
401
401
|
"marginBottom": 8,
|
|
402
402
|
"marginEnd": 8,
|
|
@@ -443,8 +443,8 @@ exports[`Box map prop to valid property and correct space from theme 4`] = `
|
|
|
443
443
|
paddingTop="xlarge"
|
|
444
444
|
paddingVertical="xlarge"
|
|
445
445
|
style={
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
[
|
|
447
|
+
{
|
|
448
448
|
"margin": 32,
|
|
449
449
|
"marginBottom": 32,
|
|
450
450
|
"marginEnd": 32,
|
|
@@ -478,8 +478,8 @@ exports[`Box map prop to valid property and correctborderWidth from theme 1`] =
|
|
|
478
478
|
borderTopWidth="base"
|
|
479
479
|
borderWidth="base"
|
|
480
480
|
style={
|
|
481
|
-
|
|
482
|
-
|
|
481
|
+
[
|
|
482
|
+
{
|
|
483
483
|
"borderBottomWidth": 1,
|
|
484
484
|
"borderLeftWidth": 1,
|
|
485
485
|
"borderRightWidth": 1,
|
|
@@ -500,8 +500,8 @@ exports[`Box map prop to valid property and correctborderWidth from theme 2`] =
|
|
|
500
500
|
borderTopWidth="medium"
|
|
501
501
|
borderWidth="medium"
|
|
502
502
|
style={
|
|
503
|
-
|
|
504
|
-
|
|
503
|
+
[
|
|
504
|
+
{
|
|
505
505
|
"borderBottomWidth": 2,
|
|
506
506
|
"borderLeftWidth": 2,
|
|
507
507
|
"borderRightWidth": 2,
|
|
@@ -518,8 +518,8 @@ exports[`Box map prop with shortcut name to valid property and correct color fro
|
|
|
518
518
|
<View
|
|
519
519
|
bgColor="warning"
|
|
520
520
|
style={
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
[
|
|
522
|
+
{
|
|
523
523
|
"backgroundColor": "#ffbe71",
|
|
524
524
|
},
|
|
525
525
|
undefined,
|
|
@@ -532,8 +532,8 @@ exports[`Box map prop with shortcut name to valid property and correct color fro
|
|
|
532
532
|
<View
|
|
533
533
|
bgColor="danger"
|
|
534
534
|
style={
|
|
535
|
-
|
|
536
|
-
|
|
535
|
+
[
|
|
536
|
+
{},
|
|
537
537
|
undefined,
|
|
538
538
|
]
|
|
539
539
|
}
|
|
@@ -544,8 +544,8 @@ exports[`Box map prop with shortcut name to valid property and correct color fro
|
|
|
544
544
|
<View
|
|
545
545
|
bgColor="success"
|
|
546
546
|
style={
|
|
547
|
-
|
|
548
|
-
|
|
547
|
+
[
|
|
548
|
+
{
|
|
549
549
|
"backgroundColor": "#5ace7d",
|
|
550
550
|
},
|
|
551
551
|
undefined,
|
|
@@ -558,8 +558,8 @@ exports[`Box map prop with shortcut name to valid property and correct color fro
|
|
|
558
558
|
<View
|
|
559
559
|
bgColor="backgroundDark"
|
|
560
560
|
style={
|
|
561
|
-
|
|
562
|
-
|
|
561
|
+
[
|
|
562
|
+
{},
|
|
563
563
|
undefined,
|
|
564
564
|
]
|
|
565
565
|
}
|
|
@@ -569,8 +569,8 @@ exports[`Box map prop with shortcut name to valid property and correct color fro
|
|
|
569
569
|
exports[`Box renders content correctly 1`] = `
|
|
570
570
|
<View
|
|
571
571
|
style={
|
|
572
|
-
|
|
573
|
-
|
|
572
|
+
[
|
|
573
|
+
{},
|
|
574
574
|
undefined,
|
|
575
575
|
]
|
|
576
576
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`StyledLoadingIndicator has basic-transparent style 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"backgroundColor": "#ffffff",
|
|
9
9
|
"borderRadius": 8,
|
|
10
10
|
"height": 12,
|
|
@@ -23,8 +23,8 @@ exports[`StyledLoadingIndicator has basic-transparent style 1`] = `
|
|
|
23
23
|
exports[`StyledLoadingIndicator has filled-danger style 1`] = `
|
|
24
24
|
<View
|
|
25
25
|
style={
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
[
|
|
27
|
+
{
|
|
28
28
|
"backgroundColor": "#ffffff",
|
|
29
29
|
"borderRadius": 8,
|
|
30
30
|
"height": 12,
|
|
@@ -43,8 +43,8 @@ exports[`StyledLoadingIndicator has filled-danger style 1`] = `
|
|
|
43
43
|
exports[`StyledLoadingIndicator has filled-primary style 1`] = `
|
|
44
44
|
<View
|
|
45
45
|
style={
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
48
|
"backgroundColor": "#ffffff",
|
|
49
49
|
"borderRadius": 8,
|
|
50
50
|
"height": 12,
|
|
@@ -63,8 +63,8 @@ exports[`StyledLoadingIndicator has filled-primary style 1`] = `
|
|
|
63
63
|
exports[`StyledLoadingIndicator has filled-secondary style 1`] = `
|
|
64
64
|
<View
|
|
65
65
|
style={
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
[
|
|
67
|
+
{
|
|
68
68
|
"backgroundColor": "#ffffff",
|
|
69
69
|
"borderRadius": 8,
|
|
70
70
|
"height": 12,
|
|
@@ -83,8 +83,8 @@ exports[`StyledLoadingIndicator has filled-secondary style 1`] = `
|
|
|
83
83
|
exports[`StyledLoadingIndicator has outlined-danger style 1`] = `
|
|
84
84
|
<View
|
|
85
85
|
style={
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
[
|
|
87
|
+
{
|
|
88
88
|
"backgroundColor": "#cb300a",
|
|
89
89
|
"borderRadius": 8,
|
|
90
90
|
"height": 12,
|
|
@@ -103,8 +103,8 @@ exports[`StyledLoadingIndicator has outlined-danger style 1`] = `
|
|
|
103
103
|
exports[`StyledLoadingIndicator has outlined-primary style 1`] = `
|
|
104
104
|
<View
|
|
105
105
|
style={
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
[
|
|
107
|
+
{
|
|
108
108
|
"backgroundColor": "#401960",
|
|
109
109
|
"borderRadius": 8,
|
|
110
110
|
"height": 12,
|
|
@@ -123,8 +123,8 @@ exports[`StyledLoadingIndicator has outlined-primary style 1`] = `
|
|
|
123
123
|
exports[`StyledLoadingIndicator has outlined-secondary style 1`] = `
|
|
124
124
|
<View
|
|
125
125
|
style={
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
[
|
|
127
|
+
{
|
|
128
128
|
"backgroundColor": "#795e90",
|
|
129
129
|
"borderRadius": 8,
|
|
130
130
|
"height": 12,
|
|
@@ -143,8 +143,8 @@ exports[`StyledLoadingIndicator has outlined-secondary style 1`] = `
|
|
|
143
143
|
exports[`StyledLoadingIndicator has text-danger style 1`] = `
|
|
144
144
|
<View
|
|
145
145
|
style={
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
[
|
|
147
|
+
{
|
|
148
148
|
"backgroundColor": "#cb300a",
|
|
149
149
|
"borderRadius": 8,
|
|
150
150
|
"height": 12,
|
|
@@ -163,8 +163,8 @@ exports[`StyledLoadingIndicator has text-danger style 1`] = `
|
|
|
163
163
|
exports[`StyledLoadingIndicator has text-primary style 1`] = `
|
|
164
164
|
<View
|
|
165
165
|
style={
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
[
|
|
167
|
+
{
|
|
168
168
|
"backgroundColor": "#795e90",
|
|
169
169
|
"borderRadius": 8,
|
|
170
170
|
"height": 12,
|
|
@@ -183,8 +183,8 @@ exports[`StyledLoadingIndicator has text-primary style 1`] = `
|
|
|
183
183
|
exports[`StyledLoadingIndicator has text-secondary style 1`] = `
|
|
184
184
|
<View
|
|
185
185
|
style={
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
[
|
|
187
|
+
{
|
|
188
188
|
"backgroundColor": "#795e90",
|
|
189
189
|
"borderRadius": 8,
|
|
190
190
|
"height": 12,
|