@jamadd/react-native-template-ui 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +272 -0
- package/lib/commonjs/components/btn/AnimatedPressable.js +14 -0
- package/lib/commonjs/components/btn/AnimatedPressable.js.map +1 -0
- package/lib/commonjs/components/btn/AnimatedThemedPressable.js +36 -0
- package/lib/commonjs/components/btn/AnimatedThemedPressable.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedBtn.js +97 -0
- package/lib/commonjs/components/btn/ThemedBtn.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedIconBtn.js +81 -0
- package/lib/commonjs/components/btn/ThemedIconBtn.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js +146 -0
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedPressable.js +35 -0
- package/lib/commonjs/components/btn/ThemedPressable.js.map +1 -0
- package/lib/commonjs/components/icon/ThemedIcon.js +71 -0
- package/lib/commonjs/components/icon/ThemedIcon.js.map +1 -0
- package/lib/commonjs/components/list/List.js +143 -0
- package/lib/commonjs/components/list/List.js.map +1 -0
- package/lib/commonjs/components/loading/ThemedLoading.js +64 -0
- package/lib/commonjs/components/loading/ThemedLoading.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js +80 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js +34 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js +119 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js +84 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js +57 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js +82 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js +67 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js +92 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js +89 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js +64 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js +167 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/Alert.js +160 -0
- package/lib/commonjs/components/overlay/alert/Alert.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertBtn.js +82 -0
- package/lib/commonjs/components/overlay/alert/AlertBtn.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertBtns.js +71 -0
- package/lib/commonjs/components/overlay/alert/AlertBtns.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertContent.js +61 -0
- package/lib/commonjs/components/overlay/alert/AlertContent.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertWrap.js +157 -0
- package/lib/commonjs/components/overlay/alert/AlertWrap.js.map +1 -0
- package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js +122 -0
- package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js.map +1 -0
- package/lib/commonjs/components/overlay/modal/ThemedModal.js +94 -0
- package/lib/commonjs/components/overlay/modal/ThemedModal.js.map +1 -0
- package/lib/commonjs/components/overlay/toast/ThemedToast.js +362 -0
- package/lib/commonjs/components/overlay/toast/ThemedToast.js.map +1 -0
- package/lib/commonjs/components/provider/GestureProvider.js +25 -0
- package/lib/commonjs/components/provider/GestureProvider.js.map +1 -0
- package/lib/commonjs/components/provider/InsetsProvider.js +25 -0
- package/lib/commonjs/components/provider/InsetsProvider.js.map +1 -0
- package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js +38 -0
- package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js.map +1 -0
- package/lib/commonjs/components/provider/ThemeProvider.js +25 -0
- package/lib/commonjs/components/provider/ThemeProvider.js.map +1 -0
- package/lib/commonjs/components/separator/ThemedSeparator.js +66 -0
- package/lib/commonjs/components/separator/ThemedSeparator.js.map +1 -0
- package/lib/commonjs/components/switch/ThemedSwitch.js +114 -0
- package/lib/commonjs/components/switch/ThemedSwitch.js.map +1 -0
- package/lib/commonjs/components/text/Text.js +12 -0
- package/lib/commonjs/components/text/Text.js.map +1 -0
- package/lib/commonjs/components/text/ThemedIconText.js +143 -0
- package/lib/commonjs/components/text/ThemedIconText.js.map +1 -0
- package/lib/commonjs/components/text/ThemedText.js +26 -0
- package/lib/commonjs/components/text/ThemedText.js.map +1 -0
- package/lib/commonjs/components/view/AnimatedBox.js +14 -0
- package/lib/commonjs/components/view/AnimatedBox.js.map +1 -0
- package/lib/commonjs/components/view/AnimatedThemedView.js +45 -0
- package/lib/commonjs/components/view/AnimatedThemedView.js.map +1 -0
- package/lib/commonjs/components/view/Box.js +12 -0
- package/lib/commonjs/components/view/Box.js.map +1 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.js +124 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.js.map +1 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.web.js +126 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.web.js.map +1 -0
- package/lib/commonjs/components/view/ThemedScrollView.js +141 -0
- package/lib/commonjs/components/view/ThemedScrollView.js.map +1 -0
- package/lib/commonjs/components/view/ThemedView.js +45 -0
- package/lib/commonjs/components/view/ThemedView.js.map +1 -0
- package/lib/commonjs/hooks/btn.js +158 -0
- package/lib/commonjs/hooks/btn.js.map +1 -0
- package/lib/commonjs/hooks/list.js +66 -0
- package/lib/commonjs/hooks/list.js.map +1 -0
- package/lib/commonjs/hooks/overlay.js +656 -0
- package/lib/commonjs/hooks/overlay.js.map +1 -0
- package/lib/commonjs/hooks/reanimated.js +11 -0
- package/lib/commonjs/hooks/reanimated.js.map +1 -0
- package/lib/commonjs/hooks/separator.js +22 -0
- package/lib/commonjs/hooks/separator.js.map +1 -0
- package/lib/commonjs/hooks/style.js +92 -0
- package/lib/commonjs/hooks/style.js.map +1 -0
- package/lib/commonjs/hooks/switch.js +209 -0
- package/lib/commonjs/hooks/switch.js.map +1 -0
- package/lib/commonjs/hooks/theme.js +71 -0
- package/lib/commonjs/hooks/theme.js.map +1 -0
- package/lib/commonjs/hooks/view.js +11 -0
- package/lib/commonjs/hooks/view.js.map +1 -0
- package/lib/commonjs/index.js +533 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/test/utils/const.js +19 -0
- package/lib/commonjs/test/utils/const.js.map +1 -0
- package/lib/commonjs/test/utils/func.js +60 -0
- package/lib/commonjs/test/utils/func.js.map +1 -0
- package/lib/commonjs/test/utils/testingLib.js +38 -0
- package/lib/commonjs/test/utils/testingLib.js.map +1 -0
- package/lib/commonjs/types/btn.js +6 -0
- package/lib/commonjs/types/btn.js.map +1 -0
- package/lib/commonjs/types/global.d.js +6 -0
- package/lib/commonjs/types/global.d.js.map +1 -0
- package/lib/commonjs/types/icon.js +6 -0
- package/lib/commonjs/types/icon.js.map +1 -0
- package/lib/commonjs/types/list.js +6 -0
- package/lib/commonjs/types/list.js.map +1 -0
- package/lib/commonjs/types/loading.js +6 -0
- package/lib/commonjs/types/loading.js.map +1 -0
- package/lib/commonjs/types/overlay.js +6 -0
- package/lib/commonjs/types/overlay.js.map +1 -0
- package/lib/commonjs/types/provider.js +6 -0
- package/lib/commonjs/types/provider.js.map +1 -0
- package/lib/commonjs/types/react.js +6 -0
- package/lib/commonjs/types/react.js.map +1 -0
- package/lib/commonjs/types/reanimated.js +6 -0
- package/lib/commonjs/types/reanimated.js.map +1 -0
- package/lib/commonjs/types/separator.js +6 -0
- package/lib/commonjs/types/separator.js.map +1 -0
- package/lib/commonjs/types/style.js +6 -0
- package/lib/commonjs/types/style.js.map +1 -0
- package/lib/commonjs/types/switch.js +6 -0
- package/lib/commonjs/types/switch.js.map +1 -0
- package/lib/commonjs/types/text.js +6 -0
- package/lib/commonjs/types/text.js.map +1 -0
- package/lib/commonjs/types/theme.js +6 -0
- package/lib/commonjs/types/theme.js.map +1 -0
- package/lib/commonjs/types/view.js +6 -0
- package/lib/commonjs/types/view.js.map +1 -0
- package/lib/commonjs/utils/btn/const.js +17 -0
- package/lib/commonjs/utils/btn/const.js.map +1 -0
- package/lib/commonjs/utils/overlay/const.js +73 -0
- package/lib/commonjs/utils/overlay/const.js.map +1 -0
- package/lib/commonjs/utils/overlay/func.js +63 -0
- package/lib/commonjs/utils/overlay/func.js.map +1 -0
- package/lib/commonjs/utils/reanimated/func.js +77 -0
- package/lib/commonjs/utils/reanimated/func.js.map +1 -0
- package/lib/commonjs/utils/style/const.js +12 -0
- package/lib/commonjs/utils/style/const.js.map +1 -0
- package/lib/commonjs/utils/style/func.js +35 -0
- package/lib/commonjs/utils/style/func.js.map +1 -0
- package/lib/commonjs/utils/switch/const.js +9 -0
- package/lib/commonjs/utils/switch/const.js.map +1 -0
- package/lib/commonjs/utils/theme/const.js +189 -0
- package/lib/commonjs/utils/theme/const.js.map +1 -0
- package/lib/commonjs/utils/theme/restyle.js +22 -0
- package/lib/commonjs/utils/theme/restyle.js.map +1 -0
- package/lib/module/components/btn/AnimatedPressable.js +8 -0
- package/lib/module/components/btn/AnimatedPressable.js.map +1 -0
- package/lib/module/components/btn/AnimatedThemedPressable.js +31 -0
- package/lib/module/components/btn/AnimatedThemedPressable.js.map +1 -0
- package/lib/module/components/btn/ThemedBtn.js +92 -0
- package/lib/module/components/btn/ThemedBtn.js.map +1 -0
- package/lib/module/components/btn/ThemedIconBtn.js +76 -0
- package/lib/module/components/btn/ThemedIconBtn.js.map +1 -0
- package/lib/module/components/btn/ThemedIconTextBtn.js +141 -0
- package/lib/module/components/btn/ThemedIconTextBtn.js.map +1 -0
- package/lib/module/components/btn/ThemedPressable.js +31 -0
- package/lib/module/components/btn/ThemedPressable.js.map +1 -0
- package/lib/module/components/icon/ThemedIcon.js +66 -0
- package/lib/module/components/icon/ThemedIcon.js.map +1 -0
- package/lib/module/components/list/List.js +139 -0
- package/lib/module/components/list/List.js.map +1 -0
- package/lib/module/components/loading/ThemedLoading.js +60 -0
- package/lib/module/components/loading/ThemedLoading.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheet.js +76 -0
- package/lib/module/components/overlay/actionSheet/ActionSheet.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +29 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +113 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +79 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +52 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js +76 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js +61 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js +86 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +83 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +58 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +162 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -0
- package/lib/module/components/overlay/alert/Alert.js +155 -0
- package/lib/module/components/overlay/alert/Alert.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertBtn.js +77 -0
- package/lib/module/components/overlay/alert/AlertBtn.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertBtns.js +66 -0
- package/lib/module/components/overlay/alert/AlertBtns.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertContent.js +56 -0
- package/lib/module/components/overlay/alert/AlertContent.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertWrap.js +152 -0
- package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -0
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js +117 -0
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js.map +1 -0
- package/lib/module/components/overlay/modal/ThemedModal.js +89 -0
- package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -0
- package/lib/module/components/overlay/toast/ThemedToast.js +358 -0
- package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -0
- package/lib/module/components/provider/GestureProvider.js +21 -0
- package/lib/module/components/provider/GestureProvider.js.map +1 -0
- package/lib/module/components/provider/InsetsProvider.js +21 -0
- package/lib/module/components/provider/InsetsProvider.js.map +1 -0
- package/lib/module/components/provider/ReactNativeTemplateProviders.js +33 -0
- package/lib/module/components/provider/ReactNativeTemplateProviders.js.map +1 -0
- package/lib/module/components/provider/ThemeProvider.js +21 -0
- package/lib/module/components/provider/ThemeProvider.js.map +1 -0
- package/lib/module/components/separator/ThemedSeparator.js +61 -0
- package/lib/module/components/separator/ThemedSeparator.js.map +1 -0
- package/lib/module/components/switch/ThemedSwitch.js +109 -0
- package/lib/module/components/switch/ThemedSwitch.js.map +1 -0
- package/lib/module/components/text/Text.js +7 -0
- package/lib/module/components/text/Text.js.map +1 -0
- package/lib/module/components/text/ThemedIconText.js +138 -0
- package/lib/module/components/text/ThemedIconText.js.map +1 -0
- package/lib/module/components/text/ThemedText.js +21 -0
- package/lib/module/components/text/ThemedText.js.map +1 -0
- package/lib/module/components/view/AnimatedBox.js +8 -0
- package/lib/module/components/view/AnimatedBox.js.map +1 -0
- package/lib/module/components/view/AnimatedThemedView.js +40 -0
- package/lib/module/components/view/AnimatedThemedView.js.map +1 -0
- package/lib/module/components/view/Box.js +7 -0
- package/lib/module/components/view/Box.js.map +1 -0
- package/lib/module/components/view/ThemedScreenWrap.js +119 -0
- package/lib/module/components/view/ThemedScreenWrap.js.map +1 -0
- package/lib/module/components/view/ThemedScreenWrap.web.js +121 -0
- package/lib/module/components/view/ThemedScreenWrap.web.js.map +1 -0
- package/lib/module/components/view/ThemedScrollView.js +137 -0
- package/lib/module/components/view/ThemedScrollView.js.map +1 -0
- package/lib/module/components/view/ThemedView.js +40 -0
- package/lib/module/components/view/ThemedView.js.map +1 -0
- package/lib/module/hooks/btn.js +153 -0
- package/lib/module/hooks/btn.js.map +1 -0
- package/lib/module/hooks/list.js +61 -0
- package/lib/module/hooks/list.js.map +1 -0
- package/lib/module/hooks/overlay.js +641 -0
- package/lib/module/hooks/overlay.js.map +1 -0
- package/lib/module/hooks/reanimated.js +7 -0
- package/lib/module/hooks/reanimated.js.map +1 -0
- package/lib/module/hooks/separator.js +19 -0
- package/lib/module/hooks/separator.js.map +1 -0
- package/lib/module/hooks/style.js +82 -0
- package/lib/module/hooks/style.js.map +1 -0
- package/lib/module/hooks/switch.js +206 -0
- package/lib/module/hooks/switch.js.map +1 -0
- package/lib/module/hooks/theme.js +58 -0
- package/lib/module/hooks/theme.js.map +1 -0
- package/lib/module/hooks/view.js +7 -0
- package/lib/module/hooks/view.js.map +1 -0
- package/lib/module/index.js +55 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/test/utils/const.js +13 -0
- package/lib/module/test/utils/const.js.map +1 -0
- package/lib/module/test/utils/func.js +50 -0
- package/lib/module/test/utils/func.js.map +1 -0
- package/lib/module/test/utils/testingLib.js +19 -0
- package/lib/module/test/utils/testingLib.js.map +1 -0
- package/lib/module/types/btn.js +4 -0
- package/lib/module/types/btn.js.map +1 -0
- package/lib/module/types/global.d.js +4 -0
- package/lib/module/types/global.d.js.map +1 -0
- package/lib/module/types/icon.js +4 -0
- package/lib/module/types/icon.js.map +1 -0
- package/lib/module/types/list.js +4 -0
- package/lib/module/types/list.js.map +1 -0
- package/lib/module/types/loading.js +4 -0
- package/lib/module/types/loading.js.map +1 -0
- package/lib/module/types/overlay.js +4 -0
- package/lib/module/types/overlay.js.map +1 -0
- package/lib/module/types/provider.js +4 -0
- package/lib/module/types/provider.js.map +1 -0
- package/lib/module/types/react.js +4 -0
- package/lib/module/types/react.js.map +1 -0
- package/lib/module/types/reanimated.js +4 -0
- package/lib/module/types/reanimated.js.map +1 -0
- package/lib/module/types/separator.js +4 -0
- package/lib/module/types/separator.js.map +1 -0
- package/lib/module/types/style.js +4 -0
- package/lib/module/types/style.js.map +1 -0
- package/lib/module/types/switch.js +4 -0
- package/lib/module/types/switch.js.map +1 -0
- package/lib/module/types/text.js +4 -0
- package/lib/module/types/text.js.map +1 -0
- package/lib/module/types/theme.js +4 -0
- package/lib/module/types/theme.js.map +1 -0
- package/lib/module/types/view.js +4 -0
- package/lib/module/types/view.js.map +1 -0
- package/lib/module/utils/btn/const.js +13 -0
- package/lib/module/utils/btn/const.js.map +1 -0
- package/lib/module/utils/overlay/const.js +72 -0
- package/lib/module/utils/overlay/const.js.map +1 -0
- package/lib/module/utils/overlay/func.js +52 -0
- package/lib/module/utils/overlay/func.js.map +1 -0
- package/lib/module/utils/reanimated/func.js +73 -0
- package/lib/module/utils/reanimated/func.js.map +1 -0
- package/lib/module/utils/style/const.js +8 -0
- package/lib/module/utils/style/const.js.map +1 -0
- package/lib/module/utils/style/func.js +25 -0
- package/lib/module/utils/style/func.js.map +1 -0
- package/lib/module/utils/switch/const.js +5 -0
- package/lib/module/utils/switch/const.js.map +1 -0
- package/lib/module/utils/theme/const.js +192 -0
- package/lib/module/utils/theme/const.js.map +1 -0
- package/lib/module/utils/theme/restyle.js +17 -0
- package/lib/module/utils/theme/restyle.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedPressable.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedPressable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedThemedPressable.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedThemedPressable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconTextBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconTextBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedPressable.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedPressable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/icon/ThemedIcon.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/icon/ThemedIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list/List.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/list/List.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/loading/ThemedLoading.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/loading/ThemedLoading.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheet.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptList.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOpts.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/Alert.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/Alert.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertContent.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertWrap.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertWrap.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedLoadingModal.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedModal.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/toast/ThemedToast.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/toast/ThemedToast.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/GestureProvider.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/GestureProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/InsetsProvider.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/InsetsProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/ReactNativeTemplateProviders.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/ThemeProvider.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/separator/ThemedSeparator.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/separator/ThemedSeparator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/switch/ThemedSwitch.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/switch/ThemedSwitch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/Text.d.ts +1951 -0
- package/lib/typescript/commonjs/src/components/text/Text.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/ThemedIconText.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/text/ThemedIconText.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/ThemedText.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/text/ThemedText.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts +1009 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedThemedView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedThemedView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/Box.d.ts +2017 -0
- package/lib/typescript/commonjs/src/components/view/Box.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.web.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScrollView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScrollView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/btn.d.ts +1647 -0
- package/lib/typescript/commonjs/src/hooks/btn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/list.d.ts +4 -0
- package/lib/typescript/commonjs/src/hooks/list.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/overlay.d.ts +16 -0
- package/lib/typescript/commonjs/src/hooks/overlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/reanimated.d.ts +3 -0
- package/lib/typescript/commonjs/src/hooks/reanimated.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/separator.d.ts +5 -0
- package/lib/typescript/commonjs/src/hooks/separator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/style.d.ts +11 -0
- package/lib/typescript/commonjs/src/hooks/style.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/switch.d.ts +2 -0
- package/lib/typescript/commonjs/src/hooks/switch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/theme.d.ts +217 -0
- package/lib/typescript/commonjs/src/hooks/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/view.d.ts +3 -0
- package/lib/typescript/commonjs/src/hooks/view.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +53 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/test/utils/const.d.ts +4 -0
- package/lib/typescript/commonjs/src/test/utils/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/test/utils/func.d.ts +106 -0
- package/lib/typescript/commonjs/src/test/utils/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/test/utils/testingLib.d.ts +6 -0
- package/lib/typescript/commonjs/src/test/utils/testingLib.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/btn.d.ts +24 -0
- package/lib/typescript/commonjs/src/types/btn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/icon.d.ts +10 -0
- package/lib/typescript/commonjs/src/types/icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/list.d.ts +29 -0
- package/lib/typescript/commonjs/src/types/list.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/loading.d.ts +12 -0
- package/lib/typescript/commonjs/src/types/loading.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/overlay.d.ts +89 -0
- package/lib/typescript/commonjs/src/types/overlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/provider.d.ts +6 -0
- package/lib/typescript/commonjs/src/types/provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/react.d.ts +6 -0
- package/lib/typescript/commonjs/src/types/react.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/reanimated.d.ts +5 -0
- package/lib/typescript/commonjs/src/types/reanimated.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/separator.d.ts +7 -0
- package/lib/typescript/commonjs/src/types/separator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/style.d.ts +18 -0
- package/lib/typescript/commonjs/src/types/style.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/switch.d.ts +27 -0
- package/lib/typescript/commonjs/src/types/switch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/text.d.ts +15 -0
- package/lib/typescript/commonjs/src/types/text.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/theme.d.ts +15 -0
- package/lib/typescript/commonjs/src/types/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/view.d.ts +19 -0
- package/lib/typescript/commonjs/src/types/view.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/btn/const.d.ts +9 -0
- package/lib/typescript/commonjs/src/utils/btn/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/overlay/const.d.ts +24 -0
- package/lib/typescript/commonjs/src/utils/overlay/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/overlay/func.d.ts +11 -0
- package/lib/typescript/commonjs/src/utils/overlay/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/reanimated/func.d.ts +2 -0
- package/lib/typescript/commonjs/src/utils/reanimated/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/style/const.d.ts +5 -0
- package/lib/typescript/commonjs/src/utils/style/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/style/func.d.ts +9 -0
- package/lib/typescript/commonjs/src/utils/style/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/switch/const.d.ts +2 -0
- package/lib/typescript/commonjs/src/utils/switch/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts +120 -0
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts +1184 -0
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/components/btn/AnimatedPressable.d.ts +3 -0
- package/lib/typescript/module/src/components/btn/AnimatedPressable.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/AnimatedThemedPressable.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/AnimatedThemedPressable.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedIconBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedIconBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedIconTextBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedIconTextBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedPressable.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedPressable.d.ts.map +1 -0
- package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts +5 -0
- package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list/List.d.ts +4 -0
- package/lib/typescript/module/src/components/list/List.d.ts.map +1 -0
- package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts +5 -0
- package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts +12 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/GestureProvider.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/GestureProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts +5 -0
- package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts.map +1 -0
- package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts +5 -0
- package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/Text.d.ts +1951 -0
- package/lib/typescript/module/src/components/text/Text.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/ThemedIconText.d.ts +5 -0
- package/lib/typescript/module/src/components/text/ThemedIconText.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/ThemedText.d.ts +5 -0
- package/lib/typescript/module/src/components/text/ThemedText.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts +1009 -0
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts +5 -0
- package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/Box.d.ts +2017 -0
- package/lib/typescript/module/src/components/view/Box.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedView.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedView.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/btn.d.ts +1647 -0
- package/lib/typescript/module/src/hooks/btn.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/list.d.ts +4 -0
- package/lib/typescript/module/src/hooks/list.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/overlay.d.ts +16 -0
- package/lib/typescript/module/src/hooks/overlay.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/reanimated.d.ts +3 -0
- package/lib/typescript/module/src/hooks/reanimated.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/separator.d.ts +5 -0
- package/lib/typescript/module/src/hooks/separator.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/style.d.ts +11 -0
- package/lib/typescript/module/src/hooks/style.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/switch.d.ts +2 -0
- package/lib/typescript/module/src/hooks/switch.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/theme.d.ts +217 -0
- package/lib/typescript/module/src/hooks/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/view.d.ts +3 -0
- package/lib/typescript/module/src/hooks/view.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +53 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/test/utils/const.d.ts +4 -0
- package/lib/typescript/module/src/test/utils/const.d.ts.map +1 -0
- package/lib/typescript/module/src/test/utils/func.d.ts +106 -0
- package/lib/typescript/module/src/test/utils/func.d.ts.map +1 -0
- package/lib/typescript/module/src/test/utils/testingLib.d.ts +6 -0
- package/lib/typescript/module/src/test/utils/testingLib.d.ts.map +1 -0
- package/lib/typescript/module/src/types/btn.d.ts +24 -0
- package/lib/typescript/module/src/types/btn.d.ts.map +1 -0
- package/lib/typescript/module/src/types/icon.d.ts +10 -0
- package/lib/typescript/module/src/types/icon.d.ts.map +1 -0
- package/lib/typescript/module/src/types/list.d.ts +29 -0
- package/lib/typescript/module/src/types/list.d.ts.map +1 -0
- package/lib/typescript/module/src/types/loading.d.ts +12 -0
- package/lib/typescript/module/src/types/loading.d.ts.map +1 -0
- package/lib/typescript/module/src/types/overlay.d.ts +89 -0
- package/lib/typescript/module/src/types/overlay.d.ts.map +1 -0
- package/lib/typescript/module/src/types/provider.d.ts +6 -0
- package/lib/typescript/module/src/types/provider.d.ts.map +1 -0
- package/lib/typescript/module/src/types/react.d.ts +6 -0
- package/lib/typescript/module/src/types/react.d.ts.map +1 -0
- package/lib/typescript/module/src/types/reanimated.d.ts +5 -0
- package/lib/typescript/module/src/types/reanimated.d.ts.map +1 -0
- package/lib/typescript/module/src/types/separator.d.ts +7 -0
- package/lib/typescript/module/src/types/separator.d.ts.map +1 -0
- package/lib/typescript/module/src/types/style.d.ts +18 -0
- package/lib/typescript/module/src/types/style.d.ts.map +1 -0
- package/lib/typescript/module/src/types/switch.d.ts +27 -0
- package/lib/typescript/module/src/types/switch.d.ts.map +1 -0
- package/lib/typescript/module/src/types/text.d.ts +15 -0
- package/lib/typescript/module/src/types/text.d.ts.map +1 -0
- package/lib/typescript/module/src/types/theme.d.ts +15 -0
- package/lib/typescript/module/src/types/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/types/view.d.ts +19 -0
- package/lib/typescript/module/src/types/view.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/btn/const.d.ts +9 -0
- package/lib/typescript/module/src/utils/btn/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/overlay/const.d.ts +24 -0
- package/lib/typescript/module/src/utils/overlay/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/overlay/func.d.ts +11 -0
- package/lib/typescript/module/src/utils/overlay/func.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/reanimated/func.d.ts +2 -0
- package/lib/typescript/module/src/utils/reanimated/func.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/style/const.d.ts +5 -0
- package/lib/typescript/module/src/utils/style/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/style/func.d.ts +9 -0
- package/lib/typescript/module/src/utils/style/func.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/switch/const.d.ts +2 -0
- package/lib/typescript/module/src/utils/switch/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/theme/const.d.ts +120 -0
- package/lib/typescript/module/src/utils/theme/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/theme/restyle.d.ts +1184 -0
- package/lib/typescript/module/src/utils/theme/restyle.d.ts.map +1 -0
- package/package.json +214 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 JaMaD&D
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
in the Software without restriction, including without limitation the rights
|
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
furnished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
# React Native Template UI
|
|
2
|
+
|
|
3
|
+
**React Native Template UI** provides a set of UI components designed by **JaMa D&D**.
|
|
4
|
+
|
|
5
|
+
All UI components are built on top of different common React Native packages to provide great performace, usability and flexibility.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- Comprehensive UI components for building React Native applications with ease
|
|
10
|
+
- Built on top of popular packages like [`React Native Reanimated`](https://docs.swmansion.com/react-native-reanimated/), [`React Native Gesture Handler`](https://docs.swmansion.com/react-native-gesture-handler/) and [`FlashList`](https://shopify.github.io/flash-list/)
|
|
11
|
+
- Supports theming and customization with [`Restyle`](https://shopify.github.io/restyle/)
|
|
12
|
+
- Supports edge-to-edge design with [`React Native Safe Area Context`](https://appandflow.github.io/react-native-safe-area-context/)
|
|
13
|
+
|
|
14
|
+
## Prerequisites
|
|
15
|
+
|
|
16
|
+
**React Native Template UI** requires the following dependencies to function properly:
|
|
17
|
+
|
|
18
|
+
- [@jamadd/react-native-template-icons](https://github.com/jamadd/react-native-template-icons/#installation)
|
|
19
|
+
- [@shopify/flash-list](https://shopify.github.io/flash-list/docs/#installation)
|
|
20
|
+
- [@shopify/restyle](https://shopify.github.io/restyle/#installation)
|
|
21
|
+
- [react-native-gesture-handler](https://docs.swmansion.com/react-native-gesture-handler/docs/fundamentals/installation)
|
|
22
|
+
- [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/getting-started/#installation)
|
|
23
|
+
- [react-native-safe-area-context](https://appandflow.github.io/react-native-safe-area-context/)
|
|
24
|
+
- [react-native-worklets](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/getting-started/#dependencies)
|
|
25
|
+
|
|
26
|
+
You may want to check the documentation of each dependency for installation and setup instructions.
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
yarn add @jamadd/react-native-template-icons @shopify/flash-list @shopify/restyle react-native-gesture-handler react-native-reanimated react-native-safe-area-context react-native-worklets
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
or
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
npm install @jamadd/react-native-template-icons @shopify/flash-list @shopify/restyle react-native-gesture-handler react-native-reanimated react-native-safe-area-context react-native-worklets
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Installation
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
yarn add @jamadd/react-native-template-ui
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
or
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
npm install @jamadd/react-native-template-ui
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Usage
|
|
51
|
+
|
|
52
|
+
### Creating a Custom Theme
|
|
53
|
+
|
|
54
|
+
To create a look and feel that matches your application/brand, you **should** create a custom theme by following these steps:
|
|
55
|
+
|
|
56
|
+
1. Create a theme by extending the default theme or creating a theme from scratch.
|
|
57
|
+
1. Extending the default themes
|
|
58
|
+
<details>
|
|
59
|
+
<summary>Click to expand</summary>
|
|
60
|
+
|
|
61
|
+
```ts
|
|
62
|
+
import { lightTheme, darkTheme } from '@jamadd/react-native-template-ui';
|
|
63
|
+
import { createTheme } from '@shopify/restyle';
|
|
64
|
+
|
|
65
|
+
// Minimal example of creating custom light & dark themes by extending the default themes
|
|
66
|
+
const customLightTheme = createTheme({
|
|
67
|
+
...lightTheme,
|
|
68
|
+
colors: {
|
|
69
|
+
...lightTheme.colors,
|
|
70
|
+
theme: '#ff6347',
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
const customDarkTheme = createTheme({
|
|
75
|
+
...darkTheme,
|
|
76
|
+
colors: {
|
|
77
|
+
...darkTheme.colors,
|
|
78
|
+
theme: customLightTheme.colors.theme,
|
|
79
|
+
},
|
|
80
|
+
});
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
</details>
|
|
84
|
+
|
|
85
|
+
2. Or creating themes from scratch
|
|
86
|
+
<details>
|
|
87
|
+
<summary>Click to expand</summary>
|
|
88
|
+
|
|
89
|
+
```ts
|
|
90
|
+
import { createTheme } from '@shopify/restyle';
|
|
91
|
+
|
|
92
|
+
// Example of creating light & dark themes from scratch (theme structure must follow the default themes)
|
|
93
|
+
const customLightTheme = createTheme({
|
|
94
|
+
colors: {
|
|
95
|
+
transparent: YOUR_CUSTOM_COLOR,
|
|
96
|
+
theme: YOUR_CUSTOM_COLOR,
|
|
97
|
+
background: YOUR_CUSTOM_COLOR,
|
|
98
|
+
backgroundOverlay: YOUR_CUSTOM_COLOR,
|
|
99
|
+
text: YOUR_CUSTOM_COLOR,
|
|
100
|
+
textOverlay: YOUR_CUSTOM_COLOR,
|
|
101
|
+
textBtn: YOUR_CUSTOM_COLOR,
|
|
102
|
+
border: YOUR_CUSTOM_COLOR,
|
|
103
|
+
separator: YOUR_CUSTOM_COLOR,
|
|
104
|
+
err: YOUR_CUSTOM_COLOR,
|
|
105
|
+
},
|
|
106
|
+
spacing: {
|
|
107
|
+
none: 0,
|
|
108
|
+
xxxs: YOUR_CUSTOM_SPACING,
|
|
109
|
+
xxs: YOUR_CUSTOM_SPACING,
|
|
110
|
+
xs: YOUR_CUSTOM_SPACING,
|
|
111
|
+
s: YOUR_CUSTOM_SPACING,
|
|
112
|
+
m: YOUR_CUSTOM_SPACING,
|
|
113
|
+
l: YOUR_CUSTOM_SPACING,
|
|
114
|
+
xl: YOUR_CUSTOM_SPACING,
|
|
115
|
+
xxl: YOUR_CUSTOM_SPACING,
|
|
116
|
+
xxxl: YOUR_CUSTOM_SPACING,
|
|
117
|
+
},
|
|
118
|
+
breakpoints: {
|
|
119
|
+
smallPhone: YOUR_CUSTOM_BREAKPOINT,
|
|
120
|
+
phone: YOUR_CUSTOM_BREAKPOINT,
|
|
121
|
+
smallTablet: YOUR_CUSTOM_BREAKPOINT,
|
|
122
|
+
tablet: YOUR_CUSTOM_BREAKPOINT,
|
|
123
|
+
desktop: YOUR_CUSTOM_BREAKPOINT,
|
|
124
|
+
},
|
|
125
|
+
zIndices: {
|
|
126
|
+
bottom: YOUR_CUSTOM_Z_INDEX,
|
|
127
|
+
middle: YOUR_CUSTOM_Z_INDEX,
|
|
128
|
+
top: YOUR_CUSTOM_Z_INDEX,
|
|
129
|
+
},
|
|
130
|
+
borderRadii: {
|
|
131
|
+
s: YOUR_CUSTOM_RADIUS,
|
|
132
|
+
m: YOUR_CUSTOM_RADIUS,
|
|
133
|
+
l: YOUR_CUSTOM_RADIUS,
|
|
134
|
+
circle: YOUR_CUSTOM_RADIUS,
|
|
135
|
+
},
|
|
136
|
+
textVariants: {
|
|
137
|
+
textXS: YOUR_CUSTOM_TEXT_VARIANT,
|
|
138
|
+
textXSBold: YOUR_CUSTOM_TEXT_VARIANT,
|
|
139
|
+
textS: YOUR_CUSTOM_TEXT_VARIANT,
|
|
140
|
+
textSBold: YOUR_CUSTOM_TEXT_VARIANT,
|
|
141
|
+
textM: YOUR_CUSTOM_TEXT_VARIANT,
|
|
142
|
+
textMBold: YOUR_CUSTOM_TEXT_VARIANT,
|
|
143
|
+
textL: YOUR_CUSTOM_TEXT_VARIANT,
|
|
144
|
+
textLBold: YOUR_CUSTOM_TEXT_VARIANT,
|
|
145
|
+
textXL: YOUR_CUSTOM_TEXT_VARIANT,
|
|
146
|
+
textXLBold: YOUR_CUSTOM_TEXT_VARIANT,
|
|
147
|
+
defaults: YOUR_CUSTOM_TEXT_VARIANT,
|
|
148
|
+
},
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
const customDarkTheme = createTheme({
|
|
152
|
+
...customLightTheme,
|
|
153
|
+
colors: {
|
|
154
|
+
...customLightTheme.colors,
|
|
155
|
+
background: YOUR_CUSTOM_COLOR,
|
|
156
|
+
text: YOUR_CUSTOM_COLOR,
|
|
157
|
+
},
|
|
158
|
+
});
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
</details>
|
|
162
|
+
|
|
163
|
+
Both extended and from-scratch themes can add more custom properties or override existing properties as needed.
|
|
164
|
+
|
|
165
|
+
For more information on how to create a theme, you may refer to the [Restyle documentation](https://shopify.github.io/restyle/fundamentals/defining-your-theme).
|
|
166
|
+
|
|
167
|
+
2. Override the default theme's type by declaring the global type `ReactNativeTemplateTheme` in `global.d.ts`.
|
|
168
|
+
|
|
169
|
+
```ts
|
|
170
|
+
declare global {
|
|
171
|
+
type ReactNativeTemplateTheme = typeof customLightTheme;
|
|
172
|
+
}
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Wrapping Your Application with Providers
|
|
176
|
+
|
|
177
|
+
Wrap your application with ReactNativeTemplateProviders (which includes GestureProvider, InsetsProvider and ThemeProvider).
|
|
178
|
+
|
|
179
|
+
```tsx
|
|
180
|
+
import {
|
|
181
|
+
ReactNativeTemplateProviders,
|
|
182
|
+
useIsDarkColorScheme,
|
|
183
|
+
} from '@jamadd/react-native-template-ui';
|
|
184
|
+
|
|
185
|
+
const isDarkColorScheme = useIsDarkColorScheme();
|
|
186
|
+
|
|
187
|
+
<ReactNativeTemplateProviders
|
|
188
|
+
theme={isDarkColorScheme ? customDarkTheme : customLightTheme}
|
|
189
|
+
>
|
|
190
|
+
{/* Your app code */}
|
|
191
|
+
</ReactNativeTemplateProviders>;
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Using Components
|
|
195
|
+
|
|
196
|
+
Now you can use the components provided by **React Native Template UI** in your application.
|
|
197
|
+
|
|
198
|
+
```tsx
|
|
199
|
+
import { ThemedBtn } from '@jamadd/react-native-template-ui';
|
|
200
|
+
|
|
201
|
+
<ThemedBtn
|
|
202
|
+
onPress={() => {
|
|
203
|
+
console.log('Button pressed');
|
|
204
|
+
}}
|
|
205
|
+
text={'Press Me'}
|
|
206
|
+
/>;
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
## Available Components
|
|
210
|
+
|
|
211
|
+
### Buttons
|
|
212
|
+
|
|
213
|
+
- AnimatedThemedPressable
|
|
214
|
+
- ThemedBtn
|
|
215
|
+
- ThemedIconBtn
|
|
216
|
+
- ThemedIconTextBtn
|
|
217
|
+
- ThemedPressable
|
|
218
|
+
|
|
219
|
+
### List
|
|
220
|
+
|
|
221
|
+
- List
|
|
222
|
+
|
|
223
|
+
### Icons and Texts
|
|
224
|
+
|
|
225
|
+
- ThemedIcon
|
|
226
|
+
- ThemedIconText
|
|
227
|
+
- ThemedText
|
|
228
|
+
|
|
229
|
+
### Loading Indicator
|
|
230
|
+
|
|
231
|
+
- ThemedLoading
|
|
232
|
+
|
|
233
|
+
### Overlays
|
|
234
|
+
|
|
235
|
+
- ActionSheet
|
|
236
|
+
- Alert
|
|
237
|
+
- ThemedLoadingModal
|
|
238
|
+
- ThemedModal
|
|
239
|
+
- ThemedToast
|
|
240
|
+
|
|
241
|
+
### Providers
|
|
242
|
+
|
|
243
|
+
- GestureProvider
|
|
244
|
+
- InsetsProvider
|
|
245
|
+
- ThemeProvider
|
|
246
|
+
|
|
247
|
+
### Separator
|
|
248
|
+
|
|
249
|
+
- ThemedSeparator
|
|
250
|
+
|
|
251
|
+
### Switch
|
|
252
|
+
|
|
253
|
+
- ThemedSwitch
|
|
254
|
+
|
|
255
|
+
### Views
|
|
256
|
+
|
|
257
|
+
- AnimatedThemedView
|
|
258
|
+
- ThemedScreenWrap
|
|
259
|
+
- ThemedScrollView
|
|
260
|
+
- ThemedView
|
|
261
|
+
|
|
262
|
+
## Demo Applications
|
|
263
|
+
|
|
264
|
+
TODO
|
|
265
|
+
|
|
266
|
+
## Contributing
|
|
267
|
+
|
|
268
|
+
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
|
|
269
|
+
|
|
270
|
+
## License
|
|
271
|
+
|
|
272
|
+
MIT
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.AnimatedPressable = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _reactNativeReanimated = _interopRequireDefault(require("react-native-reanimated"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
/** @internal */
|
|
11
|
+
|
|
12
|
+
const AnimatedPressable = exports.AnimatedPressable = _reactNativeReanimated.default.createAnimatedComponent(_reactNative.Pressable);
|
|
13
|
+
var _default = exports.default = AnimatedPressable;
|
|
14
|
+
//# sourceMappingURL=AnimatedPressable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_reactNativeReanimated","_interopRequireDefault","e","__esModule","default","AnimatedPressable","exports","Animated","createAnimatedComponent","Pressable","_default"],"sourceRoot":"../../../../src","sources":["components/btn/AnimatedPressable.tsx"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAA+C,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAF/C;;AAIO,MAAMG,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,GAAGE,8BAAQ,CAACC,uBAAuB,CAACC,sBAAS,CAAC;AAAC,IAAAC,QAAA,GAAAJ,OAAA,CAAAF,OAAA,GAE9DC,iBAAiB","ignoreList":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _compilerRuntime = require("react/compiler-runtime");
|
|
8
|
+
var _btn = require("../../hooks/btn.js");
|
|
9
|
+
var _AnimatedPressable = _interopRequireDefault(require("./AnimatedPressable.js"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
const AnimatedThemedPressable = props => {
|
|
13
|
+
const $ = (0, _compilerRuntime.c)(4);
|
|
14
|
+
const {
|
|
15
|
+
onPress,
|
|
16
|
+
style,
|
|
17
|
+
restyle
|
|
18
|
+
} = (0, _btn.useThemedPressable)(props, true);
|
|
19
|
+
let t0;
|
|
20
|
+
if ($[0] !== onPress || $[1] !== restyle || $[2] !== style) {
|
|
21
|
+
t0 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedPressable.default, {
|
|
22
|
+
onPress: onPress,
|
|
23
|
+
style: style,
|
|
24
|
+
...restyle
|
|
25
|
+
});
|
|
26
|
+
$[0] = onPress;
|
|
27
|
+
$[1] = restyle;
|
|
28
|
+
$[2] = style;
|
|
29
|
+
$[3] = t0;
|
|
30
|
+
} else {
|
|
31
|
+
t0 = $[3];
|
|
32
|
+
}
|
|
33
|
+
return t0;
|
|
34
|
+
};
|
|
35
|
+
var _default = exports.default = AnimatedThemedPressable;
|
|
36
|
+
//# sourceMappingURL=AnimatedThemedPressable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_btn","require","_AnimatedPressable","_interopRequireDefault","_jsxRuntime","e","__esModule","default","AnimatedThemedPressable","props","$","_compilerRuntime","c","onPress","style","restyle","useThemedPressable","t0","jsx","_default","exports"],"sourceRoot":"../../../../src","sources":["components/btn/AnimatedThemedPressable.tsx"],"mappings":";;;;;;;AACA,IAAAA,IAAA,GAAAC,OAAA;AAEA,IAAAC,kBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAoD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAE,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEpD,MAAMG,uBAAyD,GAAGC,KAAA;EAAA,MAAAC,CAAA,OAAAC,gBAAA,CAAAC,CAAA;EAChE;IAAAC,OAAA;IAAAC,KAAA;IAAAC;EAAA,IAAoC,IAAAf,IAAA,CAAAgB,kBAAA,EAAmBP,KAAK,MAAM,CAAC;EAAC,IAAAQ,EAAA;EAAA,IAAAP,CAAA,QAAAG,OAAA,IAAAH,CAAA,QAAAK,OAAA,IAAAL,CAAA,QAAAI,KAAA;IAE7DG,EAAA,oBAAAb,WAAA,CAAAc,GAAA,EAAChB,kBAAA,CAAAK,OAAiB;MAAUM,OAAO,EAAPA,OAAO;MAASC,KAAK,EAALA,KAAK;MAAA,GAAMC;IAAO,CAAG,CAAC;IAAAL,CAAA,MAAAG,OAAA;IAAAH,CAAA,MAAAK,OAAA;IAAAL,CAAA,MAAAI,KAAA;IAAAJ,CAAA,MAAAO,EAAA;EAAA;IAAAA,EAAA,GAAAP,CAAA;EAAA;EAAA,OAAlEO,EAAkE;AAAA,CAC1E;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAAb,OAAA,GAEaC,uBAAuB","ignoreList":[]}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _compilerRuntime = require("react/compiler-runtime");
|
|
8
|
+
var _const = require("../../utils/btn/const.js");
|
|
9
|
+
var _ThemedText = _interopRequireDefault(require("../text/ThemedText.js"));
|
|
10
|
+
var _ThemedPressable = _interopRequireDefault(require("./ThemedPressable.js"));
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
const ThemedBtn = t0 => {
|
|
14
|
+
const $ = (0, _compilerRuntime.c)(20);
|
|
15
|
+
let props;
|
|
16
|
+
let t1;
|
|
17
|
+
let text;
|
|
18
|
+
let textFontSize;
|
|
19
|
+
let textFontWeight;
|
|
20
|
+
let textProps;
|
|
21
|
+
let textStyle;
|
|
22
|
+
let textVariant;
|
|
23
|
+
if ($[0] !== t0) {
|
|
24
|
+
({
|
|
25
|
+
text,
|
|
26
|
+
textVariant,
|
|
27
|
+
textFontSize,
|
|
28
|
+
textFontWeight,
|
|
29
|
+
textColor: t1,
|
|
30
|
+
textStyle,
|
|
31
|
+
textProps,
|
|
32
|
+
...props
|
|
33
|
+
} = t0);
|
|
34
|
+
$[0] = t0;
|
|
35
|
+
$[1] = props;
|
|
36
|
+
$[2] = t1;
|
|
37
|
+
$[3] = text;
|
|
38
|
+
$[4] = textFontSize;
|
|
39
|
+
$[5] = textFontWeight;
|
|
40
|
+
$[6] = textProps;
|
|
41
|
+
$[7] = textStyle;
|
|
42
|
+
$[8] = textVariant;
|
|
43
|
+
} else {
|
|
44
|
+
props = $[1];
|
|
45
|
+
t1 = $[2];
|
|
46
|
+
text = $[3];
|
|
47
|
+
textFontSize = $[4];
|
|
48
|
+
textFontWeight = $[5];
|
|
49
|
+
textProps = $[6];
|
|
50
|
+
textStyle = $[7];
|
|
51
|
+
textVariant = $[8];
|
|
52
|
+
}
|
|
53
|
+
const textColor = t1 === undefined ? "textBtn" : t1;
|
|
54
|
+
let t2;
|
|
55
|
+
if ($[9] !== text || $[10] !== textColor || $[11] !== textFontSize || $[12] !== textFontWeight || $[13] !== textProps || $[14] !== textStyle || $[15] !== textVariant) {
|
|
56
|
+
t2 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedText.default, {
|
|
57
|
+
numberOfLines: 1,
|
|
58
|
+
variant: textVariant,
|
|
59
|
+
fontSize: textFontSize,
|
|
60
|
+
fontWeight: textFontWeight,
|
|
61
|
+
color: textColor,
|
|
62
|
+
style: textStyle,
|
|
63
|
+
...textProps,
|
|
64
|
+
children: text
|
|
65
|
+
});
|
|
66
|
+
$[9] = text;
|
|
67
|
+
$[10] = textColor;
|
|
68
|
+
$[11] = textFontSize;
|
|
69
|
+
$[12] = textFontWeight;
|
|
70
|
+
$[13] = textProps;
|
|
71
|
+
$[14] = textStyle;
|
|
72
|
+
$[15] = textVariant;
|
|
73
|
+
$[16] = t2;
|
|
74
|
+
} else {
|
|
75
|
+
t2 = $[16];
|
|
76
|
+
}
|
|
77
|
+
let t3;
|
|
78
|
+
if ($[17] !== props || $[18] !== t2) {
|
|
79
|
+
t3 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedPressable.default, {
|
|
80
|
+
scaleRatio: _const.BtnScaleRatio.Rectangle,
|
|
81
|
+
alignItems: "center",
|
|
82
|
+
paddingVertical: "s",
|
|
83
|
+
paddingHorizontal: "m",
|
|
84
|
+
backgroundColor: "theme",
|
|
85
|
+
...props,
|
|
86
|
+
children: t2
|
|
87
|
+
});
|
|
88
|
+
$[17] = props;
|
|
89
|
+
$[18] = t2;
|
|
90
|
+
$[19] = t3;
|
|
91
|
+
} else {
|
|
92
|
+
t3 = $[19];
|
|
93
|
+
}
|
|
94
|
+
return t3;
|
|
95
|
+
};
|
|
96
|
+
var _default = exports.default = ThemedBtn;
|
|
97
|
+
//# sourceMappingURL=ThemedBtn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_const","require","_ThemedText","_interopRequireDefault","_ThemedPressable","_jsxRuntime","e","__esModule","default","ThemedBtn","t0","$","_compilerRuntime","c","props","t1","text","textFontSize","textFontWeight","textProps","textStyle","textVariant","textColor","undefined","t2","jsx","numberOfLines","children","t3","scaleRatio","BtnScaleRatio","Rectangle","alignItems","paddingVertical","paddingHorizontal","backgroundColor","_default","exports"],"sourceRoot":"../../../../src","sources":["components/btn/ThemedBtn.tsx"],"mappings":";;;;;;;AAEA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAD,sBAAA,CAAAF,OAAA;AAAgD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAE,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhD,MAAMG,SAA6B,GAAGC,EAAA;EAAA,MAAAC,CAAA,OAAAC,gBAAA,CAAAC,CAAA;EAAA,IAAAC,KAAA;EAAA,IAAAC,EAAA;EAAA,IAAAC,IAAA;EAAA,IAAAC,YAAA;EAAA,IAAAC,cAAA;EAAA,IAAAC,SAAA;EAAA,IAAAC,SAAA;EAAA,IAAAC,WAAA;EAAA,IAAAV,CAAA,QAAAD,EAAA;IAAC;MAAAM,IAAA;MAAAK,WAAA;MAAAJ,YAAA;MAAAC,cAAA;MAAAI,SAAA,EAAAP,EAAA;MAAAK,SAAA;MAAAD,SAAA;MAAA,GAAAL;IAAA,IAAAJ,EAStC;IAAAC,CAAA,MAAAD,EAAA;IAAAC,CAAA,MAAAG,KAAA;IAAAH,CAAA,MAAAI,EAAA;IAAAJ,CAAA,MAAAK,IAAA;IAAAL,CAAA,MAAAM,YAAA;IAAAN,CAAA,MAAAO,cAAA;IAAAP,CAAA,MAAAQ,SAAA;IAAAR,CAAA,MAAAS,SAAA;IAAAT,CAAA,MAAAU,WAAA;EAAA;IAAAP,KAAA,GAAAH,CAAA;IAAAI,EAAA,GAAAJ,CAAA;IAAAK,IAAA,GAAAL,CAAA;IAAAM,YAAA,GAAAN,CAAA;IAAAO,cAAA,GAAAP,CAAA;IAAAQ,SAAA,GAAAR,CAAA;IAAAS,SAAA,GAAAT,CAAA;IAAAU,WAAA,GAAAV,CAAA;EAAA;EAJC,MAAAW,SAAA,GAAAP,EAAqB,KAAAQ,SAAA,GAAT,SAAS,GAArBR,EAAqB;EAAA,IAAAS,EAAA;EAAA,IAAAb,CAAA,QAAAK,IAAA,IAAAL,CAAA,SAAAW,SAAA,IAAAX,CAAA,SAAAM,YAAA,IAAAN,CAAA,SAAAO,cAAA,IAAAP,CAAA,SAAAQ,SAAA,IAAAR,CAAA,SAAAS,SAAA,IAAAT,CAAA,SAAAU,WAAA;IAcjBG,EAAA,oBAAAnB,WAAA,CAAAoB,GAAA,EAACvB,WAAA,CAAAM,OAAU;MACMkB,aAAC;MACPL,OAAW,EAAXA,WAAW;MACVJ,QAAY,EAAZA,YAAY;MACVC,UAAc,EAAdA,cAAc;MACnBI,KAAS,EAATA,SAAS;MACTF,KAAS,EAATA,SAAS;MAAA,GACZD,SAAS;MAAAQ,QAAA,EAEZX;IAAI,CACK,CAAC;IAAAL,CAAA,MAAAK,IAAA;IAAAL,CAAA,OAAAW,SAAA;IAAAX,CAAA,OAAAM,YAAA;IAAAN,CAAA,OAAAO,cAAA;IAAAP,CAAA,OAAAQ,SAAA;IAAAR,CAAA,OAAAS,SAAA;IAAAT,CAAA,OAAAU,WAAA;IAAAV,CAAA,OAAAa,EAAA;EAAA;IAAAA,EAAA,GAAAb,CAAA;EAAA;EAAA,IAAAiB,EAAA;EAAA,IAAAjB,CAAA,SAAAG,KAAA,IAAAH,CAAA,SAAAa,EAAA;IAlBfI,EAAA,oBAAAvB,WAAA,CAAAoB,GAAA,EAACrB,gBAAA,CAAAI,OAAe;MACFqB,UAAuB,EAAA7B,MAAA,CAAA8B,aAAA,CAAAC,SAAA;MACvBC,UAAQ,EAAR,QAAQ;MACHC,eAAG,EAAH,GAAG;MACDC,iBAAG,EAAH,GAAG;MACLC,eAAO,EAAP,OAAO;MAAA,GACpBrB,KAAK;MAAAa,QAAA,EAETH;IAUa,CACE,CAAC;IAAAb,CAAA,OAAAG,KAAA;IAAAH,CAAA,OAAAa,EAAA;IAAAb,CAAA,OAAAiB,EAAA;EAAA;IAAAA,EAAA,GAAAjB,CAAA;EAAA;EAAA,OAnBlBiB,EAmBkB;AAAA,CAErB;AAAC,IAAAQ,QAAA,GAAAC,OAAA,CAAA7B,OAAA,GAEaC,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _compilerRuntime = require("react/compiler-runtime");
|
|
8
|
+
var _const = require("../../utils/btn/const.js");
|
|
9
|
+
var _ThemedIcon = _interopRequireDefault(require("../icon/ThemedIcon.js"));
|
|
10
|
+
var _ThemedPressable = _interopRequireDefault(require("./ThemedPressable.js"));
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
const ThemedIconBtn = t0 => {
|
|
14
|
+
const $ = (0, _compilerRuntime.c)(16);
|
|
15
|
+
let iconColor;
|
|
16
|
+
let iconName;
|
|
17
|
+
let iconProps;
|
|
18
|
+
let iconSize;
|
|
19
|
+
let iconStyle;
|
|
20
|
+
let props;
|
|
21
|
+
if ($[0] !== t0) {
|
|
22
|
+
({
|
|
23
|
+
iconName,
|
|
24
|
+
iconSize,
|
|
25
|
+
iconColor,
|
|
26
|
+
iconStyle,
|
|
27
|
+
iconProps,
|
|
28
|
+
...props
|
|
29
|
+
} = t0);
|
|
30
|
+
$[0] = t0;
|
|
31
|
+
$[1] = iconColor;
|
|
32
|
+
$[2] = iconName;
|
|
33
|
+
$[3] = iconProps;
|
|
34
|
+
$[4] = iconSize;
|
|
35
|
+
$[5] = iconStyle;
|
|
36
|
+
$[6] = props;
|
|
37
|
+
} else {
|
|
38
|
+
iconColor = $[1];
|
|
39
|
+
iconName = $[2];
|
|
40
|
+
iconProps = $[3];
|
|
41
|
+
iconSize = $[4];
|
|
42
|
+
iconStyle = $[5];
|
|
43
|
+
props = $[6];
|
|
44
|
+
}
|
|
45
|
+
let t1;
|
|
46
|
+
if ($[7] !== iconColor || $[8] !== iconName || $[9] !== iconProps || $[10] !== iconSize || $[11] !== iconStyle) {
|
|
47
|
+
t1 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedIcon.default, {
|
|
48
|
+
name: iconName,
|
|
49
|
+
size: iconSize,
|
|
50
|
+
color: iconColor,
|
|
51
|
+
style: iconStyle,
|
|
52
|
+
...iconProps
|
|
53
|
+
});
|
|
54
|
+
$[7] = iconColor;
|
|
55
|
+
$[8] = iconName;
|
|
56
|
+
$[9] = iconProps;
|
|
57
|
+
$[10] = iconSize;
|
|
58
|
+
$[11] = iconStyle;
|
|
59
|
+
$[12] = t1;
|
|
60
|
+
} else {
|
|
61
|
+
t1 = $[12];
|
|
62
|
+
}
|
|
63
|
+
let t2;
|
|
64
|
+
if ($[13] !== props || $[14] !== t1) {
|
|
65
|
+
t2 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedPressable.default, {
|
|
66
|
+
scaleRatio: _const.BtnScaleRatio.Square,
|
|
67
|
+
alignItems: "center",
|
|
68
|
+
padding: "s",
|
|
69
|
+
...props,
|
|
70
|
+
children: t1
|
|
71
|
+
});
|
|
72
|
+
$[13] = props;
|
|
73
|
+
$[14] = t1;
|
|
74
|
+
$[15] = t2;
|
|
75
|
+
} else {
|
|
76
|
+
t2 = $[15];
|
|
77
|
+
}
|
|
78
|
+
return t2;
|
|
79
|
+
};
|
|
80
|
+
var _default = exports.default = ThemedIconBtn;
|
|
81
|
+
//# sourceMappingURL=ThemedIconBtn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_const","require","_ThemedIcon","_interopRequireDefault","_ThemedPressable","_jsxRuntime","e","__esModule","default","ThemedIconBtn","t0","$","_compilerRuntime","c","iconColor","iconName","iconProps","iconSize","iconStyle","props","t1","jsx","t2","scaleRatio","BtnScaleRatio","Square","alignItems","padding","children","_default","exports"],"sourceRoot":"../../../../src","sources":["components/btn/ThemedIconBtn.tsx"],"mappings":";;;;;;;AAEA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAD,sBAAA,CAAAF,OAAA;AAAgD,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAE,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhD,MAAMG,aAAqC,GAAGC,EAAA;EAAA,MAAAC,CAAA,OAAAC,gBAAA,CAAAC,CAAA;EAAA,IAAAC,SAAA;EAAA,IAAAC,QAAA;EAAA,IAAAC,SAAA;EAAA,IAAAC,QAAA;EAAA,IAAAC,SAAA;EAAA,IAAAC,KAAA;EAAA,IAAAR,CAAA,QAAAD,EAAA;IAAC;MAAAK,QAAA;MAAAE,QAAA;MAAAH,SAAA;MAAAI,SAAA;MAAAF,SAAA;MAAA,GAAAG;IAAA,IAAAT,EAO9C;IAAAC,CAAA,MAAAD,EAAA;IAAAC,CAAA,MAAAG,SAAA;IAAAH,CAAA,MAAAI,QAAA;IAAAJ,CAAA,MAAAK,SAAA;IAAAL,CAAA,MAAAM,QAAA;IAAAN,CAAA,MAAAO,SAAA;IAAAP,CAAA,MAAAQ,KAAA;EAAA;IAAAL,SAAA,GAAAH,CAAA;IAAAI,QAAA,GAAAJ,CAAA;IAAAK,SAAA,GAAAL,CAAA;IAAAM,QAAA,GAAAN,CAAA;IAAAO,SAAA,GAAAP,CAAA;IAAAQ,KAAA,GAAAR,CAAA;EAAA;EAAA,IAAAS,EAAA;EAAA,IAAAT,CAAA,QAAAG,SAAA,IAAAH,CAAA,QAAAI,QAAA,IAAAJ,CAAA,QAAAK,SAAA,IAAAL,CAAA,SAAAM,QAAA,IAAAN,CAAA,SAAAO,SAAA;IAQKE,EAAA,oBAAAf,WAAA,CAAAgB,GAAA,EAACnB,WAAA,CAAAM,OAAU;MACHO,IAAQ,EAARA,QAAQ;MACRE,IAAQ,EAARA,QAAQ;MACPH,KAAS,EAATA,SAAS;MACTI,KAAS,EAATA,SAAS;MAAA,GACZF;IAAS,CACd,CAAC;IAAAL,CAAA,MAAAG,SAAA;IAAAH,CAAA,MAAAI,QAAA;IAAAJ,CAAA,MAAAK,SAAA;IAAAL,CAAA,OAAAM,QAAA;IAAAN,CAAA,OAAAO,SAAA;IAAAP,CAAA,OAAAS,EAAA;EAAA;IAAAA,EAAA,GAAAT,CAAA;EAAA;EAAA,IAAAW,EAAA;EAAA,IAAAX,CAAA,SAAAQ,KAAA,IAAAR,CAAA,SAAAS,EAAA;IAZJE,EAAA,oBAAAjB,WAAA,CAAAgB,GAAA,EAACjB,gBAAA,CAAAI,OAAe;MACFe,UAAoB,EAAAvB,MAAA,CAAAwB,aAAA,CAAAC,MAAA;MACpBC,UAAQ,EAAR,QAAQ;MACXC,OAAG,EAAH,GAAG;MAAA,GACRR,KAAK;MAAAS,QAAA,EAETR;IAME,CACa,CAAC;IAAAT,CAAA,OAAAQ,KAAA;IAAAR,CAAA,OAAAS,EAAA;IAAAT,CAAA,OAAAW,EAAA;EAAA;IAAAA,EAAA,GAAAX,CAAA;EAAA;EAAA,OAblBW,EAakB;AAAA,CAErB;AAAC,IAAAO,QAAA,GAAAC,OAAA,CAAAtB,OAAA,GAEaC,aAAa","ignoreList":[]}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _compilerRuntime = require("react/compiler-runtime");
|
|
8
|
+
var _const = require("../../utils/btn/const.js");
|
|
9
|
+
var _ThemedIconText = _interopRequireDefault(require("../text/ThemedIconText.js"));
|
|
10
|
+
var _ThemedPressable = _interopRequireDefault(require("./ThemedPressable.js"));
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
const ThemedIconTextBtn = t0 => {
|
|
14
|
+
const $ = (0, _compilerRuntime.c)(37);
|
|
15
|
+
let children;
|
|
16
|
+
let flip;
|
|
17
|
+
let iconColor;
|
|
18
|
+
let iconName;
|
|
19
|
+
let iconProps;
|
|
20
|
+
let iconSize;
|
|
21
|
+
let iconStyle;
|
|
22
|
+
let iconTextProps;
|
|
23
|
+
let props;
|
|
24
|
+
let t1;
|
|
25
|
+
let text;
|
|
26
|
+
let textFontSize;
|
|
27
|
+
let textFontWeight;
|
|
28
|
+
let textProps;
|
|
29
|
+
let textStyle;
|
|
30
|
+
let textVariant;
|
|
31
|
+
if ($[0] !== t0) {
|
|
32
|
+
({
|
|
33
|
+
flip,
|
|
34
|
+
iconTextProps,
|
|
35
|
+
iconName,
|
|
36
|
+
iconSize,
|
|
37
|
+
iconColor,
|
|
38
|
+
iconStyle,
|
|
39
|
+
iconProps,
|
|
40
|
+
text,
|
|
41
|
+
textVariant,
|
|
42
|
+
textFontSize,
|
|
43
|
+
textFontWeight,
|
|
44
|
+
textColor: t1,
|
|
45
|
+
textStyle,
|
|
46
|
+
textProps,
|
|
47
|
+
children,
|
|
48
|
+
...props
|
|
49
|
+
} = t0);
|
|
50
|
+
$[0] = t0;
|
|
51
|
+
$[1] = children;
|
|
52
|
+
$[2] = flip;
|
|
53
|
+
$[3] = iconColor;
|
|
54
|
+
$[4] = iconName;
|
|
55
|
+
$[5] = iconProps;
|
|
56
|
+
$[6] = iconSize;
|
|
57
|
+
$[7] = iconStyle;
|
|
58
|
+
$[8] = iconTextProps;
|
|
59
|
+
$[9] = props;
|
|
60
|
+
$[10] = t1;
|
|
61
|
+
$[11] = text;
|
|
62
|
+
$[12] = textFontSize;
|
|
63
|
+
$[13] = textFontWeight;
|
|
64
|
+
$[14] = textProps;
|
|
65
|
+
$[15] = textStyle;
|
|
66
|
+
$[16] = textVariant;
|
|
67
|
+
} else {
|
|
68
|
+
children = $[1];
|
|
69
|
+
flip = $[2];
|
|
70
|
+
iconColor = $[3];
|
|
71
|
+
iconName = $[4];
|
|
72
|
+
iconProps = $[5];
|
|
73
|
+
iconSize = $[6];
|
|
74
|
+
iconStyle = $[7];
|
|
75
|
+
iconTextProps = $[8];
|
|
76
|
+
props = $[9];
|
|
77
|
+
t1 = $[10];
|
|
78
|
+
text = $[11];
|
|
79
|
+
textFontSize = $[12];
|
|
80
|
+
textFontWeight = $[13];
|
|
81
|
+
textProps = $[14];
|
|
82
|
+
textStyle = $[15];
|
|
83
|
+
textVariant = $[16];
|
|
84
|
+
}
|
|
85
|
+
const textColor = t1 === undefined ? "theme" : t1;
|
|
86
|
+
const t2 = children ? "space-between" : "center";
|
|
87
|
+
let t3;
|
|
88
|
+
if ($[17] !== flip || $[18] !== iconColor || $[19] !== iconName || $[20] !== iconProps || $[21] !== iconSize || $[22] !== iconStyle || $[23] !== iconTextProps || $[24] !== text || $[25] !== textColor || $[26] !== textFontSize || $[27] !== textFontWeight || $[28] !== textProps || $[29] !== textStyle || $[30] !== textVariant) {
|
|
89
|
+
t3 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedIconText.default, {
|
|
90
|
+
iconName: iconName,
|
|
91
|
+
iconSize: iconSize,
|
|
92
|
+
iconColor: iconColor,
|
|
93
|
+
iconStyle: iconStyle,
|
|
94
|
+
iconProps: iconProps,
|
|
95
|
+
text: text,
|
|
96
|
+
textVariant: textVariant,
|
|
97
|
+
textFontSize: textFontSize,
|
|
98
|
+
textFontWeight: textFontWeight,
|
|
99
|
+
textColor: textColor,
|
|
100
|
+
textStyle: textStyle,
|
|
101
|
+
textProps: textProps,
|
|
102
|
+
flip: flip,
|
|
103
|
+
...iconTextProps
|
|
104
|
+
});
|
|
105
|
+
$[17] = flip;
|
|
106
|
+
$[18] = iconColor;
|
|
107
|
+
$[19] = iconName;
|
|
108
|
+
$[20] = iconProps;
|
|
109
|
+
$[21] = iconSize;
|
|
110
|
+
$[22] = iconStyle;
|
|
111
|
+
$[23] = iconTextProps;
|
|
112
|
+
$[24] = text;
|
|
113
|
+
$[25] = textColor;
|
|
114
|
+
$[26] = textFontSize;
|
|
115
|
+
$[27] = textFontWeight;
|
|
116
|
+
$[28] = textProps;
|
|
117
|
+
$[29] = textStyle;
|
|
118
|
+
$[30] = textVariant;
|
|
119
|
+
$[31] = t3;
|
|
120
|
+
} else {
|
|
121
|
+
t3 = $[31];
|
|
122
|
+
}
|
|
123
|
+
let t4;
|
|
124
|
+
if ($[32] !== children || $[33] !== props || $[34] !== t2 || $[35] !== t3) {
|
|
125
|
+
t4 = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ThemedPressable.default, {
|
|
126
|
+
scaleRatio: _const.BtnScaleRatio.Rectangle,
|
|
127
|
+
flexDirection: "row",
|
|
128
|
+
alignItems: "center",
|
|
129
|
+
justifyContent: t2,
|
|
130
|
+
paddingVertical: "s",
|
|
131
|
+
paddingHorizontal: "m",
|
|
132
|
+
...props,
|
|
133
|
+
children: [t3, children]
|
|
134
|
+
});
|
|
135
|
+
$[32] = children;
|
|
136
|
+
$[33] = props;
|
|
137
|
+
$[34] = t2;
|
|
138
|
+
$[35] = t3;
|
|
139
|
+
$[36] = t4;
|
|
140
|
+
} else {
|
|
141
|
+
t4 = $[36];
|
|
142
|
+
}
|
|
143
|
+
return t4;
|
|
144
|
+
};
|
|
145
|
+
var _default = exports.default = ThemedIconTextBtn;
|
|
146
|
+
//# sourceMappingURL=ThemedIconTextBtn.js.map
|