@jamadd/react-native-template-ui 0.2.1 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/module/components/button/AnimatedThemedPressable.js +5 -17
- package/lib/module/components/button/AnimatedThemedPressable.js.map +1 -1
- package/lib/module/components/button/ThemedButton.js +20 -75
- package/lib/module/components/button/ThemedButton.js.map +1 -1
- package/lib/module/components/button/ThemedIconButton.js +16 -62
- package/lib/module/components/button/ThemedIconButton.js.map +1 -1
- package/lib/module/components/button/ThemedIconTextButton.js +29 -118
- package/lib/module/components/button/ThemedIconTextButton.js.map +1 -1
- package/lib/module/components/button/ThemedPressable.js +5 -17
- package/lib/module/components/button/ThemedPressable.js.map +1 -1
- package/lib/module/components/icon/ThemedIcon.js +15 -56
- package/lib/module/components/icon/ThemedIcon.js.map +1 -1
- package/lib/module/components/list/List.js +39 -131
- package/lib/module/components/list/List.js.map +1 -1
- package/lib/module/components/loading/ThemedLoading.js +13 -50
- package/lib/module/components/loading/ThemedLoading.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheet.js +19 -64
- package/lib/module/components/overlay/actionSheet/ActionSheet.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +8 -19
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +31 -87
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +25 -66
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +14 -39
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js +25 -58
- package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js +21 -45
- package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js +30 -72
- package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +28 -69
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +18 -45
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +31 -139
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
- package/lib/module/components/overlay/alert/Alert.js +47 -125
- package/lib/module/components/overlay/alert/Alert.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertButton.js +26 -62
- package/lib/module/components/overlay/alert/AlertButton.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertButtons.js +23 -58
- package/lib/module/components/overlay/alert/AlertButtons.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertContent.js +15 -45
- package/lib/module/components/overlay/alert/AlertContent.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertWrap.js +45 -132
- package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js +21 -96
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js.map +1 -1
- package/lib/module/components/overlay/modal/ThemedModal.js +23 -75
- package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -1
- package/lib/module/components/overlay/toast/ThemedToast.js +91 -321
- package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
- package/lib/module/components/provider/GestureProvider.js +3 -15
- package/lib/module/components/provider/GestureProvider.js.map +1 -1
- package/lib/module/components/provider/InsetsProvider.js +3 -15
- package/lib/module/components/provider/InsetsProvider.js.map +1 -1
- package/lib/module/components/provider/ReactNativeTemplateProviders.js +11 -23
- package/lib/module/components/provider/ReactNativeTemplateProviders.js.map +1 -1
- package/lib/module/components/provider/ThemeProvider.js +3 -15
- package/lib/module/components/provider/ThemeProvider.js.map +1 -1
- package/lib/module/components/separator/ThemedSeparator.js +14 -53
- package/lib/module/components/separator/ThemedSeparator.js.map +1 -1
- package/lib/module/components/switch/ThemedSwitch.js +21 -89
- package/lib/module/components/switch/ThemedSwitch.js.map +1 -1
- package/lib/module/components/text/ThemedIconText.js +35 -124
- package/lib/module/components/text/ThemedIconText.js.map +1 -1
- package/lib/module/components/text/ThemedText.js +3 -15
- package/lib/module/components/text/ThemedText.js.map +1 -1
- package/lib/module/components/view/AnimatedThemedView.js +10 -33
- package/lib/module/components/view/AnimatedThemedView.js.map +1 -1
- package/lib/module/components/view/ThemedScreenWrap.js +32 -110
- package/lib/module/components/view/ThemedScreenWrap.js.map +1 -1
- package/lib/module/components/view/ThemedScreenWrap.web.js +32 -111
- package/lib/module/components/view/ThemedScreenWrap.web.js.map +1 -1
- package/lib/module/components/view/ThemedScrollView.js +38 -126
- package/lib/module/components/view/ThemedScrollView.js.map +1 -1
- package/lib/module/components/view/ThemedView.js +10 -33
- package/lib/module/components/view/ThemedView.js.map +1 -1
- package/lib/module/hooks/button.js +54 -158
- package/lib/module/hooks/button.js.map +1 -1
- package/lib/module/hooks/list.js +10 -50
- package/lib/module/hooks/list.js.map +1 -1
- package/lib/module/hooks/overlay.js +170 -528
- package/lib/module/hooks/overlay.js.map +1 -1
- package/lib/module/hooks/reanimated.js.map +1 -1
- package/lib/module/hooks/style.js +18 -43
- package/lib/module/hooks/style.js.map +1 -1
- package/lib/module/hooks/switch.js +44 -182
- package/lib/module/hooks/switch.js.map +1 -1
- package/lib/module/hooks/theme.js +8 -17
- package/lib/module/hooks/theme.js.map +1 -1
- package/lib/module/hooks/view.js.map +1 -1
- package/lib/module/utils/reanimated/func.js +10 -60
- package/lib/module/utils/reanimated/func.js.map +1 -1
- package/lib/typescript/src/components/button/AnimatedPressable.d.ts.map +1 -0
- package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts.map +1 -0
- package/lib/typescript/src/components/button/ThemedButton.d.ts.map +1 -0
- package/lib/typescript/src/components/button/ThemedIconButton.d.ts.map +1 -0
- package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts.map +1 -0
- package/lib/typescript/src/components/button/ThemedPressable.d.ts.map +1 -0
- package/lib/typescript/src/components/icon/ThemedIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/list/List.d.ts.map +1 -0
- package/lib/typescript/src/components/loading/ThemedLoading.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/alert/Alert.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts.map +1 -0
- package/lib/typescript/src/components/provider/GestureProvider.d.ts.map +1 -0
- package/lib/typescript/src/components/provider/InsetsProvider.d.ts.map +1 -0
- package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -0
- package/lib/typescript/src/components/provider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/components/separator/ThemedSeparator.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/ThemedSwitch.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → src}/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/text/ThemedIconText.d.ts.map +1 -0
- package/lib/typescript/src/components/text/ThemedText.d.ts.map +1 -0
- package/lib/typescript/{module/src → src}/components/view/AnimatedBox.d.ts.map +1 -1
- package/lib/typescript/src/components/view/AnimatedThemedView.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → src}/components/view/Box.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts.map +1 -0
- package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -0
- package/lib/typescript/src/components/view/ThemedScrollView.d.ts.map +1 -0
- package/lib/typescript/src/components/view/ThemedView.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → src}/hooks/button.d.ts.map +1 -1
- package/lib/typescript/src/hooks/list.d.ts.map +1 -0
- package/lib/typescript/src/hooks/overlay.d.ts.map +1 -0
- package/lib/typescript/src/hooks/reanimated.d.ts.map +1 -0
- package/lib/typescript/src/hooks/separator.d.ts.map +1 -0
- package/lib/typescript/src/hooks/style.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → src}/hooks/switch.d.ts.map +1 -1
- package/lib/typescript/src/hooks/theme.d.ts.map +1 -0
- package/lib/typescript/src/hooks/view.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/test/utils/const.d.ts.map +1 -0
- package/lib/typescript/src/test/utils/func.d.ts.map +1 -0
- package/lib/typescript/src/test/utils/testingLib.d.ts.map +1 -0
- package/lib/typescript/src/types/button.d.ts.map +1 -0
- package/lib/typescript/src/types/icon.d.ts.map +1 -0
- package/lib/typescript/src/types/list.d.ts.map +1 -0
- package/lib/typescript/src/types/loading.d.ts.map +1 -0
- package/lib/typescript/src/types/overlay.d.ts.map +1 -0
- package/lib/typescript/src/types/provider.d.ts.map +1 -0
- package/lib/typescript/src/types/react.d.ts.map +1 -0
- package/lib/typescript/src/types/reanimated.d.ts.map +1 -0
- package/lib/typescript/src/types/separator.d.ts.map +1 -0
- package/lib/typescript/src/types/style.d.ts.map +1 -0
- package/lib/typescript/src/types/switch.d.ts.map +1 -0
- package/lib/typescript/src/types/text.d.ts.map +1 -0
- package/lib/typescript/src/types/theme.d.ts.map +1 -0
- package/lib/typescript/src/types/view.d.ts.map +1 -0
- package/lib/typescript/src/utils/button/const.d.ts.map +1 -0
- package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -0
- package/lib/typescript/src/utils/overlay/func.d.ts.map +1 -0
- package/lib/typescript/src/utils/reanimated/func.d.ts.map +1 -0
- package/lib/typescript/src/utils/style/const.d.ts.map +1 -0
- package/lib/typescript/src/utils/style/func.d.ts.map +1 -0
- package/lib/typescript/src/utils/switch/const.d.ts.map +1 -0
- package/lib/typescript/src/utils/theme/const.d.ts.map +1 -0
- package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -0
- package/package.json +57 -78
- package/lib/commonjs/components/button/AnimatedPressable.js +0 -14
- package/lib/commonjs/components/button/AnimatedPressable.js.map +0 -1
- package/lib/commonjs/components/button/AnimatedThemedPressable.js +0 -36
- package/lib/commonjs/components/button/AnimatedThemedPressable.js.map +0 -1
- package/lib/commonjs/components/button/ThemedButton.js +0 -97
- package/lib/commonjs/components/button/ThemedButton.js.map +0 -1
- package/lib/commonjs/components/button/ThemedIconButton.js +0 -81
- package/lib/commonjs/components/button/ThemedIconButton.js.map +0 -1
- package/lib/commonjs/components/button/ThemedIconTextButton.js +0 -146
- package/lib/commonjs/components/button/ThemedIconTextButton.js.map +0 -1
- package/lib/commonjs/components/button/ThemedPressable.js +0 -35
- package/lib/commonjs/components/button/ThemedPressable.js.map +0 -1
- package/lib/commonjs/components/icon/ThemedIcon.js +0 -71
- package/lib/commonjs/components/icon/ThemedIcon.js.map +0 -1
- package/lib/commonjs/components/list/List.js +0 -144
- package/lib/commonjs/components/list/List.js.map +0 -1
- package/lib/commonjs/components/loading/ThemedLoading.js +0 -64
- package/lib/commonjs/components/loading/ThemedLoading.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js +0 -80
- package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js +0 -34
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js +0 -119
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js +0 -84
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js +0 -57
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js +0 -82
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js +0 -67
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js +0 -92
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js +0 -89
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js +0 -64
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +0 -1
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js +0 -167
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js.map +0 -1
- package/lib/commonjs/components/overlay/alert/Alert.js +0 -160
- package/lib/commonjs/components/overlay/alert/Alert.js.map +0 -1
- package/lib/commonjs/components/overlay/alert/AlertButton.js +0 -82
- package/lib/commonjs/components/overlay/alert/AlertButton.js.map +0 -1
- package/lib/commonjs/components/overlay/alert/AlertButtons.js +0 -71
- package/lib/commonjs/components/overlay/alert/AlertButtons.js.map +0 -1
- package/lib/commonjs/components/overlay/alert/AlertContent.js +0 -61
- package/lib/commonjs/components/overlay/alert/AlertContent.js.map +0 -1
- package/lib/commonjs/components/overlay/alert/AlertWrap.js +0 -157
- package/lib/commonjs/components/overlay/alert/AlertWrap.js.map +0 -1
- package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js +0 -122
- package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js.map +0 -1
- package/lib/commonjs/components/overlay/modal/ThemedModal.js +0 -94
- package/lib/commonjs/components/overlay/modal/ThemedModal.js.map +0 -1
- package/lib/commonjs/components/overlay/toast/ThemedToast.js +0 -357
- package/lib/commonjs/components/overlay/toast/ThemedToast.js.map +0 -1
- package/lib/commonjs/components/provider/GestureProvider.js +0 -25
- package/lib/commonjs/components/provider/GestureProvider.js.map +0 -1
- package/lib/commonjs/components/provider/InsetsProvider.js +0 -25
- package/lib/commonjs/components/provider/InsetsProvider.js.map +0 -1
- package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js +0 -38
- package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js.map +0 -1
- package/lib/commonjs/components/provider/ThemeProvider.js +0 -25
- package/lib/commonjs/components/provider/ThemeProvider.js.map +0 -1
- package/lib/commonjs/components/separator/ThemedSeparator.js +0 -66
- package/lib/commonjs/components/separator/ThemedSeparator.js.map +0 -1
- package/lib/commonjs/components/switch/ThemedSwitch.js +0 -114
- package/lib/commonjs/components/switch/ThemedSwitch.js.map +0 -1
- package/lib/commonjs/components/text/Text.js +0 -12
- package/lib/commonjs/components/text/Text.js.map +0 -1
- package/lib/commonjs/components/text/ThemedIconText.js +0 -143
- package/lib/commonjs/components/text/ThemedIconText.js.map +0 -1
- package/lib/commonjs/components/text/ThemedText.js +0 -26
- package/lib/commonjs/components/text/ThemedText.js.map +0 -1
- package/lib/commonjs/components/view/AnimatedBox.js +0 -14
- package/lib/commonjs/components/view/AnimatedBox.js.map +0 -1
- package/lib/commonjs/components/view/AnimatedThemedView.js +0 -45
- package/lib/commonjs/components/view/AnimatedThemedView.js.map +0 -1
- package/lib/commonjs/components/view/Box.js +0 -12
- package/lib/commonjs/components/view/Box.js.map +0 -1
- package/lib/commonjs/components/view/ThemedScreenWrap.js +0 -124
- package/lib/commonjs/components/view/ThemedScreenWrap.js.map +0 -1
- package/lib/commonjs/components/view/ThemedScreenWrap.web.js +0 -126
- package/lib/commonjs/components/view/ThemedScreenWrap.web.js.map +0 -1
- package/lib/commonjs/components/view/ThemedScrollView.js +0 -141
- package/lib/commonjs/components/view/ThemedScrollView.js.map +0 -1
- package/lib/commonjs/components/view/ThemedView.js +0 -45
- package/lib/commonjs/components/view/ThemedView.js.map +0 -1
- package/lib/commonjs/hooks/button.js +0 -203
- package/lib/commonjs/hooks/button.js.map +0 -1
- package/lib/commonjs/hooks/list.js +0 -66
- package/lib/commonjs/hooks/list.js.map +0 -1
- package/lib/commonjs/hooks/overlay.js +0 -703
- package/lib/commonjs/hooks/overlay.js.map +0 -1
- package/lib/commonjs/hooks/reanimated.js +0 -11
- package/lib/commonjs/hooks/reanimated.js.map +0 -1
- package/lib/commonjs/hooks/separator.js +0 -22
- package/lib/commonjs/hooks/separator.js.map +0 -1
- package/lib/commonjs/hooks/style.js +0 -92
- package/lib/commonjs/hooks/style.js.map +0 -1
- package/lib/commonjs/hooks/switch.js +0 -209
- package/lib/commonjs/hooks/switch.js.map +0 -1
- package/lib/commonjs/hooks/theme.js +0 -70
- package/lib/commonjs/hooks/theme.js.map +0 -1
- package/lib/commonjs/hooks/view.js +0 -11
- package/lib/commonjs/hooks/view.js.map +0 -1
- package/lib/commonjs/index.js +0 -533
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/test/utils/const.js +0 -19
- package/lib/commonjs/test/utils/const.js.map +0 -1
- package/lib/commonjs/test/utils/func.js +0 -60
- package/lib/commonjs/test/utils/func.js.map +0 -1
- package/lib/commonjs/test/utils/testingLib.js +0 -38
- package/lib/commonjs/test/utils/testingLib.js.map +0 -1
- package/lib/commonjs/types/button.js +0 -6
- package/lib/commonjs/types/button.js.map +0 -1
- package/lib/commonjs/types/global.d.js +0 -6
- package/lib/commonjs/types/global.d.js.map +0 -1
- package/lib/commonjs/types/icon.js +0 -6
- package/lib/commonjs/types/icon.js.map +0 -1
- package/lib/commonjs/types/list.js +0 -6
- package/lib/commonjs/types/list.js.map +0 -1
- package/lib/commonjs/types/loading.js +0 -6
- package/lib/commonjs/types/loading.js.map +0 -1
- package/lib/commonjs/types/overlay.js +0 -6
- package/lib/commonjs/types/overlay.js.map +0 -1
- package/lib/commonjs/types/provider.js +0 -6
- package/lib/commonjs/types/provider.js.map +0 -1
- package/lib/commonjs/types/react.js +0 -6
- package/lib/commonjs/types/react.js.map +0 -1
- package/lib/commonjs/types/reanimated.js +0 -6
- package/lib/commonjs/types/reanimated.js.map +0 -1
- package/lib/commonjs/types/separator.js +0 -6
- package/lib/commonjs/types/separator.js.map +0 -1
- package/lib/commonjs/types/style.js +0 -6
- package/lib/commonjs/types/style.js.map +0 -1
- package/lib/commonjs/types/switch.js +0 -6
- package/lib/commonjs/types/switch.js.map +0 -1
- package/lib/commonjs/types/text.js +0 -6
- package/lib/commonjs/types/text.js.map +0 -1
- package/lib/commonjs/types/theme.js +0 -6
- package/lib/commonjs/types/theme.js.map +0 -1
- package/lib/commonjs/types/view.js +0 -6
- package/lib/commonjs/types/view.js.map +0 -1
- package/lib/commonjs/utils/button/const.js +0 -17
- package/lib/commonjs/utils/button/const.js.map +0 -1
- package/lib/commonjs/utils/overlay/const.js +0 -73
- package/lib/commonjs/utils/overlay/const.js.map +0 -1
- package/lib/commonjs/utils/overlay/func.js +0 -63
- package/lib/commonjs/utils/overlay/func.js.map +0 -1
- package/lib/commonjs/utils/reanimated/func.js +0 -77
- package/lib/commonjs/utils/reanimated/func.js.map +0 -1
- package/lib/commonjs/utils/style/const.js +0 -12
- package/lib/commonjs/utils/style/const.js.map +0 -1
- package/lib/commonjs/utils/style/func.js +0 -39
- package/lib/commonjs/utils/style/func.js.map +0 -1
- package/lib/commonjs/utils/switch/const.js +0 -9
- package/lib/commonjs/utils/switch/const.js.map +0 -1
- package/lib/commonjs/utils/theme/const.js +0 -188
- package/lib/commonjs/utils/theme/const.js.map +0 -1
- package/lib/commonjs/utils/theme/restyle.js +0 -22
- package/lib/commonjs/utils/theme/restyle.js.map +0 -1
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/components/button/AnimatedPressable.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/button/AnimatedThemedPressable.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/button/ThemedButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/button/ThemedIconButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/button/ThemedIconTextButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/button/ThemedPressable.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/icon/ThemedIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/list/List.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/loading/ThemedLoading.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheet.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/alert/Alert.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertButtons.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertContent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertWrap.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedModal.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/overlay/toast/ThemedToast.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/provider/GestureProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/provider/InsetsProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/provider/ReactNativeTemplateProviders.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/provider/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/separator/ThemedSeparator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/switch/ThemedSwitch.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/text/ThemedIconText.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/text/ThemedText.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/view/AnimatedThemedView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/view/ThemedScrollView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/view/ThemedView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/list.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/overlay.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/reanimated.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/separator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/style.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/theme.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/view.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/test/utils/const.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/test/utils/func.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/test/utils/testingLib.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/button.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/icon.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/list.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/loading.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/overlay.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/provider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/react.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/reanimated.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/separator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/style.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/switch.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/text.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/theme.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/view.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/button/const.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/overlay/const.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/overlay/func.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/reanimated/func.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/style/const.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/style/func.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/switch/const.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/AnimatedPressable.d.ts +0 -3
- package/lib/typescript/module/src/components/button/AnimatedPressable.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/AnimatedThemedPressable.d.ts +0 -5
- package/lib/typescript/module/src/components/button/AnimatedThemedPressable.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/ThemedButton.d.ts +0 -5
- package/lib/typescript/module/src/components/button/ThemedButton.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/ThemedIconButton.d.ts +0 -5
- package/lib/typescript/module/src/components/button/ThemedIconButton.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/ThemedIconTextButton.d.ts +0 -5
- package/lib/typescript/module/src/components/button/ThemedIconTextButton.d.ts.map +0 -1
- package/lib/typescript/module/src/components/button/ThemedPressable.d.ts +0 -5
- package/lib/typescript/module/src/components/button/ThemedPressable.d.ts.map +0 -1
- package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts +0 -5
- package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts.map +0 -1
- package/lib/typescript/module/src/components/list/List.d.ts +0 -4
- package/lib/typescript/module/src/components/list/List.d.ts.map +0 -1
- package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts +0 -5
- package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +0 -4
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +0 -4
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts +0 -4
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts +0 -4
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +0 -4
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +0 -4
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/alert/AlertButton.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/alert/AlertButton.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/alert/AlertButtons.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/alert/AlertButtons.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts +0 -12
- package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts.map +0 -1
- package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts +0 -5
- package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts.map +0 -1
- package/lib/typescript/module/src/components/provider/GestureProvider.d.ts +0 -5
- package/lib/typescript/module/src/components/provider/GestureProvider.d.ts.map +0 -1
- package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts +0 -5
- package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts.map +0 -1
- package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts +0 -5
- package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts.map +0 -1
- package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts +0 -5
- package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts +0 -5
- package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts.map +0 -1
- package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts +0 -5
- package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts.map +0 -1
- package/lib/typescript/module/src/components/text/Text.d.ts +0 -1987
- package/lib/typescript/module/src/components/text/Text.d.ts.map +0 -1
- package/lib/typescript/module/src/components/text/ThemedIconText.d.ts +0 -5
- package/lib/typescript/module/src/components/text/ThemedIconText.d.ts.map +0 -1
- package/lib/typescript/module/src/components/text/ThemedText.d.ts +0 -5
- package/lib/typescript/module/src/components/text/ThemedText.d.ts.map +0 -1
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts +0 -1023
- package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts +0 -5
- package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/view/Box.d.ts +0 -2045
- package/lib/typescript/module/src/components/view/Box.d.ts.map +0 -1
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts +0 -5
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts.map +0 -1
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts +0 -5
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts.map +0 -1
- package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts +0 -5
- package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts.map +0 -1
- package/lib/typescript/module/src/components/view/ThemedView.d.ts +0 -5
- package/lib/typescript/module/src/components/view/ThemedView.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/button.d.ts +0 -1647
- package/lib/typescript/module/src/hooks/button.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/list.d.ts +0 -4
- package/lib/typescript/module/src/hooks/list.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/overlay.d.ts +0 -16
- package/lib/typescript/module/src/hooks/overlay.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/reanimated.d.ts +0 -3
- package/lib/typescript/module/src/hooks/reanimated.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/separator.d.ts +0 -5
- package/lib/typescript/module/src/hooks/separator.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/style.d.ts +0 -11
- package/lib/typescript/module/src/hooks/style.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/switch.d.ts +0 -2
- package/lib/typescript/module/src/hooks/switch.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/theme.d.ts +0 -329
- package/lib/typescript/module/src/hooks/theme.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/view.d.ts +0 -3
- package/lib/typescript/module/src/hooks/view.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -53
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/test/utils/const.d.ts +0 -4
- package/lib/typescript/module/src/test/utils/const.d.ts.map +0 -1
- package/lib/typescript/module/src/test/utils/func.d.ts +0 -108
- package/lib/typescript/module/src/test/utils/func.d.ts.map +0 -1
- package/lib/typescript/module/src/test/utils/testingLib.d.ts +0 -6
- package/lib/typescript/module/src/test/utils/testingLib.d.ts.map +0 -1
- package/lib/typescript/module/src/types/button.d.ts +0 -32
- package/lib/typescript/module/src/types/button.d.ts.map +0 -1
- package/lib/typescript/module/src/types/icon.d.ts +0 -19
- package/lib/typescript/module/src/types/icon.d.ts.map +0 -1
- package/lib/typescript/module/src/types/list.d.ts +0 -29
- package/lib/typescript/module/src/types/list.d.ts.map +0 -1
- package/lib/typescript/module/src/types/loading.d.ts +0 -12
- package/lib/typescript/module/src/types/loading.d.ts.map +0 -1
- package/lib/typescript/module/src/types/overlay.d.ts +0 -106
- package/lib/typescript/module/src/types/overlay.d.ts.map +0 -1
- package/lib/typescript/module/src/types/provider.d.ts +0 -6
- package/lib/typescript/module/src/types/provider.d.ts.map +0 -1
- package/lib/typescript/module/src/types/react.d.ts +0 -6
- package/lib/typescript/module/src/types/react.d.ts.map +0 -1
- package/lib/typescript/module/src/types/reanimated.d.ts +0 -5
- package/lib/typescript/module/src/types/reanimated.d.ts.map +0 -1
- package/lib/typescript/module/src/types/separator.d.ts +0 -7
- package/lib/typescript/module/src/types/separator.d.ts.map +0 -1
- package/lib/typescript/module/src/types/style.d.ts +0 -18
- package/lib/typescript/module/src/types/style.d.ts.map +0 -1
- package/lib/typescript/module/src/types/switch.d.ts +0 -27
- package/lib/typescript/module/src/types/switch.d.ts.map +0 -1
- package/lib/typescript/module/src/types/text.d.ts +0 -19
- package/lib/typescript/module/src/types/text.d.ts.map +0 -1
- package/lib/typescript/module/src/types/theme.d.ts +0 -15
- package/lib/typescript/module/src/types/theme.d.ts.map +0 -1
- package/lib/typescript/module/src/types/view.d.ts +0 -22
- package/lib/typescript/module/src/types/view.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/button/const.d.ts +0 -9
- package/lib/typescript/module/src/utils/button/const.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/overlay/const.d.ts +0 -24
- package/lib/typescript/module/src/utils/overlay/const.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/overlay/func.d.ts +0 -11
- package/lib/typescript/module/src/utils/overlay/func.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/reanimated/func.d.ts +0 -2
- package/lib/typescript/module/src/utils/reanimated/func.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/style/const.d.ts +0 -5
- package/lib/typescript/module/src/utils/style/const.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/style/func.d.ts +0 -10
- package/lib/typescript/module/src/utils/style/func.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/switch/const.d.ts +0 -2
- package/lib/typescript/module/src/utils/switch/const.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/theme/const.d.ts +0 -173
- package/lib/typescript/module/src/utils/theme/const.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/theme/restyle.d.ts +0 -1196
- package/lib/typescript/module/src/utils/theme/restyle.d.ts.map +0 -1
- /package/lib/typescript/{module/package.json → package.json} +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/button/AnimatedPressable.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/button/AnimatedThemedPressable.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/button/ThemedButton.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/button/ThemedIconButton.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/button/ThemedIconTextButton.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/button/ThemedPressable.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/icon/ThemedIcon.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/list/List.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/loading/ThemedLoading.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheet.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetHeader.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetListView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetOptList.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetOpts.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetScrollView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/actionSheet/ActionSheetWrap.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/Alert.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/AlertButton.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/AlertButtons.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/AlertContent.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/alert/AlertWrap.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/modal/ThemedLoadingModal.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/modal/ThemedModal.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/overlay/toast/ThemedToast.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/provider/GestureProvider.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/provider/InsetsProvider.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/provider/ReactNativeTemplateProviders.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/provider/ThemeProvider.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/separator/ThemedSeparator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/switch/ThemedSwitch.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/text/Text.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/text/ThemedIconText.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/text/ThemedText.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/view/AnimatedBox.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/view/AnimatedThemedView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/view/Box.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/view/ThemedScreenWrap.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/view/ThemedScreenWrap.web.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/view/ThemedScrollView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/components/view/ThemedView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/hooks/button.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/hooks/list.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/hooks/overlay.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/hooks/reanimated.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/hooks/separator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/hooks/style.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/hooks/switch.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/hooks/theme.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/hooks/view.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/test/utils/const.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/test/utils/func.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/test/utils/testingLib.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/button.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/icon.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/list.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/loading.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/overlay.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/provider.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/react.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/reanimated.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/separator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/style.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/switch.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/text.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/theme.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types/view.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/button/const.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/overlay/const.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/overlay/func.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/reanimated/func.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/style/const.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/style/func.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/switch/const.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/theme/const.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/theme/restyle.d.ts +0 -0
|
@@ -1,83 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
/** @internal */
|
|
4
|
+
|
|
5
5
|
import { useActionSheetScrollView } from "../../../hooks/overlay.js";
|
|
6
6
|
import { ActionSheetContext } from "../../../utils/overlay/const.js";
|
|
7
7
|
import ActionSheetHeader from "./ActionSheetHeader.js";
|
|
8
8
|
import ActionSheetScrollViewContent from "./ActionSheetScrollViewContent.js";
|
|
9
9
|
import ActionSheetWrap from "./ActionSheetWrap.js";
|
|
10
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
const ActionSheetScrollView =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
headerIconButtonProps
|
|
25
|
-
} = t0;
|
|
11
|
+
const ActionSheetScrollView = ({
|
|
12
|
+
title,
|
|
13
|
+
expandable,
|
|
14
|
+
scrollViewProps,
|
|
15
|
+
children,
|
|
16
|
+
onDismiss,
|
|
17
|
+
dismissable,
|
|
18
|
+
wrapViewProps,
|
|
19
|
+
headerShowIcon,
|
|
20
|
+
headerWrapProps,
|
|
21
|
+
headerTextProps,
|
|
22
|
+
headerIconButtonProps
|
|
23
|
+
}) => {
|
|
26
24
|
const actionSheetContextVal = useActionSheetScrollView(title, expandable, scrollViewProps, onDismiss, dismissable);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
headerShowIcon: headerShowIcon,
|
|
31
|
-
headerWrapProps: headerWrapProps,
|
|
32
|
-
headerTextProps: headerTextProps,
|
|
33
|
-
headerIconButtonProps: headerIconButtonProps
|
|
34
|
-
});
|
|
35
|
-
$[0] = headerIconButtonProps;
|
|
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, {
|
|
25
|
+
return /*#__PURE__*/_jsx(ActionSheetContext.Provider, {
|
|
26
|
+
value: actionSheetContextVal,
|
|
27
|
+
children: /*#__PURE__*/_jsxs(ActionSheetWrap, {
|
|
58
28
|
wrapViewProps: wrapViewProps,
|
|
59
|
-
children: [
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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;
|
|
29
|
+
children: [/*#__PURE__*/_jsx(ActionSheetHeader, {
|
|
30
|
+
headerShowIcon: headerShowIcon,
|
|
31
|
+
headerWrapProps: headerWrapProps,
|
|
32
|
+
headerTextProps: headerTextProps,
|
|
33
|
+
headerIconButtonProps: headerIconButtonProps
|
|
34
|
+
}), /*#__PURE__*/_jsx(ActionSheetScrollViewContent, {
|
|
35
|
+
scrollViewProps: scrollViewProps,
|
|
36
|
+
children: children
|
|
37
|
+
})]
|
|
38
|
+
})
|
|
39
|
+
});
|
|
81
40
|
};
|
|
82
41
|
export default ActionSheetScrollView;
|
|
83
42
|
//# sourceMappingURL=ActionSheetScrollView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useActionSheetScrollView","ActionSheetContext","ActionSheetHeader","ActionSheetScrollViewContent","ActionSheetWrap","jsx","_jsx","jsxs","_jsxs","ActionSheetScrollView","
|
|
1
|
+
{"version":3,"names":["useActionSheetScrollView","ActionSheetContext","ActionSheetHeader","ActionSheetScrollViewContent","ActionSheetWrap","jsx","_jsx","jsxs","_jsxs","ActionSheetScrollView","title","expandable","scrollViewProps","children","onDismiss","dismissable","wrapViewProps","headerShowIcon","headerWrapProps","headerTextProps","headerIconButtonProps","actionSheetContextVal","Provider","value"],"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,GAAGA,CAAC;EAC7DC,KAAK;EACLC,UAAU;EACVC,eAAe;EACfC,QAAQ;EACRC,SAAS;EACTC,WAAW;EACXC,aAAa;EACbC,cAAc;EACdC,eAAe;EACfC,eAAe;EACfC;AACF,CAAC,KAAK;EACJ,MAAMC,qBAAqB,GAAGrB,wBAAwB,CACpDU,KAAK,EACLC,UAAU,EACVC,eAAe,EACfE,SAAS,EACTC,WACF,CAAC;EAED,oBACET,IAAA,CAACL,kBAAkB,CAACqB,QAAQ;IAACC,KAAK,EAAEF,qBAAsB;IAAAR,QAAA,eACxDL,KAAA,CAACJ,eAAe;MAACY,aAAa,EAAEA,aAAc;MAAAH,QAAA,gBAC5CP,IAAA,CAACJ,iBAAiB;QAChBe,cAAc,EAAEA,cAAe;QAC/BC,eAAe,EAAEA,eAAgB;QACjCC,eAAe,EAAEA,eAAgB;QACjCC,qBAAqB,EAAEA;MAAsB,CAC9C,CAAC,eACFd,IAAA,CAACH,4BAA4B;QAACS,eAAe,EAAEA,eAAgB;QAAAC,QAAA,EAC5DA;MAAQ,CACmB,CAAC;IAAA,CAChB;EAAC,CACS,CAAC;AAElC,CAAC;AAED,eAAeJ,qBAAqB","ignoreList":[]}
|
|
@@ -1,58 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
/** @internal */
|
|
4
|
+
|
|
5
5
|
import { getActionSheetContext } from "../../../utils/overlay/func.js";
|
|
6
6
|
import ThemedScrollView from "../../view/ThemedScrollView.js";
|
|
7
7
|
import ActionSheetContentGesture from "./ActionSheetContentGesture.js";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
const ActionSheetScrollViewContent =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
}
|
|
9
|
+
const ActionSheetScrollViewContent = ({
|
|
10
|
+
scrollViewProps,
|
|
11
|
+
children
|
|
12
|
+
}) => {
|
|
22
13
|
const {
|
|
23
14
|
contentAnimatedRefObj,
|
|
24
15
|
setContentHeight
|
|
25
|
-
} =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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;
|
|
16
|
+
} = getActionSheetContext();
|
|
17
|
+
const onContentSizeChange = (width, height) => {
|
|
18
|
+
setContentHeight?.(height);
|
|
19
|
+
scrollViewProps?.onContentSizeChange?.(width, height);
|
|
20
|
+
};
|
|
21
|
+
return /*#__PURE__*/_jsx(ActionSheetContentGesture, {
|
|
22
|
+
children: /*#__PURE__*/_jsx(ThemedScrollView, {
|
|
23
|
+
ref: contentAnimatedRefObj,
|
|
24
|
+
...scrollViewProps,
|
|
25
|
+
onContentSizeChange: onContentSizeChange,
|
|
26
|
+
children: children
|
|
27
|
+
})
|
|
28
|
+
});
|
|
56
29
|
};
|
|
57
30
|
export default ActionSheetScrollViewContent;
|
|
58
31
|
//# sourceMappingURL=ActionSheetScrollViewContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getActionSheetContext","ThemedScrollView","ActionSheetContentGesture","jsx","_jsx","ActionSheetScrollViewContent","
|
|
1
|
+
{"version":3,"names":["getActionSheetContext","ThemedScrollView","ActionSheetContentGesture","jsx","_jsx","ActionSheetScrollViewContent","scrollViewProps","children","contentAnimatedRefObj","setContentHeight","onContentSizeChange","width","height","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,GAAGA,CAAC;EAAEC,eAAe;EAAEC;AAAS,CAAC,KAAK;EACrC,MAAM;IAAEC,qBAAqB;IAAEC;EAAiB,CAAC,GAAGT,qBAAqB,CAAC,CAAC;EAC3E,MAAMU,mBAAwC,GAAGA,CAC/CC,KAAa,EACbC,MAAc,KACX;IACHH,gBAAgB,GAAGG,MAAM,CAAC;IAC1BN,eAAe,EAAEI,mBAAmB,GAAGC,KAAK,EAAEC,MAAM,CAAC;EACvD,CAAC;EAED,oBACER,IAAA,CAACF,yBAAyB;IAAAK,QAAA,eACxBH,IAAA,CAACH,gBAAgB;MACfY,GAAG,EAAEL,qBAA0C;MAAA,GAC3CF,eAAe;MACnBI,mBAAmB,EAAEA,mBAAoB;MAAAH,QAAA,EAExCA;IAAQ,CACO;EAAC,CACM,CAAC;AAEhC,CAAC;AAED,eAAeF,4BAA4B","ignoreList":[]}
|
|
@@ -1,162 +1,54 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
/** @internal */
|
|
4
|
+
|
|
5
5
|
import { useAnimatedStyle } from 'react-native-reanimated';
|
|
6
6
|
import { useActionSheetOnDismiss } from "../../../hooks/overlay.js";
|
|
7
7
|
import { getActionSheetContext, getActionSheetMaxHeight } from "../../../utils/overlay/func.js";
|
|
8
8
|
import AnimatedThemedView from "../../view/AnimatedThemedView.js";
|
|
9
9
|
import ThemedModal from "../modal/ThemedModal.js";
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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\":[\"ActionSheetWrapTsx2\",\"expandable\",\"expandableHeightSharedVal\",\"heightSharedVal\",\"__closure\",\"_expandableHeightShar\",\"_expandableHeightShar2\",\"_heightSharedVal$get\",\"_heightSharedVal\",\"height\",\"get\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx\"],\"mappings\":\"AAoCI,SAAAA,oBAAA,QAAAC,UAAA,CAAAC,yBAAA,CAAAC,eAAA,OAAAC,SAAA,KAAAC,qBAAA,CAAAC,sBAAA,CAAAC,oBAAA,CAAAC,gBAAA,OAAO,CAAAC,MAAA,CACGR,UAAU,EAAAI,qBAAA,EAAAC,sBAAA,CACbJ,yBAAyB,UAAAI,sBAAA,iBAAzBA,sBAAA,CAAyBI,GAAO,CAAI,CAAC,UAAAL,qBAAA,UAAAA,qBAAA,CAArC,CAC4B,EAAAE,oBAAA,EAAAC,gBAAA,CAA5BL,eAAe,UAAAK,gBAAA,iBAAfA,gBAAA,CAAeE,GAAO,CAAI,CAAC,UAAAH,oBAAA,UAAAA,oBAAA,CAA3B,CACP,CAAC\",\"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
|
-
}
|
|
11
|
+
const ActionSheetWrap = ({
|
|
12
|
+
wrapViewProps,
|
|
13
|
+
children
|
|
14
|
+
}) => {
|
|
34
15
|
const {
|
|
35
16
|
expandable,
|
|
36
17
|
dismissable,
|
|
37
18
|
translateYSharedVal,
|
|
38
19
|
heightSharedVal,
|
|
39
20
|
expandableHeightSharedVal
|
|
40
|
-
} =
|
|
21
|
+
} = getActionSheetContext();
|
|
41
22
|
const onDismiss = useActionSheetOnDismiss();
|
|
42
|
-
const outerWrapAnimatedStyle = useAnimatedStyle(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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.6.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
|
|
23
|
+
const outerWrapAnimatedStyle = useAnimatedStyle(() => ({
|
|
24
|
+
...wrapViewProps?.style,
|
|
25
|
+
height: heightSharedVal?.get() ?? 0,
|
|
26
|
+
transform: [{
|
|
27
|
+
translateY: translateYSharedVal?.get() ?? 0
|
|
28
|
+
}]
|
|
71
29
|
}), [wrapViewProps, translateYSharedVal, heightSharedVal]);
|
|
72
|
-
const innerWrapAnimatedStyle = useAnimatedStyle(
|
|
73
|
-
|
|
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.6.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
|
|
30
|
+
const innerWrapAnimatedStyle = useAnimatedStyle(() => ({
|
|
31
|
+
height: expandable ? expandableHeightSharedVal?.get() ?? 0 : heightSharedVal?.get() ?? 0
|
|
97
32
|
}), [expandable, heightSharedVal, expandableHeightSharedVal]);
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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",
|
|
33
|
+
const onModalDismiss = () => {
|
|
34
|
+
onDismiss();
|
|
35
|
+
};
|
|
36
|
+
return /*#__PURE__*/_jsx(ThemedModal, {
|
|
37
|
+
onDismiss: onModalDismiss,
|
|
38
|
+
dismissable: dismissable,
|
|
39
|
+
justifyContent: 'flex-end',
|
|
40
|
+
children: /*#__PURE__*/_jsx(AnimatedThemedView, {
|
|
41
|
+
alignSelf: 'stretch',
|
|
42
|
+
maxHeight: getActionSheetMaxHeight(expandable),
|
|
43
|
+
overflow: 'hidden',
|
|
134
44
|
...wrapViewProps,
|
|
135
45
|
style: outerWrapAnimatedStyle,
|
|
136
|
-
children:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
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;
|
|
46
|
+
children: /*#__PURE__*/_jsx(AnimatedThemedView, {
|
|
47
|
+
style: innerWrapAnimatedStyle,
|
|
48
|
+
children: children
|
|
49
|
+
})
|
|
50
|
+
})
|
|
51
|
+
});
|
|
160
52
|
};
|
|
161
53
|
export default ActionSheetWrap;
|
|
162
54
|
//# sourceMappingURL=ActionSheetWrap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useAnimatedStyle","useActionSheetOnDismiss","getActionSheetContext","getActionSheetMaxHeight","AnimatedThemedView","ThemedModal","jsx","_jsx","
|
|
1
|
+
{"version":3,"names":["useAnimatedStyle","useActionSheetOnDismiss","getActionSheetContext","getActionSheetMaxHeight","AnimatedThemedView","ThemedModal","jsx","_jsx","ActionSheetWrap","wrapViewProps","children","expandable","dismissable","translateYSharedVal","heightSharedVal","expandableHeightSharedVal","onDismiss","outerWrapAnimatedStyle","style","height","get","transform","translateY","innerWrapAnimatedStyle","onModalDismiss","justifyContent","alignSelf","maxHeight","overflow"],"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;AAE/C,MAAMC,eAAyC,GAAGA,CAAC;EACjDC,aAAa;EACbC;AACF,CAAC,KAAK;EACJ,MAAM;IACJC,UAAU;IACVC,WAAW;IACXC,mBAAmB;IACnBC,eAAe;IACfC;EACF,CAAC,GAAGb,qBAAqB,CAAC,CAAC;EAC3B,MAAMc,SAAS,GAAGf,uBAAuB,CAAC,CAAC;EAC3C,MAAMgB,sBAAsB,GAAGjB,gBAAgB,CAC7C,OAAO;IACL,GAAGS,aAAa,EAAES,KAAK;IACvBC,MAAM,EAAEL,eAAe,EAAEM,GAAG,CAAC,CAAC,IAAI,CAAC;IACnCC,SAAS,EAAE,CAAC;MAAEC,UAAU,EAAET,mBAAmB,EAAEO,GAAG,CAAC,CAAC,IAAI;IAAE,CAAC;EAC7D,CAAC,CAAC,EACF,CAACX,aAAa,EAAEI,mBAAmB,EAAEC,eAAe,CACtD,CAAC;EACD,MAAMS,sBAAsB,GAAGvB,gBAAgB,CAC7C,OAAO;IACLmB,MAAM,EAAER,UAAU,GACbI,yBAAyB,EAAEK,GAAG,CAAC,CAAC,IAAI,CAAC,GACrCN,eAAe,EAAEM,GAAG,CAAC,CAAC,IAAI;EACjC,CAAC,CAAC,EACF,CAACT,UAAU,EAAEG,eAAe,EAAEC,yBAAyB,CACzD,CAAC;EAED,MAAMS,cAA6C,GAAGA,CAAA,KAAM;IAC1DR,SAAS,CAAC,CAAC;EACb,CAAC;EAED,oBACET,IAAA,CAACF,WAAW;IACVW,SAAS,EAAEQ,cAAe;IAC1BZ,WAAW,EAAEA,WAAY;IACzBa,cAAc,EAAE,UAAW;IAAAf,QAAA,eAE3BH,IAAA,CAACH,kBAAkB;MACjBsB,SAAS,EAAE,SAAU;MACrBC,SAAS,EAAExB,uBAAuB,CAACQ,UAAU,CAAE;MAC/CiB,QAAQ,EAAE,QAAS;MAAA,GACfnB,aAAa;MACjBS,KAAK,EAAED,sBAAuB;MAAAP,QAAA,eAE9BH,IAAA,CAACH,kBAAkB;QAACc,KAAK,EAAEK,sBAAuB;QAAAb,QAAA,EAC/CA;MAAQ,CACS;IAAC,CACH;EAAC,CACV,CAAC;AAElB,CAAC;AAED,eAAeF,eAAe","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import { useState } from 'react';
|
|
5
4
|
import { useAnimationSharedVal } from "../../../hooks/reanimated.js";
|
|
6
5
|
import { AlertContext, overlayDismissResultDefaultText, OverlayDismissResultType } from "../../../utils/overlay/const.js";
|
|
@@ -8,110 +7,51 @@ import AlertButtons from "./AlertButtons.js";
|
|
|
8
7
|
import AlertContent from "./AlertContent.js";
|
|
9
8
|
import AlertWrap from "./AlertWrap.js";
|
|
10
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
const Alert =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
dismissable
|
|
26
|
-
} = t0;
|
|
10
|
+
const Alert = ({
|
|
11
|
+
customShowAnimation,
|
|
12
|
+
customHideAnimation,
|
|
13
|
+
wrapProps,
|
|
14
|
+
title,
|
|
15
|
+
titleTextProps,
|
|
16
|
+
desc,
|
|
17
|
+
descTextProps,
|
|
18
|
+
buttons,
|
|
19
|
+
buttonsWrapProps,
|
|
20
|
+
buttonProps,
|
|
21
|
+
onDismiss,
|
|
22
|
+
dismissable
|
|
23
|
+
}) => {
|
|
27
24
|
const [visible, setVisible] = useState(true);
|
|
28
25
|
const showSharedVal = useAnimationSharedVal();
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
desc,
|
|
36
|
-
text: overlayDismissResultDefaultText
|
|
37
|
-
};
|
|
38
|
-
onDismiss?.(result ? {
|
|
39
|
-
...tempResult,
|
|
40
|
-
...result
|
|
41
|
-
} : tempResult);
|
|
42
|
-
setVisible(false);
|
|
26
|
+
const handleDismiss = result => {
|
|
27
|
+
const tempResult = {
|
|
28
|
+
resultType: OverlayDismissResultType.Alert,
|
|
29
|
+
title,
|
|
30
|
+
desc,
|
|
31
|
+
text: overlayDismissResultDefaultText
|
|
43
32
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
if ($[4] !== customHideAnimation || $[5] !== handleDismiss || $[6] !== showSharedVal) {
|
|
54
|
-
t2 = result_0 => {
|
|
33
|
+
onDismiss?.(result ? {
|
|
34
|
+
...tempResult,
|
|
35
|
+
...result
|
|
36
|
+
} : tempResult);
|
|
37
|
+
setVisible(false);
|
|
38
|
+
};
|
|
39
|
+
const alertContextVal = {
|
|
40
|
+
buttonProps,
|
|
41
|
+
onDismiss: result => {
|
|
55
42
|
if (customHideAnimation) {
|
|
56
43
|
customHideAnimation(showSharedVal, 0, () => {
|
|
57
|
-
handleDismiss(
|
|
44
|
+
handleDismiss(result);
|
|
58
45
|
});
|
|
59
46
|
} else {
|
|
60
47
|
showSharedVal.set(0);
|
|
61
|
-
handleDismiss(
|
|
48
|
+
handleDismiss(result);
|
|
62
49
|
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
} else {
|
|
69
|
-
t2 = $[7];
|
|
70
|
-
}
|
|
71
|
-
let t3;
|
|
72
|
-
if ($[8] !== buttonProps || $[9] !== t2) {
|
|
73
|
-
t3 = {
|
|
74
|
-
buttonProps,
|
|
75
|
-
onDismiss: t2
|
|
76
|
-
};
|
|
77
|
-
$[8] = buttonProps;
|
|
78
|
-
$[9] = t2;
|
|
79
|
-
$[10] = t3;
|
|
80
|
-
} else {
|
|
81
|
-
t3 = $[10];
|
|
82
|
-
}
|
|
83
|
-
const alertContextVal = t3;
|
|
84
|
-
let t4;
|
|
85
|
-
if ($[11] !== desc || $[12] !== descTextProps || $[13] !== title || $[14] !== titleTextProps) {
|
|
86
|
-
t4 = /*#__PURE__*/_jsx(AlertContent, {
|
|
87
|
-
title: title,
|
|
88
|
-
titleTextProps: titleTextProps,
|
|
89
|
-
desc: desc,
|
|
90
|
-
descTextProps: descTextProps
|
|
91
|
-
});
|
|
92
|
-
$[11] = desc;
|
|
93
|
-
$[12] = descTextProps;
|
|
94
|
-
$[13] = title;
|
|
95
|
-
$[14] = titleTextProps;
|
|
96
|
-
$[15] = t4;
|
|
97
|
-
} else {
|
|
98
|
-
t4 = $[15];
|
|
99
|
-
}
|
|
100
|
-
let t5;
|
|
101
|
-
if ($[16] !== buttons || $[17] !== buttonsWrapProps) {
|
|
102
|
-
t5 = /*#__PURE__*/_jsx(AlertButtons, {
|
|
103
|
-
buttons: buttons,
|
|
104
|
-
buttonsWrapProps: buttonsWrapProps
|
|
105
|
-
});
|
|
106
|
-
$[16] = buttons;
|
|
107
|
-
$[17] = buttonsWrapProps;
|
|
108
|
-
$[18] = t5;
|
|
109
|
-
} else {
|
|
110
|
-
t5 = $[18];
|
|
111
|
-
}
|
|
112
|
-
let t6;
|
|
113
|
-
if ($[19] !== buttons || $[20] !== customShowAnimation || $[21] !== desc || $[22] !== dismissable || $[23] !== showSharedVal || $[24] !== t4 || $[25] !== t5 || $[26] !== title || $[27] !== visible || $[28] !== wrapProps) {
|
|
114
|
-
t6 = /*#__PURE__*/_jsxs(AlertWrap, {
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
return /*#__PURE__*/_jsx(AlertContext.Provider, {
|
|
53
|
+
value: alertContextVal,
|
|
54
|
+
children: /*#__PURE__*/_jsxs(AlertWrap, {
|
|
115
55
|
customShowAnimation: customShowAnimation,
|
|
116
56
|
wrapProps: wrapProps,
|
|
117
57
|
title: title,
|
|
@@ -121,35 +61,17 @@ const Alert = t0 => {
|
|
|
121
61
|
visible: visible,
|
|
122
62
|
setVisible: setVisible,
|
|
123
63
|
showSharedVal: showSharedVal,
|
|
124
|
-
children: [
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
$[28] = wrapProps;
|
|
136
|
-
$[29] = t6;
|
|
137
|
-
} else {
|
|
138
|
-
t6 = $[29];
|
|
139
|
-
}
|
|
140
|
-
let t7;
|
|
141
|
-
if ($[30] !== alertContextVal || $[31] !== t6) {
|
|
142
|
-
t7 = /*#__PURE__*/_jsx(AlertContext.Provider, {
|
|
143
|
-
value: alertContextVal,
|
|
144
|
-
children: t6
|
|
145
|
-
});
|
|
146
|
-
$[30] = alertContextVal;
|
|
147
|
-
$[31] = t6;
|
|
148
|
-
$[32] = t7;
|
|
149
|
-
} else {
|
|
150
|
-
t7 = $[32];
|
|
151
|
-
}
|
|
152
|
-
return t7;
|
|
64
|
+
children: [/*#__PURE__*/_jsx(AlertContent, {
|
|
65
|
+
title: title,
|
|
66
|
+
titleTextProps: titleTextProps,
|
|
67
|
+
desc: desc,
|
|
68
|
+
descTextProps: descTextProps
|
|
69
|
+
}), /*#__PURE__*/_jsx(AlertButtons, {
|
|
70
|
+
buttons: buttons,
|
|
71
|
+
buttonsWrapProps: buttonsWrapProps
|
|
72
|
+
})]
|
|
73
|
+
})
|
|
74
|
+
});
|
|
153
75
|
};
|
|
154
76
|
export default Alert;
|
|
155
77
|
//# sourceMappingURL=Alert.js.map
|