@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,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
/** @internal */
|
|
5
|
+
import { useActionSheetOnDismiss, useActionSheetOptItemSize } from "../../../hooks/overlay.js";
|
|
6
|
+
import { getActionSheetContext } from "../../../utils/overlay/func.js";
|
|
7
|
+
import List from "../../list/List.js";
|
|
8
|
+
import ActionSheetContentGesture from "./ActionSheetContentGesture.js";
|
|
9
|
+
import ActionSheetOptListItem from "./ActionSheetOptListItem.js";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
const ActionSheetOptList = t0 => {
|
|
12
|
+
const $ = _c(9);
|
|
13
|
+
const {
|
|
14
|
+
opts,
|
|
15
|
+
optListProps,
|
|
16
|
+
optListItemProps
|
|
17
|
+
} = t0;
|
|
18
|
+
const {
|
|
19
|
+
insetsStyle
|
|
20
|
+
} = useActionSheetOptItemSize(optListProps);
|
|
21
|
+
const onDismiss = useActionSheetOnDismiss();
|
|
22
|
+
let t1;
|
|
23
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
24
|
+
t1 = getActionSheetContext();
|
|
25
|
+
$[0] = t1;
|
|
26
|
+
} else {
|
|
27
|
+
t1 = $[0];
|
|
28
|
+
}
|
|
29
|
+
const {
|
|
30
|
+
contentAnimatedRefObj
|
|
31
|
+
} = t1;
|
|
32
|
+
const keyExtractor = _temp;
|
|
33
|
+
let t2;
|
|
34
|
+
if ($[1] !== onDismiss || $[2] !== optListItemProps) {
|
|
35
|
+
t2 = {
|
|
36
|
+
optListItemProps,
|
|
37
|
+
onDismiss
|
|
38
|
+
};
|
|
39
|
+
$[1] = onDismiss;
|
|
40
|
+
$[2] = optListItemProps;
|
|
41
|
+
$[3] = t2;
|
|
42
|
+
} else {
|
|
43
|
+
t2 = $[3];
|
|
44
|
+
}
|
|
45
|
+
const extraData = t2;
|
|
46
|
+
let t3;
|
|
47
|
+
if ($[4] !== extraData || $[5] !== insetsStyle || $[6] !== optListProps || $[7] !== opts) {
|
|
48
|
+
t3 = /*#__PURE__*/_jsx(ActionSheetContentGesture, {
|
|
49
|
+
children: /*#__PURE__*/_jsx(List, {
|
|
50
|
+
ref: contentAnimatedRefObj,
|
|
51
|
+
data: opts,
|
|
52
|
+
Item: ActionSheetOptListItem,
|
|
53
|
+
keyExtractor: keyExtractor,
|
|
54
|
+
extraData: extraData,
|
|
55
|
+
contentContainerStyle: insetsStyle,
|
|
56
|
+
...optListProps
|
|
57
|
+
})
|
|
58
|
+
});
|
|
59
|
+
$[4] = extraData;
|
|
60
|
+
$[5] = insetsStyle;
|
|
61
|
+
$[6] = optListProps;
|
|
62
|
+
$[7] = opts;
|
|
63
|
+
$[8] = t3;
|
|
64
|
+
} else {
|
|
65
|
+
t3 = $[8];
|
|
66
|
+
}
|
|
67
|
+
return t3;
|
|
68
|
+
};
|
|
69
|
+
export default ActionSheetOptList;
|
|
70
|
+
function _temp(t0, index) {
|
|
71
|
+
const {
|
|
72
|
+
text
|
|
73
|
+
} = t0;
|
|
74
|
+
return `${text}_${index}`;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=ActionSheetOptList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useActionSheetOnDismiss","useActionSheetOptItemSize","getActionSheetContext","List","ActionSheetContentGesture","ActionSheetOptListItem","jsx","_jsx","ActionSheetOptList","t0","$","_c","opts","optListProps","optListItemProps","insetsStyle","onDismiss","t1","Symbol","for","contentAnimatedRefObj","keyExtractor","_temp","t2","extraData","t3","children","ref","index","text"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetOptList.tsx"],"mappings":";;;AAAA;AAEA,SACEA,uBAAuB,EACvBC,yBAAyB,QACpB,2BAAwB;AAQ/B,SAASC,qBAAqB,QAAQ,gCAA6B;AACnE,OAAOC,IAAI,MAAM,oBAAiB;AAClC,OAAOC,yBAAyB,MAAM,gCAA6B;AACnE,OAAOC,sBAAsB,MAAM,6BAA0B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE9D,MAAMC,kBAEL,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAC;IAAAC,IAAA;IAAAC,YAAA;IAAAC;EAAA,IAAAL,EAAwC;EAC3C;IAAAM;EAAA,IAAwBd,yBAAA,CAA0BY,YAAY,CAAC;EAC/D,MAAAG,SAAA,GAAkBhB,uBAAA,CAAwB,CAAC;EAAC,IAAAiB,EAAA;EAAA,IAAAP,CAAA,QAAAQ,MAAA,CAAAC,GAAA;IAEVF,EAAA,GAAAf,qBAAA,CAAsB,CAAC;IAAAQ,CAAA,MAAAO,EAAA;EAAA;IAAAA,EAAA,GAAAP,CAAA;EAAA;EAAzD;IAAAU;EAAA,IAAkCH,EAAuB;EACzD,MAAAI,YAAA,GAAAC,KAAA;EACqB,IAAAC,EAAA;EAAA,IAAAb,CAAA,QAAAM,SAAA,IAAAN,CAAA,QAAAI,gBAAA;IAC0BS,EAAA;MAAAT,gBAAA;MAAAE;IAAA;IAG9CN,CAAA,MAAAM,SAAA;IAAAN,CAAA,MAAAI,gBAAA;IAAAJ,CAAA,MAAAa,EAAA;EAAA;IAAAA,EAAA,GAAAb,CAAA;EAAA;EAHD,MAAAc,SAAA,GAA+CD,EAG9C;EAAC,IAAAE,EAAA;EAAA,IAAAf,CAAA,QAAAc,SAAA,IAAAd,CAAA,QAAAK,WAAA,IAAAL,CAAA,QAAAG,YAAA,IAAAH,CAAA,QAAAE,IAAA;IAGAa,EAAA,gBAAAlB,IAAA,CAACH,yBAAyB;MAAAsB,QAAA,eACxBnB,IAAA,CAACJ,IAAI;QACEwB,GAAiD,EAAjDP,qBAAiD;QAChDR,IAAI,EAAJA,IAAI;QACJP,IAAsB,EAAAA,sBAAA;QACdgB,YAAY,EAAZA,YAAY;QACfG,SAAS,EAATA,SAAS;QACGT,qBAAW,EAAXA,WAAW;QAAA,GAC9BF;MAAY,CACjB;IAAC,CACuB,CAAC;IAAAH,CAAA,MAAAc,SAAA;IAAAd,CAAA,MAAAK,WAAA;IAAAL,CAAA,MAAAG,YAAA;IAAAH,CAAA,MAAAE,IAAA;IAAAF,CAAA,MAAAe,EAAA;EAAA;IAAAA,EAAA,GAAAf,CAAA;EAAA;EAAA,OAV5Be,EAU4B;AAAA,CAE/B;AAED,eAAejB,kBAAkB;AA3B7B,SAAAc,MAAAb,EAAA,EAAAmB,KAAA;EAKsD;IAAAC;EAAA,IAAApB,EAAQ;EAAA,OAC9D,GAAGoB,IAAI,IAAID,KAAK,EAAE;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
/** @internal */
|
|
5
|
+
import { actionSheetOptListItemPadding, actionSheetOptListItemTextVariant } from "../../../utils/overlay/const.js";
|
|
6
|
+
import ThemedBtn from "../../btn/ThemedBtn.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
const ActionSheetOptListItem = t0 => {
|
|
9
|
+
const $ = _c(9);
|
|
10
|
+
const {
|
|
11
|
+
item: t1,
|
|
12
|
+
extraData
|
|
13
|
+
} = t0;
|
|
14
|
+
const {
|
|
15
|
+
text,
|
|
16
|
+
onPress,
|
|
17
|
+
props
|
|
18
|
+
} = t1;
|
|
19
|
+
const {
|
|
20
|
+
optListItemProps,
|
|
21
|
+
onDismiss
|
|
22
|
+
} = extraData;
|
|
23
|
+
let t2;
|
|
24
|
+
if ($[0] !== onDismiss || $[1] !== onPress || $[2] !== text) {
|
|
25
|
+
t2 = event => {
|
|
26
|
+
onPress?.(event);
|
|
27
|
+
onDismiss(text);
|
|
28
|
+
};
|
|
29
|
+
$[0] = onDismiss;
|
|
30
|
+
$[1] = onPress;
|
|
31
|
+
$[2] = text;
|
|
32
|
+
$[3] = t2;
|
|
33
|
+
} else {
|
|
34
|
+
t2 = $[3];
|
|
35
|
+
}
|
|
36
|
+
const onItemPress = t2;
|
|
37
|
+
let t3;
|
|
38
|
+
if ($[4] !== onItemPress || $[5] !== optListItemProps || $[6] !== props || $[7] !== text) {
|
|
39
|
+
t3 = /*#__PURE__*/_jsx(ThemedBtn, {
|
|
40
|
+
onPress: onItemPress,
|
|
41
|
+
alignItems: "flex-start",
|
|
42
|
+
paddingVertical: actionSheetOptListItemPadding,
|
|
43
|
+
backgroundColor: "background",
|
|
44
|
+
text: text,
|
|
45
|
+
textVariant: actionSheetOptListItemTextVariant,
|
|
46
|
+
textColor: "text",
|
|
47
|
+
...optListItemProps,
|
|
48
|
+
...props
|
|
49
|
+
});
|
|
50
|
+
$[4] = onItemPress;
|
|
51
|
+
$[5] = optListItemProps;
|
|
52
|
+
$[6] = props;
|
|
53
|
+
$[7] = text;
|
|
54
|
+
$[8] = t3;
|
|
55
|
+
} else {
|
|
56
|
+
t3 = $[8];
|
|
57
|
+
}
|
|
58
|
+
return t3;
|
|
59
|
+
};
|
|
60
|
+
export default ActionSheetOptListItem;
|
|
61
|
+
//# sourceMappingURL=ActionSheetOptListItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["actionSheetOptListItemPadding","actionSheetOptListItemTextVariant","ThemedBtn","jsx","_jsx","ActionSheetOptListItem","t0","$","_c","item","t1","extraData","text","onPress","props","optListItemProps","onDismiss","t2","event","onItemPress","t3","alignItems","backgroundColor","textVariant","textColor"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetOptListItem.tsx"],"mappings":";;;AAAA;AAQA,SACEA,6BAA6B,EAC7BC,iCAAiC,QAC5B,iCAA8B;AACrC,OAAOC,SAAS,MAAM,wBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE5C,MAAMC,sBAAyD,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAC;IAAAC,IAAA,EAAAC,EAAA;IAAAC;EAAA,IAAAL,EAGlE;EAFO;IAAAM,IAAA;IAAAC,OAAA;IAAAC;EAAA,IAAAJ,EAAwB;EAG9B;IAAAK,gBAAA;IAAAC;EAAA,IACEL,SAAS;EAAgC,IAAAM,EAAA;EAAA,IAAAV,CAAA,QAAAS,SAAA,IAAAT,CAAA,QAAAM,OAAA,IAAAN,CAAA,QAAAK,IAAA;IACIK,EAAA,GAAAC,KAAA;MAC7CL,OAAO,GAAGK,KAAK;MACfF,SAAS,CAACJ,IAAI,CAAC;IAAA;IAChBL,CAAA,MAAAS,SAAA;IAAAT,CAAA,MAAAM,OAAA;IAAAN,CAAA,MAAAK,IAAA;IAAAL,CAAA,MAAAU,EAAA;EAAA;IAAAA,EAAA,GAAAV,CAAA;EAAA;EAHD,MAAAY,WAAA,GAA+CF,EAG9C;EAAC,IAAAG,EAAA;EAAA,IAAAb,CAAA,QAAAY,WAAA,IAAAZ,CAAA,QAAAQ,gBAAA,IAAAR,CAAA,QAAAO,KAAA,IAAAP,CAAA,QAAAK,IAAA;IAGAQ,EAAA,gBAAAhB,IAAA,CAACF,SAAS;MACCiB,OAAW,EAAXA,WAAW;MACRE,UAAY,EAAZ,YAAY;MACPrB,eAA6B,EAAAA,6BAAA;MAC7BsB,eAAY,EAAZ,YAAY;MACvBV,IAAI,EAAJA,IAAI;MAERW,WAAkE,EAAAtB,iCAAA;MAEzDuB,SAAM,EAAN,MAAM;MAAA,GACbT,gBAAgB;MAAA,GAChBD;IAAK,CACV,CAAC;IAAAP,CAAA,MAAAY,WAAA;IAAAZ,CAAA,MAAAQ,gBAAA;IAAAR,CAAA,MAAAO,KAAA;IAAAP,CAAA,MAAAK,IAAA;IAAAL,CAAA,MAAAa,EAAA;EAAA;IAAAA,EAAA,GAAAb,CAAA;EAAA;EAAA,OAZFa,EAYE;AAAA,CAEL;AAED,eAAef,sBAAsB","ignoreList":[]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
/** @internal */
|
|
5
|
+
import { useActionSheetOpts } from "../../../hooks/overlay.js";
|
|
6
|
+
import { ActionSheetContext } from "../../../utils/overlay/const.js";
|
|
7
|
+
import ActionSheetHeader from "./ActionSheetHeader.js";
|
|
8
|
+
import ActionSheetOptList from "./ActionSheetOptList.js";
|
|
9
|
+
import ActionSheetWrap from "./ActionSheetWrap.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
const ActionSheetOpts = t0 => {
|
|
12
|
+
const $ = _c(16);
|
|
13
|
+
const {
|
|
14
|
+
title,
|
|
15
|
+
expandable,
|
|
16
|
+
opts,
|
|
17
|
+
optListProps,
|
|
18
|
+
optListItemProps,
|
|
19
|
+
onDismiss,
|
|
20
|
+
dismissable,
|
|
21
|
+
wrapViewProps,
|
|
22
|
+
headerShowIcon,
|
|
23
|
+
headerWrapProps,
|
|
24
|
+
headerTextProps,
|
|
25
|
+
headerIconBtnProps
|
|
26
|
+
} = t0;
|
|
27
|
+
const actionSheetContextVal = useActionSheetOpts(title, expandable, opts, optListProps, onDismiss, dismissable);
|
|
28
|
+
let t1;
|
|
29
|
+
if ($[0] !== headerIconBtnProps || $[1] !== headerShowIcon || $[2] !== headerTextProps || $[3] !== headerWrapProps) {
|
|
30
|
+
t1 = /*#__PURE__*/_jsx(ActionSheetHeader, {
|
|
31
|
+
headerShowIcon: headerShowIcon,
|
|
32
|
+
headerWrapProps: headerWrapProps,
|
|
33
|
+
headerTextProps: headerTextProps,
|
|
34
|
+
headerIconBtnProps: headerIconBtnProps
|
|
35
|
+
});
|
|
36
|
+
$[0] = headerIconBtnProps;
|
|
37
|
+
$[1] = headerShowIcon;
|
|
38
|
+
$[2] = headerTextProps;
|
|
39
|
+
$[3] = headerWrapProps;
|
|
40
|
+
$[4] = t1;
|
|
41
|
+
} else {
|
|
42
|
+
t1 = $[4];
|
|
43
|
+
}
|
|
44
|
+
let t2;
|
|
45
|
+
if ($[5] !== optListItemProps || $[6] !== optListProps || $[7] !== opts) {
|
|
46
|
+
t2 = /*#__PURE__*/_jsx(ActionSheetOptList, {
|
|
47
|
+
opts: opts,
|
|
48
|
+
optListProps: optListProps,
|
|
49
|
+
optListItemProps: optListItemProps
|
|
50
|
+
});
|
|
51
|
+
$[5] = optListItemProps;
|
|
52
|
+
$[6] = optListProps;
|
|
53
|
+
$[7] = opts;
|
|
54
|
+
$[8] = t2;
|
|
55
|
+
} else {
|
|
56
|
+
t2 = $[8];
|
|
57
|
+
}
|
|
58
|
+
let t3;
|
|
59
|
+
if ($[9] !== t1 || $[10] !== t2 || $[11] !== wrapViewProps) {
|
|
60
|
+
t3 = /*#__PURE__*/_jsxs(ActionSheetWrap, {
|
|
61
|
+
wrapViewProps: wrapViewProps,
|
|
62
|
+
children: [t1, t2]
|
|
63
|
+
});
|
|
64
|
+
$[9] = t1;
|
|
65
|
+
$[10] = t2;
|
|
66
|
+
$[11] = wrapViewProps;
|
|
67
|
+
$[12] = t3;
|
|
68
|
+
} else {
|
|
69
|
+
t3 = $[12];
|
|
70
|
+
}
|
|
71
|
+
let t4;
|
|
72
|
+
if ($[13] !== actionSheetContextVal || $[14] !== t3) {
|
|
73
|
+
t4 = /*#__PURE__*/_jsx(ActionSheetContext.Provider, {
|
|
74
|
+
value: actionSheetContextVal,
|
|
75
|
+
children: t3
|
|
76
|
+
});
|
|
77
|
+
$[13] = actionSheetContextVal;
|
|
78
|
+
$[14] = t3;
|
|
79
|
+
$[15] = t4;
|
|
80
|
+
} else {
|
|
81
|
+
t4 = $[15];
|
|
82
|
+
}
|
|
83
|
+
return t4;
|
|
84
|
+
};
|
|
85
|
+
export default ActionSheetOpts;
|
|
86
|
+
//# sourceMappingURL=ActionSheetOpts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useActionSheetOpts","ActionSheetContext","ActionSheetHeader","ActionSheetOptList","ActionSheetWrap","jsx","_jsx","jsxs","_jsxs","ActionSheetOpts","t0","$","_c","title","expandable","opts","optListProps","optListItemProps","onDismiss","dismissable","wrapViewProps","headerShowIcon","headerWrapProps","headerTextProps","headerIconBtnProps","actionSheetContextVal","t1","t2","t3","children","t4","Provider"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetOpts.tsx"],"mappings":";;;AAAA;AAEA,SAASA,kBAAkB,QAAQ,2BAAwB;AAE3D,SAASC,kBAAkB,QAAQ,iCAA8B;AACjE,OAAOC,iBAAiB,MAAM,wBAAqB;AACnD,OAAOC,kBAAkB,MAAM,yBAAsB;AACrD,OAAOC,eAAe,MAAM,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhD,MAAMC,eAAyC,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAC;IAAAC,KAAA;IAAAC,UAAA;IAAAC,IAAA;IAAAC,YAAA;IAAAC,gBAAA;IAAAC,SAAA;IAAAC,WAAA;IAAAC,aAAA;IAAAC,cAAA;IAAAC,eAAA;IAAAC,eAAA;IAAAC;EAAA,IAAAd,EAalD;EACC,MAAAe,qBAAA,GAA8BzB,kBAAA,CAC5Ba,KAAK,EACLC,UAAU,EACVC,IAAI,EACJC,YAAY,EACZE,SAAS,EACTC,WACF,CA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AAjB,CAAA;EAAA;EAAA,IAAAmB,EAAA;EAAA,IAAAnB,CAAA,SAAAc,qBAAA,IAAAd,CAAA,SAAAiB,EAAA;IAbpBE,EAAA,gBAAAxB,IAAA,CAAAL,kBAAA,CAAA8B,QAAA;MAAoCN,KAAqB,EAArBA,qBAAqB;MAAAI,QAAA,EACvDD;IAYkB,CACS,CAAC;IAAAjB,CAAA,OAAAc,qBAAA;IAAAd,CAAA,OAAAiB,EAAA;IAAAjB,CAAA,OAAAmB,EAAA;EAAA;IAAAA,EAAA,GAAAnB,CAAA;EAAA;EAAA,OAd9BmB,EAc8B;AAAA,CAEjC;AAED,eAAerB,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
/** @internal */
|
|
5
|
+
import { useActionSheetScrollView } from "../../../hooks/overlay.js";
|
|
6
|
+
import { ActionSheetContext } from "../../../utils/overlay/const.js";
|
|
7
|
+
import ActionSheetHeader from "./ActionSheetHeader.js";
|
|
8
|
+
import ActionSheetScrollViewContent from "./ActionSheetScrollViewContent.js";
|
|
9
|
+
import ActionSheetWrap from "./ActionSheetWrap.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
const ActionSheetScrollView = t0 => {
|
|
12
|
+
const $ = _c(15);
|
|
13
|
+
const {
|
|
14
|
+
title,
|
|
15
|
+
expandable,
|
|
16
|
+
scrollViewProps,
|
|
17
|
+
children,
|
|
18
|
+
onDismiss,
|
|
19
|
+
dismissable,
|
|
20
|
+
wrapViewProps,
|
|
21
|
+
headerShowIcon,
|
|
22
|
+
headerWrapProps,
|
|
23
|
+
headerTextProps,
|
|
24
|
+
headerIconBtnProps
|
|
25
|
+
} = t0;
|
|
26
|
+
const actionSheetContextVal = useActionSheetScrollView(title, expandable, scrollViewProps, onDismiss, dismissable);
|
|
27
|
+
let t1;
|
|
28
|
+
if ($[0] !== headerIconBtnProps || $[1] !== headerShowIcon || $[2] !== headerTextProps || $[3] !== headerWrapProps) {
|
|
29
|
+
t1 = /*#__PURE__*/_jsx(ActionSheetHeader, {
|
|
30
|
+
headerShowIcon: headerShowIcon,
|
|
31
|
+
headerWrapProps: headerWrapProps,
|
|
32
|
+
headerTextProps: headerTextProps,
|
|
33
|
+
headerIconBtnProps: headerIconBtnProps
|
|
34
|
+
});
|
|
35
|
+
$[0] = headerIconBtnProps;
|
|
36
|
+
$[1] = headerShowIcon;
|
|
37
|
+
$[2] = headerTextProps;
|
|
38
|
+
$[3] = headerWrapProps;
|
|
39
|
+
$[4] = t1;
|
|
40
|
+
} else {
|
|
41
|
+
t1 = $[4];
|
|
42
|
+
}
|
|
43
|
+
let t2;
|
|
44
|
+
if ($[5] !== children || $[6] !== scrollViewProps) {
|
|
45
|
+
t2 = /*#__PURE__*/_jsx(ActionSheetScrollViewContent, {
|
|
46
|
+
scrollViewProps: scrollViewProps,
|
|
47
|
+
children: children
|
|
48
|
+
});
|
|
49
|
+
$[5] = children;
|
|
50
|
+
$[6] = scrollViewProps;
|
|
51
|
+
$[7] = t2;
|
|
52
|
+
} else {
|
|
53
|
+
t2 = $[7];
|
|
54
|
+
}
|
|
55
|
+
let t3;
|
|
56
|
+
if ($[8] !== t1 || $[9] !== t2 || $[10] !== wrapViewProps) {
|
|
57
|
+
t3 = /*#__PURE__*/_jsxs(ActionSheetWrap, {
|
|
58
|
+
wrapViewProps: wrapViewProps,
|
|
59
|
+
children: [t1, t2]
|
|
60
|
+
});
|
|
61
|
+
$[8] = t1;
|
|
62
|
+
$[9] = t2;
|
|
63
|
+
$[10] = wrapViewProps;
|
|
64
|
+
$[11] = t3;
|
|
65
|
+
} else {
|
|
66
|
+
t3 = $[11];
|
|
67
|
+
}
|
|
68
|
+
let t4;
|
|
69
|
+
if ($[12] !== actionSheetContextVal || $[13] !== t3) {
|
|
70
|
+
t4 = /*#__PURE__*/_jsx(ActionSheetContext.Provider, {
|
|
71
|
+
value: actionSheetContextVal,
|
|
72
|
+
children: t3
|
|
73
|
+
});
|
|
74
|
+
$[12] = actionSheetContextVal;
|
|
75
|
+
$[13] = t3;
|
|
76
|
+
$[14] = t4;
|
|
77
|
+
} else {
|
|
78
|
+
t4 = $[14];
|
|
79
|
+
}
|
|
80
|
+
return t4;
|
|
81
|
+
};
|
|
82
|
+
export default ActionSheetScrollView;
|
|
83
|
+
//# sourceMappingURL=ActionSheetScrollView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useActionSheetScrollView","ActionSheetContext","ActionSheetHeader","ActionSheetScrollViewContent","ActionSheetWrap","jsx","_jsx","jsxs","_jsxs","ActionSheetScrollView","t0","$","_c","title","expandable","scrollViewProps","children","onDismiss","dismissable","wrapViewProps","headerShowIcon","headerWrapProps","headerTextProps","headerIconBtnProps","actionSheetContextVal","t1","t2","t3","t4","Provider"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetScrollView.tsx"],"mappings":";;;AAAA;AAEA,SAASA,wBAAwB,QAAQ,2BAAwB;AAEjE,SAASC,kBAAkB,QAAQ,iCAA8B;AACjE,OAAOC,iBAAiB,MAAM,wBAAqB;AACnD,OAAOC,4BAA4B,MAAM,mCAAgC;AACzE,OAAOC,eAAe,MAAM,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhD,MAAMC,qBAAqD,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAC;IAAAC,KAAA;IAAAC,UAAA;IAAAC,eAAA;IAAAC,QAAA;IAAAC,SAAA;IAAAC,WAAA;IAAAC,aAAA;IAAAC,cAAA;IAAAC,eAAA;IAAAC,eAAA;IAAAC;EAAA,IAAAb,EAY9D;EACC,MAAAc,qBAAA,GAA8BxB,wBAAA,CAC5Ba,KAAK,EACLC,UAAU,EACVC,eAAe,EACfE,SAAS,EACTC,WACF,CAAC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,SAAAgB,EAAA;IAXpBC,EAAA,gBAAAtB,IAAA,CAAAL,kBAAA,CAAA4B,QAAA;MAAoCL,KAAqB,EAArBA,qBAAqB;MAAAR,QAAA,EACvDW;IAUkB,CACS,CAAC;IAAAhB,CAAA,OAAAa,qBAAA;IAAAb,CAAA,OAAAgB,EAAA;IAAAhB,CAAA,OAAAiB,EAAA;EAAA;IAAAA,EAAA,GAAAjB,CAAA;EAAA;EAAA,OAZ9BiB,EAY8B;AAAA,CAEjC;AAED,eAAenB,qBAAqB","ignoreList":[]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
/** @internal */
|
|
5
|
+
import { getActionSheetContext } from "../../../utils/overlay/func.js";
|
|
6
|
+
import ThemedScrollView from "../../view/ThemedScrollView.js";
|
|
7
|
+
import ActionSheetContentGesture from "./ActionSheetContentGesture.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
const ActionSheetScrollViewContent = t0 => {
|
|
10
|
+
const $ = _c(7);
|
|
11
|
+
const {
|
|
12
|
+
scrollViewProps,
|
|
13
|
+
children
|
|
14
|
+
} = t0;
|
|
15
|
+
let t1;
|
|
16
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
17
|
+
t1 = getActionSheetContext();
|
|
18
|
+
$[0] = t1;
|
|
19
|
+
} else {
|
|
20
|
+
t1 = $[0];
|
|
21
|
+
}
|
|
22
|
+
const {
|
|
23
|
+
contentAnimatedRefObj,
|
|
24
|
+
setContentHeight
|
|
25
|
+
} = t1;
|
|
26
|
+
let t2;
|
|
27
|
+
if ($[1] !== scrollViewProps) {
|
|
28
|
+
t2 = (width, height) => {
|
|
29
|
+
setContentHeight?.(height);
|
|
30
|
+
scrollViewProps?.onContentSizeChange?.(width, height);
|
|
31
|
+
};
|
|
32
|
+
$[1] = scrollViewProps;
|
|
33
|
+
$[2] = t2;
|
|
34
|
+
} else {
|
|
35
|
+
t2 = $[2];
|
|
36
|
+
}
|
|
37
|
+
const onContentSizeChange = t2;
|
|
38
|
+
let t3;
|
|
39
|
+
if ($[3] !== children || $[4] !== onContentSizeChange || $[5] !== scrollViewProps) {
|
|
40
|
+
t3 = /*#__PURE__*/_jsx(ActionSheetContentGesture, {
|
|
41
|
+
children: /*#__PURE__*/_jsx(ThemedScrollView, {
|
|
42
|
+
ref: contentAnimatedRefObj,
|
|
43
|
+
...scrollViewProps,
|
|
44
|
+
onContentSizeChange: onContentSizeChange,
|
|
45
|
+
children: children
|
|
46
|
+
})
|
|
47
|
+
});
|
|
48
|
+
$[3] = children;
|
|
49
|
+
$[4] = onContentSizeChange;
|
|
50
|
+
$[5] = scrollViewProps;
|
|
51
|
+
$[6] = t3;
|
|
52
|
+
} else {
|
|
53
|
+
t3 = $[6];
|
|
54
|
+
}
|
|
55
|
+
return t3;
|
|
56
|
+
};
|
|
57
|
+
export default ActionSheetScrollViewContent;
|
|
58
|
+
//# sourceMappingURL=ActionSheetScrollViewContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getActionSheetContext","ThemedScrollView","ActionSheetContentGesture","jsx","_jsx","ActionSheetScrollViewContent","t0","$","_c","scrollViewProps","children","t1","Symbol","for","contentAnimatedRefObj","setContentHeight","t2","width","height","onContentSizeChange","t3","ref"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetScrollViewContent.tsx"],"mappings":";;;AAAA;AAQA,SAASA,qBAAqB,QAAQ,gCAA6B;AACnE,OAAOC,gBAAgB,MAAM,gCAA6B;AAC1D,OAAOC,yBAAyB,MAAM,gCAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpE,MAAMC,4BAEL,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAC;IAAAC,eAAA;IAAAC;EAAA,IAAAJ,EAA6B;EAAA,IAAAK,EAAA;EAAA,IAAAJ,CAAA,QAAAK,MAAA,CAAAC,GAAA;IACoBF,EAAA,GAAAX,qBAAA,CAAsB,CAAC;IAAAO,CAAA,MAAAI,EAAA;EAAA;IAAAA,EAAA,GAAAJ,CAAA;EAAA;EAA3E;IAAAO,qBAAA;IAAAC;EAAA,IAAoDJ,EAAuB;EAAC,IAAAK,EAAA;EAAA,IAAAT,CAAA,QAAAE,eAAA;IAC3BO,EAAA,GAAAA,CAAAC,KAAA,EAAAC,MAAA;MAI/CH,gBAAgB,GAAGG,MAAM;MACzBT,eAAe,EAAAU,mBAAA,GAAwBF,KAAK,EAAEC,MAAM;IAAA;IACrDX,CAAA,MAAAE,eAAA;IAAAF,CAAA,MAAAS,EAAA;EAAA;IAAAA,EAAA,GAAAT,CAAA;EAAA;EAND,MAAAY,mBAAA,GAAiDH,EAMhD;EAAC,IAAAI,EAAA;EAAA,IAAAb,CAAA,QAAAG,QAAA,IAAAH,CAAA,QAAAY,mBAAA,IAAAZ,CAAA,QAAAE,eAAA;IAGAW,EAAA,gBAAAhB,IAAA,CAACF,yBAAyB;MAAAQ,QAAA,eACxBN,IAAA,CAACH,gBAAgB;QACVoB,GAAyC,EAAzCP,qBAAyC;QAAA,GAC1CL,eAAe;QACEU,mBAAmB,EAAnBA,mBAAmB;QAAAT,QAAA,EAEvCA;MAAQ,CACO;IAAC,CACM,CAAC;IAAAH,CAAA,MAAAG,QAAA;IAAAH,CAAA,MAAAY,mBAAA;IAAAZ,CAAA,MAAAE,eAAA;IAAAF,CAAA,MAAAa,EAAA;EAAA;IAAAA,EAAA,GAAAb,CAAA;EAAA;EAAA,OAR5Ba,EAQ4B;AAAA,CAE/B;AAED,eAAef,4BAA4B","ignoreList":[]}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
/** @internal */
|
|
5
|
+
import { useAnimatedStyle } from 'react-native-reanimated';
|
|
6
|
+
import { useActionSheetOnDismiss } from "../../../hooks/overlay.js";
|
|
7
|
+
import { getActionSheetContext, getActionSheetMaxHeight } from "../../../utils/overlay/func.js";
|
|
8
|
+
import AnimatedThemedView from "../../view/AnimatedThemedView.js";
|
|
9
|
+
import ThemedModal from "../modal/ThemedModal.js";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
const _worklet_4065181187102_init_data = {
|
|
12
|
+
code: "function ActionSheetWrapTsx1(){const{wrapViewProps,heightSharedVal,translateYSharedVal}=this.__closure;var _wrapViewProps,_heightSharedVal$get,_heightSharedVal,_translateYSharedVal$,_translateYSharedVal;return{...((_wrapViewProps=wrapViewProps)===null||_wrapViewProps===void 0?void 0:_wrapViewProps.style),height:(_heightSharedVal$get=(_heightSharedVal=heightSharedVal)===null||_heightSharedVal===void 0?void 0:_heightSharedVal.get())!==null&&_heightSharedVal$get!==void 0?_heightSharedVal$get:0,transform:[{translateY:(_translateYSharedVal$=(_translateYSharedVal=translateYSharedVal)===null||_translateYSharedVal===void 0?void 0:_translateYSharedVal.get())!==null&&_translateYSharedVal$!==void 0?_translateYSharedVal$:0}]};}",
|
|
13
|
+
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx",
|
|
14
|
+
sourceMap: "{\"version\":3,\"names\":[\"wrapViewProps\",\"_wrapViewProps\",\"style\",\"height\",\"_heightSharedVal$get\",\"_heightSharedVal\",\"heightSharedVal\",\"get\",\"transform\",\"translateY\",\"_translateYSharedVal$\",\"_translateYSharedVal\",\"translateYSharedVal\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx\"],\"mappings\":\"sOA6BSA,aAAa,UAAAC,cAAA,iBAAbA,cAAA,CAAaC,KAAA,EAAAC,MAAA,EAAAC,oBAAA,EAAAC,gBAAA,CACRC,eAAe,UAAAD,gBAAA,iBAAfA,gBAAA,CAAeE,GAAA,YAAAH,oBAAA,UAAAA,oBAAA,EAAY,CAAAI,SAAA,GAAAC,UAAA,EAAAC,qBAAA,EAAAC,oBAAA,CACTC,mBAAmB,UAAAD,oBAAA,iBAAnBA,oBAAA,CAAmBJ,GAAA,YAAAG,qBAAA,UAAAA,qBAAA,EAAY\",\"ignoreList\":[]}"
|
|
15
|
+
};
|
|
16
|
+
const _worklet_1284727352979_init_data = {
|
|
17
|
+
code: "function ActionSheetWrapTsx2(){const{expandable,expandableHeightSharedVal,heightSharedVal}=this.__closure;var _expandableHeightShar,_expandableHeightShar2,_heightSharedVal$get,_heightSharedVal;return{height:expandable?(_expandableHeightShar=(_expandableHeightShar2=expandableHeightSharedVal)===null||_expandableHeightShar2===void 0?void 0:_expandableHeightShar2.get())!==null&&_expandableHeightShar!==void 0?_expandableHeightShar:0:(_heightSharedVal$get=(_heightSharedVal=heightSharedVal)===null||_heightSharedVal===void 0?void 0:_heightSharedVal.get())!==null&&_heightSharedVal$get!==void 0?_heightSharedVal$get:0};}",
|
|
18
|
+
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx",
|
|
19
|
+
sourceMap: "{\"version\":3,\"names\":[\"expandable\",\"_expandableHeightShar\",\"_expandableHeightShar2\",\"expandableHeightSharedVal\",\"get\",\"_heightSharedVal$get\",\"_heightSharedVal\",\"heightSharedVal\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx\"],\"mappings\":\"+MAqCcA,UAAU,EAAAC,qBAAA,EAAAC,sBAAA,CACbC,yBAAyB,UAAAD,sBAAA,iBAAzBA,sBAAA,CAAyBE,GAAA,YAAAH,qBAAA,UAAAA,qBAAA,EAAY,EAAAI,oBAAA,EAAAC,gBAAA,CACrCC,eAAe,UAAAD,gBAAA,iBAAfA,gBAAA,CAAeF,GAAA,YAAAC,oBAAA,UAAAA,oBAAA,EAAa\",\"ignoreList\":[]}"
|
|
20
|
+
};
|
|
21
|
+
const ActionSheetWrap = t0 => {
|
|
22
|
+
const $ = _c(14);
|
|
23
|
+
const {
|
|
24
|
+
wrapViewProps,
|
|
25
|
+
children
|
|
26
|
+
} = t0;
|
|
27
|
+
let t1;
|
|
28
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
29
|
+
t1 = getActionSheetContext();
|
|
30
|
+
$[0] = t1;
|
|
31
|
+
} else {
|
|
32
|
+
t1 = $[0];
|
|
33
|
+
}
|
|
34
|
+
const {
|
|
35
|
+
expandable,
|
|
36
|
+
dismissable,
|
|
37
|
+
translateYSharedVal,
|
|
38
|
+
heightSharedVal,
|
|
39
|
+
expandableHeightSharedVal
|
|
40
|
+
} = t1;
|
|
41
|
+
const onDismiss = useActionSheetOnDismiss();
|
|
42
|
+
const outerWrapAnimatedStyle = useAnimatedStyle(function ActionSheetWrapTsx1Factory({
|
|
43
|
+
_worklet_4065181187102_init_data,
|
|
44
|
+
wrapViewProps,
|
|
45
|
+
heightSharedVal,
|
|
46
|
+
translateYSharedVal
|
|
47
|
+
}) {
|
|
48
|
+
const _e = [new global.Error(), -4, -27];
|
|
49
|
+
const ActionSheetWrapTsx1 = () => ({
|
|
50
|
+
...wrapViewProps?.style,
|
|
51
|
+
height: heightSharedVal?.get() ?? 0,
|
|
52
|
+
transform: [{
|
|
53
|
+
translateY: translateYSharedVal?.get() ?? 0
|
|
54
|
+
}]
|
|
55
|
+
});
|
|
56
|
+
ActionSheetWrapTsx1.__closure = {
|
|
57
|
+
wrapViewProps,
|
|
58
|
+
heightSharedVal,
|
|
59
|
+
translateYSharedVal
|
|
60
|
+
};
|
|
61
|
+
ActionSheetWrapTsx1.__workletHash = 4065181187102;
|
|
62
|
+
ActionSheetWrapTsx1.__pluginVersion = "0.5.1";
|
|
63
|
+
ActionSheetWrapTsx1.__initData = _worklet_4065181187102_init_data;
|
|
64
|
+
ActionSheetWrapTsx1.__stackDetails = _e;
|
|
65
|
+
return ActionSheetWrapTsx1;
|
|
66
|
+
}({
|
|
67
|
+
_worklet_4065181187102_init_data,
|
|
68
|
+
wrapViewProps,
|
|
69
|
+
heightSharedVal,
|
|
70
|
+
translateYSharedVal
|
|
71
|
+
}), [wrapViewProps, translateYSharedVal, heightSharedVal]);
|
|
72
|
+
const innerWrapAnimatedStyle = useAnimatedStyle(function ActionSheetWrapTsx2Factory({
|
|
73
|
+
_worklet_1284727352979_init_data,
|
|
74
|
+
expandable,
|
|
75
|
+
expandableHeightSharedVal,
|
|
76
|
+
heightSharedVal
|
|
77
|
+
}) {
|
|
78
|
+
const _e = [new global.Error(), -4, -27];
|
|
79
|
+
const ActionSheetWrapTsx2 = () => ({
|
|
80
|
+
height: expandable ? expandableHeightSharedVal?.get() ?? 0 : heightSharedVal?.get() ?? 0
|
|
81
|
+
});
|
|
82
|
+
ActionSheetWrapTsx2.__closure = {
|
|
83
|
+
expandable,
|
|
84
|
+
expandableHeightSharedVal,
|
|
85
|
+
heightSharedVal
|
|
86
|
+
};
|
|
87
|
+
ActionSheetWrapTsx2.__workletHash = 1284727352979;
|
|
88
|
+
ActionSheetWrapTsx2.__pluginVersion = "0.5.1";
|
|
89
|
+
ActionSheetWrapTsx2.__initData = _worklet_1284727352979_init_data;
|
|
90
|
+
ActionSheetWrapTsx2.__stackDetails = _e;
|
|
91
|
+
return ActionSheetWrapTsx2;
|
|
92
|
+
}({
|
|
93
|
+
_worklet_1284727352979_init_data,
|
|
94
|
+
expandable,
|
|
95
|
+
expandableHeightSharedVal,
|
|
96
|
+
heightSharedVal
|
|
97
|
+
}), [expandable, heightSharedVal, expandableHeightSharedVal]);
|
|
98
|
+
let t2;
|
|
99
|
+
if ($[1] !== onDismiss) {
|
|
100
|
+
t2 = () => {
|
|
101
|
+
onDismiss();
|
|
102
|
+
};
|
|
103
|
+
$[1] = onDismiss;
|
|
104
|
+
$[2] = t2;
|
|
105
|
+
} else {
|
|
106
|
+
t2 = $[2];
|
|
107
|
+
}
|
|
108
|
+
const onModalDismiss = t2;
|
|
109
|
+
let t3;
|
|
110
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
111
|
+
t3 = getActionSheetMaxHeight(expandable);
|
|
112
|
+
$[3] = t3;
|
|
113
|
+
} else {
|
|
114
|
+
t3 = $[3];
|
|
115
|
+
}
|
|
116
|
+
let t4;
|
|
117
|
+
if ($[4] !== children || $[5] !== innerWrapAnimatedStyle) {
|
|
118
|
+
t4 = /*#__PURE__*/_jsx(AnimatedThemedView, {
|
|
119
|
+
style: innerWrapAnimatedStyle,
|
|
120
|
+
children: children
|
|
121
|
+
});
|
|
122
|
+
$[4] = children;
|
|
123
|
+
$[5] = innerWrapAnimatedStyle;
|
|
124
|
+
$[6] = t4;
|
|
125
|
+
} else {
|
|
126
|
+
t4 = $[6];
|
|
127
|
+
}
|
|
128
|
+
let t5;
|
|
129
|
+
if ($[7] !== outerWrapAnimatedStyle || $[8] !== t4 || $[9] !== wrapViewProps) {
|
|
130
|
+
t5 = /*#__PURE__*/_jsx(AnimatedThemedView, {
|
|
131
|
+
alignSelf: "stretch",
|
|
132
|
+
maxHeight: t3,
|
|
133
|
+
overflow: "hidden",
|
|
134
|
+
...wrapViewProps,
|
|
135
|
+
style: outerWrapAnimatedStyle,
|
|
136
|
+
children: t4
|
|
137
|
+
});
|
|
138
|
+
$[7] = outerWrapAnimatedStyle;
|
|
139
|
+
$[8] = t4;
|
|
140
|
+
$[9] = wrapViewProps;
|
|
141
|
+
$[10] = t5;
|
|
142
|
+
} else {
|
|
143
|
+
t5 = $[10];
|
|
144
|
+
}
|
|
145
|
+
let t6;
|
|
146
|
+
if ($[11] !== onModalDismiss || $[12] !== t5) {
|
|
147
|
+
t6 = /*#__PURE__*/_jsx(ThemedModal, {
|
|
148
|
+
onDismiss: onModalDismiss,
|
|
149
|
+
dismissable: dismissable,
|
|
150
|
+
justifyContent: "flex-end",
|
|
151
|
+
children: t5
|
|
152
|
+
});
|
|
153
|
+
$[11] = onModalDismiss;
|
|
154
|
+
$[12] = t5;
|
|
155
|
+
$[13] = t6;
|
|
156
|
+
} else {
|
|
157
|
+
t6 = $[13];
|
|
158
|
+
}
|
|
159
|
+
return t6;
|
|
160
|
+
};
|
|
161
|
+
export default ActionSheetWrap;
|
|
162
|
+
//# sourceMappingURL=ActionSheetWrap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useAnimatedStyle","useActionSheetOnDismiss","getActionSheetContext","getActionSheetMaxHeight","AnimatedThemedView","ThemedModal","jsx","_jsx","_worklet_4065181187102_init_data","code","location","sourceMap","_worklet_1284727352979_init_data","ActionSheetWrap","t0","$","_c","wrapViewProps","children","t1","Symbol","for","expandable","dismissable","translateYSharedVal","heightSharedVal","expandableHeightSharedVal","onDismiss","outerWrapAnimatedStyle","ActionSheetWrapTsx1Factory","_e","global","Error","ActionSheetWrapTsx1","style","height","get","transform","translateY","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","innerWrapAnimatedStyle","ActionSheetWrapTsx2Factory","ActionSheetWrapTsx2","t2","onModalDismiss","t3","t4","t5","alignSelf","maxHeight","overflow","t6","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetWrap.tsx"],"mappings":";;;AAAA;AAEA,SAASA,gBAAgB,QAAQ,yBAAyB;AAC1D,SAASC,uBAAuB,QAAQ,2BAAwB;AAKhE,SACEC,qBAAqB,EACrBC,uBAAuB,QAClB,gCAA6B;AACpC,OAAOC,kBAAkB,MAAM,kCAA+B;AAC9D,OAAOC,WAAW,MAAM,yBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAAA,MAAAC,gCAAA;EAAAC,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AAAA,MAAAC,gCAAA;EAAAH,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AAE/C,MAAME,eAAyC,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAC;IAAAC,aAAA;IAAAC;EAAA,IAAAJ,EAGlD;EAAA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