@hero-design/rn 8.113.0 → 8.114.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +674 -439
- package/package.json +4 -4
- package/src/components/Alert/index.tsx +1 -1
- package/src/components/Badge/Count.tsx +2 -2
- package/src/components/Badge/Status.tsx +2 -2
- package/src/components/Badge/index.tsx +2 -1
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +32 -36
- package/src/components/BottomNavigation/__tests__/index.spec.tsx +17 -8
- package/src/components/BottomNavigation/index.tsx +4 -5
- package/src/components/BottomSheet/ScrollView.tsx +2 -1
- package/src/components/BottomSheet/index.tsx +1 -1
- package/src/components/Button/Button.tsx +2 -2
- package/src/components/Calendar/__tests__/CalendarRange.spec.tsx +1 -1
- package/src/components/Calendar/__tests__/index.spec.tsx +4 -9
- package/src/components/Card/DataCard/index.tsx +2 -2
- package/src/components/Card/index.tsx +2 -2
- package/src/components/Carousel/index.tsx +2 -2
- package/src/components/DatePicker/Dialog/__tests__/IOSDialog.spec.tsx +0 -6
- package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +2 -10
- package/src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx +27 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +176 -728
- package/src/components/Drawer/DragableDrawer/index.tsx +2 -2
- package/src/components/Drawer/index.tsx +2 -2
- package/src/components/FAB/__tests__/index.spec.tsx +33 -8
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +3 -0
- package/src/components/Image/index.tsx +2 -1
- package/src/components/List/BasicListItem.tsx +2 -1
- package/src/components/List/ListItem.tsx +1 -1
- package/src/components/MapPin/Focussed.tsx +2 -1
- package/src/components/MapPin/index.tsx +2 -1
- package/src/components/Modal/__tests__/index.spec.tsx +46 -0
- package/src/components/Modal/index.tsx +121 -149
- package/src/components/Progress/ProgressBar.tsx +2 -1
- package/src/components/Progress/ProgressCircle.tsx +2 -1
- package/src/components/Progress/SegmentedBar/Legend.tsx +39 -0
- package/src/components/Progress/SegmentedBar/StyledLegend.tsx +32 -0
- package/src/components/Progress/SegmentedBar/StyledSegmentedBar.tsx +30 -0
- package/src/components/Progress/SegmentedBar/__tests__/index.spec.tsx +115 -0
- package/src/components/Progress/SegmentedBar/__tests__/utils.spec.tsx +24 -0
- package/src/components/Progress/SegmentedBar/constants.ts +8 -0
- package/src/components/Progress/SegmentedBar/hooks/validation.ts +71 -0
- package/src/components/Progress/SegmentedBar/index.tsx +153 -0
- package/src/components/Progress/SegmentedBar/types.ts +62 -0
- package/src/components/Progress/SegmentedBar/utils.ts +16 -0
- package/src/components/Progress/index.tsx +2 -0
- package/src/components/RichTextEditor/MentionList.tsx +2 -1
- package/src/components/Tabs/ScrollableTabs.tsx +30 -9
- package/src/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.tsx +5 -7
- package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +74 -38
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +105 -129
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +30 -42
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +0 -683
- package/src/components/Tabs/__tests__/index.spec.tsx +37 -25
- package/src/components/Tabs/index.tsx +4 -2
- package/src/components/Tag/index.tsx +1 -1
- package/src/components/TimePicker/__tests__/TimePickerIOS.spec.tsx +0 -6
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +237 -282
- package/src/components/Toast/Toast.tsx +2 -1
- package/src/components/Toolbar/ToolbarItem.tsx +2 -1
- package/src/components/Typography/Label/index.tsx +1 -1
- package/src/testHelpers/renderWithTheme.tsx +2 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +9 -1
- package/src/theme/components/bottomNavigation.ts +1 -1
- package/src/theme/components/progress.ts +8 -0
- package/src/types.ts +2 -0
- package/src/utils/helpers.ts +6 -0
- package/.turbo/turbo-build.log +0 -17
- package/es/index.js +0 -48768
- package/locales/en_AU.js +0 -10
- package/locales/en_AU.mjs +0 -8
- package/locales/en_CA.js +0 -10
- package/locales/en_CA.mjs +0 -8
- package/locales/index.js +0 -11
- package/locales/index.mjs +0 -9
- package/locales/types.js +0 -2
- package/locales/types.mjs +0 -1
- package/types/components/Accordion/AccordionItem.d.ts +0 -15
- package/types/components/Accordion/StyledAccordion.d.ts +0 -30
- package/types/components/Accordion/index.d.ts +0 -43
- package/types/components/Alert/StyledAlert.d.ts +0 -51
- package/types/components/Alert/index.d.ts +0 -66
- package/types/components/AnimatedScroller/AnimatedFAB.d.ts +0 -12
- package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +0 -16
- package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +0 -12
- package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +0 -12
- package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +0 -12
- package/types/components/AnimatedScroller/index.d.ts +0 -4
- package/types/components/AppCue/StyledAppCue.d.ts +0 -20
- package/types/components/AppCue/__tests__/StyledAppCue.d.ts +0 -1
- package/types/components/AppCue/index.d.ts +0 -21
- package/types/components/AppCue/utils.d.ts +0 -66
- package/types/components/Attachment/StyledAttachment.d.ts +0 -26
- package/types/components/Attachment/index.d.ts +0 -38
- package/types/components/Avatar/Avatar.d.ts +0 -34
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -30
- package/types/components/Avatar/AvatarStack/index.d.ts +0 -36
- package/types/components/Avatar/AvatarStack/utils.d.ts +0 -4
- package/types/components/Avatar/StyledAvatar.d.ts +0 -32
- package/types/components/Avatar/index.d.ts +0 -6
- package/types/components/Badge/Count.d.ts +0 -27
- package/types/components/Badge/Status.d.ts +0 -23
- package/types/components/Badge/StyledBadge.d.ts +0 -43
- package/types/components/Badge/constants.d.ts +0 -1
- package/types/components/Badge/index.d.ts +0 -7
- package/types/components/Badge/types.d.ts +0 -53
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -51
- package/types/components/BottomNavigation/index.d.ts +0 -45
- package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -5
- package/types/components/BottomSheet/Footer.d.ts +0 -7
- package/types/components/BottomSheet/Header.d.ts +0 -10
- package/types/components/BottomSheet/ScrollView.d.ts +0 -5
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -59
- package/types/components/BottomSheet/index.d.ts +0 -74
- package/types/components/Box/StyledBox.d.ts +0 -10
- package/types/components/Box/config.d.ts +0 -174
- package/types/components/Box/index.d.ts +0 -6
- package/types/components/Box/types.d.ts +0 -31
- package/types/components/Button/Button.d.ts +0 -64
- package/types/components/Button/IconButton.d.ts +0 -39
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -19
- package/types/components/Button/LoadingIndicator/index.d.ts +0 -27
- package/types/components/Button/StyledButton.d.ts +0 -61
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -15
- package/types/components/Button/UtilityButton/index.d.ts +0 -24
- package/types/components/Button/index.d.ts +0 -10
- package/types/components/Calendar/CalendarRange.d.ts +0 -11
- package/types/components/Calendar/CalendarRangeConnector.d.ts +0 -11
- package/types/components/Calendar/CalendarRowItem.d.ts +0 -13
- package/types/components/Calendar/StyledCalendar.d.ts +0 -61
- package/types/components/Calendar/constants.d.ts +0 -4
- package/types/components/Calendar/helpers.d.ts +0 -35
- package/types/components/Calendar/index.d.ts +0 -9
- package/types/components/Calendar/shared/hooks/useCalendarLayout.d.ts +0 -8
- package/types/components/Calendar/types.d.ts +0 -58
- package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -22
- package/types/components/Card/DataCard/index.d.ts +0 -22
- package/types/components/Card/StyledCard.d.ts +0 -11
- package/types/components/Card/index.d.ts +0 -32
- package/types/components/Carousel/CardCarousel.d.ts +0 -46
- package/types/components/Carousel/CarouselItem.d.ts +0 -7
- package/types/components/Carousel/StyledCardCarousel.d.ts +0 -27
- package/types/components/Carousel/StyledCarousel.d.ts +0 -55
- package/types/components/Carousel/contants.d.ts +0 -2
- package/types/components/Carousel/index.d.ts +0 -46
- package/types/components/Carousel/types.d.ts +0 -14
- package/types/components/Chart/ChartSelect/StyledChartSelect.d.ts +0 -8
- package/types/components/Chart/ChartSelect/index.d.ts +0 -63
- package/types/components/Chart/ColumnChart/ColumnChartContent.d.ts +0 -29
- package/types/components/Chart/ColumnChart/Segment.d.ts +0 -14
- package/types/components/Chart/ColumnChart/StackedSegment.d.ts +0 -32
- package/types/components/Chart/ColumnChart/StyledColumnChart.d.ts +0 -8
- package/types/components/Chart/ColumnChart/index.d.ts +0 -86
- package/types/components/Chart/Line/Line.d.ts +0 -23
- package/types/components/Chart/Line/index.d.ts +0 -41
- package/types/components/Chart/StyledChart.d.ts +0 -9
- package/types/components/Chart/index.d.ts +0 -6
- package/types/components/Chart/shared/AxisLabel.d.ts +0 -7
- package/types/components/Chart/shared/ChartFrame.d.ts +0 -30
- package/types/components/Chart/shared/ChartHeader.d.ts +0 -8
- package/types/components/Chart/shared/EmptyState.d.ts +0 -8
- package/types/components/Chart/shared/XAxis.d.ts +0 -8
- package/types/components/Chart/shared/XAxisGrid.d.ts +0 -8
- package/types/components/Chart/shared/YAxis.d.ts +0 -10
- package/types/components/Chart/shared/YAxisGrid.d.ts +0 -10
- package/types/components/Chart/shared/constants.d.ts +0 -4
- package/types/components/Chart/shared/hooks/useColorScale.d.ts +0 -7
- package/types/components/Chart/shared/hooks/useCustomColor.d.ts +0 -22
- package/types/components/Chart/shared/hooks/useGenerateTicks.d.ts +0 -6
- package/types/components/Chart/shared/hooks/useScaleBandX.d.ts +0 -7
- package/types/components/Chart/shared/hooks/useScaleLinearY.d.ts +0 -8
- package/types/components/Chart/shared/niceNumbers.d.ts +0 -12
- package/types/components/Chart/shared/utils.d.ts +0 -11
- package/types/components/Chart/types.d.ts +0 -91
- package/types/components/Checkbox/DefaultCheckBox.d.ts +0 -40
- package/types/components/Checkbox/InlineCheckBox.d.ts +0 -38
- package/types/components/Checkbox/StyledDefaultCheckBox.d.ts +0 -33
- package/types/components/Checkbox/StyledInlineCheckBox.d.ts +0 -45
- package/types/components/Checkbox/index.d.ts +0 -6
- package/types/components/Checkbox/utils.d.ts +0 -7
- package/types/components/Chip/StyledChip.d.ts +0 -13
- package/types/components/Chip/index.d.ts +0 -43
- package/types/components/Collapse/StyledCollapse.d.ts +0 -23
- package/types/components/Collapse/index.d.ts +0 -20
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -8
- package/types/components/ContentNavigator/index.d.ts +0 -43
- package/types/components/DatePicker/DatePicker.d.ts +0 -4
- package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -7
- package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -4
- package/types/components/DatePicker/DatePickerIOS.d.ts +0 -7
- package/types/components/DatePicker/Dialog/AndroidDialog.d.ts +0 -5
- package/types/components/DatePicker/Dialog/IOSDialog.d.ts +0 -4
- package/types/components/DatePicker/Dialog/type.d.ts +0 -50
- package/types/components/DatePicker/Dialog.d.ts +0 -4
- package/types/components/DatePicker/StyledDatePicker.d.ts +0 -16
- package/types/components/DatePicker/hooks/useCalculateDate.d.ts +0 -4
- package/types/components/DatePicker/hooks/useFormatDate.d.ts +0 -10
- package/types/components/DatePicker/hooks/utils.d.ts +0 -6
- package/types/components/DatePicker/index.d.ts +0 -6
- package/types/components/DatePicker/index.internal.d.ts +0 -7
- package/types/components/DatePicker/types.d.ts +0 -109
- package/types/components/Divider/StyledDivider.d.ts +0 -12
- package/types/components/Divider/index.d.ts +0 -22
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -8
- package/types/components/Drawer/DragableDrawer/index.d.ts +0 -33
- package/types/components/Drawer/StyledDrawer.d.ts +0 -49
- package/types/components/Drawer/index.d.ts +0 -27
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -18
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -31
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -15
- package/types/components/FAB/ActionGroup/index.d.ts +0 -55
- package/types/components/FAB/AnimatedFABIcon.d.ts +0 -7
- package/types/components/FAB/FAB.d.ts +0 -40
- package/types/components/FAB/Pair/StyledFAB.d.ts +0 -12
- package/types/components/FAB/Pair/index.d.ts +0 -16
- package/types/components/FAB/StyledFAB.d.ts +0 -22
- package/types/components/FAB/index.d.ts +0 -5
- package/types/components/FilterTrigger/StyledFilterTrigger.d.ts +0 -20
- package/types/components/FilterTrigger/index.d.ts +0 -39
- package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +0 -19
- package/types/components/FloatingIsland/index.d.ts +0 -24
- package/types/components/HeroDesignProvider/index.d.ts +0 -8
- package/types/components/Icon/AnimatedIcon.d.ts +0 -6
- package/types/components/Icon/HeroIcon/index.d.ts +0 -12
- package/types/components/Icon/IconList.d.ts +0 -2
- package/types/components/Icon/index.d.ts +0 -37
- package/types/components/Icon/utils.d.ts +0 -3
- package/types/components/Illustration/BaseSvg.d.ts +0 -8
- package/types/components/Illustration/assets/Add.d.ts +0 -4
- package/types/components/Illustration/assets/AllInOneSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Boom.d.ts +0 -4
- package/types/components/Illustration/assets/Build.d.ts +0 -4
- package/types/components/Illustration/assets/CelebrationSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Clock.d.ts +0 -4
- package/types/components/Illustration/assets/Confetti.d.ts +0 -4
- package/types/components/Illustration/assets/Connections.d.ts +0 -4
- package/types/components/Illustration/assets/DiySketch.d.ts +0 -4
- package/types/components/Illustration/assets/Error.d.ts +0 -4
- package/types/components/Illustration/assets/ErrorSketch.d.ts +0 -4
- package/types/components/Illustration/assets/FreedomSketch.d.ts +0 -4
- package/types/components/Illustration/assets/GrowingSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Info.d.ts +0 -4
- package/types/components/Illustration/assets/InstantSketch.d.ts +0 -4
- package/types/components/Illustration/assets/LiftSketch.d.ts +0 -4
- package/types/components/Illustration/assets/List.d.ts +0 -4
- package/types/components/Illustration/assets/Location.d.ts +0 -4
- package/types/components/Illustration/assets/Lock.d.ts +0 -4
- package/types/components/Illustration/assets/Merge.d.ts +0 -4
- package/types/components/Illustration/assets/NoResult.d.ts +0 -4
- package/types/components/Illustration/assets/Notifications.d.ts +0 -4
- package/types/components/Illustration/assets/OnDemandSketch.d.ts +0 -4
- package/types/components/Illustration/assets/ProcessingSketch.d.ts +0 -4
- package/types/components/Illustration/assets/RemoteJobsSketch.d.ts +0 -4
- package/types/components/Illustration/assets/RewardSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Search.d.ts +0 -4
- package/types/components/Illustration/assets/SearchSketch.d.ts +0 -4
- package/types/components/Illustration/assets/SecuritySketch.d.ts +0 -4
- package/types/components/Illustration/assets/SentSketch.d.ts +0 -4
- package/types/components/Illustration/assets/SpeedSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Star.d.ts +0 -4
- package/types/components/Illustration/assets/Success.d.ts +0 -4
- package/types/components/Illustration/assets/SuperchargeSketch.d.ts +0 -4
- package/types/components/Illustration/assets/Unlock.d.ts +0 -4
- package/types/components/Illustration/assets/UnlockSketch.d.ts +0 -4
- package/types/components/Illustration/assets/User.d.ts +0 -4
- package/types/components/Illustration/assets/WorkflowSketch.d.ts +0 -4
- package/types/components/Illustration/constants.d.ts +0 -1
- package/types/components/Illustration/hooks/useMonoColor.d.ts +0 -5
- package/types/components/Illustration/illustrations.d.ts +0 -42
- package/types/components/Illustration/index.d.ts +0 -29
- package/types/components/Illustration/types.d.ts +0 -7
- package/types/components/Image/index.d.ts +0 -20
- package/types/components/List/BasicListItem.d.ts +0 -43
- package/types/components/List/ListItem.d.ts +0 -52
- package/types/components/List/StyledBasicListItem.d.ts +0 -27
- package/types/components/List/StyledListItem.d.ts +0 -49
- package/types/components/List/index.d.ts +0 -8
- package/types/components/LocaleProvider/__tests__/utils.specs.d.ts +0 -1
- package/types/components/LocaleProvider/context.d.ts +0 -3
- package/types/components/LocaleProvider/hooks.d.ts +0 -5
- package/types/components/LocaleProvider/index.d.ts +0 -7
- package/types/components/LocaleProvider/utils.d.ts +0 -3
- package/types/components/MapPin/Focussed.d.ts +0 -13
- package/types/components/MapPin/StyledMapPin.d.ts +0 -41
- package/types/components/MapPin/index.d.ts +0 -5
- package/types/components/MapPin/types.d.ts +0 -38
- package/types/components/Modal/index.d.ts +0 -38
- package/types/components/PageControl/StyledPageControl.d.ts +0 -12
- package/types/components/PageControl/index.d.ts +0 -22
- package/types/components/PinInput/PinCell.d.ts +0 -9
- package/types/components/PinInput/StyledPinInput.d.ts +0 -67
- package/types/components/PinInput/index.d.ts +0 -73
- package/types/components/Portal/PortalHost.d.ts +0 -5
- package/types/components/Portal/PortalProvider.d.ts +0 -7
- package/types/components/Portal/constants.d.ts +0 -8
- package/types/components/Portal/contexts.d.ts +0 -9
- package/types/components/Portal/index.d.ts +0 -19
- package/types/components/Portal/reducer.d.ts +0 -5
- package/types/components/Portal/types.d.ts +0 -23
- package/types/components/Portal/usePortal.d.ts +0 -8
- package/types/components/Portal/usePortalState.d.ts +0 -1
- package/types/components/Progress/ProgressBar.d.ts +0 -18
- package/types/components/Progress/ProgressCircle.d.ts +0 -20
- package/types/components/Progress/ProgressStep.d.ts +0 -20
- package/types/components/Progress/StyledProgressBar.d.ts +0 -18
- package/types/components/Progress/StyledProgressCircle.d.ts +0 -15
- package/types/components/Progress/StyledStep.d.ts +0 -23
- package/types/components/Progress/__tests__/index.spec.d.ts +0 -1
- package/types/components/Progress/constants.d.ts +0 -15
- package/types/components/Progress/index.d.ts +0 -6
- package/types/components/Progress/types.d.ts +0 -1
- package/types/components/Radio/Radio.d.ts +0 -43
- package/types/components/Radio/RadioGroup.d.ts +0 -40
- package/types/components/Radio/StyledRadio.d.ts +0 -30
- package/types/components/Radio/index.d.ts +0 -4
- package/types/components/Radio/types.d.ts +0 -10
- package/types/components/Rate/StyledRate.d.ts +0 -10
- package/types/components/Rate/index.d.ts +0 -29
- package/types/components/RefreshControl/index.d.ts +0 -5
- package/types/components/RichTextEditor/EditorEvent.d.ts +0 -3
- package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -18
- package/types/components/RichTextEditor/MentionList.d.ts +0 -17
- package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -27
- package/types/components/RichTextEditor/RichTextEditorInput.d.ts +0 -69
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -7
- package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -19
- package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -2
- package/types/components/RichTextEditor/constants.d.ts +0 -17
- package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -2
- package/types/components/RichTextEditor/hooks/useRichTextEditorEvents.d.ts +0 -36
- package/types/components/RichTextEditor/index.d.ts +0 -71
- package/types/components/RichTextEditor/types.d.ts +0 -2
- package/types/components/RichTextEditor/utils/events.d.ts +0 -7
- package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -7
- package/types/components/Search/SearchOneLine.d.ts +0 -73
- package/types/components/Search/SearchSuffixIcon.d.ts +0 -24
- package/types/components/Search/SearchTwoLine.d.ts +0 -40
- package/types/components/Search/StyledSearch.d.ts +0 -49
- package/types/components/Search/index.d.ts +0 -10
- package/types/components/Search/utils.d.ts +0 -8
- package/types/components/SectionHeading/StyledHeading.d.ts +0 -23
- package/types/components/SectionHeading/index.d.ts +0 -45
- package/types/components/SegmentedControl/SegmentedItem.d.ts +0 -18
- package/types/components/SegmentedControl/StyledSegmentedControl.d.ts +0 -26
- package/types/components/SegmentedControl/index.d.ts +0 -31
- package/types/components/SegmentedControl/types.d.ts +0 -43
- package/types/components/Select/BaseOptionList.d.ts +0 -8
- package/types/components/Select/Footer.d.ts +0 -6
- package/types/components/Select/MultiSelect/Option.d.ts +0 -10
- package/types/components/Select/MultiSelect/OptionList.d.ts +0 -9
- package/types/components/Select/MultiSelect/index.d.ts +0 -35
- package/types/components/Select/MultiSelect/utils.d.ts +0 -2
- package/types/components/Select/SingleSelect/Option.d.ts +0 -10
- package/types/components/Select/SingleSelect/OptionList.d.ts +0 -11
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -2
- package/types/components/Select/SingleSelect/index.d.ts +0 -28
- package/types/components/Select/StyledSelect.d.ts +0 -28
- package/types/components/Select/helpers.d.ts +0 -10
- package/types/components/Select/index.d.ts +0 -10
- package/types/components/Select/index.internal.d.ts +0 -21
- package/types/components/Select/types.d.ts +0 -88
- package/types/components/Skeleton/StyledSkeleton.d.ts +0 -16
- package/types/components/Skeleton/index.d.ts +0 -14
- package/types/components/Slider/RangeSlider.d.ts +0 -60
- package/types/components/Slider/SingleSlider.d.ts +0 -53
- package/types/components/Slider/StyledRangeSlider.d.ts +0 -10
- package/types/components/Slider/constants.d.ts +0 -3
- package/types/components/Slider/index.d.ts +0 -8
- package/types/components/Spinner/AnimatedSpinner.d.ts +0 -6
- package/types/components/Spinner/StyledSpinner.d.ts +0 -34
- package/types/components/Spinner/index.d.ts +0 -18
- package/types/components/StatusScreens/Empty/StyledEmpty.d.ts +0 -27
- package/types/components/StatusScreens/Empty/index.d.ts +0 -38
- package/types/components/StatusScreens/Error/StyledError.d.ts +0 -59
- package/types/components/StatusScreens/Error/index.d.ts +0 -62
- package/types/components/StatusScreens/Success/StyledSuccess.d.ts +0 -59
- package/types/components/StatusScreens/Success/index.d.ts +0 -56
- package/types/components/Swipeable/StyledSwipeable.d.ts +0 -7
- package/types/components/Swipeable/SwipeableAction.d.ts +0 -28
- package/types/components/Swipeable/index.d.ts +0 -50
- package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -14
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -19
- package/types/components/Switch/SelectorSwitch/index.d.ts +0 -37
- package/types/components/Switch/StyledSwitch.d.ts +0 -15
- package/types/components/Switch/index.d.ts +0 -28
- package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -9
- package/types/components/Tabs/SceneView.d.ts +0 -10
- package/types/components/Tabs/ScrollableTabs.d.ts +0 -7
- package/types/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.d.ts +0 -40
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +0 -9
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +0 -10
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -55
- package/types/components/Tabs/StyledTabs.d.ts +0 -45
- package/types/components/Tabs/TabWithBadge.d.ts +0 -17
- package/types/components/Tabs/index.d.ts +0 -62
- package/types/components/Tabs/useHandlePageScroll.d.ts +0 -8
- package/types/components/Tabs/useIsFocused.d.ts +0 -6
- package/types/components/Tabs/utils.d.ts +0 -2
- package/types/components/Tag/StyledTag.d.ts +0 -17
- package/types/components/Tag/index.d.ts +0 -28
- package/types/components/TextInput/StyledTextInput.d.ts +0 -89
- package/types/components/TextInput/index.d.ts +0 -136
- package/types/components/TimePicker/StyledTimePicker.d.ts +0 -16
- package/types/components/TimePicker/TimePicker.d.ts +0 -4
- package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -4
- package/types/components/TimePicker/TimePickerIOS.d.ts +0 -4
- package/types/components/TimePicker/index.d.ts +0 -4
- package/types/components/TimePicker/index.internal.d.ts +0 -5
- package/types/components/TimePicker/types.d.ts +0 -76
- package/types/components/Toast/StyledToast.d.ts +0 -57
- package/types/components/Toast/Toast.d.ts +0 -3
- package/types/components/Toast/ToastContainer.d.ts +0 -5
- package/types/components/Toast/ToastContext.d.ts +0 -13
- package/types/components/Toast/ToastProvider.d.ts +0 -11
- package/types/components/Toast/index.d.ts +0 -8
- package/types/components/Toast/types.d.ts +0 -74
- package/types/components/Toolbar/StyledToolbar.d.ts +0 -69
- package/types/components/Toolbar/ToolbarGroup.d.ts +0 -25
- package/types/components/Toolbar/ToolbarItem.d.ts +0 -31
- package/types/components/Toolbar/ToolbarMessage.d.ts +0 -58
- package/types/components/Toolbar/index.d.ts +0 -14
- package/types/components/Typography/Body/StyledBody.d.ts +0 -15
- package/types/components/Typography/Body/__tests__/StyledBody.d.ts +0 -1
- package/types/components/Typography/Body/index.d.ts +0 -38
- package/types/components/Typography/Caption/StyledCaption.d.ts +0 -13
- package/types/components/Typography/Caption/index.d.ts +0 -32
- package/types/components/Typography/Label/StyledLabel.d.ts +0 -12
- package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +0 -1
- package/types/components/Typography/Label/index.d.ts +0 -28
- package/types/components/Typography/Text/StyledText.d.ts +0 -13
- package/types/components/Typography/Text/index.d.ts +0 -40
- package/types/components/Typography/Title/StyledTitle.d.ts +0 -15
- package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +0 -1
- package/types/components/Typography/Title/index.d.ts +0 -38
- package/types/components/Typography/index.d.ts +0 -17
- package/types/components/Typography/types.d.ts +0 -6
- package/types/index.d.ts +0 -64
- package/types/index.internal.d.ts +0 -19
- package/types/locales/en_AU.d.ts +0 -3
- package/types/locales/en_CA.d.ts +0 -3
- package/types/locales/index.d.ts +0 -5
- package/types/locales/types.d.ts +0 -10
- package/types/testHelpers/renderWithTheme.d.ts +0 -3
- package/types/testHelpers/utils.d.ts +0 -1
- package/types/theme/ThemeProvider.d.ts +0 -12
- package/types/theme/ThemeSwitcher.d.ts +0 -9
- package/types/theme/components/accordion.d.ts +0 -13
- package/types/theme/components/alert.d.ts +0 -48
- package/types/theme/components/appCue.d.ts +0 -16
- package/types/theme/components/attachment.d.ts +0 -21
- package/types/theme/components/avatar.d.ts +0 -50
- package/types/theme/components/badge.d.ts +0 -69
- package/types/theme/components/bottomNavigation.d.ts +0 -30
- package/types/theme/components/bottomSheet.d.ts +0 -29
- package/types/theme/components/button.d.ts +0 -127
- package/types/theme/components/calendar.d.ts +0 -33
- package/types/theme/components/card.d.ts +0 -26
- package/types/theme/components/cardCarousel.d.ts +0 -19
- package/types/theme/components/carousel.d.ts +0 -36
- package/types/theme/components/chart.d.ts +0 -22
- package/types/theme/components/checkbox.d.ts +0 -40
- package/types/theme/components/chip.d.ts +0 -43
- package/types/theme/components/columnChart.d.ts +0 -10
- package/types/theme/components/contentNavigator.d.ts +0 -7
- package/types/theme/components/datePicker.d.ts +0 -7
- package/types/theme/components/divider.d.ts +0 -17
- package/types/theme/components/drawer.d.ts +0 -30
- package/types/theme/components/empty.d.ts +0 -37
- package/types/theme/components/error.d.ts +0 -52
- package/types/theme/components/fab.d.ts +0 -73
- package/types/theme/components/filterTrigger.d.ts +0 -72
- package/types/theme/components/floatingIsland.d.ts +0 -32
- package/types/theme/components/icon.d.ts +0 -25
- package/types/theme/components/image.d.ts +0 -8
- package/types/theme/components/list.d.ts +0 -46
- package/types/theme/components/mapPin.d.ts +0 -43
- package/types/theme/components/pageControl.d.ts +0 -18
- package/types/theme/components/pinInput.d.ts +0 -57
- package/types/theme/components/progress.d.ts +0 -51
- package/types/theme/components/radio.d.ts +0 -24
- package/types/theme/components/rate.d.ts +0 -11
- package/types/theme/components/refreshControl.d.ts +0 -7
- package/types/theme/components/richTextEditor.d.ts +0 -28
- package/types/theme/components/search.d.ts +0 -58
- package/types/theme/components/sectionHeading.d.ts +0 -14
- package/types/theme/components/segmentedControl.d.ts +0 -55
- package/types/theme/components/select.d.ts +0 -18
- package/types/theme/components/skeleton.d.ts +0 -17
- package/types/theme/components/slider.d.ts +0 -33
- package/types/theme/components/spinner.d.ts +0 -27
- package/types/theme/components/success.d.ts +0 -45
- package/types/theme/components/swipeable.d.ts +0 -16
- package/types/theme/components/switch.d.ts +0 -38
- package/types/theme/components/tabs.d.ts +0 -31
- package/types/theme/components/tag.d.ts +0 -53
- package/types/theme/components/textInput.d.ts +0 -95
- package/types/theme/components/timePicker.d.ts +0 -7
- package/types/theme/components/toast.d.ts +0 -52
- package/types/theme/components/toolbar.d.ts +0 -48
- package/types/theme/components/typography.d.ts +0 -168
- package/types/theme/getTheme.d.ts +0 -119
- package/types/theme/global/borders.d.ts +0 -18
- package/types/theme/global/colors/__tests__/ehWork.spec.d.ts +0 -1
- package/types/theme/global/colors/eBens.d.ts +0 -6
- package/types/theme/global/colors/ehJobs.d.ts +0 -3
- package/types/theme/global/colors/ehWork.d.ts +0 -3
- package/types/theme/global/colors/ehWorkDark.d.ts +0 -3
- package/types/theme/global/colors/global.d.ts +0 -3
- package/types/theme/global/colors/globalDark.d.ts +0 -3
- package/types/theme/global/colors/jobs.d.ts +0 -6
- package/types/theme/global/colors/swag.d.ts +0 -6
- package/types/theme/global/colors/swagDark.d.ts +0 -6
- package/types/theme/global/colors/swagLight.d.ts +0 -6
- package/types/theme/global/colors/swagLightGlobal.d.ts +0 -3
- package/types/theme/global/colors/swagLightJobs.d.ts +0 -6
- package/types/theme/global/colors/swagSystemPalette.d.ts +0 -3
- package/types/theme/global/colors/types.d.ts +0 -58
- package/types/theme/global/colors/wallet.d.ts +0 -6
- package/types/theme/global/colors/work.d.ts +0 -6
- package/types/theme/global/index.d.ts +0 -78
- package/types/theme/global/scale.d.ts +0 -14
- package/types/theme/global/shadows/ehJobs.d.ts +0 -3
- package/types/theme/global/shadows/ehWork.d.ts +0 -3
- package/types/theme/global/shadows/ehWorkDark.d.ts +0 -3
- package/types/theme/global/shadows/index.d.ts +0 -3
- package/types/theme/global/shadows/types.d.ts +0 -16
- package/types/theme/global/sizes.d.ts +0 -14
- package/types/theme/global/space.d.ts +0 -16
- package/types/theme/global/typography.d.ts +0 -34
- package/types/theme/index.d.ts +0 -9
- package/types/types.d.ts +0 -42
- package/types/types.internal.d.ts +0 -18
- package/types/utils/functions.d.ts +0 -1
- package/types/utils/helpers.d.ts +0 -13
- package/types/utils/hooks.d.ts +0 -3
- package/types/utils/scale.d.ts +0 -1
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { View, Image } from 'react-native';
|
|
2
|
-
import type { TextProps } from '../Typography/Text';
|
|
3
|
-
type ThemeSize = 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge';
|
|
4
|
-
type ThemeIntent = 'primary' | 'info' | 'danger' | 'success' | 'warning';
|
|
5
|
-
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
6
|
-
theme?: import("@emotion/react").Theme;
|
|
7
|
-
as?: React.ElementType;
|
|
8
|
-
} & {
|
|
9
|
-
themeSize: ThemeSize;
|
|
10
|
-
themeIntent: ThemeIntent;
|
|
11
|
-
}, {}, {}>;
|
|
12
|
-
declare const StyledTextWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
13
|
-
theme?: import("@emotion/react").Theme;
|
|
14
|
-
as?: React.ElementType;
|
|
15
|
-
}, {}, {
|
|
16
|
-
ref?: import("react").Ref<View> | undefined;
|
|
17
|
-
}>;
|
|
18
|
-
declare const StyledText: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
|
|
19
|
-
theme?: import("@emotion/react").Theme;
|
|
20
|
-
as?: React.ElementType;
|
|
21
|
-
} & TextProps & {
|
|
22
|
-
themeSize: ThemeSize;
|
|
23
|
-
}, {}, {}>;
|
|
24
|
-
declare const StyledImage: import("@emotion/native").StyledComponent<import("react-native").ImageProps & {
|
|
25
|
-
theme?: import("@emotion/react").Theme;
|
|
26
|
-
as?: React.ElementType;
|
|
27
|
-
} & {
|
|
28
|
-
themeSize: ThemeSize;
|
|
29
|
-
}, {}, {
|
|
30
|
-
ref?: import("react").Ref<Image> | undefined;
|
|
31
|
-
}>;
|
|
32
|
-
export { StyledWrapper, StyledImage, StyledTextWrapper, StyledText };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { useAvatarColors } from './AvatarStack/utils';
|
|
2
|
-
declare const _default: (({ onPress, source, testID, style, title, size, intent, }: import("./Avatar").AvatarProps) => import("react").JSX.Element | null) & {
|
|
3
|
-
Stack: ({ children, max, size, style, testID, variant, total, renderSurplus, }: import("./AvatarStack").AvatarStackProps) => import("react").JSX.Element;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export { useAvatarColors };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
export interface CountProps extends ViewProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
/**
|
|
6
|
-
* Whether the Status Badge is visible.
|
|
7
|
-
*/
|
|
8
|
-
visible?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Additional style.
|
|
11
|
-
*/
|
|
12
|
-
style?: StyleProp<ViewStyle>;
|
|
13
|
-
/**
|
|
14
|
-
* Testing id of the component.
|
|
15
|
-
*/
|
|
16
|
-
testID?: string;
|
|
17
|
-
/**
|
|
18
|
-
* The content will be displayed in the badge.
|
|
19
|
-
*/
|
|
20
|
-
content: number;
|
|
21
|
-
/**
|
|
22
|
-
* The maximum number displayed on the badge. If number exceeds this value, `${max}+` are displayed instead. (Only applied when content is number.)
|
|
23
|
-
*/
|
|
24
|
-
max?: number;
|
|
25
|
-
}
|
|
26
|
-
declare const Status: ({ children, visible, style, max, testID, content: originalContent, ...nativeProps }: CountProps) => JSX.Element;
|
|
27
|
-
export default Status;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
export interface StatusProps extends ViewProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
/**
|
|
6
|
-
* Whether the Status Badge is visible.
|
|
7
|
-
*/
|
|
8
|
-
visible?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Visual intent color to apply to Status Badge.
|
|
11
|
-
*/
|
|
12
|
-
intent?: 'success' | 'warning' | 'danger' | 'info' | 'archived' | 'primary';
|
|
13
|
-
/**
|
|
14
|
-
* Additional style.
|
|
15
|
-
*/
|
|
16
|
-
style?: StyleProp<ViewStyle>;
|
|
17
|
-
/**
|
|
18
|
-
* Testing id of the component.
|
|
19
|
-
*/
|
|
20
|
-
testID?: string;
|
|
21
|
-
}
|
|
22
|
-
declare const Status: ({ children, visible, intent, style, testID, ...nativeProps }: StatusProps) => JSX.Element;
|
|
23
|
-
export default Status;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Animated, View } from 'react-native';
|
|
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
|
-
declare const StyledView: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
7
|
-
theme?: import("@emotion/react").Theme;
|
|
8
|
-
as?: React.ElementType;
|
|
9
|
-
} & {
|
|
10
|
-
themeIntent: ThemeIntent;
|
|
11
|
-
themePadding: ThemePadding;
|
|
12
|
-
themeSize: ThemeSize;
|
|
13
|
-
themeVariant: ThemeVariant;
|
|
14
|
-
}, {}, {}>;
|
|
15
|
-
declare const StyledText: import("@emotion/native").StyledComponent<import("../..").CaptionProps & {
|
|
16
|
-
theme?: import("@emotion/react").Theme;
|
|
17
|
-
as?: React.ElementType;
|
|
18
|
-
} & {
|
|
19
|
-
themeSize: ThemeSize;
|
|
20
|
-
}, {}, {}>;
|
|
21
|
-
declare const StyledStatus: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
22
|
-
theme?: import("@emotion/react").Theme;
|
|
23
|
-
as?: React.ElementType;
|
|
24
|
-
} & {
|
|
25
|
-
themeIntent: ThemeIntent;
|
|
26
|
-
}, {}, {}>;
|
|
27
|
-
declare const StyledCount: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
28
|
-
theme?: import("@emotion/react").Theme;
|
|
29
|
-
as?: React.ElementType;
|
|
30
|
-
}, {}, {
|
|
31
|
-
ref?: import("react").Ref<View> | undefined;
|
|
32
|
-
}>;
|
|
33
|
-
declare const StyledCountText: import("@emotion/native").StyledComponent<import("../..").TextProps & {
|
|
34
|
-
theme?: import("@emotion/react").Theme;
|
|
35
|
-
as?: React.ElementType;
|
|
36
|
-
}, {}, {}>;
|
|
37
|
-
declare const StyledIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
38
|
-
theme?: import("@emotion/react").Theme;
|
|
39
|
-
as?: React.ElementType;
|
|
40
|
-
} & {
|
|
41
|
-
themeSize: ThemeSize;
|
|
42
|
-
}, {}, {}>;
|
|
43
|
-
export { StyledCountText, StyledView, StyledText, StyledStatus, StyledIcon, StyledCount, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_MAX_NUMBER = 99;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { BasicBadgeProps, IconBadgeProps } from './types';
|
|
2
|
-
export type BadgeProps = BasicBadgeProps | IconBadgeProps;
|
|
3
|
-
declare const _default: (({ content: originalContent, visible, max, intent, style, testID, size, variant, icon, ...nativeProps }: BadgeProps) => JSX.Element) & {
|
|
4
|
-
Status: ({ children, visible, intent, style, testID, ...nativeProps }: import("./Status").StatusProps) => JSX.Element;
|
|
5
|
-
Count: ({ children, visible, style, max, testID, content: originalContent, ...nativeProps }: import("./Count").CountProps) => JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type { Animated, StyleProp, ViewStyle } from 'react-native';
|
|
2
|
-
import type { IconName } from '../Icon';
|
|
3
|
-
interface BaseBadgeProps extends React.ComponentProps<typeof Animated.View> {
|
|
4
|
-
/**
|
|
5
|
-
* Whether the Badge is visible.
|
|
6
|
-
*/
|
|
7
|
-
visible?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* The maximum number displayed on the badge. If number exceeds this value, `${max}+` are displayed instead. (Only applied when content is number.)
|
|
10
|
-
*/
|
|
11
|
-
max?: number;
|
|
12
|
-
/**
|
|
13
|
-
* Visual intent color to apply to Badge.
|
|
14
|
-
*/
|
|
15
|
-
intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
|
|
16
|
-
/**
|
|
17
|
-
* Additional style.
|
|
18
|
-
*/
|
|
19
|
-
style?: StyleProp<ViewStyle>;
|
|
20
|
-
/**
|
|
21
|
-
* Testing id of the component.
|
|
22
|
-
*/
|
|
23
|
-
testID?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Size of the badge
|
|
26
|
-
*/
|
|
27
|
-
size?: 'medium' | 'small';
|
|
28
|
-
/**
|
|
29
|
-
* Variant of the badge
|
|
30
|
-
*/
|
|
31
|
-
variant?: 'filled' | 'outlined';
|
|
32
|
-
}
|
|
33
|
-
export interface BasicBadgeProps extends BaseBadgeProps {
|
|
34
|
-
/**
|
|
35
|
-
* Content of the Badge.
|
|
36
|
-
*/
|
|
37
|
-
content: string | number;
|
|
38
|
-
/**
|
|
39
|
-
* Use Icon as the content of the Badge.
|
|
40
|
-
*/
|
|
41
|
-
icon?: never;
|
|
42
|
-
}
|
|
43
|
-
export interface IconBadgeProps extends BaseBadgeProps {
|
|
44
|
-
/**
|
|
45
|
-
* Content of the Badge.
|
|
46
|
-
*/
|
|
47
|
-
content?: never;
|
|
48
|
-
/**
|
|
49
|
-
* Use Icon as the content of the Badge.
|
|
50
|
-
*/
|
|
51
|
-
icon: IconName;
|
|
52
|
-
}
|
|
53
|
-
export {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { View } from 'react-native';
|
|
2
|
-
declare const BottomNavigationTab: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?: React.ElementType;
|
|
5
|
-
} & {
|
|
6
|
-
themeVisibility?: boolean;
|
|
7
|
-
}, {}, {
|
|
8
|
-
ref?: import("react").Ref<View> | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
declare const BottomNavigationContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
-
theme?: import("@emotion/react").Theme;
|
|
12
|
-
as?: React.ElementType;
|
|
13
|
-
}, {}, {
|
|
14
|
-
ref?: import("react").Ref<View> | undefined;
|
|
15
|
-
}>;
|
|
16
|
-
declare const ContentWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
17
|
-
theme?: import("@emotion/react").Theme;
|
|
18
|
-
as?: React.ElementType;
|
|
19
|
-
}, {}, {
|
|
20
|
-
ref?: import("react").Ref<View> | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
23
|
-
theme?: import("@emotion/react").Theme;
|
|
24
|
-
as?: React.ElementType;
|
|
25
|
-
} & {
|
|
26
|
-
themeInsets: {
|
|
27
|
-
top: number;
|
|
28
|
-
right: number;
|
|
29
|
-
bottom: number;
|
|
30
|
-
left: number;
|
|
31
|
-
};
|
|
32
|
-
}, {}, {
|
|
33
|
-
ref?: import("react").Ref<View> | undefined;
|
|
34
|
-
}>;
|
|
35
|
-
declare const BottomBar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
36
|
-
theme?: import("@emotion/react").Theme;
|
|
37
|
-
as?: React.ElementType;
|
|
38
|
-
}, {}, {
|
|
39
|
-
ref?: import("react").Ref<View> | undefined;
|
|
40
|
-
}>;
|
|
41
|
-
declare const BottomBarItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
42
|
-
theme?: import("@emotion/react").Theme;
|
|
43
|
-
as?: React.ElementType;
|
|
44
|
-
}, {}, {
|
|
45
|
-
ref?: import("react").Ref<View> | undefined;
|
|
46
|
-
}>;
|
|
47
|
-
declare const StyledBottomBarText: import("@emotion/native").StyledComponent<import("../..").CaptionProps & {
|
|
48
|
-
theme?: import("@emotion/react").Theme;
|
|
49
|
-
as?: React.ElementType;
|
|
50
|
-
}, {}, {}>;
|
|
51
|
-
export { BottomBar, BottomBarItem, BottomNavigationTab, BottomNavigationContainer, BottomBarWrapper, ContentWrapper, StyledBottomBarText, };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
|
|
3
|
-
import type { IconName } from '../Icon';
|
|
4
|
-
export type BottomNavigationTabType = {
|
|
5
|
-
key: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
icon: IconName;
|
|
8
|
-
component: ReactNode;
|
|
9
|
-
testID?: string;
|
|
10
|
-
};
|
|
11
|
-
interface BottomNavigationProps extends ViewProps {
|
|
12
|
-
/**
|
|
13
|
-
* Callback which is called on tab press, receiving key of upcoming active Tab.
|
|
14
|
-
*/
|
|
15
|
-
onTabPress: (key: string) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Whether inactive tabs should be removed and unmounted in React.
|
|
18
|
-
* Defaults to `false`.
|
|
19
|
-
*/
|
|
20
|
-
renderActiveTabOnly?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Current selected tab key.
|
|
23
|
-
*/
|
|
24
|
-
selectedTabKey: string;
|
|
25
|
-
/**
|
|
26
|
-
* List of Tabs to be rendered. Each Tab must have an unique key.
|
|
27
|
-
*/
|
|
28
|
-
tabs: {
|
|
29
|
-
key: string;
|
|
30
|
-
title?: string;
|
|
31
|
-
icon: IconName;
|
|
32
|
-
component: ReactNode;
|
|
33
|
-
testID?: string;
|
|
34
|
-
}[];
|
|
35
|
-
/**
|
|
36
|
-
* Additional style.
|
|
37
|
-
*/
|
|
38
|
-
style?: StyleProp<ViewStyle>;
|
|
39
|
-
/**
|
|
40
|
-
* Testing id of the component.
|
|
41
|
-
*/
|
|
42
|
-
testID?: string;
|
|
43
|
-
}
|
|
44
|
-
declare const BottomNavigation: ({ onTabPress, renderActiveTabOnly, selectedTabKey, tabs, ...nativeProps }: BottomNavigationProps) => JSX.Element;
|
|
45
|
-
export default BottomNavigation;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const Header: ({ content, showDivider, onRequestClose, showCloseButton, variant, }: {
|
|
4
|
-
content: string | ReactElement;
|
|
5
|
-
showDivider: boolean;
|
|
6
|
-
onRequestClose?: () => void;
|
|
7
|
-
showCloseButton: boolean;
|
|
8
|
-
variant?: "fixed" | "floating";
|
|
9
|
-
}) => React.JSX.Element;
|
|
10
|
-
export default Header;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ScrollViewProps } from 'react-native';
|
|
3
|
-
import { ScrollView } from 'react-native';
|
|
4
|
-
declare const BottomSheetScrollView: React.ForwardRefExoticComponent<ScrollViewProps & React.RefAttributes<ScrollView>>;
|
|
5
|
-
export default BottomSheetScrollView;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type { ViewProps, KeyboardAvoidingViewProps } from 'react-native';
|
|
2
|
-
import { Animated, KeyboardAvoidingView, SafeAreaView, View } from 'react-native';
|
|
3
|
-
declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
|
-
theme?: import("@emotion/react").Theme;
|
|
5
|
-
as?: React.ElementType;
|
|
6
|
-
}, {}, {
|
|
7
|
-
ref?: import("react").Ref<View> | undefined;
|
|
8
|
-
}>;
|
|
9
|
-
declare const StyledKeyboardAvoidingView: import("@emotion/native").StyledComponent<KeyboardAvoidingViewProps & {
|
|
10
|
-
theme?: import("@emotion/react").Theme;
|
|
11
|
-
as?: React.ElementType;
|
|
12
|
-
}, {}, {
|
|
13
|
-
ref?: import("react").Ref<KeyboardAvoidingView> | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
declare const StyledFloatingWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
|
|
16
|
-
theme?: import("@emotion/react").Theme;
|
|
17
|
-
as?: React.ElementType;
|
|
18
|
-
}, {}, {}>;
|
|
19
|
-
declare const StyledFloatingBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
20
|
-
theme?: import("@emotion/react").Theme;
|
|
21
|
-
as?: React.ElementType;
|
|
22
|
-
}, {}, {}>;
|
|
23
|
-
declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
|
|
24
|
-
theme?: import("@emotion/react").Theme;
|
|
25
|
-
as?: React.ElementType;
|
|
26
|
-
}, {}, {}>;
|
|
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?: React.ElementType;
|
|
30
|
-
}, {}, {}>;
|
|
31
|
-
declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
32
|
-
theme?: import("@emotion/react").Theme;
|
|
33
|
-
as?: React.ElementType;
|
|
34
|
-
}, {}, {
|
|
35
|
-
ref?: import("react").Ref<View> | undefined;
|
|
36
|
-
}>;
|
|
37
|
-
declare const StyledHeader: import("@emotion/native").StyledComponent<ViewProps & {
|
|
38
|
-
theme?: import("@emotion/react").Theme;
|
|
39
|
-
as?: React.ElementType;
|
|
40
|
-
}, {}, {
|
|
41
|
-
ref?: import("react").Ref<View> | undefined;
|
|
42
|
-
}>;
|
|
43
|
-
declare const StyledFooter: import("@emotion/native").StyledComponent<ViewProps & {
|
|
44
|
-
theme?: import("@emotion/react").Theme;
|
|
45
|
-
as?: React.ElementType;
|
|
46
|
-
}, {}, {
|
|
47
|
-
ref?: import("react").Ref<View> | undefined;
|
|
48
|
-
}>;
|
|
49
|
-
declare const StyledIconWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
50
|
-
theme?: import("@emotion/react").Theme;
|
|
51
|
-
as?: React.ElementType;
|
|
52
|
-
}, {}, {
|
|
53
|
-
ref?: import("react").Ref<View> | undefined;
|
|
54
|
-
}>;
|
|
55
|
-
declare const StyledFloatingHeaderWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
56
|
-
theme?: import("@emotion/react").Theme;
|
|
57
|
-
as?: React.ElementType;
|
|
58
|
-
}, {}, {}>;
|
|
59
|
-
export { StyledBackdrop, StyledBottomSheet, StyledFloatingBottomSheet, StyledFloatingHeaderWrapper, StyledFloatingWrapper, StyledFooter, StyledHeader, StyledHeaderWrapper, StyledIconWrapper, StyledKeyboardAvoidingView, StyledWrapper, };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { StyleProp, ViewStyle, KeyboardAvoidingViewProps } from 'react-native';
|
|
4
|
-
export interface BottomSheetProps {
|
|
5
|
-
/**
|
|
6
|
-
* Bottom sheet open state.
|
|
7
|
-
*/
|
|
8
|
-
open: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Bottom sheet's header.
|
|
11
|
-
*/
|
|
12
|
-
header?: string | ReactElement;
|
|
13
|
-
/**
|
|
14
|
-
* Bottom sheet's footer.
|
|
15
|
-
*/
|
|
16
|
-
footer?: ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* Bottom sheet's content.
|
|
19
|
-
*/
|
|
20
|
-
children?: ReactNode;
|
|
21
|
-
/**
|
|
22
|
-
* Callback is called when the Bottom Sheet finishes running animation.
|
|
23
|
-
*/
|
|
24
|
-
onAnimationEnd?: () => void;
|
|
25
|
-
/**
|
|
26
|
-
* Callback is called when the Bottom Sheet is opened.
|
|
27
|
-
*/
|
|
28
|
-
onOpen?: () => void;
|
|
29
|
-
/**
|
|
30
|
-
* Callback is called when the user taps the back button on Android or when the bottom sheet
|
|
31
|
-
* is being dismiss by interacting outside of the bottom sheet.
|
|
32
|
-
*/
|
|
33
|
-
onRequestClose?: () => void;
|
|
34
|
-
/**
|
|
35
|
-
* Callback that is called once the bottom sheet has been dismissed.
|
|
36
|
-
*/
|
|
37
|
-
onDismiss?: () => void;
|
|
38
|
-
/**
|
|
39
|
-
* Displays an X button on bottom sheet header that will invoke onRequestClose callback on press.
|
|
40
|
-
*/
|
|
41
|
-
showCloseButton?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Enable the bottom sheet's backdrop.
|
|
44
|
-
*/
|
|
45
|
-
hasBackdrop?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Displays dividers between header, footer and body.
|
|
48
|
-
*/
|
|
49
|
-
showDivider?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Additional style.
|
|
52
|
-
*/
|
|
53
|
-
style?: StyleProp<ViewStyle>;
|
|
54
|
-
/**
|
|
55
|
-
* Testing id of the component.
|
|
56
|
-
*/
|
|
57
|
-
testID?: string;
|
|
58
|
-
/**
|
|
59
|
-
* keyboardAvoidingView's props
|
|
60
|
-
* */
|
|
61
|
-
keyboardAvoidingViewProps?: KeyboardAvoidingViewProps;
|
|
62
|
-
/**
|
|
63
|
-
* Supported orientations for the BottomSheet modal, iOS only.
|
|
64
|
-
*/
|
|
65
|
-
supportedOrientations?: ('portrait' | 'landscape')[];
|
|
66
|
-
/**
|
|
67
|
-
* Variant of the bottom sheet.
|
|
68
|
-
*/
|
|
69
|
-
variant?: 'fixed' | 'floating';
|
|
70
|
-
}
|
|
71
|
-
declare const _default: (({ open, header, footer, children, onAnimationEnd, onOpen, onRequestClose, onDismiss, showCloseButton, hasBackdrop, showDivider, style, testID, keyboardAvoidingViewProps, supportedOrientations, variant, }: BottomSheetProps) => JSX.Element) & {
|
|
72
|
-
ScrollView: React.ForwardRefExoticComponent<import("react-native").ScrollViewProps & React.RefAttributes<import("react-native").ScrollView>>;
|
|
73
|
-
};
|
|
74
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Theme } from '@emotion/react';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import type { FlexStyleProps, StyleProps } from './types';
|
|
4
|
-
declare const StyledBox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
|
-
theme?: Theme;
|
|
6
|
-
as?: React.ElementType;
|
|
7
|
-
} & StyleProps & FlexStyleProps, {}, {
|
|
8
|
-
ref?: import("react").Ref<View> | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
export { StyledBox };
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
declare const config: {
|
|
2
|
-
readonly borderWidth: {
|
|
3
|
-
readonly property: "borderWidth";
|
|
4
|
-
readonly scale: "borderWidths";
|
|
5
|
-
};
|
|
6
|
-
readonly borderBottomWidth: {
|
|
7
|
-
readonly property: "borderBottomWidth";
|
|
8
|
-
readonly scale: "borderWidths";
|
|
9
|
-
};
|
|
10
|
-
readonly borderTopWidth: {
|
|
11
|
-
readonly property: "borderTopWidth";
|
|
12
|
-
readonly scale: "borderWidths";
|
|
13
|
-
};
|
|
14
|
-
readonly borderLeftWidth: {
|
|
15
|
-
readonly property: "borderLeftWidth";
|
|
16
|
-
readonly scale: "borderWidths";
|
|
17
|
-
};
|
|
18
|
-
readonly borderRightWidth: {
|
|
19
|
-
readonly property: "borderRightWidth";
|
|
20
|
-
readonly scale: "borderWidths";
|
|
21
|
-
};
|
|
22
|
-
readonly borderBottomEndRadius: {
|
|
23
|
-
readonly property: "borderBottomEndRadius";
|
|
24
|
-
readonly scale: "radii";
|
|
25
|
-
};
|
|
26
|
-
readonly borderBottomLeftRadius: {
|
|
27
|
-
readonly property: "borderBottomLeftRadius";
|
|
28
|
-
readonly scale: "radii";
|
|
29
|
-
};
|
|
30
|
-
readonly borderBottomRightRadius: {
|
|
31
|
-
readonly property: "borderBottomRightRadius";
|
|
32
|
-
readonly scale: "radii";
|
|
33
|
-
};
|
|
34
|
-
readonly borderBottomStartRadius: {
|
|
35
|
-
readonly property: "borderBottomStartRadius";
|
|
36
|
-
readonly scale: "radii";
|
|
37
|
-
};
|
|
38
|
-
readonly borderTopEndRadius: {
|
|
39
|
-
readonly property: "borderTopEndRadius";
|
|
40
|
-
readonly scale: "radii";
|
|
41
|
-
};
|
|
42
|
-
readonly borderTopLeftRadius: {
|
|
43
|
-
readonly property: "borderTopLeftRadius";
|
|
44
|
-
readonly scale: "radii";
|
|
45
|
-
};
|
|
46
|
-
readonly borderTopRightRadius: {
|
|
47
|
-
readonly property: "borderTopRightRadius";
|
|
48
|
-
readonly scale: "radii";
|
|
49
|
-
};
|
|
50
|
-
readonly borderTopStartRadius: {
|
|
51
|
-
readonly property: "borderTopStartRadius";
|
|
52
|
-
readonly scale: "radii";
|
|
53
|
-
};
|
|
54
|
-
readonly borderRadius: {
|
|
55
|
-
readonly property: "borderRadius";
|
|
56
|
-
readonly scale: "radii";
|
|
57
|
-
};
|
|
58
|
-
readonly margin: {
|
|
59
|
-
readonly property: "margin";
|
|
60
|
-
readonly scale: "space";
|
|
61
|
-
};
|
|
62
|
-
readonly marginBottom: {
|
|
63
|
-
readonly property: "marginBottom";
|
|
64
|
-
readonly scale: "space";
|
|
65
|
-
};
|
|
66
|
-
readonly marginEnd: {
|
|
67
|
-
readonly property: "marginEnd";
|
|
68
|
-
readonly scale: "space";
|
|
69
|
-
};
|
|
70
|
-
readonly marginHorizontal: {
|
|
71
|
-
readonly property: "marginHorizontal";
|
|
72
|
-
readonly scale: "space";
|
|
73
|
-
};
|
|
74
|
-
readonly marginLeft: {
|
|
75
|
-
readonly property: "marginLeft";
|
|
76
|
-
readonly scale: "space";
|
|
77
|
-
};
|
|
78
|
-
readonly marginRight: {
|
|
79
|
-
readonly property: "marginRight";
|
|
80
|
-
readonly scale: "space";
|
|
81
|
-
};
|
|
82
|
-
readonly marginStart: {
|
|
83
|
-
readonly property: "marginStart";
|
|
84
|
-
readonly scale: "space";
|
|
85
|
-
};
|
|
86
|
-
readonly marginTop: {
|
|
87
|
-
readonly property: "marginTop";
|
|
88
|
-
readonly scale: "space";
|
|
89
|
-
};
|
|
90
|
-
readonly marginVertical: {
|
|
91
|
-
readonly property: "marginVertical";
|
|
92
|
-
readonly scale: "space";
|
|
93
|
-
};
|
|
94
|
-
readonly padding: {
|
|
95
|
-
readonly property: "padding";
|
|
96
|
-
readonly scale: "space";
|
|
97
|
-
};
|
|
98
|
-
readonly paddingBottom: {
|
|
99
|
-
readonly property: "paddingBottom";
|
|
100
|
-
readonly scale: "space";
|
|
101
|
-
};
|
|
102
|
-
readonly paddingEnd: {
|
|
103
|
-
readonly property: "paddingEnd";
|
|
104
|
-
readonly scale: "space";
|
|
105
|
-
};
|
|
106
|
-
readonly paddingHorizontal: {
|
|
107
|
-
readonly property: "paddingHorizontal";
|
|
108
|
-
readonly scale: "space";
|
|
109
|
-
};
|
|
110
|
-
readonly paddingLeft: {
|
|
111
|
-
readonly property: "paddingLeft";
|
|
112
|
-
readonly scale: "space";
|
|
113
|
-
};
|
|
114
|
-
readonly paddingRight: {
|
|
115
|
-
readonly property: "paddingRight";
|
|
116
|
-
readonly scale: "space";
|
|
117
|
-
};
|
|
118
|
-
readonly paddingStart: {
|
|
119
|
-
readonly property: "paddingStart";
|
|
120
|
-
readonly scale: "space";
|
|
121
|
-
};
|
|
122
|
-
readonly paddingTop: {
|
|
123
|
-
readonly property: "paddingTop";
|
|
124
|
-
readonly scale: "space";
|
|
125
|
-
};
|
|
126
|
-
readonly paddingVertical: {
|
|
127
|
-
readonly property: "paddingVertical";
|
|
128
|
-
readonly scale: "space";
|
|
129
|
-
};
|
|
130
|
-
readonly gap: {
|
|
131
|
-
readonly property: "gap";
|
|
132
|
-
readonly scale: "space";
|
|
133
|
-
};
|
|
134
|
-
readonly backgroundColor: {
|
|
135
|
-
readonly property: "backgroundColor";
|
|
136
|
-
readonly scale: "colors";
|
|
137
|
-
};
|
|
138
|
-
readonly bgColor: {
|
|
139
|
-
readonly property: "backgroundColor";
|
|
140
|
-
readonly scale: "colors";
|
|
141
|
-
};
|
|
142
|
-
readonly borderColor: {
|
|
143
|
-
readonly property: "borderColor";
|
|
144
|
-
readonly scale: "colors";
|
|
145
|
-
};
|
|
146
|
-
readonly borderTopColor: {
|
|
147
|
-
readonly property: "borderTopColor";
|
|
148
|
-
readonly scale: "colors";
|
|
149
|
-
};
|
|
150
|
-
readonly borderBottomColor: {
|
|
151
|
-
readonly property: "borderBottomColor";
|
|
152
|
-
readonly scale: "colors";
|
|
153
|
-
};
|
|
154
|
-
readonly borderStartColor: {
|
|
155
|
-
readonly property: "borderStartColor";
|
|
156
|
-
readonly scale: "colors";
|
|
157
|
-
};
|
|
158
|
-
readonly borderEndColor: {
|
|
159
|
-
readonly property: "borderEndColor";
|
|
160
|
-
readonly scale: "colors";
|
|
161
|
-
};
|
|
162
|
-
readonly borderLeftColor: {
|
|
163
|
-
readonly property: "borderLeftColor";
|
|
164
|
-
readonly scale: "colors";
|
|
165
|
-
};
|
|
166
|
-
readonly borderRightColor: {
|
|
167
|
-
readonly property: "borderRightColor";
|
|
168
|
-
readonly scale: "colors";
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
export declare const flexPropsKey: readonly ["alignContent", "alignItems", "alignSelf", "display", "flex", "flexBasis", "flexDirection", "flexGrow", "flexShrink", "flexWrap", "justifyContent"];
|
|
172
|
-
export type ConfigType = typeof config;
|
|
173
|
-
export type FlexPropsKeyType = typeof flexPropsKey[number];
|
|
174
|
-
export default config;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { BoxViewProps, FlexStyleProps, StyleProps } from './types';
|
|
3
|
-
export interface BoxProps extends StyleProps, FlexStyleProps, BoxViewProps {
|
|
4
|
-
}
|
|
5
|
-
declare const Box: ({ children, style, testID, ...otherProps }: BoxProps) => React.JSX.Element;
|
|
6
|
-
export default Box;
|