@hero-design/rn 8.82.2-alpha.1 → 8.83.0-test.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build$colon$types.log +0 -0
- package/.turbo/turbo-build.log +8 -0
- package/.turbo/turbo-lint.log +183 -0
- package/.turbo/turbo-publish:npm.log +9 -0
- package/.turbo/turbo-test.log +4726 -0
- package/.turbo/turbo-type-check.log +0 -0
- package/CHANGELOG.md +6 -0
- package/es/index.js +120 -43
- package/eslint.config.js +4 -2
- package/lib/index.js +121 -43
- package/package.json +5 -3
- package/rollup.config.mjs +1 -0
- package/src/components/Slider/Range.tsx +177 -0
- package/src/components/Slider/Single.tsx +89 -0
- package/src/components/Slider/__tests__/Range.spec.tsx +105 -0
- package/src/components/Slider/__tests__/{index.spec.tsx → Single.spec.tsx} +1 -1
- package/src/components/Slider/__tests__/__snapshots__/Range.spec.tsx.snap +168 -0
- package/src/components/Slider/index.tsx +8 -83
- package/src/theme/components/slider.ts +12 -1
- package/src/types.ts +2 -0
- package/testUtils/setup.tsx +17 -0
- package/types/components/Accordion/AccordionItem.d.ts +1 -1
- package/types/components/Accordion/StyledAccordion.d.ts +11 -11
- package/types/components/Accordion/index.d.ts +1 -1
- package/types/components/Alert/StyledAlert.d.ts +16 -16
- package/types/components/Alert/index.d.ts +1 -1
- package/types/components/Attachment/StyledAttachment.d.ts +8 -8
- package/types/components/Attachment/index.d.ts +0 -0
- package/types/components/Avatar/Avatar.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +9 -9
- package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
- package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
- package/types/components/Avatar/StyledAvatar.d.ts +10 -10
- package/types/components/Avatar/index.d.ts +0 -0
- package/types/components/Badge/Status.d.ts +0 -0
- package/types/components/Badge/StyledBadge.d.ts +12 -12
- package/types/components/Badge/index.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +15 -15
- package/types/components/BottomNavigation/index.d.ts +1 -1
- package/types/components/BottomSheet/BottomSheetContext.d.ts +1 -1
- package/types/components/BottomSheet/Footer.d.ts +0 -0
- package/types/components/BottomSheet/Header.d.ts +2 -2
- package/types/components/BottomSheet/ScrollView.d.ts +0 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
- package/types/components/BottomSheet/index.d.ts +0 -0
- package/types/components/Box/StyledBox.d.ts +2 -2
- package/types/components/Box/config.d.ts +2 -2
- package/types/components/Box/index.d.ts +0 -0
- package/types/components/Box/types.d.ts +3 -3
- package/types/components/Button/Button.d.ts +1 -1
- package/types/components/Button/IconButton.d.ts +0 -0
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +6 -6
- package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
- package/types/components/Button/StyledButton.d.ts +22 -22
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +6 -6
- package/types/components/Button/UtilityButton/index.d.ts +0 -0
- package/types/components/Button/index.d.ts +0 -0
- package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
- package/types/components/Calendar/StyledCalendar.d.ts +22 -22
- package/types/components/Calendar/helpers.d.ts +0 -0
- package/types/components/Calendar/index.d.ts +0 -0
- package/types/components/Card/DataCard/StyledDataCard.d.ts +5 -5
- package/types/components/Card/DataCard/index.d.ts +0 -0
- package/types/components/Card/StyledCard.d.ts +4 -4
- package/types/components/Card/index.d.ts +0 -0
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/CarouselItem.d.ts +0 -0
- package/types/components/Carousel/StyledCardCarousel.d.ts +8 -8
- package/types/components/Carousel/StyledCarousel.d.ts +21 -21
- package/types/components/Carousel/contants.d.ts +0 -0
- package/types/components/Carousel/index.d.ts +0 -0
- package/types/components/Carousel/types.d.ts +2 -2
- package/types/components/Checkbox/StyledCheckbox.d.ts +11 -11
- package/types/components/Checkbox/index.d.ts +1 -1
- package/types/components/Chip/StyledChip.d.ts +5 -5
- package/types/components/Collapse/StyledCollapse.d.ts +6 -6
- package/types/components/Collapse/index.d.ts +0 -0
- package/types/components/CompoundSearch/CompoundSearchHandler.d.ts +31 -0
- package/types/components/CompoundSearch/CompoundSearchTextInput.d.ts +60 -0
- package/types/components/CompoundSearch/StyledCompoundSearch.d.ts +40 -0
- package/types/components/CompoundSearch/index.d.ts +8 -0
- package/types/components/CompoundSearch/utils.d.ts +8 -0
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -2
- package/types/components/ContentNavigator/index.d.ts +0 -0
- package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
- package/types/components/DatePicker/DatePickerCalendar.d.ts +1 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +2 -2
- package/types/components/DatePicker/index.d.ts +0 -0
- package/types/components/DatePicker/types.d.ts +0 -0
- package/types/components/DatePicker/useCalculateDate.d.ts +1 -1
- package/types/components/Divider/StyledDivider.d.ts +5 -5
- package/types/components/Divider/index.d.ts +0 -0
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +1 -1
- package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
- package/types/components/Drawer/StyledDrawer.d.ts +15 -15
- package/types/components/Drawer/index.d.ts +0 -0
- package/types/components/Empty/StyledEmpty.d.ts +7 -7
- package/types/components/Empty/index.d.ts +0 -0
- package/types/components/Error/StyledError.d.ts +21 -21
- package/types/components/Error/index.d.ts +0 -0
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +10 -10
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +6 -6
- package/types/components/FAB/ActionGroup/index.d.ts +1 -1
- package/types/components/FAB/AnimatedFABIcon.d.ts +1 -1
- package/types/components/FAB/FAB.d.ts +1 -1
- package/types/components/FAB/Pair/StyledFAB.d.ts +6 -6
- package/types/components/FAB/Pair/index.d.ts +1 -1
- package/types/components/FAB/StyledFAB.d.ts +9 -9
- package/types/components/FAB/index.d.ts +0 -0
- package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +10 -10
- package/types/components/HeroDesignProvider/HeroDesignContext.d.ts +5 -0
- package/types/components/Icon/AnimatedIcon.d.ts +1 -1
- package/types/components/Icon/HeroIcon/index.d.ts +4 -4
- package/types/components/Icon/IconList.d.ts +0 -0
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -2
- package/types/components/Image/index.d.ts +0 -0
- package/types/components/List/BasicListItem.d.ts +0 -0
- package/types/components/List/ListItem.d.ts +0 -0
- package/types/components/List/StyledBasicListItem.d.ts +10 -10
- package/types/components/List/StyledListItem.d.ts +18 -18
- package/types/components/List/index.d.ts +0 -0
- package/types/components/MapPin/StyledMapPin.d.ts +11 -11
- package/types/components/MapPin/types.d.ts +1 -1
- package/types/components/PageControl/StyledPageControl.d.ts +4 -4
- package/types/components/PageControl/index.d.ts +0 -0
- package/types/components/PinInput/PinCell.d.ts +0 -0
- package/types/components/PinInput/StyledPinInput.d.ts +21 -21
- package/types/components/PinInput/index.d.ts +0 -0
- package/types/components/Portal/reducer.d.ts +1 -1
- package/types/components/Portal/types.d.ts +1 -1
- package/types/components/Progress/ProgressBar.d.ts +0 -0
- package/types/components/Progress/ProgressCircle.d.ts +0 -0
- package/types/components/Progress/ProgressStep.d.ts +1 -1
- package/types/components/Progress/StyledProgressBar.d.ts +4 -4
- package/types/components/Progress/StyledProgressCircle.d.ts +12 -12
- package/types/components/Progress/StyledStep.d.ts +10 -10
- package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
- package/types/components/Progress/constants.d.ts +0 -0
- package/types/components/Progress/index.d.ts +0 -0
- package/types/components/Progress/types.d.ts +1 -1
- package/types/components/Radio/Radio.d.ts +0 -0
- package/types/components/Radio/RadioGroup.d.ts +0 -0
- package/types/components/Radio/StyledRadio.d.ts +9 -9
- package/types/components/Radio/index.d.ts +1 -1
- package/types/components/Radio/types.d.ts +1 -1
- package/types/components/Rate/StyledRate.d.ts +4 -4
- package/types/components/RefreshControl/index.d.ts +1 -1
- package/types/components/RichTextEditor/EditorEvent.d.ts +1 -0
- package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
- package/types/components/RichTextEditor/MentionList.d.ts +0 -0
- package/types/components/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +4 -4
- package/types/components/RichTextEditor/StyledToolbar.d.ts +6 -6
- package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/constants.d.ts +0 -0
- package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
- package/types/components/RichTextEditor/index.d.ts +0 -0
- package/types/components/RichTextEditor/types.d.ts +1 -1
- package/types/components/RichTextEditor/utils/events.d.ts +0 -0
- package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
- package/types/components/Search/SearchBasic.d.ts +31 -0
- package/types/components/Search/SearchCompound.d.ts +60 -0
- package/types/components/Search/SearchOneLine.d.ts +5 -5
- package/types/components/Search/StyledSearch.d.ts +18 -18
- package/types/components/Search/index.d.ts +1 -1
- package/types/components/Search/utils.d.ts +2 -2
- package/types/components/SectionHeading/StyledHeading.d.ts +7 -7
- package/types/components/SectionHeading/index.d.ts +0 -0
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/Footer.d.ts +0 -0
- package/types/components/Select/MultiSelect/Option.d.ts +2 -2
- package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
- package/types/components/Select/MultiSelect/index.d.ts +0 -0
- package/types/components/Select/SingleSelect/Option.d.ts +2 -2
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -2
- package/types/components/Select/SingleSelect/index.d.ts +0 -0
- package/types/components/Select/StyledSelect.d.ts +6 -6
- package/types/components/Select/helpers.d.ts +2 -2
- package/types/components/Select/index.d.ts +0 -0
- package/types/components/Select/types.d.ts +6 -6
- package/types/components/Skeleton/StyledSkeleton.d.ts +6 -6
- package/types/components/Skeleton/index.d.ts +0 -0
- package/types/components/Slider/Range.d.ts +60 -0
- package/types/components/Slider/Single.d.ts +53 -0
- package/types/components/Slider/index.d.ts +6 -51
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -2
- package/types/components/Spinner/StyledSpinner.d.ts +13 -13
- package/types/components/Spinner/index.d.ts +0 -0
- package/types/components/Success/StyledSuccess.d.ts +19 -19
- package/types/components/Success/index.d.ts +0 -0
- package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
- package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
- package/types/components/Swipeable/index.d.ts +2 -2
- package/types/components/Switch/SelectorSwitch/Option.d.ts +5 -3
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +8 -8
- package/types/components/Switch/SelectorSwitch/index.d.ts +3 -3
- package/types/components/Switch/StyledSwitch.d.ts +5 -5
- package/types/components/Switch/index.d.ts +3 -3
- package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
- package/types/components/Tabs/SceneView.d.ts +3 -3
- package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +2 -2
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +2 -2
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +35 -0
- package/types/components/Tabs/StyledScrollableTabs.d.ts +17 -17
- package/types/components/Tabs/StyledTabs.d.ts +14 -14
- package/types/components/Tabs/TabWithBadge.d.ts +3 -3
- package/types/components/Tabs/index.d.ts +2 -2
- package/types/components/Tabs/useHandlePageScroll.d.ts +1 -1
- package/types/components/Tabs/useIsFocused.d.ts +0 -0
- package/types/components/Tabs/utils.d.ts +0 -0
- package/types/components/Tag/StyledTag.d.ts +5 -5
- package/types/components/Tag/index.d.ts +0 -0
- package/types/components/TextInput/StyledTextInput.d.ts +28 -28
- package/types/components/TextInput/index.d.ts +16 -16
- package/types/components/TimePicker/StyledTimePicker.d.ts +2 -2
- package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
- package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
- package/types/components/TimePicker/index.d.ts +0 -0
- package/types/components/TimePicker/types.d.ts +0 -0
- package/types/components/Toast/StyledToast.d.ts +18 -18
- package/types/components/Toast/Toast.d.ts +0 -0
- package/types/components/Toast/ToastContainer.d.ts +0 -0
- package/types/components/Toast/ToastContext.d.ts +2 -2
- package/types/components/Toast/ToastProvider.d.ts +1 -1
- package/types/components/Toast/index.d.ts +0 -0
- package/types/components/Toast/types.d.ts +2 -2
- package/types/components/Toolbar/StyledToolbar.d.ts +25 -25
- package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
- package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
- package/types/components/Toolbar/ToolbarMessage.d.ts +4 -4
- package/types/components/Toolbar/index.d.ts +0 -0
- package/types/components/Typography/Body/StyledBody.d.ts +4 -4
- package/types/components/Typography/Caption/StyledCaption.d.ts +3 -3
- package/types/components/Typography/Label/StyledLabel.d.ts +2 -2
- package/types/components/Typography/Text/StyledText.d.ts +6 -6
- package/types/components/Typography/Text/index.d.ts +0 -0
- package/types/components/Typography/Title/StyledTitle.d.ts +4 -4
- package/types/components/Typography/index.d.ts +0 -0
- package/types/components/Typography/types.d.ts +1 -1
- package/types/index.d.ts +0 -0
- package/types/testHelpers/renderWithTheme.d.ts +0 -0
- package/types/testHelpers/utils.d.ts +1 -1
- package/types/theme/ThemeProvider.d.ts +0 -0
- package/types/theme/ThemeSwitcher.d.ts +3 -3
- package/types/theme/components/accordion.d.ts +0 -0
- package/types/theme/components/alert.d.ts +0 -0
- package/types/theme/components/attachment.d.ts +0 -0
- package/types/theme/components/avatar.d.ts +0 -0
- package/types/theme/components/badge.d.ts +1 -1
- package/types/theme/components/bottomNavigation.d.ts +0 -0
- package/types/theme/components/bottomSheet.d.ts +0 -0
- package/types/theme/components/button.d.ts +1 -1
- package/types/theme/components/calendar.d.ts +0 -0
- package/types/theme/components/card.d.ts +0 -0
- package/types/theme/components/cardCarousel.d.ts +0 -0
- package/types/theme/components/carousel.d.ts +1 -1
- package/types/theme/components/checkbox.d.ts +0 -0
- package/types/theme/components/compoundSearch.d.ts +36 -0
- package/types/theme/components/contentNavigator.d.ts +0 -0
- package/types/theme/components/datePicker.d.ts +0 -0
- package/types/theme/components/divider.d.ts +0 -0
- package/types/theme/components/drawer.d.ts +0 -0
- package/types/theme/components/empty.d.ts +1 -1
- package/types/theme/components/error.d.ts +1 -1
- package/types/theme/components/fab.d.ts +1 -1
- package/types/theme/components/icon.d.ts +0 -0
- package/types/theme/components/image.d.ts +0 -0
- package/types/theme/components/list.d.ts +0 -0
- package/types/theme/components/pageControl.d.ts +0 -0
- package/types/theme/components/pinInput.d.ts +1 -1
- package/types/theme/components/progress.d.ts +0 -0
- package/types/theme/components/radio.d.ts +0 -0
- package/types/theme/components/refreshControl.d.ts +0 -0
- package/types/theme/components/richTextEditor.d.ts +0 -0
- package/types/theme/components/sectionHeading.d.ts +0 -0
- package/types/theme/components/select.d.ts +0 -0
- package/types/theme/components/skeleton.d.ts +0 -0
- package/types/theme/components/slider.d.ts +18 -0
- package/types/theme/components/spinner.d.ts +0 -0
- package/types/theme/components/success.d.ts +1 -1
- package/types/theme/components/swipeable.d.ts +0 -0
- package/types/theme/components/switch.d.ts +0 -0
- package/types/theme/components/tabs.d.ts +0 -0
- package/types/theme/components/tag.d.ts +1 -1
- package/types/theme/components/textInput.d.ts +0 -0
- package/types/theme/components/timePicker.d.ts +0 -0
- package/types/theme/components/toast.d.ts +0 -0
- package/types/theme/components/toolbar.d.ts +0 -0
- package/types/theme/components/typography.d.ts +0 -0
- package/types/theme/getTheme.d.ts +1 -1
- package/types/theme/global/borders.d.ts +0 -0
- package/types/theme/global/colors/eBens.d.ts +0 -0
- package/types/theme/global/colors/global.d.ts +0 -0
- package/types/theme/global/colors/globalDark.d.ts +0 -0
- package/types/theme/global/colors/jobs.d.ts +0 -0
- package/types/theme/global/colors/swag.d.ts +0 -0
- package/types/theme/global/colors/swagDark.d.ts +0 -0
- package/types/theme/global/colors/types.d.ts +3 -3
- package/types/theme/global/colors/wallet.d.ts +0 -0
- package/types/theme/global/colors/work.d.ts +0 -0
- package/types/theme/global/index.d.ts +4 -4
- package/types/theme/global/scale.d.ts +1 -1
- package/types/theme/global/shadows.d.ts +1 -1
- package/types/theme/global/sizes.d.ts +0 -0
- package/types/theme/global/space.d.ts +0 -0
- package/types/theme/global/typography.d.ts +1 -1
- package/types/theme/index.d.ts +0 -0
- package/types/types.d.ts +2 -1
- package/types/utils/functions.d.ts +0 -0
- package/types/utils/helpers.d.ts +0 -0
- package/types/utils/hooks.d.ts +0 -0
- package/types/utils/scale.d.ts +0 -0
- /package/src/components/Slider/__tests__/__snapshots__/{index.spec.tsx.snap → Single.spec.tsx.snap} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { TouchableHighlight, View } from 'react-native';
|
|
2
2
|
import type { Theme } from '@emotion/react';
|
|
3
|
-
type Intent = 'primary' | 'secondary' | 'danger';
|
|
4
|
-
type ThemeVariant = 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
|
|
3
|
+
declare type Intent = 'primary' | 'secondary' | 'danger';
|
|
4
|
+
declare type ThemeVariant = 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
|
|
5
5
|
declare const StyledButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & {
|
|
6
|
-
theme?: Theme;
|
|
7
|
-
as?:
|
|
6
|
+
theme?: Theme | undefined;
|
|
7
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
8
|
} & {
|
|
9
|
-
disabled?: boolean;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
10
|
themeButtonVariant: ThemeVariant;
|
|
11
|
-
loading?: boolean;
|
|
12
|
-
themeInlineText?: boolean;
|
|
11
|
+
loading?: boolean | undefined;
|
|
12
|
+
themeInlineText?: boolean | undefined;
|
|
13
13
|
}, {}, {
|
|
14
14
|
ref?: import("react").Ref<TouchableHighlight> | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
declare const StyledButtonText: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
|
|
17
|
-
theme?: Theme;
|
|
18
|
-
as?:
|
|
17
|
+
theme?: Theme | undefined;
|
|
18
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
19
|
} & {
|
|
20
|
-
disabled?: boolean;
|
|
20
|
+
disabled?: boolean | undefined;
|
|
21
21
|
themeButtonVariant: ThemeVariant;
|
|
22
22
|
}, {}, {}>;
|
|
23
23
|
declare const StyledButtonTitleOfVariantText: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
24
|
-
theme?: Theme;
|
|
25
|
-
as?:
|
|
24
|
+
theme?: Theme | undefined;
|
|
25
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
26
|
} & {
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
themeButtonVariant:
|
|
29
|
-
themeIsPressed?: boolean;
|
|
27
|
+
disabled?: boolean | undefined;
|
|
28
|
+
themeButtonVariant: 'text-primary' | 'text-secondary' | 'text-danger';
|
|
29
|
+
themeIsPressed?: boolean | undefined;
|
|
30
30
|
}, {}, {}>;
|
|
31
31
|
declare const StyledButtonIconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
32
|
-
theme?: Theme;
|
|
33
|
-
as?:
|
|
32
|
+
theme?: Theme | undefined;
|
|
33
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
34
34
|
} & {
|
|
35
|
-
themePosition:
|
|
35
|
+
themePosition: 'left' | 'right';
|
|
36
36
|
}, {}, {
|
|
37
37
|
ref?: import("react").Ref<View> | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
declare const StyledButtonIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
40
|
-
theme?: Theme;
|
|
41
|
-
as?:
|
|
40
|
+
theme?: Theme | undefined;
|
|
41
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
42
42
|
} & {
|
|
43
|
-
disabled?: boolean;
|
|
43
|
+
disabled?: boolean | undefined;
|
|
44
44
|
themeButtonVariant: ThemeVariant;
|
|
45
|
-
themeIsPressed?: boolean;
|
|
45
|
+
themeIsPressed?: boolean | undefined;
|
|
46
46
|
}, {}, {}>;
|
|
47
47
|
export { StyledButtonContainer, StyledButtonText, StyledButtonIconWrapper, StyledButtonIcon, StyledButtonTitleOfVariantText, };
|
|
48
48
|
export type { Intent, ThemeVariant };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { View, TouchableOpacity } from 'react-native';
|
|
2
2
|
export declare const ButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, {}, {
|
|
6
6
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
7
7
|
}>;
|
|
8
8
|
export declare const IconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
-
theme?: import("@emotion/react").Theme;
|
|
10
|
-
as?:
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
11
|
}, {}, {
|
|
12
12
|
ref?: import("react").Ref<View> | undefined;
|
|
13
13
|
}>;
|
|
14
14
|
export declare const ButtonText: import("@emotion/native").StyledComponent<import("../../Typography/Body").BodyProps & {
|
|
15
|
-
theme?: import("@emotion/react").Theme;
|
|
16
|
-
as?:
|
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
}, {}, {}>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import { TouchableOpacity, View } from 'react-native';
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
3
|
declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
|
-
theme?: import("@emotion/react").Theme;
|
|
5
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
8
8
|
}>;
|
|
9
9
|
declare const StyledCalendarHeader: import("@emotion/native").StyledComponent<ViewProps & {
|
|
10
|
-
theme?: import("@emotion/react").Theme;
|
|
11
|
-
as?:
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
12
|
}, {}, {
|
|
13
13
|
ref?: import("react").Ref<View> | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
declare const StyledCalendarDayNameCell: import("@emotion/native").StyledComponent<ViewProps & {
|
|
16
|
-
theme?: import("@emotion/react").Theme;
|
|
17
|
-
as?:
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
18
|
} & {
|
|
19
|
-
themeItemWidth?: number;
|
|
19
|
+
themeItemWidth?: number | undefined;
|
|
20
20
|
}, {}, {
|
|
21
21
|
ref?: import("react").Ref<View> | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
declare const StyledCalendarCell: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
24
|
-
theme?: import("@emotion/react").Theme;
|
|
25
|
-
as?:
|
|
24
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
26
|
} & {
|
|
27
|
-
variant?: "default" | "current" |
|
|
28
|
-
themeItemWidth?: number;
|
|
27
|
+
variant?: "selected" | "default" | "current" | undefined;
|
|
28
|
+
themeItemWidth?: number | undefined;
|
|
29
29
|
}, {}, {
|
|
30
30
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
declare const StyledCalendarRow: import("@emotion/native").StyledComponent<ViewProps & {
|
|
33
|
-
theme?: import("@emotion/react").Theme;
|
|
34
|
-
as?:
|
|
33
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
34
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
35
35
|
}, {}, {
|
|
36
36
|
ref?: import("react").Ref<View> | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
declare const StyledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
|
|
39
|
-
theme?: import("@emotion/react").Theme;
|
|
40
|
-
as?:
|
|
39
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
40
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
41
41
|
} & {
|
|
42
|
-
themeItemWidth?: number;
|
|
42
|
+
themeItemWidth?: number | undefined;
|
|
43
43
|
}, {}, {
|
|
44
44
|
ref?: import("react").Ref<View> | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
declare const StyledDisabledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
|
|
47
|
-
theme?: import("@emotion/react").Theme;
|
|
48
|
-
as?:
|
|
47
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
48
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
49
49
|
} & {
|
|
50
|
-
themeItemWidth?: number;
|
|
50
|
+
themeItemWidth?: number | undefined;
|
|
51
51
|
}, {}, {
|
|
52
52
|
ref?: import("react").Ref<View> | undefined;
|
|
53
53
|
}>;
|
|
54
54
|
declare const StyledMark: import("@emotion/native").StyledComponent<ViewProps & {
|
|
55
|
-
theme?: import("@emotion/react").Theme;
|
|
56
|
-
as?:
|
|
55
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
56
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
57
57
|
} & {
|
|
58
|
-
variant:
|
|
58
|
+
variant: 'primary' | 'inverted';
|
|
59
59
|
}, {}, {
|
|
60
60
|
ref?: import("react").Ref<View> | undefined;
|
|
61
61
|
}>;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
declare const StyledDataCard: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, {}, {
|
|
6
6
|
ref?: import("react").Ref<View> | undefined;
|
|
7
7
|
}>;
|
|
8
8
|
declare const Indicator: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
-
theme?: import("@emotion/react").Theme;
|
|
10
|
-
as?:
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
11
|
} & {
|
|
12
|
-
themeIntent:
|
|
12
|
+
themeIntent: 'success' | 'info' | 'warning' | 'danger' | 'archived' | 'primary';
|
|
13
13
|
}, {}, {
|
|
14
14
|
ref?: import("react").Ref<View> | undefined;
|
|
15
15
|
}>;
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
declare const StyledCard: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & {
|
|
6
|
-
themeIntent?: "primary" | "success" | "warning" | "danger" | "archived" |
|
|
7
|
-
themeVariant?: "basic" | "super-round";
|
|
6
|
+
themeIntent?: "neutral" | "primary" | "success" | "warning" | "danger" | "archived" | undefined;
|
|
7
|
+
themeVariant?: "basic" | "super-round" | undefined;
|
|
8
8
|
}, {}, {
|
|
9
9
|
ref?: import("react").Ref<View> | undefined;
|
|
10
10
|
}>;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LayoutChangeEvent, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
export type CardCarouselHandles = {
|
|
3
|
+
export declare type CardCarouselHandles = {
|
|
4
4
|
snapToIndex: (index: number) => void;
|
|
5
5
|
};
|
|
6
6
|
export interface CardCarouselProps {
|
|
File without changes
|
|
@@ -2,22 +2,22 @@ import { View, ViewProps } from 'react-native';
|
|
|
2
2
|
import { CardProps } from '../Card';
|
|
3
3
|
import { PageControlProps } from '../PageControl';
|
|
4
4
|
declare const StyledPageControl: import("@emotion/native").StyledComponent<PageControlProps & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
7
7
|
}, {}, {}>;
|
|
8
8
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
9
|
-
theme?: import("@emotion/react").Theme;
|
|
10
|
-
as?:
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
11
|
}, {}, {
|
|
12
12
|
ref?: import("react").Ref<View> | undefined;
|
|
13
13
|
}>;
|
|
14
14
|
declare const StyledCard: import("@emotion/native").StyledComponent<CardProps & {
|
|
15
|
-
theme?: import("@emotion/react").Theme;
|
|
16
|
-
as?:
|
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
}, {}, {}>;
|
|
18
18
|
declare const StyledItemWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
19
|
-
theme?: import("@emotion/react").Theme;
|
|
20
|
-
as?:
|
|
19
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
21
21
|
}, {}, {
|
|
22
22
|
ref?: import("react").Ref<View> | undefined;
|
|
23
23
|
}>;
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import { View, ImageResizeMode } from 'react-native';
|
|
2
2
|
declare const StyledBackDrop: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
themeSlideBackground: string;
|
|
7
7
|
}, {}, {
|
|
8
8
|
ref?: import("react").Ref<View> | undefined;
|
|
9
9
|
}>;
|
|
10
10
|
declare const StyledCarouselView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
-
theme?: import("@emotion/react").Theme;
|
|
12
|
-
as?:
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
}, {}, {
|
|
14
14
|
ref?: import("react").Ref<View> | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
declare const StyledCarouselHeading: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
|
|
17
|
-
theme?: import("@emotion/react").Theme;
|
|
18
|
-
as?:
|
|
17
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
19
|
}, {}, {}>;
|
|
20
20
|
declare const StyledCarouselImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
|
|
21
|
-
theme?: import("@emotion/react").Theme;
|
|
22
|
-
as?:
|
|
21
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
23
23
|
}, {}, {}>;
|
|
24
24
|
declare const StyledCustomSizeCarouselImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
|
|
25
|
-
theme?: import("@emotion/react").Theme;
|
|
26
|
-
as?:
|
|
25
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
27
27
|
} & {
|
|
28
|
-
themeHeight?: number | `${number}
|
|
29
|
-
themeWidth?: number | `${number}
|
|
30
|
-
themeResizeMode?: ImageResizeMode;
|
|
28
|
+
themeHeight?: number | `${number}%` | undefined;
|
|
29
|
+
themeWidth?: number | `${number}%` | undefined;
|
|
30
|
+
themeResizeMode?: ImageResizeMode | undefined;
|
|
31
31
|
}, {}, {}>;
|
|
32
32
|
declare const StyledCarouselContentWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
33
|
-
theme?: import("@emotion/react").Theme;
|
|
34
|
-
as?:
|
|
33
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
34
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
35
35
|
} & {
|
|
36
36
|
width: number;
|
|
37
37
|
}, {}, {}>;
|
|
38
38
|
declare const StyledCarouselFooterWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
39
|
-
theme?: import("@emotion/react").Theme;
|
|
40
|
-
as?:
|
|
39
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
40
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
41
41
|
}, {}, {
|
|
42
42
|
ref?: import("react").Ref<View> | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
declare const StyledPageControl: import("@emotion/native").StyledComponent<import("../PageControl").PageControlProps & {
|
|
45
|
-
theme?: import("@emotion/react").Theme;
|
|
46
|
-
as?:
|
|
45
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
46
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
47
47
|
}, {}, {}>;
|
|
48
48
|
declare const StyledPageControlWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
49
|
-
theme?: import("@emotion/react").Theme;
|
|
50
|
-
as?:
|
|
49
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
50
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
51
51
|
}, {}, {
|
|
52
52
|
ref?: import("react").Ref<View> | undefined;
|
|
53
53
|
}>;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { ImageSourcePropType, ImageResizeMode } from 'react-native';
|
|
3
|
-
export type CarouselImageProps = ImageSourcePropType & {
|
|
3
|
+
export declare type CarouselImageProps = ImageSourcePropType & {
|
|
4
4
|
height?: number | `${number}%`;
|
|
5
5
|
width?: number | `${number}%`;
|
|
6
6
|
resizeMode?: ImageResizeMode;
|
|
7
7
|
};
|
|
8
|
-
export type CarouselData = {
|
|
8
|
+
export declare type CarouselData = {
|
|
9
9
|
image?: CarouselImageProps | string;
|
|
10
10
|
content?: ReactNode;
|
|
11
11
|
heading?: string;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { TouchableOpacity, View } from 'react-native';
|
|
2
|
-
type CheckboxThemeState = 'default' | 'disabled' | 'readonly';
|
|
2
|
+
declare type CheckboxThemeState = 'default' | 'disabled' | 'readonly';
|
|
3
3
|
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
4
|
-
theme?: import("@emotion/react").Theme;
|
|
5
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
themeState: CheckboxThemeState;
|
|
8
8
|
}, {}, {
|
|
9
9
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
10
10
|
}>;
|
|
11
11
|
export declare const StyledDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
12
|
-
theme?: import("@emotion/react").Theme;
|
|
13
|
-
as?:
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
15
15
|
export declare const StyledCheckboxContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
16
|
-
theme?: import("@emotion/react").Theme;
|
|
17
|
-
as?:
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
18
|
}, {}, {
|
|
19
19
|
ref?: import("react").Ref<View> | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const StyledCheckbox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
22
|
-
theme?: import("@emotion/react").Theme;
|
|
23
|
-
as?:
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
24
|
} & {
|
|
25
25
|
themeState: CheckboxThemeState;
|
|
26
26
|
}, {}, {
|
|
27
27
|
ref?: import("react").Ref<View> | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export declare const StyledCheckMark: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
30
|
-
theme?: import("@emotion/react").Theme;
|
|
31
|
-
as?:
|
|
30
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
themeState: CheckboxThemeState;
|
|
34
34
|
}, {}, {}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { TouchableOpacity } from 'react-native';
|
|
2
|
-
type StyledChipWrapperProps = {
|
|
2
|
+
declare type StyledChipWrapperProps = {
|
|
3
3
|
themeVariant?: 'outlined' | 'filled' | 'compact' | 'compact-outlined';
|
|
4
4
|
themeSelected?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const StyledChipWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
7
|
-
theme?: import("@emotion/react").Theme;
|
|
8
|
-
as?:
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
9
|
} & StyledChipWrapperProps, {}, {
|
|
10
10
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
declare const StyledChipIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
13
|
-
theme?: import("@emotion/react").Theme;
|
|
14
|
-
as?:
|
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
export { StyledChipWrapper, StyledChipIcon };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Animated, View } from 'react-native';
|
|
2
2
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
/**
|
|
7
7
|
* Height need to be high enough to cover most scenario
|
|
@@ -9,14 +9,14 @@ declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.
|
|
|
9
9
|
* to use with Animated.timing
|
|
10
10
|
*/
|
|
11
11
|
declare const StyledHiddenWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
12
|
-
theme?: import("@emotion/react").Theme;
|
|
13
|
-
as?:
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
14
|
}, {}, {
|
|
15
15
|
ref?: import("react").Ref<View> | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
declare const StyledChildWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
18
|
-
theme?: import("@emotion/react").Theme;
|
|
19
|
-
as?:
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
20
20
|
}, {}, {
|
|
21
21
|
ref?: import("react").Ref<View> | undefined;
|
|
22
22
|
}>;
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import { IconName } from '../Icon';
|
|
4
|
+
interface CompoundSearchHandlerProps {
|
|
5
|
+
/**
|
|
6
|
+
* Name of Icon or ReactElement to render on the left side of the input, before the user's cursor.
|
|
7
|
+
*/
|
|
8
|
+
prefix?: IconName | React.ReactElement;
|
|
9
|
+
/**
|
|
10
|
+
* Name of Icon or ReactElement to render on the right side of the input.
|
|
11
|
+
*/
|
|
12
|
+
suffix?: IconName | React.ReactElement;
|
|
13
|
+
/**
|
|
14
|
+
* Additional wrapper style.
|
|
15
|
+
*/
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
/**
|
|
18
|
+
* Label of the Input handler.
|
|
19
|
+
*/
|
|
20
|
+
label: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Content of the Input handler.
|
|
23
|
+
*/
|
|
24
|
+
content: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Testing id of the component.
|
|
27
|
+
*/
|
|
28
|
+
testID?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const CompoundSearchHandler: (props: CompoundSearchHandlerProps) => React.JSX.Element;
|
|
31
|
+
export default CompoundSearchHandler;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TextInputProps as NativeTextInputProps, TextInput as RNTextInput, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
3
|
+
import { State } from './StyledCompoundSearch';
|
|
4
|
+
import { IconName } from '../Icon';
|
|
5
|
+
export declare type CompoundSearchTextInputHandles = Pick<RNTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps'>;
|
|
6
|
+
interface CompoundSearchTextInputProps extends NativeTextInputProps {
|
|
7
|
+
/**
|
|
8
|
+
* Name of Icon or ReactElement to render on the left side of the input, before the user's cursor.
|
|
9
|
+
*/
|
|
10
|
+
prefix?: IconName | React.ReactElement;
|
|
11
|
+
/**
|
|
12
|
+
* Name of Icon or ReactElement to render on the right side of the input.
|
|
13
|
+
*/
|
|
14
|
+
suffix?: IconName | React.ReactElement;
|
|
15
|
+
/**
|
|
16
|
+
* Additional wrapper style.
|
|
17
|
+
*/
|
|
18
|
+
style?: StyleProp<ViewStyle>;
|
|
19
|
+
/**
|
|
20
|
+
* Input text style.
|
|
21
|
+
*/
|
|
22
|
+
textStyle?: StyleProp<TextStyle>;
|
|
23
|
+
/**
|
|
24
|
+
* Testing id of the component.
|
|
25
|
+
*/
|
|
26
|
+
testID?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Accessibility label for the input (Android).
|
|
29
|
+
*/
|
|
30
|
+
accessibilityLabelledBy?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Placeholder text to display.
|
|
33
|
+
* */
|
|
34
|
+
placeholder?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the input is editable.
|
|
37
|
+
* */
|
|
38
|
+
editable?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the input is disabled.
|
|
41
|
+
*/
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The max length of the input.
|
|
45
|
+
* If the max length is set, the input will display the current length and the max length.
|
|
46
|
+
* */
|
|
47
|
+
maxLength?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to hide the character count.
|
|
50
|
+
* */
|
|
51
|
+
renderInputValue?: (inputProps: NativeTextInputProps) => React.ReactNode;
|
|
52
|
+
}
|
|
53
|
+
export declare const getState: ({ disabled, editable, isEmptyValue, }: {
|
|
54
|
+
disabled?: boolean | undefined;
|
|
55
|
+
editable?: boolean | undefined;
|
|
56
|
+
isFocused?: boolean | undefined;
|
|
57
|
+
isEmptyValue?: boolean | undefined;
|
|
58
|
+
}) => State;
|
|
59
|
+
declare const CompoundSearchTextInput: React.ForwardRefExoticComponent<CompoundSearchTextInputProps & React.RefAttributes<CompoundSearchTextInputHandles>>;
|
|
60
|
+
export default CompoundSearchTextInput;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TextInput, View } from 'react-native';
|
|
2
|
+
export declare type State = 'default' | 'filled' | 'disabled' | 'readonly';
|
|
3
|
+
export declare const StyledContainer: 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
|
+
ref?: import("react").Ref<View> | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const StyledInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
themeFocused: boolean;
|
|
14
|
+
}, {}, {
|
|
15
|
+
ref?: import("react").Ref<View> | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const StyledAffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
20
|
+
}, {}, {
|
|
21
|
+
ref?: import("react").Ref<View> | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
export declare const StyledSuffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
24
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
|
+
}, {}, {
|
|
27
|
+
ref?: import("react").Ref<View> | undefined;
|
|
28
|
+
}>;
|
|
29
|
+
export declare const StyledInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
|
|
30
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
32
|
+
}, {}, {
|
|
33
|
+
ref?: import("react").Ref<TextInput> | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
export declare const StyledHandlerContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
36
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
37
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
38
|
+
}, {}, {
|
|
39
|
+
ref?: import("react").Ref<View> | undefined;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import CompoundSearchHandler from './CompoundSearchHandler';
|
|
2
|
+
import CompoundSearchTextInput from './CompoundSearchTextInput';
|
|
3
|
+
declare type CompoundSearchType = {
|
|
4
|
+
TextInput: typeof CompoundSearchTextInput;
|
|
5
|
+
Handler: typeof CompoundSearchHandler;
|
|
6
|
+
};
|
|
7
|
+
declare const CompoundSearch: CompoundSearchType;
|
|
8
|
+
export default CompoundSearch;
|