@hero-design/rn 8.33.1 → 8.34.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/.turbo/turbo-build.log +1 -1
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +868 -655
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +871 -656
- package/package.json +8 -7
- package/rollup.config.js +1 -0
- package/src/components/Accordion/AccordionItem.tsx +1 -3
- package/src/components/Accordion/__tests__/AccordionItem.spec.tsx +5 -5
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +26 -34
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +36 -48
- package/src/components/Accordion/__tests__/index.spec.tsx +2 -2
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +26 -39
- package/src/components/Alert/__tests__/index.spec.tsx +8 -2
- package/src/components/Alert/index.tsx +2 -2
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/Attachment/index.tsx +3 -1
- package/src/components/Badge/StyledBadge.tsx +1 -4
- package/src/components/Badge/__tests__/Status.spec.tsx +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +18 -48
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -3
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -12
- package/src/components/BottomNavigation/index.tsx +0 -1
- package/src/components/BottomSheet/Header.tsx +1 -3
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/Button/Button.tsx +34 -11
- package/src/components/Button/StyledButton.tsx +45 -38
- package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +2 -4
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +8 -14
- package/src/components/Button/__tests__/StyledButton.spec.tsx +12 -6
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +66 -90
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +56 -86
- package/src/components/Calendar/CalendarRowItem.tsx +5 -2
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +10 -15
- package/src/components/Calendar/index.tsx +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +12 -18
- package/src/components/Card/__tests__/index.spec.tsx +1 -1
- package/src/components/Carousel/CardCarousel.tsx +2 -0
- package/src/components/Carousel/CarouselItem.tsx +4 -4
- package/src/components/Carousel/StyledCarousel.tsx +1 -4
- package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +18 -18
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +24 -20
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +99 -165
- package/src/components/Checkbox/StyledCheckbox.tsx +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +8 -12
- package/src/components/Checkbox/index.tsx +1 -1
- package/src/components/ContentNavigator/StyledContentNavigator.tsx +1 -6
- package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +1 -9
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +0 -29
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +124 -17
- package/src/components/ContentNavigator/__tests__/index.spec.tsx +16 -0
- package/src/components/ContentNavigator/index.tsx +30 -9
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +12 -18
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +4 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +4 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +13 -18
- package/src/components/Empty/StyledEmpty.tsx +2 -6
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +22 -36
- package/src/components/Empty/index.tsx +4 -2
- package/src/components/Error/StyledError.tsx +2 -8
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +44 -76
- package/src/components/Error/index.tsx +6 -2
- package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -4
- package/src/components/FAB/ActionGroup/StyledActionItem.tsx +1 -5
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +54 -116
- package/src/components/FAB/ActionGroup/index.tsx +1 -1
- package/src/components/FAB/StyledFAB.tsx +1 -4
- package/src/components/FAB/__tests__/StyledFAB.spec.tsx +1 -1
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +2 -3
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -8
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/List/BasicListItem.tsx +2 -6
- package/src/components/List/ListItem.tsx +3 -5
- package/src/components/List/__tests__/ListItem.spec.tsx +4 -4
- package/src/components/List/__tests__/StyledBasicListItem.spec.tsx +3 -1
- package/src/components/List/__tests__/StyledListItem.spec.tsx +3 -1
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -10
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +23 -37
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +8 -12
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +8 -12
- package/src/components/Modal/ModalContentWrapper.tsx +112 -0
- package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +135 -0
- package/src/components/Modal/ModalPresenter/index.tsx +9 -0
- package/src/components/Modal/ModalProvider.tsx +8 -0
- package/src/components/Modal/__tests__/ModalContentWrapper.spec.tsx +25 -0
- package/src/components/Modal/__tests__/ModalPresenter.spec.tsx +57 -0
- package/src/components/Modal/__tests__/__snapshots__/ModalContentWrapper.spec.tsx.snap +35 -0
- package/src/components/Modal/__tests__/__snapshots__/ModalPresenter.spec.tsx.snap +55 -0
- package/src/components/Modal/__tests__/index.spec.tsx +50 -0
- package/src/components/Modal/index.tsx +121 -0
- package/src/components/PageControl/index.tsx +0 -1
- package/src/components/PinInput/PinCell.tsx +3 -1
- package/src/components/PinInput/StyledPinInput.tsx +2 -7
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +25 -45
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +18 -34
- package/src/components/PinInput/index.tsx +2 -0
- package/src/components/Progress/ProgressCircle.tsx +1 -3
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -6
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -4
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -6
- package/src/components/RichTextEditor/RichTextEditor.tsx +7 -11
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +16 -24
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/SectionHeading/__tests__/index.spec.tsx +3 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +86 -130
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +6 -10
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +49 -79
- package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +5 -9
- package/src/components/Success/StyledSuccess.tsx +2 -6
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +40 -64
- package/src/components/Success/index.tsx +3 -1
- package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +2 -2
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +6 -9
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/Swipeable/__tests__/index.spec.tsx +6 -4
- package/src/components/Switch/SelectorSwitch/Option.tsx +1 -1
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -2
- package/src/components/Tabs/ScrollableTabsHeader.tsx +3 -3
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +4 -4
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +6 -9
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +33 -60
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +7 -13
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -8
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +45 -81
- package/src/components/Tabs/index.tsx +3 -3
- package/src/components/Tag/StyledTag.tsx +1 -4
- package/src/components/Tag/__tests__/Tag.spec.tsx +5 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +47 -93
- package/src/components/Tag/index.tsx +5 -1
- package/src/components/TextInput/StyledTextInput.tsx +8 -16
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +72 -134
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +145 -257
- package/src/components/TextInput/index.tsx +2 -3
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +12 -23
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +21 -35
- package/src/components/Toast/Toast.tsx +6 -5
- package/src/components/Toast/ToastContainer.tsx +2 -0
- package/src/components/Toast/__tests__/Toast.spec.tsx +5 -1
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +26 -39
- package/src/components/Toolbar/StyledToolbar.tsx +1 -1
- package/src/components/Toolbar/ToolbarItem.tsx +4 -6
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -18
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +14 -21
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -0
- package/src/theme/components/badge.ts +15 -0
- package/src/theme/components/button.ts +16 -0
- package/src/theme/components/carousel.ts +15 -0
- package/src/theme/components/empty.ts +12 -0
- package/src/theme/components/error.ts +16 -0
- package/src/theme/components/fab.ts +11 -0
- package/src/theme/components/pinInput.ts +15 -0
- package/src/theme/components/success.ts +12 -0
- package/src/theme/components/tag.ts +16 -0
- package/src/theme/components/textInput.ts +1 -0
- package/src/theme/getTheme.ts +18 -18
- package/testUtils/setup.tsx +24 -0
- package/types/components/Badge/StyledBadge.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +1 -1
- package/types/components/Button/StyledButton.d.ts +12 -5
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +1 -1
- package/types/components/Carousel/StyledCarousel.d.ts +1 -1
- package/types/components/Checkbox/StyledCheckbox.d.ts +1 -1
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -5
- package/types/components/Empty/StyledEmpty.d.ts +2 -2
- package/types/components/Error/StyledError.d.ts +2 -2
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +2 -2
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +1 -1
- package/types/components/FAB/StyledFAB.d.ts +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/Modal/ModalContentWrapper.d.ts +16 -0
- package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +34 -0
- package/types/components/Modal/ModalPresenter/index.d.ts +3 -0
- package/types/components/Modal/ModalProvider.d.ts +5 -0
- package/types/components/Modal/index.d.ts +33 -0
- package/types/components/PinInput/StyledPinInput.d.ts +2 -2
- package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
- package/types/components/Success/StyledSuccess.d.ts +2 -2
- package/types/components/Tag/StyledTag.d.ts +1 -1
- package/types/components/TextInput/StyledTextInput.d.ts +7 -10
- package/types/components/Toolbar/StyledToolbar.d.ts +1 -1
- package/types/index.d.ts +2 -1
- package/types/theme/components/badge.d.ts +15 -0
- package/types/theme/components/button.d.ts +14 -0
- package/types/theme/components/carousel.d.ts +15 -0
- package/types/theme/components/empty.d.ts +11 -0
- package/types/theme/components/error.d.ts +15 -0
- package/types/theme/components/fab.d.ts +11 -0
- package/types/theme/components/pinInput.d.ts +15 -0
- package/types/theme/components/success.d.ts +11 -0
- package/types/theme/components/tag.d.ts +15 -0
- package/types/theme/components/textInput.d.ts +1 -0
- package/types/theme/getTheme.d.ts +18 -18
|
@@ -180,16 +180,13 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
180
180
|
Array [
|
|
181
181
|
Object {
|
|
182
182
|
"color": "#001f23",
|
|
183
|
-
"fontFamily": "
|
|
184
|
-
"fontSize":
|
|
185
|
-
"letterSpacing":
|
|
186
|
-
"lineHeight":
|
|
183
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
184
|
+
"fontSize": 36,
|
|
185
|
+
"letterSpacing": 1.5,
|
|
186
|
+
"lineHeight": 44,
|
|
187
187
|
},
|
|
188
188
|
Array [
|
|
189
189
|
Object {
|
|
190
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
191
|
-
"fontSize": 32,
|
|
192
|
-
"lineHeight": 44,
|
|
193
190
|
"marginBottom": 16,
|
|
194
191
|
"marginTop": 8,
|
|
195
192
|
},
|
|
@@ -197,10 +194,9 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
197
194
|
],
|
|
198
195
|
]
|
|
199
196
|
}
|
|
200
|
-
themeFontSize="medium"
|
|
201
|
-
themeFontWeight="regular"
|
|
202
197
|
themeIntent="body"
|
|
203
|
-
|
|
198
|
+
themeLevel="h1"
|
|
199
|
+
themeTypeface="playful"
|
|
204
200
|
>
|
|
205
201
|
Welcome to the new Employment Hero app
|
|
206
202
|
</Text>
|
|
@@ -218,10 +214,9 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
218
214
|
undefined,
|
|
219
215
|
]
|
|
220
216
|
}
|
|
221
|
-
themeFontSize="large"
|
|
222
|
-
themeFontWeight="regular"
|
|
223
217
|
themeIntent="body"
|
|
224
218
|
themeTypeface="neutral"
|
|
219
|
+
themeVariant="regular"
|
|
225
220
|
>
|
|
226
221
|
Access your Work, Money and Benefits in the palm of your hand.
|
|
227
222
|
</Text>
|
|
@@ -316,16 +311,13 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
316
311
|
Array [
|
|
317
312
|
Object {
|
|
318
313
|
"color": "#001f23",
|
|
319
|
-
"fontFamily": "
|
|
320
|
-
"fontSize":
|
|
321
|
-
"letterSpacing":
|
|
322
|
-
"lineHeight":
|
|
314
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
315
|
+
"fontSize": 36,
|
|
316
|
+
"letterSpacing": 1.5,
|
|
317
|
+
"lineHeight": 44,
|
|
323
318
|
},
|
|
324
319
|
Array [
|
|
325
320
|
Object {
|
|
326
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
327
|
-
"fontSize": 32,
|
|
328
|
-
"lineHeight": 44,
|
|
329
321
|
"marginBottom": 16,
|
|
330
322
|
"marginTop": 8,
|
|
331
323
|
},
|
|
@@ -333,10 +325,9 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
333
325
|
],
|
|
334
326
|
]
|
|
335
327
|
}
|
|
336
|
-
themeFontSize="medium"
|
|
337
|
-
themeFontWeight="regular"
|
|
338
328
|
themeIntent="body"
|
|
339
|
-
|
|
329
|
+
themeLevel="h1"
|
|
330
|
+
themeTypeface="playful"
|
|
340
331
|
>
|
|
341
332
|
Same app with a new look!
|
|
342
333
|
</Text>
|
|
@@ -354,10 +345,9 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
354
345
|
undefined,
|
|
355
346
|
]
|
|
356
347
|
}
|
|
357
|
-
themeFontSize="large"
|
|
358
|
-
themeFontWeight="regular"
|
|
359
348
|
themeIntent="body"
|
|
360
349
|
themeTypeface="neutral"
|
|
350
|
+
themeVariant="regular"
|
|
361
351
|
>
|
|
362
352
|
Our app now has a new bright clean modern look and feel with the same great features.
|
|
363
353
|
</Text>
|
|
@@ -441,16 +431,13 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
441
431
|
Array [
|
|
442
432
|
Object {
|
|
443
433
|
"color": "#001f23",
|
|
444
|
-
"fontFamily": "
|
|
445
|
-
"fontSize":
|
|
446
|
-
"letterSpacing":
|
|
447
|
-
"lineHeight":
|
|
434
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
435
|
+
"fontSize": 36,
|
|
436
|
+
"letterSpacing": 1.5,
|
|
437
|
+
"lineHeight": 44,
|
|
448
438
|
},
|
|
449
439
|
Array [
|
|
450
440
|
Object {
|
|
451
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
452
|
-
"fontSize": 32,
|
|
453
|
-
"lineHeight": 44,
|
|
454
441
|
"marginBottom": 16,
|
|
455
442
|
"marginTop": 8,
|
|
456
443
|
},
|
|
@@ -458,10 +445,9 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
458
445
|
],
|
|
459
446
|
]
|
|
460
447
|
}
|
|
461
|
-
themeFontSize="medium"
|
|
462
|
-
themeFontWeight="regular"
|
|
463
448
|
themeIntent="body"
|
|
464
|
-
|
|
449
|
+
themeLevel="h1"
|
|
450
|
+
themeTypeface="playful"
|
|
465
451
|
>
|
|
466
452
|
Easier to get around
|
|
467
453
|
</Text>
|
|
@@ -479,10 +465,9 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
479
465
|
undefined,
|
|
480
466
|
]
|
|
481
467
|
}
|
|
482
|
-
themeFontSize="large"
|
|
483
|
-
themeFontWeight="regular"
|
|
484
468
|
themeIntent="body"
|
|
485
469
|
themeTypeface="neutral"
|
|
470
|
+
themeVariant="regular"
|
|
486
471
|
>
|
|
487
472
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.
|
|
488
473
|
</Text>
|
|
@@ -564,16 +549,13 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
564
549
|
Array [
|
|
565
550
|
Object {
|
|
566
551
|
"color": "#001f23",
|
|
567
|
-
"fontFamily": "
|
|
568
|
-
"fontSize":
|
|
569
|
-
"letterSpacing":
|
|
570
|
-
"lineHeight":
|
|
552
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
553
|
+
"fontSize": 36,
|
|
554
|
+
"letterSpacing": 1.5,
|
|
555
|
+
"lineHeight": 44,
|
|
571
556
|
},
|
|
572
557
|
Array [
|
|
573
558
|
Object {
|
|
574
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
575
|
-
"fontSize": 32,
|
|
576
|
-
"lineHeight": 44,
|
|
577
559
|
"marginBottom": 16,
|
|
578
560
|
"marginTop": 8,
|
|
579
561
|
},
|
|
@@ -581,10 +563,9 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
581
563
|
],
|
|
582
564
|
]
|
|
583
565
|
}
|
|
584
|
-
themeFontSize="medium"
|
|
585
|
-
themeFontWeight="regular"
|
|
586
566
|
themeIntent="body"
|
|
587
|
-
|
|
567
|
+
themeLevel="h1"
|
|
568
|
+
themeTypeface="playful"
|
|
588
569
|
>
|
|
589
570
|
Test slide 4
|
|
590
571
|
</Text>
|
|
@@ -646,28 +627,25 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
646
627
|
Array [
|
|
647
628
|
Object {
|
|
648
629
|
"color": "#001f23",
|
|
649
|
-
"fontFamily": "BeVietnamPro-
|
|
650
|
-
"fontSize":
|
|
651
|
-
"letterSpacing": 0.
|
|
652
|
-
"lineHeight":
|
|
630
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
631
|
+
"fontSize": 18,
|
|
632
|
+
"letterSpacing": 0.24,
|
|
633
|
+
"lineHeight": 28,
|
|
653
634
|
},
|
|
654
635
|
Array [
|
|
655
636
|
Object {
|
|
656
637
|
"color": "#ffffff",
|
|
657
638
|
"flexShrink": 1,
|
|
658
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
659
|
-
"fontSize": 18,
|
|
660
639
|
"textAlign": "center",
|
|
661
640
|
},
|
|
662
641
|
undefined,
|
|
663
642
|
],
|
|
664
643
|
]
|
|
665
644
|
}
|
|
666
|
-
|
|
667
|
-
themeFontWeight="regular"
|
|
645
|
+
themeButtonVariant="filled-primary"
|
|
668
646
|
themeIntent="body"
|
|
647
|
+
themeLevel="h5"
|
|
669
648
|
themeTypeface="neutral"
|
|
670
|
-
themeVariant="filled-primary"
|
|
671
649
|
>
|
|
672
650
|
Skip
|
|
673
651
|
</Text>
|
|
@@ -1004,16 +982,13 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1004
982
|
Array [
|
|
1005
983
|
Object {
|
|
1006
984
|
"color": "#001f23",
|
|
1007
|
-
"fontFamily": "
|
|
1008
|
-
"fontSize":
|
|
1009
|
-
"letterSpacing":
|
|
1010
|
-
"lineHeight":
|
|
985
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
986
|
+
"fontSize": 36,
|
|
987
|
+
"letterSpacing": 1.5,
|
|
988
|
+
"lineHeight": 44,
|
|
1011
989
|
},
|
|
1012
990
|
Array [
|
|
1013
991
|
Object {
|
|
1014
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1015
|
-
"fontSize": 32,
|
|
1016
|
-
"lineHeight": 44,
|
|
1017
992
|
"marginBottom": 16,
|
|
1018
993
|
"marginTop": 8,
|
|
1019
994
|
},
|
|
@@ -1021,10 +996,9 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1021
996
|
],
|
|
1022
997
|
]
|
|
1023
998
|
}
|
|
1024
|
-
themeFontSize="medium"
|
|
1025
|
-
themeFontWeight="regular"
|
|
1026
999
|
themeIntent="body"
|
|
1027
|
-
|
|
1000
|
+
themeLevel="h1"
|
|
1001
|
+
themeTypeface="playful"
|
|
1028
1002
|
>
|
|
1029
1003
|
Welcome to the new Employment Hero app
|
|
1030
1004
|
</Text>
|
|
@@ -1042,10 +1016,9 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1042
1016
|
undefined,
|
|
1043
1017
|
]
|
|
1044
1018
|
}
|
|
1045
|
-
themeFontSize="large"
|
|
1046
|
-
themeFontWeight="regular"
|
|
1047
1019
|
themeIntent="body"
|
|
1048
1020
|
themeTypeface="neutral"
|
|
1021
|
+
themeVariant="regular"
|
|
1049
1022
|
>
|
|
1050
1023
|
Access your Work, Money and Benefits in the palm of your hand.
|
|
1051
1024
|
</Text>
|
|
@@ -1140,16 +1113,13 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1140
1113
|
Array [
|
|
1141
1114
|
Object {
|
|
1142
1115
|
"color": "#001f23",
|
|
1143
|
-
"fontFamily": "
|
|
1144
|
-
"fontSize":
|
|
1145
|
-
"letterSpacing":
|
|
1146
|
-
"lineHeight":
|
|
1116
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1117
|
+
"fontSize": 36,
|
|
1118
|
+
"letterSpacing": 1.5,
|
|
1119
|
+
"lineHeight": 44,
|
|
1147
1120
|
},
|
|
1148
1121
|
Array [
|
|
1149
1122
|
Object {
|
|
1150
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1151
|
-
"fontSize": 32,
|
|
1152
|
-
"lineHeight": 44,
|
|
1153
1123
|
"marginBottom": 16,
|
|
1154
1124
|
"marginTop": 8,
|
|
1155
1125
|
},
|
|
@@ -1157,10 +1127,9 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1157
1127
|
],
|
|
1158
1128
|
]
|
|
1159
1129
|
}
|
|
1160
|
-
themeFontSize="medium"
|
|
1161
|
-
themeFontWeight="regular"
|
|
1162
1130
|
themeIntent="body"
|
|
1163
|
-
|
|
1131
|
+
themeLevel="h1"
|
|
1132
|
+
themeTypeface="playful"
|
|
1164
1133
|
>
|
|
1165
1134
|
Same app with a new look!
|
|
1166
1135
|
</Text>
|
|
@@ -1178,10 +1147,9 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1178
1147
|
undefined,
|
|
1179
1148
|
]
|
|
1180
1149
|
}
|
|
1181
|
-
themeFontSize="large"
|
|
1182
|
-
themeFontWeight="regular"
|
|
1183
1150
|
themeIntent="body"
|
|
1184
1151
|
themeTypeface="neutral"
|
|
1152
|
+
themeVariant="regular"
|
|
1185
1153
|
>
|
|
1186
1154
|
Our app now has a new bright clean modern look and feel with the same great features.
|
|
1187
1155
|
</Text>
|
|
@@ -1265,16 +1233,13 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1265
1233
|
Array [
|
|
1266
1234
|
Object {
|
|
1267
1235
|
"color": "#001f23",
|
|
1268
|
-
"fontFamily": "
|
|
1269
|
-
"fontSize":
|
|
1270
|
-
"letterSpacing":
|
|
1271
|
-
"lineHeight":
|
|
1236
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1237
|
+
"fontSize": 36,
|
|
1238
|
+
"letterSpacing": 1.5,
|
|
1239
|
+
"lineHeight": 44,
|
|
1272
1240
|
},
|
|
1273
1241
|
Array [
|
|
1274
1242
|
Object {
|
|
1275
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1276
|
-
"fontSize": 32,
|
|
1277
|
-
"lineHeight": 44,
|
|
1278
1243
|
"marginBottom": 16,
|
|
1279
1244
|
"marginTop": 8,
|
|
1280
1245
|
},
|
|
@@ -1282,10 +1247,9 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1282
1247
|
],
|
|
1283
1248
|
]
|
|
1284
1249
|
}
|
|
1285
|
-
themeFontSize="medium"
|
|
1286
|
-
themeFontWeight="regular"
|
|
1287
1250
|
themeIntent="body"
|
|
1288
|
-
|
|
1251
|
+
themeLevel="h1"
|
|
1252
|
+
themeTypeface="playful"
|
|
1289
1253
|
>
|
|
1290
1254
|
Easier to get around
|
|
1291
1255
|
</Text>
|
|
@@ -1303,10 +1267,9 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1303
1267
|
undefined,
|
|
1304
1268
|
]
|
|
1305
1269
|
}
|
|
1306
|
-
themeFontSize="large"
|
|
1307
|
-
themeFontWeight="regular"
|
|
1308
1270
|
themeIntent="body"
|
|
1309
1271
|
themeTypeface="neutral"
|
|
1272
|
+
themeVariant="regular"
|
|
1310
1273
|
>
|
|
1311
1274
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.
|
|
1312
1275
|
</Text>
|
|
@@ -1388,16 +1351,13 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1388
1351
|
Array [
|
|
1389
1352
|
Object {
|
|
1390
1353
|
"color": "#001f23",
|
|
1391
|
-
"fontFamily": "
|
|
1392
|
-
"fontSize":
|
|
1393
|
-
"letterSpacing":
|
|
1394
|
-
"lineHeight":
|
|
1354
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1355
|
+
"fontSize": 36,
|
|
1356
|
+
"letterSpacing": 1.5,
|
|
1357
|
+
"lineHeight": 44,
|
|
1395
1358
|
},
|
|
1396
1359
|
Array [
|
|
1397
1360
|
Object {
|
|
1398
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1399
|
-
"fontSize": 32,
|
|
1400
|
-
"lineHeight": 44,
|
|
1401
1361
|
"marginBottom": 16,
|
|
1402
1362
|
"marginTop": 8,
|
|
1403
1363
|
},
|
|
@@ -1405,10 +1365,9 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1405
1365
|
],
|
|
1406
1366
|
]
|
|
1407
1367
|
}
|
|
1408
|
-
themeFontSize="medium"
|
|
1409
|
-
themeFontWeight="regular"
|
|
1410
1368
|
themeIntent="body"
|
|
1411
|
-
|
|
1369
|
+
themeLevel="h1"
|
|
1370
|
+
themeTypeface="playful"
|
|
1412
1371
|
>
|
|
1413
1372
|
Test slide 4
|
|
1414
1373
|
</Text>
|
|
@@ -1470,28 +1429,25 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1470
1429
|
Array [
|
|
1471
1430
|
Object {
|
|
1472
1431
|
"color": "#001f23",
|
|
1473
|
-
"fontFamily": "BeVietnamPro-
|
|
1474
|
-
"fontSize":
|
|
1475
|
-
"letterSpacing": 0.
|
|
1476
|
-
"lineHeight":
|
|
1432
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1433
|
+
"fontSize": 18,
|
|
1434
|
+
"letterSpacing": 0.24,
|
|
1435
|
+
"lineHeight": 28,
|
|
1477
1436
|
},
|
|
1478
1437
|
Array [
|
|
1479
1438
|
Object {
|
|
1480
1439
|
"color": "#ffffff",
|
|
1481
1440
|
"flexShrink": 1,
|
|
1482
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1483
|
-
"fontSize": 18,
|
|
1484
1441
|
"textAlign": "center",
|
|
1485
1442
|
},
|
|
1486
1443
|
undefined,
|
|
1487
1444
|
],
|
|
1488
1445
|
]
|
|
1489
1446
|
}
|
|
1490
|
-
|
|
1491
|
-
themeFontWeight="regular"
|
|
1447
|
+
themeButtonVariant="filled-primary"
|
|
1492
1448
|
themeIntent="body"
|
|
1449
|
+
themeLevel="h5"
|
|
1493
1450
|
themeTypeface="neutral"
|
|
1494
|
-
themeVariant="filled-primary"
|
|
1495
1451
|
>
|
|
1496
1452
|
Skip
|
|
1497
1453
|
</Text>
|
|
@@ -1681,16 +1637,13 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1681
1637
|
Array [
|
|
1682
1638
|
Object {
|
|
1683
1639
|
"color": "#001f23",
|
|
1684
|
-
"fontFamily": "
|
|
1685
|
-
"fontSize":
|
|
1686
|
-
"letterSpacing":
|
|
1687
|
-
"lineHeight":
|
|
1640
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1641
|
+
"fontSize": 36,
|
|
1642
|
+
"letterSpacing": 1.5,
|
|
1643
|
+
"lineHeight": 44,
|
|
1688
1644
|
},
|
|
1689
1645
|
Array [
|
|
1690
1646
|
Object {
|
|
1691
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1692
|
-
"fontSize": 32,
|
|
1693
|
-
"lineHeight": 44,
|
|
1694
1647
|
"marginBottom": 16,
|
|
1695
1648
|
"marginTop": 8,
|
|
1696
1649
|
},
|
|
@@ -1698,10 +1651,9 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1698
1651
|
],
|
|
1699
1652
|
]
|
|
1700
1653
|
}
|
|
1701
|
-
themeFontSize="medium"
|
|
1702
|
-
themeFontWeight="regular"
|
|
1703
1654
|
themeIntent="body"
|
|
1704
|
-
|
|
1655
|
+
themeLevel="h1"
|
|
1656
|
+
themeTypeface="playful"
|
|
1705
1657
|
>
|
|
1706
1658
|
Welcome to the new Employment Hero app
|
|
1707
1659
|
</Text>
|
|
@@ -1719,10 +1671,9 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1719
1671
|
undefined,
|
|
1720
1672
|
]
|
|
1721
1673
|
}
|
|
1722
|
-
themeFontSize="large"
|
|
1723
|
-
themeFontWeight="regular"
|
|
1724
1674
|
themeIntent="body"
|
|
1725
1675
|
themeTypeface="neutral"
|
|
1676
|
+
themeVariant="regular"
|
|
1726
1677
|
>
|
|
1727
1678
|
Access your Work, Money and Benefits in the palm of your hand.
|
|
1728
1679
|
</Text>
|
|
@@ -1817,16 +1768,13 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1817
1768
|
Array [
|
|
1818
1769
|
Object {
|
|
1819
1770
|
"color": "#001f23",
|
|
1820
|
-
"fontFamily": "
|
|
1821
|
-
"fontSize":
|
|
1822
|
-
"letterSpacing":
|
|
1823
|
-
"lineHeight":
|
|
1771
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1772
|
+
"fontSize": 36,
|
|
1773
|
+
"letterSpacing": 1.5,
|
|
1774
|
+
"lineHeight": 44,
|
|
1824
1775
|
},
|
|
1825
1776
|
Array [
|
|
1826
1777
|
Object {
|
|
1827
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1828
|
-
"fontSize": 32,
|
|
1829
|
-
"lineHeight": 44,
|
|
1830
1778
|
"marginBottom": 16,
|
|
1831
1779
|
"marginTop": 8,
|
|
1832
1780
|
},
|
|
@@ -1834,10 +1782,9 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1834
1782
|
],
|
|
1835
1783
|
]
|
|
1836
1784
|
}
|
|
1837
|
-
themeFontSize="medium"
|
|
1838
|
-
themeFontWeight="regular"
|
|
1839
1785
|
themeIntent="body"
|
|
1840
|
-
|
|
1786
|
+
themeLevel="h1"
|
|
1787
|
+
themeTypeface="playful"
|
|
1841
1788
|
>
|
|
1842
1789
|
Same app with a new look!
|
|
1843
1790
|
</Text>
|
|
@@ -1855,10 +1802,9 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1855
1802
|
undefined,
|
|
1856
1803
|
]
|
|
1857
1804
|
}
|
|
1858
|
-
themeFontSize="large"
|
|
1859
|
-
themeFontWeight="regular"
|
|
1860
1805
|
themeIntent="body"
|
|
1861
1806
|
themeTypeface="neutral"
|
|
1807
|
+
themeVariant="regular"
|
|
1862
1808
|
>
|
|
1863
1809
|
Our app now has a new bright clean modern look and feel with the same great features.
|
|
1864
1810
|
</Text>
|
|
@@ -1942,16 +1888,13 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1942
1888
|
Array [
|
|
1943
1889
|
Object {
|
|
1944
1890
|
"color": "#001f23",
|
|
1945
|
-
"fontFamily": "
|
|
1946
|
-
"fontSize":
|
|
1947
|
-
"letterSpacing":
|
|
1948
|
-
"lineHeight":
|
|
1891
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1892
|
+
"fontSize": 36,
|
|
1893
|
+
"letterSpacing": 1.5,
|
|
1894
|
+
"lineHeight": 44,
|
|
1949
1895
|
},
|
|
1950
1896
|
Array [
|
|
1951
1897
|
Object {
|
|
1952
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
1953
|
-
"fontSize": 32,
|
|
1954
|
-
"lineHeight": 44,
|
|
1955
1898
|
"marginBottom": 16,
|
|
1956
1899
|
"marginTop": 8,
|
|
1957
1900
|
},
|
|
@@ -1959,10 +1902,9 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1959
1902
|
],
|
|
1960
1903
|
]
|
|
1961
1904
|
}
|
|
1962
|
-
themeFontSize="medium"
|
|
1963
|
-
themeFontWeight="regular"
|
|
1964
1905
|
themeIntent="body"
|
|
1965
|
-
|
|
1906
|
+
themeLevel="h1"
|
|
1907
|
+
themeTypeface="playful"
|
|
1966
1908
|
>
|
|
1967
1909
|
Easier to get around
|
|
1968
1910
|
</Text>
|
|
@@ -1980,10 +1922,9 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1980
1922
|
undefined,
|
|
1981
1923
|
]
|
|
1982
1924
|
}
|
|
1983
|
-
themeFontSize="large"
|
|
1984
|
-
themeFontWeight="regular"
|
|
1985
1925
|
themeIntent="body"
|
|
1986
1926
|
themeTypeface="neutral"
|
|
1927
|
+
themeVariant="regular"
|
|
1987
1928
|
>
|
|
1988
1929
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.
|
|
1989
1930
|
</Text>
|
|
@@ -2065,16 +2006,13 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
2065
2006
|
Array [
|
|
2066
2007
|
Object {
|
|
2067
2008
|
"color": "#001f23",
|
|
2068
|
-
"fontFamily": "
|
|
2069
|
-
"fontSize":
|
|
2070
|
-
"letterSpacing":
|
|
2071
|
-
"lineHeight":
|
|
2009
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
2010
|
+
"fontSize": 36,
|
|
2011
|
+
"letterSpacing": 1.5,
|
|
2012
|
+
"lineHeight": 44,
|
|
2072
2013
|
},
|
|
2073
2014
|
Array [
|
|
2074
2015
|
Object {
|
|
2075
|
-
"fontFamily": "RebondGrotesque-SemiBold",
|
|
2076
|
-
"fontSize": 32,
|
|
2077
|
-
"lineHeight": 44,
|
|
2078
2016
|
"marginBottom": 16,
|
|
2079
2017
|
"marginTop": 8,
|
|
2080
2018
|
},
|
|
@@ -2082,10 +2020,9 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
2082
2020
|
],
|
|
2083
2021
|
]
|
|
2084
2022
|
}
|
|
2085
|
-
themeFontSize="medium"
|
|
2086
|
-
themeFontWeight="regular"
|
|
2087
2023
|
themeIntent="body"
|
|
2088
|
-
|
|
2024
|
+
themeLevel="h1"
|
|
2025
|
+
themeTypeface="playful"
|
|
2089
2026
|
>
|
|
2090
2027
|
Test slide 4
|
|
2091
2028
|
</Text>
|
|
@@ -2147,28 +2084,25 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
2147
2084
|
Array [
|
|
2148
2085
|
Object {
|
|
2149
2086
|
"color": "#001f23",
|
|
2150
|
-
"fontFamily": "BeVietnamPro-
|
|
2151
|
-
"fontSize":
|
|
2152
|
-
"letterSpacing": 0.
|
|
2153
|
-
"lineHeight":
|
|
2087
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
2088
|
+
"fontSize": 18,
|
|
2089
|
+
"letterSpacing": 0.24,
|
|
2090
|
+
"lineHeight": 28,
|
|
2154
2091
|
},
|
|
2155
2092
|
Array [
|
|
2156
2093
|
Object {
|
|
2157
2094
|
"color": "#ffffff",
|
|
2158
2095
|
"flexShrink": 1,
|
|
2159
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
2160
|
-
"fontSize": 18,
|
|
2161
2096
|
"textAlign": "center",
|
|
2162
2097
|
},
|
|
2163
2098
|
undefined,
|
|
2164
2099
|
],
|
|
2165
2100
|
]
|
|
2166
2101
|
}
|
|
2167
|
-
|
|
2168
|
-
themeFontWeight="regular"
|
|
2102
|
+
themeButtonVariant="filled-primary"
|
|
2169
2103
|
themeIntent="body"
|
|
2104
|
+
themeLevel="h5"
|
|
2170
2105
|
themeTypeface="neutral"
|
|
2171
|
-
themeVariant="filled-primary"
|
|
2172
2106
|
>
|
|
2173
2107
|
Skip
|
|
2174
2108
|
</Text>
|
|
@@ -22,7 +22,7 @@ export const StyledWrapper = styled(TouchableOpacity)<{
|
|
|
22
22
|
};
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export const StyledDescription = styled(Typography.
|
|
25
|
+
export const StyledDescription = styled(Typography.Body)(({ theme }) => ({
|
|
26
26
|
paddingRight: theme.__hd__.checkbox.space.iconDescriptionPadding,
|
|
27
27
|
flex: 1,
|
|
28
28
|
}));
|