@ornikar/kitt-universal 9.7.0-beta.0 → 9.8.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/dist/definitions/Actions/Actions.d.ts +13 -0
- package/dist/definitions/Actions/Actions.d.ts.map +1 -0
- package/dist/definitions/Actions/ActionsButton.d.ts +9 -0
- package/dist/definitions/Actions/ActionsButton.d.ts.map +1 -0
- package/dist/definitions/Actions/ActionsItem.d.ts +12 -0
- package/dist/definitions/Actions/ActionsItem.d.ts.map +1 -0
- package/dist/definitions/Avatar/Avatar.d.ts +20 -0
- package/dist/definitions/Avatar/Avatar.d.ts.map +1 -0
- package/dist/definitions/BaseMessage/BaseMessage.d.ts +16 -0
- package/dist/definitions/BaseMessage/BaseMessage.d.ts.map +1 -0
- package/dist/definitions/BaseMessage/IconContent.d.ts +10 -0
- package/dist/definitions/BaseMessage/IconContent.d.ts.map +1 -0
- package/dist/definitions/BaseMessage/helper.d.ts +6 -0
- package/dist/definitions/BaseMessage/helper.d.ts.map +1 -0
- package/dist/definitions/Button/AnimatedButtonPressable.d.ts +15 -0
- package/dist/definitions/Button/AnimatedButtonPressable.d.ts.map +1 -0
- package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +17 -0
- package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts.map +1 -0
- package/dist/definitions/Button/BaseStyledButtonPressable.d.ts +12 -0
- package/dist/definitions/Button/BaseStyledButtonPressable.d.ts.map +1 -0
- package/dist/definitions/Button/Button.d.ts +35 -0
- package/dist/definitions/Button/Button.d.ts.map +1 -0
- package/dist/definitions/Button/ButtonContent.d.ts +19 -0
- package/dist/definitions/Button/ButtonContent.d.ts.map +1 -0
- package/dist/definitions/Button/StyledDisabled.d.ts +3 -0
- package/dist/definitions/Button/StyledDisabled.d.ts.map +1 -0
- package/dist/definitions/Button/getVariantValuesIfExist.d.ts +5 -0
- package/dist/definitions/Button/getVariantValuesIfExist.d.ts.map +1 -0
- package/dist/definitions/Button/isSubtle.d.ts +3 -0
- package/dist/definitions/Button/isSubtle.d.ts.map +1 -0
- package/dist/definitions/Card/Card.d.ts +9 -0
- package/dist/definitions/Card/Card.d.ts.map +1 -0
- package/dist/definitions/Choices/ChoiceItem.d.ts +38 -0
- package/dist/definitions/Choices/ChoiceItem.d.ts.map +1 -0
- package/dist/definitions/Choices/ChoiceItemContainer.d.ts +10 -0
- package/dist/definitions/Choices/ChoiceItemContainer.d.ts.map +1 -0
- package/dist/definitions/Choices/Choices.d.ts +33 -0
- package/dist/definitions/Choices/Choices.d.ts.map +1 -0
- package/dist/definitions/Choices/hooks/useNativeAnimation.d.ts +14 -0
- package/dist/definitions/Choices/hooks/useNativeAnimation.d.ts.map +1 -0
- package/dist/definitions/Choices/hooks/useNativeAnimation.web.d.ts +7 -0
- package/dist/definitions/Choices/hooks/useNativeAnimation.web.d.ts.map +1 -0
- package/dist/definitions/Emoji/Emoji.d.ts +12 -0
- package/dist/definitions/Emoji/Emoji.d.ts.map +1 -0
- package/dist/definitions/ExternalAppLink/ExternalAppLink.d.ts +31 -0
- package/dist/definitions/ExternalAppLink/ExternalAppLink.d.ts.map +1 -0
- package/dist/definitions/ExternalLink/ExternalLink.d.ts +18 -0
- package/dist/definitions/ExternalLink/ExternalLink.d.ts.map +1 -0
- package/dist/definitions/ExternalLink/ExternalLink.web.d.ts +4 -0
- package/dist/definitions/ExternalLink/ExternalLink.web.d.ts.map +1 -0
- package/dist/definitions/ExternalLink/ExternalLinkOpenLinkBehavior.d.ts +24 -0
- package/dist/definitions/ExternalLink/ExternalLinkOpenLinkBehavior.d.ts.map +1 -0
- package/dist/definitions/FullScreenModal/Body.d.ts +7 -0
- package/dist/definitions/FullScreenModal/Body.d.ts.map +1 -0
- package/dist/definitions/FullScreenModal/FullScreenModal.d.ts +12 -0
- package/dist/definitions/FullScreenModal/FullScreenModal.d.ts.map +1 -0
- package/dist/definitions/FullScreenModal/Header.d.ts +8 -0
- package/dist/definitions/FullScreenModal/Header.d.ts.map +1 -0
- package/dist/definitions/Highlight/Highlight.d.ts +9 -0
- package/dist/definitions/Highlight/Highlight.d.ts.map +1 -0
- package/dist/definitions/Icon/Icon.d.ts +20 -0
- package/dist/definitions/Icon/Icon.d.ts.map +1 -0
- package/dist/definitions/Icon/SpinningIcon.d.ts +7 -0
- package/dist/definitions/Icon/SpinningIcon.d.ts.map +1 -0
- package/dist/definitions/Icon/SpinningIcon.web.d.ts +4 -0
- package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -0
- package/dist/definitions/IconButton/IconButton.d.ts +15 -0
- package/dist/definitions/IconButton/IconButton.d.ts.map +1 -0
- package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts +14 -0
- package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +1 -0
- package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts +4 -0
- package/dist/definitions/IconButton/PressableAnimatedContainer.web.d.ts.map +1 -0
- package/dist/definitions/IconButton/PressableIconButton.d.ts +8 -0
- package/dist/definitions/IconButton/PressableIconButton.d.ts.map +1 -0
- package/dist/definitions/KittBreakpoints.d.ts +52 -0
- package/dist/definitions/KittBreakpoints.d.ts.map +1 -0
- package/dist/definitions/ListItem/ListItem.d.ts +21 -0
- package/dist/definitions/ListItem/ListItem.d.ts.map +1 -0
- package/dist/definitions/ListItem/ListItemContent.d.ts +7 -0
- package/dist/definitions/ListItem/ListItemContent.d.ts.map +1 -0
- package/dist/definitions/ListItem/ListItemSideContent.d.ts +13 -0
- package/dist/definitions/ListItem/ListItemSideContent.d.ts.map +1 -0
- package/dist/definitions/LoaderIcon/LoaderIcon.d.ts +7 -0
- package/dist/definitions/LoaderIcon/LoaderIcon.d.ts.map +1 -0
- package/dist/definitions/Message/Message.d.ts +6 -0
- package/dist/definitions/Message/Message.d.ts.map +1 -0
- package/dist/definitions/Modal/Body.d.ts +6 -0
- package/dist/definitions/Modal/Body.d.ts.map +1 -0
- package/dist/definitions/Modal/Footer.d.ts +6 -0
- package/dist/definitions/Modal/Footer.d.ts.map +1 -0
- package/dist/definitions/Modal/Header.d.ts +8 -0
- package/dist/definitions/Modal/Header.d.ts.map +1 -0
- package/dist/definitions/Modal/Modal.d.ts +18 -0
- package/dist/definitions/Modal/Modal.d.ts.map +1 -0
- package/dist/definitions/Modal/OnCloseContext.d.ts +3 -0
- package/dist/definitions/Modal/OnCloseContext.d.ts.map +1 -0
- package/dist/definitions/ModalBehaviour/ModalBehaviour.d.ts +18 -0
- package/dist/definitions/ModalBehaviour/ModalBehaviour.d.ts.map +1 -0
- package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.d.ts +7 -0
- package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.d.ts.map +1 -0
- package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.web.d.ts +4 -0
- package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.web.d.ts.map +1 -0
- package/dist/definitions/ModalBehaviour/OnCloseContext.d.ts +11 -0
- package/dist/definitions/ModalBehaviour/OnCloseContext.d.ts.map +1 -0
- package/dist/definitions/NavigationModal/Body.d.ts +9 -0
- package/dist/definitions/NavigationModal/Body.d.ts.map +1 -0
- package/dist/definitions/NavigationModal/ContentPadding.d.ts +7 -0
- package/dist/definitions/NavigationModal/ContentPadding.d.ts.map +1 -0
- package/dist/definitions/NavigationModal/Footer.d.ts +11 -0
- package/dist/definitions/NavigationModal/Footer.d.ts.map +1 -0
- package/dist/definitions/NavigationModal/Header.d.ts +31 -0
- package/dist/definitions/NavigationModal/Header.d.ts.map +1 -0
- package/dist/definitions/NavigationModal/NavigationModal.d.ts +17 -0
- package/dist/definitions/NavigationModal/NavigationModal.d.ts.map +1 -0
- package/dist/definitions/NavigationModal/NavigationModalContainer.d.ts +8 -0
- package/dist/definitions/NavigationModal/NavigationModalContainer.d.ts.map +1 -0
- package/dist/definitions/Notification/Notification.d.ts +10 -0
- package/dist/definitions/Notification/Notification.d.ts.map +1 -0
- package/dist/definitions/Overlay/Overlay.d.ts +7 -0
- package/dist/definitions/Overlay/Overlay.d.ts.map +1 -0
- package/dist/definitions/PageLoader/AnimatedBackgroundCircle.d.ts +3 -0
- package/dist/definitions/PageLoader/AnimatedBackgroundCircle.d.ts.map +1 -0
- package/dist/definitions/PageLoader/AnimatedFillCircle.d.ts +3 -0
- package/dist/definitions/PageLoader/AnimatedFillCircle.d.ts.map +1 -0
- package/dist/definitions/PageLoader/AnimatedFillCircleContainer.d.ts +8 -0
- package/dist/definitions/PageLoader/AnimatedFillCircleContainer.d.ts.map +1 -0
- package/dist/definitions/PageLoader/AnimatedLoaderCircle.d.ts +10 -0
- package/dist/definitions/PageLoader/AnimatedLoaderCircle.d.ts.map +1 -0
- package/dist/definitions/PageLoader/PageLoader.d.ts +4 -0
- package/dist/definitions/PageLoader/PageLoader.d.ts.map +1 -0
- package/dist/definitions/PageLoader/PageLoader.web.d.ts +3 -0
- package/dist/definitions/PageLoader/PageLoader.web.d.ts.map +1 -0
- package/dist/definitions/Picker/Picker.d.ts +17 -0
- package/dist/definitions/Picker/Picker.d.ts.map +1 -0
- package/dist/definitions/Picker/Picker.web.d.ts +3 -0
- package/dist/definitions/Picker/Picker.web.d.ts.map +1 -0
- package/dist/definitions/Picker/PickerItem.d.ts +9 -0
- package/dist/definitions/Picker/PickerItem.d.ts.map +1 -0
- package/dist/definitions/Skeleton/Skeleton.d.ts +14 -0
- package/dist/definitions/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/definitions/Skeleton/SkeletonContent.d.ts +8 -0
- package/dist/definitions/Skeleton/SkeletonContent.d.ts.map +1 -0
- package/dist/definitions/Skeleton/SkeletonContent.web.d.ts +7 -0
- package/dist/definitions/Skeleton/SkeletonContent.web.d.ts.map +1 -0
- package/dist/definitions/Tag/Tag.d.ts +12 -0
- package/dist/definitions/Tag/Tag.d.ts.map +1 -0
- package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts +12 -0
- package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts.map +1 -0
- package/dist/definitions/TimePicker/TimePicker.d.ts +16 -0
- package/dist/definitions/TimePicker/TimePicker.d.ts.map +1 -0
- package/dist/definitions/TimePicker/TimePicker.web.d.ts +3 -0
- package/dist/definitions/TimePicker/TimePicker.web.d.ts.map +1 -0
- package/dist/definitions/TimePicker/useTimePicker.d.ts +14 -0
- package/dist/definitions/TimePicker/useTimePicker.d.ts.map +1 -0
- package/dist/definitions/Tooltip/Tooltip.d.ts +31 -0
- package/dist/definitions/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/definitions/Tooltip/Tooltip.web.d.ts +8 -0
- package/dist/definitions/Tooltip/Tooltip.web.d.ts.map +1 -0
- package/dist/definitions/Tooltip/TooltipView.d.ts +8 -0
- package/dist/definitions/Tooltip/TooltipView.d.ts.map +1 -0
- package/dist/definitions/Tooltip/tooltipUtils.d.ts +5 -0
- package/dist/definitions/Tooltip/tooltipUtils.d.ts.map +1 -0
- package/dist/definitions/forms/Checkbox/Checkbox.d.ts +13 -0
- package/dist/definitions/forms/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/definitions/forms/DatePicker/DatePicker.d.ts +4 -0
- package/dist/definitions/forms/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/definitions/forms/DatePicker/DatePicker.web.d.ts +4 -0
- package/dist/definitions/forms/DatePicker/DatePicker.web.d.ts.map +1 -0
- package/dist/definitions/forms/DatePicker/DatePickerAndroid.d.ts +12 -0
- package/dist/definitions/forms/DatePicker/DatePickerAndroid.d.ts.map +1 -0
- package/dist/definitions/forms/DatePicker/DatePickerInputPart.d.ts +11 -0
- package/dist/definitions/forms/DatePicker/DatePickerInputPart.d.ts.map +1 -0
- package/dist/definitions/forms/DatePicker/DatePickerInputs.d.ts +9 -0
- package/dist/definitions/forms/DatePicker/DatePickerInputs.d.ts.map +1 -0
- package/dist/definitions/forms/DatePicker/ModalPlatformDateTimePicker.d.ts +11 -0
- package/dist/definitions/forms/DatePicker/ModalPlatformDateTimePicker.d.ts.map +1 -0
- package/dist/definitions/forms/DatePicker/PlatformDateTimePicker.d.ts +14 -0
- package/dist/definitions/forms/DatePicker/PlatformDateTimePicker.d.ts.map +1 -0
- package/dist/definitions/forms/DatePicker/types.d.ts +35 -0
- package/dist/definitions/forms/DatePicker/types.d.ts.map +1 -0
- package/dist/definitions/forms/InputEmail/InputEmail.d.ts +7 -0
- package/dist/definitions/forms/InputEmail/InputEmail.d.ts.map +1 -0
- package/dist/definitions/forms/InputFeedback/InputFeedback.d.ts +10 -0
- package/dist/definitions/forms/InputFeedback/InputFeedback.d.ts.map +1 -0
- package/dist/definitions/forms/InputField/InputField.d.ts +9 -0
- package/dist/definitions/forms/InputField/InputField.d.ts.map +1 -0
- package/dist/definitions/forms/InputIcon/InputIcon.d.ts +9 -0
- package/dist/definitions/forms/InputIcon/InputIcon.d.ts.map +1 -0
- package/dist/definitions/forms/InputPassword/InputPassword.d.ts +7 -0
- package/dist/definitions/forms/InputPassword/InputPassword.d.ts.map +1 -0
- package/dist/definitions/forms/InputPhone/InputPhone.d.ts +7 -0
- package/dist/definitions/forms/InputPhone/InputPhone.d.ts.map +1 -0
- package/dist/definitions/forms/InputPressable/InputPressable.d.ts +6 -0
- package/dist/definitions/forms/InputPressable/InputPressable.d.ts.map +1 -0
- package/dist/definitions/forms/InputTag/InputTag.d.ts +10 -0
- package/dist/definitions/forms/InputTag/InputTag.d.ts.map +1 -0
- package/dist/definitions/forms/InputText/InputText.d.ts +16 -0
- package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -0
- package/dist/definitions/forms/InputText/InputTextContainer.d.ts +8 -0
- package/dist/definitions/forms/InputText/InputTextContainer.d.ts.map +1 -0
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +11 -0
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts.map +1 -0
- package/dist/definitions/forms/Label/Label.d.ts +7 -0
- package/dist/definitions/forms/Label/Label.d.ts.map +1 -0
- package/dist/definitions/forms/Radio/Radio.d.ts +13 -0
- package/dist/definitions/forms/Radio/Radio.d.ts.map +1 -0
- package/dist/definitions/forms/TextArea/TextArea.d.ts +6 -0
- package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -0
- package/dist/definitions/forms/styledTextInputMixin.d.ts +7 -0
- package/dist/definitions/forms/styledTextInputMixin.d.ts.map +1 -0
- package/dist/definitions/forms/utils.d.ts +10 -0
- package/dist/definitions/forms/utils.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +114 -0
- package/dist/definitions/index.d.ts.map +1 -0
- package/dist/definitions/linaria-themes.d.ts +2 -0
- package/dist/definitions/linaria-themes.d.ts.map +1 -0
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +4597 -0
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -0
- package/dist/definitions/native-base/acceptable-native-base-props.d.ts +14 -0
- package/dist/definitions/native-base/acceptable-native-base-props.d.ts.map +1 -0
- package/dist/definitions/native-base/layout.d.ts +22 -0
- package/dist/definitions/native-base/layout.d.ts.map +1 -0
- package/dist/definitions/native-base/primitives.d.ts +20 -0
- package/dist/definitions/native-base/primitives.d.ts.map +1 -0
- package/dist/definitions/story-components/Flex.d.ts +9 -0
- package/dist/definitions/story-components/Flex.d.ts.map +1 -0
- package/dist/definitions/story-components/Story.d.ts +9 -0
- package/dist/definitions/story-components/Story.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryBlock.d.ts +10 -0
- package/dist/definitions/story-components/StoryBlock.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryContainer.d.ts +9 -0
- package/dist/definitions/story-components/StoryContainer.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryContainer.web.d.ts +4 -0
- package/dist/definitions/story-components/StoryContainer.web.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryDecorator.d.ts +4 -0
- package/dist/definitions/story-components/StoryDecorator.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryGrid.d.ts +20 -0
- package/dist/definitions/story-components/StoryGrid.d.ts.map +1 -0
- package/dist/definitions/story-components/StorySection.d.ts +21 -0
- package/dist/definitions/story-components/StorySection.d.ts.map +1 -0
- package/dist/definitions/story-components/StoryTitle.d.ts +27 -0
- package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -0
- package/dist/definitions/story-components/index.d.ts +15 -0
- package/dist/definitions/story-components/index.d.ts.map +1 -0
- package/dist/definitions/story-components/theme.d.ts +2 -0
- package/dist/definitions/story-components/theme.d.ts.map +1 -0
- package/dist/definitions/test-utils/TestWrapper.d.ts +7 -0
- package/dist/definitions/test-utils/TestWrapper.d.ts.map +1 -0
- package/dist/definitions/themes/default.d.ts +184 -0
- package/dist/definitions/themes/default.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/avatar.d.ts +14 -0
- package/dist/definitions/themes/late-ocean/avatar.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/button.d.ts +69 -0
- package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/card.d.ts +13 -0
- package/dist/definitions/themes/late-ocean/card.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/checkbox.d.ts +13 -0
- package/dist/definitions/themes/late-ocean/checkbox.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/choices.d.ts +35 -0
- package/dist/definitions/themes/late-ocean/choices.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/colors.d.ts +26 -0
- package/dist/definitions/themes/late-ocean/colors.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/datePicker.d.ts +11 -0
- package/dist/definitions/themes/late-ocean/datePicker.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/feedback.d.ts +11 -0
- package/dist/definitions/themes/late-ocean/feedback.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/forms.d.ts +30 -0
- package/dist/definitions/themes/late-ocean/forms.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/fullScreenModal.d.ts +8 -0
- package/dist/definitions/themes/late-ocean/fullScreenModal.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/highlight.d.ts +12 -0
- package/dist/definitions/themes/late-ocean/highlight.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/iconButton.d.ts +36 -0
- package/dist/definitions/themes/late-ocean/iconButton.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/input.d.ts +32 -0
- package/dist/definitions/themes/late-ocean/input.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/inputField.d.ts +11 -0
- package/dist/definitions/themes/late-ocean/inputField.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/inputTag.d.ts +14 -0
- package/dist/definitions/themes/late-ocean/inputTag.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/listItem.d.ts +8 -0
- package/dist/definitions/themes/late-ocean/listItem.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/navigationModal.d.ts +6 -0
- package/dist/definitions/themes/late-ocean/navigationModal.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/pageLoader.d.ts +18 -0
- package/dist/definitions/themes/late-ocean/pageLoader.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/picker.d.ts +21 -0
- package/dist/definitions/themes/late-ocean/picker.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/radio.d.ts +19 -0
- package/dist/definitions/themes/late-ocean/radio.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/shadows.d.ts +4 -0
- package/dist/definitions/themes/late-ocean/shadows.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/skeleton.d.ts +7 -0
- package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/spacing.d.ts +2 -0
- package/dist/definitions/themes/late-ocean/spacing.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/tag.d.ts +18 -0
- package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/textArea.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/textArea.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/tooltip.d.ts +10 -0
- package/dist/definitions/themes/late-ocean/tooltip.d.ts.map +1 -0
- package/dist/definitions/themes/late-ocean/typography.d.ts +66 -0
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -0
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts +24 -0
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts.map +1 -0
- package/dist/definitions/typography/Typography.d.ts +55 -0
- package/dist/definitions/typography/Typography.d.ts.map +1 -0
- package/dist/definitions/typography/TypographyEmoji.d.ts +8 -0
- package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -0
- package/dist/definitions/typography/TypographyIcon.d.ts +9 -0
- package/dist/definitions/typography/TypographyIcon.d.ts.map +1 -0
- package/dist/definitions/typography/TypographyLink.d.ts +15 -0
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -0
- package/dist/definitions/useKittTheme.d.ts +8 -0
- package/dist/definitions/useKittTheme.d.ts.map +1 -0
- package/dist/definitions/utils/StyleWebWrapper.d.ts +7 -0
- package/dist/definitions/utils/StyleWebWrapper.d.ts.map +1 -0
- package/dist/definitions/utils/hexToRgba.d.ts +2 -0
- package/dist/definitions/utils/hexToRgba.d.ts.map +1 -0
- package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts +15 -0
- package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts.map +1 -0
- package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts +6 -0
- package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts.map +1 -0
- package/dist/definitions/utils/tests/styled-component-typing-test.d.ts +19 -0
- package/dist/definitions/utils/tests/styled-component-typing-test.d.ts.map +1 -0
- package/dist/definitions/utils/typeUtils.d.ts +5 -0
- package/dist/definitions/utils/typeUtils.d.ts.map +1 -0
- package/dist/definitions/utils/warnings.d.ts +4 -0
- package/dist/definitions/utils/warnings.d.ts.map +1 -0
- package/dist/definitions/utils/windowSize/MatchWindowSize.d.ts +8 -0
- package/dist/definitions/utils/windowSize/MatchWindowSize.d.ts.map +1 -0
- package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts +41 -0
- package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts.map +1 -0
- package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts +10 -0
- package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts.map +1 -0
- package/dist/definitions/utils/windowSize/useWindowSize.d.ts +2 -0
- package/dist/definitions/utils/windowSize/useWindowSize.d.ts.map +1 -0
- package/dist/definitions/utils/withTheme.d.ts +7 -0
- package/dist/definitions/utils/withTheme.d.ts.map +1 -0
- package/dist/index-browser-all.es.android.js +5742 -0
- package/dist/index-browser-all.es.android.js.map +1 -0
- package/dist/index-browser-all.es.css +3 -0
- package/dist/index-browser-all.es.ios.js +5742 -0
- package/dist/index-browser-all.es.ios.js.map +1 -0
- package/dist/index-browser-all.es.js +5786 -0
- package/dist/index-browser-all.es.js.map +1 -0
- package/dist/index-browser-all.es.web.js +5139 -0
- package/dist/index-browser-all.es.web.js.map +1 -0
- package/dist/index-node-14.17.cjs.css +3 -0
- package/dist/index-node-14.17.cjs.js +5670 -0
- package/dist/index-node-14.17.cjs.js.map +1 -0
- package/dist/index-node-14.17.cjs.web.css +9 -0
- package/dist/index-node-14.17.cjs.web.js +4951 -0
- package/dist/index-node-14.17.cjs.web.js.map +1 -0
- package/dist/linaria-themes-browser-all.es.android.js +679 -0
- package/dist/linaria-themes-browser-all.es.android.js.map +1 -0
- package/dist/linaria-themes-browser-all.es.ios.js +679 -0
- package/dist/linaria-themes-browser-all.es.ios.js.map +1 -0
- package/dist/linaria-themes-browser-all.es.js +679 -0
- package/dist/linaria-themes-browser-all.es.js.map +1 -0
- package/dist/linaria-themes-browser-all.es.web.js +678 -0
- package/dist/linaria-themes-browser-all.es.web.js.map +1 -0
- package/dist/linaria-themes-node-14.17.cjs.js +678 -0
- package/dist/linaria-themes-node-14.17.cjs.js.map +1 -0
- package/dist/linaria-themes-node-14.17.cjs.web.js +676 -0
- package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -0
- package/dist/styles.css +9 -0
- package/dist/tsbuildinfo +1 -0
- package/package.json +3 -2
- package/.vscode/settings.json +0 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { Except } from 'type-fest';
|
|
3
|
+
import type { StackProps } from '../native-base/layout';
|
|
4
|
+
import { ActionsButton } from './ActionsButton';
|
|
5
|
+
import { ActionsItem } from './ActionsItem';
|
|
6
|
+
export interface ActionsProps extends Except<StackProps, 'space'> {
|
|
7
|
+
}
|
|
8
|
+
export declare function Actions({ children, ...props }: ActionsProps): ReactElement;
|
|
9
|
+
export declare namespace Actions {
|
|
10
|
+
var Button: typeof ActionsButton;
|
|
11
|
+
var Item: typeof ActionsItem;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=Actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Actions.d.ts","sourceRoot":"","sources":["../../../src/Actions/Actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,YAAa,SAAQ,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC;CAAG;AAEpE,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,GAAG,YAAY,CAY1E;yBAZe,OAAO"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { Except } from 'type-fest';
|
|
3
|
+
import type { ButtonProps } from '../Button/Button';
|
|
4
|
+
import { Button } from '../Button/Button';
|
|
5
|
+
import type { ActionsItemProps } from './ActionsItem';
|
|
6
|
+
export interface ActionsButtonProps extends Except<ButtonProps, 'onPress' | 'stretch'>, Pick<ActionsItemProps<typeof Button>, 'onPress'> {
|
|
7
|
+
}
|
|
8
|
+
export declare function ActionsButton({ ...props }: ActionsButtonProps): ReactElement;
|
|
9
|
+
//# sourceMappingURL=ActionsButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionsButton.d.ts","sourceRoot":"","sources":["../../../src/Actions/ActionsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,MAAM,WAAW,kBACf,SAAQ,MAAM,CAAC,WAAW,EAAE,SAAS,GAAG,SAAS,CAAC,EAChD,IAAI,CAAC,gBAAgB,CAAC,OAAO,MAAM,CAAC,EAAE,SAAS,CAAC;CAAG;AAEvD,wBAAgB,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,GAAG,YAAY,CAE5E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps, ReactElement, VoidFunctionComponent } from 'react';
|
|
2
|
+
import type { ButtonProps } from '../Button/Button';
|
|
3
|
+
interface ActionsItemMinimumRequiredProps extends Pick<ButtonProps, 'stretch' | 'onPress'> {
|
|
4
|
+
}
|
|
5
|
+
export interface ActionsItemProps<C extends VoidFunctionComponent<any>> {
|
|
6
|
+
readonly onPress?: (e: Parameters<NonNullable<ButtonProps['onPress']>>[0]) => Promise<void | undefined | null> | void | undefined | null;
|
|
7
|
+
readonly as: C;
|
|
8
|
+
}
|
|
9
|
+
declare type ActionsItemSendableComponentProps<C extends VoidFunctionComponent<any>> = Omit<ComponentProps<C>, keyof ActionsItemProps<C> & keyof ActionsItemMinimumRequiredProps>;
|
|
10
|
+
export declare function ActionsItem<C extends VoidFunctionComponent<any>>({ as, onPress, disabled, icon, ...props }: ActionsItemProps<C> & ActionsItemSendableComponentProps<C>): ReactElement;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=ActionsItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionsItem.d.ts","sourceRoot":"","sources":["../../../src/Actions/ActionsItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAe,YAAY,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAE9F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAMpD,UAAU,+BAAgC,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,SAAS,CAAC;CAAG;AAE7F,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC;IACpE,QAAQ,CAAC,OAAO,CAAC,EAAE,CACjB,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAElD,OAAO,CAAC,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;IAChE,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;CAChB;AAGD,aAAK,iCAAiC,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,IAAI,IAAI,CACjF,cAAc,CAAC,CAAC,CAAC,EACjB,MAAM,gBAAgB,CAAC,CAAC,CAAC,GAAG,MAAM,+BAA+B,CAClE,CAAC;AAEF,wBAAgB,WAAW,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,EAAE,EAChE,EAAE,EACF,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,iCAAiC,CAAC,CAAC,CAAC,GAAG,YAAY,CAgD3E"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
export declare type AvatarSizeVariant = 'large';
|
|
3
|
+
export interface StyledAvatarViewProps {
|
|
4
|
+
$size: number;
|
|
5
|
+
$isRound?: boolean;
|
|
6
|
+
$isLight?: boolean;
|
|
7
|
+
$sizeVariant?: AvatarSizeVariant;
|
|
8
|
+
}
|
|
9
|
+
export interface AvatarProps {
|
|
10
|
+
size?: number;
|
|
11
|
+
src?: string | null;
|
|
12
|
+
alt?: string;
|
|
13
|
+
firstname?: string | null;
|
|
14
|
+
lastname?: string | null;
|
|
15
|
+
round?: boolean;
|
|
16
|
+
light?: boolean;
|
|
17
|
+
sizeVariant?: AvatarSizeVariant;
|
|
18
|
+
}
|
|
19
|
+
export declare function Avatar({ size, round, light, sizeVariant, ...props }: AvatarProps): ReactElement;
|
|
20
|
+
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAQ1C,oBAAY,iBAAiB,GAAG,OAAO,CAAC;AAExC,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAkDD,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AAED,wBAAgB,MAAM,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,GAAG,YAAY,CAMpG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { EdgeInsets } from 'react-native-safe-area-context';
|
|
3
|
+
export declare type MessageType = 'success' | 'warning' | 'danger' | 'info';
|
|
4
|
+
export interface BaseMessageProps {
|
|
5
|
+
type?: MessageType;
|
|
6
|
+
children: NonNullable<ReactNode>;
|
|
7
|
+
/**
|
|
8
|
+
* @internal for styling between Message and Notification
|
|
9
|
+
*/
|
|
10
|
+
hasNoRadius?: boolean;
|
|
11
|
+
centeredText?: boolean;
|
|
12
|
+
insets?: EdgeInsets;
|
|
13
|
+
onDismiss?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare function BaseMessage({ type, children, hasNoRadius, centeredText, insets, onDismiss, }: BaseMessageProps): ReactElement;
|
|
16
|
+
//# sourceMappingURL=BaseMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseMessage.d.ts","sourceRoot":"","sources":["../../../src/BaseMessage/BaseMessage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAQjE,oBAAY,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAwDpE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAa,EACb,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,MAAM,EACN,SAAS,GACV,EAAE,gBAAgB,GAAG,YAAY,CAuBjC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { TypographyColor } from '../typography/Typography';
|
|
3
|
+
import type { MessageType } from './BaseMessage';
|
|
4
|
+
interface IconContentProps {
|
|
5
|
+
type: MessageType;
|
|
6
|
+
color: TypographyColor;
|
|
7
|
+
}
|
|
8
|
+
export declare function IconContent({ type, color }: IconContentProps): ReactElement;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=IconContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconContent.d.ts","sourceRoot":"","sources":["../../../src/BaseMessage/IconContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,UAAU,gBAAgB;IACxB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,eAAe,CAAC;CACxB;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,gBAAgB,GAAG,YAAY,CAW3E"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IconButtonProps } from '../IconButton/IconButton';
|
|
2
|
+
import type { TypographyColor } from '../typography/Typography';
|
|
3
|
+
import type { MessageType } from './BaseMessage';
|
|
4
|
+
export declare const getColorByType: (type: MessageType) => TypographyColor;
|
|
5
|
+
export declare const getIconButtonColor: (messageType: MessageType) => IconButtonProps['color'];
|
|
6
|
+
//# sourceMappingURL=helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/BaseMessage/helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,eAAO,MAAM,cAAc,SAAU,WAAW,KAAG,eAUlD,CAAC;AAEF,eAAO,MAAM,kBAAkB,gBAAiB,WAAW,KAAG,eAAe,CAAC,OAAO,CASpF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { PressableProps, View } from 'react-native';
|
|
3
|
+
import type { ButtonType, ButtonVariant } from './Button';
|
|
4
|
+
export interface StyledPressableProps extends PressableProps {
|
|
5
|
+
$isStretch?: boolean;
|
|
6
|
+
$type: ButtonType;
|
|
7
|
+
}
|
|
8
|
+
export interface AnimatedButtonPressableProps extends PressableProps {
|
|
9
|
+
accessibilityRole: NonNullable<PressableProps['accessibilityRole']>;
|
|
10
|
+
$type: ButtonType;
|
|
11
|
+
$variant: ButtonVariant;
|
|
12
|
+
$isStretch?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const AnimatedButtonPressable: import("react").ForwardRefExoticComponent<AnimatedButtonPressableProps & import("react").RefAttributes<View>>;
|
|
15
|
+
//# sourceMappingURL=AnimatedButtonPressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedButtonPressable.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedButtonPressable.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGzD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG1D,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB;AAcD,MAAM,WAAW,4BAA6B,SAAQ,cAAc;IAClE,iBAAiB,EAAE,WAAW,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACpE,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,aAAa,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,uBAAuB,+GA+DnC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { DefaultTheme } from 'styled-components/native';
|
|
3
|
+
import type { AnimatedButtonPressableProps } from './AnimatedButtonPressable';
|
|
4
|
+
import type { ButtonType, ButtonVariant } from './Button';
|
|
5
|
+
interface AnimatedButtonPressableContainerProps {
|
|
6
|
+
theme: DefaultTheme;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
$isDisabled?: boolean;
|
|
9
|
+
$type: ButtonType;
|
|
10
|
+
$variant: ButtonVariant;
|
|
11
|
+
$isStretch?: boolean;
|
|
12
|
+
$isSubtle?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const AnimatedButtonPressableContainer: import("react").ForwardRefExoticComponent<import("type-fest").Except<AnimatedButtonPressableContainerProps, "theme"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export declare const AnimatedButtonPressable: import("react").ForwardRefExoticComponent<AnimatedButtonPressableProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=AnimatedButtonPressable.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedButtonPressable.web.d.ts","sourceRoot":"","sources":["../../../src/Button/AnimatedButtonPressable.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAI1D,UAAU,qCAAqC;IAC7C,KAAK,EAAE,YAAY,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,aAAa,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,gCAAgC,uKA0I3C,CAAC;AAEH,eAAO,MAAM,uBAAuB,yHAcnC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import type { ButtonSize, ButtonType, ButtonVariant } from './Button';
|
|
4
|
+
export interface BaseStyledButtonPressableProps extends ViewProps {
|
|
5
|
+
$type: ButtonType;
|
|
6
|
+
$variant: ButtonVariant;
|
|
7
|
+
$size?: ButtonSize;
|
|
8
|
+
$isStretch?: boolean;
|
|
9
|
+
$isDisabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const BaseStyledButtonPressable: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, BaseStyledButtonPressableProps, never>;
|
|
12
|
+
//# sourceMappingURL=BaseStyledButtonPressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseStyledButtonPressable.d.ts","sourceRoot":"","sources":["../../../src/Button/BaseStyledButtonPressable.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGtE,MAAM,WAAW,8BAA+B,SAAQ,SAAS;IAC/D,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,aAAa,CAAC;IACxB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,yBAAyB,kKA+BrC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { PressableProps, View } from 'react-native';
|
|
3
|
+
export declare type SubtleButtonType = 'subtle' | 'subtle-dark';
|
|
4
|
+
export declare type ButtonType = 'primary' | 'default' | SubtleButtonType | 'white';
|
|
5
|
+
export declare type ButtonSize = 'large' | 'xlarge';
|
|
6
|
+
export declare type ButtonVariant = 'default' | 'ghost';
|
|
7
|
+
declare type IconPosition = 'right' | 'left';
|
|
8
|
+
export interface ButtonProps {
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
type?: ButtonType;
|
|
11
|
+
variant?: ButtonVariant;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
stretch?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated use `size` instead
|
|
16
|
+
*/
|
|
17
|
+
large?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated use `size` instead
|
|
20
|
+
*/
|
|
21
|
+
xLarge?: boolean;
|
|
22
|
+
size?: ButtonSize;
|
|
23
|
+
icon?: ReactElement;
|
|
24
|
+
iconPosition?: IconPosition;
|
|
25
|
+
testID?: PressableProps['testID'];
|
|
26
|
+
href?: PressableProps['href'];
|
|
27
|
+
hrefAttrs?: PressableProps['hrefAttrs'];
|
|
28
|
+
accessibilityRole?: PressableProps['accessibilityRole'];
|
|
29
|
+
className?: string;
|
|
30
|
+
style?: PressableProps['style'];
|
|
31
|
+
onPress?: PressableProps['onPress'];
|
|
32
|
+
}
|
|
33
|
+
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<View>>;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAQzD,oBAAY,gBAAgB,GAAG,QAAQ,GAAG,aAAa,CAAC;AACxD,oBAAY,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,OAAO,CAAC;AAC5E,oBAAY,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC5C,oBAAY,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,aAAK,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;AAUrC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,iBAAiB,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,MAAM,8FAmElB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { Except } from 'type-fest';
|
|
3
|
+
import type { TypographyColor } from '../typography/Typography';
|
|
4
|
+
import type { ButtonProps, ButtonType, ButtonVariant } from './Button';
|
|
5
|
+
interface ButtonContentProps extends Except<ButtonProps, 'onPress' | 'disabled' | 'stretch'> {
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
type: NonNullable<ButtonType>;
|
|
8
|
+
variant: NonNullable<ButtonVariant>;
|
|
9
|
+
$isStretch: ButtonProps['stretch'];
|
|
10
|
+
}
|
|
11
|
+
interface ButtonContentChildrenProps extends Except<ButtonProps, 'onPress' | 'disabled' | 'stretch'> {
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
type: NonNullable<ButtonType>;
|
|
14
|
+
color: TypographyColor;
|
|
15
|
+
}
|
|
16
|
+
export declare function ButtonContentChildren({ type, icon, iconPosition, isDisabled, color, children, }: ButtonContentChildrenProps): ReactElement | null;
|
|
17
|
+
export declare function ButtonContent({ type, variant, isDisabled, $isStretch, icon, children, ...props }: ButtonContentProps): ReactElement;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=ButtonContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonContent.d.ts","sourceRoot":"","sources":["../../../src/Button/ButtonContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,eAAe,EAAuB,MAAM,0BAA0B,CAAC;AAIrF,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAgFvE,UAAU,kBAAmB,SAAQ,MAAM,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAC1F,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAC9B,OAAO,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACpC,UAAU,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACpC;AAED,UAAU,0BAA2B,SAAQ,MAAM,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAClG,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAC9B,KAAK,EAAE,eAAe,CAAC;CACxB;AAQD,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,KAAK,EACL,QAAQ,GACT,EAAE,0BAA0B,GAAG,YAAY,GAAG,IAAI,CA6ClD;AA4BD,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,UAAU,EACV,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,YAAY,CAUnC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
export declare const StyledDisabled: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
//# sourceMappingURL=StyledDisabled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StyledDisabled.d.ts","sourceRoot":"","sources":["../../../src/Button/StyledDisabled.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,cAAc,sIAW1B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DefaultTheme } from 'styled-components/native';
|
|
2
|
+
import type { BaseButtonTheme, BaseButtonWithVariant } from '../themes/late-ocean/button';
|
|
3
|
+
import type { ButtonType, ButtonVariant } from './Button';
|
|
4
|
+
export declare function getVariantValuesIfExist<V extends ButtonVariant>(theme: DefaultTheme, type: ButtonType, variant: ButtonVariant): BaseButtonTheme['default'] | BaseButtonWithVariant[V];
|
|
5
|
+
//# sourceMappingURL=getVariantValuesIfExist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVariantValuesIfExist.d.ts","sourceRoot":"","sources":["../../../src/Button/getVariantValuesIfExist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC1F,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAM1D,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,aAAa,EAC7D,KAAK,EAAE,YAAY,EACnB,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,aAAa,GACrB,eAAe,CAAC,SAAS,CAAC,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAQvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isSubtle.d.ts","sourceRoot":"","sources":["../../../src/Button/isSubtle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE7D,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,IAAI,gBAAgB,CAEnE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
declare type CardType = 'primary' | 'secondary' | 'subtle';
|
|
3
|
+
export interface CardProps {
|
|
4
|
+
children: NonNullable<ReactNode>;
|
|
5
|
+
type: CardType;
|
|
6
|
+
}
|
|
7
|
+
export declare function Card({ children, type }: CardProps): ReactElement;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,aAAK,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEnD,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,EAAE,QAAQ,CAAC;CAChB;AAaD,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,SAAS,GAAG,YAAY,CAEhE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { GestureResponderEvent } from 'react-native';
|
|
3
|
+
declare type ChoiceItemVariant = 'rounded';
|
|
4
|
+
export declare type ChoiceItemType = 'button' | 'radio' | 'checkbox' | undefined;
|
|
5
|
+
export interface BaseChoiceItemProps<V> {
|
|
6
|
+
type?: ChoiceItemType;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
variant?: ChoiceItemVariant;
|
|
10
|
+
value?: V;
|
|
11
|
+
selected?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @internal Used to display pressed UI for testing and storybook purpose
|
|
14
|
+
*/
|
|
15
|
+
isPressedInternal?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @internal Used to display hovered UI for testing and storybook purpose
|
|
18
|
+
*/
|
|
19
|
+
isHoveredInternal?: boolean;
|
|
20
|
+
onPress?: () => void;
|
|
21
|
+
onChange?: (value?: V) => void;
|
|
22
|
+
onFocus?: (e?: any | GestureResponderEvent) => void;
|
|
23
|
+
onBlur?: (e?: any | GestureResponderEvent) => void;
|
|
24
|
+
}
|
|
25
|
+
export interface ChoiceItemButtonProps<V> extends BaseChoiceItemProps<V> {
|
|
26
|
+
type?: 'button';
|
|
27
|
+
value?: never;
|
|
28
|
+
selected?: never;
|
|
29
|
+
onChange?: never;
|
|
30
|
+
}
|
|
31
|
+
export interface ChoiceItemFormElementProps<V> extends BaseChoiceItemProps<V> {
|
|
32
|
+
type: 'radio' | 'checkbox';
|
|
33
|
+
onPress?: never;
|
|
34
|
+
}
|
|
35
|
+
export declare type ChoiceItemProps<V> = ChoiceItemButtonProps<V> | ChoiceItemFormElementProps<V>;
|
|
36
|
+
export declare function ChoiceItem<V>({ type, value, selected, disabled, variant, children, isPressedInternal, isHoveredInternal, onPress, onChange, onBlur, onFocus, }: ChoiceItemProps<V>): ReactElement;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=ChoiceItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChoiceItem.d.ts","sourceRoot":"","sources":["../../../src/Choices/ChoiceItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAgC1D,aAAK,iBAAiB,GAAG,SAAS,CAAC;AAuFnC,oBAAY,cAAc,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AAEzE,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,qBAAqB,KAAK,IAAI,CAAC;IACpD,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,qBAAqB,KAAK,IAAI,CAAC;CACpD;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IACtE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC3E,IAAI,EAAE,OAAO,GAAG,UAAU,CAAC;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,oBAAY,eAAe,CAAC,CAAC,IAAI,qBAAqB,CAAC,CAAC,CAAC,GAAG,0BAA0B,CAAC,CAAC,CAAC,CAAC;AAE1F,wBAAgB,UAAU,CAAC,CAAC,EAAE,EAC5B,IAAe,EACf,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,GACR,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,YAAY,CA2DnC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="styled-components-react-native" />
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { ChoicesDirection } from './Choices';
|
|
4
|
+
interface ChoiceItemContainerProps {
|
|
5
|
+
$isLast?: boolean;
|
|
6
|
+
$direction: ChoicesDirection;
|
|
7
|
+
}
|
|
8
|
+
export declare const ChoiceItemContainer: import("styled-components").StyledComponent<typeof View, import("styled-components").DefaultTheme, ChoiceItemContainerProps, never>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ChoiceItemContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChoiceItemContainer.d.ts","sourceRoot":"","sources":["../../../src/Choices/ChoiceItemContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAElD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,gBAAgB,CAAC;CAC9B;AAED,eAAO,MAAM,mBAAmB,qIAc/B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import type { Except, SetOptional } from 'type-fest';
|
|
3
|
+
import type { ChoiceItemButtonProps, ChoiceItemFormElementProps, ChoiceItemType } from './ChoiceItem';
|
|
4
|
+
import { ChoiceItem } from './ChoiceItem';
|
|
5
|
+
export declare type ChoicesDirection = 'row' | 'column';
|
|
6
|
+
declare type ChoicesPropsToPick = 'type' | 'variant' | 'disabled' | 'value' | 'onPress' | 'onChange' | 'onBlur' | 'onFocus';
|
|
7
|
+
export interface BaseChoicesProps<V> {
|
|
8
|
+
id?: string;
|
|
9
|
+
testID?: string;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
direction?: ChoicesDirection;
|
|
12
|
+
}
|
|
13
|
+
export interface ChoicesButtonProps<V, ChoiceType extends ChoiceItemButtonProps<V>['type']> extends BaseChoicesProps<V>, Pick<ChoiceItemButtonProps<V>, ChoicesPropsToPick> {
|
|
14
|
+
type?: ChoiceType;
|
|
15
|
+
}
|
|
16
|
+
export interface ChoicesFormElementProps<V, ChoiceType extends ChoiceItemFormElementProps<V>['type']> extends BaseChoicesProps<V>, Pick<ChoiceItemFormElementProps<V>, ChoicesPropsToPick> {
|
|
17
|
+
type: ChoiceType;
|
|
18
|
+
}
|
|
19
|
+
export declare type ChoicesItemPropsFromChoiceType<V, ChoiceType extends ChoiceItemType> = ChoiceType extends ChoiceItemFormElementProps<V>['type'] ? ChoiceItemFormElementProps<V> : ChoiceItemButtonProps<V>;
|
|
20
|
+
export declare type ChoicesProps<V, ChoiceType extends ChoiceItemType> = ChoiceType extends ChoiceItemFormElementProps<V>['type'] ? ChoicesFormElementProps<V, ChoiceType> : ChoicesButtonProps<V, 'button'>;
|
|
21
|
+
declare type ExcludeChoiceItemProvidedByChoices = 'type' | 'onPress' | 'onChange' | 'onFocus' | 'onBlur';
|
|
22
|
+
declare type OptionalChoiceItemProvidedByChoices = 'variant' | 'disabled';
|
|
23
|
+
export interface CreateChoices<V, ChoiceType extends ChoiceItemType> {
|
|
24
|
+
(props: ChoicesProps<V, ChoiceType>): ReactElement;
|
|
25
|
+
Item: (props: SetOptional<Except<ChoicesItemPropsFromChoiceType<V, ChoiceType>, OptionalChoiceItemProvidedByChoices>, ExcludeChoiceItemProvidedByChoices>) => ReactElement;
|
|
26
|
+
}
|
|
27
|
+
export declare function createChoicesComponent<V, ChoiceType extends ChoiceItemType>(): CreateChoices<V, ChoiceType>;
|
|
28
|
+
export declare const ChoicesElements: {
|
|
29
|
+
Item: typeof ChoiceItem;
|
|
30
|
+
ButtonChoices: CreateChoices<never, "button">;
|
|
31
|
+
};
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=Choices.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Choices.d.ts","sourceRoot":"","sources":["../../../src/Choices/Choices.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACtG,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,oBAAY,gBAAgB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAehD,aAAK,kBAAkB,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AAGpH,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC,EAAE,UAAU,SAAS,qBAAqB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CACxF,SAAQ,gBAAgB,CAAC,CAAC,CAAC,EACzB,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,kBAAkB,CAAC;IACpD,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC,EAAE,UAAU,SAAS,0BAA0B,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAClG,SAAQ,gBAAgB,CAAC,CAAC,CAAC,EACzB,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,EAAE,kBAAkB,CAAC;IACzD,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,oBAAY,8BAA8B,CACxC,CAAC,EACD,UAAU,SAAS,cAAc,IAC/B,UAAU,SAAS,0BAA0B,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,0BAA0B,CAAC,CAAC,CAAC,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAExH,oBAAY,YAAY,CACtB,CAAC,EACD,UAAU,SAAS,cAAc,IAC/B,UAAU,SAAS,0BAA0B,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GACxD,uBAAuB,CAAC,CAAC,EAAE,UAAU,CAAC,GACtC,kBAAkB,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;AAEpC,aAAK,kCAAkC,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC;AACjG,aAAK,mCAAmC,GAAG,SAAS,GAAG,UAAU,CAAC;AA+DlE,MAAM,WAAW,aAAa,CAAC,CAAC,EAAE,UAAU,SAAS,cAAc;IACjE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG,YAAY,CAAC;IACnD,IAAI,EAAE,CACJ,KAAK,EAAE,WAAW,CAChB,MAAM,CAAC,8BAA8B,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,mCAAmC,CAAC,EAC1F,kCAAkC,CACnC,KACE,YAAY,CAAC;CACnB;AAED,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,UAAU,SAAS,cAAc,KAAK,aAAa,CAAC,CAAC,EAAE,UAAU,CAAC,CAE3G;AAMD,eAAO,MAAM,eAAe;;;CAG3B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ViewStyle } from 'react-native';
|
|
2
|
+
interface UseNativeAnimationOptions {
|
|
3
|
+
selected?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
isPressedInternal?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface NativeAnimation {
|
|
8
|
+
onPressIn: () => void;
|
|
9
|
+
onPressOut: () => void;
|
|
10
|
+
backgroundStyles: ViewStyle;
|
|
11
|
+
}
|
|
12
|
+
export declare const useNativeAnimation: ({ selected, disabled, isPressedInternal, }: UseNativeAnimationOptions) => NativeAnimation;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=useNativeAnimation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNativeAnimation.d.ts","sourceRoot":"","sources":["../../../../src/Choices/hooks/useNativeAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAU9C,UAAU,yBAAyB;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,UAAU,eAAe;IACvB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,gBAAgB,EAAE,SAAS,CAAC;CAC7B;AAED,eAAO,MAAM,kBAAkB,+CAI5B,yBAAyB,KAAG,eAsC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNativeAnimation.web.d.ts","sourceRoot":"","sources":["../../../../src/Choices/hooks/useNativeAnimation.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,kBAAkB,QAAO;IACpC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAO9B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IImageProps } from 'native-base';
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
3
|
+
import type { ImageProps } from 'react-native';
|
|
4
|
+
import type { KittResponsiveProp } from '../KittBreakpoints';
|
|
5
|
+
export interface EmojiProps extends Pick<ImageProps, 'style'> {
|
|
6
|
+
emoji: string;
|
|
7
|
+
size: number | KittResponsiveProp<number>;
|
|
8
|
+
alignSelf?: IImageProps['alignSelf'];
|
|
9
|
+
_web?: IImageProps['_web'];
|
|
10
|
+
}
|
|
11
|
+
export declare function Emoji({ emoji, size, alignSelf, _web, style }: EmojiProps): ReactElement | null;
|
|
12
|
+
//# sourceMappingURL=Emoji.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Emoji.d.ts","sourceRoot":"","sources":["../../../src/Emoji/Emoji.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,UAAU,GAAG,YAAY,GAAG,IAAI,CAuB9F"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ComponentProps, ReactElement, VoidFunctionComponent } from 'react';
|
|
2
|
+
import type { PressableProps, TextProps } from 'react-native';
|
|
3
|
+
declare type ExternalAppLinkScheme = 'sms' | 'tel' | 'mailto';
|
|
4
|
+
export interface ExternalAppLinkAsComponentMinimumRequiredProps {
|
|
5
|
+
href?: TextProps['href'];
|
|
6
|
+
hrefAttrs?: TextProps['hrefAttrs'];
|
|
7
|
+
onPress?: PressableProps['onPress'];
|
|
8
|
+
}
|
|
9
|
+
export interface ExternalAppLinkProps<C extends VoidFunctionComponent<any>> {
|
|
10
|
+
as: C;
|
|
11
|
+
appScheme: ExternalAppLinkScheme;
|
|
12
|
+
appValue: string;
|
|
13
|
+
onPress?: PressableProps['onPress'];
|
|
14
|
+
onOpenAppError?: (err: string) => void;
|
|
15
|
+
}
|
|
16
|
+
export interface ExternalAppLinkPhoneProps<C extends VoidFunctionComponent<any>> extends Partial<ExternalAppLinkProps<C>> {
|
|
17
|
+
phoneNumber: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ExternalAppLinkMailProps<C extends VoidFunctionComponent<any>> extends Partial<ExternalAppLinkProps<C>> {
|
|
20
|
+
emailAddress: string;
|
|
21
|
+
}
|
|
22
|
+
/** @internal for ExternalAppLink.web.tsx only */
|
|
23
|
+
export declare type ExternalAppLinkSendableComponentProps<C extends VoidFunctionComponent<any>> = Omit<ComponentProps<C>, keyof ExternalAppLinkProps<C> & keyof ExternalAppLinkAsComponentMinimumRequiredProps>;
|
|
24
|
+
export declare function ExternalAppLink<C extends VoidFunctionComponent<any>>({ as: Component, appScheme, appValue, onPress, onOpenAppError, ...rest }: ExternalAppLinkProps<C> & ExternalAppLinkSendableComponentProps<C>): ReactElement;
|
|
25
|
+
export declare namespace ExternalAppLink {
|
|
26
|
+
var Sms: <C extends VoidFunctionComponent<any>>({ phoneNumber, children, ...rest }: ExternalAppLinkPhoneProps<C> & ExternalAppLinkSendableComponentProps<C>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
27
|
+
var Tel: <C extends VoidFunctionComponent<any>>({ phoneNumber, children, ...rest }: ExternalAppLinkPhoneProps<C> & ExternalAppLinkSendableComponentProps<C>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
28
|
+
var Mail: <C extends VoidFunctionComponent<any>>({ emailAddress, children, ...rest }: ExternalAppLinkMailProps<C> & ExternalAppLinkSendableComponentProps<C>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=ExternalAppLink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalAppLink.d.ts","sourceRoot":"","sources":["../../../src/ExternalAppLink/ExternalAppLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAyB,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGrF,aAAK,qBAAqB,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEtD,MAAM,WAAW,8CAA8C;IAC7D,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC;IACxE,EAAE,EAAE,CAAC,CAAC;IACN,SAAS,EAAE,qBAAqB,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,CAC7E,SAAQ,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,CAC5E,SAAQ,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,iDAAiD;AAEjD,oBAAY,qCAAqC,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,IAAI,IAAI,CAC5F,cAAc,CAAC,CAAC,CAAC,EACjB,MAAM,oBAAoB,CAAC,CAAC,CAAC,GAAG,MAAM,8CAA8C,CACrF,CAAC;AAEF,wBAAgB,eAAe,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,EAAE,EACpE,EAAE,EAAE,SAAS,EACb,SAAS,EACT,QAAQ,EACR,OAAO,EACP,cAAc,EACd,GAAG,IAAI,EACR,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAAG,qCAAqC,CAAC,CAAC,CAAC,GAAG,YAAY,CA2BnF;yBAlCe,eAAe"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ComponentProps, ReactElement, VoidFunctionComponent } from 'react';
|
|
2
|
+
import type { PressableProps, TextProps } from 'react-native';
|
|
3
|
+
import type { ExternalLinkOpenLinkBehavior } from './ExternalLinkOpenLinkBehavior';
|
|
4
|
+
export interface ExternalLinkAsComponentMinimumRequiredProps {
|
|
5
|
+
href?: TextProps['href'];
|
|
6
|
+
hrefAttrs?: TextProps['hrefAttrs'];
|
|
7
|
+
onPress?: PressableProps['onPress'];
|
|
8
|
+
}
|
|
9
|
+
export interface ExternalLinkProps<C extends VoidFunctionComponent<any>> {
|
|
10
|
+
as: C;
|
|
11
|
+
openLinkBehavior?: ExternalLinkOpenLinkBehavior;
|
|
12
|
+
href?: string;
|
|
13
|
+
onPress?: PressableProps['onPress'];
|
|
14
|
+
}
|
|
15
|
+
/** @internal for ExternalLink.web.tsx only */
|
|
16
|
+
export declare type ExternalLinkSendableComponentProps<C extends VoidFunctionComponent<any>> = Omit<ComponentProps<C>, keyof ExternalLinkProps<C> & keyof ExternalLinkAsComponentMinimumRequiredProps>;
|
|
17
|
+
export declare function ExternalLink<C extends VoidFunctionComponent<any>>({ as: Component, href, openLinkBehavior, onPress, ...rest }: ExternalLinkProps<C> & ExternalLinkSendableComponentProps<C>): ReactElement;
|
|
18
|
+
//# sourceMappingURL=ExternalLink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../src/ExternalLink/ExternalLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAGnF,MAAM,WAAW,2CAA2C;IAC1D,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC;IACrE,EAAE,EAAE,CAAC,CAAC;IACN,gBAAgB,CAAC,EAAE,4BAA4B,CAAC;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAED,8CAA8C;AAE9C,oBAAY,kCAAkC,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,IAAI,IAAI,CACzF,cAAc,CAAC,CAAC,CAAC,EACjB,MAAM,iBAAiB,CAAC,CAAC,CAAC,GAAG,MAAM,2CAA2C,CAC/E,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,EAAE,EACjE,EAAE,EAAE,SAAS,EACb,IAAI,EACJ,gBAA0C,EAC1C,OAAO,EACP,GAAG,IAAI,EACR,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,kCAAkC,CAAC,CAAC,CAAC,GAAG,YAAY,CA6B7E"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement, VoidFunctionComponent } from 'react';
|
|
2
|
+
import type { ExternalLinkProps, ExternalLinkSendableComponentProps } from './ExternalLink';
|
|
3
|
+
export declare function ExternalLink<C extends VoidFunctionComponent<any>>({ as: Component, href, openLinkBehavior, onPress, ...rest }: ExternalLinkProps<C> & ExternalLinkSendableComponentProps<C>): ReactElement;
|
|
4
|
+
//# sourceMappingURL=ExternalLink.web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalLink.web.d.ts","sourceRoot":"","sources":["../../../src/ExternalLink/ExternalLink.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,kCAAkC,EAAE,MAAM,gBAAgB,CAAC;AAG5F,wBAAgB,YAAY,CAAC,CAAC,SAAS,qBAAqB,CAAC,GAAG,CAAC,EAAE,EACjE,EAAE,EAAE,SAAS,EACb,IAAI,EACJ,gBAA0C,EAC1C,OAAO,EACP,GAAG,IAAI,EACR,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,kCAAkC,CAAC,CAAC,CAAC,GAAG,YAAY,CAS7E"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ExternalLinkOpenLinkBehavior {
|
|
2
|
+
/**
|
|
3
|
+
* @default 'openInModal'
|
|
4
|
+
*
|
|
5
|
+
* @description open link behavior in native
|
|
6
|
+
*
|
|
7
|
+
* "openInModal": open via [expo-web-browser](https://docs.expo.dev/versions/latest/sdk/webbrowser/)
|
|
8
|
+
*
|
|
9
|
+
* "openBrowserApp": open via [Linking](https://docs.expo.dev/guides/linking/#opening-links-from-your-app)
|
|
10
|
+
*/
|
|
11
|
+
native?: 'openInModal' | 'openBrowserApp';
|
|
12
|
+
/**
|
|
13
|
+
* @default 'targetBlank'
|
|
14
|
+
*
|
|
15
|
+
* @description open link behavior in native
|
|
16
|
+
*
|
|
17
|
+
* "targetSelf": no dom attributes added, behave like `target="_self"`
|
|
18
|
+
*
|
|
19
|
+
* "targetBlank": dome attributes: `target="_blank" rel="noopener noreferrer"`
|
|
20
|
+
*/
|
|
21
|
+
web?: 'targetSelf' | 'targetBlank';
|
|
22
|
+
}
|
|
23
|
+
export declare const defaultOpenLinkBehavior: ExternalLinkOpenLinkBehavior;
|
|
24
|
+
//# sourceMappingURL=ExternalLinkOpenLinkBehavior.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalLinkOpenLinkBehavior.d.ts","sourceRoot":"","sources":["../../../src/ExternalLink/ExternalLinkOpenLinkBehavior.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,aAAa,GAAG,gBAAgB,CAAC;IAE1C;;;;;;;;OAQG;IACH,GAAG,CAAC,EAAE,YAAY,GAAG,aAAa,CAAC;CACpC;AAED,eAAO,MAAM,uBAAuB,EAAE,4BAGrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/FullScreenModal/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBrD,UAAU,SAAS;IACjB,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAClC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,SAAS,GAAG,YAAY,CAEzE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { FullScreenModalBody } from './Body';
|
|
3
|
+
import { FullScreenModalHeader } from './Header';
|
|
4
|
+
export interface FullScreenModalProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function FullScreenModal({ children }: FullScreenModalProps): ReactElement;
|
|
8
|
+
export declare namespace FullScreenModal {
|
|
9
|
+
var Header: typeof FullScreenModalHeader;
|
|
10
|
+
var Body: typeof FullScreenModalBody;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=FullScreenModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FullScreenModal.d.ts","sourceRoot":"","sources":["../../../src/FullScreenModal/FullScreenModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOjD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,oBAAoB,GAAG,YAAY,CAEhF;yBAFe,eAAe"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface FullScreenModalHeaderProps {
|
|
3
|
+
children: NonNullable<ReactNode>;
|
|
4
|
+
right?: ReactNode;
|
|
5
|
+
left?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function FullScreenModalHeader({ children, right, left }: FullScreenModalHeaderProps): ReactElement;
|
|
8
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/FullScreenModal/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAyFrD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,0BAA0B,GAAG,YAAY,CAiCzG"}
|