@jamadd/react-native-template-ui 0.2.1 → 0.2.3
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 +86 -319
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","useAnimationSharedVal","AlertContext","overlayDismissResultDefaultText","OverlayDismissResultType","AlertButtons","AlertContent","AlertWrap","jsx","_jsx","jsxs","_jsxs","Alert","
|
|
1
|
+
{"version":3,"names":["useState","useAnimationSharedVal","AlertContext","overlayDismissResultDefaultText","OverlayDismissResultType","AlertButtons","AlertContent","AlertWrap","jsx","_jsx","jsxs","_jsxs","Alert","customShowAnimation","customHideAnimation","wrapProps","title","titleTextProps","desc","descTextProps","buttons","buttonsWrapProps","buttonProps","onDismiss","dismissable","visible","setVisible","showSharedVal","handleDismiss","result","tempResult","resultType","text","alertContextVal","set","Provider","value","children"],"sourceRoot":"../../../../../src","sources":["components/overlay/alert/Alert.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAiB,OAAO;AACzC,SAASC,qBAAqB,QAAQ,8BAA2B;AAMjE,SACEC,YAAY,EACZC,+BAA+B,EAC/BC,wBAAwB,QACnB,iCAA8B;AACrC,OAAOC,YAAY,MAAM,mBAAgB;AACzC,OAAOC,YAAY,MAAM,mBAAgB;AACzC,OAAOC,SAAS,MAAM,gBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEpC,MAAMC,KAAqB,GAAGA,CAAC;EAC7BC,mBAAmB;EACnBC,mBAAmB;EACnBC,SAAS;EACTC,KAAK;EACLC,cAAc;EACdC,IAAI;EACJC,aAAa;EACbC,OAAO;EACPC,gBAAgB;EAChBC,WAAW;EACXC,SAAS;EACTC;AACF,CAAC,KAAK;EACJ,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAG1B,QAAQ,CAAC,IAAI,CAAC;EAC5C,MAAM2B,aAAa,GAAG1B,qBAAqB,CAAC,CAAC;EAE7C,MAAM2B,aAAa,GAAIC,MAA2C,IAAK;IACrE,MAAMC,UAAqC,GAAG;MAC5CC,UAAU,EAAE3B,wBAAwB,CAACQ,KAAK;MAC1CI,KAAK;MACLE,IAAI;MACJc,IAAI,EAAE7B;IACR,CAAC;IACDoB,SAAS,GAAGM,MAAM,GAAG;MAAE,GAAGC,UAAU;MAAE,GAAGD;IAAO,CAAC,GAAGC,UAAU,CAAC;IAC/DJ,UAAU,CAAC,KAAK,CAAC;EACnB,CAAC;EACD,MAAMO,eAAgC,GAAG;IACvCX,WAAW;IACXC,SAAS,EAAGM,MAAM,IAAK;MACrB,IAAIf,mBAAmB,EAAE;QACvBA,mBAAmB,CAACa,aAAa,EAAE,CAAC,EAAE,MAAM;UAC1CC,aAAa,CAACC,MAAM,CAAC;QACvB,CAAC,CAAC;MACJ,CAAC,MAAM;QACLF,aAAa,CAACO,GAAG,CAAC,CAAC,CAAC;QACpBN,aAAa,CAACC,MAAM,CAAC;MACvB;IACF;EACF,CAAC;EAED,oBACEpB,IAAA,CAACP,YAAY,CAACiC,QAAQ;IAACC,KAAK,EAAEH,eAAgB;IAAAI,QAAA,eAC5C1B,KAAA,CAACJ,SAAS;MACRM,mBAAmB,EAAEA,mBAAoB;MACzCE,SAAS,EAAEA,SAAU;MACrBC,KAAK,EAAEA,KAAM;MACbE,IAAI,EAAEA,IAAK;MACXE,OAAO,EAAEA,OAAQ;MACjBI,WAAW,EAAEA,WAAY;MACzBC,OAAO,EAAEA,OAAQ;MACjBC,UAAU,EAAEA,UAAW;MACvBC,aAAa,EAAEA,aAAc;MAAAU,QAAA,gBAE7B5B,IAAA,CAACH,YAAY;QACXU,KAAK,EAAEA,KAAM;QACbC,cAAc,EAAEA,cAAe;QAC/BC,IAAI,EAAEA,IAAK;QACXC,aAAa,EAAEA;MAAc,CAC9B,CAAC,eACFV,IAAA,CAACJ,YAAY;QAACe,OAAO,EAAEA,OAAQ;QAACC,gBAAgB,EAAEA;MAAiB,CAAE,CAAC;IAAA,CAC7D;EAAC,CACS,CAAC;AAE5B,CAAC;AAED,eAAeT,KAAK","ignoreList":[]}
|
|
@@ -1,77 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import { AlertButtonType } from "../../../utils/overlay/const.js";
|
|
5
4
|
import { getAlertContext } from "../../../utils/overlay/func.js";
|
|
6
5
|
import { BorderSize } from "../../../utils/theme/const.js";
|
|
7
6
|
import ThemedButton from "../../button/ThemedButton.js";
|
|
8
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
const AlertButton =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
props
|
|
16
|
-
} = t0;
|
|
17
|
-
const type = t1 === undefined ? AlertButtonType.Primary : t1;
|
|
18
|
-
let t2;
|
|
19
|
-
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
20
|
-
t2 = getAlertContext();
|
|
21
|
-
$[0] = t2;
|
|
22
|
-
} else {
|
|
23
|
-
t2 = $[0];
|
|
24
|
-
}
|
|
8
|
+
const AlertButton = ({
|
|
9
|
+
type = AlertButtonType.Primary,
|
|
10
|
+
text,
|
|
11
|
+
onPress,
|
|
12
|
+
props
|
|
13
|
+
}) => {
|
|
25
14
|
const {
|
|
26
15
|
buttonProps,
|
|
27
16
|
onDismiss
|
|
28
|
-
} =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
$[1] = onPress;
|
|
39
|
-
$[2] = text;
|
|
40
|
-
$[3] = type;
|
|
41
|
-
$[4] = t3;
|
|
42
|
-
} else {
|
|
43
|
-
t3 = $[4];
|
|
44
|
-
}
|
|
45
|
-
const themedButtonOnPress = t3;
|
|
17
|
+
} = getAlertContext();
|
|
18
|
+
const themedButtonOnPress = event => {
|
|
19
|
+
onPress?.(event);
|
|
20
|
+
onDismiss?.({
|
|
21
|
+
type,
|
|
22
|
+
text
|
|
23
|
+
});
|
|
24
|
+
};
|
|
46
25
|
const isPrimary = type === AlertButtonType.Primary;
|
|
47
26
|
const isDestructive = type === AlertButtonType.Destructive;
|
|
48
|
-
const backgroundColor = isPrimary ?
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
textColor: t5,
|
|
61
|
-
...buttonProps,
|
|
62
|
-
...props
|
|
63
|
-
});
|
|
64
|
-
$[5] = backgroundColor;
|
|
65
|
-
$[6] = props;
|
|
66
|
-
$[7] = t4;
|
|
67
|
-
$[8] = t5;
|
|
68
|
-
$[9] = text;
|
|
69
|
-
$[10] = themedButtonOnPress;
|
|
70
|
-
$[11] = t6;
|
|
71
|
-
} else {
|
|
72
|
-
t6 = $[11];
|
|
73
|
-
}
|
|
74
|
-
return t6;
|
|
27
|
+
const backgroundColor = isPrimary ? 'themePri' : 'background';
|
|
28
|
+
return /*#__PURE__*/_jsx(ThemedButton, {
|
|
29
|
+
onPress: themedButtonOnPress,
|
|
30
|
+
flex: 1,
|
|
31
|
+
borderWidth: BorderSize.S,
|
|
32
|
+
borderColor: type === AlertButtonType.Destructive ? 'err' : backgroundColor,
|
|
33
|
+
backgroundColor: backgroundColor,
|
|
34
|
+
text: text,
|
|
35
|
+
textColor: isDestructive ? 'err' : isPrimary ? 'background' : 'themePri',
|
|
36
|
+
...buttonProps,
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
75
39
|
};
|
|
76
40
|
export default AlertButton;
|
|
77
41
|
//# sourceMappingURL=AlertButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AlertButtonType","getAlertContext","BorderSize","ThemedButton","jsx","_jsx","AlertButton","
|
|
1
|
+
{"version":3,"names":["AlertButtonType","getAlertContext","BorderSize","ThemedButton","jsx","_jsx","AlertButton","type","Primary","text","onPress","props","buttonProps","onDismiss","themedButtonOnPress","event","isPrimary","isDestructive","Destructive","backgroundColor","flex","borderWidth","S","borderColor","textColor"],"sourceRoot":"../../../../../src","sources":["components/overlay/alert/AlertButton.tsx"],"mappings":";;AAGA,SAASA,eAAe,QAAQ,iCAA8B;AAC9D,SAASC,eAAe,QAAQ,gCAA6B;AAC7D,SAASC,UAAU,QAAQ,+BAA4B;AACvD,OAAOC,YAAY,MAAM,8BAA2B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAErD,MAAMC,WAAiC,GAAGA,CAAC;EACzCC,IAAI,GAAGP,eAAe,CAACQ,OAAO;EAC9BC,IAAI;EACJC,OAAO;EACPC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC,WAAW;IAAEC;EAAU,CAAC,GAAGZ,eAAe,CAAC,CAAC;EACpD,MAAMa,mBAAiD,GAAIC,KAAK,IAAK;IACnEL,OAAO,GAAGK,KAAK,CAAC;IAChBF,SAAS,GAAG;MAAEN,IAAI;MAAEE;IAAK,CAAC,CAAC;EAC7B,CAAC;EACD,MAAMO,SAAS,GAAGT,IAAI,KAAKP,eAAe,CAACQ,OAAO;EAClD,MAAMS,aAAa,GAAGV,IAAI,KAAKP,eAAe,CAACkB,WAAW;EAC1D,MAAMC,eAAe,GAAGH,SAAS,GAAG,UAAU,GAAG,YAAY;EAE7D,oBACEX,IAAA,CAACF,YAAY;IACXO,OAAO,EAAEI,mBAAoB;IAC7BM,IAAI,EAAE,CAAE;IACRC,WAAW,EAAEnB,UAAU,CAACoB,CAAE;IAC1BC,WAAW,EACThB,IAAI,KAAKP,eAAe,CAACkB,WAAW,GAAG,KAAK,GAAGC,eAChD;IACDA,eAAe,EAAEA,eAAgB;IACjCV,IAAI,EAAEA,IAAK;IACXe,SAAS,EAAEP,aAAa,GAAG,KAAK,GAAGD,SAAS,GAAG,YAAY,GAAG,UAAW;IAAA,GACrEJ,WAAW;IAAA,GACXD;EAAK,CACV,CAAC;AAEN,CAAC;AAED,eAAeL,WAAW","ignoreList":[]}
|
|
@@ -1,66 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import ThemedView from "../../view/ThemedView.js";
|
|
5
4
|
import AlertButton from "./AlertButton.js";
|
|
6
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
const AlertButtons =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
$[
|
|
29
|
-
}
|
|
30
|
-
t2 = $[3];
|
|
31
|
-
}
|
|
32
|
-
let t3;
|
|
33
|
-
if ($[4] !== buttonsWrapProps || $[5] !== t2) {
|
|
34
|
-
t3 = /*#__PURE__*/_jsx(ThemedView, {
|
|
35
|
-
marginTop: "m",
|
|
36
|
-
gap: "s",
|
|
37
|
-
...buttonsWrapProps,
|
|
38
|
-
children: t2
|
|
39
|
-
});
|
|
40
|
-
$[4] = buttonsWrapProps;
|
|
41
|
-
$[5] = t2;
|
|
42
|
-
$[6] = t3;
|
|
43
|
-
} else {
|
|
44
|
-
t3 = $[6];
|
|
45
|
-
}
|
|
46
|
-
return t3;
|
|
6
|
+
const AlertButtons = ({
|
|
7
|
+
buttons,
|
|
8
|
+
buttonsWrapProps
|
|
9
|
+
}) => {
|
|
10
|
+
const alertButtons = buttons ?? [[{
|
|
11
|
+
text: 'OK'
|
|
12
|
+
}]];
|
|
13
|
+
return /*#__PURE__*/_jsx(ThemedView, {
|
|
14
|
+
marginTop: 'm',
|
|
15
|
+
gap: 's',
|
|
16
|
+
...buttonsWrapProps,
|
|
17
|
+
children: alertButtons.map((row, rowIndex) => /*#__PURE__*/_jsx(ThemedView, {
|
|
18
|
+
flexDirection: 'row',
|
|
19
|
+
gap: 's',
|
|
20
|
+
children: row.map(({
|
|
21
|
+
text,
|
|
22
|
+
...props
|
|
23
|
+
}, buttonIndex) => /*#__PURE__*/_jsx(AlertButton, {
|
|
24
|
+
text: text,
|
|
25
|
+
...props
|
|
26
|
+
}, `button_${text}_${buttonIndex}`))
|
|
27
|
+
}, `row_${row[0]?.text}_${rowIndex}`))
|
|
28
|
+
});
|
|
47
29
|
};
|
|
48
30
|
export default AlertButtons;
|
|
49
|
-
function _temp(t0, buttonIndex) {
|
|
50
|
-
const {
|
|
51
|
-
text,
|
|
52
|
-
...props
|
|
53
|
-
} = t0;
|
|
54
|
-
return /*#__PURE__*/_jsx(AlertButton, {
|
|
55
|
-
text: text,
|
|
56
|
-
...props
|
|
57
|
-
}, `button_${text}_${buttonIndex}`);
|
|
58
|
-
}
|
|
59
|
-
function _temp2(row, rowIndex) {
|
|
60
|
-
return /*#__PURE__*/_jsx(ThemedView, {
|
|
61
|
-
flexDirection: "row",
|
|
62
|
-
gap: "s",
|
|
63
|
-
children: row.map(_temp)
|
|
64
|
-
}, `row_${row[0]?.text}_${rowIndex}`);
|
|
65
|
-
}
|
|
66
31
|
//# sourceMappingURL=AlertButtons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ThemedView","AlertButton","jsx","_jsx","AlertButtons","
|
|
1
|
+
{"version":3,"names":["ThemedView","AlertButton","jsx","_jsx","AlertButtons","buttons","buttonsWrapProps","alertButtons","text","marginTop","gap","children","map","row","rowIndex","flexDirection","props","buttonIndex"],"sourceRoot":"../../../../../src","sources":["components/overlay/alert/AlertButtons.tsx"],"mappings":";;AAEA,OAAOA,UAAU,MAAM,0BAAuB;AAC9C,OAAOC,WAAW,MAAM,kBAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAExC,MAAMC,YAAmC,GAAGA,CAAC;EAAEC,OAAO;EAAEC;AAAiB,CAAC,KAAK;EAC7E,MAAMC,YAAuD,GAAGF,OAAO,IAAI,CACzE,CAAC;IAAEG,IAAI,EAAE;EAAK,CAAC,CAAC,CACjB;EAED,oBACEL,IAAA,CAACH,UAAU;IAACS,SAAS,EAAE,GAAI;IAACC,GAAG,EAAE,GAAI;IAAA,GAAKJ,gBAAgB;IAAAK,QAAA,EACvDJ,YAAY,CAACK,GAAG,CAAC,CAACC,GAAG,EAAEC,QAAQ,kBAC9BX,IAAA,CAACH,UAAU;MAETe,aAAa,EAAE,KAAM;MACrBL,GAAG,EAAE,GAAI;MAAAC,QAAA,EAERE,GAAG,CAACD,GAAG,CAAC,CAAC;QAAEJ,IAAI;QAAE,GAAGQ;MAAM,CAAC,EAAEC,WAAW,kBACvCd,IAAA,CAACF,WAAW;QAEVO,IAAI,EAAEA,IAAK;QAAA,GACPQ;MAAK,GAFJ,UAAUR,IAAI,IAAIS,WAAW,EAGnC,CACF;IAAC,GAVG,OAAOJ,GAAG,CAAC,CAAC,CAAC,EAAEL,IAAI,IAAIM,QAAQ,EAW1B,CACb;EAAC,CACQ,CAAC;AAEjB,CAAC;AAED,eAAeV,YAAY","ignoreList":[]}
|
|
@@ -1,56 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import ThemedText from "../../text/ThemedText.js";
|
|
5
4
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
const AlertContent =
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
t1 = /*#__PURE__*/_jsx(ThemedText, {
|
|
17
|
-
textAlign: "center",
|
|
18
|
-
fontWeight: "bold",
|
|
5
|
+
const AlertContent = ({
|
|
6
|
+
title,
|
|
7
|
+
titleTextProps,
|
|
8
|
+
desc,
|
|
9
|
+
descTextProps
|
|
10
|
+
}) => {
|
|
11
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
12
|
+
children: [/*#__PURE__*/_jsx(ThemedText, {
|
|
13
|
+
textAlign: 'center',
|
|
14
|
+
fontWeight: 'bold',
|
|
19
15
|
...titleTextProps,
|
|
20
16
|
children: title
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
$[2] = t1;
|
|
25
|
-
} else {
|
|
26
|
-
t1 = $[2];
|
|
27
|
-
}
|
|
28
|
-
let t2;
|
|
29
|
-
if ($[3] !== desc || $[4] !== descTextProps) {
|
|
30
|
-
t2 = !!desc && /*#__PURE__*/_jsx(ThemedText, {
|
|
31
|
-
textAlign: "center",
|
|
32
|
-
variant: "textS",
|
|
17
|
+
}), !!desc && /*#__PURE__*/_jsx(ThemedText, {
|
|
18
|
+
textAlign: 'center',
|
|
19
|
+
variant: 'textS',
|
|
33
20
|
...descTextProps,
|
|
34
21
|
children: desc
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
$[4] = descTextProps;
|
|
38
|
-
$[5] = t2;
|
|
39
|
-
} else {
|
|
40
|
-
t2 = $[5];
|
|
41
|
-
}
|
|
42
|
-
let t3;
|
|
43
|
-
if ($[6] !== t1 || $[7] !== t2) {
|
|
44
|
-
t3 = /*#__PURE__*/_jsxs(_Fragment, {
|
|
45
|
-
children: [t1, t2]
|
|
46
|
-
});
|
|
47
|
-
$[6] = t1;
|
|
48
|
-
$[7] = t2;
|
|
49
|
-
$[8] = t3;
|
|
50
|
-
} else {
|
|
51
|
-
t3 = $[8];
|
|
52
|
-
}
|
|
53
|
-
return t3;
|
|
22
|
+
})]
|
|
23
|
+
});
|
|
54
24
|
};
|
|
55
25
|
export default AlertContent;
|
|
56
26
|
//# sourceMappingURL=AlertContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ThemedText","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","AlertContent","
|
|
1
|
+
{"version":3,"names":["ThemedText","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","AlertContent","title","titleTextProps","desc","descTextProps","children","textAlign","fontWeight","variant"],"sourceRoot":"../../../../../src","sources":["components/overlay/alert/AlertContent.tsx"],"mappings":";;AAEA,OAAOA,UAAU,MAAM,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAE/C,MAAMC,YAEL,GAAGA,CAAC;EAAEC,KAAK;EAAEC,cAAc;EAAEC,IAAI;EAAEC;AAAc,CAAC,KAAK;EACtD,oBACEL,KAAA,CAAAF,SAAA;IAAAQ,QAAA,gBACEV,IAAA,CAACF,UAAU;MAACa,SAAS,EAAE,QAAS;MAACC,UAAU,EAAE,MAAO;MAAA,GAAKL,cAAc;MAAAG,QAAA,EACpEJ;IAAK,CACI,CAAC,EACZ,CAAC,CAACE,IAAI,iBACLR,IAAA,CAACF,UAAU;MAACa,SAAS,EAAE,QAAS;MAACE,OAAO,EAAE,OAAQ;MAAA,GAAKJ,aAAa;MAAAC,QAAA,EACjEF;IAAI,CACK,CACb;EAAA,CACD,CAAC;AAEP,CAAC;AAED,eAAeH,YAAY","ignoreList":[]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import { useEffect } from 'react';
|
|
5
4
|
import { useAnimatedStyle } from 'react-native-reanimated';
|
|
6
5
|
import { getAlertContext } from "../../../utils/overlay/func.js";
|
|
@@ -9,144 +8,58 @@ import { overlayMaxWidthPercent } from "../../../utils/overlay/const.js";
|
|
|
9
8
|
import AnimatedThemedView from "../../view/AnimatedThemedView.js";
|
|
10
9
|
import ThemedModal from "../modal/ThemedModal.js";
|
|
11
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
showSharedVal,
|
|
29
|
-
children
|
|
30
|
-
} = t0;
|
|
31
|
-
const animatedStyle = useAnimatedStyle(function AlertWrapTsx1Factory({
|
|
32
|
-
_worklet_12974468810384_init_data,
|
|
33
|
-
showSharedVal
|
|
34
|
-
}) {
|
|
35
|
-
const _e = [new global.Error(), -2, -27];
|
|
36
|
-
const AlertWrapTsx1 = () => ({
|
|
37
|
-
transform: [{
|
|
38
|
-
scale: showSharedVal.get()
|
|
39
|
-
}]
|
|
40
|
-
});
|
|
41
|
-
AlertWrapTsx1.__closure = {
|
|
42
|
-
showSharedVal
|
|
43
|
-
};
|
|
44
|
-
AlertWrapTsx1.__workletHash = 12974468810384;
|
|
45
|
-
AlertWrapTsx1.__pluginVersion = "0.6.1";
|
|
46
|
-
AlertWrapTsx1.__initData = _worklet_12974468810384_init_data;
|
|
47
|
-
AlertWrapTsx1.__stackDetails = _e;
|
|
48
|
-
return AlertWrapTsx1;
|
|
49
|
-
}({
|
|
50
|
-
_worklet_12974468810384_init_data,
|
|
51
|
-
showSharedVal
|
|
11
|
+
const AlertWrap = ({
|
|
12
|
+
customShowAnimation,
|
|
13
|
+
wrapProps,
|
|
14
|
+
title,
|
|
15
|
+
desc,
|
|
16
|
+
buttons,
|
|
17
|
+
dismissable,
|
|
18
|
+
visible,
|
|
19
|
+
setVisible,
|
|
20
|
+
showSharedVal,
|
|
21
|
+
children
|
|
22
|
+
}) => {
|
|
23
|
+
const animatedStyle = useAnimatedStyle(() => ({
|
|
24
|
+
transform: [{
|
|
25
|
+
scale: showSharedVal.get()
|
|
26
|
+
}]
|
|
52
27
|
}), [showSharedVal]);
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
$[0] = customShowAnimation;
|
|
68
|
-
$[1] = setVisible;
|
|
69
|
-
$[2] = showSharedVal;
|
|
70
|
-
$[3] = t1;
|
|
71
|
-
} else {
|
|
72
|
-
t1 = $[3];
|
|
73
|
-
}
|
|
74
|
-
let t2;
|
|
75
|
-
if ($[4] !== buttons || $[5] !== desc || $[6] !== title) {
|
|
76
|
-
t2 = [title, desc, buttons];
|
|
77
|
-
$[4] = buttons;
|
|
78
|
-
$[5] = desc;
|
|
79
|
-
$[6] = title;
|
|
80
|
-
$[7] = t2;
|
|
81
|
-
} else {
|
|
82
|
-
t2 = $[7];
|
|
83
|
-
}
|
|
84
|
-
useEffect(t1, t2);
|
|
85
|
-
let t3;
|
|
86
|
-
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
87
|
-
t3 = getAlertContext();
|
|
88
|
-
$[8] = t3;
|
|
89
|
-
} else {
|
|
90
|
-
t3 = $[8];
|
|
91
|
-
}
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
setVisible(true);
|
|
30
|
+
if (customShowAnimation) {
|
|
31
|
+
customShowAnimation(showSharedVal, 1);
|
|
32
|
+
} else {
|
|
33
|
+
updateSharedValWithSpring(showSharedVal, 1, {
|
|
34
|
+
stiffness: 1800,
|
|
35
|
+
damping: 200,
|
|
36
|
+
mass: 20
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}, [title, desc, buttons]);
|
|
92
40
|
const {
|
|
93
41
|
onDismiss
|
|
94
|
-
} =
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
let t5;
|
|
107
|
-
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
108
|
-
t5 = () => {
|
|
109
|
-
onDismiss?.();
|
|
110
|
-
};
|
|
111
|
-
$[11] = t5;
|
|
112
|
-
} else {
|
|
113
|
-
t5 = $[11];
|
|
114
|
-
}
|
|
115
|
-
const modalOnDismiss = t5;
|
|
116
|
-
let t6;
|
|
117
|
-
if ($[12] !== animatedStyle || $[13] !== children || $[14] !== wrapProps) {
|
|
118
|
-
t6 = /*#__PURE__*/_jsx(AnimatedThemedView, {
|
|
42
|
+
} = getAlertContext();
|
|
43
|
+
const modalProps = {
|
|
44
|
+
visible
|
|
45
|
+
};
|
|
46
|
+
const modalOnDismiss = () => {
|
|
47
|
+
onDismiss?.();
|
|
48
|
+
};
|
|
49
|
+
return /*#__PURE__*/_jsx(ThemedModal, {
|
|
50
|
+
modalProps: modalProps,
|
|
51
|
+
onDismiss: modalOnDismiss,
|
|
52
|
+
dismissable: dismissable,
|
|
53
|
+
children: /*#__PURE__*/_jsx(AnimatedThemedView, {
|
|
119
54
|
width: overlayMaxWidthPercent,
|
|
120
|
-
padding:
|
|
121
|
-
gap:
|
|
122
|
-
backgroundColor:
|
|
55
|
+
padding: 'l',
|
|
56
|
+
gap: 'm',
|
|
57
|
+
backgroundColor: 'background',
|
|
123
58
|
style: animatedStyle,
|
|
124
59
|
...wrapProps,
|
|
125
60
|
children: children
|
|
126
|
-
})
|
|
127
|
-
|
|
128
|
-
$[13] = children;
|
|
129
|
-
$[14] = wrapProps;
|
|
130
|
-
$[15] = t6;
|
|
131
|
-
} else {
|
|
132
|
-
t6 = $[15];
|
|
133
|
-
}
|
|
134
|
-
let t7;
|
|
135
|
-
if ($[16] !== dismissable || $[17] !== modalProps || $[18] !== t6) {
|
|
136
|
-
t7 = /*#__PURE__*/_jsx(ThemedModal, {
|
|
137
|
-
modalProps: modalProps,
|
|
138
|
-
onDismiss: modalOnDismiss,
|
|
139
|
-
dismissable: dismissable,
|
|
140
|
-
children: t6
|
|
141
|
-
});
|
|
142
|
-
$[16] = dismissable;
|
|
143
|
-
$[17] = modalProps;
|
|
144
|
-
$[18] = t6;
|
|
145
|
-
$[19] = t7;
|
|
146
|
-
} else {
|
|
147
|
-
t7 = $[19];
|
|
148
|
-
}
|
|
149
|
-
return t7;
|
|
61
|
+
})
|
|
62
|
+
});
|
|
150
63
|
};
|
|
151
64
|
export default AlertWrap;
|
|
152
65
|
//# sourceMappingURL=AlertWrap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useAnimatedStyle","getAlertContext","updateSharedValWithSpring","overlayMaxWidthPercent","AnimatedThemedView","ThemedModal","jsx","_jsx","
|
|
1
|
+
{"version":3,"names":["useEffect","useAnimatedStyle","getAlertContext","updateSharedValWithSpring","overlayMaxWidthPercent","AnimatedThemedView","ThemedModal","jsx","_jsx","AlertWrap","customShowAnimation","wrapProps","title","desc","buttons","dismissable","visible","setVisible","showSharedVal","children","animatedStyle","transform","scale","get","stiffness","damping","mass","onDismiss","modalProps","modalOnDismiss","width","padding","gap","backgroundColor","style"],"sourceRoot":"../../../../../src","sources":["components/overlay/alert/AlertWrap.tsx"],"mappings":";;AAAA,SAASA,SAAS,QAAiB,OAAO;AAE1C,SAASC,gBAAgB,QAA0B,yBAAyB;AAK5E,SAASC,eAAe,QAAQ,gCAA6B;AAC7D,SAASC,yBAAyB,QAAQ,mCAAgC;AAC1E,SAASC,sBAAsB,QAAQ,iCAA8B;AACrE,OAAOC,kBAAkB,MAAM,kCAA+B;AAC9D,OAAOC,WAAW,MAAM,yBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE/C,MAAMC,SAgBL,GAAGA,CAAC;EACHC,mBAAmB;EACnBC,SAAS;EACTC,KAAK;EACLC,IAAI;EACJC,OAAO;EACPC,WAAW;EACXC,OAAO;EACPC,UAAU;EACVC,aAAa;EACbC;AACF,CAAC,KAAK;EACJ,MAAMC,aAAa,GAAGnB,gBAAgB,CACpC,OAAO;IACLoB,SAAS,EAAE,CAAC;MAAEC,KAAK,EAAEJ,aAAa,CAACK,GAAG,CAAC;IAAE,CAAC;EAC5C,CAAC,CAAC,EACF,CAACL,aAAa,CAChB,CAAC;EACDlB,SAAS,CAAC,MAAM;IACdiB,UAAU,CAAC,IAAI,CAAC;IAChB,IAAIP,mBAAmB,EAAE;MACvBA,mBAAmB,CAACQ,aAAa,EAAE,CAAC,CAAC;IACvC,CAAC,MAAM;MACLf,yBAAyB,CAACe,aAAa,EAAyB,CAAC,EAAE;QACjEM,SAAS,EAAE,IAAI;QACfC,OAAO,EAAE,GAAG;QACZC,IAAI,EAAE;MACR,CAAC,CAAC;IACJ;EACF,CAAC,EAAE,CAACd,KAAK,EAAEC,IAAI,EAAEC,OAAO,CAAC,CAAC;EAE1B,MAAM;IAAEa;EAAU,CAAC,GAAGzB,eAAe,CAAC,CAAC;EACvC,MAAM0B,UAA0C,GAAG;IAAEZ;EAAQ,CAAC;EAC9D,MAAMa,cAAc,GAAGA,CAAA,KAAM;IAC3BF,SAAS,GAAG,CAAC;EACf,CAAC;EAED,oBACEnB,IAAA,CAACF,WAAW;IACVsB,UAAU,EAAEA,UAAW;IACvBD,SAAS,EAAEE,cAAe;IAC1Bd,WAAW,EAAEA,WAAY;IAAAI,QAAA,eAEzBX,IAAA,CAACH,kBAAkB;MACjByB,KAAK,EAAE1B,sBAAuB;MAC9B2B,OAAO,EAAE,GAAI;MACbC,GAAG,EAAE,GAAI;MACTC,eAAe,EAAE,YAAa;MAC9BC,KAAK,EAAEd,aAAc;MAAA,GACjBT,SAAS;MAAAQ,QAAA,EAEZA;IAAQ,CACS;EAAC,CACV,CAAC;AAElB,CAAC;AAED,eAAeV,SAAS","ignoreList":[]}
|