@hero-design/rn 8.76.1-alpha.0 → 8.76.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +3 -4
- package/CHANGELOG.md +1 -9
- package/es/index.js +14 -16
- package/lib/index.js +14 -16
- package/package.json +2 -2
- package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +18 -84
- 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/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- 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/__tests__/__snapshots__/index.spec.tsx.snap +1 -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/ActionItem.tsx +3 -1
- package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -1
- package/src/components/FAB/ActionGroup/StyledActionItem.tsx +2 -2
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +89 -162
- package/src/components/FAB/FAB.tsx +1 -1
- package/src/components/FAB/StyledFAB.tsx +3 -2
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -25
- package/src/components/HeroDesignProvider/__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/theme/ThemeSwitcher.tsx +2 -12
- package/src/theme/components/fab.ts +6 -6
- package/src/theme/getTheme.ts +2 -2
- package/stats/8.76.1/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 +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/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 +3 -3
- 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 -2
- 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/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 +0 -0
- 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 +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/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/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 +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$colon$types.log +0 -0
- package/.turbo/turbo-lint.log +0 -183
- package/.turbo/turbo-publish:npm.log +0 -9
- package/.turbo/turbo-test.log +0 -4726
- package/.turbo/turbo-type-check.log +0 -0
- package/types/components/CompoundSearch/CompoundSearchHandler.d.ts +0 -31
- package/types/components/CompoundSearch/CompoundSearchTextInput.d.ts +0 -60
- package/types/components/CompoundSearch/StyledCompoundSearch.d.ts +0 -40
- package/types/components/CompoundSearch/index.d.ts +0 -8
- package/types/components/CompoundSearch/utils.d.ts +0 -8
- package/types/components/Search/SearchBasic.d.ts +0 -31
- package/types/components/Search/SearchCompound.d.ts +0 -60
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +0 -35
- package/types/theme/components/compoundSearch.d.ts +0 -36
|
@@ -72,7 +72,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
72
72
|
"paddingBottom": 0,
|
|
73
73
|
"paddingLeft": 0,
|
|
74
74
|
"paddingRight": 0,
|
|
75
|
-
"shadowColor": "#
|
|
75
|
+
"shadowColor": "#401960",
|
|
76
76
|
"shadowOffset": {
|
|
77
77
|
"height": 3,
|
|
78
78
|
"width": 0,
|
|
@@ -139,7 +139,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
139
139
|
style={
|
|
140
140
|
[
|
|
141
141
|
{
|
|
142
|
-
"color": "#
|
|
142
|
+
"color": "#401960",
|
|
143
143
|
"fontSize": 24,
|
|
144
144
|
},
|
|
145
145
|
undefined,
|
|
@@ -155,7 +155,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
155
155
|
style={
|
|
156
156
|
[
|
|
157
157
|
{
|
|
158
|
-
"color": "#
|
|
158
|
+
"color": "#401960",
|
|
159
159
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
160
160
|
"fontSize": 12,
|
|
161
161
|
"letterSpacing": 0.24,
|
|
@@ -90,7 +90,7 @@ exports[`CalendarRowItem renders correctly 1`] = `
|
|
|
90
90
|
style={
|
|
91
91
|
[
|
|
92
92
|
{
|
|
93
|
-
"backgroundColor": "#
|
|
93
|
+
"backgroundColor": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
568
568
|
"borderColor": "#001f23",
|
|
569
569
|
"borderRadius": 999,
|
|
570
570
|
"borderWidth": 0,
|
|
@@ -243,7 +243,7 @@ exports[`CardCarousel android should render correctly on iOS 1`] = `
|
|
|
243
243
|
collapsable={false}
|
|
244
244
|
style={
|
|
245
245
|
{
|
|
246
|
-
"backgroundColor": "#
|
|
246
|
+
"backgroundColor": "#401960",
|
|
247
247
|
"borderRadius": 999,
|
|
248
248
|
"height": 8,
|
|
249
249
|
"marginHorizontal": 8,
|
|
@@ -262,7 +262,7 @@ exports[`CardCarousel android should render correctly on iOS 1`] = `
|
|
|
262
262
|
collapsable={false}
|
|
263
263
|
style={
|
|
264
264
|
{
|
|
265
|
-
"backgroundColor": "#
|
|
265
|
+
"backgroundColor": "#401960",
|
|
266
266
|
"borderRadius": 999,
|
|
267
267
|
"height": 8,
|
|
268
268
|
"marginHorizontal": 8,
|
|
@@ -540,7 +540,7 @@ exports[`CardCarousel ios should render correctly on iOS 1`] = `
|
|
|
540
540
|
collapsable={false}
|
|
541
541
|
style={
|
|
542
542
|
{
|
|
543
|
-
"backgroundColor": "#
|
|
543
|
+
"backgroundColor": "#401960",
|
|
544
544
|
"borderRadius": 999,
|
|
545
545
|
"height": 8,
|
|
546
546
|
"marginHorizontal": 8,
|
|
@@ -559,7 +559,7 @@ exports[`CardCarousel ios should render correctly on iOS 1`] = `
|
|
|
559
559
|
collapsable={false}
|
|
560
560
|
style={
|
|
561
561
|
{
|
|
562
|
-
"backgroundColor": "#
|
|
562
|
+
"backgroundColor": "#401960",
|
|
563
563
|
"borderRadius": 999,
|
|
564
564
|
"height": 8,
|
|
565
565
|
"marginHorizontal": 8,
|
|
@@ -125,7 +125,7 @@ exports[`StyledPageControl should render correctly 1`] = `
|
|
|
125
125
|
collapsable={false}
|
|
126
126
|
style={
|
|
127
127
|
{
|
|
128
|
-
"backgroundColor": "#
|
|
128
|
+
"backgroundColor": "#401960",
|
|
129
129
|
"borderRadius": 999,
|
|
130
130
|
"height": 8,
|
|
131
131
|
"marginHorizontal": 8,
|
|
@@ -144,7 +144,7 @@ exports[`StyledPageControl should render correctly 1`] = `
|
|
|
144
144
|
collapsable={false}
|
|
145
145
|
style={
|
|
146
146
|
{
|
|
147
|
-
"backgroundColor": "#
|
|
147
|
+
"backgroundColor": "#401960",
|
|
148
148
|
"borderRadius": 999,
|
|
149
149
|
"height": 8,
|
|
150
150
|
"marginHorizontal": 8,
|
|
@@ -163,7 +163,7 @@ exports[`StyledPageControl should render correctly 1`] = `
|
|
|
163
163
|
collapsable={false}
|
|
164
164
|
style={
|
|
165
165
|
{
|
|
166
|
-
"backgroundColor": "#
|
|
166
|
+
"backgroundColor": "#401960",
|
|
167
167
|
"borderRadius": 999,
|
|
168
168
|
"height": 8,
|
|
169
169
|
"marginHorizontal": 8,
|
|
@@ -12,7 +12,7 @@ exports[`StyledBackDrop renders correct basic style 1`] = `
|
|
|
12
12
|
style={
|
|
13
13
|
[
|
|
14
14
|
{
|
|
15
|
-
"backgroundColor": "#
|
|
15
|
+
"backgroundColor": "#ece8ef",
|
|
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="#ece8ef"
|
|
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": "#ece8ef",
|
|
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="#ece8ef"
|
|
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": "#ece8ef",
|
|
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": "#ccd2d3",
|
|
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": "#ccd2d3",
|
|
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": "#ccd2d3",
|
|
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": "#ccd2d3",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#ece8ef",
|
|
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="#ece8ef"
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#401960",
|
|
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": "#ece8ef",
|
|
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": "#ccd2d3",
|
|
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": "#ccd2d3",
|
|
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": "#ccd2d3",
|
|
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": "#ccd2d3",
|
|
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": "#401960",
|
|
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": "#ccd2d3",
|
|
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="#ccd2d3"
|
|
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": "#ccd2d3",
|
|
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": "#401960",
|
|
1976
1976
|
"borderRadius": 32,
|
|
1977
1977
|
"flexDirection": "row",
|
|
1978
1978
|
"height": 60,
|
|
@@ -486,7 +486,7 @@ exports[`Chip renders correctly with custom icon 2`] = `
|
|
|
486
486
|
{
|
|
487
487
|
"alignItems": "center",
|
|
488
488
|
"alignSelf": "flex-start",
|
|
489
|
-
"backgroundColor": "#
|
|
489
|
+
"backgroundColor": "#ece8ef",
|
|
490
490
|
"borderColor": "transparent",
|
|
491
491
|
"borderRadius": 999,
|
|
492
492
|
"elevation": 3,
|
|
@@ -1150,7 +1150,7 @@ exports[`Chip renders correctly with variant filled and selected true 1`] = `
|
|
|
1150
1150
|
{
|
|
1151
1151
|
"alignItems": "center",
|
|
1152
1152
|
"alignSelf": "flex-start",
|
|
1153
|
-
"backgroundColor": "#
|
|
1153
|
+
"backgroundColor": "#ece8ef",
|
|
1154
1154
|
"borderColor": "transparent",
|
|
1155
1155
|
"borderRadius": 999,
|
|
1156
1156
|
"elevation": 3,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
StyledActionItemText,
|
|
13
13
|
StyledIcon,
|
|
14
14
|
} from './StyledActionItem';
|
|
15
|
+
import { useTheme } from '../../../theme';
|
|
15
16
|
import { StyledIconContainer } from '../StyledFAB';
|
|
16
17
|
|
|
17
18
|
export interface ActionItemProps {
|
|
@@ -37,6 +38,7 @@ const ActionItem = ({
|
|
|
37
38
|
index,
|
|
38
39
|
active = false,
|
|
39
40
|
}: AnimatedActionItemProps) => {
|
|
41
|
+
const theme = useTheme();
|
|
40
42
|
const animatedValue = React.useRef(new Animated.Value(0));
|
|
41
43
|
|
|
42
44
|
const translateY = animatedValue.current.interpolate({
|
|
@@ -57,7 +59,7 @@ const ActionItem = ({
|
|
|
57
59
|
return (
|
|
58
60
|
<Animated.View style={{ transform: [{ translateY }] }}>
|
|
59
61
|
<StyledActionItem
|
|
60
|
-
|
|
62
|
+
underlayColor={theme.__hd__.fab.colors.actionItemPressedBackground}
|
|
61
63
|
style={style}
|
|
62
64
|
onPress={onPress}
|
|
63
65
|
testID={testID}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TouchableHighlight } from 'react-native';
|
|
2
2
|
import styled from '@emotion/native';
|
|
3
3
|
import type { TouchableOpacityProps } from 'react-native';
|
|
4
4
|
import Typography from '../../Typography';
|
|
5
5
|
import Icon from '../../Icon';
|
|
6
6
|
import type { IconProps } from '../../Icon';
|
|
7
7
|
|
|
8
|
-
const StyledActionItem = styled(
|
|
8
|
+
const StyledActionItem = styled(TouchableHighlight)(({ theme }) => ({
|
|
9
9
|
padding: theme.__hd__.fab.space.actionItemPadding,
|
|
10
10
|
margin: theme.__hd__.fab.space.actionItemMargin,
|
|
11
11
|
marginRight: theme.__hd__.fab.space.actionItemMarginRight,
|