@hero-design/rn 8.12.5-alpha.0 → 8.12.5
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 +9 -9
- package/.turbo/turbo-publish:npm.log +0 -9
- package/es/index.js +58 -53
- package/lib/index.js +58 -53
- package/package.json +5 -5
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -0
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +21 -4
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +189 -36
- package/src/components/Avatar/StyledAvatar.tsx +11 -4
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +21 -4
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +42 -8
- package/src/components/Badge/StyledBadge.tsx +4 -2
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +132 -42
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +10 -0
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +10 -0
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +2 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +16 -0
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +4 -0
- package/src/components/Empty/StyledEmpty.tsx +14 -13
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +76 -20
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +56 -16
- package/src/components/FAB/StyledFAB.tsx +3 -2
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -0
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +22 -8
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +53 -8
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -0
- package/src/components/PinInput/StyledPinInput.tsx +6 -3
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +93 -18
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +73 -13
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -0
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -0
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -0
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +23 -1
- package/src/components/SectionHeading/__tests__/index.spec.tsx +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +38 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +35 -0
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
- package/src/components/Tabs/ScrollableTabs.tsx +167 -208
- package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +11 -58
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +24 -7
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +22 -7
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +27 -7
- package/src/components/Tag/StyledTag.tsx +3 -2
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +167 -62
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +22 -0
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
- package/src/components/TextInput/index.tsx +2 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +5 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +7 -0
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +13 -0
- package/src/components/Typography/Text/index.tsx +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +17 -0
- package/src/theme/components/avatar.ts +11 -1
- package/src/theme/components/badge.ts +5 -1
- package/src/theme/components/pinInput.ts +14 -1
- package/src/types.ts +0 -2
- package/types/components/Accordion/AccordionItem.d.ts +0 -0
- package/types/components/Accordion/StyledAccordion.d.ts +0 -0
- package/types/components/Accordion/index.d.ts +0 -0
- package/types/components/Alert/StyledAlert.d.ts +0 -0
- package/types/components/Alert/index.d.ts +0 -0
- package/types/components/Attachment/StyledAttachment.d.ts +0 -0
- package/types/components/Attachment/index.d.ts +0 -0
- package/types/components/Avatar/Avatar.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
- package/types/components/Avatar/StyledAvatar.d.ts +4 -5
- package/types/components/Avatar/index.d.ts +0 -0
- package/types/components/Badge/Status.d.ts +0 -0
- package/types/components/Badge/StyledBadge.d.ts +3 -5
- package/types/components/Badge/index.d.ts +0 -0
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
- package/types/components/BottomNavigation/index.d.ts +0 -0
- package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
- package/types/components/BottomSheet/Footer.d.ts +0 -0
- package/types/components/BottomSheet/Header.d.ts +0 -0
- package/types/components/BottomSheet/ScrollView.d.ts +0 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
- package/types/components/BottomSheet/index.d.ts +0 -0
- package/types/components/Box/StyledBox.d.ts +0 -0
- package/types/components/Box/config.d.ts +0 -0
- package/types/components/Box/index.d.ts +0 -0
- package/types/components/Box/types.d.ts +0 -0
- package/types/components/Button/Button.d.ts +0 -0
- package/types/components/Button/IconButton.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
- package/types/components/Button/StyledButton.d.ts +0 -0
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
- package/types/components/Button/UtilityButton/index.d.ts +0 -0
- package/types/components/Button/index.d.ts +0 -0
- package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
- package/types/components/Calendar/StyledCalendar.d.ts +0 -0
- package/types/components/Calendar/helpers.d.ts +0 -0
- package/types/components/Calendar/index.d.ts +0 -0
- package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
- package/types/components/Card/DataCard/index.d.ts +0 -0
- package/types/components/Card/StyledCard.d.ts +0 -0
- package/types/components/Card/index.d.ts +0 -0
- package/types/components/Carousel/CardCarousel.d.ts +0 -0
- package/types/components/Carousel/CarouselItem.d.ts +0 -0
- package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
- package/types/components/Carousel/StyledCarousel.d.ts +0 -0
- package/types/components/Carousel/contants.d.ts +0 -0
- package/types/components/Carousel/index.d.ts +0 -0
- package/types/components/Carousel/types.d.ts +0 -0
- package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
- package/types/components/Checkbox/index.d.ts +0 -0
- package/types/components/Collapse/StyledCollapse.d.ts +0 -0
- package/types/components/Collapse/index.d.ts +0 -0
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
- package/types/components/ContentNavigator/index.d.ts +0 -0
- package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
- package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
- package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
- package/types/components/DatePicker/index.d.ts +0 -0
- package/types/components/DatePicker/types.d.ts +0 -0
- package/types/components/Divider/StyledDivider.d.ts +0 -0
- package/types/components/Divider/index.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
- package/types/components/Drawer/StyledDrawer.d.ts +0 -0
- package/types/components/Drawer/index.d.ts +0 -0
- package/types/components/Empty/StyledEmpty.d.ts +5 -9
- package/types/components/Empty/index.d.ts +0 -0
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
- package/types/components/FAB/ActionGroup/index.d.ts +0 -0
- package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
- package/types/components/FAB/FAB.d.ts +0 -0
- package/types/components/FAB/StyledFAB.d.ts +3 -5
- package/types/components/FAB/index.d.ts +0 -0
- package/types/components/Icon/AnimatedIcon.d.ts +0 -0
- package/types/components/Icon/HeroIcon/index.d.ts +0 -0
- package/types/components/Icon/IconList.d.ts +0 -0
- package/types/components/Icon/index.d.ts +0 -0
- package/types/components/Icon/utils.d.ts +0 -0
- package/types/components/Image/index.d.ts +0 -0
- package/types/components/List/BasicListItem.d.ts +0 -0
- package/types/components/List/ListItem.d.ts +0 -0
- package/types/components/List/StyledBasicListItem.d.ts +0 -0
- package/types/components/List/StyledListItem.d.ts +0 -0
- package/types/components/List/index.d.ts +0 -0
- package/types/components/PageControl/StyledPageControl.d.ts +0 -0
- package/types/components/PageControl/index.d.ts +0 -0
- package/types/components/PinInput/PinCell.d.ts +0 -0
- package/types/components/PinInput/StyledPinInput.d.ts +5 -9
- package/types/components/PinInput/index.d.ts +0 -0
- package/types/components/Progress/ProgressBar.d.ts +0 -0
- package/types/components/Progress/ProgressCircle.d.ts +0 -0
- package/types/components/Progress/StyledProgressBar.d.ts +0 -0
- package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
- package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
- package/types/components/Progress/constants.d.ts +0 -0
- package/types/components/Progress/index.d.ts +0 -0
- package/types/components/Progress/types.d.ts +0 -0
- package/types/components/Radio/Radio.d.ts +0 -0
- package/types/components/Radio/RadioGroup.d.ts +0 -0
- package/types/components/Radio/StyledRadio.d.ts +0 -0
- package/types/components/Radio/index.d.ts +0 -0
- package/types/components/Radio/types.d.ts +0 -0
- package/types/components/RefreshControl/index.d.ts +0 -0
- package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
- package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
- package/types/components/RichTextEditor/MentionList.d.ts +0 -0
- package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
- package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
- package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/constants.d.ts +0 -0
- package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/index.d.ts +0 -0
- package/types/components/RichTextEditor/types.d.ts +0 -0
- package/types/components/RichTextEditor/utils/events.d.ts +0 -0
- package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
- package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
- package/types/components/SectionHeading/index.d.ts +0 -0
- package/types/components/Select/BaseOptionList.d.ts +0 -0
- package/types/components/Select/Footer.d.ts +0 -0
- package/types/components/Select/MultiSelect/Option.d.ts +0 -0
- package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
- package/types/components/Select/MultiSelect/index.d.ts +0 -0
- package/types/components/Select/SingleSelect/Option.d.ts +0 -0
- package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
- package/types/components/Select/SingleSelect/index.d.ts +0 -0
- package/types/components/Select/StyledSelect.d.ts +0 -0
- package/types/components/Select/helpers.d.ts +0 -0
- package/types/components/Select/index.d.ts +0 -0
- package/types/components/Select/types.d.ts +0 -0
- package/types/components/Slider/index.d.ts +0 -0
- package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
- package/types/components/Spinner/StyledSpinner.d.ts +0 -0
- package/types/components/Spinner/index.d.ts +0 -0
- package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
- package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
- package/types/components/Swipeable/index.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
- package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
- package/types/components/Switch/StyledSwitch.d.ts +0 -0
- package/types/components/Switch/index.d.ts +0 -0
- package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
- package/types/components/Tabs/ScrollableTabs.d.ts +1 -8
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/StyledTabs.d.ts +0 -0
- package/types/components/Tabs/TabWithBadge.d.ts +0 -0
- package/types/components/Tabs/index.d.ts +1 -2
- package/types/components/Tabs/utils.d.ts +0 -0
- package/types/components/Tag/StyledTag.d.ts +3 -5
- package/types/components/Tag/index.d.ts +0 -0
- package/types/components/TextInput/StyledTextInput.d.ts +0 -0
- package/types/components/TextInput/index.d.ts +0 -0
- package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
- package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
- package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
- package/types/components/TimePicker/index.d.ts +0 -0
- package/types/components/TimePicker/types.d.ts +0 -0
- package/types/components/Toast/StyledToast.d.ts +0 -0
- package/types/components/Toast/Toast.d.ts +0 -0
- package/types/components/Toast/ToastContainer.d.ts +0 -0
- package/types/components/Toast/ToastContext.d.ts +0 -0
- package/types/components/Toast/ToastProvider.d.ts +0 -0
- package/types/components/Toast/index.d.ts +0 -0
- package/types/components/Toast/types.d.ts +0 -0
- package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
- package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
- package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
- package/types/components/Toolbar/index.d.ts +0 -0
- package/types/components/Typography/Text/StyledText.d.ts +0 -0
- package/types/components/Typography/Text/index.d.ts +1 -1
- package/types/components/Typography/index.d.ts +0 -0
- package/types/index.d.ts +0 -0
- package/types/testHelpers/renderWithTheme.d.ts +0 -0
- package/types/theme/ThemeProvider.d.ts +0 -0
- package/types/theme/ThemeSwitcher.d.ts +0 -0
- package/types/theme/components/accordion.d.ts +0 -0
- package/types/theme/components/alert.d.ts +0 -0
- package/types/theme/components/attachment.d.ts +0 -0
- package/types/theme/components/avatar.d.ts +10 -0
- package/types/theme/components/badge.d.ts +3 -0
- package/types/theme/components/bottomNavigation.d.ts +0 -0
- package/types/theme/components/bottomSheet.d.ts +0 -0
- package/types/theme/components/button.d.ts +0 -0
- package/types/theme/components/calendar.d.ts +0 -0
- package/types/theme/components/card.d.ts +0 -0
- package/types/theme/components/cardCarousel.d.ts +0 -0
- package/types/theme/components/carousel.d.ts +0 -0
- package/types/theme/components/checkbox.d.ts +0 -0
- package/types/theme/components/contentNavigator.d.ts +0 -0
- package/types/theme/components/datePicker.d.ts +0 -0
- package/types/theme/components/divider.d.ts +0 -0
- package/types/theme/components/drawer.d.ts +0 -0
- package/types/theme/components/empty.d.ts +0 -0
- package/types/theme/components/fab.d.ts +0 -0
- package/types/theme/components/icon.d.ts +0 -0
- package/types/theme/components/image.d.ts +0 -0
- package/types/theme/components/list.d.ts +0 -0
- package/types/theme/components/pageControl.d.ts +0 -0
- package/types/theme/components/pinInput.d.ts +4 -0
- package/types/theme/components/progress.d.ts +0 -0
- package/types/theme/components/radio.d.ts +0 -0
- package/types/theme/components/refreshControl.d.ts +0 -0
- package/types/theme/components/richTextEditor.d.ts +0 -0
- package/types/theme/components/sectionHeading.d.ts +0 -0
- package/types/theme/components/select.d.ts +0 -0
- package/types/theme/components/slider.d.ts +0 -0
- package/types/theme/components/spinner.d.ts +0 -0
- package/types/theme/components/swipeable.d.ts +0 -0
- package/types/theme/components/switch.d.ts +0 -0
- package/types/theme/components/tabs.d.ts +0 -0
- package/types/theme/components/tag.d.ts +0 -0
- package/types/theme/components/textInput.d.ts +0 -0
- package/types/theme/components/timePicker.d.ts +0 -0
- package/types/theme/components/toast.d.ts +0 -0
- package/types/theme/components/toolbar.d.ts +0 -0
- package/types/theme/components/typography.d.ts +0 -0
- package/types/theme/getTheme.d.ts +0 -0
- package/types/theme/global/borders.d.ts +0 -0
- package/types/theme/global/colors/eBens.d.ts +0 -0
- package/types/theme/global/colors/global.d.ts +0 -0
- package/types/theme/global/colors/globalDark.d.ts +0 -0
- package/types/theme/global/colors/jobs.d.ts +0 -0
- package/types/theme/global/colors/swag.d.ts +0 -0
- package/types/theme/global/colors/swagDark.d.ts +0 -0
- package/types/theme/global/colors/types.d.ts +0 -0
- package/types/theme/global/colors/wallet.d.ts +0 -0
- package/types/theme/global/colors/work.d.ts +0 -0
- package/types/theme/global/index.d.ts +0 -0
- package/types/theme/global/scale.d.ts +0 -0
- package/types/theme/global/sizes.d.ts +0 -0
- package/types/theme/global/space.d.ts +0 -0
- package/types/theme/global/typography.d.ts +0 -0
- package/types/theme/index.d.ts +0 -0
- package/types/types.d.ts +1 -2
- package/types/utils/functions.d.ts +0 -0
- package/types/utils/helpers.d.ts +0 -0
- package/types/utils/hooks.d.ts +0 -0
- package/types/utils/scale.d.ts +0 -0
- package/.turbo/turbo-build:types.log +0 -2
- package/.turbo/turbo-lint.log +0 -149
|
@@ -15,6 +15,7 @@ exports[`Card renders correctly when intent is archived 1`] = `
|
|
|
15
15
|
themeIntent="archived"
|
|
16
16
|
>
|
|
17
17
|
<Text
|
|
18
|
+
allowFontScaling={false}
|
|
18
19
|
style={
|
|
19
20
|
Array [
|
|
20
21
|
Object {
|
|
@@ -52,6 +53,7 @@ exports[`Card renders correctly when intent is danger 1`] = `
|
|
|
52
53
|
themeIntent="danger"
|
|
53
54
|
>
|
|
54
55
|
<Text
|
|
56
|
+
allowFontScaling={false}
|
|
55
57
|
style={
|
|
56
58
|
Array [
|
|
57
59
|
Object {
|
|
@@ -89,6 +91,7 @@ exports[`Card renders correctly when intent is info 1`] = `
|
|
|
89
91
|
themeIntent="info"
|
|
90
92
|
>
|
|
91
93
|
<Text
|
|
94
|
+
allowFontScaling={false}
|
|
92
95
|
style={
|
|
93
96
|
Array [
|
|
94
97
|
Object {
|
|
@@ -126,6 +129,7 @@ exports[`Card renders correctly when intent is primary 1`] = `
|
|
|
126
129
|
themeIntent="primary"
|
|
127
130
|
>
|
|
128
131
|
<Text
|
|
132
|
+
allowFontScaling={false}
|
|
129
133
|
style={
|
|
130
134
|
Array [
|
|
131
135
|
Object {
|
|
@@ -163,6 +167,7 @@ exports[`Card renders correctly when intent is success 1`] = `
|
|
|
163
167
|
themeIntent="success"
|
|
164
168
|
>
|
|
165
169
|
<Text
|
|
170
|
+
allowFontScaling={false}
|
|
166
171
|
style={
|
|
167
172
|
Array [
|
|
168
173
|
Object {
|
|
@@ -198,6 +203,7 @@ exports[`Card renders correctly when intent is undefined 1`] = `
|
|
|
198
203
|
}
|
|
199
204
|
>
|
|
200
205
|
<Text
|
|
206
|
+
allowFontScaling={false}
|
|
201
207
|
style={
|
|
202
208
|
Array [
|
|
203
209
|
Object {
|
|
@@ -133,6 +133,7 @@ exports[`CardCarousel should render correctly 1`] = `
|
|
|
133
133
|
}
|
|
134
134
|
>
|
|
135
135
|
<Text
|
|
136
|
+
allowFontScaling={false}
|
|
136
137
|
style={
|
|
137
138
|
Array [
|
|
138
139
|
Object {
|
|
@@ -216,6 +217,7 @@ exports[`CardCarousel should render correctly 1`] = `
|
|
|
216
217
|
}
|
|
217
218
|
>
|
|
218
219
|
<Text
|
|
220
|
+
allowFontScaling={false}
|
|
219
221
|
style={
|
|
220
222
|
Array [
|
|
221
223
|
Object {
|
|
@@ -173,6 +173,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
173
173
|
width={750}
|
|
174
174
|
>
|
|
175
175
|
<Text
|
|
176
|
+
allowFontScaling={false}
|
|
176
177
|
style={
|
|
177
178
|
Array [
|
|
178
179
|
Object {
|
|
@@ -202,6 +203,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
202
203
|
Welcome to the new Employment Hero app
|
|
203
204
|
</Text>
|
|
204
205
|
<Text
|
|
206
|
+
allowFontScaling={false}
|
|
205
207
|
style={
|
|
206
208
|
Array [
|
|
207
209
|
Object {
|
|
@@ -307,6 +309,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
307
309
|
}
|
|
308
310
|
/>
|
|
309
311
|
<Text
|
|
312
|
+
allowFontScaling={false}
|
|
310
313
|
style={
|
|
311
314
|
Array [
|
|
312
315
|
Object {
|
|
@@ -336,6 +339,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
336
339
|
Same app with a new look!
|
|
337
340
|
</Text>
|
|
338
341
|
<Text
|
|
342
|
+
allowFontScaling={false}
|
|
339
343
|
style={
|
|
340
344
|
Array [
|
|
341
345
|
Object {
|
|
@@ -431,6 +435,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
431
435
|
width={750}
|
|
432
436
|
>
|
|
433
437
|
<Text
|
|
438
|
+
allowFontScaling={false}
|
|
434
439
|
style={
|
|
435
440
|
Array [
|
|
436
441
|
Object {
|
|
@@ -460,6 +465,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
460
465
|
Easier to get around
|
|
461
466
|
</Text>
|
|
462
467
|
<Text
|
|
468
|
+
allowFontScaling={false}
|
|
463
469
|
style={
|
|
464
470
|
Array [
|
|
465
471
|
Object {
|
|
@@ -553,6 +559,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
553
559
|
width={750}
|
|
554
560
|
>
|
|
555
561
|
<Text
|
|
562
|
+
allowFontScaling={false}
|
|
556
563
|
style={
|
|
557
564
|
Array [
|
|
558
565
|
Object {
|
|
@@ -631,6 +638,7 @@ exports[`Carousel renders basic carousel 1`] = `
|
|
|
631
638
|
}
|
|
632
639
|
>
|
|
633
640
|
<Text
|
|
641
|
+
allowFontScaling={false}
|
|
634
642
|
disabled={false}
|
|
635
643
|
ellipsizeMode="tail"
|
|
636
644
|
numberOfLines={1}
|
|
@@ -916,6 +924,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
916
924
|
width={750}
|
|
917
925
|
>
|
|
918
926
|
<Text
|
|
927
|
+
allowFontScaling={false}
|
|
919
928
|
style={
|
|
920
929
|
Array [
|
|
921
930
|
Object {
|
|
@@ -945,6 +954,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
945
954
|
Welcome to the new Employment Hero app
|
|
946
955
|
</Text>
|
|
947
956
|
<Text
|
|
957
|
+
allowFontScaling={false}
|
|
948
958
|
style={
|
|
949
959
|
Array [
|
|
950
960
|
Object {
|
|
@@ -1050,6 +1060,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1050
1060
|
}
|
|
1051
1061
|
/>
|
|
1052
1062
|
<Text
|
|
1063
|
+
allowFontScaling={false}
|
|
1053
1064
|
style={
|
|
1054
1065
|
Array [
|
|
1055
1066
|
Object {
|
|
@@ -1079,6 +1090,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1079
1090
|
Same app with a new look!
|
|
1080
1091
|
</Text>
|
|
1081
1092
|
<Text
|
|
1093
|
+
allowFontScaling={false}
|
|
1082
1094
|
style={
|
|
1083
1095
|
Array [
|
|
1084
1096
|
Object {
|
|
@@ -1174,6 +1186,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1174
1186
|
width={750}
|
|
1175
1187
|
>
|
|
1176
1188
|
<Text
|
|
1189
|
+
allowFontScaling={false}
|
|
1177
1190
|
style={
|
|
1178
1191
|
Array [
|
|
1179
1192
|
Object {
|
|
@@ -1203,6 +1216,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1203
1216
|
Easier to get around
|
|
1204
1217
|
</Text>
|
|
1205
1218
|
<Text
|
|
1219
|
+
allowFontScaling={false}
|
|
1206
1220
|
style={
|
|
1207
1221
|
Array [
|
|
1208
1222
|
Object {
|
|
@@ -1296,6 +1310,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1296
1310
|
width={750}
|
|
1297
1311
|
>
|
|
1298
1312
|
<Text
|
|
1313
|
+
allowFontScaling={false}
|
|
1299
1314
|
style={
|
|
1300
1315
|
Array [
|
|
1301
1316
|
Object {
|
|
@@ -1374,6 +1389,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
|
|
|
1374
1389
|
}
|
|
1375
1390
|
>
|
|
1376
1391
|
<Text
|
|
1392
|
+
allowFontScaling={false}
|
|
1377
1393
|
disabled={false}
|
|
1378
1394
|
ellipsizeMode="tail"
|
|
1379
1395
|
numberOfLines={1}
|
|
@@ -154,6 +154,7 @@ exports[`Checkbox renders correctly when disabled is false, withBorder is false
|
|
|
154
154
|
}
|
|
155
155
|
>
|
|
156
156
|
<Text
|
|
157
|
+
allowFontScaling={false}
|
|
157
158
|
style={
|
|
158
159
|
Array [
|
|
159
160
|
Object {
|
|
@@ -238,6 +239,7 @@ exports[`Checkbox renders correctly when disabled is false, withBorder is true 1
|
|
|
238
239
|
}
|
|
239
240
|
>
|
|
240
241
|
<Text
|
|
242
|
+
allowFontScaling={false}
|
|
241
243
|
style={
|
|
242
244
|
Array [
|
|
243
245
|
Object {
|
|
@@ -318,6 +320,7 @@ exports[`Checkbox renders correctly when disabled is true, withBorder is false 1
|
|
|
318
320
|
}
|
|
319
321
|
>
|
|
320
322
|
<Text
|
|
323
|
+
allowFontScaling={false}
|
|
321
324
|
style={
|
|
322
325
|
Array [
|
|
323
326
|
Object {
|
|
@@ -402,6 +405,7 @@ exports[`Checkbox renders correctly when disabled is true, withBorder is true 1`
|
|
|
402
405
|
}
|
|
403
406
|
>
|
|
404
407
|
<Text
|
|
408
|
+
allowFontScaling={false}
|
|
405
409
|
style={
|
|
406
410
|
Array [
|
|
407
411
|
Object {
|
|
@@ -52,6 +52,7 @@ exports[`rendering renders correctly 1`] = `
|
|
|
52
52
|
/>
|
|
53
53
|
</View>
|
|
54
54
|
<Text
|
|
55
|
+
allowFontScaling={false}
|
|
55
56
|
style={
|
|
56
57
|
Array [
|
|
57
58
|
Object {
|
|
@@ -170,6 +171,7 @@ exports[`rendering renders correctly when icon buttons are disabled 1`] = `
|
|
|
170
171
|
/>
|
|
171
172
|
</View>
|
|
172
173
|
<Text
|
|
174
|
+
allowFontScaling={false}
|
|
173
175
|
style={
|
|
174
176
|
Array [
|
|
175
177
|
Object {
|
|
@@ -99,6 +99,7 @@ exports[`DatePickerAndroid renders correctly 1`] = `
|
|
|
99
99
|
testID="label-container"
|
|
100
100
|
>
|
|
101
101
|
<Text
|
|
102
|
+
allowFontScaling={false}
|
|
102
103
|
style={
|
|
103
104
|
Array [
|
|
104
105
|
Object {
|
|
@@ -148,6 +149,7 @@ exports[`DatePickerAndroid renders correctly 1`] = `
|
|
|
148
149
|
"disabled": false,
|
|
149
150
|
}
|
|
150
151
|
}
|
|
152
|
+
allowFontScaling={false}
|
|
151
153
|
editable={true}
|
|
152
154
|
onBlur={[Function]}
|
|
153
155
|
onChangeText={[Function]}
|
|
@@ -99,6 +99,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
99
99
|
testID="label-container"
|
|
100
100
|
>
|
|
101
101
|
<Text
|
|
102
|
+
allowFontScaling={false}
|
|
102
103
|
style={
|
|
103
104
|
Array [
|
|
104
105
|
Object {
|
|
@@ -148,6 +149,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
148
149
|
"disabled": false,
|
|
149
150
|
}
|
|
150
151
|
}
|
|
152
|
+
allowFontScaling={false}
|
|
151
153
|
editable={true}
|
|
152
154
|
onBlur={[Function]}
|
|
153
155
|
onChangeText={[Function]}
|
|
@@ -373,6 +375,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
373
375
|
}
|
|
374
376
|
>
|
|
375
377
|
<Text
|
|
378
|
+
allowFontScaling={false}
|
|
376
379
|
style={
|
|
377
380
|
Array [
|
|
378
381
|
Object {
|
|
@@ -512,6 +515,7 @@ exports[`DatePickerIOS renders correctly 1`] = `
|
|
|
512
515
|
}
|
|
513
516
|
>
|
|
514
517
|
<Text
|
|
518
|
+
allowFontScaling={false}
|
|
515
519
|
disabled={false}
|
|
516
520
|
ellipsizeMode="tail"
|
|
517
521
|
numberOfLines={1}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { View
|
|
1
|
+
import { View } from 'react-native';
|
|
2
2
|
import styled from '@emotion/native';
|
|
3
|
+
import Typography from '../Typography';
|
|
3
4
|
|
|
4
5
|
type ThemeVariant = 'light' | 'dark';
|
|
5
6
|
|
|
@@ -12,7 +13,7 @@ const StyledWrapper = styled(View)(({ theme }) => ({
|
|
|
12
13
|
padding: theme.__hd__.empty.space.wrapperPadding,
|
|
13
14
|
}));
|
|
14
15
|
|
|
15
|
-
const StyledTitle = styled(Text)<{ themeVariant: ThemeVariant }>(
|
|
16
|
+
const StyledTitle = styled(Typography.Text)<{ themeVariant: ThemeVariant }>(
|
|
16
17
|
({ theme, themeVariant }) => ({
|
|
17
18
|
fontFamily: theme.__hd__.empty.fonts.title,
|
|
18
19
|
fontSize: theme.__hd__.empty.fontSizes.title,
|
|
@@ -25,16 +26,16 @@ const StyledTitle = styled(Text)<{ themeVariant: ThemeVariant }>(
|
|
|
25
26
|
})
|
|
26
27
|
);
|
|
27
28
|
|
|
28
|
-
const StyledDescription = styled(Text)<{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
);
|
|
29
|
+
const StyledDescription = styled(Typography.Text)<{
|
|
30
|
+
themeVariant: ThemeVariant;
|
|
31
|
+
}>(({ theme, themeVariant }) => ({
|
|
32
|
+
fontFamily: theme.__hd__.empty.fonts.description,
|
|
33
|
+
fontSize: theme.__hd__.empty.fontSizes.description,
|
|
34
|
+
textAlign: 'center',
|
|
35
|
+
color:
|
|
36
|
+
themeVariant === 'dark'
|
|
37
|
+
? theme.__hd__.empty.colors.invertedSubduedText
|
|
38
|
+
: theme.__hd__.empty.colors.subduedText,
|
|
39
|
+
}));
|
|
39
40
|
|
|
40
41
|
export { StyledWrapper, StyledTitle, StyledDescription };
|
|
@@ -17,34 +17,62 @@ exports[`Empty renders empty state content correctly 1`] = `
|
|
|
17
17
|
}
|
|
18
18
|
>
|
|
19
19
|
<Text
|
|
20
|
+
allowFontScaling={false}
|
|
20
21
|
style={
|
|
21
22
|
Array [
|
|
22
23
|
Object {
|
|
23
24
|
"color": "#001f23",
|
|
24
|
-
"fontFamily": "
|
|
25
|
-
"fontSize":
|
|
26
|
-
"
|
|
27
|
-
"
|
|
25
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
26
|
+
"fontSize": 14,
|
|
27
|
+
"letterSpacing": 0.42,
|
|
28
|
+
"lineHeight": 22,
|
|
28
29
|
},
|
|
29
|
-
|
|
30
|
+
Array [
|
|
31
|
+
Object {
|
|
32
|
+
"color": "#001f23",
|
|
33
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
34
|
+
"fontSize": 24,
|
|
35
|
+
"marginBottom": 16,
|
|
36
|
+
"textAlign": "center",
|
|
37
|
+
},
|
|
38
|
+
undefined,
|
|
39
|
+
],
|
|
30
40
|
]
|
|
31
41
|
}
|
|
42
|
+
themeFontSize="medium"
|
|
43
|
+
themeFontWeight="regular"
|
|
44
|
+
themeIntent="body"
|
|
45
|
+
themeTypeface="neutral"
|
|
32
46
|
themeVariant="light"
|
|
33
47
|
>
|
|
34
48
|
You have no notification at this time
|
|
35
49
|
</Text>
|
|
36
50
|
<Text
|
|
51
|
+
allowFontScaling={false}
|
|
37
52
|
style={
|
|
38
53
|
Array [
|
|
39
54
|
Object {
|
|
40
|
-
"color": "#
|
|
41
|
-
"fontFamily": "
|
|
42
|
-
"fontSize":
|
|
43
|
-
"
|
|
55
|
+
"color": "#001f23",
|
|
56
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
57
|
+
"fontSize": 14,
|
|
58
|
+
"letterSpacing": 0.42,
|
|
59
|
+
"lineHeight": 22,
|
|
44
60
|
},
|
|
45
|
-
|
|
61
|
+
Array [
|
|
62
|
+
Object {
|
|
63
|
+
"color": "#4d6265",
|
|
64
|
+
"fontFamily": "RebondGrotesque",
|
|
65
|
+
"fontSize": 18,
|
|
66
|
+
"textAlign": "center",
|
|
67
|
+
},
|
|
68
|
+
undefined,
|
|
69
|
+
],
|
|
46
70
|
]
|
|
47
71
|
}
|
|
72
|
+
themeFontSize="medium"
|
|
73
|
+
themeFontWeight="regular"
|
|
74
|
+
themeIntent="body"
|
|
75
|
+
themeTypeface="neutral"
|
|
48
76
|
themeVariant="light"
|
|
49
77
|
>
|
|
50
78
|
We'll notify you later.
|
|
@@ -84,34 +112,62 @@ exports[`Empty renders empty state with image correctly 1`] = `
|
|
|
84
112
|
}
|
|
85
113
|
/>
|
|
86
114
|
<Text
|
|
115
|
+
allowFontScaling={false}
|
|
87
116
|
style={
|
|
88
117
|
Array [
|
|
89
118
|
Object {
|
|
90
119
|
"color": "#001f23",
|
|
91
|
-
"fontFamily": "
|
|
92
|
-
"fontSize":
|
|
93
|
-
"
|
|
94
|
-
"
|
|
120
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
121
|
+
"fontSize": 14,
|
|
122
|
+
"letterSpacing": 0.42,
|
|
123
|
+
"lineHeight": 22,
|
|
95
124
|
},
|
|
96
|
-
|
|
125
|
+
Array [
|
|
126
|
+
Object {
|
|
127
|
+
"color": "#001f23",
|
|
128
|
+
"fontFamily": "RebondGrotesque-SemiBold",
|
|
129
|
+
"fontSize": 24,
|
|
130
|
+
"marginBottom": 16,
|
|
131
|
+
"textAlign": "center",
|
|
132
|
+
},
|
|
133
|
+
undefined,
|
|
134
|
+
],
|
|
97
135
|
]
|
|
98
136
|
}
|
|
137
|
+
themeFontSize="medium"
|
|
138
|
+
themeFontWeight="regular"
|
|
139
|
+
themeIntent="body"
|
|
140
|
+
themeTypeface="neutral"
|
|
99
141
|
themeVariant="light"
|
|
100
142
|
>
|
|
101
143
|
You have no notification at this time
|
|
102
144
|
</Text>
|
|
103
145
|
<Text
|
|
146
|
+
allowFontScaling={false}
|
|
104
147
|
style={
|
|
105
148
|
Array [
|
|
106
149
|
Object {
|
|
107
|
-
"color": "#
|
|
108
|
-
"fontFamily": "
|
|
109
|
-
"fontSize":
|
|
110
|
-
"
|
|
150
|
+
"color": "#001f23",
|
|
151
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
152
|
+
"fontSize": 14,
|
|
153
|
+
"letterSpacing": 0.42,
|
|
154
|
+
"lineHeight": 22,
|
|
111
155
|
},
|
|
112
|
-
|
|
156
|
+
Array [
|
|
157
|
+
Object {
|
|
158
|
+
"color": "#4d6265",
|
|
159
|
+
"fontFamily": "RebondGrotesque",
|
|
160
|
+
"fontSize": 18,
|
|
161
|
+
"textAlign": "center",
|
|
162
|
+
},
|
|
163
|
+
undefined,
|
|
164
|
+
],
|
|
113
165
|
]
|
|
114
166
|
}
|
|
167
|
+
themeFontSize="medium"
|
|
168
|
+
themeFontWeight="regular"
|
|
169
|
+
themeIntent="body"
|
|
170
|
+
themeTypeface="neutral"
|
|
115
171
|
themeVariant="light"
|
|
116
172
|
>
|
|
117
173
|
We'll notify you later.
|
|
@@ -53,6 +53,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
53
53
|
testID="action-group"
|
|
54
54
|
>
|
|
55
55
|
<Text
|
|
56
|
+
allowFontScaling={false}
|
|
56
57
|
style={
|
|
57
58
|
Array [
|
|
58
59
|
Object {
|
|
@@ -136,6 +137,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
136
137
|
themeSize="medium"
|
|
137
138
|
/>
|
|
138
139
|
<Text
|
|
140
|
+
allowFontScaling={false}
|
|
139
141
|
style={
|
|
140
142
|
Array [
|
|
141
143
|
Object {
|
|
@@ -216,6 +218,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
216
218
|
themeSize="medium"
|
|
217
219
|
/>
|
|
218
220
|
<Text
|
|
221
|
+
allowFontScaling={false}
|
|
219
222
|
style={
|
|
220
223
|
Array [
|
|
221
224
|
Object {
|
|
@@ -296,6 +299,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
296
299
|
themeSize="medium"
|
|
297
300
|
/>
|
|
298
301
|
<Text
|
|
302
|
+
allowFontScaling={false}
|
|
299
303
|
style={
|
|
300
304
|
Array [
|
|
301
305
|
Object {
|
|
@@ -376,6 +380,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
376
380
|
themeSize="medium"
|
|
377
381
|
/>
|
|
378
382
|
<Text
|
|
383
|
+
allowFontScaling={false}
|
|
379
384
|
style={
|
|
380
385
|
Array [
|
|
381
386
|
Object {
|
|
@@ -456,6 +461,7 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
456
461
|
themeSize="medium"
|
|
457
462
|
/>
|
|
458
463
|
<Text
|
|
464
|
+
allowFontScaling={false}
|
|
459
465
|
style={
|
|
460
466
|
Array [
|
|
461
467
|
Object {
|
|
@@ -546,20 +552,34 @@ exports[`ActionGroup has active false 1`] = `
|
|
|
546
552
|
themeSize="xsmall"
|
|
547
553
|
/>
|
|
548
554
|
<Text
|
|
555
|
+
allowFontScaling={false}
|
|
549
556
|
style={
|
|
550
557
|
Array [
|
|
551
558
|
Object {
|
|
552
|
-
"color": "#
|
|
553
|
-
"fontFamily": "BeVietnamPro-
|
|
554
|
-
"fontSize":
|
|
555
|
-
"
|
|
556
|
-
"
|
|
557
|
-
"textAlign": "center",
|
|
558
|
-
"textAlignVertical": "center",
|
|
559
|
+
"color": "#001f23",
|
|
560
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
561
|
+
"fontSize": 14,
|
|
562
|
+
"letterSpacing": 0.42,
|
|
563
|
+
"lineHeight": 22,
|
|
559
564
|
},
|
|
560
|
-
|
|
565
|
+
Array [
|
|
566
|
+
Object {
|
|
567
|
+
"color": "#ffffff",
|
|
568
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
569
|
+
"fontSize": 16,
|
|
570
|
+
"lineHeight": 24,
|
|
571
|
+
"marginHorizontal": 8,
|
|
572
|
+
"textAlign": "center",
|
|
573
|
+
"textAlignVertical": "center",
|
|
574
|
+
},
|
|
575
|
+
undefined,
|
|
576
|
+
],
|
|
561
577
|
]
|
|
562
578
|
}
|
|
579
|
+
themeFontSize="medium"
|
|
580
|
+
themeFontWeight="regular"
|
|
581
|
+
themeIntent="body"
|
|
582
|
+
themeTypeface="neutral"
|
|
563
583
|
>
|
|
564
584
|
Shout out
|
|
565
585
|
</Text>
|
|
@@ -620,6 +640,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
620
640
|
testID="action-group"
|
|
621
641
|
>
|
|
622
642
|
<Text
|
|
643
|
+
allowFontScaling={false}
|
|
623
644
|
style={
|
|
624
645
|
Array [
|
|
625
646
|
Object {
|
|
@@ -703,6 +724,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
703
724
|
themeSize="medium"
|
|
704
725
|
/>
|
|
705
726
|
<Text
|
|
727
|
+
allowFontScaling={false}
|
|
706
728
|
style={
|
|
707
729
|
Array [
|
|
708
730
|
Object {
|
|
@@ -783,6 +805,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
783
805
|
themeSize="medium"
|
|
784
806
|
/>
|
|
785
807
|
<Text
|
|
808
|
+
allowFontScaling={false}
|
|
786
809
|
style={
|
|
787
810
|
Array [
|
|
788
811
|
Object {
|
|
@@ -863,6 +886,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
863
886
|
themeSize="medium"
|
|
864
887
|
/>
|
|
865
888
|
<Text
|
|
889
|
+
allowFontScaling={false}
|
|
866
890
|
style={
|
|
867
891
|
Array [
|
|
868
892
|
Object {
|
|
@@ -943,6 +967,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
943
967
|
themeSize="medium"
|
|
944
968
|
/>
|
|
945
969
|
<Text
|
|
970
|
+
allowFontScaling={false}
|
|
946
971
|
style={
|
|
947
972
|
Array [
|
|
948
973
|
Object {
|
|
@@ -1023,6 +1048,7 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
1023
1048
|
themeSize="medium"
|
|
1024
1049
|
/>
|
|
1025
1050
|
<Text
|
|
1051
|
+
allowFontScaling={false}
|
|
1026
1052
|
style={
|
|
1027
1053
|
Array [
|
|
1028
1054
|
Object {
|
|
@@ -1113,20 +1139,34 @@ exports[`ActionGroup has active true 1`] = `
|
|
|
1113
1139
|
themeSize="xsmall"
|
|
1114
1140
|
/>
|
|
1115
1141
|
<Text
|
|
1142
|
+
allowFontScaling={false}
|
|
1116
1143
|
style={
|
|
1117
1144
|
Array [
|
|
1118
1145
|
Object {
|
|
1119
|
-
"color": "#
|
|
1120
|
-
"fontFamily": "BeVietnamPro-
|
|
1121
|
-
"fontSize":
|
|
1122
|
-
"
|
|
1123
|
-
"
|
|
1124
|
-
"textAlign": "center",
|
|
1125
|
-
"textAlignVertical": "center",
|
|
1146
|
+
"color": "#001f23",
|
|
1147
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1148
|
+
"fontSize": 14,
|
|
1149
|
+
"letterSpacing": 0.42,
|
|
1150
|
+
"lineHeight": 22,
|
|
1126
1151
|
},
|
|
1127
|
-
|
|
1152
|
+
Array [
|
|
1153
|
+
Object {
|
|
1154
|
+
"color": "#ffffff",
|
|
1155
|
+
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1156
|
+
"fontSize": 16,
|
|
1157
|
+
"lineHeight": 24,
|
|
1158
|
+
"marginHorizontal": 8,
|
|
1159
|
+
"textAlign": "center",
|
|
1160
|
+
"textAlignVertical": "center",
|
|
1161
|
+
},
|
|
1162
|
+
undefined,
|
|
1163
|
+
],
|
|
1128
1164
|
]
|
|
1129
1165
|
}
|
|
1166
|
+
themeFontSize="medium"
|
|
1167
|
+
themeFontWeight="regular"
|
|
1168
|
+
themeIntent="body"
|
|
1169
|
+
themeTypeface="neutral"
|
|
1130
1170
|
>
|
|
1131
1171
|
Shout out
|
|
1132
1172
|
</Text>
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TouchableHighlight } from 'react-native';
|
|
2
2
|
import styled from '@emotion/native';
|
|
3
3
|
import type { TextProps, TouchableHighlightProps } from 'react-native';
|
|
4
4
|
import Icon from '../Icon';
|
|
5
5
|
import type { IconProps } from '../Icon';
|
|
6
|
+
import Typography from '../Typography';
|
|
6
7
|
|
|
7
8
|
const StyledFABContainer = styled(TouchableHighlight)<TouchableHighlightProps>(
|
|
8
9
|
({ theme }) => ({
|
|
@@ -25,7 +26,7 @@ const StyledFABIcon = styled(Icon)<IconProps>(({ theme }) => ({
|
|
|
25
26
|
textAlign: 'center',
|
|
26
27
|
}));
|
|
27
28
|
|
|
28
|
-
const StyledFABText = styled(Text)<TextProps>(({ theme }) => ({
|
|
29
|
+
const StyledFABText = styled(Typography.Text)<TextProps>(({ theme }) => ({
|
|
29
30
|
fontFamily: theme.__hd__.fab.fonts.title,
|
|
30
31
|
fontSize: theme.__hd__.fab.fontSizes.title,
|
|
31
32
|
lineHeight: theme.__hd__.fab.lineHeights.title,
|