@hero-design/rn 8.65.1 → 8.68.0-alpha.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/CHANGELOG.md +17 -0
- package/es/index.js +153 -133
- package/lib/index.js +154 -133
- package/package.json +2 -2
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -4
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +18 -18
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -2
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +1 -1
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +21 -21
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +12 -12
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
- package/src/components/Card/StyledCard.tsx +7 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +65 -1
- package/src/components/Card/__tests__/index.spec.tsx +1 -0
- package/src/components/Card/index.tsx +7 -1
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -4
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +3 -3
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +2 -2
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +30 -30
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +1 -1
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -3
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +6 -6
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -5
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +10 -10
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +14 -14
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +14 -14
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +14 -14
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -8
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -32
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +1 -1
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -3
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +5 -5
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +5 -5
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +18 -18
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +7 -7
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +1 -1
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +1 -1
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +1 -1
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1 -1
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/index.ts +2 -0
- package/src/theme/ThemeSwitcher.tsx +12 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +67 -66
- package/src/theme/components/card.ts +1 -0
- package/src/theme/getTheme.ts +2 -2
- package/src/theme/global/colors/__tests__/__snapshots__/swagLight.spec.ts.snap +48 -0
- package/src/theme/global/colors/__tests__/swagLight.spec.ts +7 -0
- package/src/theme/global/colors/swagLight.ts +25 -0
- package/src/theme/global/index.ts +2 -0
- package/src/theme/index.ts +2 -0
- package/stats/8.66.0/rn-stats.html +4842 -0
- 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 +0 -0
- 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 +0 -0
- 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 +1 -1
- package/types/components/Card/index.d.ts +1 -1
- 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/DatePickerCalendar.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 +0 -0
- package/types/components/Empty/index.d.ts +0 -0
- package/types/components/Error/StyledError.d.ts +0 -0
- package/types/components/Error/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 +0 -0
- 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 +0 -0
- 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/Skeleton/StyledSkeleton.d.ts +0 -0
- package/types/components/Skeleton/index.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/Success/StyledSuccess.d.ts +0 -0
- package/types/components/Success/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/SceneView.d.ts +0 -0
- package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +35 -0
- 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 +0 -0
- package/types/components/Tabs/useIsFocused.d.ts +0 -0
- package/types/components/Tabs/utils.d.ts +0 -0
- package/types/components/Tag/StyledTag.d.ts +0 -0
- 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 +0 -0
- package/types/components/Typography/index.d.ts +0 -0
- package/types/index.d.ts +2 -2
- package/types/testHelpers/renderWithTheme.d.ts +0 -0
- package/types/theme/ThemeProvider.d.ts +0 -0
- package/types/theme/ThemeSwitcher.d.ts +1 -1
- 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 +0 -0
- package/types/theme/components/badge.d.ts +0 -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 +1 -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/error.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 +0 -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/skeleton.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/success.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/swagLight.d.ts +3 -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 +2 -1
- 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 +2 -2
- package/types/types.d.ts +0 -0
- 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.log +0 -8
|
@@ -100,7 +100,7 @@ exports[`StyledButtonContainer has filled-primary style 1`] = `
|
|
|
100
100
|
{
|
|
101
101
|
"alignItems": "center",
|
|
102
102
|
"alignSelf": "stretch",
|
|
103
|
-
"backgroundColor": "#
|
|
103
|
+
"backgroundColor": "#7622d7",
|
|
104
104
|
"borderRadius": 32,
|
|
105
105
|
"flexDirection": "row",
|
|
106
106
|
"height": 60,
|
|
@@ -169,7 +169,7 @@ exports[`StyledButtonContainer has filled-secondary style 1`] = `
|
|
|
169
169
|
{
|
|
170
170
|
"alignItems": "center",
|
|
171
171
|
"alignSelf": "stretch",
|
|
172
|
-
"backgroundColor": "#
|
|
172
|
+
"backgroundColor": "#460078",
|
|
173
173
|
"borderRadius": 32,
|
|
174
174
|
"flexDirection": "row",
|
|
175
175
|
"height": 60,
|
|
@@ -310,7 +310,7 @@ exports[`StyledButtonContainer has outlined-primary style 1`] = `
|
|
|
310
310
|
"alignItems": "center",
|
|
311
311
|
"alignSelf": "stretch",
|
|
312
312
|
"backgroundColor": "transparent",
|
|
313
|
-
"borderColor": "#
|
|
313
|
+
"borderColor": "#7622d7",
|
|
314
314
|
"borderRadius": 32,
|
|
315
315
|
"borderWidth": 2,
|
|
316
316
|
"flexDirection": "row",
|
|
@@ -381,7 +381,7 @@ exports[`StyledButtonContainer has outlined-secondary style 1`] = `
|
|
|
381
381
|
"alignItems": "center",
|
|
382
382
|
"alignSelf": "stretch",
|
|
383
383
|
"backgroundColor": "transparent",
|
|
384
|
-
"borderColor": "#
|
|
384
|
+
"borderColor": "#460078",
|
|
385
385
|
"borderRadius": 32,
|
|
386
386
|
"borderWidth": 2,
|
|
387
387
|
"flexDirection": "row",
|
|
@@ -923,7 +923,7 @@ exports[`StyledButtonIcon has outlined-primary style 1`] = `
|
|
|
923
923
|
},
|
|
924
924
|
[
|
|
925
925
|
{
|
|
926
|
-
"color": "#
|
|
926
|
+
"color": "#7622d7",
|
|
927
927
|
"fontSize": 20,
|
|
928
928
|
},
|
|
929
929
|
undefined,
|
|
@@ -974,7 +974,7 @@ exports[`StyledButtonIcon has outlined-secondary style 1`] = `
|
|
|
974
974
|
},
|
|
975
975
|
[
|
|
976
976
|
{
|
|
977
|
-
"color": "#
|
|
977
|
+
"color": "#460078",
|
|
978
978
|
"fontSize": 20,
|
|
979
979
|
},
|
|
980
980
|
undefined,
|
|
@@ -1076,7 +1076,7 @@ exports[`StyledButtonIcon has text-primary style 1`] = `
|
|
|
1076
1076
|
},
|
|
1077
1077
|
[
|
|
1078
1078
|
{
|
|
1079
|
-
"color": "#
|
|
1079
|
+
"color": "#7622d7",
|
|
1080
1080
|
"fontSize": 20,
|
|
1081
1081
|
},
|
|
1082
1082
|
undefined,
|
|
@@ -1127,7 +1127,7 @@ exports[`StyledButtonIcon has text-secondary style 1`] = `
|
|
|
1127
1127
|
},
|
|
1128
1128
|
[
|
|
1129
1129
|
{
|
|
1130
|
-
"color": "#
|
|
1130
|
+
"color": "#460078",
|
|
1131
1131
|
"fontSize": 20,
|
|
1132
1132
|
},
|
|
1133
1133
|
undefined,
|
|
@@ -1552,7 +1552,7 @@ exports[`StyledButtonText has outlined-primary style 1`] = `
|
|
|
1552
1552
|
},
|
|
1553
1553
|
[
|
|
1554
1554
|
{
|
|
1555
|
-
"color": "#
|
|
1555
|
+
"color": "#7622d7",
|
|
1556
1556
|
"flexShrink": 1,
|
|
1557
1557
|
"textAlign": "center",
|
|
1558
1558
|
},
|
|
@@ -1611,7 +1611,7 @@ exports[`StyledButtonText has outlined-secondary style 1`] = `
|
|
|
1611
1611
|
},
|
|
1612
1612
|
[
|
|
1613
1613
|
{
|
|
1614
|
-
"color": "#
|
|
1614
|
+
"color": "#460078",
|
|
1615
1615
|
"flexShrink": 1,
|
|
1616
1616
|
"textAlign": "center",
|
|
1617
1617
|
},
|
|
@@ -1729,7 +1729,7 @@ exports[`StyledButtonText has text-primary style 1`] = `
|
|
|
1729
1729
|
},
|
|
1730
1730
|
[
|
|
1731
1731
|
{
|
|
1732
|
-
"color": "#
|
|
1732
|
+
"color": "#7622d7",
|
|
1733
1733
|
"flexShrink": 1,
|
|
1734
1734
|
"textAlign": "center",
|
|
1735
1735
|
},
|
|
@@ -1788,7 +1788,7 @@ exports[`StyledButtonText has text-secondary style 1`] = `
|
|
|
1788
1788
|
},
|
|
1789
1789
|
[
|
|
1790
1790
|
{
|
|
1791
|
-
"color": "#
|
|
1791
|
+
"color": "#460078",
|
|
1792
1792
|
"flexShrink": 1,
|
|
1793
1793
|
"textAlign": "center",
|
|
1794
1794
|
},
|
|
@@ -90,7 +90,7 @@ exports[`CalendarRowItem renders correctly 1`] = `
|
|
|
90
90
|
style={
|
|
91
91
|
[
|
|
92
92
|
{
|
|
93
|
-
"backgroundColor": "#
|
|
93
|
+
"backgroundColor": "#7622d7",
|
|
94
94
|
"borderRadius": 999,
|
|
95
95
|
"bottom": "10%",
|
|
96
96
|
"height": 4,
|
|
@@ -218,7 +218,7 @@ exports[`CalendarRowItem renders correctly 2`] = `
|
|
|
218
218
|
style={
|
|
219
219
|
[
|
|
220
220
|
{
|
|
221
|
-
"backgroundColor": "#
|
|
221
|
+
"backgroundColor": "#7622d7",
|
|
222
222
|
"borderRadius": 999,
|
|
223
223
|
"bottom": "10%",
|
|
224
224
|
"height": 4,
|
|
@@ -310,7 +310,7 @@ exports[`CalendarRowItem renders correctly when is current date 1`] = `
|
|
|
310
310
|
style={
|
|
311
311
|
{
|
|
312
312
|
"alignItems": "center",
|
|
313
|
-
"backgroundColor": "#
|
|
313
|
+
"backgroundColor": "#7622d7",
|
|
314
314
|
"borderColor": "#001f23",
|
|
315
315
|
"borderRadius": 999,
|
|
316
316
|
"borderWidth": 0,
|
|
@@ -437,7 +437,7 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
437
437
|
style={
|
|
438
438
|
{
|
|
439
439
|
"alignItems": "center",
|
|
440
|
-
"backgroundColor": "#
|
|
440
|
+
"backgroundColor": "#7622d7",
|
|
441
441
|
"borderColor": "#001f23",
|
|
442
442
|
"borderRadius": 999,
|
|
443
443
|
"borderWidth": 0,
|
|
@@ -564,7 +564,7 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
564
564
|
style={
|
|
565
565
|
{
|
|
566
566
|
"alignItems": "center",
|
|
567
|
-
"backgroundColor": "#
|
|
567
|
+
"backgroundColor": "#7622d7",
|
|
568
568
|
"borderColor": "#001f23",
|
|
569
569
|
"borderRadius": 999,
|
|
570
570
|
"borderWidth": 0,
|
|
@@ -2,7 +2,13 @@ import { View } from 'react-native';
|
|
|
2
2
|
import styled from '@emotion/native';
|
|
3
3
|
|
|
4
4
|
const StyledCard = styled(View)<{
|
|
5
|
-
themeIntent?:
|
|
5
|
+
themeIntent?:
|
|
6
|
+
| 'primary'
|
|
7
|
+
| 'success'
|
|
8
|
+
| 'warning'
|
|
9
|
+
| 'danger'
|
|
10
|
+
| 'archived'
|
|
11
|
+
| 'neutral';
|
|
6
12
|
}>(({ theme, themeIntent }) => ({
|
|
7
13
|
...(themeIntent !== undefined && {
|
|
8
14
|
backgroundColor: theme.__hd__.card.colors[themeIntent],
|
|
@@ -207,7 +207,7 @@ exports[`Card renders correctly when intent is primary 1`] = `
|
|
|
207
207
|
style={
|
|
208
208
|
[
|
|
209
209
|
{
|
|
210
|
-
"backgroundColor": "#
|
|
210
|
+
"backgroundColor": "#7622d7",
|
|
211
211
|
"borderRadius": 12,
|
|
212
212
|
"overflow": "hidden",
|
|
213
213
|
},
|
|
@@ -260,6 +260,70 @@ exports[`Card renders correctly when intent is primary 1`] = `
|
|
|
260
260
|
</View>
|
|
261
261
|
`;
|
|
262
262
|
|
|
263
|
+
exports[`Card renders correctly when intent is subdued 1`] = `
|
|
264
|
+
<View
|
|
265
|
+
style={
|
|
266
|
+
{
|
|
267
|
+
"flex": 1,
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
>
|
|
271
|
+
<View
|
|
272
|
+
style={
|
|
273
|
+
[
|
|
274
|
+
{
|
|
275
|
+
"borderRadius": 12,
|
|
276
|
+
"overflow": "hidden",
|
|
277
|
+
},
|
|
278
|
+
undefined,
|
|
279
|
+
]
|
|
280
|
+
}
|
|
281
|
+
themeIntent="subdued"
|
|
282
|
+
>
|
|
283
|
+
<Text
|
|
284
|
+
allowFontScaling={false}
|
|
285
|
+
style={
|
|
286
|
+
[
|
|
287
|
+
{
|
|
288
|
+
"color": "#001f23",
|
|
289
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
290
|
+
"fontSize": 14,
|
|
291
|
+
"letterSpacing": 0.48,
|
|
292
|
+
"lineHeight": 22,
|
|
293
|
+
},
|
|
294
|
+
undefined,
|
|
295
|
+
]
|
|
296
|
+
}
|
|
297
|
+
themeIntent="body"
|
|
298
|
+
themeTypeface="neutral"
|
|
299
|
+
themeVariant="small"
|
|
300
|
+
>
|
|
301
|
+
Card Content
|
|
302
|
+
</Text>
|
|
303
|
+
</View>
|
|
304
|
+
<View
|
|
305
|
+
pointerEvents="box-none"
|
|
306
|
+
position="bottom"
|
|
307
|
+
style={
|
|
308
|
+
[
|
|
309
|
+
{
|
|
310
|
+
"bottom": 0,
|
|
311
|
+
"elevation": 9999,
|
|
312
|
+
"flexDirection": "column-reverse",
|
|
313
|
+
"left": 0,
|
|
314
|
+
"paddingHorizontal": 24,
|
|
315
|
+
"paddingVertical": 16,
|
|
316
|
+
"position": "absolute",
|
|
317
|
+
"right": 0,
|
|
318
|
+
"top": 0,
|
|
319
|
+
},
|
|
320
|
+
undefined,
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
/>
|
|
324
|
+
</View>
|
|
325
|
+
`;
|
|
326
|
+
|
|
263
327
|
exports[`Card renders correctly when intent is success 1`] = `
|
|
264
328
|
<View
|
|
265
329
|
style={
|
|
@@ -12,7 +12,13 @@ export interface CardProps extends ViewProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Visual intent color to apply to card.
|
|
14
14
|
*/
|
|
15
|
-
intent?:
|
|
15
|
+
intent?:
|
|
16
|
+
| 'primary'
|
|
17
|
+
| 'success'
|
|
18
|
+
| 'warning'
|
|
19
|
+
| 'danger'
|
|
20
|
+
| 'archived'
|
|
21
|
+
| 'neutral';
|
|
16
22
|
/**
|
|
17
23
|
* Additional style.
|
|
18
24
|
*/
|
|
@@ -241,7 +241,7 @@ exports[`CardCarousel android should render correctly on iOS 1`] = `
|
|
|
241
241
|
collapsable={false}
|
|
242
242
|
style={
|
|
243
243
|
{
|
|
244
|
-
"backgroundColor": "#
|
|
244
|
+
"backgroundColor": "#7622d7",
|
|
245
245
|
"borderRadius": 999,
|
|
246
246
|
"height": 8,
|
|
247
247
|
"marginHorizontal": 8,
|
|
@@ -260,7 +260,7 @@ exports[`CardCarousel android should render correctly on iOS 1`] = `
|
|
|
260
260
|
collapsable={false}
|
|
261
261
|
style={
|
|
262
262
|
{
|
|
263
|
-
"backgroundColor": "#
|
|
263
|
+
"backgroundColor": "#7622d7",
|
|
264
264
|
"borderRadius": 999,
|
|
265
265
|
"height": 8,
|
|
266
266
|
"marginHorizontal": 8,
|
|
@@ -536,7 +536,7 @@ exports[`CardCarousel ios should render correctly on iOS 1`] = `
|
|
|
536
536
|
collapsable={false}
|
|
537
537
|
style={
|
|
538
538
|
{
|
|
539
|
-
"backgroundColor": "#
|
|
539
|
+
"backgroundColor": "#7622d7",
|
|
540
540
|
"borderRadius": 999,
|
|
541
541
|
"height": 8,
|
|
542
542
|
"marginHorizontal": 8,
|
|
@@ -555,7 +555,7 @@ exports[`CardCarousel ios should render correctly on iOS 1`] = `
|
|
|
555
555
|
collapsable={false}
|
|
556
556
|
style={
|
|
557
557
|
{
|
|
558
|
-
"backgroundColor": "#
|
|
558
|
+
"backgroundColor": "#7622d7",
|
|
559
559
|
"borderRadius": 999,
|
|
560
560
|
"height": 8,
|
|
561
561
|
"marginHorizontal": 8,
|
|
@@ -124,7 +124,7 @@ exports[`StyledPageControl should render correctly 1`] = `
|
|
|
124
124
|
collapsable={false}
|
|
125
125
|
style={
|
|
126
126
|
{
|
|
127
|
-
"backgroundColor": "#
|
|
127
|
+
"backgroundColor": "#7622d7",
|
|
128
128
|
"borderRadius": 999,
|
|
129
129
|
"height": 8,
|
|
130
130
|
"marginHorizontal": 8,
|
|
@@ -143,7 +143,7 @@ exports[`StyledPageControl should render correctly 1`] = `
|
|
|
143
143
|
collapsable={false}
|
|
144
144
|
style={
|
|
145
145
|
{
|
|
146
|
-
"backgroundColor": "#
|
|
146
|
+
"backgroundColor": "#7622d7",
|
|
147
147
|
"borderRadius": 999,
|
|
148
148
|
"height": 8,
|
|
149
149
|
"marginHorizontal": 8,
|
|
@@ -162,7 +162,7 @@ exports[`StyledPageControl should render correctly 1`] = `
|
|
|
162
162
|
collapsable={false}
|
|
163
163
|
style={
|
|
164
164
|
{
|
|
165
|
-
"backgroundColor": "#
|
|
165
|
+
"backgroundColor": "#7622d7",
|
|
166
166
|
"borderRadius": 999,
|
|
167
167
|
"height": 8,
|
|
168
168
|
"marginHorizontal": 8,
|
|
@@ -12,7 +12,7 @@ exports[`StyledBackDrop renders correct basic style 1`] = `
|
|
|
12
12
|
style={
|
|
13
13
|
[
|
|
14
14
|
{
|
|
15
|
-
"backgroundColor": "#
|
|
15
|
+
"backgroundColor": "#F1E9FB",
|
|
16
16
|
"bottom": 0,
|
|
17
17
|
"left": 0,
|
|
18
18
|
"position": "absolute",
|
|
@@ -22,7 +22,7 @@ exports[`StyledBackDrop renders correct basic style 1`] = `
|
|
|
22
22
|
undefined,
|
|
23
23
|
]
|
|
24
24
|
}
|
|
25
|
-
themeSlideBackground="#
|
|
25
|
+
themeSlideBackground="#F1E9FB"
|
|
26
26
|
/>
|
|
27
27
|
<View
|
|
28
28
|
pointerEvents="box-none"
|
|
@@ -15,7 +15,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
15
15
|
style={
|
|
16
16
|
[
|
|
17
17
|
{
|
|
18
|
-
"backgroundColor": "#
|
|
18
|
+
"backgroundColor": "#F1E9FB",
|
|
19
19
|
"bottom": 0,
|
|
20
20
|
"left": 0,
|
|
21
21
|
"position": "absolute",
|
|
@@ -25,7 +25,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
25
25
|
undefined,
|
|
26
26
|
]
|
|
27
27
|
}
|
|
28
|
-
themeSlideBackground="#
|
|
28
|
+
themeSlideBackground="#F1E9FB"
|
|
29
29
|
/>
|
|
30
30
|
<View
|
|
31
31
|
style={
|
|
@@ -55,13 +55,13 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
55
55
|
data={
|
|
56
56
|
[
|
|
57
57
|
{
|
|
58
|
-
"background": "#
|
|
58
|
+
"background": "#F1E9FB",
|
|
59
59
|
"body": "Access your Work, Money and Benefits in the palm of your hand.",
|
|
60
60
|
"heading": "Welcome to the new Employment Hero app",
|
|
61
61
|
"image": 1,
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
"background": "#
|
|
64
|
+
"background": "#B382FD",
|
|
65
65
|
"body": "Our app now has a new bright clean modern look and feel with the same great features.",
|
|
66
66
|
"content": <Image
|
|
67
67
|
source={
|
|
@@ -74,7 +74,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
74
74
|
"image": "https://picsum.photos/800/1200",
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
"background": "#
|
|
77
|
+
"background": "#B382FD",
|
|
78
78
|
"body": "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.",
|
|
79
79
|
"heading": "Easier to get around",
|
|
80
80
|
"image": {
|
|
@@ -85,7 +85,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
85
85
|
},
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
"background": "#
|
|
88
|
+
"background": "#B382FD",
|
|
89
89
|
"heading": "Test slide 4",
|
|
90
90
|
"image": {
|
|
91
91
|
"height": 100,
|
|
@@ -94,7 +94,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
94
94
|
},
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
|
-
"background": "#
|
|
97
|
+
"background": "#B382FD",
|
|
98
98
|
"heading": "Test slide 5",
|
|
99
99
|
},
|
|
100
100
|
]
|
|
@@ -701,7 +701,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
701
701
|
{
|
|
702
702
|
"alignItems": "center",
|
|
703
703
|
"alignSelf": "stretch",
|
|
704
|
-
"backgroundColor": "#
|
|
704
|
+
"backgroundColor": "#7622d7",
|
|
705
705
|
"borderRadius": 32,
|
|
706
706
|
"flexDirection": "row",
|
|
707
707
|
"height": 60,
|
|
@@ -769,7 +769,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
769
769
|
collapsable={false}
|
|
770
770
|
style={
|
|
771
771
|
{
|
|
772
|
-
"backgroundColor": "#
|
|
772
|
+
"backgroundColor": "#7622d7",
|
|
773
773
|
"borderRadius": 999,
|
|
774
774
|
"height": 8,
|
|
775
775
|
"marginHorizontal": 8,
|
|
@@ -788,7 +788,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
788
788
|
collapsable={false}
|
|
789
789
|
style={
|
|
790
790
|
{
|
|
791
|
-
"backgroundColor": "#
|
|
791
|
+
"backgroundColor": "#7622d7",
|
|
792
792
|
"borderRadius": 999,
|
|
793
793
|
"height": 8,
|
|
794
794
|
"marginHorizontal": 8,
|
|
@@ -807,7 +807,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
807
807
|
collapsable={false}
|
|
808
808
|
style={
|
|
809
809
|
{
|
|
810
|
-
"backgroundColor": "#
|
|
810
|
+
"backgroundColor": "#7622d7",
|
|
811
811
|
"borderRadius": 999,
|
|
812
812
|
"height": 8,
|
|
813
813
|
"marginHorizontal": 8,
|
|
@@ -826,7 +826,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
826
826
|
collapsable={false}
|
|
827
827
|
style={
|
|
828
828
|
{
|
|
829
|
-
"backgroundColor": "#
|
|
829
|
+
"backgroundColor": "#7622d7",
|
|
830
830
|
"borderRadius": 999,
|
|
831
831
|
"height": 8,
|
|
832
832
|
"marginHorizontal": 8,
|
|
@@ -845,7 +845,7 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
|
|
|
845
845
|
collapsable={false}
|
|
846
846
|
style={
|
|
847
847
|
{
|
|
848
|
-
"backgroundColor": "#
|
|
848
|
+
"backgroundColor": "#7622d7",
|
|
849
849
|
"borderRadius": 999,
|
|
850
850
|
"height": 8,
|
|
851
851
|
"marginHorizontal": 8,
|
|
@@ -897,7 +897,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
897
897
|
style={
|
|
898
898
|
[
|
|
899
899
|
{
|
|
900
|
-
"backgroundColor": "#
|
|
900
|
+
"backgroundColor": "#F1E9FB",
|
|
901
901
|
"bottom": 0,
|
|
902
902
|
"left": 0,
|
|
903
903
|
"position": "absolute",
|
|
@@ -907,7 +907,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
907
907
|
undefined,
|
|
908
908
|
]
|
|
909
909
|
}
|
|
910
|
-
themeSlideBackground="#
|
|
910
|
+
themeSlideBackground="#F1E9FB"
|
|
911
911
|
/>
|
|
912
912
|
<View
|
|
913
913
|
style={
|
|
@@ -946,7 +946,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
946
946
|
collapsable={false}
|
|
947
947
|
style={
|
|
948
948
|
{
|
|
949
|
-
"backgroundColor": "#
|
|
949
|
+
"backgroundColor": "#7622d7",
|
|
950
950
|
"borderRadius": 999,
|
|
951
951
|
"height": 8,
|
|
952
952
|
"marginHorizontal": 8,
|
|
@@ -965,7 +965,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
965
965
|
collapsable={false}
|
|
966
966
|
style={
|
|
967
967
|
{
|
|
968
|
-
"backgroundColor": "#
|
|
968
|
+
"backgroundColor": "#7622d7",
|
|
969
969
|
"borderRadius": 999,
|
|
970
970
|
"height": 8,
|
|
971
971
|
"marginHorizontal": 8,
|
|
@@ -984,7 +984,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
984
984
|
collapsable={false}
|
|
985
985
|
style={
|
|
986
986
|
{
|
|
987
|
-
"backgroundColor": "#
|
|
987
|
+
"backgroundColor": "#7622d7",
|
|
988
988
|
"borderRadius": 999,
|
|
989
989
|
"height": 8,
|
|
990
990
|
"marginHorizontal": 8,
|
|
@@ -1003,7 +1003,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1003
1003
|
collapsable={false}
|
|
1004
1004
|
style={
|
|
1005
1005
|
{
|
|
1006
|
-
"backgroundColor": "#
|
|
1006
|
+
"backgroundColor": "#7622d7",
|
|
1007
1007
|
"borderRadius": 999,
|
|
1008
1008
|
"height": 8,
|
|
1009
1009
|
"marginHorizontal": 8,
|
|
@@ -1022,7 +1022,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1022
1022
|
collapsable={false}
|
|
1023
1023
|
style={
|
|
1024
1024
|
{
|
|
1025
|
-
"backgroundColor": "#
|
|
1025
|
+
"backgroundColor": "#7622d7",
|
|
1026
1026
|
"borderRadius": 999,
|
|
1027
1027
|
"height": 8,
|
|
1028
1028
|
"marginHorizontal": 8,
|
|
@@ -1050,13 +1050,13 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1050
1050
|
data={
|
|
1051
1051
|
[
|
|
1052
1052
|
{
|
|
1053
|
-
"background": "#
|
|
1053
|
+
"background": "#F1E9FB",
|
|
1054
1054
|
"body": "Access your Work, Money and Benefits in the palm of your hand.",
|
|
1055
1055
|
"heading": "Welcome to the new Employment Hero app",
|
|
1056
1056
|
"image": 1,
|
|
1057
1057
|
},
|
|
1058
1058
|
{
|
|
1059
|
-
"background": "#
|
|
1059
|
+
"background": "#B382FD",
|
|
1060
1060
|
"body": "Our app now has a new bright clean modern look and feel with the same great features.",
|
|
1061
1061
|
"content": <Image
|
|
1062
1062
|
source={
|
|
@@ -1069,7 +1069,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1069
1069
|
"image": "https://picsum.photos/800/1200",
|
|
1070
1070
|
},
|
|
1071
1071
|
{
|
|
1072
|
-
"background": "#
|
|
1072
|
+
"background": "#B382FD",
|
|
1073
1073
|
"body": "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.",
|
|
1074
1074
|
"heading": "Easier to get around",
|
|
1075
1075
|
"image": {
|
|
@@ -1080,7 +1080,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1080
1080
|
},
|
|
1081
1081
|
},
|
|
1082
1082
|
{
|
|
1083
|
-
"background": "#
|
|
1083
|
+
"background": "#B382FD",
|
|
1084
1084
|
"heading": "Test slide 4",
|
|
1085
1085
|
"image": {
|
|
1086
1086
|
"height": 100,
|
|
@@ -1089,7 +1089,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1089
1089
|
},
|
|
1090
1090
|
},
|
|
1091
1091
|
{
|
|
1092
|
-
"background": "#
|
|
1092
|
+
"background": "#B382FD",
|
|
1093
1093
|
"heading": "Test slide 5",
|
|
1094
1094
|
},
|
|
1095
1095
|
]
|
|
@@ -1696,7 +1696,7 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
|
|
|
1696
1696
|
{
|
|
1697
1697
|
"alignItems": "center",
|
|
1698
1698
|
"alignSelf": "stretch",
|
|
1699
|
-
"backgroundColor": "#
|
|
1699
|
+
"backgroundColor": "#7622d7",
|
|
1700
1700
|
"borderRadius": 32,
|
|
1701
1701
|
"flexDirection": "row",
|
|
1702
1702
|
"height": 60,
|
|
@@ -1780,7 +1780,7 @@ exports[`Carousel should render correctly when image is undefined 1`] = `
|
|
|
1780
1780
|
style={
|
|
1781
1781
|
[
|
|
1782
1782
|
{
|
|
1783
|
-
"backgroundColor": "#
|
|
1783
|
+
"backgroundColor": "#B382FD",
|
|
1784
1784
|
"bottom": 0,
|
|
1785
1785
|
"left": 0,
|
|
1786
1786
|
"position": "absolute",
|
|
@@ -1790,7 +1790,7 @@ exports[`Carousel should render correctly when image is undefined 1`] = `
|
|
|
1790
1790
|
undefined,
|
|
1791
1791
|
]
|
|
1792
1792
|
}
|
|
1793
|
-
themeSlideBackground="#
|
|
1793
|
+
themeSlideBackground="#B382FD"
|
|
1794
1794
|
/>
|
|
1795
1795
|
<View
|
|
1796
1796
|
style={
|
|
@@ -1820,7 +1820,7 @@ exports[`Carousel should render correctly when image is undefined 1`] = `
|
|
|
1820
1820
|
data={
|
|
1821
1821
|
[
|
|
1822
1822
|
{
|
|
1823
|
-
"background": "#
|
|
1823
|
+
"background": "#B382FD",
|
|
1824
1824
|
"heading": "Test slide 5",
|
|
1825
1825
|
},
|
|
1826
1826
|
]
|
|
@@ -1972,7 +1972,7 @@ exports[`Carousel should render correctly when image is undefined 1`] = `
|
|
|
1972
1972
|
{
|
|
1973
1973
|
"alignItems": "center",
|
|
1974
1974
|
"alignSelf": "stretch",
|
|
1975
|
-
"backgroundColor": "#
|
|
1975
|
+
"backgroundColor": "#7622d7",
|
|
1976
1976
|
"borderRadius": 32,
|
|
1977
1977
|
"flexDirection": "row",
|
|
1978
1978
|
"height": 60,
|
|
@@ -655,7 +655,7 @@ exports[`Chip renders correctly with custom icon 2`] = `
|
|
|
655
655
|
{
|
|
656
656
|
"alignItems": "center",
|
|
657
657
|
"alignSelf": "flex-start",
|
|
658
|
-
"backgroundColor": "#
|
|
658
|
+
"backgroundColor": "#F1E9FB",
|
|
659
659
|
"borderColor": "transparent",
|
|
660
660
|
"borderRadius": 999,
|
|
661
661
|
"borderWidth": 1,
|
|
@@ -1143,7 +1143,7 @@ exports[`Chip renders correctly with variant filled and selected true 1`] = `
|
|
|
1143
1143
|
{
|
|
1144
1144
|
"alignItems": "center",
|
|
1145
1145
|
"alignSelf": "flex-start",
|
|
1146
|
-
"backgroundColor": "#
|
|
1146
|
+
"backgroundColor": "#F1E9FB",
|
|
1147
1147
|
"borderColor": "transparent",
|
|
1148
1148
|
"borderRadius": 999,
|
|
1149
1149
|
"borderWidth": 1,
|