@aic-kits/react-native 0.0.3 → 0.0.4
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/lib/auth/components/SocialAuthButton/constants.d.ts +7 -0
- package/lib/auth/components/SocialAuthButton/constants.d.ts.map +1 -0
- package/lib/auth/components/SocialAuthButton/constants.js +14 -0
- package/lib/auth/components/SocialAuthButton/index.d.ts +22 -0
- package/lib/auth/components/SocialAuthButton/index.d.ts.map +1 -0
- package/lib/auth/components/SocialAuthButton/index.js +37 -0
- package/lib/auth/components/SocialSignIn/constants.d.ts +3 -0
- package/lib/auth/components/SocialSignIn/constants.d.ts.map +1 -0
- package/lib/auth/components/SocialSignIn/constants.js +1 -0
- package/lib/auth/components/SocialSignIn/index.d.ts +16 -0
- package/lib/auth/components/SocialSignIn/index.d.ts.map +1 -0
- package/lib/auth/components/SocialSignIn/index.js +11 -0
- package/lib/auth/components/index.d.ts +3 -0
- package/lib/auth/components/index.d.ts.map +1 -0
- package/lib/auth/components/index.js +2 -0
- package/lib/auth/hooks/index.d.ts +2 -0
- package/lib/auth/hooks/index.d.ts.map +1 -0
- package/lib/auth/hooks/index.js +1 -0
- package/lib/auth/hooks/useAuthListener.d.ts +6 -0
- package/lib/auth/hooks/useAuthListener.d.ts.map +1 -0
- package/lib/auth/hooks/useAuthListener.js +40 -0
- package/lib/auth/index.d.ts +7 -0
- package/lib/auth/index.d.ts.map +1 -0
- package/lib/auth/index.js +6 -0
- package/lib/auth/types.d.ts +26 -0
- package/lib/auth/types.d.ts.map +1 -0
- package/lib/auth/types.js +1 -0
- package/lib/auth/utils/apple.d.ts +4 -0
- package/lib/auth/utils/apple.d.ts.map +1 -0
- package/lib/auth/utils/apple.js +90 -0
- package/lib/auth/utils/email.d.ts +11 -0
- package/lib/auth/utils/email.d.ts.map +1 -0
- package/lib/auth/utils/email.js +33 -0
- package/lib/auth/utils/facebook.d.ts +4 -0
- package/lib/auth/utils/facebook.d.ts.map +1 -0
- package/lib/auth/utils/facebook.js +59 -0
- package/lib/auth/utils/google.d.ts +3 -0
- package/lib/auth/utils/google.d.ts.map +1 -0
- package/lib/auth/utils/google.js +33 -0
- package/lib/auth/utils/index.d.ts +8 -0
- package/lib/auth/utils/index.d.ts.map +1 -0
- package/lib/auth/utils/index.js +55 -0
- package/lib/components/Art/BrandArt.d.ts +3 -0
- package/lib/components/Art/BrandArt.d.ts.map +1 -0
- package/lib/components/Art/BrandArt.js +6 -0
- package/lib/components/Art/EmojiArt.d.ts +3 -0
- package/lib/components/Art/EmojiArt.d.ts.map +1 -0
- package/lib/components/Art/EmojiArt.js +25 -0
- package/lib/components/Art/IconArt.d.ts +3 -0
- package/lib/components/Art/IconArt.d.ts.map +1 -0
- package/lib/components/Art/IconArt.js +26 -0
- package/lib/components/Art/ImageArt.d.ts +3 -0
- package/lib/components/Art/ImageArt.d.ts.map +1 -0
- package/lib/components/Art/ImageArt.js +24 -0
- package/lib/components/Art/SvgArt.d.ts +3 -0
- package/lib/components/Art/SvgArt.d.ts.map +1 -0
- package/lib/components/Art/SvgArt.js +51 -0
- package/lib/components/Art/constants.d.ts +5 -0
- package/lib/components/Art/constants.d.ts.map +1 -0
- package/lib/components/Art/constants.js +6 -0
- package/lib/components/Art/hooks.d.ts +3 -0
- package/lib/components/Art/hooks.d.ts.map +1 -0
- package/lib/components/Art/hooks.js +8 -0
- package/lib/components/Art/index.d.ts +10 -0
- package/lib/components/Art/index.d.ts.map +1 -0
- package/lib/components/Art/index.js +29 -0
- package/lib/components/Art/types.d.ts +157 -0
- package/lib/components/Art/types.d.ts.map +1 -0
- package/lib/components/Art/types.js +1 -0
- package/lib/components/Art/utils.d.ts +40 -0
- package/lib/components/Art/utils.d.ts.map +1 -0
- package/lib/components/Art/utils.js +68 -0
- package/lib/components/Avatar/Wrapper.d.ts +11 -0
- package/lib/components/Avatar/Wrapper.d.ts.map +1 -0
- package/lib/components/Avatar/Wrapper.js +67 -0
- package/lib/components/Avatar/apiCalls/useUploadCloudinaryImageApi.d.ts +14 -0
- package/lib/components/Avatar/apiCalls/useUploadCloudinaryImageApi.d.ts.map +1 -0
- package/lib/components/Avatar/apiCalls/useUploadCloudinaryImageApi.js +24 -0
- package/lib/components/Avatar/index.d.ts +3 -0
- package/lib/components/Avatar/index.d.ts.map +1 -0
- package/lib/components/Avatar/index.js +37 -0
- package/lib/components/Avatar/types.d.ts +51 -0
- package/lib/components/Avatar/types.d.ts.map +1 -0
- package/lib/components/Avatar/types.js +1 -0
- package/lib/components/Avatar/utils.d.ts +6 -0
- package/lib/components/Avatar/utils.d.ts.map +1 -0
- package/lib/components/Avatar/utils.js +9 -0
- package/lib/components/Base/BaseFooter.d.ts +8 -0
- package/lib/components/Base/BaseFooter.d.ts.map +1 -0
- package/lib/components/Base/BaseFooter.js +18 -0
- package/lib/components/Base/index.d.ts +4 -0
- package/lib/components/Base/index.d.ts.map +1 -0
- package/lib/components/Base/index.js +49 -0
- package/lib/components/Base/types.d.ts +83 -0
- package/lib/components/Base/types.d.ts.map +1 -0
- package/lib/components/Base/types.js +1 -0
- package/lib/components/Box/StyledBox.d.ts +254 -0
- package/lib/components/Box/StyledBox.d.ts.map +1 -0
- package/lib/components/Box/StyledBox.js +53 -0
- package/lib/components/Box/config.d.ts +359 -0
- package/lib/components/Box/config.d.ts.map +1 -0
- package/lib/components/Box/config.js +227 -0
- package/lib/components/Box/index.d.ts +11 -0
- package/lib/components/Box/index.d.ts.map +1 -0
- package/lib/components/Box/index.js +14 -0
- package/lib/components/Box/types.d.ts +53 -0
- package/lib/components/Box/types.d.ts.map +1 -0
- package/lib/components/Box/types.js +1 -0
- package/lib/components/Bubble/index.d.ts +8 -0
- package/lib/components/Bubble/index.d.ts.map +1 -0
- package/lib/components/Bubble/index.js +20 -0
- package/lib/components/Bubble/type.d.ts +18 -0
- package/lib/components/Bubble/type.d.ts.map +1 -0
- package/lib/components/Bubble/type.js +1 -0
- package/lib/components/Bubble/utils.d.ts +12 -0
- package/lib/components/Bubble/utils.d.ts.map +1 -0
- package/lib/components/Bubble/utils.js +33 -0
- package/lib/components/Button/StyledButton.d.ts +34 -0
- package/lib/components/Button/StyledButton.d.ts.map +1 -0
- package/lib/components/Button/StyledButton.js +49 -0
- package/lib/components/Button/index.d.ts +64 -0
- package/lib/components/Button/index.d.ts.map +1 -0
- package/lib/components/Button/index.js +20 -0
- package/lib/components/Button/utils.d.ts +4 -0
- package/lib/components/Button/utils.d.ts.map +1 -0
- package/lib/components/Button/utils.js +10 -0
- package/lib/components/Card/StyledCard.d.ts +226 -0
- package/lib/components/Card/StyledCard.d.ts.map +1 -0
- package/lib/components/Card/StyledCard.js +17 -0
- package/lib/components/Card/index.d.ts +27 -0
- package/lib/components/Card/index.d.ts.map +1 -0
- package/lib/components/Card/index.js +44 -0
- package/lib/components/Chart/LineChart.d.ts +3 -0
- package/lib/components/Chart/LineChart.d.ts.map +1 -0
- package/lib/components/Chart/LineChart.js +27 -0
- package/lib/components/Chart/constants.d.ts +2 -0
- package/lib/components/Chart/constants.d.ts.map +1 -0
- package/lib/components/Chart/constants.js +47 -0
- package/lib/components/Chart/index.d.ts +3 -0
- package/lib/components/Chart/index.d.ts.map +1 -0
- package/lib/components/Chart/index.js +10 -0
- package/lib/components/Chart/types.d.ts +32 -0
- package/lib/components/Chart/types.d.ts.map +1 -0
- package/lib/components/Chart/types.js +1 -0
- package/lib/components/Chart/utils.d.ts +6 -0
- package/lib/components/Chart/utils.d.ts.map +1 -0
- package/lib/components/Chart/utils.js +8 -0
- package/lib/components/Chat/ImageChat.d.ts +8 -0
- package/lib/components/Chat/ImageChat.d.ts.map +1 -0
- package/lib/components/Chat/ImageChat.js +24 -0
- package/lib/components/Chat/TextChat.d.ts +8 -0
- package/lib/components/Chat/TextChat.d.ts.map +1 -0
- package/lib/components/Chat/TextChat.js +37 -0
- package/lib/components/Chat/VideoChat.d.ts +6 -0
- package/lib/components/Chat/VideoChat.d.ts.map +1 -0
- package/lib/components/Chat/VideoChat.js +56 -0
- package/lib/components/Chat/index.d.ts +4 -0
- package/lib/components/Chat/index.d.ts.map +1 -0
- package/lib/components/Chat/index.js +26 -0
- package/lib/components/Chat/type.d.ts +95 -0
- package/lib/components/Chat/type.d.ts.map +1 -0
- package/lib/components/Chat/type.js +1 -0
- package/lib/components/ChatCluster/index.d.ts +4 -0
- package/lib/components/ChatCluster/index.d.ts.map +1 -0
- package/lib/components/ChatCluster/index.js +22 -0
- package/lib/components/ChatCluster/types.d.ts +11 -0
- package/lib/components/ChatCluster/types.d.ts.map +1 -0
- package/lib/components/ChatCluster/types.js +1 -0
- package/lib/components/ChatCluster/utils.d.ts +5 -0
- package/lib/components/ChatCluster/utils.d.ts.map +1 -0
- package/lib/components/ChatCluster/utils.js +15 -0
- package/lib/components/Chip/index.d.ts +3 -0
- package/lib/components/Chip/index.d.ts.map +1 -0
- package/lib/components/Chip/index.js +16 -0
- package/lib/components/Chip/types.d.ts +50 -0
- package/lib/components/Chip/types.d.ts.map +1 -0
- package/lib/components/Chip/types.js +1 -0
- package/lib/components/Divider/StyledDivider.d.ts +12 -0
- package/lib/components/Divider/StyledDivider.d.ts.map +1 -0
- package/lib/components/Divider/StyledDivider.js +17 -0
- package/lib/components/Divider/index.d.ts +15 -0
- package/lib/components/Divider/index.d.ts.map +1 -0
- package/lib/components/Divider/index.js +4 -0
- package/lib/components/FastList/index.d.ts +25 -0
- package/lib/components/FastList/index.d.ts.map +1 -0
- package/lib/components/FastList/index.js +13 -0
- package/lib/components/Filter/index.d.ts +40 -0
- package/lib/components/Filter/index.d.ts.map +1 -0
- package/lib/components/Filter/index.js +23 -0
- package/lib/components/Gradient/index.d.ts +11 -0
- package/lib/components/Gradient/index.d.ts.map +1 -0
- package/lib/components/Gradient/index.js +10 -0
- package/lib/components/Header/BackButton.d.ts +5 -0
- package/lib/components/Header/BackButton.d.ts.map +1 -0
- package/lib/components/Header/BackButton.js +22 -0
- package/lib/components/Header/DefaultHeader.d.ts +8 -0
- package/lib/components/Header/DefaultHeader.d.ts.map +1 -0
- package/lib/components/Header/DefaultHeader.js +13 -0
- package/lib/components/Header/HeaderContent.d.ts +6 -0
- package/lib/components/Header/HeaderContent.d.ts.map +1 -0
- package/lib/components/Header/HeaderContent.js +18 -0
- package/lib/components/Header/IconButton.d.ts +13 -0
- package/lib/components/Header/IconButton.d.ts.map +1 -0
- package/lib/components/Header/IconButton.js +6 -0
- package/lib/components/Header/ProgressHeader.d.ts +7 -0
- package/lib/components/Header/ProgressHeader.d.ts.map +1 -0
- package/lib/components/Header/ProgressHeader.js +18 -0
- package/lib/components/Header/RightButton.d.ts +3 -0
- package/lib/components/Header/RightButton.d.ts.map +1 -0
- package/lib/components/Header/RightButton.js +15 -0
- package/lib/components/Header/index.d.ts +4 -0
- package/lib/components/Header/index.d.ts.map +1 -0
- package/lib/components/Header/index.js +12 -0
- package/lib/components/Header/types.d.ts +86 -0
- package/lib/components/Header/types.d.ts.map +1 -0
- package/lib/components/Header/types.js +1 -0
- package/lib/components/Header/utils.d.ts +10 -0
- package/lib/components/Header/utils.d.ts.map +1 -0
- package/lib/components/Header/utils.js +3 -0
- package/lib/components/Icon/AnimatedIcon.d.ts +6 -0
- package/lib/components/Icon/AnimatedIcon.d.ts.map +1 -0
- package/lib/components/Icon/AnimatedIcon.js +34 -0
- package/lib/components/Icon/PlainIcon.d.ts +16 -0
- package/lib/components/Icon/PlainIcon.d.ts.map +1 -0
- package/lib/components/Icon/PlainIcon.js +13 -0
- package/lib/components/Icon/constants.d.ts +703 -0
- package/lib/components/Icon/constants.d.ts.map +1 -0
- package/lib/components/Icon/constants.js +702 -0
- package/lib/components/Icon/index.d.ts +34 -0
- package/lib/components/Icon/index.d.ts.map +1 -0
- package/lib/components/Icon/index.js +24 -0
- package/lib/components/Icon/utils.d.ts +3 -0
- package/lib/components/Icon/utils.d.ts.map +1 -0
- package/lib/components/Icon/utils.js +2 -0
- package/lib/components/Image/ImageDetail.d.ts +11 -0
- package/lib/components/Image/ImageDetail.d.ts.map +1 -0
- package/lib/components/Image/ImageDetail.js +33 -0
- package/lib/components/Image/index.d.ts +11 -0
- package/lib/components/Image/index.d.ts.map +1 -0
- package/lib/components/Image/index.js +5 -0
- package/lib/components/Image/utils.d.ts +6 -0
- package/lib/components/Image/utils.d.ts.map +1 -0
- package/lib/components/Image/utils.js +12 -0
- package/lib/components/InfoCard/BasicInfoCard.d.ts +19 -0
- package/lib/components/InfoCard/BasicInfoCard.d.ts.map +1 -0
- package/lib/components/InfoCard/BasicInfoCard.js +18 -0
- package/lib/components/InfoCard/NewsInfoCard.d.ts +22 -0
- package/lib/components/InfoCard/NewsInfoCard.d.ts.map +1 -0
- package/lib/components/InfoCard/NewsInfoCard.js +15 -0
- package/lib/components/InfoCard/ThumbnailInfoCard.d.ts +33 -0
- package/lib/components/InfoCard/ThumbnailInfoCard.d.ts.map +1 -0
- package/lib/components/InfoCard/ThumbnailInfoCard.js +24 -0
- package/lib/components/InfoCard/index.d.ts +15 -0
- package/lib/components/InfoCard/index.d.ts.map +1 -0
- package/lib/components/InfoCard/index.js +16 -0
- package/lib/components/Input/StyledInput.d.ts +13 -0
- package/lib/components/Input/StyledInput.d.ts.map +1 -0
- package/lib/components/Input/StyledInput.js +14 -0
- package/lib/components/Input/index.d.ts +34 -0
- package/lib/components/Input/index.d.ts.map +1 -0
- package/lib/components/Input/index.js +15 -0
- package/lib/components/LevelStep/CircularProgress.d.ts +12 -0
- package/lib/components/LevelStep/CircularProgress.d.ts.map +1 -0
- package/lib/components/LevelStep/CircularProgress.js +27 -0
- package/lib/components/LevelStep/TransformedSvg.d.ts +13 -0
- package/lib/components/LevelStep/TransformedSvg.d.ts.map +1 -0
- package/lib/components/LevelStep/TransformedSvg.js +9 -0
- package/lib/components/LevelStep/constants.d.ts +8 -0
- package/lib/components/LevelStep/constants.d.ts.map +1 -0
- package/lib/components/LevelStep/constants.js +17 -0
- package/lib/components/LevelStep/index.d.ts +3 -0
- package/lib/components/LevelStep/index.d.ts.map +1 -0
- package/lib/components/LevelStep/index.js +78 -0
- package/lib/components/LevelStep/types.d.ts +7 -0
- package/lib/components/LevelStep/types.d.ts.map +1 -0
- package/lib/components/LevelStep/types.js +1 -0
- package/lib/components/List/index.d.ts +13 -0
- package/lib/components/List/index.d.ts.map +1 -0
- package/lib/components/List/index.js +13 -0
- package/lib/components/Loading/Loading.d.ts +3 -0
- package/lib/components/Loading/Loading.d.ts.map +1 -0
- package/lib/components/Loading/Loading.js +61 -0
- package/lib/components/Loading/StyledLoading.d.ts +14 -0
- package/lib/components/Loading/StyledLoading.d.ts.map +1 -0
- package/lib/components/Loading/StyledLoading.js +18 -0
- package/lib/components/Loading/index.d.ts +3 -0
- package/lib/components/Loading/index.d.ts.map +1 -0
- package/lib/components/Loading/index.js +26 -0
- package/lib/components/Loading/types.d.ts +25 -0
- package/lib/components/Loading/types.d.ts.map +1 -0
- package/lib/components/Loading/types.js +1 -0
- package/lib/components/Notification/Notification.d.ts +6 -0
- package/lib/components/Notification/Notification.d.ts.map +1 -0
- package/lib/components/Notification/Notification.js +13 -0
- package/lib/components/Notification/NotificationProvider.d.ts +4 -0
- package/lib/components/Notification/NotificationProvider.d.ts.map +1 -0
- package/lib/components/Notification/NotificationProvider.js +13 -0
- package/lib/components/Notification/Toast.d.ts +8 -0
- package/lib/components/Notification/Toast.d.ts.map +1 -0
- package/lib/components/Notification/Toast.js +32 -0
- package/lib/components/Notification/context.d.ts +7 -0
- package/lib/components/Notification/context.d.ts.map +1 -0
- package/lib/components/Notification/context.js +9 -0
- package/lib/components/Notification/index.d.ts +3 -0
- package/lib/components/Notification/index.d.ts.map +1 -0
- package/lib/components/Notification/index.js +2 -0
- package/lib/components/PlaySwitch/index.d.ts +4 -0
- package/lib/components/PlaySwitch/index.d.ts.map +1 -0
- package/lib/components/PlaySwitch/index.js +62 -0
- package/lib/components/PlaySwitch/types.d.ts +23 -0
- package/lib/components/PlaySwitch/types.d.ts.map +1 -0
- package/lib/components/PlaySwitch/types.js +1 -0
- package/lib/components/Progress/StyledProgress.d.ts +225 -0
- package/lib/components/Progress/StyledProgress.d.ts.map +1 -0
- package/lib/components/Progress/StyledProgress.js +22 -0
- package/lib/components/Progress/index.d.ts +25 -0
- package/lib/components/Progress/index.d.ts.map +1 -0
- package/lib/components/Progress/index.js +33 -0
- package/lib/components/Scrollable/StyledScrollable.d.ts +33 -0
- package/lib/components/Scrollable/StyledScrollable.d.ts.map +1 -0
- package/lib/components/Scrollable/StyledScrollable.js +56 -0
- package/lib/components/Scrollable/index.d.ts +6 -0
- package/lib/components/Scrollable/index.d.ts.map +1 -0
- package/lib/components/Scrollable/index.js +15 -0
- package/lib/components/Scrollable/types.d.ts +5 -0
- package/lib/components/Scrollable/types.d.ts.map +1 -0
- package/lib/components/Scrollable/types.js +1 -0
- package/lib/components/Sectional/Item.d.ts +13 -0
- package/lib/components/Sectional/Item.d.ts.map +1 -0
- package/lib/components/Sectional/Item.js +21 -0
- package/lib/components/Sectional/index.d.ts +9 -0
- package/lib/components/Sectional/index.d.ts.map +1 -0
- package/lib/components/Sectional/index.js +25 -0
- package/lib/components/Sectional/types.d.ts +33 -0
- package/lib/components/Sectional/types.d.ts.map +1 -0
- package/lib/components/Sectional/types.js +1 -0
- package/lib/components/Sectional/utils.d.ts +11 -0
- package/lib/components/Sectional/utils.d.ts.map +1 -0
- package/lib/components/Sectional/utils.js +37 -0
- package/lib/components/Selection/index.d.ts +17 -0
- package/lib/components/Selection/index.d.ts.map +1 -0
- package/lib/components/Selection/index.js +24 -0
- package/lib/components/Skeleton/SkeletonBackground.d.ts +6 -0
- package/lib/components/Skeleton/SkeletonBackground.d.ts.map +1 -0
- package/lib/components/Skeleton/SkeletonBackground.js +23 -0
- package/lib/components/Skeleton/SkeletonWrapper.d.ts +8 -0
- package/lib/components/Skeleton/SkeletonWrapper.d.ts.map +1 -0
- package/lib/components/Skeleton/SkeletonWrapper.js +50 -0
- package/lib/components/Skeleton/index.d.ts +4 -0
- package/lib/components/Skeleton/index.d.ts.map +1 -0
- package/lib/components/Skeleton/index.js +16 -0
- package/lib/components/Skeleton/types.d.ts +16 -0
- package/lib/components/Skeleton/types.d.ts.map +1 -0
- package/lib/components/Skeleton/types.js +1 -0
- package/lib/components/Slides/index.d.ts +14 -0
- package/lib/components/Slides/index.d.ts.map +1 -0
- package/lib/components/Slides/index.js +46 -0
- package/lib/components/Squircle/index.d.ts +35 -0
- package/lib/components/Squircle/index.d.ts.map +1 -0
- package/lib/components/Squircle/index.js +21 -0
- package/lib/components/Squircle/types.d.ts +20 -0
- package/lib/components/Squircle/types.d.ts.map +1 -0
- package/lib/components/Squircle/types.js +1 -0
- package/lib/components/Squircle/utils.d.ts +4 -0
- package/lib/components/Squircle/utils.d.ts.map +1 -0
- package/lib/components/Squircle/utils.js +86 -0
- package/lib/components/Text/StyledText.d.ts +18 -0
- package/lib/components/Text/StyledText.d.ts.map +1 -0
- package/lib/components/Text/StyledText.js +19 -0
- package/lib/components/Text/constants.d.ts +3 -0
- package/lib/components/Text/constants.d.ts.map +1 -0
- package/lib/components/Text/constants.js +6 -0
- package/lib/components/Text/index.d.ts +6 -0
- package/lib/components/Text/index.d.ts.map +1 -0
- package/lib/components/Text/index.js +7 -0
- package/lib/components/Text/types.d.ts +55 -0
- package/lib/components/Text/types.d.ts.map +1 -0
- package/lib/components/Text/types.js +1 -0
- package/lib/components/Text/withRichText.d.ts +6 -0
- package/lib/components/Text/withRichText.d.ts.map +1 -0
- package/lib/components/Text/withRichText.js +38 -0
- package/lib/components/Touchable/index.d.ts +5 -0
- package/lib/components/Touchable/index.d.ts.map +1 -0
- package/lib/components/Touchable/index.js +56 -0
- package/lib/components/Touchable/types.d.ts +22 -0
- package/lib/components/Touchable/types.d.ts.map +1 -0
- package/lib/components/Touchable/types.js +1 -0
- package/lib/components/Video/StyledVideoControlManager.d.ts +49 -0
- package/lib/components/Video/StyledVideoControlManager.d.ts.map +1 -0
- package/lib/components/Video/StyledVideoControlManager.js +64 -0
- package/lib/components/Video/StyledVideoDetail.d.ts +16 -0
- package/lib/components/Video/StyledVideoDetail.d.ts.map +1 -0
- package/lib/components/Video/StyledVideoDetail.js +23 -0
- package/lib/components/Video/VideoControlManager.d.ts +10 -0
- package/lib/components/Video/VideoControlManager.d.ts.map +1 -0
- package/lib/components/Video/VideoControlManager.js +67 -0
- package/lib/components/Video/VideoDetail.d.ts +11 -0
- package/lib/components/Video/VideoDetail.d.ts.map +1 -0
- package/lib/components/Video/VideoDetail.js +102 -0
- package/lib/components/Video/index.d.ts +25 -0
- package/lib/components/Video/index.d.ts.map +1 -0
- package/lib/components/Video/index.js +49 -0
- package/lib/components/Vimeo/Player.d.ts +4 -0
- package/lib/components/Vimeo/Player.d.ts.map +1 -0
- package/lib/components/Vimeo/Player.js +30 -0
- package/lib/components/Vimeo/constants.d.ts +2 -0
- package/lib/components/Vimeo/constants.d.ts.map +1 -0
- package/lib/components/Vimeo/constants.js +23 -0
- package/lib/components/Vimeo/index.d.ts +10 -0
- package/lib/components/Vimeo/index.d.ts.map +1 -0
- package/lib/components/Vimeo/index.js +35 -0
- package/lib/components/Vimeo/types.d.ts +74 -0
- package/lib/components/Vimeo/types.d.ts.map +1 -0
- package/lib/components/Vimeo/types.js +1 -0
- package/lib/components/Vimeo/utils.d.ts +4 -0
- package/lib/components/Vimeo/utils.d.ts.map +1 -0
- package/lib/components/Vimeo/utils.js +126 -0
- package/lib/components/index.d.ts +33 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +32 -0
- package/lib/hooks/index.d.ts +3 -0
- package/lib/hooks/index.d.ts.map +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/useKeyboard.d.ts +10 -0
- package/lib/hooks/useKeyboard.d.ts.map +1 -0
- package/lib/hooks/useKeyboard.js +54 -0
- package/lib/hooks/usePrevious.d.ts +3 -0
- package/lib/hooks/usePrevious.d.ts.map +1 -0
- package/lib/hooks/usePrevious.js +9 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/services/base/BaseResponse.d.ts +12 -0
- package/lib/services/base/BaseResponse.d.ts.map +1 -0
- package/lib/services/base/BaseResponse.js +9 -0
- package/lib/services/base/BaseService.d.ts +8 -0
- package/lib/services/base/BaseService.d.ts.map +1 -0
- package/lib/services/base/BaseService.js +61 -0
- package/lib/services/base/index.d.ts +3 -0
- package/lib/services/base/index.d.ts.map +1 -0
- package/lib/services/base/index.js +2 -0
- package/lib/services/hooks/index.d.ts +2 -0
- package/lib/services/hooks/index.d.ts.map +1 -0
- package/lib/services/hooks/index.js +1 -0
- package/lib/services/hooks/useRequest.d.ts +14 -0
- package/lib/services/hooks/useRequest.d.ts.map +1 -0
- package/lib/services/hooks/useRequest.js +30 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +2 -0
- package/lib/theme/ThemeProvider.d.ts +13 -0
- package/lib/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/theme/ThemeProvider.js +5 -0
- package/lib/theme/ThemeSwitcher.d.ts +9 -0
- package/lib/theme/ThemeSwitcher.d.ts.map +1 -0
- package/lib/theme/ThemeSwitcher.js +19 -0
- package/lib/theme/common/borders.d.ts +9 -0
- package/lib/theme/common/borders.d.ts.map +1 -0
- package/lib/theme/common/borders.js +27 -0
- package/lib/theme/common/colors.d.ts +74 -0
- package/lib/theme/common/colors.d.ts.map +1 -0
- package/lib/theme/common/colors.js +73 -0
- package/lib/theme/common/gradient.d.ts +13 -0
- package/lib/theme/common/gradient.d.ts.map +1 -0
- package/lib/theme/common/gradient.js +12 -0
- package/lib/theme/common/index.d.ts +50 -0
- package/lib/theme/common/index.d.ts.map +1 -0
- package/lib/theme/common/index.js +37 -0
- package/lib/theme/common/scale.d.ts +12 -0
- package/lib/theme/common/scale.d.ts.map +1 -0
- package/lib/theme/common/scale.js +16 -0
- package/lib/theme/common/shadows.d.ts +17 -0
- package/lib/theme/common/shadows.d.ts.map +1 -0
- package/lib/theme/common/shadows.js +13 -0
- package/lib/theme/common/sizes.d.ts +6 -0
- package/lib/theme/common/sizes.d.ts.map +1 -0
- package/lib/theme/common/sizes.js +26 -0
- package/lib/theme/common/spaces.d.ts +5 -0
- package/lib/theme/common/spaces.d.ts.map +1 -0
- package/lib/theme/common/spaces.js +31 -0
- package/lib/theme/common/text.d.ts +14 -0
- package/lib/theme/common/text.d.ts.map +1 -0
- package/lib/theme/common/text.js +70 -0
- package/lib/theme/components/art.d.ts +17 -0
- package/lib/theme/components/art.d.ts.map +1 -0
- package/lib/theme/components/art.js +15 -0
- package/lib/theme/components/avatar.d.ts +11 -0
- package/lib/theme/components/avatar.d.ts.map +1 -0
- package/lib/theme/components/avatar.js +20 -0
- package/lib/theme/components/base.d.ts +14 -0
- package/lib/theme/components/base.d.ts.map +1 -0
- package/lib/theme/components/base.js +17 -0
- package/lib/theme/components/bubble.d.ts +6 -0
- package/lib/theme/components/bubble.d.ts.map +1 -0
- package/lib/theme/components/bubble.js +10 -0
- package/lib/theme/components/button.d.ts +12 -0
- package/lib/theme/components/button.d.ts.map +1 -0
- package/lib/theme/components/button.js +22 -0
- package/lib/theme/components/card.d.ts +8 -0
- package/lib/theme/components/card.d.ts.map +1 -0
- package/lib/theme/components/card.js +16 -0
- package/lib/theme/components/chart.d.ts +16 -0
- package/lib/theme/components/chart.d.ts.map +1 -0
- package/lib/theme/components/chart.js +22 -0
- package/lib/theme/components/chat.d.ts +11 -0
- package/lib/theme/components/chat.d.ts.map +1 -0
- package/lib/theme/components/chat.js +20 -0
- package/lib/theme/components/chip.d.ts +18 -0
- package/lib/theme/components/chip.d.ts.map +1 -0
- package/lib/theme/components/chip.js +43 -0
- package/lib/theme/components/divider.d.ts +12 -0
- package/lib/theme/components/divider.d.ts.map +1 -0
- package/lib/theme/components/divider.js +16 -0
- package/lib/theme/components/filter.d.ts +5 -0
- package/lib/theme/components/filter.d.ts.map +1 -0
- package/lib/theme/components/filter.js +8 -0
- package/lib/theme/components/header.d.ts +30 -0
- package/lib/theme/components/header.d.ts.map +1 -0
- package/lib/theme/components/header.js +36 -0
- package/lib/theme/components/image.d.ts +4 -0
- package/lib/theme/components/image.d.ts.map +1 -0
- package/lib/theme/components/image.js +6 -0
- package/lib/theme/components/index.d.ts +27 -0
- package/lib/theme/components/index.d.ts.map +1 -0
- package/lib/theme/components/index.js +26 -0
- package/lib/theme/components/infoCard.d.ts +25 -0
- package/lib/theme/components/infoCard.d.ts.map +1 -0
- package/lib/theme/components/infoCard.js +32 -0
- package/lib/theme/components/input.d.ts +21 -0
- package/lib/theme/components/input.d.ts.map +1 -0
- package/lib/theme/components/input.js +34 -0
- package/lib/theme/components/levelStep.d.ts +48 -0
- package/lib/theme/components/levelStep.d.ts.map +1 -0
- package/lib/theme/components/levelStep.js +56 -0
- package/lib/theme/components/loading.d.ts +16 -0
- package/lib/theme/components/loading.d.ts.map +1 -0
- package/lib/theme/components/loading.js +27 -0
- package/lib/theme/components/notification.d.ts +23 -0
- package/lib/theme/components/notification.d.ts.map +1 -0
- package/lib/theme/components/notification.js +38 -0
- package/lib/theme/components/playSwitch.d.ts +10 -0
- package/lib/theme/components/playSwitch.d.ts.map +1 -0
- package/lib/theme/components/playSwitch.js +14 -0
- package/lib/theme/components/progress.d.ts +10 -0
- package/lib/theme/components/progress.d.ts.map +1 -0
- package/lib/theme/components/progress.js +14 -0
- package/lib/theme/components/selection.d.ts +9 -0
- package/lib/theme/components/selection.d.ts.map +1 -0
- package/lib/theme/components/selection.js +21 -0
- package/lib/theme/components/skeleton.d.ts +11 -0
- package/lib/theme/components/skeleton.d.ts.map +1 -0
- package/lib/theme/components/skeleton.js +18 -0
- package/lib/theme/components/slides.d.ts +7 -0
- package/lib/theme/components/slides.d.ts.map +1 -0
- package/lib/theme/components/slides.js +10 -0
- package/lib/theme/components/text.d.ts +21 -0
- package/lib/theme/components/text.d.ts.map +1 -0
- package/lib/theme/components/text.js +22 -0
- package/lib/theme/components/touchable.d.ts +15 -0
- package/lib/theme/components/touchable.d.ts.map +1 -0
- package/lib/theme/components/touchable.js +41 -0
- package/lib/theme/components/video.d.ts +18 -0
- package/lib/theme/components/video.d.ts.map +1 -0
- package/lib/theme/components/video.js +47 -0
- package/lib/theme/getTheme.d.ts +34 -0
- package/lib/theme/getTheme.d.ts.map +1 -0
- package/lib/theme/getTheme.js +36 -0
- package/lib/theme/index.d.ts +10 -0
- package/lib/theme/index.d.ts.map +1 -0
- package/lib/theme/index.js +7 -0
- package/lib/utils/api/index.d.ts +3 -0
- package/lib/utils/api/index.d.ts.map +1 -0
- package/lib/utils/api/index.js +2 -0
- package/lib/utils/api/keys.d.ts +3 -0
- package/lib/utils/api/keys.d.ts.map +1 -0
- package/lib/utils/api/keys.js +11 -0
- package/lib/utils/api/urls.d.ts +3 -0
- package/lib/utils/api/urls.d.ts.map +1 -0
- package/lib/utils/api/urls.js +8 -0
- package/lib/utils/format/index.d.ts +3 -0
- package/lib/utils/format/index.d.ts.map +1 -0
- package/lib/utils/format/index.js +2 -0
- package/lib/utils/format/text.d.ts +4 -0
- package/lib/utils/format/text.d.ts.map +1 -0
- package/lib/utils/format/text.js +13 -0
- package/lib/utils/haptic/index.d.ts +4 -0
- package/lib/utils/haptic/index.d.ts.map +1 -0
- package/lib/utils/haptic/index.js +3 -0
- package/lib/utils/haptic/types.d.ts +25 -0
- package/lib/utils/haptic/types.d.ts.map +1 -0
- package/lib/utils/haptic/types.js +25 -0
- package/lib/utils/haptic/utils.d.ts +3 -0
- package/lib/utils/haptic/utils.d.ts.map +1 -0
- package/lib/utils/haptic/utils.js +8 -0
- package/lib/utils/index.d.ts +9 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js +8 -0
- package/lib/utils/intl/IntlProvider.d.ts +7 -0
- package/lib/utils/intl/IntlProvider.d.ts.map +1 -0
- package/lib/utils/intl/IntlProvider.js +16 -0
- package/lib/utils/intl/context.d.ts +15 -0
- package/lib/utils/intl/context.d.ts.map +1 -0
- package/lib/utils/intl/context.js +9 -0
- package/lib/utils/intl/global.d.ts +7 -0
- package/lib/utils/intl/global.d.ts.map +1 -0
- package/lib/utils/intl/global.js +1 -0
- package/lib/utils/intl/hooks.d.ts +7 -0
- package/lib/utils/intl/hooks.d.ts.map +1 -0
- package/lib/utils/intl/hooks.js +10 -0
- package/lib/utils/intl/index.d.ts +5 -0
- package/lib/utils/intl/index.d.ts.map +1 -0
- package/lib/utils/intl/index.js +4 -0
- package/lib/utils/intl/state.d.ts +12 -0
- package/lib/utils/intl/state.d.ts.map +1 -0
- package/lib/utils/intl/state.js +14 -0
- package/lib/utils/intl/utils.d.ts +6 -0
- package/lib/utils/intl/utils.d.ts.map +1 -0
- package/lib/utils/intl/utils.js +7 -0
- package/lib/utils/notification/index.d.ts +2 -0
- package/lib/utils/notification/index.d.ts.map +1 -0
- package/lib/utils/notification/index.js +1 -0
- package/lib/utils/notification/toast/constants.d.ts +4 -0
- package/lib/utils/notification/toast/constants.d.ts.map +1 -0
- package/lib/utils/notification/toast/constants.js +7 -0
- package/lib/utils/notification/toast/index.d.ts +3 -0
- package/lib/utils/notification/toast/index.d.ts.map +1 -0
- package/lib/utils/notification/toast/index.js +2 -0
- package/lib/utils/notification/toast/types.d.ts +2 -0
- package/lib/utils/notification/toast/types.d.ts.map +1 -0
- package/lib/utils/notification/toast/types.js +1 -0
- package/lib/utils/notification/toast/utils.d.ts +6 -0
- package/lib/utils/notification/toast/utils.d.ts.map +1 -0
- package/lib/utils/notification/toast/utils.js +23 -0
- package/lib/utils/routes/index.d.ts +4 -0
- package/lib/utils/routes/index.d.ts.map +1 -0
- package/lib/utils/routes/index.js +3 -0
- package/lib/utils/routes/types.d.ts +10 -0
- package/lib/utils/routes/types.d.ts.map +1 -0
- package/lib/utils/routes/types.js +1 -0
- package/lib/utils/routes/utils.d.ts +5 -0
- package/lib/utils/routes/utils.d.ts.map +1 -0
- package/lib/utils/routes/utils.js +3 -0
- package/lib/utils/scale.d.ts +4 -0
- package/lib/utils/scale.d.ts.map +1 -0
- package/lib/utils/scale.js +15 -0
- package/lib/utils/ui/color/index.d.ts +3 -0
- package/lib/utils/ui/color/index.d.ts.map +1 -0
- package/lib/utils/ui/color/index.js +2 -0
- package/lib/utils/ui/color/utils.d.ts +2 -0
- package/lib/utils/ui/color/utils.d.ts.map +1 -0
- package/lib/utils/ui/color/utils.js +9 -0
- package/lib/utils/ui/index.d.ts +2 -0
- package/lib/utils/ui/index.d.ts.map +1 -0
- package/lib/utils/ui/index.js +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
export declare const StyledContainer: import("@emotion/native").StyledComponent<import("..").BoxProps & {
|
|
2
|
+
ref?: import("react").ForwardedRef<import("react-native").View>;
|
|
3
|
+
} & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
} & {
|
|
7
|
+
boxBackgroundColor: string;
|
|
8
|
+
boxBorderRadius: number;
|
|
9
|
+
boxWidth: number;
|
|
10
|
+
boxHeight: number;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export declare const StyledProgressBar: import("@emotion/native").StyledComponent<{
|
|
13
|
+
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
14
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
15
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
16
|
+
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
17
|
+
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
18
|
+
accessible?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
19
|
+
accessibilityActions?: readonly Readonly<{
|
|
20
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
21
|
+
label?: string | undefined;
|
|
22
|
+
}>[] | import("react-native-reanimated").SharedValue<readonly Readonly<{
|
|
23
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
24
|
+
label?: string | undefined;
|
|
25
|
+
}>[] | undefined> | undefined;
|
|
26
|
+
accessibilityLabel?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
27
|
+
'aria-label'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
28
|
+
accessibilityRole?: import("react-native").AccessibilityRole | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityRole | undefined> | undefined;
|
|
29
|
+
accessibilityState?: import("react-native").AccessibilityState | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityState | undefined> | undefined;
|
|
30
|
+
'aria-busy'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
31
|
+
'aria-checked'?: boolean | "mixed" | import("react-native-reanimated").SharedValue<boolean | "mixed" | undefined> | undefined;
|
|
32
|
+
'aria-disabled'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
33
|
+
'aria-expanded'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
34
|
+
'aria-selected'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
35
|
+
accessibilityHint?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
36
|
+
accessibilityValue?: import("react-native").AccessibilityValue | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityValue | undefined> | undefined;
|
|
37
|
+
'aria-valuemax'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
38
|
+
'aria-valuemin'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
39
|
+
'aria-valuenow'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
40
|
+
'aria-valuetext'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
41
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined;
|
|
42
|
+
importantForAccessibility?: "auto" | "no" | "yes" | "no-hide-descendants" | import("react-native-reanimated").SharedValue<"auto" | "no" | "yes" | "no-hide-descendants" | undefined> | undefined;
|
|
43
|
+
'aria-hidden'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
44
|
+
'aria-modal'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
45
|
+
role?: import("react-native").Role | import("react-native-reanimated").SharedValue<import("react-native").Role | undefined> | undefined;
|
|
46
|
+
accessibilityLabelledBy?: string | string[] | import("react-native-reanimated").SharedValue<string | string[] | undefined> | undefined;
|
|
47
|
+
'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
48
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
|
|
49
|
+
'aria-live'?: "off" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"off" | "polite" | "assertive" | undefined> | undefined;
|
|
50
|
+
accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
51
|
+
accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
52
|
+
onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
53
|
+
onAccessibilityTap?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
54
|
+
onMagicTap?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
55
|
+
accessibilityIgnoresInvertColors?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
56
|
+
accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
57
|
+
accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
58
|
+
accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
59
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
60
|
+
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
61
|
+
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
62
|
+
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
63
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
64
|
+
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
65
|
+
renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
66
|
+
focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
67
|
+
tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
|
|
68
|
+
shouldRasterizeIOS?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
69
|
+
isTVSelectable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
70
|
+
hasTVPreferredFocus?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
71
|
+
tvParallaxShiftDistanceX?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
72
|
+
tvParallaxShiftDistanceY?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
73
|
+
tvParallaxTiltAngle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
74
|
+
tvParallaxMagnification?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
75
|
+
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
76
|
+
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
77
|
+
onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
78
|
+
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
79
|
+
onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
80
|
+
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
81
|
+
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
82
|
+
onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
83
|
+
onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
84
|
+
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
85
|
+
onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
86
|
+
onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
87
|
+
onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
88
|
+
onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
89
|
+
onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
90
|
+
onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
91
|
+
onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
92
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
93
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
94
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
95
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
96
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
97
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
98
|
+
onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
99
|
+
onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
100
|
+
onPointerDown?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
101
|
+
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
102
|
+
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
103
|
+
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
104
|
+
} & {
|
|
105
|
+
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
106
|
+
} & {
|
|
107
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
108
|
+
entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
|
|
109
|
+
exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
|
|
110
|
+
} & {
|
|
111
|
+
sharedTransitionTag?: string;
|
|
112
|
+
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
|
|
113
|
+
} & {
|
|
114
|
+
animatedProps?: Partial<{
|
|
115
|
+
children?: import("react").ReactNode | import("react-native-reanimated").SharedValue<import("react").ReactNode>;
|
|
116
|
+
id?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
117
|
+
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
|
|
118
|
+
testID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
119
|
+
nativeID?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
120
|
+
accessible?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
121
|
+
accessibilityActions?: readonly Readonly<{
|
|
122
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
123
|
+
label?: string | undefined;
|
|
124
|
+
}>[] | import("react-native-reanimated").SharedValue<readonly Readonly<{
|
|
125
|
+
name: import("react-native").AccessibilityActionName | string;
|
|
126
|
+
label?: string | undefined;
|
|
127
|
+
}>[] | undefined> | undefined;
|
|
128
|
+
accessibilityLabel?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
129
|
+
'aria-label'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
130
|
+
accessibilityRole?: import("react-native").AccessibilityRole | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityRole | undefined> | undefined;
|
|
131
|
+
accessibilityState?: import("react-native").AccessibilityState | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityState | undefined> | undefined;
|
|
132
|
+
'aria-busy'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
133
|
+
'aria-checked'?: boolean | "mixed" | import("react-native-reanimated").SharedValue<boolean | "mixed" | undefined> | undefined;
|
|
134
|
+
'aria-disabled'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
135
|
+
'aria-expanded'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
136
|
+
'aria-selected'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
137
|
+
accessibilityHint?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
138
|
+
accessibilityValue?: import("react-native").AccessibilityValue | import("react-native-reanimated").SharedValue<import("react-native").AccessibilityValue | undefined> | undefined;
|
|
139
|
+
'aria-valuemax'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
140
|
+
'aria-valuemin'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
141
|
+
'aria-valuenow'?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
142
|
+
'aria-valuetext'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
143
|
+
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined;
|
|
144
|
+
importantForAccessibility?: "auto" | "no" | "yes" | "no-hide-descendants" | import("react-native-reanimated").SharedValue<"auto" | "no" | "yes" | "no-hide-descendants" | undefined> | undefined;
|
|
145
|
+
'aria-hidden'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
146
|
+
'aria-modal'?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
147
|
+
role?: import("react-native").Role | import("react-native-reanimated").SharedValue<import("react-native").Role | undefined> | undefined;
|
|
148
|
+
accessibilityLabelledBy?: string | string[] | import("react-native-reanimated").SharedValue<string | string[] | undefined> | undefined;
|
|
149
|
+
'aria-labelledby'?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
150
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"none" | "polite" | "assertive" | undefined> | undefined;
|
|
151
|
+
'aria-live'?: "off" | "polite" | "assertive" | import("react-native-reanimated").SharedValue<"off" | "polite" | "assertive" | undefined> | undefined;
|
|
152
|
+
accessibilityElementsHidden?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
153
|
+
accessibilityViewIsModal?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
154
|
+
onAccessibilityEscape?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
155
|
+
onAccessibilityTap?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
156
|
+
onMagicTap?: (() => void) | import("react-native-reanimated").SharedValue<(() => void) | undefined> | undefined;
|
|
157
|
+
accessibilityIgnoresInvertColors?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
158
|
+
accessibilityLanguage?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
159
|
+
accessibilityShowsLargeContentViewer?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
160
|
+
accessibilityLargeContentTitle?: string | import("react-native-reanimated").SharedValue<string | undefined> | undefined;
|
|
161
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | import("react-native-reanimated").SharedValue<"auto" | "none" | "box-none" | "box-only" | undefined> | undefined;
|
|
162
|
+
hitSlop?: number | import("react-native").Insets | import("react-native-reanimated").SharedValue<number | import("react-native").Insets | null | undefined> | null | undefined;
|
|
163
|
+
needsOffscreenAlphaCompositing?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
164
|
+
removeClippedSubviews?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
165
|
+
collapsable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
166
|
+
collapsableChildren?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
167
|
+
renderToHardwareTextureAndroid?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
168
|
+
focusable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
169
|
+
tabIndex?: 0 | -1 | import("react-native-reanimated").SharedValue<0 | -1 | undefined> | undefined;
|
|
170
|
+
shouldRasterizeIOS?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
171
|
+
isTVSelectable?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
172
|
+
hasTVPreferredFocus?: boolean | import("react-native-reanimated").SharedValue<boolean | undefined> | undefined;
|
|
173
|
+
tvParallaxShiftDistanceX?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
174
|
+
tvParallaxShiftDistanceY?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
175
|
+
tvParallaxTiltAngle?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
176
|
+
tvParallaxMagnification?: number | import("react-native-reanimated").SharedValue<number | undefined> | undefined;
|
|
177
|
+
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
178
|
+
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
179
|
+
onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
180
|
+
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
181
|
+
onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
182
|
+
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
183
|
+
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
184
|
+
onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
185
|
+
onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
186
|
+
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
187
|
+
onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
188
|
+
onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
|
|
189
|
+
onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
190
|
+
onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
191
|
+
onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
192
|
+
onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
193
|
+
onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
|
|
194
|
+
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
195
|
+
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
196
|
+
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
197
|
+
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
198
|
+
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
199
|
+
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
200
|
+
onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
201
|
+
onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
202
|
+
onPointerDown?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
203
|
+
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
204
|
+
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
205
|
+
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | import("react-native-reanimated").SharedValue<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
|
|
206
|
+
} & {
|
|
207
|
+
style?: import("react-native").StyleProp<import("react-native-reanimated").AnimatedStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
|
|
208
|
+
} & {
|
|
209
|
+
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
210
|
+
entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
|
|
211
|
+
exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe").ReanimatedKeyframe;
|
|
212
|
+
} & {
|
|
213
|
+
sharedTransitionTag?: string;
|
|
214
|
+
sharedTransitionStyle?: import("react-native-reanimated").SharedTransition;
|
|
215
|
+
}> | undefined;
|
|
216
|
+
} & {
|
|
217
|
+
theme?: import("@emotion/react").Theme;
|
|
218
|
+
as?: React.ElementType;
|
|
219
|
+
} & {
|
|
220
|
+
backgroundColor: string;
|
|
221
|
+
borderRadius: number;
|
|
222
|
+
}, {}, {
|
|
223
|
+
ref?: import("react").Ref<import("react").Component<import("react-native-reanimated").AnimateProps<import("react-native").ViewProps>, any, any>> | undefined;
|
|
224
|
+
}>;
|
|
225
|
+
//# sourceMappingURL=StyledProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StyledProgress.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/StyledProgress.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;SA4BmhK,MAAO,WAAW;;wBA3B3iK,MAAM;qBACT,MAAM;cACb,MAAM;eACL,MAAM;UAYjB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAUstI,MAAO,WAAW;;qBATnvI,MAAM;kBACT,MAAM;;;EAOpB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import styled from '@emotion/native';
|
|
2
|
+
import Animated from 'react-native-reanimated';
|
|
3
|
+
import { Box } from '../Box';
|
|
4
|
+
export const StyledContainer = styled(Box)(({ boxBackgroundColor, boxBorderRadius, boxWidth, boxHeight }) => {
|
|
5
|
+
return {
|
|
6
|
+
width: boxWidth,
|
|
7
|
+
height: boxHeight,
|
|
8
|
+
flexDirection: 'row',
|
|
9
|
+
justifyContent: 'flex-start',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
overflow: 'hidden',
|
|
12
|
+
backgroundColor: boxBackgroundColor,
|
|
13
|
+
borderRadius: boxBorderRadius,
|
|
14
|
+
};
|
|
15
|
+
});
|
|
16
|
+
export const StyledProgressBar = styled(Animated.View)(({ backgroundColor, borderRadius }) => {
|
|
17
|
+
return {
|
|
18
|
+
height: '100%',
|
|
19
|
+
backgroundColor,
|
|
20
|
+
borderRadius,
|
|
21
|
+
};
|
|
22
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Size } from '../../theme';
|
|
3
|
+
import type { BoxProps, SpacePropsKeyType } from '../Box';
|
|
4
|
+
export interface ProgressProps extends Pick<BoxProps, SpacePropsKeyType> {
|
|
5
|
+
/**
|
|
6
|
+
* The value of the progress bar. (0 - 1)
|
|
7
|
+
*
|
|
8
|
+
* @default blue
|
|
9
|
+
*/
|
|
10
|
+
progress: number;
|
|
11
|
+
/**
|
|
12
|
+
* The height of the progress bar.
|
|
13
|
+
*
|
|
14
|
+
* @default blue
|
|
15
|
+
*/
|
|
16
|
+
height?: Size;
|
|
17
|
+
/**
|
|
18
|
+
* The width of the progress bar.
|
|
19
|
+
*
|
|
20
|
+
* @default blue
|
|
21
|
+
*/
|
|
22
|
+
width?: Size | number;
|
|
23
|
+
}
|
|
24
|
+
export declare const Progress: React.FC<ProgressProps>;
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAO,KAAK,EAAE,IAAI,EAAS,MAAM,aAAa,CAAC;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAI1D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACtE;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IAEd;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CACvB;AAcD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2C5C,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { isNil, isNumber } from 'lodash';
|
|
3
|
+
import React, { useEffect, useMemo } from 'react';
|
|
4
|
+
import { useAnimatedStyle, useSharedValue, withTiming, } from 'react-native-reanimated';
|
|
5
|
+
import { useTheme } from '../../theme';
|
|
6
|
+
import { StyledContainer, StyledProgressBar } from './StyledProgress';
|
|
7
|
+
const getWidthValue = (theme, width) => {
|
|
8
|
+
if (isNil(width)) {
|
|
9
|
+
return 0;
|
|
10
|
+
}
|
|
11
|
+
if (isNumber(width)) {
|
|
12
|
+
return width;
|
|
13
|
+
}
|
|
14
|
+
return theme.sizes[width];
|
|
15
|
+
};
|
|
16
|
+
export const Progress = ({ progress, width, height, ...otherProps }) => {
|
|
17
|
+
const theme = useTheme();
|
|
18
|
+
const themeProgress = useMemo(() => theme.__hd__.progress, [theme]);
|
|
19
|
+
const widthValue = useMemo(() => getWidthValue(theme, width), [theme, width]);
|
|
20
|
+
const heightValue = useMemo(() => (!isNil(height) ? theme.sizes[height] : themeProgress.defaultHeight), [height, theme.sizes, themeProgress.defaultHeight]);
|
|
21
|
+
const animatedProgress = useSharedValue(0);
|
|
22
|
+
const progressStyle = useAnimatedStyle(() => {
|
|
23
|
+
return {
|
|
24
|
+
width: `${animatedProgress.value * 100}%`,
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
animatedProgress.value = withTiming(progress, {
|
|
29
|
+
duration: themeProgress.animation.duration,
|
|
30
|
+
});
|
|
31
|
+
}, [animatedProgress, progress, themeProgress.animation.duration]);
|
|
32
|
+
return (_jsx(StyledContainer, { boxWidth: widthValue, boxHeight: heightValue, boxBackgroundColor: themeProgress.backgroundColor, boxBorderRadius: heightValue / 2, ...otherProps, children: _jsx(StyledProgressBar, { style: progressStyle, backgroundColor: themeProgress.progressColor, borderRadius: heightValue / 2 }) }));
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Theme } from '../../theme';
|
|
2
|
+
import type { CustomBoxProps, FlexStyleProps, StyleProps } from '../Box';
|
|
3
|
+
import type { ScrollableProps } from './types';
|
|
4
|
+
export declare const genScrollableContainerStyle: (theme: Theme, props: StyleProps & FlexStyleProps & CustomBoxProps) => {
|
|
5
|
+
width?: import("react-native").DimensionValue | undefined;
|
|
6
|
+
height?: import("react-native").DimensionValue | undefined;
|
|
7
|
+
left?: import("react-native").DimensionValue | undefined;
|
|
8
|
+
right?: import("react-native").DimensionValue | undefined;
|
|
9
|
+
flex?: number | undefined | undefined;
|
|
10
|
+
position?: "absolute" | "relative" | "static" | undefined | undefined;
|
|
11
|
+
top?: import("react-native").DimensionValue | undefined;
|
|
12
|
+
bottom?: import("react-native").DimensionValue | undefined;
|
|
13
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined | undefined;
|
|
14
|
+
};
|
|
15
|
+
export declare const genScrollableContentContainerStyle: (theme: Theme, props: StyleProps & FlexStyleProps & CustomBoxProps) => {
|
|
16
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
17
|
+
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
18
|
+
alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
|
|
19
|
+
display?: "none" | "flex" | undefined | undefined;
|
|
20
|
+
flexBasis?: import("react-native").DimensionValue | undefined;
|
|
21
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined | undefined;
|
|
22
|
+
flexGrow?: number | undefined | undefined;
|
|
23
|
+
flexShrink?: number | undefined | undefined;
|
|
24
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined | undefined;
|
|
25
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
26
|
+
};
|
|
27
|
+
export declare const StyledScrollable: import("@emotion/native").StyledComponent<import("react-native").ScrollViewProps & {
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
|
+
} & ScrollableProps, {}, {
|
|
31
|
+
ref?: import("react").Ref<import("react-native").ScrollView> | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
//# sourceMappingURL=StyledScrollable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StyledScrollable.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollable/StyledScrollable.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,KAAK,EAAc,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAErF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA4C/C,eAAO,MAAM,2BAA2B,UAC/B,KAAK,SACL,UAAU,GAAG,cAAc,GAAG,cAAc;;;;;;;;;;CAQpD,CAAC;AAEF,eAAO,MAAM,kCAAkC,UACtC,KAAK,SACL,UAAU,GAAG,cAAc,GAAG,cAAc;;;;;;;;;;;CAQpD,CAAC;AAEF,eAAO,MAAM,gBAAgB;;SAnBQ,MAAO,WAAW;;;EAqBtD,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import styled from '@emotion/native';
|
|
2
|
+
import { pick } from 'lodash';
|
|
3
|
+
import { configKeys, mapStylePropToThemeValue } from '../Box';
|
|
4
|
+
const containerFlexPropsKey = [
|
|
5
|
+
'position',
|
|
6
|
+
'top',
|
|
7
|
+
'right',
|
|
8
|
+
'bottom',
|
|
9
|
+
'left',
|
|
10
|
+
'overflow',
|
|
11
|
+
'width',
|
|
12
|
+
'height',
|
|
13
|
+
'flex',
|
|
14
|
+
];
|
|
15
|
+
const contentContainerFlexPropsKey = [
|
|
16
|
+
'alignContent',
|
|
17
|
+
'alignItems',
|
|
18
|
+
'alignSelf',
|
|
19
|
+
'display',
|
|
20
|
+
'flexBasis',
|
|
21
|
+
'flexDirection',
|
|
22
|
+
'flexGrow',
|
|
23
|
+
'flexShrink',
|
|
24
|
+
'flexWrap',
|
|
25
|
+
'justifyContent',
|
|
26
|
+
];
|
|
27
|
+
const contentContainerConfigKeys = [
|
|
28
|
+
'padding',
|
|
29
|
+
'paddingBottom',
|
|
30
|
+
'paddingEnd',
|
|
31
|
+
'paddingHorizontal',
|
|
32
|
+
'paddingLeft',
|
|
33
|
+
'paddingRight',
|
|
34
|
+
'paddingStart',
|
|
35
|
+
'paddingTop',
|
|
36
|
+
'paddingVertical',
|
|
37
|
+
'gap',
|
|
38
|
+
];
|
|
39
|
+
const containerConfigKeys = configKeys.filter(key => !contentContainerConfigKeys.includes(key));
|
|
40
|
+
export const genScrollableContainerStyle = (theme, props) => {
|
|
41
|
+
const styleProps = pick(props, containerConfigKeys);
|
|
42
|
+
const flexProps = pick(props, containerFlexPropsKey);
|
|
43
|
+
return {
|
|
44
|
+
...mapStylePropToThemeValue(theme, styleProps),
|
|
45
|
+
...flexProps,
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export const genScrollableContentContainerStyle = (theme, props) => {
|
|
49
|
+
const styleProps = pick(props, contentContainerConfigKeys);
|
|
50
|
+
const flexProps = pick(props, contentContainerFlexPropsKey);
|
|
51
|
+
return {
|
|
52
|
+
...mapStylePropToThemeValue(theme, styleProps),
|
|
53
|
+
...flexProps,
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export const StyledScrollable = styled.ScrollView(({ theme, ...otherProps }) => genScrollableContainerStyle(theme, otherProps));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ScrollView } from 'react-native';
|
|
2
|
+
import type { ScrollableProps } from './types';
|
|
3
|
+
export declare const Scrollable: import("react").ForwardRefExoticComponent<ScrollableProps & import("react").RefAttributes<ScrollView>>;
|
|
4
|
+
export * from './StyledScrollable';
|
|
5
|
+
export * from './types';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollable/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAsB/C,eAAO,MAAM,UAAU,wGAEtB,CAAC;AAEF,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { ScrollView } from 'react-native';
|
|
4
|
+
import { useTheme } from '../../theme';
|
|
5
|
+
import { genScrollableContentContainerStyle, StyledScrollable, } from './StyledScrollable';
|
|
6
|
+
function PlainScrollable({ contentContainerStyle, ...otherProps }, ref) {
|
|
7
|
+
const theme = useTheme();
|
|
8
|
+
return (_jsx(StyledScrollable, { ref: ref, contentContainerStyle: [
|
|
9
|
+
genScrollableContentContainerStyle(theme, otherProps),
|
|
10
|
+
contentContainerStyle,
|
|
11
|
+
], showsHorizontalScrollIndicator: false, showsVerticalScrollIndicator: false, ...otherProps }));
|
|
12
|
+
}
|
|
13
|
+
export const Scrollable = forwardRef(PlainScrollable);
|
|
14
|
+
export * from './StyledScrollable';
|
|
15
|
+
export * from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollable/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,WAAW,eAAgB,SAAQ,QAAQ,EAAE,eAAe;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ListRenderItemInfo } from '@shopify/flash-list';
|
|
2
|
+
import type { SectionListData, SectionListProps } from 'react-native';
|
|
3
|
+
import type { FlashListItem } from './types';
|
|
4
|
+
interface ItemProps<T, S> {
|
|
5
|
+
info: ListRenderItemInfo<FlashListItem<T, S>>;
|
|
6
|
+
renderItem: (info: ListRenderItemInfo<T> & {
|
|
7
|
+
section: SectionListData<T, S>;
|
|
8
|
+
}) => React.ReactElement | null;
|
|
9
|
+
renderSectionHeader: NonNullable<SectionListProps<T, S>['renderSectionHeader']>;
|
|
10
|
+
}
|
|
11
|
+
export declare function Item<T, S>({ info: { item, ...rest }, renderItem, renderSectionHeader, }: ItemProps<T, S>): React.ReactElement | null;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=Item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../src/components/Sectional/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,UAAU,SAAS,CAAC,CAAC,EAAE,CAAC;IACvB,IAAI,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC9C,UAAU,EAAE,CACX,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG;QAC7B,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KAC/B,KACG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAC/B,mBAAmB,EAAE,WAAW,CAC/B,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAC7C,CAAC;CACF;AAED,wBAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,EACzB,IAAI,EAAE,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EACvB,UAAU,EACV,mBAAmB,GACpB,EAAE,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAkB7C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Box } from '../Box';
|
|
3
|
+
export function Item({ info: { item, ...rest }, renderItem, renderSectionHeader, }) {
|
|
4
|
+
switch (item.type) {
|
|
5
|
+
case 'row':
|
|
6
|
+
return renderItem({
|
|
7
|
+
item: item.item,
|
|
8
|
+
section: item.section,
|
|
9
|
+
...rest,
|
|
10
|
+
index: item.index,
|
|
11
|
+
});
|
|
12
|
+
case 'sectionHeader':
|
|
13
|
+
return renderSectionHeader?.({ section: item.section, ...rest });
|
|
14
|
+
case 'headerSeparator':
|
|
15
|
+
return _jsx(Box, {});
|
|
16
|
+
case 'footerSeparator':
|
|
17
|
+
return _jsx(Box, {});
|
|
18
|
+
default:
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FlashList } from '@shopify/flash-list';
|
|
2
|
+
import { type ForwardedRef } from 'react';
|
|
3
|
+
import type { FlashListItem, SectionalProps } from './types';
|
|
4
|
+
declare function PlainSectional<T, S>({ style, contentContainerStyle, sections, renderItem, renderSectionHeader, onViewableItemsChanged, ...otherProps }: SectionalProps<T, S>, ref: ForwardedRef<FlashList<FlashListItem<T, S>>>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const Sectional: <T, S>(props: SectionalProps<T, S> & {
|
|
6
|
+
ref?: ForwardedRef<FlashList<FlashListItem<T, S>>>;
|
|
7
|
+
}) => ReturnType<typeof PlainSectional>;
|
|
8
|
+
export * from './types';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sectional/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAkB,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,KAAK,YAAY,EAAoC,MAAM,OAAO,CAAC;AAU5E,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAQ7D,iBAAS,cAAc,CAAC,CAAC,EAAE,CAAC,EAC1B,EACE,KAAK,EACL,qBAAqB,EACrB,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,sBAAsB,EACtB,GAAG,UAAU,EACd,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,EACvB,GAAG,EAAE,YAAY,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,2CA8ClD;AAED,eAAO,MAAM,SAAS,EAAiC,CAAC,CAAC,EAAE,CAAC,EAC3D,KAAK,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAC7B,GAAG,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;CAClD,KACG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvC,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FlashList } from '@shopify/flash-list';
|
|
3
|
+
import { forwardRef, useCallback, useMemo } from 'react';
|
|
4
|
+
import { useTheme } from '../../theme';
|
|
5
|
+
import { HapticFeedback, HapticFeedbackTypes } from '../../utils';
|
|
6
|
+
import { genScrollableContainerStyle, genScrollableContentContainerStyle, } from '../Scrollable';
|
|
7
|
+
import { Item } from './Item';
|
|
8
|
+
import { convertSectionsToFlashListItems, getItemType, getStickyHeaderIndices, isSectionChanged, } from './utils';
|
|
9
|
+
function PlainSectional({ style, contentContainerStyle, sections, renderItem, renderSectionHeader, onViewableItemsChanged, ...otherProps }, ref) {
|
|
10
|
+
const theme = useTheme();
|
|
11
|
+
const data = useMemo(() => convertSectionsToFlashListItems([...sections]), [sections]);
|
|
12
|
+
const stickyHeaderIndices = useMemo(() => getStickyHeaderIndices(data), [data]);
|
|
13
|
+
const handleViewableItemsChanged = useCallback((info) => {
|
|
14
|
+
if (isSectionChanged(info)) {
|
|
15
|
+
HapticFeedback.trigger(HapticFeedbackTypes.clockTick);
|
|
16
|
+
}
|
|
17
|
+
onViewableItemsChanged?.(info);
|
|
18
|
+
}, [onViewableItemsChanged]);
|
|
19
|
+
return (_jsx(FlashList, { ref: ref, style: [genScrollableContainerStyle(theme, otherProps), style], showsHorizontalScrollIndicator: false, showsVerticalScrollIndicator: false, contentContainerStyle: {
|
|
20
|
+
...genScrollableContentContainerStyle(theme, otherProps),
|
|
21
|
+
...contentContainerStyle,
|
|
22
|
+
}, data: data, stickyHeaderIndices: stickyHeaderIndices, renderItem: (info) => _jsx(Item, { info: info, renderItem: renderItem, renderSectionHeader: renderSectionHeader }), getItemType: getItemType, onViewableItemsChanged: handleViewableItemsChanged, ...otherProps }));
|
|
23
|
+
}
|
|
24
|
+
export const Sectional = forwardRef(PlainSectional);
|
|
25
|
+
export * from './types';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ContentStyle, FlashListProps, ListRenderItemInfo } from '@shopify/flash-list';
|
|
2
|
+
import type { SectionListData, SectionListProps } from 'react-native';
|
|
3
|
+
import type { ScrollableProps } from '../Scrollable';
|
|
4
|
+
export type FlashListItem<T, S> = {
|
|
5
|
+
type: 'row';
|
|
6
|
+
item: T;
|
|
7
|
+
section: SectionListData<T, S>;
|
|
8
|
+
index: number;
|
|
9
|
+
} | {
|
|
10
|
+
type: 'sectionHeader';
|
|
11
|
+
section: SectionListData<T, S>;
|
|
12
|
+
} | {
|
|
13
|
+
type: 'headerSeparator';
|
|
14
|
+
} | {
|
|
15
|
+
type: 'footerSeparator';
|
|
16
|
+
};
|
|
17
|
+
export interface SectionalProps<T, S> extends Omit<ScrollableProps, 'children' | 'renderItem' | 'contentContainerStyle' | 'keyExtractor' | 'onEndReached' | 'CellRendererComponent'>, Omit<SectionListProps<T, S>, 'children' | 'renderItem' | 'contentContainerStyle' | 'keyExtractor' | 'onEndReached' | 'CellRendererComponent'>, Pick<FlashListProps<FlashListItem<T, S>>, 'CellRendererComponent' | 'keyExtractor' | 'onEndReached' | 'estimatedItemSize'> {
|
|
18
|
+
/**
|
|
19
|
+
* Render function for each item.
|
|
20
|
+
*/
|
|
21
|
+
renderItem: (info: ListRenderItemInfo<T> & {
|
|
22
|
+
section: SectionListData<T, S>;
|
|
23
|
+
}) => React.ReactElement | null;
|
|
24
|
+
/**
|
|
25
|
+
* Render function for each section header.
|
|
26
|
+
*/
|
|
27
|
+
renderSectionHeader: NonNullable<SectionListProps<T, S>['renderSectionHeader']>;
|
|
28
|
+
/**
|
|
29
|
+
* Style for the content container.
|
|
30
|
+
*/
|
|
31
|
+
contentContainerStyle?: ContentStyle;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Sectional/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,aAAa,CAAC,CAAC,EAAE,CAAC,IAAI;IACjC,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,CAAC,CAAC;IACR,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;CACd,GAAG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CAC/B,GAAG;IACH,IAAI,EAAE,iBAAiB,CAAC;CACxB,GAAG;IACH,IAAI,EAAE,iBAAiB,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,cAAc,CAAC,CAAC,EAAE,CAAC,CACnC,SAAQ,IAAI,CAAC,eAAe,EACzB,UAAU,GACV,YAAY,GACZ,uBAAuB,GACvB,cAAc,GACd,cAAc,GACd,uBAAuB,CACzB,EACD,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,EACxB,UAAU,GACV,YAAY,GACZ,uBAAuB,GACvB,cAAc,GACd,cAAc,GACd,uBAAuB,CACzB,EACD,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EACrC,uBAAuB,GACvB,cAAc,GACd,cAAc,GACd,mBAAmB,CACrB;IACD;;OAEG;IACH,UAAU,EAAE,CACX,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG;QAC7B,OAAO,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KAC/B,KACG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,mBAAmB,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAEhF;;OAEG;IACH,qBAAqB,CAAC,EAAE,YAAY,CAAC;CACrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|