@hero-design/rn 8.83.0-test.0 → 8.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +3 -4
- package/CHANGELOG.md +22 -2
- package/es/index.js +538 -87
- package/eslint.config.js +2 -4
- package/lib/index.js +536 -84
- package/package.json +6 -6
- package/src/components/AppCue/StyledAppCue.tsx +46 -0
- package/src/components/AppCue/__tests__/StyledAppCue.tsx +18 -0
- package/src/components/AppCue/__tests__/__snapshots__/StyledAppCue.tsx.snap +200 -0
- package/src/components/AppCue/__tests__/__snapshots__/index.spec.tsx.snap +391 -0
- package/src/components/AppCue/__tests__/index.spec.tsx +61 -0
- package/src/components/AppCue/__tests__/utils.spec.ts +90 -0
- package/src/components/AppCue/index.tsx +188 -0
- package/src/components/AppCue/utils.ts +122 -0
- package/src/components/Button/Button.tsx +73 -26
- package/src/components/Button/StyledButton.tsx +137 -48
- package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +1 -1
- package/src/components/Button/__tests__/Button.spec.tsx +39 -31
- package/src/components/Button/__tests__/StyledButton.spec.tsx +52 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +774 -0
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +489 -0
- package/src/components/Chip/StyledChip.tsx +9 -9
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +434 -0
- package/src/components/Chip/__tests__/index.spec.tsx +4 -0
- package/src/components/Chip/index.tsx +32 -5
- package/src/components/Slider/{Range.tsx → RangeSlider.tsx} +29 -19
- package/src/components/Slider/StyledRangeSlider.tsx +16 -0
- package/src/components/Slider/__tests__/{Range.spec.tsx → RangeSlider.spec.tsx} +23 -9
- package/src/components/Slider/__tests__/{Single.spec.tsx → SingleSlider.spec.tsx} +1 -1
- package/src/components/Slider/__tests__/__snapshots__/{Range.spec.tsx.snap → RangeSlider.spec.tsx.snap} +110 -26
- package/src/components/Slider/index.tsx +3 -3
- package/src/components/Tabs/StyledScrollableTabs.tsx +2 -1
- package/src/components/Tabs/StyledTabs.tsx +1 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -0
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +2 -0
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +53 -4
- package/src/theme/components/appCue.ts +22 -0
- package/src/theme/components/button.ts +14 -4
- package/src/theme/components/slider.ts +8 -1
- package/src/theme/components/tabs.ts +1 -0
- package/src/theme/getTheme.ts +3 -0
- package/src/types.ts +1 -1
- package/stats/8.83.0/rn-stats.html +4844 -0
- package/stats/8.84.0/rn-stats.html +4842 -0
- package/types/components/Accordion/AccordionItem.d.ts +1 -1
- package/types/components/Accordion/StyledAccordion.d.ts +11 -11
- package/types/components/Accordion/index.d.ts +1 -1
- package/types/components/Alert/StyledAlert.d.ts +16 -16
- package/types/components/Alert/index.d.ts +1 -1
- package/types/components/AppCue/StyledAppCue.d.ts +20 -0
- package/types/components/AppCue/__tests__/StyledAppCue.d.ts +1 -0
- package/types/components/AppCue/index.d.ts +21 -0
- package/types/components/AppCue/utils.d.ts +63 -0
- package/types/components/Attachment/StyledAttachment.d.ts +8 -8
- 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 +9 -9
- 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 +10 -10
- 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 +12 -12
- package/types/components/Badge/index.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +15 -15
- package/types/components/BottomNavigation/index.d.ts +1 -1
- package/types/components/BottomSheet/BottomSheetContext.d.ts +1 -1
- package/types/components/BottomSheet/Footer.d.ts +0 -0
- package/types/components/BottomSheet/Header.d.ts +2 -2
- package/types/components/BottomSheet/ScrollView.d.ts +0 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
- package/types/components/BottomSheet/index.d.ts +0 -0
- package/types/components/Box/StyledBox.d.ts +2 -2
- package/types/components/Box/config.d.ts +2 -2
- package/types/components/Box/index.d.ts +0 -0
- package/types/components/Box/types.d.ts +3 -3
- package/types/components/Button/Button.d.ts +2 -2
- package/types/components/Button/IconButton.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +6 -6
- package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
- package/types/components/Button/StyledButton.d.ts +33 -23
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +6 -6
- 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 +22 -22
- 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 +5 -5
- package/types/components/Card/DataCard/index.d.ts +0 -0
- package/types/components/Card/StyledCard.d.ts +4 -4
- package/types/components/Card/index.d.ts +0 -0
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/CarouselItem.d.ts +0 -0
- package/types/components/Carousel/StyledCardCarousel.d.ts +8 -8
- package/types/components/Carousel/StyledCarousel.d.ts +21 -21
- 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 +2 -2
- package/types/components/Checkbox/StyledCheckbox.d.ts +11 -11
- package/types/components/Checkbox/index.d.ts +1 -1
- package/types/components/Chip/StyledChip.d.ts +6 -6
- package/types/components/Chip/index.d.ts +2 -2
- package/types/components/Collapse/StyledCollapse.d.ts +6 -6
- package/types/components/Collapse/index.d.ts +0 -0
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -2
- package/types/components/ContentNavigator/index.d.ts +0 -0
- package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
- package/types/components/DatePicker/DatePickerCalendar.d.ts +1 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +2 -2
- package/types/components/DatePicker/index.d.ts +0 -0
- package/types/components/DatePicker/types.d.ts +0 -0
- package/types/components/DatePicker/useCalculateDate.d.ts +1 -1
- package/types/components/Divider/StyledDivider.d.ts +5 -5
- package/types/components/Divider/index.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +1 -1
- package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
- package/types/components/Drawer/StyledDrawer.d.ts +15 -15
- package/types/components/Drawer/index.d.ts +0 -0
- package/types/components/Empty/StyledEmpty.d.ts +7 -7
- package/types/components/Empty/index.d.ts +0 -0
- package/types/components/Error/StyledError.d.ts +21 -21
- 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 +10 -10
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +6 -6
- package/types/components/FAB/ActionGroup/index.d.ts +1 -1
- package/types/components/FAB/AnimatedFABIcon.d.ts +1 -1
- package/types/components/FAB/FAB.d.ts +1 -1
- package/types/components/FAB/Pair/StyledFAB.d.ts +6 -6
- package/types/components/FAB/Pair/index.d.ts +1 -1
- package/types/components/FAB/StyledFAB.d.ts +9 -9
- package/types/components/FAB/index.d.ts +0 -0
- package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +10 -10
- package/types/components/Icon/AnimatedIcon.d.ts +1 -1
- package/types/components/Icon/HeroIcon/index.d.ts +4 -4
- package/types/components/Icon/IconList.d.ts +0 -0
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +2 -1
- 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 +10 -10
- package/types/components/List/StyledListItem.d.ts +18 -18
- package/types/components/List/index.d.ts +0 -0
- package/types/components/MapPin/StyledMapPin.d.ts +11 -11
- package/types/components/MapPin/types.d.ts +1 -1
- package/types/components/PageControl/StyledPageControl.d.ts +4 -4
- 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 +21 -21
- package/types/components/PinInput/index.d.ts +0 -0
- package/types/components/Portal/reducer.d.ts +1 -1
- package/types/components/Portal/types.d.ts +1 -1
- package/types/components/Progress/ProgressBar.d.ts +0 -0
- package/types/components/Progress/ProgressCircle.d.ts +0 -0
- package/types/components/Progress/ProgressStep.d.ts +1 -1
- package/types/components/Progress/StyledProgressBar.d.ts +4 -4
- package/types/components/Progress/StyledProgressCircle.d.ts +12 -12
- package/types/components/Progress/StyledStep.d.ts +10 -10
- 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 +1 -1
- 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 +9 -9
- package/types/components/Radio/index.d.ts +1 -1
- package/types/components/Radio/types.d.ts +1 -1
- package/types/components/Rate/StyledRate.d.ts +4 -4
- package/types/components/RefreshControl/index.d.ts +1 -1
- package/types/components/RichTextEditor/EditorEvent.d.ts +0 -1
- 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 +1 -1
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +4 -4
- package/types/components/RichTextEditor/StyledToolbar.d.ts +6 -6
- 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 +1 -1
- package/types/components/RichTextEditor/utils/events.d.ts +0 -0
- package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
- package/types/components/Search/SearchOneLine.d.ts +5 -5
- package/types/components/Search/StyledSearch.d.ts +18 -18
- package/types/components/Search/index.d.ts +1 -1
- package/types/components/Search/utils.d.ts +2 -2
- package/types/components/SectionHeading/StyledHeading.d.ts +7 -7
- package/types/components/SectionHeading/index.d.ts +0 -0
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/Footer.d.ts +0 -0
- package/types/components/Select/MultiSelect/Option.d.ts +2 -2
- package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
- package/types/components/Select/MultiSelect/index.d.ts +0 -0
- package/types/components/Select/SingleSelect/Option.d.ts +2 -2
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
- package/types/components/Select/SingleSelect/index.d.ts +0 -0
- package/types/components/Select/StyledSelect.d.ts +6 -6
- package/types/components/Select/helpers.d.ts +2 -2
- package/types/components/Select/index.d.ts +0 -0
- package/types/components/Select/types.d.ts +6 -6
- package/types/components/Skeleton/StyledSkeleton.d.ts +6 -6
- package/types/components/Skeleton/index.d.ts +0 -0
- package/types/components/Slider/{Range.d.ts → RangeSlider.d.ts} +1 -1
- package/types/components/Slider/StyledRangeSlider.d.ts +10 -0
- package/types/components/Slider/index.d.ts +2 -2
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -2
- package/types/components/Spinner/StyledSpinner.d.ts +13 -13
- package/types/components/Spinner/index.d.ts +0 -0
- package/types/components/Success/StyledSuccess.d.ts +19 -19
- package/types/components/Success/index.d.ts +0 -0
- package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
- package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
- package/types/components/Swipeable/index.d.ts +2 -2
- package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -5
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +8 -8
- package/types/components/Switch/SelectorSwitch/index.d.ts +3 -3
- package/types/components/Switch/StyledSwitch.d.ts +5 -5
- package/types/components/Switch/index.d.ts +3 -3
- package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
- package/types/components/Tabs/SceneView.d.ts +3 -3
- package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +2 -2
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +2 -2
- package/types/components/Tabs/StyledScrollableTabs.d.ts +17 -17
- package/types/components/Tabs/StyledTabs.d.ts +14 -14
- package/types/components/Tabs/TabWithBadge.d.ts +3 -3
- package/types/components/Tabs/index.d.ts +2 -2
- package/types/components/Tabs/useHandlePageScroll.d.ts +1 -1
- 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 +5 -5
- package/types/components/Tag/index.d.ts +0 -0
- package/types/components/TextInput/StyledTextInput.d.ts +28 -28
- package/types/components/TextInput/index.d.ts +16 -16
- package/types/components/TimePicker/StyledTimePicker.d.ts +2 -2
- 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 +18 -18
- 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 +2 -2
- package/types/components/Toast/ToastProvider.d.ts +1 -1
- package/types/components/Toast/index.d.ts +0 -0
- package/types/components/Toast/types.d.ts +2 -2
- package/types/components/Toolbar/StyledToolbar.d.ts +25 -25
- package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
- package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
- package/types/components/Toolbar/ToolbarMessage.d.ts +4 -4
- package/types/components/Toolbar/index.d.ts +0 -0
- package/types/components/Typography/Body/StyledBody.d.ts +4 -4
- package/types/components/Typography/Caption/StyledCaption.d.ts +3 -3
- package/types/components/Typography/Label/StyledLabel.d.ts +2 -2
- package/types/components/Typography/Text/StyledText.d.ts +6 -6
- package/types/components/Typography/Text/index.d.ts +0 -0
- package/types/components/Typography/Title/StyledTitle.d.ts +4 -4
- package/types/components/Typography/index.d.ts +0 -0
- package/types/components/Typography/types.d.ts +1 -1
- package/types/index.d.ts +2 -1
- package/types/testHelpers/renderWithTheme.d.ts +0 -0
- package/types/testHelpers/utils.d.ts +1 -1
- package/types/theme/ThemeProvider.d.ts +0 -0
- package/types/theme/ThemeSwitcher.d.ts +3 -3
- package/types/theme/components/accordion.d.ts +0 -0
- package/types/theme/components/alert.d.ts +0 -0
- package/types/theme/components/appCue.d.ts +16 -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 +1 -1
- 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 +15 -5
- 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 +1 -1
- 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 +1 -1
- package/types/theme/components/error.d.ts +1 -1
- package/types/theme/components/fab.d.ts +1 -1
- 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 +1 -1
- 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 +6 -0
- package/types/theme/components/spinner.d.ts +0 -0
- package/types/theme/components/success.d.ts +1 -1
- 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 +1 -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 +3 -1
- 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 +3 -3
- 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 +4 -4
- package/types/theme/global/scale.d.ts +1 -1
- package/types/theme/global/shadows.d.ts +1 -1
- 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 +1 -1
- package/types/theme/index.d.ts +0 -0
- package/types/types.d.ts +1 -1
- 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/HeroDesignProvider/HeroDesignContext.d.ts +0 -5
- 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
- /package/src/components/Slider/{Single.tsx → SingleSlider.tsx} +0 -0
- /package/src/components/Slider/__tests__/__snapshots__/{Single.spec.tsx.snap → SingleSlider.spec.tsx.snap} +0 -0
- /package/types/components/Slider/{Single.d.ts → SingleSlider.d.ts} +0 -0
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { ReactElement } from 'react';
|
|
3
3
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
4
|
import type { Variant } from './StyledAccordion';
|
|
5
|
-
export
|
|
5
|
+
export type AccordionItemProps = {
|
|
6
6
|
header: string | ReactElement;
|
|
7
7
|
content: ReactElement;
|
|
8
8
|
open?: boolean;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { TouchableOpacity, View } from 'react-native';
|
|
2
|
-
export
|
|
2
|
+
export type Variant = 'default' | 'card';
|
|
3
3
|
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
-
theme?: import("@emotion/react").Theme
|
|
5
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const StyledItemWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
11
|
-
as?:
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
12
|
} & {
|
|
13
13
|
themeVariant: Variant;
|
|
14
14
|
}, {}, {
|
|
15
15
|
ref?: import("react").Ref<View> | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
export declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
18
|
-
theme?: import("@emotion/react").Theme
|
|
19
|
-
as?:
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
20
20
|
}, {}, {
|
|
21
21
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
export declare const StyledCollapse: import("@emotion/native").StyledComponent<import("../Collapse").CollapseProps & {
|
|
24
|
-
theme?: import("@emotion/react").Theme
|
|
25
|
-
as?:
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
as?: React.ElementType;
|
|
26
26
|
}, {}, {}>;
|
|
27
27
|
export declare const Spacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
28
|
-
theme?: import("@emotion/react").Theme
|
|
29
|
-
as?:
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
30
|
}, {}, {
|
|
31
31
|
ref?: import("react").Ref<View> | undefined;
|
|
32
32
|
}>;
|
|
@@ -35,5 +35,5 @@ export interface AccordionProps<K extends Key> {
|
|
|
35
35
|
*/
|
|
36
36
|
testID?: string;
|
|
37
37
|
}
|
|
38
|
-
declare const Accordion: <K extends
|
|
38
|
+
declare const Accordion: <K extends Key>({ items, activeItemKey, onItemPress, variant, style, testID, }: AccordionProps<K>) => React.JSX.Element;
|
|
39
39
|
export default Accordion;
|
|
@@ -2,51 +2,51 @@ import { TouchableOpacity, View } from 'react-native';
|
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
3
|
import { TextProps } from '../Typography/Text';
|
|
4
4
|
import { IconProps } from '../Icon';
|
|
5
|
-
|
|
5
|
+
type ThemeIntent = 'success' | 'info' | 'warning' | 'error' | 'notification';
|
|
6
6
|
declare const Container: import("@emotion/native").StyledComponent<ViewProps & {
|
|
7
|
-
theme?: import("@emotion/react").Theme
|
|
8
|
-
as?:
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
9
|
} & {
|
|
10
|
-
themeVariant:
|
|
10
|
+
themeVariant: "rounded" | "unrounded";
|
|
11
11
|
themeIntent: ThemeIntent;
|
|
12
12
|
}, {}, {
|
|
13
13
|
ref?: import("react").Ref<View> | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
declare const IconContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
16
|
-
theme?: import("@emotion/react").Theme
|
|
17
|
-
as?:
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
18
|
}, {}, {
|
|
19
19
|
ref?: import("react").Ref<View> | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
declare const StyledIcon: import("@emotion/native").StyledComponent<IconProps & {
|
|
22
|
-
theme?: import("@emotion/react").Theme
|
|
23
|
-
as?:
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
24
|
} & {
|
|
25
25
|
themeIntent: ThemeIntent;
|
|
26
26
|
}, {}, {}>;
|
|
27
27
|
declare const TextContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
28
|
-
theme?: import("@emotion/react").Theme
|
|
29
|
-
as?:
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
30
|
}, {}, {
|
|
31
31
|
ref?: import("react").Ref<View> | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
declare const StyledBody: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
34
|
-
theme?: import("@emotion/react").Theme
|
|
35
|
-
as?:
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
36
36
|
} & TextProps & {
|
|
37
37
|
themeIntent: ThemeIntent;
|
|
38
38
|
}, {}, {}>;
|
|
39
39
|
declare const ContentContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
40
|
-
theme?: import("@emotion/react").Theme
|
|
41
|
-
as?:
|
|
40
|
+
theme?: import("@emotion/react").Theme;
|
|
41
|
+
as?: React.ElementType;
|
|
42
42
|
} & {
|
|
43
43
|
showDivider: boolean;
|
|
44
44
|
}, {}, {
|
|
45
45
|
ref?: import("react").Ref<View> | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
declare const CTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
48
|
-
theme?: import("@emotion/react").Theme
|
|
49
|
-
as?:
|
|
48
|
+
theme?: import("@emotion/react").Theme;
|
|
49
|
+
as?: React.ElementType;
|
|
50
50
|
}, {}, {
|
|
51
51
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
52
52
|
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { View, Animated } from 'react-native';
|
|
2
|
+
export type Placement = 'top' | 'bottom' | 'right' | 'left';
|
|
3
|
+
export declare const StyledContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}, {}, {
|
|
7
|
+
ref?: import("react").Ref<View> | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const StyledIconContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
} & {
|
|
19
|
+
themePlacement: Placement;
|
|
20
|
+
}, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import { Placement } from './StyledAppCue';
|
|
4
|
+
interface AppCueProps {
|
|
5
|
+
content: string | React.ReactElement;
|
|
6
|
+
target: React.ReactElement;
|
|
7
|
+
/**
|
|
8
|
+
* The Position of the App Cue.
|
|
9
|
+
*/
|
|
10
|
+
placement?: Placement;
|
|
11
|
+
/**
|
|
12
|
+
* Additional style.
|
|
13
|
+
*/
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
/**
|
|
16
|
+
* Testing ID of the component.
|
|
17
|
+
*/
|
|
18
|
+
testID?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const AppCue: ({ target, content, placement, style, testID, }: AppCueProps) => React.JSX.Element;
|
|
21
|
+
export default AppCue;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Placement } from './StyledAppCue';
|
|
2
|
+
/**
|
|
3
|
+
* Calculates the position of an element based on its placement relative to a reference position.
|
|
4
|
+
*
|
|
5
|
+
* @param {Object} params - The parameters for calculating the position.
|
|
6
|
+
* @param {Object} params.position - The position and size of target element.
|
|
7
|
+
* @param {number} params.position.pageX - The X coordinate of the target position.
|
|
8
|
+
* @param {number} params.position.pageY - The Y coordinate of the target position.
|
|
9
|
+
* @param {number} params.position.width - The width of the reference element.
|
|
10
|
+
* @param {number} params.position.height - The height of the reference element.
|
|
11
|
+
* @param {Object} params.contentSize - The size of the App Cue content.
|
|
12
|
+
* @param {number} params.contentSize.width - The width of the content.
|
|
13
|
+
* @param {number} params.contentSize.height - The height of the content.
|
|
14
|
+
* @param {Placement} params.placement - The placement of the content relative to the reference position ('top', 'bottom', 'right', 'left').
|
|
15
|
+
* @param {number} params.offset - The offset distance to display an arrow.
|
|
16
|
+
*
|
|
17
|
+
* @returns {Object} The calculated position of the App Cue.
|
|
18
|
+
* @returns {number} return.x - The X coordinate of the App Cue.
|
|
19
|
+
* @returns {number} return.y - The Y coordinate of the App Cue.
|
|
20
|
+
*/
|
|
21
|
+
export declare const calculatePosition: ({ placement, position, contentSize, offset, }: {
|
|
22
|
+
position: {
|
|
23
|
+
pageX: number;
|
|
24
|
+
pageY: number;
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
};
|
|
28
|
+
contentSize: {
|
|
29
|
+
width: number;
|
|
30
|
+
height: number;
|
|
31
|
+
};
|
|
32
|
+
placement: Placement;
|
|
33
|
+
offset: number;
|
|
34
|
+
}) => {
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Calculates the maximum width of the content based on its position, offset, placement, and window width.
|
|
40
|
+
*
|
|
41
|
+
* @param {Object} params - The parameters for the calculation.
|
|
42
|
+
* @param {Object} params.position - The position and dimensions of the target element.
|
|
43
|
+
* @param {number} params.position.pageX - The X coordinate of the target element.
|
|
44
|
+
* @param {number} params.position.pageY - The Y coordinate of the target element.
|
|
45
|
+
* @param {number} params.position.width - The width of the target element.
|
|
46
|
+
* @param {number} params.position.height - The height of the target element.
|
|
47
|
+
* @param {number} params.offset - The offset value to display an arrow.
|
|
48
|
+
* @param {Placement} params.placement - The placement of the content relative to the element.
|
|
49
|
+
* @param {number} params.windowWidth - The width of the window.
|
|
50
|
+
*
|
|
51
|
+
* @returns {number | undefined} The maximum width of the content.
|
|
52
|
+
*/
|
|
53
|
+
export declare const calulateContentMaxWidth: ({ position, offset, placement, windowWidth, }: {
|
|
54
|
+
position: {
|
|
55
|
+
pageX: number;
|
|
56
|
+
pageY: number;
|
|
57
|
+
width: number;
|
|
58
|
+
height: number;
|
|
59
|
+
};
|
|
60
|
+
offset: number;
|
|
61
|
+
placement: Placement;
|
|
62
|
+
windowWidth: number;
|
|
63
|
+
}) => number | undefined;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { TouchableOpacity, View } from 'react-native';
|
|
2
2
|
declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
5
|
}, {}, {
|
|
6
6
|
ref?: import("react").Ref<View> | undefined;
|
|
7
7
|
}>;
|
|
8
8
|
declare const StyledContentContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
-
theme?: import("@emotion/react").Theme
|
|
10
|
-
as?:
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
11
|
} & {
|
|
12
12
|
themeHighlighted: boolean;
|
|
13
13
|
}, {}, {
|
|
14
14
|
ref?: import("react").Ref<View> | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
declare const StyledTextContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
17
|
-
theme?: import("@emotion/react").Theme
|
|
18
|
-
as?:
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
19
|
}, {}, {
|
|
20
20
|
ref?: import("react").Ref<View> | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
declare const StyledCTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
23
|
-
theme?: import("@emotion/react").Theme
|
|
24
|
-
as?:
|
|
23
|
+
theme?: import("@emotion/react").Theme;
|
|
24
|
+
as?: React.ElementType;
|
|
25
25
|
}, {}, {
|
|
26
26
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
27
27
|
}>;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
import { AvatarProps } from '../Avatar';
|
|
3
|
-
|
|
3
|
+
type ThemeVariant = 'horizontal' | 'vertical';
|
|
4
4
|
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
|
-
theme?: import("@emotion/react").Theme
|
|
6
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
7
|
} & {
|
|
8
|
-
themeSize: Required<AvatarProps>[
|
|
8
|
+
themeSize: Required<AvatarProps>["size"];
|
|
9
9
|
themeAvatarCount: number;
|
|
10
10
|
themeVariant: ThemeVariant;
|
|
11
11
|
themeHasSurplus: boolean;
|
|
@@ -13,18 +13,18 @@ export declare const StyledWrapper: import("@emotion/native").StyledComponent<im
|
|
|
13
13
|
ref?: import("react").Ref<View> | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const StyledAvatar: import("@emotion/native").StyledComponent<AvatarProps & {
|
|
16
|
-
theme?: import("@emotion/react").Theme
|
|
17
|
-
as?:
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
18
|
} & {
|
|
19
19
|
themeIndex: number;
|
|
20
20
|
themeVariant: ThemeVariant;
|
|
21
21
|
}, {}, {}>;
|
|
22
22
|
export declare const StyledSurplusContainer: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
23
|
-
theme?: import("@emotion/react").Theme
|
|
24
|
-
as?:
|
|
23
|
+
theme?: import("@emotion/react").Theme;
|
|
24
|
+
as?: React.ElementType;
|
|
25
25
|
} & {
|
|
26
26
|
themeIndex: number;
|
|
27
|
-
themeSize: AvatarProps[
|
|
27
|
+
themeSize: AvatarProps["size"];
|
|
28
28
|
themeVariant: ThemeVariant;
|
|
29
29
|
}, {}, {}>;
|
|
30
30
|
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { View, Image, TouchableOpacity } from 'react-native';
|
|
2
2
|
import { TextProps } from '../Typography/Text';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type ThemeSize = 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge';
|
|
4
|
+
type ThemeIntent = 'primary' | 'info' | 'danger' | 'success' | 'warning';
|
|
5
5
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
6
|
-
theme?: import("@emotion/react").Theme
|
|
7
|
-
as?:
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
8
|
} & {
|
|
9
9
|
themeSize: ThemeSize;
|
|
10
10
|
themeIntent: ThemeIntent;
|
|
@@ -12,20 +12,20 @@ declare const StyledWrapper: import("@emotion/native").StyledComponent<import("r
|
|
|
12
12
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
13
13
|
}>;
|
|
14
14
|
declare const StyledTextWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
15
|
-
theme?: import("@emotion/react").Theme
|
|
16
|
-
as?:
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
as?: React.ElementType;
|
|
17
17
|
}, {}, {
|
|
18
18
|
ref?: import("react").Ref<View> | undefined;
|
|
19
19
|
}>;
|
|
20
20
|
declare const StyledText: import("@emotion/native").StyledComponent<TextProps & {
|
|
21
|
-
theme?: import("@emotion/react").Theme
|
|
22
|
-
as?:
|
|
21
|
+
theme?: import("@emotion/react").Theme;
|
|
22
|
+
as?: React.ElementType;
|
|
23
23
|
} & {
|
|
24
24
|
themeSize: ThemeSize;
|
|
25
25
|
}, {}, {}>;
|
|
26
26
|
declare const StyledImage: import("@emotion/native").StyledComponent<import("react-native").ImageProps & {
|
|
27
|
-
theme?: import("@emotion/react").Theme
|
|
28
|
-
as?:
|
|
27
|
+
theme?: import("@emotion/react").Theme;
|
|
28
|
+
as?: React.ElementType;
|
|
29
29
|
} & {
|
|
30
30
|
themeSize: ThemeSize;
|
|
31
31
|
}, {}, {
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Animated } from 'react-native';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
|
|
3
|
+
type ThemePadding = 'narrowContent' | 'wideContent';
|
|
4
|
+
type ThemeSize = 'medium' | 'small';
|
|
5
|
+
type ThemeVariant = 'filled' | 'outlined';
|
|
6
6
|
declare const StyledView: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
|
|
7
|
-
theme?: import("@emotion/react").Theme
|
|
8
|
-
as?:
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
9
|
} & {
|
|
10
10
|
themeIntent: ThemeIntent;
|
|
11
11
|
themePadding: ThemePadding;
|
|
@@ -13,20 +13,20 @@ declare const StyledView: import("@emotion/native").StyledComponent<Animated.Ani
|
|
|
13
13
|
themeVariant: ThemeVariant;
|
|
14
14
|
}, {}, {}>;
|
|
15
15
|
declare const StyledText: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
|
|
16
|
-
theme?: import("@emotion/react").Theme
|
|
17
|
-
as?:
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
18
|
} & {
|
|
19
19
|
themeSize: ThemeSize;
|
|
20
20
|
}, {}, {}>;
|
|
21
21
|
declare const StyledStatus: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
|
|
22
|
-
theme?: import("@emotion/react").Theme
|
|
23
|
-
as?:
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
24
|
} & {
|
|
25
25
|
themeIntent: ThemeIntent;
|
|
26
26
|
}, {}, {}>;
|
|
27
27
|
declare const StyledIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
28
|
-
theme?: import("@emotion/react").Theme
|
|
29
|
-
as?:
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
30
|
} & {
|
|
31
31
|
themeSize: ThemeSize;
|
|
32
32
|
}, {}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BasicBadgeProps, IconBadgeProps } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type BadgeProps = BasicBadgeProps | IconBadgeProps;
|
|
3
3
|
declare const _default: (({ content: originalContent, visible, max, intent, style, testID, size, variant, icon, ...nativeProps }: BadgeProps) => JSX.Element) & {
|
|
4
4
|
Status: ({ children, visible, intent, style, testID, ...nativeProps }: import("./Status").StatusProps) => JSX.Element;
|
|
5
5
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
declare const BottomNavigationTab: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
5
|
} & {
|
|
6
|
-
themeVisibility?: boolean
|
|
6
|
+
themeVisibility?: boolean;
|
|
7
7
|
}, {}, {
|
|
8
8
|
ref?: import("react").Ref<View> | undefined;
|
|
9
9
|
}>;
|
|
10
10
|
declare const BottomNavigationContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
-
theme?: import("@emotion/react").Theme
|
|
12
|
-
as?:
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
13
|
}, {}, {
|
|
14
14
|
ref?: import("react").Ref<View> | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
declare const ContentWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
17
|
-
theme?: import("@emotion/react").Theme
|
|
18
|
-
as?:
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
19
|
}, {}, {
|
|
20
20
|
ref?: import("react").Ref<View> | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
23
|
-
theme?: import("@emotion/react").Theme
|
|
24
|
-
as?:
|
|
23
|
+
theme?: import("@emotion/react").Theme;
|
|
24
|
+
as?: React.ElementType;
|
|
25
25
|
} & {
|
|
26
26
|
themeInsets: {
|
|
27
27
|
top: number;
|
|
@@ -33,19 +33,19 @@ declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import
|
|
|
33
33
|
ref?: import("react").Ref<View> | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
declare const BottomBar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
36
|
-
theme?: import("@emotion/react").Theme
|
|
37
|
-
as?:
|
|
36
|
+
theme?: import("@emotion/react").Theme;
|
|
37
|
+
as?: React.ElementType;
|
|
38
38
|
}, {}, {
|
|
39
39
|
ref?: import("react").Ref<View> | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
declare const BottomBarItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
42
|
-
theme?: import("@emotion/react").Theme
|
|
43
|
-
as?:
|
|
42
|
+
theme?: import("@emotion/react").Theme;
|
|
43
|
+
as?: React.ElementType;
|
|
44
44
|
}, {}, {
|
|
45
45
|
ref?: import("react").Ref<View> | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
declare const StyledBottomBarText: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
|
|
48
|
-
theme?: import("@emotion/react").Theme
|
|
49
|
-
as?:
|
|
48
|
+
theme?: import("@emotion/react").Theme;
|
|
49
|
+
as?: React.ElementType;
|
|
50
50
|
}, {}, {}>;
|
|
51
51
|
export { BottomBar, BottomBarItem, BottomNavigationTab, BottomNavigationContainer, BottomBarWrapper, ContentWrapper, StyledBottomBarText, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
|
|
3
3
|
import type { IconName } from '../Icon';
|
|
4
|
-
export
|
|
4
|
+
export type BottomNavigationTabType = {
|
|
5
5
|
key: string;
|
|
6
6
|
title?: string;
|
|
7
7
|
icon: IconName;
|
|
File without changes
|
|
@@ -3,8 +3,8 @@ import React from 'react';
|
|
|
3
3
|
declare const Header: ({ content, showDivider, onRequestClose, showCloseButton, variant, }: {
|
|
4
4
|
content: string | ReactElement;
|
|
5
5
|
showDivider: boolean;
|
|
6
|
-
onRequestClose?: (
|
|
6
|
+
onRequestClose?: () => void;
|
|
7
7
|
showCloseButton: boolean;
|
|
8
|
-
variant?: "fixed" | "floating"
|
|
8
|
+
variant?: "fixed" | "floating";
|
|
9
9
|
}) => React.JSX.Element;
|
|
10
10
|
export default Header;
|
|
File without changes
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import type { ViewProps } from 'react-native';
|
|
2
2
|
import { Animated, KeyboardAvoidingView, KeyboardAvoidingViewProps, SafeAreaView, TouchableOpacity, View } from 'react-native';
|
|
3
3
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
|
-
theme?: import("@emotion/react").Theme
|
|
5
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
8
8
|
}>;
|
|
9
9
|
declare const StyledKeyboardAvoidingView: import("@emotion/native").StyledComponent<KeyboardAvoidingViewProps & {
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
11
|
-
as?:
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
12
|
}, {}, {
|
|
13
13
|
ref?: import("react").Ref<KeyboardAvoidingView> | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
declare const StyledFloatingWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
|
|
16
|
-
theme?: import("@emotion/react").Theme
|
|
17
|
-
as?:
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
declare const StyledFloatingBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
20
|
-
theme?: import("@emotion/react").Theme
|
|
21
|
-
as?:
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
as?: React.ElementType;
|
|
22
22
|
}, {}, {}>;
|
|
23
23
|
declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
|
|
24
|
-
theme?: import("@emotion/react").Theme
|
|
25
|
-
as?:
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
as?: React.ElementType;
|
|
26
26
|
}, {}, {}>;
|
|
27
27
|
declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
|
|
28
|
-
theme?: import("@emotion/react").Theme
|
|
29
|
-
as?:
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
30
|
}, {}, {}>;
|
|
31
31
|
declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
32
|
-
theme?: import("@emotion/react").Theme
|
|
33
|
-
as?:
|
|
32
|
+
theme?: import("@emotion/react").Theme;
|
|
33
|
+
as?: React.ElementType;
|
|
34
34
|
}, {}, {
|
|
35
35
|
ref?: import("react").Ref<View> | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
declare const StyledHeader: import("@emotion/native").StyledComponent<ViewProps & {
|
|
38
|
-
theme?: import("@emotion/react").Theme
|
|
39
|
-
as?:
|
|
38
|
+
theme?: import("@emotion/react").Theme;
|
|
39
|
+
as?: React.ElementType;
|
|
40
40
|
}, {}, {
|
|
41
41
|
ref?: import("react").Ref<View> | undefined;
|
|
42
42
|
}>;
|
|
43
43
|
declare const StyledFooter: import("@emotion/native").StyledComponent<ViewProps & {
|
|
44
|
-
theme?: import("@emotion/react").Theme
|
|
45
|
-
as?:
|
|
44
|
+
theme?: import("@emotion/react").Theme;
|
|
45
|
+
as?: React.ElementType;
|
|
46
46
|
}, {}, {
|
|
47
47
|
ref?: import("react").Ref<View> | undefined;
|
|
48
48
|
}>;
|
|
49
49
|
declare const StyledIconWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
50
|
-
theme?: import("@emotion/react").Theme
|
|
51
|
-
as?:
|
|
50
|
+
theme?: import("@emotion/react").Theme;
|
|
51
|
+
as?: React.ElementType;
|
|
52
52
|
}, {}, {
|
|
53
53
|
ref?: import("react").Ref<View> | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
declare const StyledFloatingHeaderWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
56
|
-
theme?: import("@emotion/react").Theme
|
|
57
|
-
as?:
|
|
56
|
+
theme?: import("@emotion/react").Theme;
|
|
57
|
+
as?: React.ElementType;
|
|
58
58
|
}, {}, {
|
|
59
59
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
60
60
|
}>;
|
|
File without changes
|