@aic-kits/react-native 0.0.2 → 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 +7 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spaces.d.ts","sourceRoot":"","sources":["../../../src/theme/common/spaces.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GACb,SAAS,GACT,QAAQ,GACR,OAAO,GACP,aAAa,GACb,QAAQ,GACR,aAAa,GACb,OAAO,GACP,QAAQ,GACR,SAAS,GACT,UAAU,GACV,WAAW,GACX,SAAS,CAAC;AAEd,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAE3C,eAAO,MAAM,SAAS,cAAe,MAAM,KAAG,MAa5C,CAAC;AAEH,eAAO,MAAM,OAAO,QAAS,MAAM,KAAG,GAAG,IAAI,KAe5C,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { scale } from '../../utils';
|
|
2
|
+
export const getSpaces = (baseSpace) => ({
|
|
3
|
+
xxsmall: scale(baseSpace * 0.25), // 2
|
|
4
|
+
xsmall: scale(baseSpace * 0.5), // 4
|
|
5
|
+
small: scale(baseSpace), // 8
|
|
6
|
+
smallMedium: scale(baseSpace) * 1.5, // 12
|
|
7
|
+
medium: scale(baseSpace * 2), // 16
|
|
8
|
+
mediumLarge: scale(baseSpace * 2.5), // 20
|
|
9
|
+
large: scale(baseSpace * 3), // 24
|
|
10
|
+
xlarge: scale(baseSpace * 4), // 32
|
|
11
|
+
xxlarge: scale(baseSpace * 5), // 40
|
|
12
|
+
xxxlarge: scale(baseSpace * 6), // 48
|
|
13
|
+
xxxxlarge: scale(baseSpace * 7), // 56
|
|
14
|
+
'5xlarge': scale(baseSpace * 8), // 64
|
|
15
|
+
});
|
|
16
|
+
export const isSpace = (key) => {
|
|
17
|
+
return [
|
|
18
|
+
'xxsmall',
|
|
19
|
+
'xsmall',
|
|
20
|
+
'small',
|
|
21
|
+
'smallMedium',
|
|
22
|
+
'medium',
|
|
23
|
+
'mediumLarge',
|
|
24
|
+
'large',
|
|
25
|
+
'xlarge',
|
|
26
|
+
'xxlarge',
|
|
27
|
+
'xxxlarge',
|
|
28
|
+
'xxxxlarge',
|
|
29
|
+
'5xlarge',
|
|
30
|
+
].includes(key);
|
|
31
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Scale } from './scale';
|
|
2
|
+
export type FontWeight = 'regular' | 'medium' | 'semi-bold' | 'bold';
|
|
3
|
+
type FontWeights = Record<FontWeight, string>;
|
|
4
|
+
type Fonts = Record<keyof Scale['font'], FontWeights>;
|
|
5
|
+
export type FontSize = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
|
6
|
+
type FontSizes = Record<FontSize, number>;
|
|
7
|
+
type LineHeights = FontSizes;
|
|
8
|
+
type LetterSpacings = Record<FontSize, number>;
|
|
9
|
+
export declare const getFonts: ({ neutral }: Scale["font"]) => Fonts;
|
|
10
|
+
export declare const getFontSizes: (baseFontSize: number) => FontSizes;
|
|
11
|
+
export declare const getLineHeights: (baseFontSize: number) => LineHeights;
|
|
12
|
+
export declare const getLetterSpacings: (baseFontSize: number) => LetterSpacings;
|
|
13
|
+
export type { Fonts, FontSizes, LineHeights };
|
|
14
|
+
//# sourceMappingURL=text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/theme/common/text.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC;AACrE,KAAK,WAAW,GAAG,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAC9C,KAAK,KAAK,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC;AAEtD,MAAM,MAAM,QAAQ,GAChB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,CAAC;AACb,KAAK,SAAS,GAAG,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAC1C,KAAK,WAAW,GAAG,SAAS,CAAC;AAC7B,KAAK,cAAc,GAAG,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AA6D/C,eAAO,MAAM,QAAQ,gBAAiB,KAAK,CAAC,MAAM,CAAC,KAAG,KAOpD,CAAC;AAqBH,eAAO,MAAM,YAAY,iBAAkB,MAAM,KAAG,SACf,CAAC;AAEtC,eAAO,MAAM,cAAc,iBAAkB,MAAM,KAAG,WACf,CAAC;AAExC,eAAO,MAAM,iBAAiB,iBAAkB,MAAM,KAAG,cACf,CAAC;AAE3C,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { scale } from '../../utils';
|
|
2
|
+
const fontSizes = {
|
|
3
|
+
h1: 48,
|
|
4
|
+
h2: 40,
|
|
5
|
+
h3: 32,
|
|
6
|
+
h4: 24,
|
|
7
|
+
h5: 20,
|
|
8
|
+
h6: 18,
|
|
9
|
+
xlarge: 18,
|
|
10
|
+
large: 16,
|
|
11
|
+
medium: 14,
|
|
12
|
+
small: 12,
|
|
13
|
+
xsmall: 10,
|
|
14
|
+
};
|
|
15
|
+
const lineHeights = {
|
|
16
|
+
h1: fontSizes.h1 * 1.6,
|
|
17
|
+
h2: fontSizes.h2 * 1.6,
|
|
18
|
+
h3: fontSizes.h3 * 1.6,
|
|
19
|
+
h4: fontSizes.h4 * 1.6,
|
|
20
|
+
h5: fontSizes.h5 * 1.6,
|
|
21
|
+
h6: fontSizes.h6 * 1.6,
|
|
22
|
+
xlarge: fontSizes.xlarge * 1.4,
|
|
23
|
+
large: fontSizes.large * 1.4,
|
|
24
|
+
medium: fontSizes.medium * 1.4,
|
|
25
|
+
small: 16,
|
|
26
|
+
xsmall: 14,
|
|
27
|
+
};
|
|
28
|
+
const letterSpacings = {
|
|
29
|
+
h1: 0,
|
|
30
|
+
h2: 0,
|
|
31
|
+
h3: 0,
|
|
32
|
+
h4: 0,
|
|
33
|
+
h5: 0,
|
|
34
|
+
h6: 0,
|
|
35
|
+
xlarge: 0.2,
|
|
36
|
+
large: 0.2,
|
|
37
|
+
medium: 0.2,
|
|
38
|
+
small: 0.2,
|
|
39
|
+
xsmall: 0.2,
|
|
40
|
+
};
|
|
41
|
+
const getSize = (sizes, size, baseFontSize) => (baseFontSize / fontSizes.xsmall) * sizes[size];
|
|
42
|
+
const getFontSize = (size, baseFontSize) => getSize(fontSizes, size, baseFontSize);
|
|
43
|
+
const getLineHeight = (size, baseFontSize) => getSize(lineHeights, size, baseFontSize);
|
|
44
|
+
const getLetterSpacing = (size, baseFontSize) => getSize(letterSpacings, size, baseFontSize);
|
|
45
|
+
export const getFonts = ({ neutral }) => ({
|
|
46
|
+
neutral: {
|
|
47
|
+
regular: `${neutral}-Regular`,
|
|
48
|
+
medium: `${neutral}-Medium`,
|
|
49
|
+
'semi-bold': `${neutral}-SemiBold`,
|
|
50
|
+
bold: `${neutral}-Bold`,
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
const getSizes = (baseFontSize, getSizeFunction) => {
|
|
54
|
+
return {
|
|
55
|
+
h1: scale(getSizeFunction('h1', baseFontSize)),
|
|
56
|
+
h2: scale(getSizeFunction('h2', baseFontSize)),
|
|
57
|
+
h3: scale(getSizeFunction('h3', baseFontSize)),
|
|
58
|
+
h4: scale(getSizeFunction('h4', baseFontSize)),
|
|
59
|
+
h5: scale(getSizeFunction('h5', baseFontSize)),
|
|
60
|
+
h6: scale(getSizeFunction('h6', baseFontSize)),
|
|
61
|
+
xlarge: scale(getSizeFunction('xlarge', baseFontSize)),
|
|
62
|
+
large: scale(getSizeFunction('large', baseFontSize)),
|
|
63
|
+
medium: scale(getSizeFunction('medium', baseFontSize)),
|
|
64
|
+
small: scale(getSizeFunction('small', baseFontSize)),
|
|
65
|
+
xsmall: scale(getSizeFunction('xsmall', baseFontSize)),
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export const getFontSizes = (baseFontSize) => getSizes(baseFontSize, getFontSize);
|
|
69
|
+
export const getLineHeights = (baseFontSize) => getSizes(baseFontSize, getLineHeight);
|
|
70
|
+
export const getLetterSpacings = (baseFontSize) => getSizes(baseFontSize, getLetterSpacing);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const getArtTheme: () => {
|
|
2
|
+
emoji: {
|
|
3
|
+
scale: number;
|
|
4
|
+
};
|
|
5
|
+
icon: {
|
|
6
|
+
gradientStart: {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
};
|
|
10
|
+
gradientEnd: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
defaultSize: "large";
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=art.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"art.d.ts","sourceRoot":"","sources":["../../../src/theme/components/art.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;CAiBvB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type AvatarSize = 'small' | 'medium' | 'large';
|
|
2
|
+
export declare const getAvatarTheme: () => {
|
|
3
|
+
defaultSize: "large";
|
|
4
|
+
defaultRequiredSize: number;
|
|
5
|
+
sizes: Record<AvatarSize, number>;
|
|
6
|
+
icon: {
|
|
7
|
+
color: "primary";
|
|
8
|
+
size: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/theme/components/avatar.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD,eAAO,MAAM,cAAc;;;;;;;;CAqB1B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { scale } from '../../utils';
|
|
2
|
+
export const getAvatarTheme = () => {
|
|
3
|
+
const defaultSize = 'large';
|
|
4
|
+
const defaultRequiredSize = 1080;
|
|
5
|
+
const sizes = {
|
|
6
|
+
small: scale(28),
|
|
7
|
+
medium: scale(60),
|
|
8
|
+
large: scale(120),
|
|
9
|
+
};
|
|
10
|
+
const icon = {
|
|
11
|
+
color: 'primary',
|
|
12
|
+
size: scale(30),
|
|
13
|
+
};
|
|
14
|
+
return {
|
|
15
|
+
defaultSize,
|
|
16
|
+
defaultRequiredSize,
|
|
17
|
+
sizes,
|
|
18
|
+
icon,
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { StatusBarStyle } from 'react-native';
|
|
2
|
+
import type { Color } from '../common';
|
|
3
|
+
export declare const getBaseTheme: () => {
|
|
4
|
+
defaultStatusBarParams: {
|
|
5
|
+
backgroundColor: Color;
|
|
6
|
+
barStyle: StatusBarStyle;
|
|
7
|
+
};
|
|
8
|
+
defaultHomeIndicatorParams: {
|
|
9
|
+
backgroundColor: Color;
|
|
10
|
+
};
|
|
11
|
+
defaultHeaderParams: false;
|
|
12
|
+
defaultBackgroundColor: "white";
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/theme/components/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEvC,eAAO,MAAM,YAAY;;yBAEJ,KAAK;kBACZ,cAAc;;;yBAOP,KAAK;;;;CAczB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const getBaseTheme = () => {
|
|
2
|
+
const defaultStatusBarParams = {
|
|
3
|
+
backgroundColor: 'white',
|
|
4
|
+
barStyle: 'dark-content',
|
|
5
|
+
};
|
|
6
|
+
const defaultHomeIndicatorParams = {
|
|
7
|
+
backgroundColor: 'white',
|
|
8
|
+
};
|
|
9
|
+
const defaultBackgroundColor = 'white';
|
|
10
|
+
const defaultHeaderParams = false;
|
|
11
|
+
return {
|
|
12
|
+
defaultStatusBarParams,
|
|
13
|
+
defaultHomeIndicatorParams,
|
|
14
|
+
defaultHeaderParams,
|
|
15
|
+
defaultBackgroundColor,
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bubble.d.ts","sourceRoot":"","sources":["../../../src/theme/components/bubble.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;CAa1B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Radius } from '../common';
|
|
2
|
+
export type ButtonColor = 'primary' | 'secondary' | 'dark' | 'white' | 'primary01';
|
|
3
|
+
export type ButtonCorner = 'circle' | 'squircle';
|
|
4
|
+
export declare const getButtonTheme: () => {
|
|
5
|
+
defaultTextColors: Record<ButtonColor, keyof import("..").ColorPalette>;
|
|
6
|
+
squircleBorderRadii: Record<ButtonCorner, Radius | "full">;
|
|
7
|
+
loadingConfig: {
|
|
8
|
+
showingDuration: number;
|
|
9
|
+
size: "small";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/theme/components/button.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAS,MAAM,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,MAAM,WAAW,GACnB,SAAS,GACT,WAAW,GACX,MAAM,GACN,OAAO,GACP,WAAW,CAAC;AAChB,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEjD,eAAO,MAAM,cAAc;;;;;;;CAwB1B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const getButtonTheme = () => {
|
|
2
|
+
const defaultTextColors = {
|
|
3
|
+
primary: 'white',
|
|
4
|
+
secondary: 'white',
|
|
5
|
+
dark: 'white',
|
|
6
|
+
white: 'grey900',
|
|
7
|
+
primary01: 'primary',
|
|
8
|
+
};
|
|
9
|
+
const squircleBorderRadii = {
|
|
10
|
+
circle: 'full',
|
|
11
|
+
squircle: 'xlarge',
|
|
12
|
+
};
|
|
13
|
+
const loadingConfig = {
|
|
14
|
+
showingDuration: 300,
|
|
15
|
+
size: 'small',
|
|
16
|
+
};
|
|
17
|
+
return {
|
|
18
|
+
defaultTextColors,
|
|
19
|
+
squircleBorderRadii,
|
|
20
|
+
loadingConfig,
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BorderWidth } from '../common';
|
|
2
|
+
export declare const getCardTheme: () => {
|
|
3
|
+
innerBorderRadiusScales: Record<BorderWidth, number>;
|
|
4
|
+
innerOpacityDuration: number;
|
|
5
|
+
defaultBorderRadiusColor: "white";
|
|
6
|
+
defaultBackgroundColor: "white";
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/theme/components/card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAS,MAAM,WAAW,CAAC;AAEpD,eAAO,MAAM,YAAY;;;;;CAkBxB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const getCardTheme = () => {
|
|
2
|
+
const innerBorderRadiusScales = {
|
|
3
|
+
base: 1,
|
|
4
|
+
medium: 0.95,
|
|
5
|
+
large: 0.85,
|
|
6
|
+
};
|
|
7
|
+
const innerOpacityDuration = 2000;
|
|
8
|
+
const defaultBorderRadiusColor = 'white';
|
|
9
|
+
const defaultBackgroundColor = 'white';
|
|
10
|
+
return {
|
|
11
|
+
innerBorderRadiusScales,
|
|
12
|
+
innerOpacityDuration,
|
|
13
|
+
defaultBorderRadiusColor,
|
|
14
|
+
defaultBackgroundColor,
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type ChartType = 'line';
|
|
2
|
+
export declare const getChartTheme: () => {
|
|
3
|
+
defaultBackgroundColor: "white";
|
|
4
|
+
defaultLabelFontSize: "medium";
|
|
5
|
+
defaultLabelFontWeight: "semi-bold";
|
|
6
|
+
defaultLabelFont: "neutral";
|
|
7
|
+
defaultColor: "primary";
|
|
8
|
+
lineChart: {
|
|
9
|
+
defaultWithDots: boolean;
|
|
10
|
+
defaultWithInnerLines: boolean;
|
|
11
|
+
defaultWithOuterLines: boolean;
|
|
12
|
+
defaultFromZero: boolean;
|
|
13
|
+
defaultBezier: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=chart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../src/theme/components/chart.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B,eAAO,MAAM,aAAa;;;;;;;;;;;;;CAuBzB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const getChartTheme = () => {
|
|
2
|
+
const defaultBackgroundColor = 'white';
|
|
3
|
+
const defaultColor = 'primary';
|
|
4
|
+
const defaultLabelFontSize = 'medium';
|
|
5
|
+
const defaultLabelFontWeight = 'semi-bold';
|
|
6
|
+
const defaultLabelFont = 'neutral';
|
|
7
|
+
const lineChart = {
|
|
8
|
+
defaultWithDots: false,
|
|
9
|
+
defaultWithInnerLines: false,
|
|
10
|
+
defaultWithOuterLines: true,
|
|
11
|
+
defaultFromZero: true,
|
|
12
|
+
defaultBezier: true,
|
|
13
|
+
};
|
|
14
|
+
return {
|
|
15
|
+
defaultBackgroundColor,
|
|
16
|
+
defaultLabelFontSize,
|
|
17
|
+
defaultLabelFontWeight,
|
|
18
|
+
defaultLabelFont,
|
|
19
|
+
defaultColor,
|
|
20
|
+
lineChart,
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const getChatTheme: () => {
|
|
2
|
+
defaultTextFontSize: "xlarge";
|
|
3
|
+
defaultTextFontWeight: "medium";
|
|
4
|
+
defaultTextColor: "grey900";
|
|
5
|
+
defaultTextPaddingHorizontal: "large";
|
|
6
|
+
defaultTextPaddingVertical: "smallMedium";
|
|
7
|
+
defaultMediaScale: number;
|
|
8
|
+
defaultClusterWidth: `${number}%`;
|
|
9
|
+
defaultItemSeparatorSize: "xsmall";
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=chat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../src/theme/components/chat.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;CA4BxB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const getChatTheme = () => {
|
|
2
|
+
const defaultTextFontSize = 'xlarge';
|
|
3
|
+
const defaultTextFontWeight = 'medium';
|
|
4
|
+
const defaultTextColor = 'grey900';
|
|
5
|
+
const defaultTextPaddingHorizontal = 'large';
|
|
6
|
+
const defaultTextPaddingVertical = 'smallMedium';
|
|
7
|
+
const defaultMediaScale = 0.8;
|
|
8
|
+
const defaultClusterWidth = '80%';
|
|
9
|
+
const defaultItemSeparatorSize = 'xsmall';
|
|
10
|
+
return {
|
|
11
|
+
defaultTextFontSize,
|
|
12
|
+
defaultTextFontWeight,
|
|
13
|
+
defaultTextColor,
|
|
14
|
+
defaultTextPaddingHorizontal,
|
|
15
|
+
defaultTextPaddingVertical,
|
|
16
|
+
defaultMediaScale,
|
|
17
|
+
defaultClusterWidth,
|
|
18
|
+
defaultItemSeparatorSize,
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { FontSize, FontWeight, Space } from '../common';
|
|
2
|
+
export type ChipSize = 'small' | 'medium' | 'large';
|
|
3
|
+
export declare const getChipTheme: () => {
|
|
4
|
+
defaultSize: "medium";
|
|
5
|
+
defaultSelected: boolean;
|
|
6
|
+
borderWidth: "medium";
|
|
7
|
+
borderColor: "primary";
|
|
8
|
+
backgroundColors: Record<"selected" | "unselected", keyof import("..").ColorPalette>;
|
|
9
|
+
borderRadius: "5xlarge";
|
|
10
|
+
chipConfigs: Record<ChipSize, {
|
|
11
|
+
paddingVertical: Space;
|
|
12
|
+
paddingHorizontal: Space;
|
|
13
|
+
iconSize: Space;
|
|
14
|
+
fontSize: FontSize;
|
|
15
|
+
fontWeight: FontWeight;
|
|
16
|
+
}>;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../../src/theme/components/chip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,QAAQ,EACR,UAAU,EAEV,KAAK,EACN,MAAM,WAAW,CAAC;AAEnB,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,eAAO,MAAM,YAAY;;;;;;;;yBAeF,KAAK;2BACH,KAAK;kBACd,KAAK;kBACL,QAAQ;oBACN,UAAU;;CAmC3B,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export const getChipTheme = () => {
|
|
2
|
+
const defaultSize = 'medium';
|
|
3
|
+
const defaultSelected = false;
|
|
4
|
+
const borderColor = 'primary';
|
|
5
|
+
const borderWidth = 'medium';
|
|
6
|
+
const backgroundColors = {
|
|
7
|
+
selected: 'primary',
|
|
8
|
+
unselected: 'white',
|
|
9
|
+
};
|
|
10
|
+
const borderRadius = '5xlarge';
|
|
11
|
+
const chipConfigs = {
|
|
12
|
+
small: {
|
|
13
|
+
paddingVertical: 'xsmall',
|
|
14
|
+
paddingHorizontal: 'medium',
|
|
15
|
+
iconSize: 'small',
|
|
16
|
+
fontSize: 'medium',
|
|
17
|
+
fontWeight: 'semi-bold',
|
|
18
|
+
},
|
|
19
|
+
medium: {
|
|
20
|
+
paddingVertical: 'small',
|
|
21
|
+
paddingHorizontal: 'mediumLarge',
|
|
22
|
+
iconSize: 'medium',
|
|
23
|
+
fontSize: 'large',
|
|
24
|
+
fontWeight: 'semi-bold',
|
|
25
|
+
},
|
|
26
|
+
large: {
|
|
27
|
+
paddingVertical: 'smallMedium',
|
|
28
|
+
paddingHorizontal: 'large',
|
|
29
|
+
iconSize: 'large',
|
|
30
|
+
fontSize: 'xlarge',
|
|
31
|
+
fontWeight: 'bold',
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
return {
|
|
35
|
+
defaultSize,
|
|
36
|
+
defaultSelected,
|
|
37
|
+
borderWidth,
|
|
38
|
+
borderColor,
|
|
39
|
+
backgroundColors,
|
|
40
|
+
borderRadius,
|
|
41
|
+
chipConfigs,
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { GlobalTheme } from '../../theme';
|
|
2
|
+
export type MarginSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
|
+
export declare const getDividerTheme: (theme: GlobalTheme) => {
|
|
4
|
+
colors: {
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
space: Record<MarginSize, number>;
|
|
8
|
+
borderWidths: {
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../src/theme/components/divider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE5E,eAAO,MAAM,eAAe,UAAW,WAAW;;;;;;;;CAkBjD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const getDividerTheme = (theme) => {
|
|
2
|
+
const colors = {
|
|
3
|
+
default: theme.colors.grey200,
|
|
4
|
+
};
|
|
5
|
+
const space = {
|
|
6
|
+
xsmall: theme.spaces.xsmall,
|
|
7
|
+
small: theme.spaces.small,
|
|
8
|
+
medium: theme.spaces.medium,
|
|
9
|
+
large: theme.spaces.large,
|
|
10
|
+
xlarge: theme.spaces.xlarge,
|
|
11
|
+
};
|
|
12
|
+
const borderWidths = {
|
|
13
|
+
default: theme.borderWidths.base,
|
|
14
|
+
};
|
|
15
|
+
return { colors, space, borderWidths };
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../src/theme/components/filter.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;CAQ1B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Color, GlobalTheme } from '../common';
|
|
2
|
+
export type HeaderType = 'default' | 'progress';
|
|
3
|
+
export declare const getHeaderTheme: (theme: GlobalTheme) => {
|
|
4
|
+
defaultType: "default";
|
|
5
|
+
defaultBackgroundColor: "white";
|
|
6
|
+
backButton: {
|
|
7
|
+
defaultIcon: "arrow-left-light-outline";
|
|
8
|
+
defaultColor: Color;
|
|
9
|
+
size: number;
|
|
10
|
+
hitSlop: number;
|
|
11
|
+
hapticFeedback: "impact-medium";
|
|
12
|
+
};
|
|
13
|
+
defaultHeader: {
|
|
14
|
+
defaultTitleColor: Color;
|
|
15
|
+
rightButton: {
|
|
16
|
+
defaultColor: Color;
|
|
17
|
+
size: number;
|
|
18
|
+
hitSlop: number;
|
|
19
|
+
hapticFeedback: "impact-medium";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
progressHeader: {
|
|
23
|
+
progress: {
|
|
24
|
+
width: number;
|
|
25
|
+
marginRight: number;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
gap: "medium";
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../src/theme/components/header.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAS,MAAM,WAAW,CAAC;AAE3D,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;AAEhD,eAAO,MAAM,cAAc,UAAW,WAAW;;;;;sBAOpB,KAAK;;;;;;2BAOA,KAAK;;0BAER,KAAK;;;;;;;;;;;;;CAsBnC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { scale } from '../../utils';
|
|
2
|
+
export const getHeaderTheme = (theme) => {
|
|
3
|
+
const defaultBackgroundColor = 'white';
|
|
4
|
+
const defaultType = 'default';
|
|
5
|
+
const gap = 'medium';
|
|
6
|
+
const backButton = {
|
|
7
|
+
defaultIcon: 'arrow-left-light-outline',
|
|
8
|
+
defaultColor: 'black',
|
|
9
|
+
size: scale(28),
|
|
10
|
+
hitSlop: theme.spaces.small,
|
|
11
|
+
hapticFeedback: 'impact-medium',
|
|
12
|
+
};
|
|
13
|
+
const defaultHeader = {
|
|
14
|
+
defaultTitleColor: 'black',
|
|
15
|
+
rightButton: {
|
|
16
|
+
defaultColor: 'black',
|
|
17
|
+
size: scale(28),
|
|
18
|
+
hitSlop: theme.spaces.small,
|
|
19
|
+
hapticFeedback: 'impact-medium',
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
const progressHeader = {
|
|
23
|
+
progress: {
|
|
24
|
+
width: scale(216),
|
|
25
|
+
marginRight: scale(44),
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
return {
|
|
29
|
+
defaultType,
|
|
30
|
+
defaultBackgroundColor,
|
|
31
|
+
backButton,
|
|
32
|
+
defaultHeader,
|
|
33
|
+
progressHeader,
|
|
34
|
+
gap,
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/theme/components/image.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;CAMzB,CAAC"}
|