@hero-design/rn 8.35.0-alpha.4 → 8.35.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/.eslintrc.js +1 -0
- package/.turbo/turbo-build.log +2 -2
- package/.turbo/turbo-publish:npm.log +0 -9
- package/es/index.js +539 -637
- package/jest.config.js +1 -1
- package/lib/index.js +549 -647
- package/package.json +9 -9
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +3 -3
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -1
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +4 -4
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +6 -6
- package/src/components/Calendar/__tests__/index.spec.tsx +29 -0
- package/src/components/Calendar/index.tsx +10 -1
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +75 -74
- package/src/components/Carousel/index.tsx +1 -1
- package/src/components/DatePicker/DatePickerCalendar.tsx +23 -14
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -1
- package/src/components/FAB/index.tsx +0 -4
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +4 -4
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Portal/PortalHost.tsx +24 -0
- package/src/components/Portal/PortalProvider.tsx +29 -0
- package/src/components/Portal/__tests__/PortalHost.spec.tsx +50 -0
- package/src/components/Portal/__tests__/PortalProvider.spec.tsx +24 -0
- package/src/components/Portal/__tests__/index.spec.tsx +29 -0
- package/src/components/Portal/__tests__/reducer.spec.tsx +110 -0
- package/src/components/Portal/constants.ts +10 -0
- package/src/components/Portal/contexts.ts +14 -0
- package/src/components/Portal/index.tsx +42 -0
- package/src/components/Portal/reducer.ts +106 -0
- package/src/components/Portal/types.tsx +31 -0
- package/src/components/Portal/usePortal.ts +50 -0
- package/src/components/Portal/usePortalState.ts +11 -0
- package/src/components/Progress/StyledProgressBar.tsx +1 -0
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +46 -44
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +6 -6
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +7 -7
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
- package/src/components/Swipeable/index.tsx +6 -1
- package/src/components/Switch/SelectorSwitch/StyledSelectorSwitch.tsx +4 -7
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Switch/SelectorSwitch/index.tsx +7 -15
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +21 -21
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +6 -6
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Tag/StyledTag.tsx +6 -35
- package/src/components/Tag/__tests__/Tag.spec.tsx +13 -13
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +40 -79
- package/src/components/Tag/index.tsx +8 -6
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +7 -7
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +20 -20
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +1 -1
- 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 +3 -3
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/index.ts +2 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +49 -46
- package/src/theme/components/button.ts +1 -1
- package/src/theme/components/progress.ts +2 -2
- package/src/theme/components/swipeable.ts +5 -1
- package/src/theme/components/switch.ts +4 -4
- package/src/theme/components/tabs.ts +1 -1
- package/src/theme/components/tag.ts +2 -2
- package/src/theme/components/typography.ts +2 -2
- package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +7 -7
- package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +5 -5
- package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +6 -6
- package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +6 -6
- package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +7 -7
- package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +5 -5
- package/src/theme/global/colors/eBens.ts +2 -2
- package/src/theme/global/colors/global.ts +5 -5
- package/src/theme/global/colors/jobs.ts +1 -1
- package/src/theme/global/colors/swag.ts +1 -1
- package/src/theme/global/colors/wallet.ts +2 -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 +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 +2 -1
- 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 +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 -3
- 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/Portal/PortalHost.d.ts +5 -0
- package/types/components/Portal/PortalProvider.d.ts +7 -0
- package/types/components/Portal/constants.d.ts +8 -0
- package/types/components/Portal/contexts.d.ts +9 -0
- package/types/components/Portal/index.d.ts +13 -0
- package/types/components/Portal/reducer.d.ts +5 -0
- package/types/components/Portal/types.d.ts +22 -0
- package/types/components/Portal/usePortal.d.ts +8 -0
- package/types/components/Portal/usePortalState.d.ts +1 -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 +1 -1
- 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 +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 +1 -4
- package/types/components/Tag/index.d.ts +1 -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 +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 +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 +3 -0
- package/types/theme/components/switch.d.ts +1 -1
- package/types/theme/components/tabs.d.ts +0 -0
- package/types/theme/components/tag.d.ts +1 -1
- 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/.tool-versions +0 -1
- package/.turbo/turbo-build:types.log +0 -9
- package/.turbo/turbo-lint.log +0 -163
- package/.turbo/turbo-test.log +0 -725
- package/.turbo/turbo-type-check.log +0 -1
- package/types/components/FAB/ActionGroup/FABModal.d.ts +0 -21
- package/types/components/FAB/ActionGroup/FABModalContentWrapper.d.ts +0 -18
- package/types/components/FAB/ActionGroup/FABProvider.d.ts +0 -5
- package/types/components/FAB/ActionGroup/ModalPresenter/ModalPresenter.d.ts +0 -34
- package/types/components/FAB/ActionGroup/ModalPresenter/index.d.ts +0 -3
- package/types/components/Tabs/ScrollableTabsV2/SceneView.d.ts +0 -10
- package/types/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.d.ts +0 -9
- package/types/components/Tabs/ScrollableTabsV2/index.d.ts +0 -4
package/.turbo/turbo-test.log
DELETED
|
@@ -1,725 +0,0 @@
|
|
|
1
|
-
$ jest --runInBand
|
|
2
|
-
PASS src/components/TextInput/__tests__/index.spec.tsx (6.007 s)
|
|
3
|
-
PASS src/components/Tabs/__tests__/ScrollableTabs.spec.tsx
|
|
4
|
-
PASS src/components/Tabs/__tests__/index.spec.tsx
|
|
5
|
-
PASS src/components/Toast/__tests__/Toast.spec.tsx
|
|
6
|
-
PASS src/components/TextInput/__tests__/StyledTextInput.spec.tsx
|
|
7
|
-
PASS src/components/Toast/__tests__/index.spec.tsx
|
|
8
|
-
PASS src/components/Box/__tests__/index.spec.tsx
|
|
9
|
-
PASS src/components/Carousel/__tests__/index.spec.tsx
|
|
10
|
-
● Console
|
|
11
|
-
|
|
12
|
-
console.warn
|
|
13
|
-
The use of 'pageControlPosition == bottom' has been deprecated
|
|
14
|
-
|
|
15
|
-
24 | // eslint-disable-next-line no-console
|
|
16
|
-
25 | if (cond) {
|
|
17
|
-
> 26 | console.warn(message);
|
|
18
|
-
| ^
|
|
19
|
-
27 | }
|
|
20
|
-
28 | }, [message, cond]);
|
|
21
|
-
29 | };
|
|
22
|
-
|
|
23
|
-
at src/utils/hooks.ts:26:15
|
|
24
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
25
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
26
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
27
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
28
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
29
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
30
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
31
|
-
|
|
32
|
-
console.warn
|
|
33
|
-
The use of 'pageControlPosition == bottom' has been deprecated
|
|
34
|
-
|
|
35
|
-
24 | // eslint-disable-next-line no-console
|
|
36
|
-
25 | if (cond) {
|
|
37
|
-
> 26 | console.warn(message);
|
|
38
|
-
| ^
|
|
39
|
-
27 | }
|
|
40
|
-
28 | }, [message, cond]);
|
|
41
|
-
29 | };
|
|
42
|
-
|
|
43
|
-
at src/utils/hooks.ts:26:15
|
|
44
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
45
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
46
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
47
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
48
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
49
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
50
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
51
|
-
|
|
52
|
-
PASS src/components/Toast/__tests__/ToastContainer.spec.tsx
|
|
53
|
-
● Console
|
|
54
|
-
|
|
55
|
-
console.error
|
|
56
|
-
Warning: An update to ForwardRef inside a test was not wrapped in act(...).
|
|
57
|
-
|
|
58
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
59
|
-
|
|
60
|
-
act(() => {
|
|
61
|
-
/* fire events that update state */
|
|
62
|
-
});
|
|
63
|
-
/* assert on the output */
|
|
64
|
-
|
|
65
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
|
|
66
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/src/components/Toast/ToastContainer.tsx:41:6
|
|
67
|
-
at ThemeProvider (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
|
|
68
|
-
|
|
69
|
-
29 | style={{ marginBottom: theme.space.small }}
|
|
70
|
-
30 | onDismiss={() => {
|
|
71
|
-
> 31 | setToastList((state) => state.filter((item) => item.id !== toast.id));
|
|
72
|
-
| ^
|
|
73
|
-
32 | toast.props.onDismiss?.();
|
|
74
|
-
33 | }}
|
|
75
|
-
34 | />
|
|
76
|
-
|
|
77
|
-
at printWarning (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:72:30)
|
|
78
|
-
at error (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:46:7)
|
|
79
|
-
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16060:9)
|
|
80
|
-
at scheduleUpdateOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14280:5)
|
|
81
|
-
at setToastList (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7235:16)
|
|
82
|
-
at onDismiss (src/components/Toast/ToastContainer.tsx:31:9)
|
|
83
|
-
at src/components/Toast/Toast.tsx:66:35
|
|
84
|
-
at callTimer (../../node_modules/@sinonjs/fake-timers/src/fake-timers-src.js:729:24)
|
|
85
|
-
|
|
86
|
-
console.error
|
|
87
|
-
Warning: An update to ForwardRef inside a test was not wrapped in act(...).
|
|
88
|
-
|
|
89
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
90
|
-
|
|
91
|
-
act(() => {
|
|
92
|
-
/* fire events that update state */
|
|
93
|
-
});
|
|
94
|
-
/* assert on the output */
|
|
95
|
-
|
|
96
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
|
|
97
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/src/components/Toast/ToastContainer.tsx:41:6
|
|
98
|
-
at ThemeProvider (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
|
|
99
|
-
|
|
100
|
-
50 | };
|
|
101
|
-
51 |
|
|
102
|
-
> 52 | setToastList((state) => [item, ...state]);
|
|
103
|
-
| ^
|
|
104
|
-
53 | return item.id;
|
|
105
|
-
54 | },
|
|
106
|
-
55 | hide: (id) => {
|
|
107
|
-
|
|
108
|
-
at printWarning (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:72:30)
|
|
109
|
-
at error (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:46:7)
|
|
110
|
-
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16060:9)
|
|
111
|
-
at scheduleUpdateOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14280:5)
|
|
112
|
-
at setToastList (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7235:16)
|
|
113
|
-
at Object.show (src/components/Toast/ToastContainer.tsx:52:7)
|
|
114
|
-
at Object.<anonymous> (src/components/Toast/__tests__/ToastContainer.spec.tsx:77:34)
|
|
115
|
-
|
|
116
|
-
PASS src/components/Calendar/__tests__/index.spec.tsx
|
|
117
|
-
● Console
|
|
118
|
-
|
|
119
|
-
console.error
|
|
120
|
-
Warning: Each child in a list should have a unique "key" prop.
|
|
121
|
-
|
|
122
|
-
Check the render method of `Calendar`. See https://reactjs.org/link/warning-keys for more information.
|
|
123
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
124
|
-
at Calendar (/Volumes/Data/Projects/hero-design/packages/rn/src/components/Calendar/index.tsx:74:3)
|
|
125
|
-
at ThemeProvider (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
|
|
126
|
-
|
|
127
|
-
171 | ))}
|
|
128
|
-
172 | </StyledCalendarRow>
|
|
129
|
-
> 173 | <StyledCalendarRow>
|
|
130
|
-
| ^
|
|
131
|
-
174 | {daysOfPreviousMonth.map((date) =>
|
|
132
|
-
175 | date ? (
|
|
133
|
-
176 | <CalendarRowItem
|
|
134
|
-
|
|
135
|
-
at printWarning (node_modules/react/cjs/react-jsx-runtime.development.js:87:30)
|
|
136
|
-
at error (node_modules/react/cjs/react-jsx-runtime.development.js:61:7)
|
|
137
|
-
at validateExplicitKey (node_modules/react/cjs/react-jsx-runtime.development.js:1073:5)
|
|
138
|
-
at validateChildKeys (node_modules/react/cjs/react-jsx-runtime.development.js:1100:11)
|
|
139
|
-
at jsxWithValidation (node_modules/react/cjs/react-jsx-runtime.development.js:1261:15)
|
|
140
|
-
at jsxWithValidationStatic (node_modules/react/cjs/react-jsx-runtime.development.js:1291:12)
|
|
141
|
-
at Calendar (src/components/Calendar/index.tsx:173:7)
|
|
142
|
-
at renderWithHooks (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6097:18)
|
|
143
|
-
|
|
144
|
-
PASS src/components/PinInput/__tests__/index.spec.tsx
|
|
145
|
-
PASS src/components/Success/__tests__/index.spec.tsx
|
|
146
|
-
PASS src/components/Spinner/__tests__/StyledSpinner.spec.tsx
|
|
147
|
-
PASS src/components/Tabs/__tests__/ScrollableTabsHeader.spec.tsx
|
|
148
|
-
PASS src/components/Tabs/__tests__/SceneView.spec.tsx
|
|
149
|
-
PASS src/components/Calendar/__tests__/helper.spec.ts
|
|
150
|
-
PASS src/components/TimePicker/__tests__/TimePickerIOS.spec.tsx
|
|
151
|
-
PASS src/components/FAB/ActionGroup/__tests__/index.spec.tsx
|
|
152
|
-
● Console
|
|
153
|
-
|
|
154
|
-
console.error
|
|
155
|
-
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
|
|
156
|
-
|
|
157
|
-
Check the render method of `emotion(Icon)`.
|
|
158
|
-
at Icon (/Volumes/Data/Projects/hero-design/packages/rn/src/components/Icon/index.tsx:47:3)
|
|
159
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
160
|
-
at AnimatedComponent (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:52:26)
|
|
161
|
-
at AnimatedComponentWrapper
|
|
162
|
-
at View
|
|
163
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
164
|
-
at AnimatedComponent (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:52:26)
|
|
165
|
-
at AnimatedComponentWrapper
|
|
166
|
-
at AnimatedFABIcon (/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/AnimatedFABIcon.tsx:12:28)
|
|
167
|
-
at View
|
|
168
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
169
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
170
|
-
at Box (/Volumes/Data/Projects/hero-design/packages/rn/src/components/Box/index.tsx:7:16)
|
|
171
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
172
|
-
at IconOnlyContent (/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/FAB.tsx:51:3)
|
|
173
|
-
at View
|
|
174
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
175
|
-
at TouchableHighlight (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js:155:25)
|
|
176
|
-
at TouchableHighlight
|
|
177
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
178
|
-
at FAB (/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/FAB.tsx:89:3)
|
|
179
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
180
|
-
at View
|
|
181
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
182
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
183
|
-
at ActionGroup (/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/ActionGroup/index.tsx:81:3)
|
|
184
|
-
at ThemeProvider (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
|
|
185
|
-
|
|
186
|
-
at printWarning (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:72:30)
|
|
187
|
-
at error (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:46:7)
|
|
188
|
-
at validateFunctionComponentInDev (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10528:9)
|
|
189
|
-
at mountIndeterminateComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10495:7)
|
|
190
|
-
at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11661:16)
|
|
191
|
-
at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15265:12)
|
|
192
|
-
at workLoopSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15201:5)
|
|
193
|
-
at renderRootSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15173:7)
|
|
194
|
-
|
|
195
|
-
PASS src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx
|
|
196
|
-
PASS src/components/FAB/__tests__/index.spec.tsx
|
|
197
|
-
● Console
|
|
198
|
-
|
|
199
|
-
console.error
|
|
200
|
-
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
|
|
201
|
-
|
|
202
|
-
Check the render method of `emotion(Icon)`.
|
|
203
|
-
at Icon (/Volumes/Data/Projects/hero-design/packages/rn/src/components/Icon/index.tsx:47:3)
|
|
204
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
205
|
-
at AnimatedComponent (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:52:26)
|
|
206
|
-
at AnimatedComponentWrapper
|
|
207
|
-
at View
|
|
208
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
209
|
-
at AnimatedComponent (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:52:26)
|
|
210
|
-
at AnimatedComponentWrapper
|
|
211
|
-
at AnimatedFABIcon (/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/AnimatedFABIcon.tsx:12:28)
|
|
212
|
-
at View
|
|
213
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
214
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
215
|
-
at Box (/Volumes/Data/Projects/hero-design/packages/rn/src/components/Box/index.tsx:7:16)
|
|
216
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
217
|
-
at IconOnlyContent (/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/FAB.tsx:51:3)
|
|
218
|
-
at View
|
|
219
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
220
|
-
at TouchableHighlight (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js:155:25)
|
|
221
|
-
at TouchableHighlight
|
|
222
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
223
|
-
at FAB (/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/FAB.tsx:89:3)
|
|
224
|
-
at ThemeProvider (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
|
|
225
|
-
|
|
226
|
-
at printWarning (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:72:30)
|
|
227
|
-
at error (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:46:7)
|
|
228
|
-
at validateFunctionComponentInDev (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10528:9)
|
|
229
|
-
at mountIndeterminateComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10495:7)
|
|
230
|
-
at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11661:16)
|
|
231
|
-
at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15265:12)
|
|
232
|
-
at workLoopSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15201:5)
|
|
233
|
-
at renderRootSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15173:7)
|
|
234
|
-
|
|
235
|
-
PASS src/components/TimePicker/__tests__/TimePickerAndroid.spec.tsx
|
|
236
|
-
PASS src/components/Attachment/__tests__/index.spec.tsx
|
|
237
|
-
PASS src/components/Progress/__tests__/index.spec.js
|
|
238
|
-
PASS src/components/Calendar/__tests__/CalendarRowItem.spec.tsx
|
|
239
|
-
PASS src/components/DatePicker/__tests__/DatePicker.spec.tsx
|
|
240
|
-
PASS src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx
|
|
241
|
-
PASS src/components/Accordion/__tests__/index.spec.tsx
|
|
242
|
-
PASS src/components/Accordion/__tests__/AccordionItem.spec.tsx
|
|
243
|
-
PASS src/components/DatePicker/__tests__/DatePickerAndroid.spec.tsx
|
|
244
|
-
PASS src/components/PinInput/__tests__/PinCell.spec.tsx
|
|
245
|
-
PASS src/components/Radio/__tests__/Radio.spec.tsx
|
|
246
|
-
PASS src/components/Radio/__tests__/RadioGroup.spec.tsx
|
|
247
|
-
PASS src/components/RefreshControl/__tests__/index.spec.tsx
|
|
248
|
-
PASS src/components/Swipeable/__tests__/SwipeableAction.spec.tsx
|
|
249
|
-
PASS src/components/Swipeable/__tests__/index.spec.tsx
|
|
250
|
-
PASS src/components/Card/__tests__/index.spec.tsx
|
|
251
|
-
PASS src/components/Carousel/__tests__/StyledCardCarousel.spec.tsx
|
|
252
|
-
PASS src/utils/__tests__/helpers.spec.ts
|
|
253
|
-
PASS src/components/Drawer/DragableDrawer/__tests__/helpers.spec.ts
|
|
254
|
-
PASS src/components/TimePicker/__tests__/TimePicker.spec.tsx
|
|
255
|
-
PASS src/components/Tabs/__tests__/TabWithBadge.spec.tsx
|
|
256
|
-
PASS src/components/Drawer/__tests__/index.spec.tsx
|
|
257
|
-
PASS src/components/Card/DataCard/__tests__/index.spec.tsx
|
|
258
|
-
PASS src/components/Slider/__tests__/index.spec.tsx
|
|
259
|
-
PASS src/components/Skeleton/__tests__/index.spec.tsx
|
|
260
|
-
PASS src/components/Empty/__tests__/index.spec.tsx
|
|
261
|
-
PASS src/utils/__tests__/scale.spec.ts
|
|
262
|
-
PASS src/components/Card/DataCard/__tests__/StyledDataCard.spec.tsx
|
|
263
|
-
PASS src/components/Drawer/DragableDrawer/__tests__/index.spec.tsx
|
|
264
|
-
PASS src/components/PinInput/__tests__/StyledPinInput.spec.tsx
|
|
265
|
-
PASS src/components/FAB/__tests__/StyledFAB.spec.tsx
|
|
266
|
-
PASS src/components/Accordion/__tests__/StyledAccordion.spec.tsx
|
|
267
|
-
PASS src/components/Card/__tests__/StyledCard.spec.tsx
|
|
268
|
-
PASS src/components/Toolbar/__tests__/ToolbarItem.spec.tsx
|
|
269
|
-
PASS src/components/Toolbar/__tests__/ToolbarGroup.spec.tsx
|
|
270
|
-
● Console
|
|
271
|
-
|
|
272
|
-
console.warn
|
|
273
|
-
Toolbar's align prop is deprecated
|
|
274
|
-
|
|
275
|
-
24 | // eslint-disable-next-line no-console
|
|
276
|
-
25 | if (cond) {
|
|
277
|
-
> 26 | console.warn(message);
|
|
278
|
-
| ^
|
|
279
|
-
27 | }
|
|
280
|
-
28 | }, [message, cond]);
|
|
281
|
-
29 | };
|
|
282
|
-
|
|
283
|
-
at src/utils/hooks.ts:26:15
|
|
284
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
285
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
286
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
287
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
288
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
289
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
290
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
291
|
-
|
|
292
|
-
console.warn
|
|
293
|
-
Toolbar's align prop is deprecated
|
|
294
|
-
|
|
295
|
-
24 | // eslint-disable-next-line no-console
|
|
296
|
-
25 | if (cond) {
|
|
297
|
-
> 26 | console.warn(message);
|
|
298
|
-
| ^
|
|
299
|
-
27 | }
|
|
300
|
-
28 | }, [message, cond]);
|
|
301
|
-
29 | };
|
|
302
|
-
|
|
303
|
-
at src/utils/hooks.ts:26:15
|
|
304
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
305
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
306
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
307
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
308
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
309
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
310
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
311
|
-
|
|
312
|
-
PASS src/components/Select/MultiSelect/__tests__/index.spec.tsx
|
|
313
|
-
● Console
|
|
314
|
-
|
|
315
|
-
console.error
|
|
316
|
-
Warning: Each child in a list should have a unique "key" prop.
|
|
317
|
-
|
|
318
|
-
Check the render method of `ForwardRef`. See https://reactjs.org/link/warning-keys for more information.
|
|
319
|
-
at Text
|
|
320
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/src/components/TextInput/index.tsx:155:7
|
|
321
|
-
at View
|
|
322
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
323
|
-
at View
|
|
324
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
325
|
-
at AnimatedComponent (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:52:26)
|
|
326
|
-
at AnimatedComponentWrapper
|
|
327
|
-
at TouchableOpacity (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Components/Touchable/TouchableOpacity.js:131:23)
|
|
328
|
-
at TouchableOpacity
|
|
329
|
-
at View
|
|
330
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
331
|
-
at MultiSelect (/Volumes/Data/Projects/hero-design/packages/rn/src/components/Select/MultiSelect/index.tsx:53:3)
|
|
332
|
-
at ThemeProvider (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
|
|
333
|
-
|
|
334
|
-
187 | onConfirm={jest.fn()}
|
|
335
|
-
188 | renderSelectedValue={(selectedValue, _inputProps) => (
|
|
336
|
-
> 189 | <>
|
|
337
|
-
| ^
|
|
338
|
-
190 | {selectedValue.map((value) => (
|
|
339
|
-
191 | <Typography.Text>Custom {value}</Typography.Text>
|
|
340
|
-
192 | ))}
|
|
341
|
-
|
|
342
|
-
at printWarning (node_modules/react/cjs/react-jsx-runtime.development.js:87:30)
|
|
343
|
-
at error (node_modules/react/cjs/react-jsx-runtime.development.js:61:7)
|
|
344
|
-
at validateExplicitKey (node_modules/react/cjs/react-jsx-runtime.development.js:1073:5)
|
|
345
|
-
at validateChildKeys (node_modules/react/cjs/react-jsx-runtime.development.js:1100:11)
|
|
346
|
-
at jsxWithValidation (node_modules/react/cjs/react-jsx-runtime.development.js:1271:11)
|
|
347
|
-
at jsxWithValidationDynamic (node_modules/react/cjs/react-jsx-runtime.development.js:1296:12)
|
|
348
|
-
at renderSelectedValue (src/components/Select/MultiSelect/__tests__/index.spec.tsx:189:11)
|
|
349
|
-
at MultiSelect.children.children.children.children._objectSpread.renderInputValue (src/components/Select/MultiSelect/index.tsx:116:32)
|
|
350
|
-
|
|
351
|
-
PASS src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx
|
|
352
|
-
PASS src/components/Select/SingleSelect/__tests__/index.spec.tsx
|
|
353
|
-
PASS src/components/Carousel/__tests__/CardCarousel.spec.tsx
|
|
354
|
-
PASS src/components/Button/__tests__/Button.spec.tsx
|
|
355
|
-
PASS src/components/List/__tests__/ListItem.spec.tsx
|
|
356
|
-
PASS src/components/RichTextEditor/__tests__/MentionList.spec.tsx
|
|
357
|
-
PASS src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx
|
|
358
|
-
PASS src/components/BottomSheet/__tests__/index.spec.tsx
|
|
359
|
-
PASS src/components/Alert/__tests__/index.spec.tsx
|
|
360
|
-
● Console
|
|
361
|
-
|
|
362
|
-
console.warn
|
|
363
|
-
Alert's notification intent is deprecated and will be removed in the next major release. Please use other intents instead.
|
|
364
|
-
|
|
365
|
-
24 | // eslint-disable-next-line no-console
|
|
366
|
-
25 | if (cond) {
|
|
367
|
-
> 26 | console.warn(message);
|
|
368
|
-
| ^
|
|
369
|
-
27 | }
|
|
370
|
-
28 | }, [message, cond]);
|
|
371
|
-
29 | };
|
|
372
|
-
|
|
373
|
-
at src/utils/hooks.ts:26:15
|
|
374
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
375
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
376
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
377
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
378
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
379
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
380
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
381
|
-
|
|
382
|
-
PASS src/components/BottomNavigation/__tests__/index.spec.tsx
|
|
383
|
-
PASS src/components/Button/__tests__/StyledButton.spec.tsx
|
|
384
|
-
PASS src/components/Error/__tests__/index.spec.tsx
|
|
385
|
-
● Console
|
|
386
|
-
|
|
387
|
-
console.warn
|
|
388
|
-
Visible prop is deprecated. Use conditional rendering instead
|
|
389
|
-
|
|
390
|
-
24 | // eslint-disable-next-line no-console
|
|
391
|
-
25 | if (cond) {
|
|
392
|
-
> 26 | console.warn(message);
|
|
393
|
-
| ^
|
|
394
|
-
27 | }
|
|
395
|
-
28 | }, [message, cond]);
|
|
396
|
-
29 | };
|
|
397
|
-
|
|
398
|
-
at src/utils/hooks.ts:26:15
|
|
399
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
400
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
401
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
402
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
403
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
404
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
405
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
406
|
-
|
|
407
|
-
console.warn
|
|
408
|
-
Visible prop is deprecated. Use conditional rendering instead
|
|
409
|
-
|
|
410
|
-
24 | // eslint-disable-next-line no-console
|
|
411
|
-
25 | if (cond) {
|
|
412
|
-
> 26 | console.warn(message);
|
|
413
|
-
| ^
|
|
414
|
-
27 | }
|
|
415
|
-
28 | }, [message, cond]);
|
|
416
|
-
29 | };
|
|
417
|
-
|
|
418
|
-
at src/utils/hooks.ts:26:15
|
|
419
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
420
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
421
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
422
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
423
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
424
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
425
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
426
|
-
|
|
427
|
-
console.warn
|
|
428
|
-
Visible prop is deprecated. Use conditional rendering instead
|
|
429
|
-
|
|
430
|
-
24 | // eslint-disable-next-line no-console
|
|
431
|
-
25 | if (cond) {
|
|
432
|
-
> 26 | console.warn(message);
|
|
433
|
-
| ^
|
|
434
|
-
27 | }
|
|
435
|
-
28 | }, [message, cond]);
|
|
436
|
-
29 | };
|
|
437
|
-
|
|
438
|
-
at src/utils/hooks.ts:26:15
|
|
439
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
440
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
441
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
442
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
443
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
444
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
445
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
446
|
-
|
|
447
|
-
console.warn
|
|
448
|
-
Visible prop is deprecated. Use conditional rendering instead
|
|
449
|
-
|
|
450
|
-
24 | // eslint-disable-next-line no-console
|
|
451
|
-
25 | if (cond) {
|
|
452
|
-
> 26 | console.warn(message);
|
|
453
|
-
| ^
|
|
454
|
-
27 | }
|
|
455
|
-
28 | }, [message, cond]);
|
|
456
|
-
29 | };
|
|
457
|
-
|
|
458
|
-
at src/utils/hooks.ts:26:15
|
|
459
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
460
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
461
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
462
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
463
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
464
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
465
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
466
|
-
|
|
467
|
-
console.warn
|
|
468
|
-
Visible prop is deprecated. Use conditional rendering instead
|
|
469
|
-
|
|
470
|
-
24 | // eslint-disable-next-line no-console
|
|
471
|
-
25 | if (cond) {
|
|
472
|
-
> 26 | console.warn(message);
|
|
473
|
-
| ^
|
|
474
|
-
27 | }
|
|
475
|
-
28 | }, [message, cond]);
|
|
476
|
-
29 | };
|
|
477
|
-
|
|
478
|
-
at src/utils/hooks.ts:26:15
|
|
479
|
-
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12423:26)
|
|
480
|
-
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13822:11)
|
|
481
|
-
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13781:9)
|
|
482
|
-
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13768:7)
|
|
483
|
-
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13756:3)
|
|
484
|
-
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15675:3)
|
|
485
|
-
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15633:14)
|
|
486
|
-
|
|
487
|
-
PASS src/components/ContentNavigator/__tests__/index.spec.tsx
|
|
488
|
-
PASS src/components/List/__tests__/BasicListItem.spec.tsx
|
|
489
|
-
PASS src/components/Select/MultiSelect/__tests__/OptionList.spec.tsx
|
|
490
|
-
PASS src/components/Typography/Text/__tests__/StyledText.spec.tsx
|
|
491
|
-
PASS src/components/Avatar/AvatarStack/__tests__/index.spec.tsx
|
|
492
|
-
● Console
|
|
493
|
-
|
|
494
|
-
console.error
|
|
495
|
-
Warning: Each child in a list should have a unique "key" prop.
|
|
496
|
-
|
|
497
|
-
Check the render method of `AvatarStack`. See https://reactjs.org/link/warning-keys for more information.
|
|
498
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
499
|
-
at AvatarStack (/Volumes/Data/Projects/hero-design/packages/rn/src/components/Avatar/AvatarStack/index.tsx:27:3)
|
|
500
|
-
at ThemeProvider (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
|
|
501
|
-
|
|
502
|
-
41 |
|
|
503
|
-
42 | return (
|
|
504
|
-
> 43 | <StyledWrapper
|
|
505
|
-
| ^
|
|
506
|
-
44 | themeSize={size}
|
|
507
|
-
45 | themeAvatarCount={avatars.length}
|
|
508
|
-
46 | style={style}
|
|
509
|
-
|
|
510
|
-
at printWarning (node_modules/react/cjs/react-jsx-runtime.development.js:87:30)
|
|
511
|
-
at error (node_modules/react/cjs/react-jsx-runtime.development.js:61:7)
|
|
512
|
-
at validateExplicitKey (node_modules/react/cjs/react-jsx-runtime.development.js:1073:5)
|
|
513
|
-
at validateChildKeys (node_modules/react/cjs/react-jsx-runtime.development.js:1100:11)
|
|
514
|
-
at jsxWithValidation (node_modules/react/cjs/react-jsx-runtime.development.js:1271:11)
|
|
515
|
-
at jsxWithValidationDynamic (node_modules/react/cjs/react-jsx-runtime.development.js:1296:12)
|
|
516
|
-
at AvatarStack (src/components/Avatar/AvatarStack/index.tsx:43:5)
|
|
517
|
-
at renderWithHooks (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6097:18)
|
|
518
|
-
|
|
519
|
-
PASS src/components/Select/SingleSelect/__tests__/OptionList.spec.tsx
|
|
520
|
-
PASS src/components/Badge/__tests__/Badge.spec.tsx
|
|
521
|
-
PASS src/components/Select/__tests__/helpers.spec.tsx
|
|
522
|
-
PASS src/components/Switch/SelectorSwitch/__tests__/index.spec.tsx
|
|
523
|
-
PASS src/components/Switch/SelectorSwitch/__tests__/Option.spec.tsx
|
|
524
|
-
PASS src/components/Checkbox/__tests__/index.spec.tsx
|
|
525
|
-
PASS src/components/Tag/__tests__/Tag.spec.tsx
|
|
526
|
-
PASS src/components/List/__tests__/StyledListItem.spec.tsx
|
|
527
|
-
PASS src/components/SectionHeading/__tests__/index.spec.tsx
|
|
528
|
-
PASS src/components/Avatar/__tests__/index.spec.tsx
|
|
529
|
-
PASS src/components/Button/UtilityButton/__tests__/index.spec.tsx
|
|
530
|
-
PASS src/components/Avatar/AvatarStack/__tests__/StyledAvatarStack.spec.tsx
|
|
531
|
-
PASS src/components/Avatar/__tests__/StyledAvatar.spec.tsx
|
|
532
|
-
PASS src/components/Checkbox/__tests__/StyledCheckbox.spec.tsx
|
|
533
|
-
PASS src/components/Collapse/__tests__/index.spec.tsx
|
|
534
|
-
PASS src/components/List/__tests__/StyledBasicListItem.spec.tsx
|
|
535
|
-
PASS src/components/Divider/__tests__/StyledDivider.spec.tsx
|
|
536
|
-
PASS src/components/Badge/__tests__/Status.spec.tsx
|
|
537
|
-
PASS src/components/Icon/__tests__/index.spec.tsx
|
|
538
|
-
PASS src/components/PageControl/__tests__/index.spec.tsx
|
|
539
|
-
PASS src/components/Switch/__tests__/index.spec.tsx
|
|
540
|
-
PASS src/components/SectionHeading/__tests__/StyledHeading.spec.tsx
|
|
541
|
-
PASS src/components/Collapse/__tests__/StyledCollapse.spec.tsx
|
|
542
|
-
PASS src/components/Button/LoadingIndicator/__tests__/index.spec.tsx
|
|
543
|
-
PASS src/components/Image/__tests__/index.spec.tsx
|
|
544
|
-
PASS src/components/Switch/__tests__/StyledSwitch.spec.tsx
|
|
545
|
-
PASS src/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.tsx
|
|
546
|
-
PASS src/components/Button/__tests__/IconButton.spec.tsx
|
|
547
|
-
PASS src/components/Select/MultiSelect/__tests__/Option.spec.tsx
|
|
548
|
-
PASS src/components/Select/SingleSelect/__tests__/Option.spec.tsx
|
|
549
|
-
PASS src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx
|
|
550
|
-
PASS src/components/FAB/__tests__/AnimatedFABIcon.spec.tsx
|
|
551
|
-
● Console
|
|
552
|
-
|
|
553
|
-
console.error
|
|
554
|
-
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
|
|
555
|
-
|
|
556
|
-
Check the render method of `emotion(Icon)`.
|
|
557
|
-
at Icon (/Volumes/Data/Projects/hero-design/packages/rn/src/components/Icon/index.tsx:47:3)
|
|
558
|
-
at /Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
|
|
559
|
-
at AnimatedComponent (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:52:26)
|
|
560
|
-
at AnimatedComponentWrapper
|
|
561
|
-
at View
|
|
562
|
-
at Component (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
|
|
563
|
-
at AnimatedComponent (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:52:26)
|
|
564
|
-
at AnimatedComponentWrapper
|
|
565
|
-
at AnimatedFABIcon (/Volumes/Data/Projects/hero-design/packages/rn/src/components/FAB/AnimatedFABIcon.tsx:12:28)
|
|
566
|
-
at ThemeProvider (/Volumes/Data/Projects/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
|
|
567
|
-
|
|
568
|
-
at printWarning (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:72:30)
|
|
569
|
-
at error (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:46:7)
|
|
570
|
-
at validateFunctionComponentInDev (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10528:9)
|
|
571
|
-
at mountIndeterminateComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10495:7)
|
|
572
|
-
at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11661:16)
|
|
573
|
-
at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15265:12)
|
|
574
|
-
at workLoopSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15201:5)
|
|
575
|
-
at renderRootSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15173:7)
|
|
576
|
-
|
|
577
|
-
PASS src/components/Carousel/__tests__/StyledCarousel.spec.tsx
|
|
578
|
-
PASS src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx
|
|
579
|
-
PASS src/components/Typography/Text/__tests__/index.spec.tsx
|
|
580
|
-
PASS src/components/Spinner/__tests__/index.spec.tsx
|
|
581
|
-
PASS src/theme/global/colors/__tests__/globalDark.spec.ts
|
|
582
|
-
PASS src/theme/global/colors/__tests__/swagDark.spec.ts
|
|
583
|
-
PASS src/theme/global/colors/__tests__/wallet.spec.ts
|
|
584
|
-
PASS src/theme/global/colors/__tests__/global.spec.ts
|
|
585
|
-
PASS src/theme/global/colors/__tests__/eBens.spec.ts
|
|
586
|
-
PASS src/theme/global/colors/__tests__/jobs.spec.ts
|
|
587
|
-
PASS src/theme/global/colors/__tests__/swag.spec.ts
|
|
588
|
-
PASS src/theme/global/colors/__tests__/work.spec.ts
|
|
589
|
-
FAIL src/theme/__tests__/index.spec.ts
|
|
590
|
-
● theme › returns correct theme object
|
|
591
|
-
|
|
592
|
-
expect(received).toMatchSnapshot()
|
|
593
|
-
|
|
594
|
-
Snapshot name: `theme returns correct theme object 1`
|
|
595
|
-
|
|
596
|
-
- Snapshot - 1
|
|
597
|
-
+ Received + 11
|
|
598
|
-
|
|
599
|
-
@@ -1062,25 +1062,35 @@
|
|
600
|
-
"background": "#ffffff",
|
|
601
|
-
"border": "#e8e9ea",
|
|
602
|
-
"danger": "#ffbe71",
|
|
603
|
-
"disabled": "#bfc1c5",
|
|
604
|
-
"error": "#f46363",
|
|
605
|
-
+ "iconButtonBackground": "#ece8ef",
|
|
606
|
-
"info": "#b5c3fd",
|
|
607
|
-
"primary": "#401960",
|
|
608
|
-
"secondary": "#795e90",
|
|
609
|
-
"success": "#5ace7d",
|
|
610
|
-
+ },
|
|
611
|
-
+ "radii": Object {
|
|
612
|
-
+ "iconButtonWrapperBorderRadius": 24,
|
|
613
|
-
+ },
|
|
614
|
-
+ "sizes": Object {
|
|
615
|
-
+ "itemWrapperHeight": 64,
|
|
616
|
-
},
|
|
617
|
-
"space": Object {
|
|
618
|
-
- "horizontalPadding": 12,
|
|
619
|
-
+ "horizontalPadding": 8,
|
|
620
|
-
+ "iconButtonLabelMarginLeft": 8,
|
|
621
|
-
+ "iconButtonWrapperPadding": 12,
|
|
622
|
-
"verticalPadding": 8,
|
|
623
|
-
},
|
|
624
|
-
},
|
|
625
|
-
"typography": Object {
|
|
626
|
-
"colors": Object {
|
|
627
|
-
"archived": "#737479",
|
|
628
|
-
"body": "#001f23",
|
|
629
|
-
"danger": "#f46363",
|
|
630
|
-
+ "disabled": "#bfc1c5",
|
|
631
|
-
"info": "#4568fb",
|
|
632
|
-
"inverted": "#ffffff",
|
|
633
|
-
"primary": "#401960",
|
|
634
|
-
"secondary": "#795e90",
|
|
635
|
-
"subdued": "#4d6265",
|
|
636
|
-
|
|
637
|
-
3 | describe('theme', () => {
|
|
638
|
-
4 | it('returns correct theme object', () => {
|
|
639
|
-
> 5 | expect(theme).toMatchSnapshot();
|
|
640
|
-
| ^
|
|
641
|
-
6 | });
|
|
642
|
-
7 | });
|
|
643
|
-
8 |
|
|
644
|
-
|
|
645
|
-
at Object.<anonymous> (src/theme/__tests__/index.spec.ts:5:19)
|
|
646
|
-
at TestScheduler.scheduleTests (../../node_modules/@jest/core/build/TestScheduler.js:333:13)
|
|
647
|
-
at runJest (../../node_modules/@jest/core/build/runJest.js:401:19)
|
|
648
|
-
at _run10000 (../../node_modules/@jest/core/build/cli/index.js:320:7)
|
|
649
|
-
at runCLI (../../node_modules/@jest/core/build/cli/index.js:173:3)
|
|
650
|
-
|
|
651
|
-
› 1 snapshot failed.
|
|
652
|
-
Summary of all failing tests
|
|
653
|
-
FAIL src/theme/__tests__/index.spec.ts
|
|
654
|
-
● theme › returns correct theme object
|
|
655
|
-
|
|
656
|
-
expect(received).toMatchSnapshot()
|
|
657
|
-
|
|
658
|
-
Snapshot name: `theme returns correct theme object 1`
|
|
659
|
-
|
|
660
|
-
- Snapshot - 1
|
|
661
|
-
+ Received + 11
|
|
662
|
-
|
|
663
|
-
@@ -1062,25 +1062,35 @@
|
|
664
|
-
"background": "#ffffff",
|
|
665
|
-
"border": "#e8e9ea",
|
|
666
|
-
"danger": "#ffbe71",
|
|
667
|
-
"disabled": "#bfc1c5",
|
|
668
|
-
"error": "#f46363",
|
|
669
|
-
+ "iconButtonBackground": "#ece8ef",
|
|
670
|
-
"info": "#b5c3fd",
|
|
671
|
-
"primary": "#401960",
|
|
672
|
-
"secondary": "#795e90",
|
|
673
|
-
"success": "#5ace7d",
|
|
674
|
-
+ },
|
|
675
|
-
+ "radii": Object {
|
|
676
|
-
+ "iconButtonWrapperBorderRadius": 24,
|
|
677
|
-
+ },
|
|
678
|
-
+ "sizes": Object {
|
|
679
|
-
+ "itemWrapperHeight": 64,
|
|
680
|
-
},
|
|
681
|
-
"space": Object {
|
|
682
|
-
- "horizontalPadding": 12,
|
|
683
|
-
+ "horizontalPadding": 8,
|
|
684
|
-
+ "iconButtonLabelMarginLeft": 8,
|
|
685
|
-
+ "iconButtonWrapperPadding": 12,
|
|
686
|
-
"verticalPadding": 8,
|
|
687
|
-
},
|
|
688
|
-
},
|
|
689
|
-
"typography": Object {
|
|
690
|
-
"colors": Object {
|
|
691
|
-
"archived": "#737479",
|
|
692
|
-
"body": "#001f23",
|
|
693
|
-
"danger": "#f46363",
|
|
694
|
-
+ "disabled": "#bfc1c5",
|
|
695
|
-
"info": "#4568fb",
|
|
696
|
-
"inverted": "#ffffff",
|
|
697
|
-
"primary": "#401960",
|
|
698
|
-
"secondary": "#795e90",
|
|
699
|
-
"subdued": "#4d6265",
|
|
700
|
-
|
|
701
|
-
3 | describe('theme', () => {
|
|
702
|
-
4 | it('returns correct theme object', () => {
|
|
703
|
-
> 5 | expect(theme).toMatchSnapshot();
|
|
704
|
-
| ^
|
|
705
|
-
6 | });
|
|
706
|
-
7 | });
|
|
707
|
-
8 |
|
|
708
|
-
|
|
709
|
-
at Object.<anonymous> (src/theme/__tests__/index.spec.ts:5:19)
|
|
710
|
-
at TestScheduler.scheduleTests (../../node_modules/@jest/core/build/TestScheduler.js:333:13)
|
|
711
|
-
at runJest (../../node_modules/@jest/core/build/runJest.js:401:19)
|
|
712
|
-
at _run10000 (../../node_modules/@jest/core/build/cli/index.js:320:7)
|
|
713
|
-
at runCLI (../../node_modules/@jest/core/build/cli/index.js:173:3)
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
Snapshot Summary
|
|
717
|
-
› 1 snapshot failed from 1 test suite. Inspect your code changes or run `yarn test -u` to update them.
|
|
718
|
-
|
|
719
|
-
Test Suites: 1 failed, 117 passed, 118 total
|
|
720
|
-
Tests: 1 failed, 642 passed, 643 total
|
|
721
|
-
Snapshots: 1 failed, 486 passed, 487 total
|
|
722
|
-
Time: 97.182 s
|
|
723
|
-
Ran all test suites.
|
|
724
|
-
error Command failed with exit code 1.
|
|
725
|
-
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
|