@jamadd/react-native-template-ui 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +272 -0
- package/lib/commonjs/components/btn/AnimatedPressable.js +14 -0
- package/lib/commonjs/components/btn/AnimatedPressable.js.map +1 -0
- package/lib/commonjs/components/btn/AnimatedThemedPressable.js +36 -0
- package/lib/commonjs/components/btn/AnimatedThemedPressable.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedBtn.js +97 -0
- package/lib/commonjs/components/btn/ThemedBtn.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedIconBtn.js +81 -0
- package/lib/commonjs/components/btn/ThemedIconBtn.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js +146 -0
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedPressable.js +35 -0
- package/lib/commonjs/components/btn/ThemedPressable.js.map +1 -0
- package/lib/commonjs/components/icon/ThemedIcon.js +71 -0
- package/lib/commonjs/components/icon/ThemedIcon.js.map +1 -0
- package/lib/commonjs/components/list/List.js +143 -0
- package/lib/commonjs/components/list/List.js.map +1 -0
- package/lib/commonjs/components/loading/ThemedLoading.js +64 -0
- package/lib/commonjs/components/loading/ThemedLoading.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js +80 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js +34 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js +119 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js +84 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js +57 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js +82 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js +67 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js +92 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js +89 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js +64 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js +167 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/Alert.js +160 -0
- package/lib/commonjs/components/overlay/alert/Alert.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertBtn.js +82 -0
- package/lib/commonjs/components/overlay/alert/AlertBtn.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertBtns.js +71 -0
- package/lib/commonjs/components/overlay/alert/AlertBtns.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertContent.js +61 -0
- package/lib/commonjs/components/overlay/alert/AlertContent.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertWrap.js +157 -0
- package/lib/commonjs/components/overlay/alert/AlertWrap.js.map +1 -0
- package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js +122 -0
- package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js.map +1 -0
- package/lib/commonjs/components/overlay/modal/ThemedModal.js +94 -0
- package/lib/commonjs/components/overlay/modal/ThemedModal.js.map +1 -0
- package/lib/commonjs/components/overlay/toast/ThemedToast.js +362 -0
- package/lib/commonjs/components/overlay/toast/ThemedToast.js.map +1 -0
- package/lib/commonjs/components/provider/GestureProvider.js +25 -0
- package/lib/commonjs/components/provider/GestureProvider.js.map +1 -0
- package/lib/commonjs/components/provider/InsetsProvider.js +25 -0
- package/lib/commonjs/components/provider/InsetsProvider.js.map +1 -0
- package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js +38 -0
- package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js.map +1 -0
- package/lib/commonjs/components/provider/ThemeProvider.js +25 -0
- package/lib/commonjs/components/provider/ThemeProvider.js.map +1 -0
- package/lib/commonjs/components/separator/ThemedSeparator.js +66 -0
- package/lib/commonjs/components/separator/ThemedSeparator.js.map +1 -0
- package/lib/commonjs/components/switch/ThemedSwitch.js +114 -0
- package/lib/commonjs/components/switch/ThemedSwitch.js.map +1 -0
- package/lib/commonjs/components/text/Text.js +12 -0
- package/lib/commonjs/components/text/Text.js.map +1 -0
- package/lib/commonjs/components/text/ThemedIconText.js +143 -0
- package/lib/commonjs/components/text/ThemedIconText.js.map +1 -0
- package/lib/commonjs/components/text/ThemedText.js +26 -0
- package/lib/commonjs/components/text/ThemedText.js.map +1 -0
- package/lib/commonjs/components/view/AnimatedBox.js +14 -0
- package/lib/commonjs/components/view/AnimatedBox.js.map +1 -0
- package/lib/commonjs/components/view/AnimatedThemedView.js +45 -0
- package/lib/commonjs/components/view/AnimatedThemedView.js.map +1 -0
- package/lib/commonjs/components/view/Box.js +12 -0
- package/lib/commonjs/components/view/Box.js.map +1 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.js +124 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.js.map +1 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.web.js +126 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.web.js.map +1 -0
- package/lib/commonjs/components/view/ThemedScrollView.js +141 -0
- package/lib/commonjs/components/view/ThemedScrollView.js.map +1 -0
- package/lib/commonjs/components/view/ThemedView.js +45 -0
- package/lib/commonjs/components/view/ThemedView.js.map +1 -0
- package/lib/commonjs/hooks/btn.js +158 -0
- package/lib/commonjs/hooks/btn.js.map +1 -0
- package/lib/commonjs/hooks/list.js +66 -0
- package/lib/commonjs/hooks/list.js.map +1 -0
- package/lib/commonjs/hooks/overlay.js +656 -0
- package/lib/commonjs/hooks/overlay.js.map +1 -0
- package/lib/commonjs/hooks/reanimated.js +11 -0
- package/lib/commonjs/hooks/reanimated.js.map +1 -0
- package/lib/commonjs/hooks/separator.js +22 -0
- package/lib/commonjs/hooks/separator.js.map +1 -0
- package/lib/commonjs/hooks/style.js +92 -0
- package/lib/commonjs/hooks/style.js.map +1 -0
- package/lib/commonjs/hooks/switch.js +209 -0
- package/lib/commonjs/hooks/switch.js.map +1 -0
- package/lib/commonjs/hooks/theme.js +71 -0
- package/lib/commonjs/hooks/theme.js.map +1 -0
- package/lib/commonjs/hooks/view.js +11 -0
- package/lib/commonjs/hooks/view.js.map +1 -0
- package/lib/commonjs/index.js +533 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/test/utils/const.js +19 -0
- package/lib/commonjs/test/utils/const.js.map +1 -0
- package/lib/commonjs/test/utils/func.js +60 -0
- package/lib/commonjs/test/utils/func.js.map +1 -0
- package/lib/commonjs/test/utils/testingLib.js +38 -0
- package/lib/commonjs/test/utils/testingLib.js.map +1 -0
- package/lib/commonjs/types/btn.js +6 -0
- package/lib/commonjs/types/btn.js.map +1 -0
- package/lib/commonjs/types/global.d.js +6 -0
- package/lib/commonjs/types/global.d.js.map +1 -0
- package/lib/commonjs/types/icon.js +6 -0
- package/lib/commonjs/types/icon.js.map +1 -0
- package/lib/commonjs/types/list.js +6 -0
- package/lib/commonjs/types/list.js.map +1 -0
- package/lib/commonjs/types/loading.js +6 -0
- package/lib/commonjs/types/loading.js.map +1 -0
- package/lib/commonjs/types/overlay.js +6 -0
- package/lib/commonjs/types/overlay.js.map +1 -0
- package/lib/commonjs/types/provider.js +6 -0
- package/lib/commonjs/types/provider.js.map +1 -0
- package/lib/commonjs/types/react.js +6 -0
- package/lib/commonjs/types/react.js.map +1 -0
- package/lib/commonjs/types/reanimated.js +6 -0
- package/lib/commonjs/types/reanimated.js.map +1 -0
- package/lib/commonjs/types/separator.js +6 -0
- package/lib/commonjs/types/separator.js.map +1 -0
- package/lib/commonjs/types/style.js +6 -0
- package/lib/commonjs/types/style.js.map +1 -0
- package/lib/commonjs/types/switch.js +6 -0
- package/lib/commonjs/types/switch.js.map +1 -0
- package/lib/commonjs/types/text.js +6 -0
- package/lib/commonjs/types/text.js.map +1 -0
- package/lib/commonjs/types/theme.js +6 -0
- package/lib/commonjs/types/theme.js.map +1 -0
- package/lib/commonjs/types/view.js +6 -0
- package/lib/commonjs/types/view.js.map +1 -0
- package/lib/commonjs/utils/btn/const.js +17 -0
- package/lib/commonjs/utils/btn/const.js.map +1 -0
- package/lib/commonjs/utils/overlay/const.js +73 -0
- package/lib/commonjs/utils/overlay/const.js.map +1 -0
- package/lib/commonjs/utils/overlay/func.js +63 -0
- package/lib/commonjs/utils/overlay/func.js.map +1 -0
- package/lib/commonjs/utils/reanimated/func.js +77 -0
- package/lib/commonjs/utils/reanimated/func.js.map +1 -0
- package/lib/commonjs/utils/style/const.js +12 -0
- package/lib/commonjs/utils/style/const.js.map +1 -0
- package/lib/commonjs/utils/style/func.js +35 -0
- package/lib/commonjs/utils/style/func.js.map +1 -0
- package/lib/commonjs/utils/switch/const.js +9 -0
- package/lib/commonjs/utils/switch/const.js.map +1 -0
- package/lib/commonjs/utils/theme/const.js +189 -0
- package/lib/commonjs/utils/theme/const.js.map +1 -0
- package/lib/commonjs/utils/theme/restyle.js +22 -0
- package/lib/commonjs/utils/theme/restyle.js.map +1 -0
- package/lib/module/components/btn/AnimatedPressable.js +8 -0
- package/lib/module/components/btn/AnimatedPressable.js.map +1 -0
- package/lib/module/components/btn/AnimatedThemedPressable.js +31 -0
- package/lib/module/components/btn/AnimatedThemedPressable.js.map +1 -0
- package/lib/module/components/btn/ThemedBtn.js +92 -0
- package/lib/module/components/btn/ThemedBtn.js.map +1 -0
- package/lib/module/components/btn/ThemedIconBtn.js +76 -0
- package/lib/module/components/btn/ThemedIconBtn.js.map +1 -0
- package/lib/module/components/btn/ThemedIconTextBtn.js +141 -0
- package/lib/module/components/btn/ThemedIconTextBtn.js.map +1 -0
- package/lib/module/components/btn/ThemedPressable.js +31 -0
- package/lib/module/components/btn/ThemedPressable.js.map +1 -0
- package/lib/module/components/icon/ThemedIcon.js +66 -0
- package/lib/module/components/icon/ThemedIcon.js.map +1 -0
- package/lib/module/components/list/List.js +139 -0
- package/lib/module/components/list/List.js.map +1 -0
- package/lib/module/components/loading/ThemedLoading.js +60 -0
- package/lib/module/components/loading/ThemedLoading.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheet.js +76 -0
- package/lib/module/components/overlay/actionSheet/ActionSheet.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +29 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +113 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +79 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +52 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js +76 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js +61 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js +86 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +83 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +58 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +162 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -0
- package/lib/module/components/overlay/alert/Alert.js +155 -0
- package/lib/module/components/overlay/alert/Alert.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertBtn.js +77 -0
- package/lib/module/components/overlay/alert/AlertBtn.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertBtns.js +66 -0
- package/lib/module/components/overlay/alert/AlertBtns.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertContent.js +56 -0
- package/lib/module/components/overlay/alert/AlertContent.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertWrap.js +152 -0
- package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -0
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js +117 -0
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js.map +1 -0
- package/lib/module/components/overlay/modal/ThemedModal.js +89 -0
- package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -0
- package/lib/module/components/overlay/toast/ThemedToast.js +358 -0
- package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -0
- package/lib/module/components/provider/GestureProvider.js +21 -0
- package/lib/module/components/provider/GestureProvider.js.map +1 -0
- package/lib/module/components/provider/InsetsProvider.js +21 -0
- package/lib/module/components/provider/InsetsProvider.js.map +1 -0
- package/lib/module/components/provider/ReactNativeTemplateProviders.js +33 -0
- package/lib/module/components/provider/ReactNativeTemplateProviders.js.map +1 -0
- package/lib/module/components/provider/ThemeProvider.js +21 -0
- package/lib/module/components/provider/ThemeProvider.js.map +1 -0
- package/lib/module/components/separator/ThemedSeparator.js +61 -0
- package/lib/module/components/separator/ThemedSeparator.js.map +1 -0
- package/lib/module/components/switch/ThemedSwitch.js +109 -0
- package/lib/module/components/switch/ThemedSwitch.js.map +1 -0
- package/lib/module/components/text/Text.js +7 -0
- package/lib/module/components/text/Text.js.map +1 -0
- package/lib/module/components/text/ThemedIconText.js +138 -0
- package/lib/module/components/text/ThemedIconText.js.map +1 -0
- package/lib/module/components/text/ThemedText.js +21 -0
- package/lib/module/components/text/ThemedText.js.map +1 -0
- package/lib/module/components/view/AnimatedBox.js +8 -0
- package/lib/module/components/view/AnimatedBox.js.map +1 -0
- package/lib/module/components/view/AnimatedThemedView.js +40 -0
- package/lib/module/components/view/AnimatedThemedView.js.map +1 -0
- package/lib/module/components/view/Box.js +7 -0
- package/lib/module/components/view/Box.js.map +1 -0
- package/lib/module/components/view/ThemedScreenWrap.js +119 -0
- package/lib/module/components/view/ThemedScreenWrap.js.map +1 -0
- package/lib/module/components/view/ThemedScreenWrap.web.js +121 -0
- package/lib/module/components/view/ThemedScreenWrap.web.js.map +1 -0
- package/lib/module/components/view/ThemedScrollView.js +137 -0
- package/lib/module/components/view/ThemedScrollView.js.map +1 -0
- package/lib/module/components/view/ThemedView.js +40 -0
- package/lib/module/components/view/ThemedView.js.map +1 -0
- package/lib/module/hooks/btn.js +153 -0
- package/lib/module/hooks/btn.js.map +1 -0
- package/lib/module/hooks/list.js +61 -0
- package/lib/module/hooks/list.js.map +1 -0
- package/lib/module/hooks/overlay.js +641 -0
- package/lib/module/hooks/overlay.js.map +1 -0
- package/lib/module/hooks/reanimated.js +7 -0
- package/lib/module/hooks/reanimated.js.map +1 -0
- package/lib/module/hooks/separator.js +19 -0
- package/lib/module/hooks/separator.js.map +1 -0
- package/lib/module/hooks/style.js +82 -0
- package/lib/module/hooks/style.js.map +1 -0
- package/lib/module/hooks/switch.js +206 -0
- package/lib/module/hooks/switch.js.map +1 -0
- package/lib/module/hooks/theme.js +58 -0
- package/lib/module/hooks/theme.js.map +1 -0
- package/lib/module/hooks/view.js +7 -0
- package/lib/module/hooks/view.js.map +1 -0
- package/lib/module/index.js +55 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/test/utils/const.js +13 -0
- package/lib/module/test/utils/const.js.map +1 -0
- package/lib/module/test/utils/func.js +50 -0
- package/lib/module/test/utils/func.js.map +1 -0
- package/lib/module/test/utils/testingLib.js +19 -0
- package/lib/module/test/utils/testingLib.js.map +1 -0
- package/lib/module/types/btn.js +4 -0
- package/lib/module/types/btn.js.map +1 -0
- package/lib/module/types/global.d.js +4 -0
- package/lib/module/types/global.d.js.map +1 -0
- package/lib/module/types/icon.js +4 -0
- package/lib/module/types/icon.js.map +1 -0
- package/lib/module/types/list.js +4 -0
- package/lib/module/types/list.js.map +1 -0
- package/lib/module/types/loading.js +4 -0
- package/lib/module/types/loading.js.map +1 -0
- package/lib/module/types/overlay.js +4 -0
- package/lib/module/types/overlay.js.map +1 -0
- package/lib/module/types/provider.js +4 -0
- package/lib/module/types/provider.js.map +1 -0
- package/lib/module/types/react.js +4 -0
- package/lib/module/types/react.js.map +1 -0
- package/lib/module/types/reanimated.js +4 -0
- package/lib/module/types/reanimated.js.map +1 -0
- package/lib/module/types/separator.js +4 -0
- package/lib/module/types/separator.js.map +1 -0
- package/lib/module/types/style.js +4 -0
- package/lib/module/types/style.js.map +1 -0
- package/lib/module/types/switch.js +4 -0
- package/lib/module/types/switch.js.map +1 -0
- package/lib/module/types/text.js +4 -0
- package/lib/module/types/text.js.map +1 -0
- package/lib/module/types/theme.js +4 -0
- package/lib/module/types/theme.js.map +1 -0
- package/lib/module/types/view.js +4 -0
- package/lib/module/types/view.js.map +1 -0
- package/lib/module/utils/btn/const.js +13 -0
- package/lib/module/utils/btn/const.js.map +1 -0
- package/lib/module/utils/overlay/const.js +72 -0
- package/lib/module/utils/overlay/const.js.map +1 -0
- package/lib/module/utils/overlay/func.js +52 -0
- package/lib/module/utils/overlay/func.js.map +1 -0
- package/lib/module/utils/reanimated/func.js +73 -0
- package/lib/module/utils/reanimated/func.js.map +1 -0
- package/lib/module/utils/style/const.js +8 -0
- package/lib/module/utils/style/const.js.map +1 -0
- package/lib/module/utils/style/func.js +25 -0
- package/lib/module/utils/style/func.js.map +1 -0
- package/lib/module/utils/switch/const.js +5 -0
- package/lib/module/utils/switch/const.js.map +1 -0
- package/lib/module/utils/theme/const.js +192 -0
- package/lib/module/utils/theme/const.js.map +1 -0
- package/lib/module/utils/theme/restyle.js +17 -0
- package/lib/module/utils/theme/restyle.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedPressable.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedPressable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedThemedPressable.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedThemedPressable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconTextBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconTextBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedPressable.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedPressable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/icon/ThemedIcon.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/icon/ThemedIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list/List.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/list/List.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/loading/ThemedLoading.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/loading/ThemedLoading.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheet.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptList.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOpts.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/Alert.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/Alert.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertContent.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertWrap.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertWrap.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedLoadingModal.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedModal.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/toast/ThemedToast.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/toast/ThemedToast.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/GestureProvider.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/GestureProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/InsetsProvider.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/InsetsProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/ReactNativeTemplateProviders.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/ThemeProvider.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/separator/ThemedSeparator.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/separator/ThemedSeparator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/switch/ThemedSwitch.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/switch/ThemedSwitch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/Text.d.ts +1951 -0
- package/lib/typescript/commonjs/src/components/text/Text.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/ThemedIconText.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/text/ThemedIconText.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/ThemedText.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/text/ThemedText.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts +1009 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedThemedView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedThemedView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/Box.d.ts +2017 -0
- package/lib/typescript/commonjs/src/components/view/Box.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.web.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScrollView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScrollView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/btn.d.ts +1647 -0
- package/lib/typescript/commonjs/src/hooks/btn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/list.d.ts +4 -0
- package/lib/typescript/commonjs/src/hooks/list.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/overlay.d.ts +16 -0
- package/lib/typescript/commonjs/src/hooks/overlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/reanimated.d.ts +3 -0
- package/lib/typescript/commonjs/src/hooks/reanimated.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/separator.d.ts +5 -0
- package/lib/typescript/commonjs/src/hooks/separator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/style.d.ts +11 -0
- package/lib/typescript/commonjs/src/hooks/style.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/switch.d.ts +2 -0
- package/lib/typescript/commonjs/src/hooks/switch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/theme.d.ts +217 -0
- package/lib/typescript/commonjs/src/hooks/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/view.d.ts +3 -0
- package/lib/typescript/commonjs/src/hooks/view.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +53 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/test/utils/const.d.ts +4 -0
- package/lib/typescript/commonjs/src/test/utils/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/test/utils/func.d.ts +106 -0
- package/lib/typescript/commonjs/src/test/utils/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/test/utils/testingLib.d.ts +6 -0
- package/lib/typescript/commonjs/src/test/utils/testingLib.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/btn.d.ts +24 -0
- package/lib/typescript/commonjs/src/types/btn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/icon.d.ts +10 -0
- package/lib/typescript/commonjs/src/types/icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/list.d.ts +29 -0
- package/lib/typescript/commonjs/src/types/list.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/loading.d.ts +12 -0
- package/lib/typescript/commonjs/src/types/loading.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/overlay.d.ts +89 -0
- package/lib/typescript/commonjs/src/types/overlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/provider.d.ts +6 -0
- package/lib/typescript/commonjs/src/types/provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/react.d.ts +6 -0
- package/lib/typescript/commonjs/src/types/react.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/reanimated.d.ts +5 -0
- package/lib/typescript/commonjs/src/types/reanimated.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/separator.d.ts +7 -0
- package/lib/typescript/commonjs/src/types/separator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/style.d.ts +18 -0
- package/lib/typescript/commonjs/src/types/style.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/switch.d.ts +27 -0
- package/lib/typescript/commonjs/src/types/switch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/text.d.ts +15 -0
- package/lib/typescript/commonjs/src/types/text.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/theme.d.ts +15 -0
- package/lib/typescript/commonjs/src/types/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/view.d.ts +19 -0
- package/lib/typescript/commonjs/src/types/view.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/btn/const.d.ts +9 -0
- package/lib/typescript/commonjs/src/utils/btn/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/overlay/const.d.ts +24 -0
- package/lib/typescript/commonjs/src/utils/overlay/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/overlay/func.d.ts +11 -0
- package/lib/typescript/commonjs/src/utils/overlay/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/reanimated/func.d.ts +2 -0
- package/lib/typescript/commonjs/src/utils/reanimated/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/style/const.d.ts +5 -0
- package/lib/typescript/commonjs/src/utils/style/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/style/func.d.ts +9 -0
- package/lib/typescript/commonjs/src/utils/style/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/switch/const.d.ts +2 -0
- package/lib/typescript/commonjs/src/utils/switch/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts +120 -0
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts +1184 -0
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/components/btn/AnimatedPressable.d.ts +3 -0
- package/lib/typescript/module/src/components/btn/AnimatedPressable.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/AnimatedThemedPressable.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/AnimatedThemedPressable.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedIconBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedIconBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedIconTextBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedIconTextBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedPressable.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedPressable.d.ts.map +1 -0
- package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts +5 -0
- package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list/List.d.ts +4 -0
- package/lib/typescript/module/src/components/list/List.d.ts.map +1 -0
- package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts +5 -0
- package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts +12 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/GestureProvider.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/GestureProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts +5 -0
- package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts.map +1 -0
- package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts +5 -0
- package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/Text.d.ts +1951 -0
- package/lib/typescript/module/src/components/text/Text.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/ThemedIconText.d.ts +5 -0
- package/lib/typescript/module/src/components/text/ThemedIconText.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/ThemedText.d.ts +5 -0
- package/lib/typescript/module/src/components/text/ThemedText.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts +1009 -0
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts +5 -0
- package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/Box.d.ts +2017 -0
- package/lib/typescript/module/src/components/view/Box.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedView.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedView.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/btn.d.ts +1647 -0
- package/lib/typescript/module/src/hooks/btn.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/list.d.ts +4 -0
- package/lib/typescript/module/src/hooks/list.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/overlay.d.ts +16 -0
- package/lib/typescript/module/src/hooks/overlay.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/reanimated.d.ts +3 -0
- package/lib/typescript/module/src/hooks/reanimated.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/separator.d.ts +5 -0
- package/lib/typescript/module/src/hooks/separator.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/style.d.ts +11 -0
- package/lib/typescript/module/src/hooks/style.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/switch.d.ts +2 -0
- package/lib/typescript/module/src/hooks/switch.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/theme.d.ts +217 -0
- package/lib/typescript/module/src/hooks/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/view.d.ts +3 -0
- package/lib/typescript/module/src/hooks/view.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +53 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/test/utils/const.d.ts +4 -0
- package/lib/typescript/module/src/test/utils/const.d.ts.map +1 -0
- package/lib/typescript/module/src/test/utils/func.d.ts +106 -0
- package/lib/typescript/module/src/test/utils/func.d.ts.map +1 -0
- package/lib/typescript/module/src/test/utils/testingLib.d.ts +6 -0
- package/lib/typescript/module/src/test/utils/testingLib.d.ts.map +1 -0
- package/lib/typescript/module/src/types/btn.d.ts +24 -0
- package/lib/typescript/module/src/types/btn.d.ts.map +1 -0
- package/lib/typescript/module/src/types/icon.d.ts +10 -0
- package/lib/typescript/module/src/types/icon.d.ts.map +1 -0
- package/lib/typescript/module/src/types/list.d.ts +29 -0
- package/lib/typescript/module/src/types/list.d.ts.map +1 -0
- package/lib/typescript/module/src/types/loading.d.ts +12 -0
- package/lib/typescript/module/src/types/loading.d.ts.map +1 -0
- package/lib/typescript/module/src/types/overlay.d.ts +89 -0
- package/lib/typescript/module/src/types/overlay.d.ts.map +1 -0
- package/lib/typescript/module/src/types/provider.d.ts +6 -0
- package/lib/typescript/module/src/types/provider.d.ts.map +1 -0
- package/lib/typescript/module/src/types/react.d.ts +6 -0
- package/lib/typescript/module/src/types/react.d.ts.map +1 -0
- package/lib/typescript/module/src/types/reanimated.d.ts +5 -0
- package/lib/typescript/module/src/types/reanimated.d.ts.map +1 -0
- package/lib/typescript/module/src/types/separator.d.ts +7 -0
- package/lib/typescript/module/src/types/separator.d.ts.map +1 -0
- package/lib/typescript/module/src/types/style.d.ts +18 -0
- package/lib/typescript/module/src/types/style.d.ts.map +1 -0
- package/lib/typescript/module/src/types/switch.d.ts +27 -0
- package/lib/typescript/module/src/types/switch.d.ts.map +1 -0
- package/lib/typescript/module/src/types/text.d.ts +15 -0
- package/lib/typescript/module/src/types/text.d.ts.map +1 -0
- package/lib/typescript/module/src/types/theme.d.ts +15 -0
- package/lib/typescript/module/src/types/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/types/view.d.ts +19 -0
- package/lib/typescript/module/src/types/view.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/btn/const.d.ts +9 -0
- package/lib/typescript/module/src/utils/btn/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/overlay/const.d.ts +24 -0
- package/lib/typescript/module/src/utils/overlay/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/overlay/func.d.ts +11 -0
- package/lib/typescript/module/src/utils/overlay/func.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/reanimated/func.d.ts +2 -0
- package/lib/typescript/module/src/utils/reanimated/func.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/style/const.d.ts +5 -0
- package/lib/typescript/module/src/utils/style/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/style/func.d.ts +9 -0
- package/lib/typescript/module/src/utils/style/func.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/switch/const.d.ts +2 -0
- package/lib/typescript/module/src/utils/switch/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/theme/const.d.ts +120 -0
- package/lib/typescript/module/src/utils/theme/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/theme/restyle.d.ts +1184 -0
- package/lib/typescript/module/src/utils/theme/restyle.d.ts.map +1 -0
- package/package.json +214 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/provider.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/react.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/reanimated.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/separator.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/style.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/switch.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/text.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/theme.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/view.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export let BtnScaleRatio = /*#__PURE__*/function (BtnScaleRatio) {
|
|
4
|
+
BtnScaleRatio[BtnScaleRatio["Square"] = 0.9] = "Square";
|
|
5
|
+
BtnScaleRatio[BtnScaleRatio["Rectangle"] = 0.98] = "Rectangle";
|
|
6
|
+
return BtnScaleRatio;
|
|
7
|
+
}({});
|
|
8
|
+
export let OnPressDelayType = /*#__PURE__*/function (OnPressDelayType) {
|
|
9
|
+
OnPressDelayType[OnPressDelayType["Throttle"] = 0] = "Throttle";
|
|
10
|
+
OnPressDelayType[OnPressDelayType["Debounce"] = 1] = "Debounce";
|
|
11
|
+
return OnPressDelayType;
|
|
12
|
+
}({});
|
|
13
|
+
//# sourceMappingURL=const.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BtnScaleRatio","OnPressDelayType"],"sourceRoot":"../../../../src","sources":["utils/btn/const.ts"],"mappings":";;AAAA,WAAYA,aAAa,0BAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAKzB,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB,CAAhBA,gBAAgB;EAAhBA,gBAAgB,CAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { IconSize } from '@jamadd/react-native-template-icons';
|
|
4
|
+
import { createContext } from 'react';
|
|
5
|
+
/** @internal */
|
|
6
|
+
export const overlayMaxWidthPercent = '80%';
|
|
7
|
+
export let OverlayDismissResultType = /*#__PURE__*/function (OverlayDismissResultType) {
|
|
8
|
+
OverlayDismissResultType["Toast"] = "toast";
|
|
9
|
+
OverlayDismissResultType["Alert"] = "alert";
|
|
10
|
+
OverlayDismissResultType["ActionSheet"] = "actionSheet";
|
|
11
|
+
return OverlayDismissResultType;
|
|
12
|
+
}({});
|
|
13
|
+
export const overlayDismissResultDefaultText = 'cancelByUser';
|
|
14
|
+
export let ToastType = /*#__PURE__*/function (ToastType) {
|
|
15
|
+
ToastType["Top"] = "top";
|
|
16
|
+
ToastType["TopLeft"] = "topLeft";
|
|
17
|
+
ToastType["TopRight"] = "topRight";
|
|
18
|
+
ToastType["Bottom"] = "bottom";
|
|
19
|
+
ToastType["BottomLeft"] = "bottomLeft";
|
|
20
|
+
ToastType["BottomRight"] = "bottomRight";
|
|
21
|
+
return ToastType;
|
|
22
|
+
}({});
|
|
23
|
+
export let ToastDuration = /*#__PURE__*/function (ToastDuration) {
|
|
24
|
+
ToastDuration[ToastDuration["Short"] = 3000] = "Short";
|
|
25
|
+
ToastDuration[ToastDuration["Long"] = 5000] = "Long";
|
|
26
|
+
return ToastDuration;
|
|
27
|
+
}({});
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const AlertContext = /*#__PURE__*/createContext({});
|
|
31
|
+
export let AlertBtnType = /*#__PURE__*/function (AlertBtnType) {
|
|
32
|
+
AlertBtnType["Primary"] = "primary";
|
|
33
|
+
AlertBtnType["Secondary"] = "secondary";
|
|
34
|
+
AlertBtnType["Destructive"] = "destructive";
|
|
35
|
+
return AlertBtnType;
|
|
36
|
+
}({});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const ActionSheetContext = /*#__PURE__*/createContext({});
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const actionSheetOpenDuration = 300;
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const actionSheetSnapDuration = 300;
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const actionSheetDismissDuration = 150;
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const actionSheetMaxHeightRatio = 0.6;
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export let ActionSheetExpandableHeightRatio = /*#__PURE__*/function (ActionSheetExpandableHeightRatio) {
|
|
55
|
+
ActionSheetExpandableHeightRatio[ActionSheetExpandableHeightRatio["Top"] = 0.9] = "Top";
|
|
56
|
+
ActionSheetExpandableHeightRatio[ActionSheetExpandableHeightRatio["Middle"] = 0.6] = "Middle";
|
|
57
|
+
ActionSheetExpandableHeightRatio[ActionSheetExpandableHeightRatio["Bottom"] = 0.3] = "Bottom";
|
|
58
|
+
return ActionSheetExpandableHeightRatio;
|
|
59
|
+
}({});
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const actionSheetHeaderIconSize = IconSize.M;
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export const actionSheetHeaderPadding = 'm';
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const actionSheetOptListItemPadding = 'm';
|
|
69
|
+
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const actionSheetOptListItemTextVariant = 'textM';
|
|
72
|
+
//# sourceMappingURL=const.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["IconSize","createContext","overlayMaxWidthPercent","OverlayDismissResultType","overlayDismissResultDefaultText","ToastType","ToastDuration","AlertContext","AlertBtnType","ActionSheetContext","actionSheetOpenDuration","actionSheetSnapDuration","actionSheetDismissDuration","actionSheetMaxHeightRatio","ActionSheetExpandableHeightRatio","actionSheetHeaderIconSize","M","actionSheetHeaderPadding","actionSheetOptListItemPadding","actionSheetOptListItemTextVariant"],"sourceRoot":"../../../../src","sources":["utils/overlay/const.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,qCAAqC;AAC9D,SAASC,aAAa,QAAQ,OAAO;AAOrC;AACA,OAAO,MAAMC,sBAAsB,GAA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}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { use as reactUse } from 'react';
|
|
4
|
+
import { getWindowDimensionsHeight } from "../style/func.js";
|
|
5
|
+
import { ActionSheetContext, ActionSheetExpandableHeightRatio, actionSheetMaxHeightRatio, AlertContext } from "./const.js";
|
|
6
|
+
export function getAlertContext() {
|
|
7
|
+
return reactUse(AlertContext);
|
|
8
|
+
}
|
|
9
|
+
function getActionSheetExpandableHeightByRatio(ratio) {
|
|
10
|
+
return getWindowDimensionsHeight() * ratio;
|
|
11
|
+
}
|
|
12
|
+
export function getActionSheetMaxHeight(expandable = false) {
|
|
13
|
+
return expandable ? getActionSheetExpandableHeightByRatio(ActionSheetExpandableHeightRatio.Top) : getWindowDimensionsHeight() * actionSheetMaxHeightRatio;
|
|
14
|
+
}
|
|
15
|
+
export function getActionSheetHeight(height) {
|
|
16
|
+
return Math.min(height, getActionSheetMaxHeight());
|
|
17
|
+
}
|
|
18
|
+
export function getActionSheetExpandableHeight() {
|
|
19
|
+
return getActionSheetMaxHeight(true);
|
|
20
|
+
}
|
|
21
|
+
export function getActionSheetExpandableInitHeight() {
|
|
22
|
+
return getActionSheetExpandableHeightByRatio(ActionSheetExpandableHeightRatio.Middle);
|
|
23
|
+
}
|
|
24
|
+
function getActionSheetDismiss(height, currentHeight) {
|
|
25
|
+
return height / 2 < currentHeight;
|
|
26
|
+
}
|
|
27
|
+
function getActionSheetExpandableDismiss(currentHight) {
|
|
28
|
+
return currentHight < getActionSheetExpandableHeightByRatio(ActionSheetExpandableHeightRatio.Bottom) / 2;
|
|
29
|
+
}
|
|
30
|
+
export function getActionSheetSnapHeight(height, currentHeight, forceDismiss) {
|
|
31
|
+
return forceDismiss || getActionSheetDismiss(height, currentHeight) ? height : 0;
|
|
32
|
+
}
|
|
33
|
+
export function getActionSheetExpandableSnapHeight(currentHight, forceDismiss) {
|
|
34
|
+
if (forceDismiss || getActionSheetExpandableDismiss(currentHight)) {
|
|
35
|
+
return 0;
|
|
36
|
+
}
|
|
37
|
+
const height = getWindowDimensionsHeight();
|
|
38
|
+
const topHeight = getActionSheetExpandableHeightByRatio(ActionSheetExpandableHeightRatio.Top);
|
|
39
|
+
const middleHeight = getActionSheetExpandableHeightByRatio(ActionSheetExpandableHeightRatio.Middle);
|
|
40
|
+
const bottomHeight = getActionSheetExpandableHeightByRatio(ActionSheetExpandableHeightRatio.Bottom);
|
|
41
|
+
if (currentHight > middleHeight) {
|
|
42
|
+
return currentHight > height * (ActionSheetExpandableHeightRatio.Top + ActionSheetExpandableHeightRatio.Middle) / 2 ? topHeight : middleHeight;
|
|
43
|
+
} else if (currentHight > bottomHeight) {
|
|
44
|
+
return currentHight > height * (ActionSheetExpandableHeightRatio.Middle + ActionSheetExpandableHeightRatio.Bottom) / 2 ? middleHeight : bottomHeight;
|
|
45
|
+
} else {
|
|
46
|
+
return bottomHeight;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export function getActionSheetContext() {
|
|
50
|
+
return reactUse(ActionSheetContext);
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=func.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["use","reactUse","getWindowDimensionsHeight","ActionSheetContext","ActionSheetExpandableHeightRatio","actionSheetMaxHeightRatio","AlertContext","getAlertContext","getActionSheetExpandableHeightByRatio","ratio","getActionSheetMaxHeight","expandable","Top","getActionSheetHeight","height","Math","min","getActionSheetExpandableHeight","getActionSheetExpandableInitHeight","Middle","getActionSheetDismiss","currentHeight","getActionSheetExpandableDismiss","currentHight","Bottom","getActionSheetSnapHeight","forceDismiss","getActionSheetExpandableSnapHeight","topHeight","middleHeight","bottomHeight","getActionSheetContext"],"sourceRoot":"../../../../src","sources":["utils/overlay/func.ts"],"mappings":";;AAAA,SAASA,GAAG,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,yBAAyB,QAAQ,kBAAe;AACzD,SACEC,kBAAkB,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B,CAACC,YAAY,CAAC,EAAE;IACjE,OAAO,CAAC;EACV;EAEA,MAAMT,MAAM,GAAGZ,yBAAyB,CAAC,CAAC;EAC1C,MAAM0B,SAAS,GAAGpB,qCAAqC,CACrDJ,gCAAgC,CAACQ,GACnC,CAAC;EACD,MAAMiB,YAAY,GAAGrB,qCAAqC,CACxDJ,gCAAgC,CAACe,MACnC,CAAC;EACD,MAAMW,YAAY,GAAGtB,qCAAqC,CACxDJ,gCAAgC,CAACoB,MACnC,CAAC;EACD,IAAID,YAAY,GAAGM,YAAY,EAAE;IAC/B,OAAON,YAAY,GAChBT,MAAM,IACJV,gCAAgC,CAACQ,GAAG,GACnCR,gCAAgC,CAACe,MAAM,CAAC,GAC1C,CAAC,GACDS,SAAS,GACTC,YAAY;EAClB,CAAC,MAAM,IAAIN,YAAY,GAAGO,YAAY,EAAE;IACtC,OAAOP,YAAY,GAChBT,MAAM,IACJV,gCAAgC,CAACe,MAAM,GACtCf,gCAAgC,CAACoB,MAAM,CAAC,GAC1C,CAAC,GACDK,YAAY,GACZC,YAAY;EAClB,CAAC,MAAM;IACL,OAAOA,YAAY;EACrB;AACF;AAEA,OAAO,SAASC,qBAAqBA,CAAA,EAAG;EACtC,OAAO9B,QAAQ,CAACE,kBAAkB,CAAC;AACrC","ignoreList":[]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { withSpring, withTiming } from 'react-native-reanimated';
|
|
4
|
+
import { scheduleOnRN } from 'react-native-worklets';
|
|
5
|
+
|
|
6
|
+
/** @internal */
|
|
7
|
+
const _worklet_13505451669225_init_data = {
|
|
8
|
+
code: "function funcTs1(){const{cb,scheduleOnRN}=this.__closure;if(cb){scheduleOnRN(cb);}}",
|
|
9
|
+
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts",
|
|
10
|
+
sourceMap: "{\"version\":3,\"names\":[\"funcTs1\",\"cb\",\"scheduleOnRN\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts\"],\"mappings\":\"AAgBkC,SAAAA,OAAMA,CAAA,QAAAC,EAAA,CAAAC,YAAA,OAAAC,SAAA,CAClC,GAAIF,EAAE,CAAE,CACNC,YAAY,CAACD,EAAE,CAAC,CAClB,CACF\",\"ignoreList\":[]}"
|
|
11
|
+
};
|
|
12
|
+
export function updateSharedValWithTiming(sharedVal, toVal, userConfig, cb) {
|
|
13
|
+
sharedVal.set(withTiming(toVal, userConfig, function funcTs1Factory({
|
|
14
|
+
_worklet_13505451669225_init_data,
|
|
15
|
+
cb,
|
|
16
|
+
scheduleOnRN
|
|
17
|
+
}) {
|
|
18
|
+
const _e = [new global.Error(), -3, -27];
|
|
19
|
+
const funcTs1 = function () {
|
|
20
|
+
if (cb) {
|
|
21
|
+
scheduleOnRN(cb);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
funcTs1.__closure = {
|
|
25
|
+
cb,
|
|
26
|
+
scheduleOnRN
|
|
27
|
+
};
|
|
28
|
+
funcTs1.__workletHash = 13505451669225;
|
|
29
|
+
funcTs1.__pluginVersion = "0.5.1";
|
|
30
|
+
funcTs1.__initData = _worklet_13505451669225_init_data;
|
|
31
|
+
funcTs1.__stackDetails = _e;
|
|
32
|
+
return funcTs1;
|
|
33
|
+
}({
|
|
34
|
+
_worklet_13505451669225_init_data,
|
|
35
|
+
cb,
|
|
36
|
+
scheduleOnRN
|
|
37
|
+
})));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
const _worklet_6658021221194_init_data = {
|
|
42
|
+
code: "function funcTs2(){const{cb,scheduleOnRN}=this.__closure;if(cb){scheduleOnRN(cb);}}",
|
|
43
|
+
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts",
|
|
44
|
+
sourceMap: "{\"version\":3,\"names\":[\"funcTs2\",\"cb\",\"scheduleOnRN\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts\"],\"mappings\":\"AAgCkC,SAAAA,OAAMA,CAAA,QAAAC,EAAA,CAAAC,YAAA,OAAAC,SAAA,CAClC,GAAIF,EAAE,CAAE,CACNC,YAAY,CAACD,EAAE,CAAC,CAClB,CACF\",\"ignoreList\":[]}"
|
|
45
|
+
};
|
|
46
|
+
export function updateSharedValWithSpring(sharedVal, toVal, userConfig, cb) {
|
|
47
|
+
sharedVal.set(withSpring(toVal, userConfig, function funcTs2Factory({
|
|
48
|
+
_worklet_6658021221194_init_data,
|
|
49
|
+
cb,
|
|
50
|
+
scheduleOnRN
|
|
51
|
+
}) {
|
|
52
|
+
const _e = [new global.Error(), -3, -27];
|
|
53
|
+
const funcTs2 = function () {
|
|
54
|
+
if (cb) {
|
|
55
|
+
scheduleOnRN(cb);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
funcTs2.__closure = {
|
|
59
|
+
cb,
|
|
60
|
+
scheduleOnRN
|
|
61
|
+
};
|
|
62
|
+
funcTs2.__workletHash = 6658021221194;
|
|
63
|
+
funcTs2.__pluginVersion = "0.5.1";
|
|
64
|
+
funcTs2.__initData = _worklet_6658021221194_init_data;
|
|
65
|
+
funcTs2.__stackDetails = _e;
|
|
66
|
+
return funcTs2;
|
|
67
|
+
}({
|
|
68
|
+
_worklet_6658021221194_init_data,
|
|
69
|
+
cb,
|
|
70
|
+
scheduleOnRN
|
|
71
|
+
})));
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=func.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["withSpring","withTiming","scheduleOnRN","_worklet_13505451669225_init_data","code","location","sourceMap","updateSharedValWithTiming","sharedVal","toVal","userConfig","cb","set","funcTs1Factory","_e","global","Error","funcTs1","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","_worklet_6658021221194_init_data","updateSharedValWithSpring","funcTs2Factory","funcTs2"],"sour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f,EAAE,EAAE;QACNT,YAAY,CAACS,EAAE,CAAC;MAClB;IACF,CAAC;IAAAe,OAAA,CAAAR,SAAA;MAHKP,EAAE;MACJT;IAAY;IAAAwB,OAAA,CAAAP,aAAA;IAAAO,OAAA,CAAAN,eAAA;IAAAM,OAAA,CAAAL,UAAA,GAAAE,gCAAA;IAAAG,OAAA,CAAAJ,cAAA,GAAAR,EAAA;IAAA,OAAAY,OAAA;EAAA,CAFc;IAAAH,gCAAA;IACxBZ,EAAE;IACJT;EAAY,EAEf,CACH,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Orientation"],"sourceRoot":"../../../../src","sources":["utils/style/const.ts"],"mappings":";;AAAA,WAAYA,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Dimensions, StyleSheet } from 'react-native';
|
|
4
|
+
export function composeStyles(style1, style2) {
|
|
5
|
+
return StyleSheet.compose(style1, style2);
|
|
6
|
+
}
|
|
7
|
+
export function flattenStyle(style) {
|
|
8
|
+
return StyleSheet.flatten(style);
|
|
9
|
+
}
|
|
10
|
+
export function getWindowDimensions() {
|
|
11
|
+
return Dimensions.get('window');
|
|
12
|
+
}
|
|
13
|
+
export function getWindowDimensionsWidth() {
|
|
14
|
+
return getWindowDimensions().width;
|
|
15
|
+
}
|
|
16
|
+
export function getWindowDimensionsHeight() {
|
|
17
|
+
return getWindowDimensions().height;
|
|
18
|
+
}
|
|
19
|
+
export function getWindowDimensionsScale() {
|
|
20
|
+
return getWindowDimensions().scale;
|
|
21
|
+
}
|
|
22
|
+
export function getWindowDimensionsFontScale() {
|
|
23
|
+
return getWindowDimensions().fontScale;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=func.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Dimensions","StyleSheet","composeStyles","style1","style2","compose","flattenStyle","style","flatten","getWindowDimensions","get","getWindowDimensionsWidth","width","getWindowDimensionsHeight","height","getWindowDimensionsScale","scale","getWindowDimensionsFontScale","fontScale"],"sourceRoot":"../../../../src","sources":["utils/style/func.ts"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAGrD,OAAO,SAASC,aAAaA,CAC3BC,MAA4B,EAC5BC,MAA4B,EAC5B;EACA,OAAOH,UAAU,CAACI,OAAO,CAAUF,MAAM,EAAEC,MAAM,CAAC;AACpD;AAEA,OAAO,SAASE,YAAYA,CAAkBC,KAA0B,EAAE;EACxE,OAAON,UAAU,CAACO,OAAO,CAAID,KAAK,CAAC;AACrC;AAEA,OAAO,SAASE,mBAAmBA,CAAA,EAAG;EACpC,OAAOT,UAAU,CAACU,GAAG,CAAC,QAAQ,CAAC;AACjC;AAEA,OAAO,SAASC,wBAAwBA,CAAA,EAAG;EACzC,OAAOF,mBAAmB,CAAC,CAAC,CAACG,KAAK;AACpC;AAEA,OAAO,SAASC,yBAAyBA,CAAA,EAAG;EAC1C,OAAOJ,mBAAmB,CAAC,CAAC,CAACK,MAAM;AACrC;AAEA,OAAO,SAASC,wBAAwBA,CAAA,EAAG;EACzC,OAAON,mBAAmB,CAAC,CAAC,CAACO,KAAK;AACpC;AAEA,OAAO,SAASC,4BAA4BA,CAAA,EAAG;EAC7C,OAAOR,mBAAmB,CAAC,CAAC,CAACS,SAAS;AACxC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["switchAnimationDuration"],"sourceRoot":"../../../../src","sources":["utils/switch/const.ts"],"mappings":";;AAAA;AACA,OAAO,MAAMA,uBAAuB,GAAG,GAAG","ignoreList":[]}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createTheme } from '@shopify/restyle';
|
|
4
|
+
import { StyleSheet } from 'react-native';
|
|
5
|
+
|
|
6
|
+
/** @internal */
|
|
7
|
+
export let Palette = /*#__PURE__*/function (Palette) {
|
|
8
|
+
Palette["Transparent"] = "transparent";
|
|
9
|
+
Palette["ThemePri"] = "#7ccf6b";
|
|
10
|
+
Palette["BlackT"] = "#00000080";
|
|
11
|
+
Palette["White"] = "#ffffff";
|
|
12
|
+
Palette["DarkGrey"] = "#121212";
|
|
13
|
+
Palette["Silver"] = "#f0f0f0";
|
|
14
|
+
Palette["Red"] = "#ff0000";
|
|
15
|
+
return Palette;
|
|
16
|
+
}({});
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export let Spacing = /*#__PURE__*/function (Spacing) {
|
|
20
|
+
Spacing[Spacing["None"] = 0] = "None";
|
|
21
|
+
Spacing[Spacing["XXXS"] = 2] = "XXXS";
|
|
22
|
+
Spacing[Spacing["XXS"] = 4] = "XXS";
|
|
23
|
+
Spacing[Spacing["XS"] = 6] = "XS";
|
|
24
|
+
Spacing[Spacing["S"] = 10] = "S";
|
|
25
|
+
Spacing[Spacing["M"] = 16] = "M";
|
|
26
|
+
Spacing[Spacing["L"] = 26] = "L";
|
|
27
|
+
Spacing[Spacing["XL"] = 42] = "XL";
|
|
28
|
+
Spacing[Spacing["XXL"] = 68] = "XXL";
|
|
29
|
+
Spacing[Spacing["XXXL"] = 110] = "XXXL";
|
|
30
|
+
return Spacing;
|
|
31
|
+
}({});
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export let FontSize = /*#__PURE__*/function (FontSize) {
|
|
35
|
+
FontSize[FontSize["XS"] = 12] = "XS";
|
|
36
|
+
FontSize[FontSize["S"] = 16] = "S";
|
|
37
|
+
FontSize[FontSize["M"] = 20] = "M";
|
|
38
|
+
FontSize[FontSize["L"] = 24] = "L";
|
|
39
|
+
FontSize[FontSize["XL"] = 28] = "XL";
|
|
40
|
+
return FontSize;
|
|
41
|
+
}({});
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
const FontLineHeightRatio = 1.2;
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export let FontLineHeight = /*#__PURE__*/function (FontLineHeight) {
|
|
48
|
+
FontLineHeight[FontLineHeight["XS"] = 14.399999999999999] = "XS";
|
|
49
|
+
FontLineHeight[FontLineHeight["S"] = 19.2] = "S";
|
|
50
|
+
FontLineHeight[FontLineHeight["M"] = 24] = "M";
|
|
51
|
+
FontLineHeight[FontLineHeight["L"] = 28.799999999999997] = "L";
|
|
52
|
+
FontLineHeight[FontLineHeight["XL"] = 33.6] = "XL";
|
|
53
|
+
return FontLineHeight;
|
|
54
|
+
}({});
|
|
55
|
+
export let SwitchSize = /*#__PURE__*/function (SwitchSize) {
|
|
56
|
+
SwitchSize[SwitchSize["S"] = 16] = "S";
|
|
57
|
+
SwitchSize[SwitchSize["M"] = 22] = "M";
|
|
58
|
+
SwitchSize[SwitchSize["L"] = 28] = "L";
|
|
59
|
+
return SwitchSize;
|
|
60
|
+
}({});
|
|
61
|
+
export let BorderSize = function (BorderSize) {
|
|
62
|
+
BorderSize[BorderSize["XS"] = StyleSheet.hairlineWidth] = "XS";
|
|
63
|
+
BorderSize[BorderSize["S"] = 1] = "S";
|
|
64
|
+
BorderSize[BorderSize["M"] = 2] = "M";
|
|
65
|
+
BorderSize[BorderSize["L"] = 4] = "L";
|
|
66
|
+
BorderSize[BorderSize["XL"] = 8] = "XL";
|
|
67
|
+
return BorderSize;
|
|
68
|
+
}({});
|
|
69
|
+
|
|
70
|
+
/** @internal */
|
|
71
|
+
export let BorderRadius = /*#__PURE__*/function (BorderRadius) {
|
|
72
|
+
BorderRadius[BorderRadius["S"] = 12] = "S";
|
|
73
|
+
BorderRadius[BorderRadius["M"] = 24] = "M";
|
|
74
|
+
BorderRadius[BorderRadius["L"] = 36] = "L";
|
|
75
|
+
BorderRadius[BorderRadius["Circle"] = 9999] = "Circle";
|
|
76
|
+
return BorderRadius;
|
|
77
|
+
}({});
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export let ZIndex = /*#__PURE__*/function (ZIndex) {
|
|
81
|
+
ZIndex[ZIndex["Base"] = 0] = "Base";
|
|
82
|
+
ZIndex[ZIndex["Bottom"] = 1] = "Bottom";
|
|
83
|
+
ZIndex[ZIndex["Middle"] = 2] = "Middle";
|
|
84
|
+
ZIndex[ZIndex["Top"] = 3] = "Top";
|
|
85
|
+
return ZIndex;
|
|
86
|
+
}({});
|
|
87
|
+
|
|
88
|
+
/** @internal */
|
|
89
|
+
const textVariants = {
|
|
90
|
+
textXS: {
|
|
91
|
+
fontSize: FontSize.XS,
|
|
92
|
+
lineHeight: FontLineHeight.XS,
|
|
93
|
+
color: 'text'
|
|
94
|
+
},
|
|
95
|
+
textS: {
|
|
96
|
+
fontSize: FontSize.S,
|
|
97
|
+
lineHeight: FontLineHeight.S,
|
|
98
|
+
color: 'text'
|
|
99
|
+
},
|
|
100
|
+
textM: {
|
|
101
|
+
fontSize: FontSize.M,
|
|
102
|
+
lineHeight: FontLineHeight.M,
|
|
103
|
+
color: 'text'
|
|
104
|
+
},
|
|
105
|
+
textL: {
|
|
106
|
+
fontSize: FontSize.L,
|
|
107
|
+
lineHeight: FontLineHeight.L,
|
|
108
|
+
color: 'text'
|
|
109
|
+
},
|
|
110
|
+
textXL: {
|
|
111
|
+
fontSize: FontSize.XL,
|
|
112
|
+
lineHeight: FontLineHeight.XL,
|
|
113
|
+
color: 'text'
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
export const lightTheme = createTheme({
|
|
117
|
+
colors: {
|
|
118
|
+
transparent: Palette.Transparent,
|
|
119
|
+
theme: Palette.ThemePri,
|
|
120
|
+
background: Palette.White,
|
|
121
|
+
backgroundOverlay: Palette.BlackT,
|
|
122
|
+
text: Palette.DarkGrey,
|
|
123
|
+
textOverlay: Palette.White,
|
|
124
|
+
textBtn: Palette.White,
|
|
125
|
+
border: Palette.Silver,
|
|
126
|
+
separator: Palette.Silver,
|
|
127
|
+
err: Palette.Red
|
|
128
|
+
},
|
|
129
|
+
spacing: {
|
|
130
|
+
none: Spacing.None,
|
|
131
|
+
xxxs: Spacing.XXXS,
|
|
132
|
+
xxs: Spacing.XXS,
|
|
133
|
+
xs: Spacing.XS,
|
|
134
|
+
s: Spacing.S,
|
|
135
|
+
m: Spacing.M,
|
|
136
|
+
l: Spacing.L,
|
|
137
|
+
xl: Spacing.XL,
|
|
138
|
+
xxl: Spacing.XXL,
|
|
139
|
+
xxxl: Spacing.XXXL
|
|
140
|
+
},
|
|
141
|
+
breakpoints: {
|
|
142
|
+
smallPhone: 0,
|
|
143
|
+
phone: 300,
|
|
144
|
+
smallTablet: 600,
|
|
145
|
+
tablet: 900,
|
|
146
|
+
desktop: 1200
|
|
147
|
+
},
|
|
148
|
+
zIndices: {
|
|
149
|
+
bottom: ZIndex.Bottom,
|
|
150
|
+
middle: ZIndex.Middle,
|
|
151
|
+
top: ZIndex.Top
|
|
152
|
+
},
|
|
153
|
+
borderRadii: {
|
|
154
|
+
s: BorderRadius.S,
|
|
155
|
+
m: BorderRadius.M,
|
|
156
|
+
l: BorderRadius.L,
|
|
157
|
+
circle: BorderRadius.Circle
|
|
158
|
+
},
|
|
159
|
+
textVariants: {
|
|
160
|
+
...textVariants,
|
|
161
|
+
textXSBold: {
|
|
162
|
+
...textVariants.textXS,
|
|
163
|
+
fontWeight: 'bold'
|
|
164
|
+
},
|
|
165
|
+
textSBold: {
|
|
166
|
+
...textVariants.textS,
|
|
167
|
+
fontWeight: 'bold'
|
|
168
|
+
},
|
|
169
|
+
textMBold: {
|
|
170
|
+
...textVariants.textM,
|
|
171
|
+
fontWeight: 'bold'
|
|
172
|
+
},
|
|
173
|
+
textLBold: {
|
|
174
|
+
...textVariants.textL,
|
|
175
|
+
fontWeight: 'bold'
|
|
176
|
+
},
|
|
177
|
+
textXLBold: {
|
|
178
|
+
...textVariants.textXL,
|
|
179
|
+
fontWeight: 'bold'
|
|
180
|
+
},
|
|
181
|
+
defaults: textVariants.textM
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
export const darkTheme = {
|
|
185
|
+
...lightTheme,
|
|
186
|
+
colors: {
|
|
187
|
+
...lightTheme.colors,
|
|
188
|
+
background: Palette.DarkGrey,
|
|
189
|
+
text: Palette.White
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
//# sourceMappingURL=const.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createTheme","StyleSheet","Palette","Spacing","FontSize","FontLineHeightRatio","FontLineHeight","SwitchSize","BorderSize","hairlineWidth","BorderRadius","ZIndex","textVariants","textXS","fontSize","XS","lineHeight","color","textS","S","textM","M","textL","L","textXL","XL","lightTheme","colors","transparent","Transparent","theme","ThemePri","background","White","backgroundOverlay","BlackT","text","DarkGrey","textOverlay","textBtn","border","Silver","separator","err","Red","spacing","none","None","xxxs","XXXS","xxs","XXS","xs","s","m","l","xl","xxl","XXL","xxxl","XXXL","breakpoints","smallPhone","phone","smallTablet","tablet","desktop","zIndices","bottom","Bottom","middle","Middle","top","Top","borderRadii","circle","Circle","textXSBold","fontWeight","textSBold","textMBold","textLBold","textXLBold","defaults","darkTheme"],"sourceRoot":"../../../../src","sources":["utils/theme/const.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,kBAAkB;AAC9C,SAASC,UAAU,QAAQ,cAAc;;AAEzC;AACA,WAAYC,OAAO,0BAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAA,OAAPA,OAAO;AAAA;;AAUnB;AACA,WAAYC,OAAO,0BAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,CAAPA,OAAO;EAAPA,OAAO,C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UAAU,EAAE;MACV,GAAGtE,YAAY,CAACY,MAAM;MACtBsD,UAAU,EAAE;IACd,CAAC;IACDK,QAAQ,EAAEvE,YAAY,CAACQ;EACzB;AACF,CAAC,CAAC;AAEF,OAAO,MAAMgE,SAA4B,GAAG;EAC1C,GAAG1D,UAAU;EACbC,MAAM,EAAE;IACN,GAAGD,UAAU,CAACC,MAAM;IACpBK,UAAU,EAAE9B,OAAO,CAACmC,QAAQ;IAC5BD,IAAI,EAAElC,OAAO,CAAC+B;EAChB;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/** @internal */
|
|
4
|
+
import { backgroundColor, backgroundColorShorthand, border, color, composeRestyleFunctions, layout, opacity, position, shadow, spacing, spacingShorthand } from '@shopify/restyle';
|
|
5
|
+
const restyleBaseFuncs = [spacing, spacingShorthand, layout, position];
|
|
6
|
+
const restyleBackgroundFuncs = [backgroundColor, backgroundColorShorthand];
|
|
7
|
+
export const themedPressableRestyleFuncs = composeRestyleFunctions([...restyleBaseFuncs, ...restyleBackgroundFuncs, opacity, border, shadow]);
|
|
8
|
+
export const themedLoadingRestyleFuncs = composeRestyleFunctions(restyleBaseFuncs);
|
|
9
|
+
export const themedLoadingColorRestyleFuncs = composeRestyleFunctions([
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
color]);
|
|
12
|
+
export const themedIconRestyleFuncs = composeRestyleFunctions(restyleBaseFuncs);
|
|
13
|
+
export const themedIconColorRestyleFuncs = composeRestyleFunctions([
|
|
14
|
+
// @ts-expect-error
|
|
15
|
+
color]);
|
|
16
|
+
export const themedScrollViewRestyleFuncs = composeRestyleFunctions(restyleBaseFuncs);
|
|
17
|
+
//# sourceMappingURL=restyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["backgroundColor","backgroundColorShorthand","border","color","composeRestyleFunctions","layout","opacity","position","shadow","spacing","spacingShorthand","restyleBaseFuncs","restyleBackgroundFuncs","themedPressableRestyleFuncs","themedLoadingRestyleFuncs","themedLoadingColorRestyleFuncs","themedIconRestyleFuncs","themedIconColorRestyleFuncs","themedScrollViewRestyleFuncs"],"sourceRoot":"../../../../src","sources":["utils/theme/restyle.ts"],"mappings":";;AAAA;AACA,SACEA,eAAe,EACfC,wBAAwB,EACxBC,MAAM,EACNC,KAAK,EACLC,uBAAuB,EACvBC,MAAM,EACNC,OAAO,EACPC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,gBAAgB,QACX,kBAAkB;AAQzB,MAAMC,gBAAgB,GAAG,CAACF,OAAO,EAAEC,gBAAgB,EAAEL,MAAM,EAAEE,QAAQ,CAAC;AAEtE,MAAMK,sBAAsB,GAAG,CAACZ,eAAe,EAAEC,wBAAwB,CAAC;AAE1E,OAAO,MAAMY,2BAA2B,GAAGT,uBAAuB,CAGhE,CAAC,GAAGO,gBAAgB,EAAE,GAAGC,sBAAsB,EAAEN,OAAO,EAAEJ,MAAM,EAAEM,MAAM,CAAC,CAAC;AAE5E,OAAO,MAAMM,yBAAyB,GAAGV,uBAAuB,CAG9DO,gBAAgB,CAAC;AAEnB,OAAO,MAAMI,8BAA8B,GAAGX,uBAAuB,CAGnE;AACA;AACAD,KAAK,CACN,CAAC;AAEF,OAAO,MAAMa,sBAAsB,GAAGZ,uBAAuB,CAG3DO,gBAAgB,CAAC;AAEnB,OAAO,MAAMM,2BAA2B,GAAGb,uBAAuB,CAGhE;AACA;AACAD,KAAK,CACN,CAAC;AAEF,OAAO,MAAMe,4BAA4B,GAAGd,uBAAuB,CAGjEO,gBAAgB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const AnimatedPressable: import("react").FunctionComponent<import("react-native-reanimated").AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>>;
|
|
2
|
+
export default AnimatedPressable;
|
|
3
|
+
//# sourceMappingURL=AnimatedPressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedPressable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/btn/AnimatedPressable.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,wLAA8C,CAAC;AAE7E,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import type { AnimatedThemedPressableProps } from '../../types/btn';
|
|
3
|
+
declare const AnimatedThemedPressable: FC<AnimatedThemedPressableProps>;
|
|
4
|
+
export default AnimatedThemedPressable;
|
|
5
|
+
//# sourceMappingURL=AnimatedThemedPressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedThemedPressable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/btn/AnimatedThemedPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC;AAGpE,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAI7D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|