@hero-design/rn 8.82.0-alpha.0 → 8.82.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +7 -0
- package/CHANGELOG.md +11 -1
- package/assets/fonts/Saiga-Light.otf +0 -0
- package/assets/fonts/Saiga-Medium.otf +0 -0
- package/assets/fonts/Saiga-Regular.otf +0 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +37391 -0
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +37488 -0
- package/package.json +1 -1
- package/src/components/BottomSheet/index.tsx +15 -13
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +14 -0
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +4 -4
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +6 -6
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +21 -21
- package/src/theme/global/scale.ts +1 -1
- package/src/theme/global/typography.ts +2 -2
- package/stats/8.82.0/rn-stats.html +4842 -0
- package/stats/8.82.1/rn-stats.html +4844 -0
- package/types/components/Accordion/AccordionItem.d.ts +15 -0
- package/types/components/Accordion/StyledAccordion.d.ts +32 -0
- package/types/components/Accordion/index.d.ts +39 -0
- package/types/components/Alert/StyledAlert.d.ts +53 -0
- package/types/components/Alert/index.d.ts +58 -0
- package/types/components/AnimatedScroller/AnimatedFAB.d.ts +12 -0
- package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +16 -0
- package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +12 -0
- package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +12 -0
- package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +12 -0
- package/types/components/AnimatedScroller/index.d.ts +4 -0
- package/types/components/Attachment/StyledAttachment.d.ts +28 -0
- package/types/components/Attachment/index.d.ts +38 -0
- package/types/components/Avatar/Avatar.d.ts +34 -0
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +30 -0
- package/types/components/Avatar/AvatarStack/index.d.ts +35 -0
- package/types/components/Avatar/AvatarStack/utils.d.ts +4 -0
- package/types/components/Avatar/StyledAvatar.d.ts +34 -0
- package/types/components/Avatar/index.d.ts +6 -0
- package/types/components/Badge/Status.d.ts +24 -0
- package/types/components/Badge/StyledBadge.d.ts +33 -0
- package/types/components/Badge/index.d.ts +6 -0
- package/types/components/Badge/types.d.ts +53 -0
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +51 -0
- package/types/components/BottomNavigation/index.d.ts +45 -0
- package/types/components/BottomSheet/BottomSheetContext.d.ts +5 -0
- package/types/components/BottomSheet/Footer.d.ts +7 -0
- package/types/components/BottomSheet/Header.d.ts +10 -0
- package/types/components/BottomSheet/ScrollView.d.ts +3 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +61 -0
- package/types/components/BottomSheet/index.d.ts +74 -0
- package/types/components/Box/StyledBox.d.ts +15 -0
- package/types/components/Box/config.d.ts +170 -0
- package/types/components/Box/index.d.ts +6 -0
- package/types/components/Box/types.d.ts +31 -0
- package/types/components/Button/Button.d.ts +57 -0
- package/types/components/Button/IconButton.d.ts +39 -0
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +20 -0
- package/types/components/Button/LoadingIndicator/index.d.ts +27 -0
- package/types/components/Button/StyledButton.d.ts +48 -0
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +17 -0
- package/types/components/Button/UtilityButton/index.d.ts +24 -0
- package/types/components/Button/index.d.ts +10 -0
- package/types/components/Calendar/CalendarRowItem.d.ts +12 -0
- package/types/components/Calendar/StyledCalendar.d.ts +62 -0
- package/types/components/Calendar/helpers.d.ts +3 -0
- package/types/components/Calendar/index.d.ts +58 -0
- package/types/components/Card/DataCard/StyledDataCard.d.ts +16 -0
- package/types/components/Card/DataCard/index.d.ts +22 -0
- package/types/components/Card/StyledCard.d.ts +11 -0
- package/types/components/Card/index.d.ts +25 -0
- package/types/components/Carousel/CardCarousel.d.ts +42 -0
- package/types/components/Carousel/CarouselItem.d.ts +7 -0
- package/types/components/Carousel/StyledCardCarousel.d.ts +24 -0
- package/types/components/Carousel/StyledCarousel.d.ts +54 -0
- package/types/components/Carousel/contants.d.ts +2 -0
- package/types/components/Carousel/index.d.ts +44 -0
- package/types/components/Carousel/types.d.ts +14 -0
- package/types/components/Checkbox/StyledCheckbox.d.ts +35 -0
- package/types/components/Checkbox/index.d.ts +44 -0
- package/types/components/Chip/StyledChip.d.ts +16 -0
- package/types/components/Chip/index.d.ts +31 -0
- package/types/components/Collapse/StyledCollapse.d.ts +23 -0
- package/types/components/Collapse/index.d.ts +20 -0
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +8 -0
- package/types/components/ContentNavigator/index.d.ts +43 -0
- package/types/components/DatePicker/DatePickerAndroid.d.ts +7 -0
- package/types/components/DatePicker/DatePickerCalendar.d.ts +4 -0
- package/types/components/DatePicker/DatePickerIOS.d.ts +7 -0
- package/types/components/DatePicker/StyledDatePicker.d.ts +9 -0
- package/types/components/DatePicker/index.d.ts +4 -0
- package/types/components/DatePicker/types.d.ts +79 -0
- package/types/components/DatePicker/useCalculateDate.d.ts +4 -0
- package/types/components/Divider/StyledDivider.d.ts +12 -0
- package/types/components/Divider/index.d.ts +22 -0
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +8 -0
- package/types/components/Drawer/DragableDrawer/index.d.ts +33 -0
- package/types/components/Drawer/StyledDrawer.d.ts +49 -0
- package/types/components/Drawer/index.d.ts +27 -0
- package/types/components/Empty/StyledEmpty.d.ts +21 -0
- package/types/components/Empty/index.d.ts +31 -0
- package/types/components/Error/StyledError.d.ts +53 -0
- package/types/components/Error/index.d.ts +56 -0
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +18 -0
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +27 -0
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +18 -0
- package/types/components/FAB/ActionGroup/index.d.ts +54 -0
- package/types/components/FAB/AnimatedFABIcon.d.ts +7 -0
- package/types/components/FAB/FAB.d.ts +40 -0
- package/types/components/FAB/Pair/StyledFAB.d.ts +12 -0
- package/types/components/FAB/Pair/index.d.ts +16 -0
- package/types/components/FAB/StyledFAB.d.ts +21 -0
- package/types/components/FAB/index.d.ts +5 -0
- package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +19 -0
- package/types/components/FloatingIsland/index.d.ts +23 -0
- package/types/components/HeroDesignProvider/index.d.ts +4 -0
- package/types/components/Icon/AnimatedIcon.d.ts +6 -0
- package/types/components/Icon/HeroIcon/index.d.ts +12 -0
- package/types/components/Icon/IconList.d.ts +2 -0
- package/types/components/Icon/index.d.ts +35 -0
- package/types/components/Icon/utils.d.ts +2 -0
- package/types/components/Image/index.d.ts +17 -0
- package/types/components/List/BasicListItem.d.ts +43 -0
- package/types/components/List/ListItem.d.ts +52 -0
- package/types/components/List/StyledBasicListItem.d.ts +29 -0
- package/types/components/List/StyledListItem.d.ts +51 -0
- package/types/components/List/index.d.ts +8 -0
- package/types/components/MapPin/Focussed.d.ts +13 -0
- package/types/components/MapPin/StyledMapPin.d.ts +31 -0
- package/types/components/MapPin/index.d.ts +5 -0
- package/types/components/MapPin/types.d.ts +38 -0
- package/types/components/Modal/index.d.ts +37 -0
- package/types/components/PageControl/StyledPageControl.d.ts +12 -0
- package/types/components/PageControl/index.d.ts +22 -0
- package/types/components/PinInput/PinCell.d.ts +9 -0
- package/types/components/PinInput/StyledPinInput.d.ts +69 -0
- package/types/components/PinInput/index.d.ts +69 -0
- package/types/components/Portal/PortalHost.d.ts +5 -0
- package/types/components/Portal/PortalProvider.d.ts +7 -0
- package/types/components/Portal/constants.d.ts +8 -0
- package/types/components/Portal/contexts.d.ts +9 -0
- package/types/components/Portal/index.d.ts +18 -0
- package/types/components/Portal/reducer.d.ts +5 -0
- package/types/components/Portal/types.d.ts +22 -0
- package/types/components/Portal/usePortal.d.ts +8 -0
- package/types/components/Portal/usePortalState.d.ts +1 -0
- package/types/components/Progress/ProgressBar.d.ts +18 -0
- package/types/components/Progress/ProgressCircle.d.ts +20 -0
- package/types/components/Progress/ProgressStep.d.ts +20 -0
- package/types/components/Progress/StyledProgressBar.d.ts +18 -0
- package/types/components/Progress/StyledProgressCircle.d.ts +46 -0
- package/types/components/Progress/StyledStep.d.ts +23 -0
- package/types/components/Progress/__tests__/index.spec.d.ts +1 -0
- package/types/components/Progress/constants.d.ts +15 -0
- package/types/components/Progress/index.d.ts +6 -0
- package/types/components/Progress/types.d.ts +1 -0
- package/types/components/Radio/Radio.d.ts +38 -0
- package/types/components/Radio/RadioGroup.d.ts +36 -0
- package/types/components/Radio/StyledRadio.d.ts +30 -0
- package/types/components/Radio/index.d.ts +4 -0
- package/types/components/Radio/types.d.ts +8 -0
- package/types/components/Rate/StyledRate.d.ts +10 -0
- package/types/components/Rate/index.d.ts +29 -0
- package/types/components/RefreshControl/index.d.ts +5 -0
- package/types/components/RichTextEditor/EditorEvent.d.ts +4 -0
- package/types/components/RichTextEditor/EditorToolbar.d.ts +18 -0
- package/types/components/RichTextEditor/MentionList.d.ts +17 -0
- package/types/components/RichTextEditor/RichTextEditor.d.ts +70 -0
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +16 -0
- package/types/components/RichTextEditor/StyledToolbar.d.ts +21 -0
- package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +2 -0
- package/types/components/RichTextEditor/constants.d.ts +9 -0
- package/types/components/RichTextEditor/heroEditorApp.d.ts +2 -0
- package/types/components/RichTextEditor/index.d.ts +7 -0
- package/types/components/RichTextEditor/types.d.ts +1 -0
- package/types/components/RichTextEditor/utils/events.d.ts +8 -0
- package/types/components/RichTextEditor/utils/rnWebView.d.ts +7 -0
- package/types/components/Search/SearchOneLine.d.ts +69 -0
- package/types/components/Search/SearchSuffixIcon.d.ts +24 -0
- package/types/components/Search/SearchTwoLine.d.ts +36 -0
- package/types/components/Search/StyledSearch.d.ts +49 -0
- package/types/components/Search/index.d.ts +10 -0
- package/types/components/Search/utils.d.ts +8 -0
- package/types/components/SectionHeading/StyledHeading.d.ts +23 -0
- package/types/components/SectionHeading/index.d.ts +45 -0
- package/types/components/Select/BaseOptionList.d.ts +8 -0
- package/types/components/Select/Footer.d.ts +6 -0
- package/types/components/Select/MultiSelect/Option.d.ts +10 -0
- package/types/components/Select/MultiSelect/OptionList.d.ts +9 -0
- package/types/components/Select/MultiSelect/index.d.ts +30 -0
- package/types/components/Select/SingleSelect/Option.d.ts +10 -0
- package/types/components/Select/SingleSelect/OptionList.d.ts +11 -0
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -0
- package/types/components/Select/SingleSelect/index.d.ts +23 -0
- package/types/components/Select/StyledSelect.d.ts +21 -0
- package/types/components/Select/helpers.d.ts +14 -0
- package/types/components/Select/index.d.ts +8 -0
- package/types/components/Select/types.d.ts +84 -0
- package/types/components/Skeleton/StyledSkeleton.d.ts +16 -0
- package/types/components/Skeleton/index.d.ts +14 -0
- package/types/components/Slider/index.d.ts +53 -0
- package/types/components/Spinner/AnimatedSpinner.d.ts +6 -0
- package/types/components/Spinner/StyledSpinner.d.ts +34 -0
- package/types/components/Spinner/index.d.ts +18 -0
- package/types/components/Success/StyledSuccess.d.ts +49 -0
- package/types/components/Success/index.d.ts +50 -0
- package/types/components/Swipeable/StyledSwipeable.d.ts +10 -0
- package/types/components/Swipeable/SwipeableAction.d.ts +27 -0
- package/types/components/Swipeable/index.d.ts +49 -0
- package/types/components/Switch/SelectorSwitch/Option.d.ts +16 -0
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +19 -0
- package/types/components/Switch/SelectorSwitch/index.d.ts +37 -0
- package/types/components/Switch/StyledSwitch.d.ts +15 -0
- package/types/components/Switch/index.d.ts +28 -0
- package/types/components/Tabs/ActiveTabIndicator.d.ts +9 -0
- package/types/components/Tabs/SceneView.d.ts +10 -0
- package/types/components/Tabs/ScrollableTabs.d.ts +7 -0
- package/types/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.d.ts +40 -0
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +9 -0
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +10 -0
- package/types/components/Tabs/StyledScrollableTabs.d.ts +55 -0
- package/types/components/Tabs/StyledTabs.d.ts +51 -0
- package/types/components/Tabs/TabWithBadge.d.ts +16 -0
- package/types/components/Tabs/index.d.ts +62 -0
- package/types/components/Tabs/useHandlePageScroll.d.ts +8 -0
- package/types/components/Tabs/useIsFocused.d.ts +6 -0
- package/types/components/Tabs/utils.d.ts +2 -0
- package/types/components/Tag/StyledTag.d.ts +17 -0
- package/types/components/Tag/index.d.ts +27 -0
- package/types/components/TextInput/StyledTextInput.d.ts +86 -0
- package/types/components/TextInput/index.d.ts +124 -0
- package/types/components/TimePicker/StyledTimePicker.d.ts +9 -0
- package/types/components/TimePicker/TimePickerAndroid.d.ts +4 -0
- package/types/components/TimePicker/TimePickerIOS.d.ts +4 -0
- package/types/components/TimePicker/index.d.ts +4 -0
- package/types/components/TimePicker/types.d.ts +61 -0
- package/types/components/Toast/StyledToast.d.ts +59 -0
- package/types/components/Toast/Toast.d.ts +3 -0
- package/types/components/Toast/ToastContainer.d.ts +5 -0
- package/types/components/Toast/ToastContext.d.ts +12 -0
- package/types/components/Toast/ToastProvider.d.ts +11 -0
- package/types/components/Toast/index.d.ts +8 -0
- package/types/components/Toast/types.d.ts +72 -0
- package/types/components/Toolbar/StyledToolbar.d.ts +71 -0
- package/types/components/Toolbar/ToolbarGroup.d.ts +14 -0
- package/types/components/Toolbar/ToolbarItem.d.ts +31 -0
- package/types/components/Toolbar/ToolbarMessage.d.ts +59 -0
- package/types/components/Toolbar/index.d.ts +14 -0
- package/types/components/Typography/Body/StyledBody.d.ts +14 -0
- package/types/components/Typography/Body/__tests__/StyledBody.d.ts +1 -0
- package/types/components/Typography/Body/index.d.ts +33 -0
- package/types/components/Typography/Caption/StyledCaption.d.ts +12 -0
- package/types/components/Typography/Caption/index.d.ts +27 -0
- package/types/components/Typography/Label/StyledLabel.d.ts +11 -0
- package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +1 -0
- package/types/components/Typography/Label/index.d.ts +23 -0
- package/types/components/Typography/Text/StyledText.d.ts +13 -0
- package/types/components/Typography/Text/index.d.ts +37 -0
- package/types/components/Typography/Title/StyledTitle.d.ts +14 -0
- package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +1 -0
- package/types/components/Typography/Title/index.d.ts +33 -0
- package/types/components/Typography/index.d.ts +17 -0
- package/types/components/Typography/types.d.ts +6 -0
- package/types/index.d.ts +57 -0
- package/types/testHelpers/renderWithTheme.d.ts +3 -0
- package/types/testHelpers/utils.d.ts +1 -0
- package/types/theme/ThemeProvider.d.ts +12 -0
- package/types/theme/ThemeSwitcher.d.ts +8 -0
- package/types/theme/components/accordion.d.ts +13 -0
- package/types/theme/components/alert.d.ts +36 -0
- package/types/theme/components/attachment.d.ts +21 -0
- package/types/theme/components/avatar.d.ts +50 -0
- package/types/theme/components/badge.d.ts +56 -0
- package/types/theme/components/bottomNavigation.d.ts +23 -0
- package/types/theme/components/bottomSheet.d.ts +38 -0
- package/types/theme/components/button.d.ts +72 -0
- package/types/theme/components/calendar.d.ts +28 -0
- package/types/theme/components/card.d.ts +21 -0
- package/types/theme/components/cardCarousel.d.ts +15 -0
- package/types/theme/components/carousel.d.ts +36 -0
- package/types/theme/components/checkbox.d.ts +27 -0
- package/types/theme/components/chip.d.ts +43 -0
- package/types/theme/components/contentNavigator.d.ts +7 -0
- package/types/theme/components/datePicker.d.ts +7 -0
- package/types/theme/components/divider.d.ts +17 -0
- package/types/theme/components/drawer.d.ts +30 -0
- package/types/theme/components/empty.d.ts +37 -0
- package/types/theme/components/error.d.ts +51 -0
- package/types/theme/components/fab.d.ts +71 -0
- package/types/theme/components/floatingIsland.d.ts +32 -0
- package/types/theme/components/icon.d.ts +23 -0
- package/types/theme/components/image.d.ts +8 -0
- package/types/theme/components/list.d.ts +46 -0
- package/types/theme/components/mapPin.d.ts +39 -0
- package/types/theme/components/pageControl.d.ts +18 -0
- package/types/theme/components/pinInput.d.ts +57 -0
- package/types/theme/components/progress.d.ts +51 -0
- package/types/theme/components/radio.d.ts +24 -0
- package/types/theme/components/rate.d.ts +11 -0
- package/types/theme/components/refreshControl.d.ts +7 -0
- package/types/theme/components/richTextEditor.d.ts +28 -0
- package/types/theme/components/search.d.ts +64 -0
- package/types/theme/components/sectionHeading.d.ts +14 -0
- package/types/theme/components/select.d.ts +18 -0
- package/types/theme/components/skeleton.d.ts +17 -0
- package/types/theme/components/slider.d.ts +9 -0
- package/types/theme/components/spinner.d.ts +27 -0
- package/types/theme/components/success.d.ts +43 -0
- package/types/theme/components/swipeable.d.ts +16 -0
- package/types/theme/components/switch.d.ts +38 -0
- package/types/theme/components/tabs.d.ts +30 -0
- package/types/theme/components/tag.d.ts +53 -0
- package/types/theme/components/textInput.d.ts +87 -0
- package/types/theme/components/timePicker.d.ts +7 -0
- package/types/theme/components/toast.d.ts +50 -0
- package/types/theme/components/toolbar.d.ts +47 -0
- package/types/theme/components/typography.d.ts +165 -0
- package/types/theme/getTheme.d.ts +106 -0
- package/types/theme/global/borders.d.ts +18 -0
- package/types/theme/global/colors/eBens.d.ts +3 -0
- package/types/theme/global/colors/global.d.ts +3 -0
- package/types/theme/global/colors/globalDark.d.ts +3 -0
- package/types/theme/global/colors/jobs.d.ts +3 -0
- package/types/theme/global/colors/swag.d.ts +3 -0
- package/types/theme/global/colors/swagDark.d.ts +3 -0
- package/types/theme/global/colors/swagLight.d.ts +3 -0
- package/types/theme/global/colors/swagLightGlobal.d.ts +3 -0
- package/types/theme/global/colors/swagLightJobs.d.ts +48 -0
- package/types/theme/global/colors/types.d.ts +50 -0
- package/types/theme/global/colors/wallet.d.ts +3 -0
- package/types/theme/global/colors/work.d.ts +3 -0
- package/types/theme/global/index.d.ts +82 -0
- package/types/theme/global/scale.d.ts +14 -0
- package/types/theme/global/shadows.d.ts +16 -0
- package/types/theme/global/sizes.d.ts +14 -0
- package/types/theme/global/space.d.ts +16 -0
- package/types/theme/global/typography.d.ts +31 -0
- package/types/theme/index.d.ts +9 -0
- package/types/types.d.ts +14 -0
- package/types/utils/functions.d.ts +1 -0
- package/types/utils/helpers.d.ts +4 -0
- package/types/utils/hooks.d.ts +3 -0
- package/types/utils/scale.d.ts +3 -0
- package/assets/fonts/RebondGrotesque-Light.otf +0 -0
- package/assets/fonts/RebondGrotesque-SemiBold.otf +0 -0
- package/assets/fonts/RebondGrotesque.otf +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
export interface SwitchProps {
|
|
4
|
+
/**
|
|
5
|
+
* Control whether the switch is checked
|
|
6
|
+
*/
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the switch is disabled
|
|
10
|
+
*/
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Event handler.
|
|
14
|
+
*/
|
|
15
|
+
onPress?: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Additional style.
|
|
18
|
+
*/
|
|
19
|
+
style?: StyleProp<ViewStyle>;
|
|
20
|
+
/**
|
|
21
|
+
* Testing id of the component.
|
|
22
|
+
*/
|
|
23
|
+
testID?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const _default: (({ disabled, checked, onPress, style, testID, }: SwitchProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
26
|
+
Selector: <T>({ options, value, onPress, style, testID, }: import("./SelectorSwitch").SelectorSwitchProps<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Animated } from 'react-native';
|
|
3
|
+
declare const ActiveTabIndicator: ({ scrollOffsetAnimatedValue, positionAnimatedValue, tabsLength, tabsWidth, }: {
|
|
4
|
+
scrollOffsetAnimatedValue: Animated.Value;
|
|
5
|
+
positionAnimatedValue: Animated.Value;
|
|
6
|
+
tabsLength: number;
|
|
7
|
+
tabsWidth: number;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
|
+
export default ActiveTabIndicator;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SceneView: ({ lazy, lazyPreloadDistance, children, index, selectedIndex, testID, }: {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
index: number;
|
|
5
|
+
selectedIndex: number;
|
|
6
|
+
lazy?: boolean | undefined;
|
|
7
|
+
lazyPreloadDistance?: number | undefined;
|
|
8
|
+
testID?: string | undefined;
|
|
9
|
+
}) => React.JSX.Element;
|
|
10
|
+
export default SceneView;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TabsProps } from '.';
|
|
3
|
+
export interface ScrollableTabProps extends TabsProps {
|
|
4
|
+
variant?: 'underlined' | 'highlighted';
|
|
5
|
+
}
|
|
6
|
+
declare const ScrollableTab: ({ onTabPress, selectedTabKey, tabs, containerStyle, barStyle, lazy, lazyPreloadDistance, swipeEnabled, testID: componentTestID, variant, }: ScrollableTabProps) => React.JSX.Element;
|
|
7
|
+
export default ScrollableTab;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleProp, ViewProps, ViewStyle } from 'react-native';
|
|
3
|
+
import type { TabType } from '..';
|
|
4
|
+
export interface ScrollableTabHeaderProps extends ViewProps {
|
|
5
|
+
/**
|
|
6
|
+
* Callback which is called on tab press, receiving key of upcoming active Tab.
|
|
7
|
+
*/
|
|
8
|
+
onTabPress: (key: string) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Current selected tab key.
|
|
11
|
+
*/
|
|
12
|
+
selectedIndex?: number;
|
|
13
|
+
/**
|
|
14
|
+
* List of Tabs to be rendered. Each Tab must have an unique key.
|
|
15
|
+
*/
|
|
16
|
+
tabs: TabType[];
|
|
17
|
+
/**
|
|
18
|
+
* Style for the tab navigation bar.
|
|
19
|
+
*/
|
|
20
|
+
barStyle?: StyleProp<ViewStyle>;
|
|
21
|
+
/**
|
|
22
|
+
* Testing id of the component.
|
|
23
|
+
*/
|
|
24
|
+
testID?: string;
|
|
25
|
+
/**
|
|
26
|
+
* component insets
|
|
27
|
+
*/
|
|
28
|
+
insets?: {
|
|
29
|
+
top: number;
|
|
30
|
+
bottom: number;
|
|
31
|
+
right: number;
|
|
32
|
+
left: number;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Variant of the tab header
|
|
36
|
+
*/
|
|
37
|
+
variant?: 'underlined' | 'highlighted';
|
|
38
|
+
}
|
|
39
|
+
declare const ScrollableTabHeader: ({ onTabPress, selectedIndex, tabs, barStyle, testID, insets, variant, }: ScrollableTabHeaderProps) => React.JSX.Element;
|
|
40
|
+
export default ScrollableTabHeader;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Animated } from 'react-native';
|
|
2
|
+
declare const useInitHighlightedAnimation: ({ selectedIndex, tabsLength, variant, }: {
|
|
3
|
+
selectedIndex?: number | undefined;
|
|
4
|
+
tabsLength: number;
|
|
5
|
+
variant: 'underlined' | 'highlighted';
|
|
6
|
+
}) => {
|
|
7
|
+
tabsAnims: Animated.Value[];
|
|
8
|
+
};
|
|
9
|
+
export default useInitHighlightedAnimation;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Animated } from 'react-native';
|
|
2
|
+
declare const useInitUnderlinedAnimation: ({ tabsLength, selectedIndex, variant, }: {
|
|
3
|
+
tabsLength: number;
|
|
4
|
+
selectedIndex?: number | undefined;
|
|
5
|
+
variant: 'underlined' | 'highlighted';
|
|
6
|
+
}) => {
|
|
7
|
+
underlinedTranslateX: Animated.AnimatedInterpolation<string | number>[];
|
|
8
|
+
underlinedOpacity: Animated.AnimatedInterpolation<string | number>[];
|
|
9
|
+
};
|
|
10
|
+
export default useInitUnderlinedAnimation;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Animated, View } from 'react-native';
|
|
2
|
+
declare const TabScreen: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
+
}, {}, {
|
|
6
|
+
ref?: import("react").Ref<View> | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
declare const TabContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
|
+
}, {}, {
|
|
12
|
+
ref?: import("react").Ref<View> | undefined;
|
|
13
|
+
}>;
|
|
14
|
+
declare const HeaderTabWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
themeInsets: {
|
|
19
|
+
top: number;
|
|
20
|
+
right: number;
|
|
21
|
+
bottom: number;
|
|
22
|
+
left: number;
|
|
23
|
+
};
|
|
24
|
+
}, {}, {
|
|
25
|
+
ref?: import("react").Ref<View> | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
declare const HeaderTabItem: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
28
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
29
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
30
|
+
} & {
|
|
31
|
+
isFirstItem?: boolean | undefined;
|
|
32
|
+
}, {}, {}>;
|
|
33
|
+
declare const HeaderTabItemOutlineWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
34
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
36
|
+
}, {}, {
|
|
37
|
+
ref?: import("react").Ref<View> | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
declare const HeaderTabItemOutline: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
40
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
41
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
42
|
+
} & {
|
|
43
|
+
themeActive: boolean;
|
|
44
|
+
}, {}, {}>;
|
|
45
|
+
declare const HeaderTabItemWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
46
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
47
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
48
|
+
}, {}, {
|
|
49
|
+
ref?: import("react").Ref<View> | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
declare const HeaderTabItemIndicator: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
52
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
53
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
54
|
+
}, {}, {}>;
|
|
55
|
+
export { HeaderTabItem, TabScreen, TabContainer, HeaderTabWrapper, HeaderTabItemOutlineWrapper, HeaderTabItemOutline, HeaderTabItemWrapper, HeaderTabItemIndicator, };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Animated, View } from 'react-native';
|
|
2
|
+
declare const TabContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
+
}, {}, {
|
|
6
|
+
ref?: import("react").Ref<View> | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
declare const HeaderTabWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
themeInsets: {
|
|
13
|
+
top: number;
|
|
14
|
+
right: number;
|
|
15
|
+
bottom: number;
|
|
16
|
+
left: number;
|
|
17
|
+
};
|
|
18
|
+
}, {}, {
|
|
19
|
+
ref?: import("react").Ref<View> | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
declare const HeaderTab: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
|
+
}, {}, {
|
|
25
|
+
ref?: import("react").Ref<View> | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
declare const HeaderTabItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
28
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
29
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
30
|
+
}, {}, {
|
|
31
|
+
ref?: import("react").Ref<View> | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
declare const TabScreen: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
34
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
36
|
+
}, {}, {
|
|
37
|
+
ref?: import("react").Ref<View> | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
declare const StyledIndicator: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
40
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
41
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
42
|
+
} & {
|
|
43
|
+
themeWidth: number;
|
|
44
|
+
}, {}, {}>;
|
|
45
|
+
declare const StyledBadgeWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
46
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
47
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
48
|
+
}, {}, {
|
|
49
|
+
ref?: import("react").Ref<View> | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
export { TabContainer, HeaderTabWrapper, HeaderTab, HeaderTabItem, TabScreen, StyledIndicator, StyledBadgeWrapper, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export declare type StatusBadgeType = {
|
|
3
|
+
type: 'status';
|
|
4
|
+
};
|
|
5
|
+
export declare type CounterBadgeType = {
|
|
6
|
+
type: 'counter';
|
|
7
|
+
value: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
};
|
|
10
|
+
export declare type BadgeConfigType = StatusBadgeType | CounterBadgeType;
|
|
11
|
+
interface TabWithBadgeProps {
|
|
12
|
+
config?: BadgeConfigType;
|
|
13
|
+
tabItem: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
declare const TabWithBadge: ({ config, tabItem }: TabWithBadgeProps) => React.JSX.Element;
|
|
16
|
+
export default TabWithBadge;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { StyleProp, ViewProps, ViewStyle } from 'react-native';
|
|
4
|
+
import { IconName } from '../Icon';
|
|
5
|
+
import type { BadgeConfigType } from './TabWithBadge';
|
|
6
|
+
export declare type ItemType = string | IconName | ((props: {
|
|
7
|
+
color: string;
|
|
8
|
+
}) => ReactNode);
|
|
9
|
+
export declare type TabType = {
|
|
10
|
+
key: string;
|
|
11
|
+
activeItem: ItemType;
|
|
12
|
+
inactiveItem?: ItemType;
|
|
13
|
+
component: ReactNode;
|
|
14
|
+
testID?: string;
|
|
15
|
+
badge?: BadgeConfigType;
|
|
16
|
+
};
|
|
17
|
+
export interface TabsProps extends ViewProps {
|
|
18
|
+
/**
|
|
19
|
+
* Callback which is called on tab press, receiving key of upcoming active Tab.
|
|
20
|
+
*/
|
|
21
|
+
onTabPress: (key: string) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Current selected tab key.
|
|
24
|
+
*/
|
|
25
|
+
selectedTabKey: string;
|
|
26
|
+
/**
|
|
27
|
+
* List of Tabs to be rendered. Each Tab must have an unique key.
|
|
28
|
+
*/
|
|
29
|
+
tabs: TabType[];
|
|
30
|
+
/**
|
|
31
|
+
* Style for the container of Tab.
|
|
32
|
+
*/
|
|
33
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
34
|
+
/**
|
|
35
|
+
* Style for the tab navigation bar.
|
|
36
|
+
*/
|
|
37
|
+
barStyle?: StyleProp<ViewStyle>;
|
|
38
|
+
/**
|
|
39
|
+
* Whether inactive screen should be removed and unmounted in
|
|
40
|
+
* Defaults value is `false`.
|
|
41
|
+
*/
|
|
42
|
+
lazy?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Only work when lazy is `true`. You can specify how many adjacent screens should be preloaded.
|
|
45
|
+
* Defaults value is `1`.
|
|
46
|
+
*/
|
|
47
|
+
lazyPreloadDistance?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Boolean indicating whether to enable swipe gestures. Passing `false` will disable swipe gestures, but the user can still switch tabs by pressing the tab bar.
|
|
50
|
+
* Defaults value is `true`.
|
|
51
|
+
*/
|
|
52
|
+
swipeEnabled?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Testing id of the component.
|
|
55
|
+
*/
|
|
56
|
+
testID?: string;
|
|
57
|
+
}
|
|
58
|
+
declare const _default: (({ onTabPress, selectedTabKey, tabs, containerStyle, barStyle, lazy, lazyPreloadDistance, swipeEnabled, testID: componentTestID, }: TabsProps) => JSX.Element) & {
|
|
59
|
+
Scroll: ({ onTabPress, selectedTabKey, tabs, containerStyle, barStyle, lazy, lazyPreloadDistance, swipeEnabled, testID: componentTestID, variant, }: import("./ScrollableTabs").ScrollableTabProps) => React.JSX.Element;
|
|
60
|
+
useIsFocused: () => boolean | undefined;
|
|
61
|
+
};
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NativeSyntheticEvent } from 'react-native';
|
|
2
|
+
declare const useHandlePageScroll: () => {
|
|
3
|
+
onPageScrollStateChanged: (e: NativeSyntheticEvent<Readonly<{
|
|
4
|
+
pageScrollState: 'idle' | 'dragging' | 'settling';
|
|
5
|
+
}>>) => void;
|
|
6
|
+
hasScrolled: import("react").MutableRefObject<boolean>;
|
|
7
|
+
};
|
|
8
|
+
export default useHandlePageScroll;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare type ThemeIntent = 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'archived';
|
|
3
|
+
declare const StyledView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
themeIntent: ThemeIntent;
|
|
8
|
+
}, {}, {
|
|
9
|
+
ref?: import("react").Ref<View> | undefined;
|
|
10
|
+
}>;
|
|
11
|
+
declare const StyledText: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
themeIntent: ThemeIntent;
|
|
16
|
+
}, {}, {}>;
|
|
17
|
+
export { StyledText, StyledView };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import type { StyleProp, ViewProps, ViewStyle } from 'react-native';
|
|
3
|
+
interface TagProps extends ViewProps {
|
|
4
|
+
/**
|
|
5
|
+
* Content of the Tag.
|
|
6
|
+
*/
|
|
7
|
+
content: string | ReactElement;
|
|
8
|
+
/**
|
|
9
|
+
* Visual intent color to apply to Tag.
|
|
10
|
+
*/
|
|
11
|
+
intent?: 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'archived';
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Tag variant prop is deprecated and will be removed in the next major release. Please remove it.
|
|
14
|
+
* Tag variant.
|
|
15
|
+
*/
|
|
16
|
+
variant?: 'filled' | 'outlined';
|
|
17
|
+
/**
|
|
18
|
+
* Additional style.
|
|
19
|
+
*/
|
|
20
|
+
style?: StyleProp<ViewStyle>;
|
|
21
|
+
/**
|
|
22
|
+
* Testing id of the component.
|
|
23
|
+
*/
|
|
24
|
+
testID?: string;
|
|
25
|
+
}
|
|
26
|
+
declare const Tag: ({ content, variant, intent, style, testID, ...nativeProps }: TagProps) => JSX.Element;
|
|
27
|
+
export default Tag;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { TextInput, View, Animated } from 'react-native';
|
|
2
|
+
export declare type State = 'default' | 'filled' | 'disabled' | 'readonly' | 'error';
|
|
3
|
+
declare type Variant = 'text' | 'textarea';
|
|
4
|
+
declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
7
|
+
}, {}, {
|
|
8
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
declare const StyledLabelContainerInsideTextInput: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
themeVariant: Variant;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
declare const StyledLabelInsideTextInput: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
17
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
themeState: State;
|
|
21
|
+
}, {}, {}>;
|
|
22
|
+
declare const StyledAsteriskLabelInsideTextInput: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
23
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
25
|
+
} & {
|
|
26
|
+
themeState: State;
|
|
27
|
+
}, {}, {}>;
|
|
28
|
+
declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
29
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
31
|
+
}, {}, {
|
|
32
|
+
ref?: import("react").Ref<View> | undefined;
|
|
33
|
+
}>;
|
|
34
|
+
declare const StyledError: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
|
|
35
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
37
|
+
}, {}, {}>;
|
|
38
|
+
declare const StyledMaxLengthMessage: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
|
|
39
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
40
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
41
|
+
} & {
|
|
42
|
+
themeState: State;
|
|
43
|
+
}, {}, {}>;
|
|
44
|
+
declare const StyledHelperText: ({ children, fontWeight, intent, allowFontScaling, ...nativeProps }: import("../Typography/Caption").CaptionProps) => import("react").JSX.Element;
|
|
45
|
+
declare const StyledTextInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
|
|
46
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
47
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
48
|
+
} & {
|
|
49
|
+
themeVariant: Variant;
|
|
50
|
+
}, {}, {
|
|
51
|
+
ref?: import("react").Ref<TextInput> | undefined;
|
|
52
|
+
}>;
|
|
53
|
+
declare const StyledBorderBackDrop: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
54
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
55
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
56
|
+
} & {
|
|
57
|
+
themeState: State;
|
|
58
|
+
themeFocused: boolean;
|
|
59
|
+
}, {}, {
|
|
60
|
+
ref?: import("react").Ref<View> | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
declare const StyledTextInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
63
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
64
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
65
|
+
}, {}, {
|
|
66
|
+
ref?: import("react").Ref<View> | undefined;
|
|
67
|
+
}>;
|
|
68
|
+
declare const StyledTextInputAndLabelContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
69
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
70
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
71
|
+
}, {}, {
|
|
72
|
+
ref?: import("react").Ref<View> | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
declare const StyledErrorAndHelpTextContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
75
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
76
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
77
|
+
}, {}, {
|
|
78
|
+
ref?: import("react").Ref<View> | undefined;
|
|
79
|
+
}>;
|
|
80
|
+
declare const StyledErrorAndMaxLengthContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
81
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
82
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
83
|
+
}, {}, {
|
|
84
|
+
ref?: import("react").Ref<View> | undefined;
|
|
85
|
+
}>;
|
|
86
|
+
export { StyledTextInputContainer, StyledAsteriskLabelInsideTextInput, StyledTextInput, StyledError, StyledMaxLengthMessage, StyledLabelInsideTextInput, StyledContainer, StyledErrorContainer, StyledHelperText, StyledTextInputAndLabelContainer, StyledLabelContainerInsideTextInput, StyledErrorAndHelpTextContainer, StyledBorderBackDrop, StyledErrorAndMaxLengthContainer, };
|