@jamadd/react-native-template-ui 0.9.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/module/components/accordion/ThemedAccordion.js +85 -60
- package/lib/module/components/accordion/ThemedAccordion.js.map +1 -1
- package/lib/module/components/button/AnimatedPressable.js +6 -0
- package/lib/module/components/button/AnimatedPressable.js.map +1 -1
- package/lib/module/components/button/AnimatedThemedPressable.js +15 -0
- package/lib/module/components/button/AnimatedThemedPressable.js.map +1 -1
- package/lib/module/components/button/ThemedButton.js +15 -0
- package/lib/module/components/button/ThemedButton.js.map +1 -1
- package/lib/module/components/button/ThemedIconButton.js +15 -0
- package/lib/module/components/button/ThemedIconButton.js.map +1 -1
- package/lib/module/components/button/ThemedIconTextButton.js +16 -0
- package/lib/module/components/button/ThemedIconTextButton.js.map +1 -1
- package/lib/module/components/button/ThemedPressable.js +15 -0
- package/lib/module/components/button/ThemedPressable.js.map +1 -1
- package/lib/module/components/icon/ThemedIcon.js +14 -0
- package/lib/module/components/icon/ThemedIcon.js.map +1 -1
- package/lib/module/components/list/List.js +15 -0
- package/lib/module/components/list/List.js.map +1 -1
- package/lib/module/components/loading/ThemedLoading.js +13 -0
- package/lib/module/components/loading/ThemedLoading.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheet.js +32 -3
- package/lib/module/components/overlay/actionSheet/ActionSheet.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +4 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +17 -2
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +7 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +6 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js +6 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptionListItem.js +6 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptionListItem.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js +7 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +7 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +6 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +8 -2
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
- package/lib/module/components/overlay/alert/Alert.js +19 -0
- package/lib/module/components/overlay/alert/Alert.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertButton.js +6 -0
- package/lib/module/components/overlay/alert/AlertButton.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertButtons.js +6 -0
- package/lib/module/components/overlay/alert/AlertButtons.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertContent.js +6 -0
- package/lib/module/components/overlay/alert/AlertContent.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertWrap.js +7 -1
- package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js +15 -0
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js.map +1 -1
- package/lib/module/components/overlay/modal/ThemedModal.js +18 -0
- package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -1
- package/lib/module/components/overlay/toast/ThemedToast.js +17 -2
- package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
- package/lib/module/components/provider/GestureProvider.js +11 -0
- package/lib/module/components/provider/GestureProvider.js.map +1 -1
- package/lib/module/components/provider/InsetsProvider.js +12 -0
- package/lib/module/components/provider/InsetsProvider.js.map +1 -1
- package/lib/module/components/provider/ReactNativeTemplateProviders.js +12 -0
- package/lib/module/components/provider/ReactNativeTemplateProviders.js.map +1 -1
- package/lib/module/components/provider/ThemeProvider.js +11 -0
- package/lib/module/components/provider/ThemeProvider.js.map +1 -1
- package/lib/module/components/separator/ThemedSeparator.js +19 -0
- package/lib/module/components/separator/ThemedSeparator.js.map +1 -1
- package/lib/module/components/slider/Slider.js +89 -61
- package/lib/module/components/slider/Slider.js.map +1 -1
- package/lib/module/components/slider/ThemedSlider.js +25 -3
- package/lib/module/components/slider/ThemedSlider.js.map +1 -1
- package/lib/module/components/slider/ThemedSliderStepIndicator.js +6 -0
- package/lib/module/components/slider/ThemedSliderStepIndicator.js.map +1 -1
- package/lib/module/components/switch/ThemedSwitch.js +14 -0
- package/lib/module/components/switch/ThemedSwitch.js.map +1 -1
- package/lib/module/components/text/Text.js +5 -0
- package/lib/module/components/text/Text.js.map +1 -1
- package/lib/module/components/text/ThemedIconText.js +22 -0
- package/lib/module/components/text/ThemedIconText.js.map +1 -1
- package/lib/module/components/text/ThemedText.js +15 -0
- package/lib/module/components/text/ThemedText.js.map +1 -1
- package/lib/module/components/view/AnimatedThemedView.js +16 -0
- package/lib/module/components/view/AnimatedThemedView.js.map +1 -1
- package/lib/module/components/view/AnimatedView.js +6 -0
- package/lib/module/components/view/AnimatedView.js.map +1 -1
- package/lib/module/components/view/Box.js +5 -0
- package/lib/module/components/view/Box.js.map +1 -1
- package/lib/module/components/view/ThemedScreenWrap.js +79 -88
- package/lib/module/components/view/ThemedScreenWrap.js.map +1 -1
- package/lib/module/components/view/ThemedScreenWrap.web.js +84 -59
- package/lib/module/components/view/ThemedScreenWrap.web.js.map +1 -1
- package/lib/module/components/view/ThemedScrollView.js +17 -0
- package/lib/module/components/view/ThemedScrollView.js.map +1 -1
- package/lib/module/components/view/ThemedView.js +16 -0
- package/lib/module/components/view/ThemedView.js.map +1 -1
- package/lib/module/hooks/button.js +46 -0
- package/lib/module/hooks/button.js.map +1 -1
- package/lib/module/hooks/list.js +29 -0
- package/lib/module/hooks/list.js.map +1 -1
- package/lib/module/hooks/react.js +41 -0
- package/lib/module/hooks/react.js.map +1 -1
- package/lib/module/hooks/reanimated.js +10 -0
- package/lib/module/hooks/reanimated.js.map +1 -1
- package/lib/module/hooks/separator.js +18 -1
- package/lib/module/hooks/separator.js.map +1 -1
- package/lib/module/hooks/style.js +72 -0
- package/lib/module/hooks/style.js.map +1 -1
- package/lib/module/hooks/theme.js +93 -0
- package/lib/module/hooks/theme.js.map +1 -1
- package/lib/module/hooks/view.js +122 -1
- package/lib/module/hooks/view.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/button/const.js +28 -0
- package/lib/module/utils/button/const.js.map +1 -1
- package/lib/module/utils/overlay/const.js +72 -0
- package/lib/module/utils/overlay/const.js.map +1 -1
- package/lib/module/utils/overlay/func.js +101 -0
- package/lib/module/utils/overlay/func.js.map +1 -1
- package/lib/module/utils/slider/const.js +52 -0
- package/lib/module/utils/slider/const.js.map +1 -1
- package/lib/module/utils/style/const.js +14 -0
- package/lib/module/utils/style/const.js.map +1 -1
- package/lib/module/utils/style/func.js +102 -0
- package/lib/module/utils/style/func.js.map +1 -1
- package/lib/module/utils/theme/const.js +180 -0
- package/lib/module/utils/theme/const.js.map +1 -1
- package/lib/module/utils/theme/restyle.js +124 -0
- package/lib/module/utils/theme/restyle.js.map +1 -1
- package/lib/typescript/src/components/accordion/ThemedAccordion.d.ts +15 -0
- package/lib/typescript/src/components/accordion/ThemedAccordion.d.ts.map +1 -1
- package/lib/typescript/src/components/button/AnimatedPressable.d.ts +5 -0
- package/lib/typescript/src/components/button/AnimatedPressable.d.ts.map +1 -1
- package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts +14 -0
- package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts.map +1 -1
- package/lib/typescript/src/components/button/ThemedButton.d.ts +14 -0
- package/lib/typescript/src/components/button/ThemedButton.d.ts.map +1 -1
- package/lib/typescript/src/components/button/ThemedIconButton.d.ts +14 -0
- package/lib/typescript/src/components/button/ThemedIconButton.d.ts.map +1 -1
- package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts +15 -0
- package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/button/ThemedPressable.d.ts +15 -0
- package/lib/typescript/src/components/button/ThemedPressable.d.ts.map +1 -1
- package/lib/typescript/src/components/icon/ThemedIcon.d.ts +13 -0
- package/lib/typescript/src/components/icon/ThemedIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/list/List.d.ts +14 -0
- package/lib/typescript/src/components/list/List.d.ts.map +1 -1
- package/lib/typescript/src/components/loading/ThemedLoading.d.ts +12 -0
- package/lib/typescript/src/components/loading/ThemedLoading.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts +18 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +6 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +7 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts +7 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +7 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts +7 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts +7 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts +7 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +7 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +7 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +7 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/Alert.d.ts +18 -0
- package/lib/typescript/src/components/overlay/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts +5 -0
- package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts +5 -0
- package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts +5 -0
- package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts +5 -0
- package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts +14 -0
- package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts +17 -0
- package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts +14 -0
- package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts.map +1 -1
- package/lib/typescript/src/components/provider/GestureProvider.d.ts +11 -0
- package/lib/typescript/src/components/provider/GestureProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/provider/InsetsProvider.d.ts +11 -0
- package/lib/typescript/src/components/provider/InsetsProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts +11 -0
- package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -1
- package/lib/typescript/src/components/provider/ThemeProvider.d.ts +11 -0
- package/lib/typescript/src/components/provider/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/separator/ThemedSeparator.d.ts +18 -0
- package/lib/typescript/src/components/separator/ThemedSeparator.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/Slider.d.ts +20 -0
- package/lib/typescript/src/components/slider/Slider.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/ThemedSlider.d.ts +15 -0
- package/lib/typescript/src/components/slider/ThemedSlider.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts +7 -0
- package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts.map +1 -1
- package/lib/typescript/src/components/switch/ThemedSwitch.d.ts +13 -0
- package/lib/typescript/src/components/switch/ThemedSwitch.d.ts.map +1 -1
- package/lib/typescript/src/components/text/Text.d.ts +9 -4
- package/lib/typescript/src/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/text/ThemedIconText.d.ts +21 -0
- package/lib/typescript/src/components/text/ThemedIconText.d.ts.map +1 -1
- package/lib/typescript/src/components/text/ThemedText.d.ts +14 -0
- package/lib/typescript/src/components/text/ThemedText.d.ts.map +1 -1
- package/lib/typescript/src/components/view/AnimatedThemedView.d.ts +15 -0
- package/lib/typescript/src/components/view/AnimatedThemedView.d.ts.map +1 -1
- package/lib/typescript/src/components/view/AnimatedView.d.ts +7 -0
- package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -1
- package/lib/typescript/src/components/view/Box.d.ts +23 -18
- package/lib/typescript/src/components/view/Box.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts +16 -0
- package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts +14 -0
- package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedScrollView.d.ts +16 -0
- package/lib/typescript/src/components/view/ThemedScrollView.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedView.d.ts +15 -0
- package/lib/typescript/src/components/view/ThemedView.d.ts.map +1 -1
- package/lib/typescript/src/hooks/button.d.ts +41 -0
- package/lib/typescript/src/hooks/button.d.ts.map +1 -1
- package/lib/typescript/src/hooks/list.d.ts +27 -0
- package/lib/typescript/src/hooks/list.d.ts.map +1 -1
- package/lib/typescript/src/hooks/overlay.d.ts +27 -0
- package/lib/typescript/src/hooks/overlay.d.ts.map +1 -1
- package/lib/typescript/src/hooks/react.d.ts +38 -0
- package/lib/typescript/src/hooks/react.d.ts.map +1 -1
- package/lib/typescript/src/hooks/reanimated.d.ts +10 -0
- package/lib/typescript/src/hooks/reanimated.d.ts.map +1 -1
- package/lib/typescript/src/hooks/separator.d.ts +16 -0
- package/lib/typescript/src/hooks/separator.d.ts.map +1 -1
- package/lib/typescript/src/hooks/style.d.ts +65 -0
- package/lib/typescript/src/hooks/style.d.ts.map +1 -1
- package/lib/typescript/src/hooks/switch.d.ts +20 -1
- package/lib/typescript/src/hooks/switch.d.ts.map +1 -1
- package/lib/typescript/src/hooks/theme.d.ts +82 -0
- package/lib/typescript/src/hooks/theme.d.ts.map +1 -1
- package/lib/typescript/src/hooks/view.d.ts +40 -2
- package/lib/typescript/src/hooks/view.d.ts.map +1 -1
- package/lib/typescript/src/types/accordion.d.ts +26 -0
- package/lib/typescript/src/types/accordion.d.ts.map +1 -1
- package/lib/typescript/src/types/button.d.ts +92 -0
- package/lib/typescript/src/types/button.d.ts.map +1 -1
- package/lib/typescript/src/types/icon.d.ts +43 -0
- package/lib/typescript/src/types/icon.d.ts.map +1 -1
- package/lib/typescript/src/types/list.d.ts +98 -1
- package/lib/typescript/src/types/list.d.ts.map +1 -1
- package/lib/typescript/src/types/loading.d.ts +38 -0
- package/lib/typescript/src/types/loading.d.ts.map +1 -1
- package/lib/typescript/src/types/overlay.d.ts +296 -1
- package/lib/typescript/src/types/overlay.d.ts.map +1 -1
- package/lib/typescript/src/types/provider.d.ts +21 -0
- package/lib/typescript/src/types/provider.d.ts.map +1 -1
- package/lib/typescript/src/types/react.d.ts +32 -0
- package/lib/typescript/src/types/react.d.ts.map +1 -1
- package/lib/typescript/src/types/reanimated.d.ts +32 -1
- package/lib/typescript/src/types/reanimated.d.ts.map +1 -1
- package/lib/typescript/src/types/separator.d.ts +26 -0
- package/lib/typescript/src/types/separator.d.ts.map +1 -1
- package/lib/typescript/src/types/slider.d.ts +88 -0
- package/lib/typescript/src/types/slider.d.ts.map +1 -1
- package/lib/typescript/src/types/style.d.ts +43 -0
- package/lib/typescript/src/types/style.d.ts.map +1 -1
- package/lib/typescript/src/types/switch.d.ts +50 -0
- package/lib/typescript/src/types/switch.d.ts.map +1 -1
- package/lib/typescript/src/types/text.d.ts +72 -0
- package/lib/typescript/src/types/text.d.ts.map +1 -1
- package/lib/typescript/src/types/theme.d.ts +111 -0
- package/lib/typescript/src/types/theme.d.ts.map +1 -1
- package/lib/typescript/src/types/view.d.ts +137 -0
- package/lib/typescript/src/types/view.d.ts.map +1 -1
- package/lib/typescript/src/utils/button/const.d.ts +27 -0
- package/lib/typescript/src/utils/button/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/overlay/const.d.ts +100 -0
- package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/overlay/func.d.ts +93 -0
- package/lib/typescript/src/utils/overlay/func.d.ts.map +1 -1
- package/lib/typescript/src/utils/reanimated/func.d.ts +5 -1
- package/lib/typescript/src/utils/reanimated/func.d.ts.map +1 -1
- package/lib/typescript/src/utils/slider/const.d.ts +47 -0
- package/lib/typescript/src/utils/slider/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/style/const.d.ts +14 -0
- package/lib/typescript/src/utils/style/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/style/func.d.ts +95 -0
- package/lib/typescript/src/utils/style/func.d.ts.map +1 -1
- package/lib/typescript/src/utils/switch/const.d.ts +2 -1
- package/lib/typescript/src/utils/switch/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/theme/const.d.ts +170 -0
- package/lib/typescript/src/utils/theme/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/theme/restyle.d.ts +142 -26
- package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -1
- package/package.json +4 -4
- package/lib/module/components/accordion/ThemedAccordion.web.js +0 -245
- package/lib/module/components/accordion/ThemedAccordion.web.js.map +0 -1
- package/lib/module/components/overlay/actionSheet/ActionSheet.web.js +0 -76
- package/lib/module/components/overlay/actionSheet/ActionSheet.web.js.map +0 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.web.js +0 -113
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.web.js.map +0 -1
- package/lib/module/components/slider/Slider.web.js +0 -595
- package/lib/module/components/slider/Slider.web.js.map +0 -1
- package/lib/module/components/slider/ThemedSlider.web.js +0 -206
- package/lib/module/components/slider/ThemedSlider.web.js.map +0 -1
- package/lib/typescript/src/components/accordion/ThemedAccordion.web.d.ts +0 -5
- package/lib/typescript/src/components/accordion/ThemedAccordion.web.d.ts.map +0 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.web.d.ts +0 -5
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.web.d.ts.map +0 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.web.d.ts +0 -4
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.web.d.ts.map +0 -1
- package/lib/typescript/src/components/slider/Slider.web.d.ts +0 -5
- package/lib/typescript/src/components/slider/Slider.web.d.ts.map +0 -1
- package/lib/typescript/src/components/slider/ThemedSlider.web.d.ts +0 -5
- package/lib/typescript/src/components/slider/ThemedSlider.web.d.ts.map +0 -1
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
import { c as _c } from "react/compiler-runtime";
|
|
4
4
|
import { useAnimatedThemedView } from "../../hooks/view.js";
|
|
5
5
|
import AnimatedView from "./AnimatedView.js";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* A themed animated view component that combines theme-aware styling with animations.
|
|
9
|
+
* Applies theme colors, spacing, and layout properties while supporting animated styles.
|
|
10
|
+
* Ideal for views that need to animate position, size, opacity, or transform properties.
|
|
11
|
+
* @param props - Component props of type AnimatedThemedViewProps
|
|
12
|
+
* @returns JSX element rendering an animated themed view
|
|
13
|
+
* @example
|
|
14
|
+
* <AnimatedThemedView
|
|
15
|
+
* backgroundColor="background"
|
|
16
|
+
* padding="m"
|
|
17
|
+
* animatedStyle={{ opacity: fadeAnim }}
|
|
18
|
+
* >
|
|
19
|
+
* <ThemedText>Animated content</ThemedText>
|
|
20
|
+
* </AnimatedThemedView>
|
|
21
|
+
*/
|
|
6
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
23
|
const AnimatedThemedView = t0 => {
|
|
8
24
|
const $ = _c(8);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useAnimatedThemedView","AnimatedView","jsx","_jsx","AnimatedThemedView","t0","$","_c","props","t1","backgroundColor","undefined","t2","animatedThemedViewProps","t3"],"sourceRoot":"../../../../src","sources":["components/view/AnimatedThemedView.tsx"],"mappings":";;;AACA,SAASA,qBAAqB,QAAQ,qBAAkB;AAExD,OAAOC,YAAY,MAAM,mBAAgB;
|
|
1
|
+
{"version":3,"names":["useAnimatedThemedView","AnimatedView","jsx","_jsx","AnimatedThemedView","t0","$","_c","props","t1","backgroundColor","undefined","t2","animatedThemedViewProps","t3"],"sourceRoot":"../../../../src","sources":["components/view/AnimatedThemedView.tsx"],"mappings":";;;AACA,SAASA,qBAAqB,QAAQ,qBAAkB;AAExD,OAAOC,YAAY,MAAM,mBAAgB;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,SAAAC,GAAA,IAAAC,IAAA;AAeA,MAAMC,kBAA+C,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAA,IAAAC,KAAA;EAAA,IAAAC,EAAA;EAAA,IAAAH,CAAA,QAAAD,EAAA;IAAC;MAAAK,eAAA,EAAAD,EAAA;MAAA,GAAAD;IAAA,IAAAH,EAGxD;IAAAC,CAAA,MAAAD,EAAA;IAAAC,CAAA,MAAAE,KAAA;IAAAF,CAAA,MAAAG,EAAA;EAAA;IAAAD,KAAA,GAAAF,CAAA;IAAAG,EAAA,GAAAH,CAAA;EAAA;EAFC,MAAAI,eAAA,GAAAD,EAA8B,KAA9BE,SAA8B,GAA9B,YAA8B,GAA9BF,EAA8B;EAAA,IAAAG,EAAA;EAAA,IAAAN,CAAA,QAAAI,eAAA,IAAAJ,CAAA,QAAAE,KAAA;IAGwBI,EAAA;MAAAF,eAAA;MAAA,GAEjDF;IACL,CAAC;IAAAF,CAAA,MAAAI,eAAA;IAAAJ,CAAA,MAAAE,KAAA;IAAAF,CAAA,MAAAM,EAAA;EAAA;IAAAA,EAAA,GAAAN,CAAA;EAAA;EAHD,MAAAO,uBAAA,GAAgCb,qBAAqB,CAACY,EAGrD,CAAC;EAAC,IAAAE,EAAA;EAAA,IAAAR,CAAA,QAAAO,uBAAA;IAEIC,EAAA,gBAAAX,IAAA,CAACF,YAAY;MAAA,GAAKY;IAAuB,CAAG,CAAC;IAAAP,CAAA,MAAAO,uBAAA;IAAAP,CAAA,MAAAQ,EAAA;EAAA;IAAAA,EAAA,GAAAR,CAAA;EAAA;EAAA,OAA7CQ,EAA6C;AAAA,CACrD;AAED,eAAeV,kBAAkB","ignoreList":[]}
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
/** @internal */
|
|
4
4
|
import { View } from 'react-native';
|
|
5
5
|
import Animated from 'react-native-reanimated';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
* An animated version of React Native's View component.
|
|
10
|
+
* Created using react-native-reanimated's createAnimatedComponent API.
|
|
11
|
+
*/
|
|
6
12
|
const AnimatedView = Animated.createAnimatedComponent(View);
|
|
7
13
|
export default AnimatedView;
|
|
8
14
|
//# sourceMappingURL=AnimatedView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Animated","AnimatedView","createAnimatedComponent"],"sourceRoot":"../../../../src","sources":["components/view/AnimatedView.tsx"],"mappings":";;AAAA;AACA,SAASA,IAAI,QAAQ,cAAc;AACnC,OAAOC,QAAQ,MAAM,yBAAyB;
|
|
1
|
+
{"version":3,"names":["View","Animated","AnimatedView","createAnimatedComponent"],"sourceRoot":"../../../../src","sources":["components/view/AnimatedView.tsx"],"mappings":";;AAAA;AACA,SAASA,IAAI,QAAQ,cAAc;AACnC,OAAOC,QAAQ,MAAM,yBAAyB;;AAE9C;AACA;AACA;AACA;AACA;AACA,MAAMC,YAAY,GAAGD,QAAQ,CAACE,uBAAuB,CAACH,IAAI,CAAC;AAE3D,eAAeE,YAAY","ignoreList":[]}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
/** @internal */
|
|
4
4
|
import { createBox } from '@shopify/restyle';
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
* Base box component created with @shopify/restyle's createBox.
|
|
8
|
+
* Provides typed access to theme layout, spacing, and styling properties.
|
|
9
|
+
*/
|
|
5
10
|
const Box = createBox();
|
|
6
11
|
export default Box;
|
|
7
12
|
//# sourceMappingURL=Box.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createBox","Box"],"sourceRoot":"../../../../src","sources":["components/view/Box.tsx"],"mappings":";;AAAA;AACA,SAASA,SAAS,QAAQ,kBAAkB;AAG5C,MAAMC,GAAG,GAAGD,SAAS,CAAQ,CAAC;AAE9B,eAAeC,GAAG","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["createBox","Box"],"sourceRoot":"../../../../src","sources":["components/view/Box.tsx"],"mappings":";;AAAA;AACA,SAASA,SAAS,QAAQ,kBAAkB;AAG5C;AACA;AACA;AACA;AACA;AACA,MAAMC,GAAG,GAAGD,SAAS,CAAQ,CAAC;AAE9B,eAAeC,GAAG","ignoreList":[]}
|
|
@@ -1,14 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { c as _c } from "react/compiler-runtime";
|
|
4
|
-
import {
|
|
5
|
-
import { useInsetsStyle } from "../../hooks/style.js";
|
|
6
|
-
import { composeStyles } from "../../utils/style/func.js";
|
|
4
|
+
import { useThemedScreenWrap } from "../../hooks/view.js";
|
|
7
5
|
import ThemedView from "./ThemedView.js";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* A themed screen wrapper component for full-screen layouts with lifecycle hooks.
|
|
9
|
+
* Provides a flex:1 container with safe area inset support and optional setup/cleanup effects.
|
|
10
|
+
* Ideal for wrapping entire screen content with consistent spacing and lifecycle management.
|
|
11
|
+
* @param props - Component props of type ThemedScreenWrapProps
|
|
12
|
+
* @returns JSX element rendering a full-screen themed container
|
|
13
|
+
* @example
|
|
14
|
+
* <ThemedScreenWrap
|
|
15
|
+
* insetTop={true}
|
|
16
|
+
* insetBottom={true}
|
|
17
|
+
* effectSetup={() => console.log('screen mounted')}
|
|
18
|
+
* effectCleanup={() => console.log('screen unmounted')}
|
|
19
|
+
* >
|
|
20
|
+
* <ThemedText>Screen content</ThemedText>
|
|
21
|
+
* </ThemedScreenWrap>
|
|
22
|
+
*/
|
|
8
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
24
|
const ThemedScreenWrap = t0 => {
|
|
10
|
-
const $ = _c(
|
|
25
|
+
const $ = _c(34);
|
|
11
26
|
let effectCleanup;
|
|
27
|
+
let effectDependencies;
|
|
12
28
|
let effectSetup;
|
|
13
29
|
let insetBottom;
|
|
14
30
|
let insetLeft;
|
|
@@ -21,13 +37,12 @@ const ThemedScreenWrap = t0 => {
|
|
|
21
37
|
let insets;
|
|
22
38
|
let insetsPadding;
|
|
23
39
|
let props;
|
|
24
|
-
let t1;
|
|
25
40
|
let themedScreenWrapStyle;
|
|
26
41
|
if ($[0] !== t0) {
|
|
27
42
|
({
|
|
28
43
|
effectSetup,
|
|
29
44
|
effectCleanup,
|
|
30
|
-
effectDependencies
|
|
45
|
+
effectDependencies,
|
|
31
46
|
style: themedScreenWrapStyle,
|
|
32
47
|
insets,
|
|
33
48
|
insetTop,
|
|
@@ -43,49 +58,44 @@ const ThemedScreenWrap = t0 => {
|
|
|
43
58
|
} = t0);
|
|
44
59
|
$[0] = t0;
|
|
45
60
|
$[1] = effectCleanup;
|
|
46
|
-
$[2] =
|
|
47
|
-
$[3] =
|
|
48
|
-
$[4] =
|
|
49
|
-
$[5] =
|
|
50
|
-
$[6] =
|
|
51
|
-
$[7] =
|
|
52
|
-
$[8] =
|
|
53
|
-
$[9] =
|
|
54
|
-
$[10] =
|
|
55
|
-
$[11] =
|
|
56
|
-
$[12] =
|
|
57
|
-
$[13] =
|
|
58
|
-
$[14] =
|
|
61
|
+
$[2] = effectDependencies;
|
|
62
|
+
$[3] = effectSetup;
|
|
63
|
+
$[4] = insetBottom;
|
|
64
|
+
$[5] = insetLeft;
|
|
65
|
+
$[6] = insetPaddingBottom;
|
|
66
|
+
$[7] = insetPaddingLeft;
|
|
67
|
+
$[8] = insetPaddingRight;
|
|
68
|
+
$[9] = insetPaddingTop;
|
|
69
|
+
$[10] = insetRight;
|
|
70
|
+
$[11] = insetTop;
|
|
71
|
+
$[12] = insets;
|
|
72
|
+
$[13] = insetsPadding;
|
|
73
|
+
$[14] = props;
|
|
59
74
|
$[15] = themedScreenWrapStyle;
|
|
60
75
|
} else {
|
|
61
76
|
effectCleanup = $[1];
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
77
|
+
effectDependencies = $[2];
|
|
78
|
+
effectSetup = $[3];
|
|
79
|
+
insetBottom = $[4];
|
|
80
|
+
insetLeft = $[5];
|
|
81
|
+
insetPaddingBottom = $[6];
|
|
82
|
+
insetPaddingLeft = $[7];
|
|
83
|
+
insetPaddingRight = $[8];
|
|
84
|
+
insetPaddingTop = $[9];
|
|
85
|
+
insetRight = $[10];
|
|
86
|
+
insetTop = $[11];
|
|
87
|
+
insets = $[12];
|
|
88
|
+
insetsPadding = $[13];
|
|
89
|
+
props = $[14];
|
|
75
90
|
themedScreenWrapStyle = $[15];
|
|
76
91
|
}
|
|
77
|
-
let
|
|
78
|
-
if ($[16] !==
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
const effectDependencies = t2;
|
|
86
|
-
let t3;
|
|
87
|
-
if ($[18] !== insetBottom || $[19] !== insetLeft || $[20] !== insetPaddingBottom || $[21] !== insetPaddingLeft || $[22] !== insetPaddingRight || $[23] !== insetPaddingTop || $[24] !== insetRight || $[25] !== insetTop || $[26] !== insets || $[27] !== insetsPadding) {
|
|
88
|
-
t3 = {
|
|
92
|
+
let t1;
|
|
93
|
+
if ($[16] !== effectCleanup || $[17] !== effectDependencies || $[18] !== effectSetup || $[19] !== insetBottom || $[20] !== insetLeft || $[21] !== insetPaddingBottom || $[22] !== insetPaddingLeft || $[23] !== insetPaddingRight || $[24] !== insetPaddingTop || $[25] !== insetRight || $[26] !== insetTop || $[27] !== insets || $[28] !== insetsPadding || $[29] !== themedScreenWrapStyle) {
|
|
94
|
+
t1 = {
|
|
95
|
+
effectSetup,
|
|
96
|
+
effectCleanup,
|
|
97
|
+
effectDependencies,
|
|
98
|
+
style: themedScreenWrapStyle,
|
|
89
99
|
insets,
|
|
90
100
|
insetTop,
|
|
91
101
|
insetBottom,
|
|
@@ -97,58 +107,39 @@ const ThemedScreenWrap = t0 => {
|
|
|
97
107
|
insetPaddingLeft,
|
|
98
108
|
insetPaddingRight
|
|
99
109
|
};
|
|
100
|
-
$[
|
|
101
|
-
$[
|
|
102
|
-
$[
|
|
103
|
-
$[
|
|
104
|
-
$[
|
|
105
|
-
$[
|
|
106
|
-
$[
|
|
107
|
-
$[
|
|
108
|
-
$[
|
|
109
|
-
$[
|
|
110
|
-
$[
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
let t4;
|
|
116
|
-
if ($[29] !== effectCleanup || $[30] !== effectSetup) {
|
|
117
|
-
t4 = () => {
|
|
118
|
-
effectSetup?.();
|
|
119
|
-
return effectCleanup;
|
|
120
|
-
};
|
|
121
|
-
$[29] = effectCleanup;
|
|
122
|
-
$[30] = effectSetup;
|
|
123
|
-
$[31] = t4;
|
|
110
|
+
$[16] = effectCleanup;
|
|
111
|
+
$[17] = effectDependencies;
|
|
112
|
+
$[18] = effectSetup;
|
|
113
|
+
$[19] = insetBottom;
|
|
114
|
+
$[20] = insetLeft;
|
|
115
|
+
$[21] = insetPaddingBottom;
|
|
116
|
+
$[22] = insetPaddingLeft;
|
|
117
|
+
$[23] = insetPaddingRight;
|
|
118
|
+
$[24] = insetPaddingTop;
|
|
119
|
+
$[25] = insetRight;
|
|
120
|
+
$[26] = insetTop;
|
|
121
|
+
$[27] = insets;
|
|
122
|
+
$[28] = insetsPadding;
|
|
123
|
+
$[29] = themedScreenWrapStyle;
|
|
124
|
+
$[30] = t1;
|
|
124
125
|
} else {
|
|
125
|
-
|
|
126
|
+
t1 = $[30];
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
-
let
|
|
129
|
-
if ($[
|
|
130
|
-
|
|
131
|
-
$[32] = insetsStyle;
|
|
132
|
-
$[33] = themedScreenWrapStyle;
|
|
133
|
-
$[34] = t5;
|
|
134
|
-
} else {
|
|
135
|
-
t5 = $[34];
|
|
136
|
-
}
|
|
137
|
-
const style = t5;
|
|
138
|
-
let t6;
|
|
139
|
-
if ($[35] !== props || $[36] !== style) {
|
|
140
|
-
t6 = /*#__PURE__*/_jsx(ThemedView, {
|
|
128
|
+
const style = useThemedScreenWrap(t1);
|
|
129
|
+
let t2;
|
|
130
|
+
if ($[31] !== props || $[32] !== style) {
|
|
131
|
+
t2 = /*#__PURE__*/_jsx(ThemedView, {
|
|
141
132
|
flex: 1,
|
|
142
133
|
style: style,
|
|
143
134
|
...props
|
|
144
135
|
});
|
|
145
|
-
$[
|
|
146
|
-
$[
|
|
147
|
-
$[
|
|
136
|
+
$[31] = props;
|
|
137
|
+
$[32] = style;
|
|
138
|
+
$[33] = t2;
|
|
148
139
|
} else {
|
|
149
|
-
|
|
140
|
+
t2 = $[33];
|
|
150
141
|
}
|
|
151
|
-
return
|
|
142
|
+
return t2;
|
|
152
143
|
};
|
|
153
144
|
export default ThemedScreenWrap;
|
|
154
145
|
//# sourceMappingURL=ThemedScreenWrap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useThemedScreenWrap","ThemedView","jsx","_jsx","ThemedScreenWrap","t0","$","_c","effectCleanup","effectDependencies","effectSetup","insetBottom","insetLeft","insetPaddingBottom","insetPaddingLeft","insetPaddingRight","insetPaddingTop","insetRight","insetTop","insets","insetsPadding","props","themedScreenWrapStyle","style","t1","t2","flex"],"sourceRoot":"../../../../src","sources":["components/view/ThemedScreenWrap.tsx"],"mappings":";;;AACA,SAASA,mB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A;IAAAP,CAAA,OAAAQ,gBAAA;IAAAR,CAAA,OAAAS,iBAAA;IAAAT,CAAA,OAAAU,eAAA;IAAAV,CAAA,OAAAW,UAAA;IAAAX,CAAA,OAAAY,QAAA;IAAAZ,CAAA,OAAAa,MAAA;IAAAb,CAAA,OAAAc,aAAA;IAAAd,CAAA,OAAAgB,qBAAA;IAAAhB,CAAA,OAAAkB,EAAA;EAAA;IAAAA,EAAA,GAAAlB,CAAA;EAAA;EAfD,MAAAiB,KAAA,GAAcvB,mBAAmB,CAACwB,EAejC,CAAC;EAAC,IAAAC,EAAA;EAAA,IAAAnB,CAAA,SAAAe,KAAA,IAAAf,CAAA,SAAAiB,KAAA;IAEIE,EAAA,gBAAAtB,IAAA,CAACF,UAAU;MAAOyB,IAAC,EAAD,CAAC;MAASH,KAAK,EAALA,KAAK;MAAA,GAAMF;IAAK,CAAG,CAAC;IAAAf,CAAA,OAAAe,KAAA;IAAAf,CAAA,OAAAiB,KAAA;IAAAjB,CAAA,OAAAmB,EAAA;EAAA;IAAAA,EAAA,GAAAnB,CAAA;EAAA;EAAA,OAAhDmB,EAAgD;AAAA,CACxD;AAED,eAAerB,gBAAgB","ignoreList":[]}
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { c as _c } from "react/compiler-runtime";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { useWindowDimensionsHeight } from "../../hooks/style.js";
|
|
5
|
+
import { useThemedScreenWrap } from "../../hooks/view.js";
|
|
6
6
|
import ThemedView from "./ThemedView.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* A themed screen wrapper component for full-screen layouts on web platforms.
|
|
10
|
+
* Provides a height-constrained container with safe area inset support.
|
|
11
|
+
* Automatically adjusts to window dimensions for consistent web layout.
|
|
12
|
+
* @param props - Component props of type ThemedScreenWrapProps
|
|
13
|
+
* @returns JSX element rendering a full-screen themed container
|
|
14
|
+
* @example
|
|
15
|
+
* <ThemedScreenWrap
|
|
16
|
+
* insetTop={true}
|
|
17
|
+
* insetBottom={true}
|
|
18
|
+
* >
|
|
19
|
+
* <ThemedText>Screen content</ThemedText>
|
|
20
|
+
* </ThemedScreenWrap>
|
|
21
|
+
*/
|
|
7
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
23
|
const ThemedScreenWrap = t0 => {
|
|
9
|
-
const $ = _c(
|
|
24
|
+
const $ = _c(35);
|
|
25
|
+
let effectCleanup;
|
|
26
|
+
let effectDependencies;
|
|
27
|
+
let effectSetup;
|
|
10
28
|
let insetBottom;
|
|
11
29
|
let insetLeft;
|
|
12
30
|
let insetPaddingBottom;
|
|
@@ -21,6 +39,9 @@ const ThemedScreenWrap = t0 => {
|
|
|
21
39
|
let themedScreenWrapStyle;
|
|
22
40
|
if ($[0] !== t0) {
|
|
23
41
|
({
|
|
42
|
+
effectSetup,
|
|
43
|
+
effectCleanup,
|
|
44
|
+
effectDependencies,
|
|
24
45
|
style: themedScreenWrapStyle,
|
|
25
46
|
insets,
|
|
26
47
|
insetTop,
|
|
@@ -35,36 +56,46 @@ const ThemedScreenWrap = t0 => {
|
|
|
35
56
|
...props
|
|
36
57
|
} = t0);
|
|
37
58
|
$[0] = t0;
|
|
38
|
-
$[1] =
|
|
39
|
-
$[2] =
|
|
40
|
-
$[3] =
|
|
41
|
-
$[4] =
|
|
42
|
-
$[5] =
|
|
43
|
-
$[6] =
|
|
44
|
-
$[7] =
|
|
45
|
-
$[8] =
|
|
46
|
-
$[9] =
|
|
47
|
-
$[10] =
|
|
48
|
-
$[11] =
|
|
49
|
-
$[12] =
|
|
59
|
+
$[1] = effectCleanup;
|
|
60
|
+
$[2] = effectDependencies;
|
|
61
|
+
$[3] = effectSetup;
|
|
62
|
+
$[4] = insetBottom;
|
|
63
|
+
$[5] = insetLeft;
|
|
64
|
+
$[6] = insetPaddingBottom;
|
|
65
|
+
$[7] = insetPaddingLeft;
|
|
66
|
+
$[8] = insetPaddingRight;
|
|
67
|
+
$[9] = insetPaddingTop;
|
|
68
|
+
$[10] = insetRight;
|
|
69
|
+
$[11] = insetTop;
|
|
70
|
+
$[12] = insets;
|
|
71
|
+
$[13] = insetsPadding;
|
|
72
|
+
$[14] = props;
|
|
73
|
+
$[15] = themedScreenWrapStyle;
|
|
50
74
|
} else {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
75
|
+
effectCleanup = $[1];
|
|
76
|
+
effectDependencies = $[2];
|
|
77
|
+
effectSetup = $[3];
|
|
78
|
+
insetBottom = $[4];
|
|
79
|
+
insetLeft = $[5];
|
|
80
|
+
insetPaddingBottom = $[6];
|
|
81
|
+
insetPaddingLeft = $[7];
|
|
82
|
+
insetPaddingRight = $[8];
|
|
83
|
+
insetPaddingTop = $[9];
|
|
84
|
+
insetRight = $[10];
|
|
85
|
+
insetTop = $[11];
|
|
86
|
+
insets = $[12];
|
|
87
|
+
insetsPadding = $[13];
|
|
88
|
+
props = $[14];
|
|
89
|
+
themedScreenWrapStyle = $[15];
|
|
63
90
|
}
|
|
64
91
|
const height = useWindowDimensionsHeight();
|
|
65
92
|
let t1;
|
|
66
|
-
if ($[
|
|
93
|
+
if ($[16] !== effectCleanup || $[17] !== effectDependencies || $[18] !== effectSetup || $[19] !== insetBottom || $[20] !== insetLeft || $[21] !== insetPaddingBottom || $[22] !== insetPaddingLeft || $[23] !== insetPaddingRight || $[24] !== insetPaddingTop || $[25] !== insetRight || $[26] !== insetTop || $[27] !== insets || $[28] !== insetsPadding || $[29] !== themedScreenWrapStyle) {
|
|
67
94
|
t1 = {
|
|
95
|
+
effectSetup,
|
|
96
|
+
effectCleanup,
|
|
97
|
+
effectDependencies,
|
|
98
|
+
style: themedScreenWrapStyle,
|
|
68
99
|
insets,
|
|
69
100
|
insetTop,
|
|
70
101
|
insetBottom,
|
|
@@ -76,46 +107,40 @@ const ThemedScreenWrap = t0 => {
|
|
|
76
107
|
insetPaddingLeft,
|
|
77
108
|
insetPaddingRight
|
|
78
109
|
};
|
|
79
|
-
$[
|
|
80
|
-
$[
|
|
81
|
-
$[
|
|
82
|
-
$[
|
|
83
|
-
$[
|
|
84
|
-
$[
|
|
85
|
-
$[
|
|
86
|
-
$[
|
|
87
|
-
$[
|
|
88
|
-
$[
|
|
89
|
-
$[
|
|
110
|
+
$[16] = effectCleanup;
|
|
111
|
+
$[17] = effectDependencies;
|
|
112
|
+
$[18] = effectSetup;
|
|
113
|
+
$[19] = insetBottom;
|
|
114
|
+
$[20] = insetLeft;
|
|
115
|
+
$[21] = insetPaddingBottom;
|
|
116
|
+
$[22] = insetPaddingLeft;
|
|
117
|
+
$[23] = insetPaddingRight;
|
|
118
|
+
$[24] = insetPaddingTop;
|
|
119
|
+
$[25] = insetRight;
|
|
120
|
+
$[26] = insetTop;
|
|
121
|
+
$[27] = insets;
|
|
122
|
+
$[28] = insetsPadding;
|
|
123
|
+
$[29] = themedScreenWrapStyle;
|
|
124
|
+
$[30] = t1;
|
|
90
125
|
} else {
|
|
91
|
-
t1 = $[
|
|
126
|
+
t1 = $[30];
|
|
92
127
|
}
|
|
93
|
-
const
|
|
128
|
+
const style = useThemedScreenWrap(t1);
|
|
94
129
|
let t2;
|
|
95
|
-
if ($[
|
|
96
|
-
t2 =
|
|
97
|
-
$[24] = insetsStyle;
|
|
98
|
-
$[25] = themedScreenWrapStyle;
|
|
99
|
-
$[26] = t2;
|
|
100
|
-
} else {
|
|
101
|
-
t2 = $[26];
|
|
102
|
-
}
|
|
103
|
-
const style = t2;
|
|
104
|
-
let t3;
|
|
105
|
-
if ($[27] !== height || $[28] !== props || $[29] !== style) {
|
|
106
|
-
t3 = /*#__PURE__*/_jsx(ThemedView, {
|
|
130
|
+
if ($[31] !== height || $[32] !== props || $[33] !== style) {
|
|
131
|
+
t2 = /*#__PURE__*/_jsx(ThemedView, {
|
|
107
132
|
height: height,
|
|
108
133
|
style: style,
|
|
109
134
|
...props
|
|
110
135
|
});
|
|
111
|
-
$[
|
|
112
|
-
$[
|
|
113
|
-
$[
|
|
114
|
-
$[
|
|
136
|
+
$[31] = height;
|
|
137
|
+
$[32] = props;
|
|
138
|
+
$[33] = style;
|
|
139
|
+
$[34] = t2;
|
|
115
140
|
} else {
|
|
116
|
-
|
|
141
|
+
t2 = $[34];
|
|
117
142
|
}
|
|
118
|
-
return
|
|
143
|
+
return t2;
|
|
119
144
|
};
|
|
120
145
|
export default ThemedScreenWrap;
|
|
121
146
|
//# sourceMappingURL=ThemedScreenWrap.web.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useWindowDimensionsHeight","useThemedScreenWrap","ThemedView","jsx","_jsx","ThemedScreenWrap","t0","$","_c","effectCleanup","effectDependencies","effectSetup","insetBottom","insetLeft","insetPaddingBottom","insetPaddingLeft","insetPaddingRight","insetPaddingTop","insetRight","insetTop","insets","insetsPadding","props","themedScreenWrapStyle","style","height","t1","t2"],"sourceRoot":"../../../../src","sources":["components/view/ThemedScreenWrap.web.tsx"],"mappings":";;;AACA,SAASA,yBAAyB,QAAQ,sBAAmB;AAC7D,SAASC,mBAAmB,QAAQ,qBAAkB;AAEtD,OAAOC,UAAU,MAAM,iBAAc;;AAErC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAbA,SAAAC,GAAA,IAAAC,IAAA;AAcA,MAAMC,gBAA2C,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAA,IAAAC,aAAA;EAAA,IAAAC,kBAAA;EAAA,IAAAC,WAAA;EAAA,IAAAC,WAAA;EAAA,IAAAC,SAAA;EAAA,IAAAC,kBAAA;EAAA,IAAAC,gBAAA;EAAA,IAAAC,iBAAA;EAAA,IAAAC,eAAA;EAAA,IAAAC,UAAA;EAAA,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MAAA,IAAAlB,CAAA,SAAAe,KAAA,IAAAf,CAAA,SAAAiB,KAAA;IAEIG,EAAA,gBAAAvB,IAAA,CAACF,UAAU;MAASuB,MAAM,EAANA,MAAM;MAASD,KAAK,EAALA,KAAK;MAAA,GAAMF;IAAK,CAAG,CAAC;IAAAf,CAAA,OAAAkB,MAAA;IAAAlB,CAAA,OAAAe,KAAA;IAAAf,CAAA,OAAAiB,KAAA;IAAAjB,CAAA,OAAAoB,EAAA;EAAA;IAAAA,EAAA,GAAApB,CAAA;EAAA;EAAA,OAAvDoB,EAAuD;AAAA,CAC/D;AAED,eAAetB,gBAAgB","ignoreList":[]}
|
|
@@ -6,6 +6,23 @@ import { ScrollView } from 'react-native';
|
|
|
6
6
|
import { useInsetsStyle } from "../../hooks/style.js";
|
|
7
7
|
import { composeStyles } from "../../utils/style/func.js";
|
|
8
8
|
import { themedScrollViewRestyleFuncs } from "../../utils/theme/restyle.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A themed scroll view component with safe area inset support.
|
|
12
|
+
* Wraps React Native's ScrollView with theme-aware styling and automatic inset handling.
|
|
13
|
+
* Provides smooth scrolling with optional bottom padding for safe areas.
|
|
14
|
+
* @param props - Component props of type ThemedScrollViewProps
|
|
15
|
+
* @returns JSX element rendering a themed scrollable container
|
|
16
|
+
* @example
|
|
17
|
+
* <ThemedScrollView
|
|
18
|
+
* insetBottom={true}
|
|
19
|
+
* insetPaddingBottom="m"
|
|
20
|
+
* >
|
|
21
|
+
* <ThemedView>
|
|
22
|
+
* <ThemedText>Scrollable content</ThemedText>
|
|
23
|
+
* </ThemedView>
|
|
24
|
+
* </ThemedScrollView>
|
|
25
|
+
*/
|
|
9
26
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
27
|
const ThemedScrollView = t0 => {
|
|
11
28
|
const $ = _c(32);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useRestyle","ScrollView","useInsetsStyle","composeStyles","themedScrollViewRestyleFuncs","jsx","_jsx","ThemedScrollView","t0","$","_c","insetLeft","insetPaddingLeft","insetPaddingRight","insetPaddingTop","insetRight","insetTop","insets","insetsPadding","props","t1","t2","insetBottom","insetPaddingBottom","undefined","t3","restyleContentContainerStyle","restyles","contentContainerStyle","t4","insetsStyle","t5","t6","__DEV__","accessible","role"],"sourceRoot":"../../../../src","sources":["components/view/ThemedScrollView.tsx"],"mappings":";;;AAAA,SAASA,UAAU,QAAQ,kBAAkB;AAE7C,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,cAAc,QAAQ,sBAAmB;AAElD,SAASC,aAAa,QAAQ,2BAAwB;AACtD,SAASC,4BAA4B,QAAQ,8BAA2B;
|
|
1
|
+
{"version":3,"names":["useRestyle","ScrollView","useInsetsStyle","composeStyles","themedScrollViewRestyleFuncs","jsx","_jsx","ThemedScrollView","t0","$","_c","insetLeft","insetPaddingLeft","insetPaddingRight","insetPaddingTop","insetRight","insetTop","insets","insetsPadding","props","t1","t2","insetBottom","insetPaddingBottom","undefined","t3","restyleContentContainerStyle","restyles","contentContainerStyle","t4","insetsStyle","t5","t6","__DEV__","accessible","role"],"sourceRoot":"../../../../src","sources":["components/view/ThemedScrollView.tsx"],"mappings":";;;AAAA,SAASA,UAAU,QAAQ,kBAAkB;AAE7C,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,cAAc,QAAQ,sBAAmB;AAElD,SAASC,aAAa,QAAQ,2BAAwB;AACtD,SAASC,4BAA4B,QAAQ,8BAA2B;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAfA,SAAAC,GAAA,IAAAC,IAAA;AAgBA,MAAMC,gBAA2C,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAA,IAAAC,SAAA;EAAA,IAAAC,gBAAA;EAAA,IAAAC,iBAAA;EAAA,IAAAC,eAAA;EAAA,IAAAC,UAAA;EAAA,IAAAC,QAAA;EA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A4B,EAC5BI,WACF,CAAC;IAAArB,CAAA,OAAAqB,WAAA;IAAArB,CAAA,OAAAiB,4BAAA;IAAAjB,CAAA,OAAAsB,EAAA;EAAA;IAAAA,EAAA,GAAAtB,CAAA;EAAA;EAHD,MAAAmB,qBAAA,GAA8BG,EAG7B;EAAC,IAAAC,EAAA;EAAA,IAAAvB,CAAA,SAAAmB,qBAAA,IAAAnB,CAAA,SAAAkB,QAAA;IAGAK,EAAA,gBAAA1B,IAAA,CAACL,UAAU;MACqBgC,4BAAO,EAAPA,OAAO;MACLA,8BAAO,EAAPA,OAAO;MAChBL,qBAAqB,EAArBA,qBAAqB;MAChCM,UAAI,EAAJ,IAAI;MACVC,IAAO,EAAP,OAAO;MAAA,GACTR;IAAQ,CACb,CAAC;IAAAlB,CAAA,OAAAmB,qBAAA;IAAAnB,CAAA,OAAAkB,QAAA;IAAAlB,CAAA,OAAAuB,EAAA;EAAA;IAAAA,EAAA,GAAAvB,CAAA;EAAA;EAAA,OAPFuB,EAOE;AAAA,CAEL;AAED,eAAezB,gBAAgB","ignoreList":[]}
|
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
import { c as _c } from "react/compiler-runtime";
|
|
4
4
|
import Box from "./Box.js";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A themed view component that provides theme-aware container styling.
|
|
8
|
+
* Serves as the foundation for layout and composition with automatic theme integration.
|
|
9
|
+
* Supports all standard view props plus theme-based colors, spacing, and layout properties.
|
|
10
|
+
* @param props - Component props of type ThemedViewProps
|
|
11
|
+
* @returns JSX element rendering a themed view container
|
|
12
|
+
* @example
|
|
13
|
+
* <ThemedView
|
|
14
|
+
* backgroundColor="background"
|
|
15
|
+
* padding="l"
|
|
16
|
+
* flexDirection="row"
|
|
17
|
+
* >
|
|
18
|
+
* <ThemedText>Content</ThemedText>
|
|
19
|
+
* </ThemedView>
|
|
20
|
+
*/
|
|
5
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
22
|
const ThemedView = t0 => {
|
|
7
23
|
const $ = _c(6);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Box","jsx","_jsx","ThemedView","t0","$","_c","props","t1","backgroundColor","undefined","t2","accessible","role"],"sourceRoot":"../../../../src","sources":["components/view/ThemedView.tsx"],"mappings":";;;AAEA,OAAOA,GAAG,MAAM,UAAO;
|
|
1
|
+
{"version":3,"names":["Box","jsx","_jsx","ThemedView","t0","$","_c","props","t1","backgroundColor","undefined","t2","accessible","role"],"sourceRoot":"../../../../src","sources":["components/view/ThemedView.tsx"],"mappings":";;;AAEA,OAAOA,GAAG,MAAM,UAAO;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAdA,SAAAC,GAAA,IAAAC,IAAA;AAeA,MAAMC,UAA+B,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAA,IAAAC,KAAA;EAAA,IAAAC,EAAA;EAAA,IAAAH,CAAA,QAAAD,EAAA;IAAC;MAAAK,eAAA,EAAAD,EAAA;MAAA,GAAAD;IAAA,IAAAH,EAGxC;IAAAC,CAAA,MAAAD,EAAA;IAAAC,CAAA,MAAAE,KAAA;IAAAF,CAAA,MAAAG,EAAA;EAAA;IAAAD,KAAA,GAAAF,CAAA;IAAAG,EAAA,GAAAH,CAAA;EAAA;EAFC,MAAAI,eAAA,GAAAD,EAA8B,KAA9BE,SAA8B,GAA9B,YAA8B,GAA9BF,EAA8B;EAAA,IAAAG,EAAA;EAAA,IAAAN,CAAA,QAAAI,eAAA,IAAAJ,CAAA,QAAAE,KAAA;IAI5BI,EAAA,gBAAAT,IAAA,CAACF,GAAG;MACeS,eAAe,EAAfA,eAAe;MACpBG,UAAI,EAAJ,IAAI;MACVC,IAAO,EAAP,OAAO;MAAA,GACTN;IAAK,CACV,CAAC;IAAAF,CAAA,MAAAI,eAAA;IAAAJ,CAAA,MAAAE,KAAA;IAAAF,CAAA,MAAAM,EAAA;EAAA;IAAAA,EAAA,GAAAN,CAAA;EAAA;EAAA,OALFM,EAKE;AAAA,CAEL;AAED,eAAeR,UAAU","ignoreList":[]}
|