@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
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`CalendarRowItem renders correctly 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"alignItems": "center",
|
|
9
9
|
"flexBasis": "14%",
|
|
10
10
|
"height": 48,
|
|
@@ -28,7 +28,7 @@ exports[`CalendarRowItem renders correctly 1`] = `
|
|
|
28
28
|
onResponderTerminationRequest={[Function]}
|
|
29
29
|
onStartShouldSetResponder={[Function]}
|
|
30
30
|
style={
|
|
31
|
-
|
|
31
|
+
{
|
|
32
32
|
"alignItems": "center",
|
|
33
33
|
"backgroundColor": undefined,
|
|
34
34
|
"borderColor": "#001f23",
|
|
@@ -44,8 +44,8 @@ exports[`CalendarRowItem renders correctly 1`] = `
|
|
|
44
44
|
<Text
|
|
45
45
|
allowFontScaling={false}
|
|
46
46
|
style={
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
[
|
|
48
|
+
{
|
|
49
49
|
"color": "#001f23",
|
|
50
50
|
"fontFamily": "BeVietnamPro-Regular",
|
|
51
51
|
"fontSize": 14,
|
|
@@ -63,8 +63,8 @@ exports[`CalendarRowItem renders correctly 1`] = `
|
|
|
63
63
|
</Text>
|
|
64
64
|
<View
|
|
65
65
|
style={
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
[
|
|
67
|
+
{
|
|
68
68
|
"backgroundColor": "#401960",
|
|
69
69
|
"borderRadius": 999,
|
|
70
70
|
"bottom": "10%",
|
|
@@ -85,8 +85,8 @@ exports[`CalendarRowItem renders correctly 1`] = `
|
|
|
85
85
|
exports[`CalendarRowItem renders correctly 2`] = `
|
|
86
86
|
<View
|
|
87
87
|
style={
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
[
|
|
89
|
+
{
|
|
90
90
|
"alignItems": "center",
|
|
91
91
|
"flexBasis": "14%",
|
|
92
92
|
"height": 48,
|
|
@@ -110,7 +110,7 @@ exports[`CalendarRowItem renders correctly 2`] = `
|
|
|
110
110
|
onResponderTerminationRequest={[Function]}
|
|
111
111
|
onStartShouldSetResponder={[Function]}
|
|
112
112
|
style={
|
|
113
|
-
|
|
113
|
+
{
|
|
114
114
|
"alignItems": "center",
|
|
115
115
|
"backgroundColor": undefined,
|
|
116
116
|
"borderColor": "#001f23",
|
|
@@ -126,8 +126,8 @@ exports[`CalendarRowItem renders correctly 2`] = `
|
|
|
126
126
|
<Text
|
|
127
127
|
allowFontScaling={false}
|
|
128
128
|
style={
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
[
|
|
130
|
+
{
|
|
131
131
|
"color": "#4d6265",
|
|
132
132
|
"fontFamily": "BeVietnamPro-Regular",
|
|
133
133
|
"fontSize": 14,
|
|
@@ -145,8 +145,8 @@ exports[`CalendarRowItem renders correctly 2`] = `
|
|
|
145
145
|
</Text>
|
|
146
146
|
<View
|
|
147
147
|
style={
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
[
|
|
149
|
+
{
|
|
150
150
|
"backgroundColor": "#401960",
|
|
151
151
|
"borderRadius": 999,
|
|
152
152
|
"bottom": "10%",
|
|
@@ -167,8 +167,8 @@ exports[`CalendarRowItem renders correctly 2`] = `
|
|
|
167
167
|
exports[`CalendarRowItem renders correctly when is current date 1`] = `
|
|
168
168
|
<View
|
|
169
169
|
style={
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
[
|
|
171
|
+
{
|
|
172
172
|
"alignItems": "center",
|
|
173
173
|
"flexBasis": "14%",
|
|
174
174
|
"height": 48,
|
|
@@ -192,7 +192,7 @@ exports[`CalendarRowItem renders correctly when is current date 1`] = `
|
|
|
192
192
|
onResponderTerminationRequest={[Function]}
|
|
193
193
|
onStartShouldSetResponder={[Function]}
|
|
194
194
|
style={
|
|
195
|
-
|
|
195
|
+
{
|
|
196
196
|
"alignItems": "center",
|
|
197
197
|
"backgroundColor": "#401960",
|
|
198
198
|
"borderColor": "#001f23",
|
|
@@ -208,8 +208,8 @@ exports[`CalendarRowItem renders correctly when is current date 1`] = `
|
|
|
208
208
|
<Text
|
|
209
209
|
allowFontScaling={false}
|
|
210
210
|
style={
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
[
|
|
212
|
+
{
|
|
213
213
|
"color": "#ffffff",
|
|
214
214
|
"fontFamily": "BeVietnamPro-Regular",
|
|
215
215
|
"fontSize": 14,
|
|
@@ -227,8 +227,8 @@ exports[`CalendarRowItem renders correctly when is current date 1`] = `
|
|
|
227
227
|
</Text>
|
|
228
228
|
<View
|
|
229
229
|
style={
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
[
|
|
231
|
+
{
|
|
232
232
|
"backgroundColor": "#ffffff",
|
|
233
233
|
"borderRadius": 999,
|
|
234
234
|
"bottom": "10%",
|
|
@@ -249,8 +249,8 @@ exports[`CalendarRowItem renders correctly when is current date 1`] = `
|
|
|
249
249
|
exports[`CalendarRowItem renders correctly when selected, and is current date equal to $current 1`] = `
|
|
250
250
|
<View
|
|
251
251
|
style={
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
[
|
|
253
|
+
{
|
|
254
254
|
"alignItems": "center",
|
|
255
255
|
"flexBasis": "14%",
|
|
256
256
|
"height": 48,
|
|
@@ -274,7 +274,7 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
274
274
|
onResponderTerminationRequest={[Function]}
|
|
275
275
|
onStartShouldSetResponder={[Function]}
|
|
276
276
|
style={
|
|
277
|
-
|
|
277
|
+
{
|
|
278
278
|
"alignItems": "center",
|
|
279
279
|
"backgroundColor": "#401960",
|
|
280
280
|
"borderColor": "#001f23",
|
|
@@ -290,8 +290,8 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
290
290
|
<Text
|
|
291
291
|
allowFontScaling={false}
|
|
292
292
|
style={
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
[
|
|
294
|
+
{
|
|
295
295
|
"color": "#ffffff",
|
|
296
296
|
"fontFamily": "BeVietnamPro-Regular",
|
|
297
297
|
"fontSize": 14,
|
|
@@ -309,8 +309,8 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
309
309
|
</Text>
|
|
310
310
|
<View
|
|
311
311
|
style={
|
|
312
|
-
|
|
313
|
-
|
|
312
|
+
[
|
|
313
|
+
{
|
|
314
314
|
"backgroundColor": "#ffffff",
|
|
315
315
|
"borderRadius": 999,
|
|
316
316
|
"bottom": "10%",
|
|
@@ -331,8 +331,8 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
331
331
|
exports[`CalendarRowItem renders correctly when selected, and is current date equal to $current 2`] = `
|
|
332
332
|
<View
|
|
333
333
|
style={
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
[
|
|
335
|
+
{
|
|
336
336
|
"alignItems": "center",
|
|
337
337
|
"flexBasis": "14%",
|
|
338
338
|
"height": 48,
|
|
@@ -356,7 +356,7 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
356
356
|
onResponderTerminationRequest={[Function]}
|
|
357
357
|
onStartShouldSetResponder={[Function]}
|
|
358
358
|
style={
|
|
359
|
-
|
|
359
|
+
{
|
|
360
360
|
"alignItems": "center",
|
|
361
361
|
"backgroundColor": "#401960",
|
|
362
362
|
"borderColor": "#001f23",
|
|
@@ -372,8 +372,8 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
372
372
|
<Text
|
|
373
373
|
allowFontScaling={false}
|
|
374
374
|
style={
|
|
375
|
-
|
|
376
|
-
|
|
375
|
+
[
|
|
376
|
+
{
|
|
377
377
|
"color": "#ffffff",
|
|
378
378
|
"fontFamily": "BeVietnamPro-Regular",
|
|
379
379
|
"fontSize": 14,
|
|
@@ -391,8 +391,8 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
391
391
|
</Text>
|
|
392
392
|
<View
|
|
393
393
|
style={
|
|
394
|
-
|
|
395
|
-
|
|
394
|
+
[
|
|
395
|
+
{
|
|
396
396
|
"backgroundColor": "#ffffff",
|
|
397
397
|
"borderRadius": 999,
|
|
398
398
|
"bottom": "10%",
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`Indicator renders correctly when intent is archived 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"backgroundColor": "#abacaf",
|
|
9
9
|
"height": "100%",
|
|
10
10
|
"width": 16,
|
|
@@ -19,8 +19,8 @@ exports[`Indicator renders correctly when intent is archived 1`] = `
|
|
|
19
19
|
exports[`Indicator renders correctly when intent is danger 1`] = `
|
|
20
20
|
<View
|
|
21
21
|
style={
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
[
|
|
23
|
+
{
|
|
24
24
|
"backgroundColor": "#f46363",
|
|
25
25
|
"height": "100%",
|
|
26
26
|
"width": 16,
|
|
@@ -35,8 +35,8 @@ exports[`Indicator renders correctly when intent is danger 1`] = `
|
|
|
35
35
|
exports[`Indicator renders correctly when intent is info 1`] = `
|
|
36
36
|
<View
|
|
37
37
|
style={
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
[
|
|
39
|
+
{
|
|
40
40
|
"backgroundColor": "#b5c3fd",
|
|
41
41
|
"height": "100%",
|
|
42
42
|
"width": 16,
|
|
@@ -51,8 +51,8 @@ exports[`Indicator renders correctly when intent is info 1`] = `
|
|
|
51
51
|
exports[`Indicator renders correctly when intent is primary 1`] = `
|
|
52
52
|
<View
|
|
53
53
|
style={
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
[
|
|
55
|
+
{
|
|
56
56
|
"backgroundColor": "#401960",
|
|
57
57
|
"height": "100%",
|
|
58
58
|
"width": 16,
|
|
@@ -67,8 +67,8 @@ exports[`Indicator renders correctly when intent is primary 1`] = `
|
|
|
67
67
|
exports[`Indicator renders correctly when intent is success 1`] = `
|
|
68
68
|
<View
|
|
69
69
|
style={
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
[
|
|
71
|
+
{
|
|
72
72
|
"backgroundColor": "#5ace7d",
|
|
73
73
|
"height": "100%",
|
|
74
74
|
"width": 16,
|
|
@@ -83,8 +83,8 @@ exports[`Indicator renders correctly when intent is success 1`] = `
|
|
|
83
83
|
exports[`Indicator renders correctly when intent is warning 1`] = `
|
|
84
84
|
<View
|
|
85
85
|
style={
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
[
|
|
87
|
+
{
|
|
88
88
|
"backgroundColor": "#ffbe71",
|
|
89
89
|
"height": "100%",
|
|
90
90
|
"width": 16,
|
|
@@ -99,8 +99,8 @@ exports[`Indicator renders correctly when intent is warning 1`] = `
|
|
|
99
99
|
exports[`StyledDataCard renders correctly 1`] = `
|
|
100
100
|
<View
|
|
101
101
|
style={
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
[
|
|
103
|
+
{
|
|
104
104
|
"borderRadius": 12,
|
|
105
105
|
"flexDirection": "row",
|
|
106
106
|
"overflow": "hidden",
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`DataCard renders correctly when intent is archived 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"borderRadius": 12,
|
|
9
9
|
"flexDirection": "row",
|
|
10
10
|
"overflow": "hidden",
|
|
@@ -15,8 +15,8 @@ exports[`DataCard renders correctly when intent is archived 1`] = `
|
|
|
15
15
|
>
|
|
16
16
|
<View
|
|
17
17
|
style={
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
[
|
|
19
|
+
{
|
|
20
20
|
"backgroundColor": "#abacaf",
|
|
21
21
|
"height": "100%",
|
|
22
22
|
"width": 16,
|
|
@@ -33,8 +33,8 @@ exports[`DataCard renders correctly when intent is archived 1`] = `
|
|
|
33
33
|
exports[`DataCard renders correctly when intent is danger 1`] = `
|
|
34
34
|
<View
|
|
35
35
|
style={
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
[
|
|
37
|
+
{
|
|
38
38
|
"borderRadius": 12,
|
|
39
39
|
"flexDirection": "row",
|
|
40
40
|
"overflow": "hidden",
|
|
@@ -45,8 +45,8 @@ exports[`DataCard renders correctly when intent is danger 1`] = `
|
|
|
45
45
|
>
|
|
46
46
|
<View
|
|
47
47
|
style={
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
[
|
|
49
|
+
{
|
|
50
50
|
"backgroundColor": "#f46363",
|
|
51
51
|
"height": "100%",
|
|
52
52
|
"width": 16,
|
|
@@ -63,8 +63,8 @@ exports[`DataCard renders correctly when intent is danger 1`] = `
|
|
|
63
63
|
exports[`DataCard renders correctly when intent is info 1`] = `
|
|
64
64
|
<View
|
|
65
65
|
style={
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
[
|
|
67
|
+
{
|
|
68
68
|
"borderRadius": 12,
|
|
69
69
|
"flexDirection": "row",
|
|
70
70
|
"overflow": "hidden",
|
|
@@ -75,8 +75,8 @@ exports[`DataCard renders correctly when intent is info 1`] = `
|
|
|
75
75
|
>
|
|
76
76
|
<View
|
|
77
77
|
style={
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
[
|
|
79
|
+
{
|
|
80
80
|
"backgroundColor": "#b5c3fd",
|
|
81
81
|
"height": "100%",
|
|
82
82
|
"width": 16,
|
|
@@ -93,8 +93,8 @@ exports[`DataCard renders correctly when intent is info 1`] = `
|
|
|
93
93
|
exports[`DataCard renders correctly when intent is success 1`] = `
|
|
94
94
|
<View
|
|
95
95
|
style={
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
[
|
|
97
|
+
{
|
|
98
98
|
"borderRadius": 12,
|
|
99
99
|
"flexDirection": "row",
|
|
100
100
|
"overflow": "hidden",
|
|
@@ -105,8 +105,8 @@ exports[`DataCard renders correctly when intent is success 1`] = `
|
|
|
105
105
|
>
|
|
106
106
|
<View
|
|
107
107
|
style={
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
[
|
|
109
|
+
{
|
|
110
110
|
"backgroundColor": "#5ace7d",
|
|
111
111
|
"height": "100%",
|
|
112
112
|
"width": 16,
|
|
@@ -123,8 +123,8 @@ exports[`DataCard renders correctly when intent is success 1`] = `
|
|
|
123
123
|
exports[`DataCard renders correctly when intent is warning 1`] = `
|
|
124
124
|
<View
|
|
125
125
|
style={
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
[
|
|
127
|
+
{
|
|
128
128
|
"borderRadius": 12,
|
|
129
129
|
"flexDirection": "row",
|
|
130
130
|
"overflow": "hidden",
|
|
@@ -135,8 +135,8 @@ exports[`DataCard renders correctly when intent is warning 1`] = `
|
|
|
135
135
|
>
|
|
136
136
|
<View
|
|
137
137
|
style={
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
[
|
|
139
|
+
{
|
|
140
140
|
"backgroundColor": "#ffbe71",
|
|
141
141
|
"height": "100%",
|
|
142
142
|
"width": 16,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`Card renders correctly when intent is archived 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"backgroundColor": "#abacaf",
|
|
9
9
|
"borderRadius": 12,
|
|
10
10
|
"overflow": "hidden",
|
|
@@ -17,8 +17,8 @@ exports[`Card renders correctly when intent is archived 1`] = `
|
|
|
17
17
|
<Text
|
|
18
18
|
allowFontScaling={false}
|
|
19
19
|
style={
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
[
|
|
21
|
+
{
|
|
22
22
|
"color": "#001f23",
|
|
23
23
|
"fontFamily": "BeVietnamPro-Regular",
|
|
24
24
|
"fontSize": 14,
|
|
@@ -40,8 +40,8 @@ exports[`Card renders correctly when intent is archived 1`] = `
|
|
|
40
40
|
exports[`Card renders correctly when intent is danger 1`] = `
|
|
41
41
|
<View
|
|
42
42
|
style={
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
[
|
|
44
|
+
{
|
|
45
45
|
"backgroundColor": "#f46363",
|
|
46
46
|
"borderRadius": 12,
|
|
47
47
|
"overflow": "hidden",
|
|
@@ -54,8 +54,8 @@ exports[`Card renders correctly when intent is danger 1`] = `
|
|
|
54
54
|
<Text
|
|
55
55
|
allowFontScaling={false}
|
|
56
56
|
style={
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
[
|
|
58
|
+
{
|
|
59
59
|
"color": "#001f23",
|
|
60
60
|
"fontFamily": "BeVietnamPro-Regular",
|
|
61
61
|
"fontSize": 14,
|
|
@@ -77,8 +77,8 @@ exports[`Card renders correctly when intent is danger 1`] = `
|
|
|
77
77
|
exports[`Card renders correctly when intent is info 1`] = `
|
|
78
78
|
<View
|
|
79
79
|
style={
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
[
|
|
81
|
+
{
|
|
82
82
|
"backgroundColor": "#b5c3fd",
|
|
83
83
|
"borderRadius": 12,
|
|
84
84
|
"overflow": "hidden",
|
|
@@ -91,8 +91,8 @@ exports[`Card renders correctly when intent is info 1`] = `
|
|
|
91
91
|
<Text
|
|
92
92
|
allowFontScaling={false}
|
|
93
93
|
style={
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
[
|
|
95
|
+
{
|
|
96
96
|
"color": "#001f23",
|
|
97
97
|
"fontFamily": "BeVietnamPro-Regular",
|
|
98
98
|
"fontSize": 14,
|
|
@@ -114,8 +114,8 @@ exports[`Card renders correctly when intent is info 1`] = `
|
|
|
114
114
|
exports[`Card renders correctly when intent is primary 1`] = `
|
|
115
115
|
<View
|
|
116
116
|
style={
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
[
|
|
118
|
+
{
|
|
119
119
|
"backgroundColor": "#401960",
|
|
120
120
|
"borderRadius": 12,
|
|
121
121
|
"overflow": "hidden",
|
|
@@ -128,8 +128,8 @@ exports[`Card renders correctly when intent is primary 1`] = `
|
|
|
128
128
|
<Text
|
|
129
129
|
allowFontScaling={false}
|
|
130
130
|
style={
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
[
|
|
132
|
+
{
|
|
133
133
|
"color": "#001f23",
|
|
134
134
|
"fontFamily": "BeVietnamPro-Regular",
|
|
135
135
|
"fontSize": 14,
|
|
@@ -151,8 +151,8 @@ exports[`Card renders correctly when intent is primary 1`] = `
|
|
|
151
151
|
exports[`Card renders correctly when intent is success 1`] = `
|
|
152
152
|
<View
|
|
153
153
|
style={
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
[
|
|
155
|
+
{
|
|
156
156
|
"backgroundColor": "#5ace7d",
|
|
157
157
|
"borderRadius": 12,
|
|
158
158
|
"overflow": "hidden",
|
|
@@ -165,8 +165,8 @@ exports[`Card renders correctly when intent is success 1`] = `
|
|
|
165
165
|
<Text
|
|
166
166
|
allowFontScaling={false}
|
|
167
167
|
style={
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
[
|
|
169
|
+
{
|
|
170
170
|
"color": "#001f23",
|
|
171
171
|
"fontFamily": "BeVietnamPro-Regular",
|
|
172
172
|
"fontSize": 14,
|
|
@@ -188,8 +188,8 @@ exports[`Card renders correctly when intent is success 1`] = `
|
|
|
188
188
|
exports[`Card renders correctly when intent is undefined 1`] = `
|
|
189
189
|
<View
|
|
190
190
|
style={
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
[
|
|
192
|
+
{
|
|
193
193
|
"borderRadius": 12,
|
|
194
194
|
"overflow": "hidden",
|
|
195
195
|
},
|
|
@@ -200,8 +200,8 @@ exports[`Card renders correctly when intent is undefined 1`] = `
|
|
|
200
200
|
<Text
|
|
201
201
|
allowFontScaling={false}
|
|
202
202
|
style={
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
[
|
|
204
|
+
{
|
|
205
205
|
"color": "#001f23",
|
|
206
206
|
"fontFamily": "BeVietnamPro-Regular",
|
|
207
207
|
"fontSize": 14,
|
|
@@ -137,7 +137,7 @@ export const CardCarousel = forwardRef<CardCarouselHandles, CardCarouselProps>(
|
|
|
137
137
|
);
|
|
138
138
|
|
|
139
139
|
useEffect(() => {
|
|
140
|
-
let timer:
|
|
140
|
+
let timer: ReturnType<typeof setInterval>;
|
|
141
141
|
if (autoPlay) {
|
|
142
142
|
timer = setInterval(() => {
|
|
143
143
|
snapToNext();
|