@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,304 +1,113 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import { useEffect } from 'react';
|
|
5
4
|
import { interpolate, useAnimatedStyle, withTiming } from 'react-native-reanimated';
|
|
6
5
|
import { scheduleOnRN } from 'react-native-worklets';
|
|
7
6
|
import { useAnimationSharedVal } from "../../../hooks/reanimated.js";
|
|
8
7
|
import { useInsetsStyle } from "../../../hooks/style.js";
|
|
9
|
-
import { OverlayDismissResultType, ToastDuration, ToastType } from "../../../utils/overlay/const.js";
|
|
10
|
-
import { overlayMaxWidthPercent } from "../../../utils/overlay/const.js";
|
|
8
|
+
import { OverlayDismissResultType, overlayMaxWidthPercent, ToastDuration, ToastType } from "../../../utils/overlay/const.js";
|
|
11
9
|
import ThemedText from "../../text/ThemedText.js";
|
|
12
10
|
import AnimatedThemedView from "../../view/AnimatedThemedView.js";
|
|
13
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
let t4;
|
|
37
|
-
let text;
|
|
38
|
-
let textFontSize;
|
|
39
|
-
let textFontWeight;
|
|
40
|
-
let textProps;
|
|
41
|
-
let textStyle;
|
|
42
|
-
if ($[0] !== t0) {
|
|
43
|
-
({
|
|
44
|
-
type: t1,
|
|
45
|
-
duration: t2,
|
|
46
|
-
insetsPadding,
|
|
47
|
-
insetPaddingTop,
|
|
48
|
-
insetPaddingBottom,
|
|
49
|
-
insetPaddingLeft,
|
|
50
|
-
insetPaddingRight,
|
|
51
|
-
onDismiss,
|
|
52
|
-
text,
|
|
53
|
-
textVariant: t3,
|
|
54
|
-
textFontSize,
|
|
55
|
-
textFontWeight,
|
|
56
|
-
textColor: t4,
|
|
57
|
-
textStyle,
|
|
58
|
-
textProps,
|
|
59
|
-
...props
|
|
60
|
-
} = t0);
|
|
61
|
-
$[0] = t0;
|
|
62
|
-
$[1] = insetPaddingBottom;
|
|
63
|
-
$[2] = insetPaddingLeft;
|
|
64
|
-
$[3] = insetPaddingRight;
|
|
65
|
-
$[4] = insetPaddingTop;
|
|
66
|
-
$[5] = insetsPadding;
|
|
67
|
-
$[6] = onDismiss;
|
|
68
|
-
$[7] = props;
|
|
69
|
-
$[8] = t1;
|
|
70
|
-
$[9] = t2;
|
|
71
|
-
$[10] = t3;
|
|
72
|
-
$[11] = t4;
|
|
73
|
-
$[12] = text;
|
|
74
|
-
$[13] = textFontSize;
|
|
75
|
-
$[14] = textFontWeight;
|
|
76
|
-
$[15] = textProps;
|
|
77
|
-
$[16] = textStyle;
|
|
78
|
-
} else {
|
|
79
|
-
insetPaddingBottom = $[1];
|
|
80
|
-
insetPaddingLeft = $[2];
|
|
81
|
-
insetPaddingRight = $[3];
|
|
82
|
-
insetPaddingTop = $[4];
|
|
83
|
-
insetsPadding = $[5];
|
|
84
|
-
onDismiss = $[6];
|
|
85
|
-
props = $[7];
|
|
86
|
-
t1 = $[8];
|
|
87
|
-
t2 = $[9];
|
|
88
|
-
t3 = $[10];
|
|
89
|
-
t4 = $[11];
|
|
90
|
-
text = $[12];
|
|
91
|
-
textFontSize = $[13];
|
|
92
|
-
textFontWeight = $[14];
|
|
93
|
-
textProps = $[15];
|
|
94
|
-
textStyle = $[16];
|
|
95
|
-
}
|
|
96
|
-
const type = t1 === undefined ? ToastType.Bottom : t1;
|
|
97
|
-
const duration = t2 === undefined ? ToastDuration.Short : t2;
|
|
98
|
-
const textVariant = t3 === undefined ? "textS" : t3;
|
|
99
|
-
const textColor = t4 === undefined ? "textOverlay" : t4;
|
|
12
|
+
const ThemedToast = ({
|
|
13
|
+
type = ToastType.Bottom,
|
|
14
|
+
duration = ToastDuration.Short,
|
|
15
|
+
onDismiss,
|
|
16
|
+
top: propsTop,
|
|
17
|
+
bottom: propsBottom,
|
|
18
|
+
left: propsLeft,
|
|
19
|
+
right: propsRight,
|
|
20
|
+
insetsPadding,
|
|
21
|
+
insetPaddingTop,
|
|
22
|
+
insetPaddingBottom,
|
|
23
|
+
insetPaddingLeft,
|
|
24
|
+
insetPaddingRight,
|
|
25
|
+
text,
|
|
26
|
+
textVariant = 'textS',
|
|
27
|
+
textFontSize,
|
|
28
|
+
textFontWeight,
|
|
29
|
+
textColor = 'textOverlay',
|
|
30
|
+
textStyle,
|
|
31
|
+
textProps,
|
|
32
|
+
...props
|
|
33
|
+
}) => {
|
|
100
34
|
const showSharedVal = useAnimationSharedVal();
|
|
101
|
-
const t5 = insetsPadding ?? "m";
|
|
102
|
-
let t6;
|
|
103
|
-
if ($[17] !== insetPaddingBottom || $[18] !== insetPaddingLeft || $[19] !== insetPaddingRight || $[20] !== insetPaddingTop || $[21] !== t5) {
|
|
104
|
-
t6 = {
|
|
105
|
-
insets: true,
|
|
106
|
-
insetsPadding: t5,
|
|
107
|
-
insetPaddingTop,
|
|
108
|
-
insetPaddingBottom,
|
|
109
|
-
insetPaddingLeft,
|
|
110
|
-
insetPaddingRight
|
|
111
|
-
};
|
|
112
|
-
$[17] = insetPaddingBottom;
|
|
113
|
-
$[18] = insetPaddingLeft;
|
|
114
|
-
$[19] = insetPaddingRight;
|
|
115
|
-
$[20] = insetPaddingTop;
|
|
116
|
-
$[21] = t5;
|
|
117
|
-
$[22] = t6;
|
|
118
|
-
} else {
|
|
119
|
-
t6 = $[22];
|
|
120
|
-
}
|
|
121
35
|
const {
|
|
122
36
|
paddingTop,
|
|
123
37
|
paddingBottom,
|
|
124
38
|
paddingLeft,
|
|
125
39
|
paddingRight
|
|
126
|
-
} = useInsetsStyle(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
return {
|
|
161
|
-
opacity: showSharedVal.value,
|
|
162
|
-
transform: [{
|
|
163
|
-
translateY: interpolate(showSharedVal.value, [0, 1], [outputY, 0])
|
|
164
|
-
}]
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
ThemedToastTsx1.__closure = {
|
|
168
|
-
type,
|
|
169
|
-
ToastType,
|
|
170
|
-
paddingTop,
|
|
171
|
-
paddingBottom,
|
|
172
|
-
showSharedVal,
|
|
173
|
-
interpolate
|
|
40
|
+
} = useInsetsStyle({
|
|
41
|
+
insets: true,
|
|
42
|
+
insetsPadding: insetsPadding ?? 'm',
|
|
43
|
+
insetPaddingTop,
|
|
44
|
+
insetPaddingBottom,
|
|
45
|
+
insetPaddingLeft,
|
|
46
|
+
insetPaddingRight
|
|
47
|
+
});
|
|
48
|
+
const animatedStyle = useAnimatedStyle(() => {
|
|
49
|
+
let outputY = 0;
|
|
50
|
+
switch (type) {
|
|
51
|
+
case ToastType.Top:
|
|
52
|
+
case ToastType.TopLeft:
|
|
53
|
+
case ToastType.TopRight:
|
|
54
|
+
if (paddingTop) {
|
|
55
|
+
outputY = -paddingTop * 2;
|
|
56
|
+
}
|
|
57
|
+
break;
|
|
58
|
+
case ToastType.Bottom:
|
|
59
|
+
case ToastType.BottomLeft:
|
|
60
|
+
case ToastType.BottomRight:
|
|
61
|
+
if (paddingBottom) {
|
|
62
|
+
outputY = paddingBottom * 2;
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
default:
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
opacity: showSharedVal.value,
|
|
70
|
+
transform: [{
|
|
71
|
+
translateY: interpolate(showSharedVal.value, [0, 1], [outputY, 0])
|
|
72
|
+
}]
|
|
174
73
|
};
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
ToastType,
|
|
184
|
-
paddingTop,
|
|
185
|
-
paddingBottom,
|
|
186
|
-
showSharedVal,
|
|
187
|
-
interpolate
|
|
188
|
-
}), [type, showSharedVal, paddingTop, paddingBottom]);
|
|
189
|
-
let t7;
|
|
190
|
-
if ($[23] !== duration || $[24] !== onDismiss || $[25] !== showSharedVal || $[26] !== text || $[27] !== type) {
|
|
191
|
-
t7 = () => {
|
|
192
|
-
showSharedVal.set(withTiming(1));
|
|
193
|
-
const timeout = setTimeout(() => {
|
|
194
|
-
showSharedVal.set(withTiming(0, undefined, function ThemedToastTsx2Factory({
|
|
195
|
-
_worklet_12110438843585_init_data,
|
|
196
|
-
onDismiss,
|
|
197
|
-
scheduleOnRN,
|
|
198
|
-
OverlayDismissResultType,
|
|
199
|
-
type,
|
|
200
|
-
text,
|
|
201
|
-
duration
|
|
202
|
-
}) {
|
|
203
|
-
const _e = [new global.Error(), -7, -27];
|
|
204
|
-
const ThemedToastTsx2 = function () {
|
|
205
|
-
if (onDismiss) {
|
|
206
|
-
scheduleOnRN(onDismiss, {
|
|
207
|
-
resultType: OverlayDismissResultType.Toast,
|
|
208
|
-
type,
|
|
209
|
-
text,
|
|
210
|
-
duration
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
ThemedToastTsx2.__closure = {
|
|
215
|
-
onDismiss,
|
|
216
|
-
scheduleOnRN,
|
|
217
|
-
OverlayDismissResultType,
|
|
74
|
+
}, [type, showSharedVal, paddingTop, paddingBottom]);
|
|
75
|
+
useEffect(() => {
|
|
76
|
+
showSharedVal.set(withTiming(1));
|
|
77
|
+
const timeout = setTimeout(() => {
|
|
78
|
+
showSharedVal.set(withTiming(0, undefined, () => {
|
|
79
|
+
if (onDismiss) {
|
|
80
|
+
scheduleOnRN(onDismiss, {
|
|
81
|
+
resultType: OverlayDismissResultType.Toast,
|
|
218
82
|
type,
|
|
219
83
|
text,
|
|
220
84
|
duration
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}({
|
|
228
|
-
_worklet_12110438843585_init_data,
|
|
229
|
-
onDismiss,
|
|
230
|
-
scheduleOnRN,
|
|
231
|
-
OverlayDismissResultType,
|
|
232
|
-
type,
|
|
233
|
-
text,
|
|
234
|
-
duration
|
|
235
|
-
})));
|
|
236
|
-
}, duration);
|
|
237
|
-
return () => {
|
|
238
|
-
clearTimeout(timeout);
|
|
239
|
-
};
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
}));
|
|
88
|
+
}, duration);
|
|
89
|
+
return () => {
|
|
90
|
+
clearTimeout(timeout);
|
|
240
91
|
};
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
if ($[31] !== paddingTop || $[32] !== type) {
|
|
261
|
-
t9 = [ToastType.Top, ToastType.TopLeft, ToastType.TopRight].includes(type) ? paddingTop : undefined;
|
|
262
|
-
$[31] = paddingTop;
|
|
263
|
-
$[32] = type;
|
|
264
|
-
$[33] = t9;
|
|
265
|
-
} else {
|
|
266
|
-
t9 = $[33];
|
|
267
|
-
}
|
|
268
|
-
const top = t9;
|
|
269
|
-
let t10;
|
|
270
|
-
if ($[34] !== paddingBottom || $[35] !== type) {
|
|
271
|
-
t10 = [ToastType.Bottom, ToastType.BottomLeft, ToastType.BottomRight].includes(type) ? paddingBottom : undefined;
|
|
272
|
-
$[34] = paddingBottom;
|
|
273
|
-
$[35] = type;
|
|
274
|
-
$[36] = t10;
|
|
275
|
-
} else {
|
|
276
|
-
t10 = $[36];
|
|
277
|
-
}
|
|
278
|
-
const bottom = t10;
|
|
279
|
-
let t11;
|
|
280
|
-
if ($[37] !== paddingLeft || $[38] !== type) {
|
|
281
|
-
t11 = [ToastType.TopLeft, ToastType.BottomLeft].includes(type) ? paddingLeft : undefined;
|
|
282
|
-
$[37] = paddingLeft;
|
|
283
|
-
$[38] = type;
|
|
284
|
-
$[39] = t11;
|
|
285
|
-
} else {
|
|
286
|
-
t11 = $[39];
|
|
287
|
-
}
|
|
288
|
-
const left = t11;
|
|
289
|
-
let t12;
|
|
290
|
-
if ($[40] !== paddingRight || $[41] !== type) {
|
|
291
|
-
t12 = [ToastType.TopRight, ToastType.BottomRight].includes(type) ? paddingRight : undefined;
|
|
292
|
-
$[40] = paddingRight;
|
|
293
|
-
$[41] = type;
|
|
294
|
-
$[42] = t12;
|
|
295
|
-
} else {
|
|
296
|
-
t12 = $[42];
|
|
297
|
-
}
|
|
298
|
-
const right = t12;
|
|
299
|
-
let t13;
|
|
300
|
-
if ($[43] !== text || $[44] !== textColor || $[45] !== textFontSize || $[46] !== textFontWeight || $[47] !== textProps || $[48] !== textStyle || $[49] !== textVariant) {
|
|
301
|
-
t13 = /*#__PURE__*/_jsx(ThemedText, {
|
|
92
|
+
}, [text]);
|
|
93
|
+
const top = [ToastType.Top, ToastType.TopLeft, ToastType.TopRight].includes(type) ? propsTop ?? paddingTop : undefined;
|
|
94
|
+
const bottom = [ToastType.Bottom, ToastType.BottomLeft, ToastType.BottomRight].includes(type) ? propsBottom ?? paddingBottom : undefined;
|
|
95
|
+
const left = [ToastType.TopLeft, ToastType.BottomLeft].includes(type) ? propsLeft ?? paddingLeft : undefined;
|
|
96
|
+
const right = [ToastType.TopRight, ToastType.BottomRight].includes(type) ? propsRight ?? paddingRight : undefined;
|
|
97
|
+
return /*#__PURE__*/_jsx(AnimatedThemedView, {
|
|
98
|
+
position: 'absolute',
|
|
99
|
+
top: top,
|
|
100
|
+
bottom: bottom,
|
|
101
|
+
left: left,
|
|
102
|
+
right: right,
|
|
103
|
+
alignSelf: 'center',
|
|
104
|
+
maxWidth: overlayMaxWidthPercent,
|
|
105
|
+
paddingVertical: 'xxs',
|
|
106
|
+
paddingHorizontal: 's',
|
|
107
|
+
backgroundColor: 'backgroundOverlay',
|
|
108
|
+
style: animatedStyle,
|
|
109
|
+
...props,
|
|
110
|
+
children: /*#__PURE__*/_jsx(ThemedText, {
|
|
302
111
|
numberOfLines: 1,
|
|
303
112
|
variant: textVariant,
|
|
304
113
|
fontSize: textFontSize,
|
|
@@ -307,47 +116,8 @@ const ThemedToast = t0 => {
|
|
|
307
116
|
style: textStyle,
|
|
308
117
|
...textProps,
|
|
309
118
|
children: text
|
|
310
|
-
})
|
|
311
|
-
|
|
312
|
-
$[44] = textColor;
|
|
313
|
-
$[45] = textFontSize;
|
|
314
|
-
$[46] = textFontWeight;
|
|
315
|
-
$[47] = textProps;
|
|
316
|
-
$[48] = textStyle;
|
|
317
|
-
$[49] = textVariant;
|
|
318
|
-
$[50] = t13;
|
|
319
|
-
} else {
|
|
320
|
-
t13 = $[50];
|
|
321
|
-
}
|
|
322
|
-
let t14;
|
|
323
|
-
if ($[51] !== animatedStyle || $[52] !== bottom || $[53] !== left || $[54] !== props || $[55] !== right || $[56] !== t13 || $[57] !== top) {
|
|
324
|
-
t14 = /*#__PURE__*/_jsx(AnimatedThemedView, {
|
|
325
|
-
position: "absolute",
|
|
326
|
-
top: top,
|
|
327
|
-
bottom: bottom,
|
|
328
|
-
left: left,
|
|
329
|
-
right: right,
|
|
330
|
-
alignSelf: "center",
|
|
331
|
-
maxWidth: overlayMaxWidthPercent,
|
|
332
|
-
paddingVertical: "xxs",
|
|
333
|
-
paddingHorizontal: "s",
|
|
334
|
-
backgroundColor: "backgroundOverlay",
|
|
335
|
-
style: animatedStyle,
|
|
336
|
-
...props,
|
|
337
|
-
children: t13
|
|
338
|
-
});
|
|
339
|
-
$[51] = animatedStyle;
|
|
340
|
-
$[52] = bottom;
|
|
341
|
-
$[53] = left;
|
|
342
|
-
$[54] = props;
|
|
343
|
-
$[55] = right;
|
|
344
|
-
$[56] = t13;
|
|
345
|
-
$[57] = top;
|
|
346
|
-
$[58] = t14;
|
|
347
|
-
} else {
|
|
348
|
-
t14 = $[58];
|
|
349
|
-
}
|
|
350
|
-
return t14;
|
|
119
|
+
})
|
|
120
|
+
});
|
|
351
121
|
};
|
|
352
122
|
export default ThemedToast;
|
|
353
123
|
//# sourceMappingURL=ThemedToast.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","interpolate","useAnimatedStyle","withTiming","scheduleOnRN","useAnimationSharedVal","useInsetsStyle","OverlayDismissResultType","
|
|
1
|
+
{"version":3,"names":["useEffect","interpolate","useAnimatedStyle","withTiming","scheduleOnRN","useAnimationSharedVal","useInsetsStyle","OverlayDismissResultType","overlayMaxWidthPercent","ToastDuration","ToastType","ThemedText","AnimatedThemedView","jsx","_jsx","ThemedToast","type","Bottom","duration","Short","onDismiss","top","propsTop","bottom","propsBottom","left","propsLeft","right","propsRight","insetsPadding","insetPaddingTop","insetPaddingBottom","insetPaddingLeft","insetPaddingRight","text","textVariant","textFontSize","textFontWeight","textColor","textStyle","textProps","props","showSharedVal","paddingTop","paddingBottom","paddingLeft","paddingRight","insets","animatedStyle","outputY","Top","TopLeft","TopRight","BottomLeft","BottomRight","opacity","value","transform","translateY","set","timeout","setTimeout","undefined","resultType","Toast","clearTimeout","includes","position","alignSelf","maxWidth","paddingVertical","paddingHorizontal","backgroundColor","style","children","numberOfLines","variant","fontSize","fontWeight","color"],"sourceRoot":"../../../../../src","sources":["components/overlay/toast/ThemedToast.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
const GestureProvider = props => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
if ($[0] !== props) {
|
|
10
|
-
t0 = /*#__PURE__*/_jsx(GestureHandlerRootView, {
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
$[0] = props;
|
|
14
|
-
$[1] = t0;
|
|
15
|
-
} else {
|
|
16
|
-
t0 = $[1];
|
|
17
|
-
}
|
|
18
|
-
return t0;
|
|
19
|
-
};
|
|
5
|
+
const GestureProvider = props => /*#__PURE__*/_jsx(GestureHandlerRootView, {
|
|
6
|
+
...props
|
|
7
|
+
});
|
|
20
8
|
export default GestureProvider;
|
|
21
9
|
//# sourceMappingURL=GestureProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["GestureHandlerRootView","jsx","_jsx","GestureProvider","props"
|
|
1
|
+
{"version":3,"names":["GestureHandlerRootView","jsx","_jsx","GestureProvider","props"],"sourceRoot":"../../../../src","sources":["components/provider/GestureProvider.tsx"],"mappings":";;AACA,SAASA,sBAAsB,QAAQ,8BAA8B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGtE,MAAMC,eAAgD,GAAIC,KAAK,iBAC7DF,IAAA,CAACF,sBAAsB;EAAA,GAAKI;AAAK,CAAG,CACrC;AAED,eAAeD,eAAe","ignoreList":[]}
|
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
const InsetsProvider = props => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
if ($[0] !== props) {
|
|
10
|
-
t0 = /*#__PURE__*/_jsx(SafeAreaProvider, {
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
$[0] = props;
|
|
14
|
-
$[1] = t0;
|
|
15
|
-
} else {
|
|
16
|
-
t0 = $[1];
|
|
17
|
-
}
|
|
18
|
-
return t0;
|
|
19
|
-
};
|
|
5
|
+
const InsetsProvider = props => /*#__PURE__*/_jsx(SafeAreaProvider, {
|
|
6
|
+
...props
|
|
7
|
+
});
|
|
20
8
|
export default InsetsProvider;
|
|
21
9
|
//# sourceMappingURL=InsetsProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SafeAreaProvider","jsx","_jsx","InsetsProvider","props"
|
|
1
|
+
{"version":3,"names":["SafeAreaProvider","jsx","_jsx","InsetsProvider","props"],"sourceRoot":"../../../../src","sources":["components/provider/InsetsProvider.tsx"],"mappings":";;AACA,SACEA,gBAAgB,QAEX,gCAAgC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAExC,MAAMC,cAAyC,GAAIC,KAAK,iBACtDF,IAAA,CAACF,gBAAgB;EAAA,GAAKI;AAAK,CAAG,CAC/B;AAED,eAAeD,cAAc","ignoreList":[]}
|
|
@@ -1,33 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import GestureProvider from "./GestureProvider.js";
|
|
5
4
|
import InsetsProvider from "./InsetsProvider.js";
|
|
6
5
|
import ThemeProvider from "./ThemeProvider.js";
|
|
7
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
const ReactNativeTemplateProviders =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
children: /*#__PURE__*/_jsx(InsetsProvider, {
|
|
18
|
-
children: /*#__PURE__*/_jsx(ThemeProvider, {
|
|
19
|
-
theme: theme,
|
|
20
|
-
children: children
|
|
21
|
-
})
|
|
7
|
+
const ReactNativeTemplateProviders = ({
|
|
8
|
+
theme,
|
|
9
|
+
children
|
|
10
|
+
}) => {
|
|
11
|
+
return /*#__PURE__*/_jsx(GestureProvider, {
|
|
12
|
+
children: /*#__PURE__*/_jsx(InsetsProvider, {
|
|
13
|
+
children: /*#__PURE__*/_jsx(ThemeProvider, {
|
|
14
|
+
theme: theme,
|
|
15
|
+
children: children
|
|
22
16
|
})
|
|
23
|
-
})
|
|
24
|
-
|
|
25
|
-
$[1] = theme;
|
|
26
|
-
$[2] = t1;
|
|
27
|
-
} else {
|
|
28
|
-
t1 = $[2];
|
|
29
|
-
}
|
|
30
|
-
return t1;
|
|
17
|
+
})
|
|
18
|
+
});
|
|
31
19
|
};
|
|
32
20
|
export default ReactNativeTemplateProviders;
|
|
33
21
|
//# sourceMappingURL=ReactNativeTemplateProviders.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["GestureProvider","InsetsProvider","ThemeProvider","jsx","_jsx","ReactNativeTemplateProviders","
|
|
1
|
+
{"version":3,"names":["GestureProvider","InsetsProvider","ThemeProvider","jsx","_jsx","ReactNativeTemplateProviders","theme","children"],"sourceRoot":"../../../../src","sources":["components/provider/ReactNativeTemplateProviders.tsx"],"mappings":";;AAEA,OAAOA,eAAe,MAAM,sBAAmB;AAC/C,OAAOC,cAAc,MAAM,qBAAkB;AAC7C,OAAOC,aAAa,MAAM,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE5C,MAAMC,4BAAmE,GAAGA,CAAC;EAC3EC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ,oBACEH,IAAA,CAACJ,eAAe;IAAAO,QAAA,eACdH,IAAA,CAACH,cAAc;MAAAM,QAAA,eACbH,IAAA,CAACF,aAAa;QAACI,KAAK,EAAEA,KAAM;QAAAC,QAAA,EAAEA;MAAQ,CAAgB;IAAC,CACzC;EAAC,CACF,CAAC;AAEtB,CAAC;AAED,eAAeF,4BAA4B","ignoreList":[]}
|
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
3
|
import { ThemeProvider as RestyleThemeProvider } from '@shopify/restyle';
|
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
const ThemeProvider = props => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
if ($[0] !== props) {
|
|
10
|
-
t0 = /*#__PURE__*/_jsx(RestyleThemeProvider, {
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
$[0] = props;
|
|
14
|
-
$[1] = t0;
|
|
15
|
-
} else {
|
|
16
|
-
t0 = $[1];
|
|
17
|
-
}
|
|
18
|
-
return t0;
|
|
19
|
-
};
|
|
5
|
+
const ThemeProvider = props => /*#__PURE__*/_jsx(RestyleThemeProvider, {
|
|
6
|
+
...props
|
|
7
|
+
});
|
|
20
8
|
export default ThemeProvider;
|
|
21
9
|
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ThemeProvider","RestyleThemeProvider","jsx","_jsx","props"
|
|
1
|
+
{"version":3,"names":["ThemeProvider","RestyleThemeProvider","jsx","_jsx","props"],"sourceRoot":"../../../../src","sources":["components/provider/ThemeProvider.tsx"],"mappings":";;AAAA,SAASA,aAAa,IAAIC,oBAAoB,QAAQ,kBAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGzE,MAAMH,aAA8D,GAClEI,KAAK,iBACFD,IAAA,CAACF,oBAAoB;EAAA,GAAKG;AAAK,CAAG,CAAC;AAExC,eAAeJ,aAAa","ignoreList":[]}
|