@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/func.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEjE,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,KAE1E;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,EAC3C,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC5B,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,uCAG7B;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,iCAEvE;AAED,wBAAgB,mBAAmB,sCAElC;AAED,wBAAgB,wBAAwB,WAEvC;AAED,wBAAgB,yBAAyB,WAExC;AAED,wBAAgB,wBAAwB,WAEvC;AAED,wBAAgB,4BAA4B,WAE3C"}
|
|
1
|
+
{"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/func.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEjE;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,KAE1E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,EAC3C,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC5B,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,uCAG7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,iCAEvE;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,sCAElC;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,WAExC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,WAE3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/switch/const.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/switch/const.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,MAAM,CAAC"}
|
|
@@ -1,68 +1,224 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Color palette used throughout the application.
|
|
3
|
+
* Contains primary theme colors and semantic colors with transparency variants.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* const styles = StyleSheet.create({
|
|
8
|
+
* container: {
|
|
9
|
+
* backgroundColor: Palette.ThemePri,
|
|
10
|
+
* borderColor: Palette.Silver
|
|
11
|
+
* }
|
|
12
|
+
* });
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
1
15
|
export declare enum Palette {
|
|
16
|
+
/** Fully transparent color */
|
|
2
17
|
Transparent = "transparent",
|
|
18
|
+
/** Primary theme color - bright green */
|
|
3
19
|
ThemePri = "#7ccf6b",
|
|
20
|
+
/** Secondary theme color - darker green */
|
|
4
21
|
ThemeSec = "#5aa85a",
|
|
22
|
+
/** Primary theme color with 50% transparency */
|
|
5
23
|
ThemePriT = "#7ccf6b80",
|
|
24
|
+
/** Near black - used for text in light mode */
|
|
6
25
|
Black = "#000501",
|
|
26
|
+
/** Black with 50% transparency */
|
|
7
27
|
BlackT = "#00050180",
|
|
28
|
+
/** Off-white - used for backgrounds in light mode */
|
|
8
29
|
White = "#fafafa",
|
|
30
|
+
/** White with 50% transparency */
|
|
9
31
|
WhiteT = "#fafafa80",
|
|
32
|
+
/** Light gray - used for disabled states */
|
|
10
33
|
Silver = "#c4c4c4",
|
|
34
|
+
/** Medium gray - used for borders */
|
|
11
35
|
Grey = "#7a7a7a",
|
|
36
|
+
/** Red - used for errors and destructive actions */
|
|
12
37
|
Red = "#ff3b30"
|
|
13
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Spacing scale used for margins, padding, and gaps.
|
|
41
|
+
* Based on a geometric progression for consistent spacing ratios.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* <View style={{ padding: Spacing.M, gap: Spacing.S }}>
|
|
46
|
+
* <Text>Content</Text>
|
|
47
|
+
* </View>
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
14
50
|
export declare enum Spacing {
|
|
51
|
+
/** No spacing - 0px */
|
|
15
52
|
None = 0,
|
|
53
|
+
/** Extra extra extra small - 2px */
|
|
16
54
|
XXXS = 2,
|
|
55
|
+
/** Extra extra small - 4px */
|
|
17
56
|
XXS = 4,
|
|
57
|
+
/** Extra small - 6px */
|
|
18
58
|
XS = 6,
|
|
59
|
+
/** Small - 10px */
|
|
19
60
|
S = 10,
|
|
61
|
+
/** Medium - 16px */
|
|
20
62
|
M = 16,
|
|
63
|
+
/** Large - 26px */
|
|
21
64
|
L = 26,
|
|
65
|
+
/** Extra large - 42px */
|
|
22
66
|
XL = 42,
|
|
67
|
+
/** Extra extra large - 68px */
|
|
23
68
|
XXL = 68,
|
|
69
|
+
/** Extra extra extra large - 110px */
|
|
24
70
|
XXXL = 110
|
|
25
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* Font size scale for text elements.
|
|
74
|
+
* Provides consistent typography sizing across the application.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```tsx
|
|
78
|
+
* <Text style={{ fontSize: FontSize.M }}>
|
|
79
|
+
* Medium text
|
|
80
|
+
* </Text>
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
26
83
|
export declare enum FontSize {
|
|
84
|
+
/** Extra small - 12px */
|
|
27
85
|
XS = 12,
|
|
86
|
+
/** Small - 16px */
|
|
28
87
|
S = 16,
|
|
88
|
+
/** Medium - 20px */
|
|
29
89
|
M = 20,
|
|
90
|
+
/** Large - 24px */
|
|
30
91
|
L = 24,
|
|
92
|
+
/** Extra large - 28px */
|
|
31
93
|
XL = 28
|
|
32
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* Line heights calculated from font sizes with a 1.4 ratio.
|
|
97
|
+
* Ensures proper vertical spacing and readability for text.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```tsx
|
|
101
|
+
* <Text style={{
|
|
102
|
+
* fontSize: FontSize.M,
|
|
103
|
+
* lineHeight: FontLineHeight.M
|
|
104
|
+
* }}>
|
|
105
|
+
* Readable text
|
|
106
|
+
* </Text>
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
33
109
|
export declare enum FontLineHeight {
|
|
110
|
+
/** Extra small line height - 16.8px (12px * 1.4) */
|
|
34
111
|
XS = 16.799999999999997,
|
|
112
|
+
/** Small line height - 22.4px (16px * 1.4) */
|
|
35
113
|
S = 22.4,
|
|
114
|
+
/** Medium line height - 28px (20px * 1.4) */
|
|
36
115
|
M = 28,
|
|
116
|
+
/** Large line height - 33.6px (24px * 1.4) */
|
|
37
117
|
L = 33.599999999999994,
|
|
118
|
+
/** Extra large line height - 39.2px (28px * 1.4) */
|
|
38
119
|
XL = 39.199999999999996
|
|
39
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Size options for switch components.
|
|
123
|
+
* Values represent the width/height of the switch track in pixels.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* ```tsx
|
|
127
|
+
* <Switch size={SwitchSize.M} />
|
|
128
|
+
* ```
|
|
129
|
+
*/
|
|
40
130
|
export declare enum SwitchSize {
|
|
131
|
+
/** Small switch - 16px */
|
|
41
132
|
S = 16,
|
|
133
|
+
/** Medium switch - 22px */
|
|
42
134
|
M = 22,
|
|
135
|
+
/** Large switch - 28px */
|
|
43
136
|
L = 28
|
|
44
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Border width/thickness options.
|
|
140
|
+
* Includes hairline width for platform-specific thin borders.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* ```tsx
|
|
144
|
+
* <View style={{ borderWidth: BorderSize.M }}>
|
|
145
|
+
* Content
|
|
146
|
+
* </View>
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
45
149
|
export declare enum BorderSize {
|
|
150
|
+
/** No border - 0px */
|
|
46
151
|
None = 0,
|
|
152
|
+
/** Hairline border - thinnest possible border for the platform (typically 0.5-1px) */
|
|
47
153
|
XS,
|
|
154
|
+
/** Small border - 1px */
|
|
48
155
|
S = 1,
|
|
156
|
+
/** Medium border - 2px */
|
|
49
157
|
M = 2,
|
|
158
|
+
/** Large border - 4px */
|
|
50
159
|
L = 4,
|
|
160
|
+
/** Extra large border - 8px */
|
|
51
161
|
XL = 8
|
|
52
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* Border radius options for rounded corners.
|
|
165
|
+
* Round value creates fully circular shapes when applied to square elements.
|
|
166
|
+
*
|
|
167
|
+
* @example
|
|
168
|
+
* ```tsx
|
|
169
|
+
* <View style={{ borderRadius: BorderRadius.M }}>
|
|
170
|
+
* Rounded corners
|
|
171
|
+
* </View>
|
|
172
|
+
* ```
|
|
173
|
+
*/
|
|
53
174
|
export declare enum BorderRadius {
|
|
175
|
+
/** No rounding - sharp corners */
|
|
54
176
|
None = 0,
|
|
177
|
+
/** Small radius - 12px */
|
|
55
178
|
S = 12,
|
|
179
|
+
/** Medium radius - 24px */
|
|
56
180
|
M = 24,
|
|
181
|
+
/** Large radius - 36px */
|
|
57
182
|
L = 36,
|
|
183
|
+
/** Fully rounded - creates circles/pills (9999px) */
|
|
58
184
|
Round = 9999
|
|
59
185
|
}
|
|
186
|
+
/**
|
|
187
|
+
* Z-index layering values for stacking order.
|
|
188
|
+
* Controls which elements appear above others in the visual hierarchy.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* ```tsx
|
|
192
|
+
* <View style={{ zIndex: ZIndex.Top }}>
|
|
193
|
+
* Top layer content
|
|
194
|
+
* </View>
|
|
195
|
+
* ```
|
|
196
|
+
*/
|
|
60
197
|
export declare enum ZIndex {
|
|
198
|
+
/** Base layer - 0 */
|
|
61
199
|
Base = 0,
|
|
200
|
+
/** Bottom layer - 1 */
|
|
62
201
|
Bottom = 1,
|
|
202
|
+
/** Middle layer - 2 */
|
|
63
203
|
Middle = 2,
|
|
204
|
+
/** Top layer - 3 */
|
|
64
205
|
Top = 3
|
|
65
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* Light theme configuration for the application.
|
|
209
|
+
* Contains all theme values including colors, spacing, breakpoints, and text variants.
|
|
210
|
+
* Built using Shopify Restyle for type-safe styling.
|
|
211
|
+
*
|
|
212
|
+
* @example
|
|
213
|
+
* ```tsx
|
|
214
|
+
* import { ThemeProvider } from '@shopify/restyle';
|
|
215
|
+
* import { lightTheme } from './utils/theme/const';
|
|
216
|
+
*
|
|
217
|
+
* <ThemeProvider theme={lightTheme}>
|
|
218
|
+
* <App />
|
|
219
|
+
* </ThemeProvider>
|
|
220
|
+
* ```
|
|
221
|
+
*/
|
|
66
222
|
export declare const lightTheme: {
|
|
67
223
|
colors: {
|
|
68
224
|
transparent: Palette;
|
|
@@ -173,5 +329,19 @@ export declare const lightTheme: {
|
|
|
173
329
|
};
|
|
174
330
|
};
|
|
175
331
|
};
|
|
332
|
+
/**
|
|
333
|
+
* Dark theme configuration for the application.
|
|
334
|
+
* Extends the light theme with inverted background and text colors.
|
|
335
|
+
*
|
|
336
|
+
* @example
|
|
337
|
+
* ```tsx
|
|
338
|
+
* import { ThemeProvider } from '@shopify/restyle';
|
|
339
|
+
* import { darkTheme } from './utils/theme/const';
|
|
340
|
+
*
|
|
341
|
+
* <ThemeProvider theme={darkTheme}>
|
|
342
|
+
* <App />
|
|
343
|
+
* </ThemeProvider>
|
|
344
|
+
* ```
|
|
345
|
+
*/
|
|
176
346
|
export declare const darkTheme: typeof lightTheme;
|
|
177
347
|
//# sourceMappingURL=const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/theme/const.ts"],"names":[],"mappings":"AAGA,oBAAY,OAAO;IACjB,WAAW,gBAAgB;IAC3B,QAAQ,YAAY;IACpB,QAAQ,YAAY;IACpB,SAAS,cAAc;IACvB,KAAK,YAAY;IACjB,MAAM,cAAc;IACpB,KAAK,YAAY;IACjB,MAAM,cAAc;IACpB,MAAM,YAAY;IAClB,IAAI,YAAY;IAChB,GAAG,YAAY;CAChB;AAED,oBAAY,OAAO;IACjB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,GAAG,IAAI;IACP,EAAE,IAAI;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,EAAE,KAAK;IACP,GAAG,KAAK;IACR,IAAI,MAAM;CACX;AAED,oBAAY,QAAQ;IAClB,EAAE,KAAK;IACP,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,EAAE,KAAK;CACR;AAKD,oBAAY,cAAc;IACxB,EAAE,qBAAoC;IACtC,CAAC,OAAmC;IACpC,CAAC,KAAmC;IACpC,CAAC,qBAAmC;IACpC,EAAE,qBAAoC;CACvC;AAED,oBAAY,UAAU;IACpB,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;CACP;AAED,oBAAY,UAAU;IACpB,IAAI,IAAI;IACR,EAA6B;IAC7B,CAAC,IAAI;IACL,CAAC,IAAI;IACL,CAAC,IAAI;IACL,EAAE,IAAI;CACP;AAED,oBAAY,YAAY;IACtB,IAAI,IAAI;IACR,CAAC,KAAK;IACN,CAAC,KAAK;IACN,CAAC,KAAK;IACN,KAAK,OAAO;CACb;AAED,oBAAY,MAAM;IAChB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,MAAM,IAAI;IACV,GAAG,IAAI;CACR;AA+BD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuErB,CAAC;AAEH,eAAO,MAAM,SAAS,EAAE,OAAO,UAO9B,CAAC"}
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/theme/const.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,oBAAY,OAAO;IACjB,8BAA8B;IAC9B,WAAW,gBAAgB;IAC3B,yCAAyC;IACzC,QAAQ,YAAY;IACpB,2CAA2C;IAC3C,QAAQ,YAAY;IACpB,gDAAgD;IAChD,SAAS,cAAc;IACvB,+CAA+C;IAC/C,KAAK,YAAY;IACjB,kCAAkC;IAClC,MAAM,cAAc;IACpB,qDAAqD;IACrD,KAAK,YAAY;IACjB,kCAAkC;IAClC,MAAM,cAAc;IACpB,4CAA4C;IAC5C,MAAM,YAAY;IAClB,qCAAqC;IACrC,IAAI,YAAY;IAChB,oDAAoD;IACpD,GAAG,YAAY;CAChB;AAED;;;;;;;;;;GAUG;AACH,oBAAY,OAAO;IACjB,uBAAuB;IACvB,IAAI,IAAI;IACR,oCAAoC;IACpC,IAAI,IAAI;IACR,8BAA8B;IAC9B,GAAG,IAAI;IACP,wBAAwB;IACxB,EAAE,IAAI;IACN,mBAAmB;IACnB,CAAC,KAAK;IACN,oBAAoB;IACpB,CAAC,KAAK;IACN,mBAAmB;IACnB,CAAC,KAAK;IACN,yBAAyB;IACzB,EAAE,KAAK;IACP,+BAA+B;IAC/B,GAAG,KAAK;IACR,sCAAsC;IACtC,IAAI,MAAM;CACX;AAED;;;;;;;;;;GAUG;AACH,oBAAY,QAAQ;IAClB,yBAAyB;IACzB,EAAE,KAAK;IACP,mBAAmB;IACnB,CAAC,KAAK;IACN,oBAAoB;IACpB,CAAC,KAAK;IACN,mBAAmB;IACnB,CAAC,KAAK;IACN,yBAAyB;IACzB,EAAE,KAAK;CACR;AAKD;;;;;;;;;;;;;GAaG;AACH,oBAAY,cAAc;IACxB,oDAAoD;IACpD,EAAE,qBAAoC;IACtC,8CAA8C;IAC9C,CAAC,OAAmC;IACpC,6CAA6C;IAC7C,CAAC,KAAmC;IACpC,8CAA8C;IAC9C,CAAC,qBAAmC;IACpC,oDAAoD;IACpD,EAAE,qBAAoC;CACvC;AAED;;;;;;;;GAQG;AACH,oBAAY,UAAU;IACpB,0BAA0B;IAC1B,CAAC,KAAK;IACN,2BAA2B;IAC3B,CAAC,KAAK;IACN,0BAA0B;IAC1B,CAAC,KAAK;CACP;AAED;;;;;;;;;;GAUG;AACH,oBAAY,UAAU;IACpB,sBAAsB;IACtB,IAAI,IAAI;IACR,sFAAsF;IACtF,EAA6B;IAC7B,yBAAyB;IACzB,CAAC,IAAI;IACL,0BAA0B;IAC1B,CAAC,IAAI;IACL,yBAAyB;IACzB,CAAC,IAAI;IACL,+BAA+B;IAC/B,EAAE,IAAI;CACP;AAED;;;;;;;;;;GAUG;AACH,oBAAY,YAAY;IACtB,kCAAkC;IAClC,IAAI,IAAI;IACR,0BAA0B;IAC1B,CAAC,KAAK;IACN,2BAA2B;IAC3B,CAAC,KAAK;IACN,0BAA0B;IAC1B,CAAC,KAAK;IACN,qDAAqD;IACrD,KAAK,OAAO;CACb;AAED;;;;;;;;;;GAUG;AACH,oBAAY,MAAM;IAChB,qBAAqB;IACrB,IAAI,IAAI;IACR,uBAAuB;IACvB,MAAM,IAAI;IACV,uBAAuB;IACvB,MAAM,IAAI;IACV,oBAAoB;IACpB,GAAG,IAAI;CACR;AA+BD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuErB,CAAC;AAEH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,SAAS,EAAE,OAAO,UAO9B,CAAC"}
|
|
@@ -3,6 +3,21 @@ import type { IconProps, ThemedIconProps } from '../../types/icon';
|
|
|
3
3
|
import type { ThemedLoadingProps } from '../../types/loading';
|
|
4
4
|
import type { InsetsStyleConfig } from '../../types/style';
|
|
5
5
|
import type { AnimatedThemedViewProps, ThemedScrollViewProps } from '../../types/view';
|
|
6
|
+
/**
|
|
7
|
+
* Composed Restyle functions for ThemedPressable components.
|
|
8
|
+
* Provides type-safe theme-aware styling props for pressable elements.
|
|
9
|
+
* Supports spacing, layout, background, opacity, border, and shadow properties.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const StyledPressable = createRestyleComponent(
|
|
16
|
+
* themedPressableRestyleFuncs,
|
|
17
|
+
* Pressable
|
|
18
|
+
* );
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
6
21
|
export declare const themedPressableRestyleFuncs: {
|
|
7
22
|
buildStyle: (props: Omit<ThemedPressableProps, "onPress" | "scaleRatio" | "onPressDelayConfig">, { theme, dimensions, }: {
|
|
8
23
|
theme: {
|
|
@@ -117,7 +132,7 @@ export declare const themedPressableRestyleFuncs: {
|
|
|
117
132
|
};
|
|
118
133
|
dimensions: import("@shopify/restyle").Dimensions | null;
|
|
119
134
|
}) => import("@shopify/restyle").RNStyle;
|
|
120
|
-
properties: ("m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "
|
|
135
|
+
properties: ("m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "opacity" | "pointerEvents" | "zIndex" | "shadowColor" | "style" | "children" | "id" | "ref" | "visible" | "hitSlop" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "bg" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "disabled" | "onHoverIn" | "onHoverOut" | "onPressMove" | "cancelable" | "delayHoverIn" | "delayHoverOut" | "delayLongPress" | "android_disableSound" | "android_ripple" | "testOnly_pressed" | "unstable_pressDelay")[];
|
|
121
136
|
propertiesMap: {
|
|
122
137
|
m?: true | undefined;
|
|
123
138
|
bottom?: true | undefined;
|
|
@@ -214,16 +229,16 @@ export declare const themedPressableRestyleFuncs: {
|
|
|
214
229
|
g?: true | undefined;
|
|
215
230
|
rg?: true | undefined;
|
|
216
231
|
cg?: true | undefined;
|
|
217
|
-
style?: true | undefined;
|
|
218
|
-
children?: true | undefined;
|
|
219
|
-
id?: true | undefined;
|
|
220
|
-
ref?: true | undefined;
|
|
221
|
-
visible?: true | undefined;
|
|
222
232
|
backgroundColor?: true | undefined;
|
|
223
233
|
opacity?: true | undefined;
|
|
224
234
|
pointerEvents?: true | undefined;
|
|
225
235
|
zIndex?: true | undefined;
|
|
226
236
|
shadowColor?: true | undefined;
|
|
237
|
+
style?: true | undefined;
|
|
238
|
+
children?: true | undefined;
|
|
239
|
+
id?: true | undefined;
|
|
240
|
+
ref?: true | undefined;
|
|
241
|
+
visible?: true | undefined;
|
|
227
242
|
hitSlop?: true | undefined;
|
|
228
243
|
needsOffscreenAlphaCompositing?: true | undefined;
|
|
229
244
|
onLayout?: true | undefined;
|
|
@@ -329,6 +344,21 @@ export declare const themedPressableRestyleFuncs: {
|
|
|
329
344
|
unstable_pressDelay?: true | undefined;
|
|
330
345
|
};
|
|
331
346
|
};
|
|
347
|
+
/**
|
|
348
|
+
* Composed Restyle functions for AnimatedThemedPressable components.
|
|
349
|
+
* Similar to themedPressableRestyleFuncs but for animated pressable components.
|
|
350
|
+
* Excludes animatedStyle prop to prevent conflicts with Reanimated.
|
|
351
|
+
*
|
|
352
|
+
* @internal
|
|
353
|
+
*
|
|
354
|
+
* @example
|
|
355
|
+
* ```tsx
|
|
356
|
+
* const AnimatedStyledPressable = createRestyleComponent(
|
|
357
|
+
* animatedThemedPressableRestyleFuncs,
|
|
358
|
+
* Animated.Pressable
|
|
359
|
+
* );
|
|
360
|
+
* ```
|
|
361
|
+
*/
|
|
332
362
|
export declare const animatedThemedPressableRestyleFuncs: {
|
|
333
363
|
buildStyle: (props: Omit<AnimatedThemedPressableProps, "onPress" | "scaleRatio" | "onPressDelayConfig" | "animatedStyle">, { theme, dimensions, }: {
|
|
334
364
|
theme: {
|
|
@@ -443,7 +473,7 @@ export declare const animatedThemedPressableRestyleFuncs: {
|
|
|
443
473
|
};
|
|
444
474
|
dimensions: import("@shopify/restyle").Dimensions | null;
|
|
445
475
|
}) => import("@shopify/restyle").RNStyle;
|
|
446
|
-
properties: ("m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "
|
|
476
|
+
properties: ("m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "opacity" | "pointerEvents" | "zIndex" | "shadowColor" | "style" | "children" | "id" | "ref" | "visible" | keyof {
|
|
447
477
|
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
448
478
|
entering?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
449
479
|
exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
@@ -547,16 +577,16 @@ export declare const animatedThemedPressableRestyleFuncs: {
|
|
|
547
577
|
g?: true | undefined;
|
|
548
578
|
rg?: true | undefined;
|
|
549
579
|
cg?: true | undefined;
|
|
550
|
-
style?: true | undefined;
|
|
551
|
-
children?: true | undefined;
|
|
552
|
-
id?: true | undefined;
|
|
553
|
-
ref?: true | undefined;
|
|
554
|
-
visible?: true | undefined;
|
|
555
580
|
backgroundColor?: true | undefined;
|
|
556
581
|
opacity?: true | undefined;
|
|
557
582
|
pointerEvents?: true | undefined;
|
|
558
583
|
zIndex?: true | undefined;
|
|
559
584
|
shadowColor?: true | undefined;
|
|
585
|
+
style?: true | undefined;
|
|
586
|
+
children?: true | undefined;
|
|
587
|
+
id?: true | undefined;
|
|
588
|
+
ref?: true | undefined;
|
|
589
|
+
visible?: true | undefined;
|
|
560
590
|
layout?: true | undefined;
|
|
561
591
|
entering?: true | undefined;
|
|
562
592
|
exiting?: true | undefined;
|
|
@@ -668,8 +698,23 @@ export declare const animatedThemedPressableRestyleFuncs: {
|
|
|
668
698
|
unstable_pressDelay?: true | undefined;
|
|
669
699
|
};
|
|
670
700
|
};
|
|
701
|
+
/**
|
|
702
|
+
* Composed Restyle functions for ThemedLoading components.
|
|
703
|
+
* Provides theme-aware styling props for loading indicators.
|
|
704
|
+
* Supports spacing, layout, and position properties (no background or color).
|
|
705
|
+
*
|
|
706
|
+
* @internal
|
|
707
|
+
*
|
|
708
|
+
* @example
|
|
709
|
+
* ```tsx
|
|
710
|
+
* const StyledLoading = createRestyleComponent(
|
|
711
|
+
* themedLoadingRestyleFuncs,
|
|
712
|
+
* ActivityIndicator
|
|
713
|
+
* );
|
|
714
|
+
* ```
|
|
715
|
+
*/
|
|
671
716
|
export declare const themedLoadingRestyleFuncs: {
|
|
672
|
-
buildStyle: (props: Omit<ThemedLoadingProps, "
|
|
717
|
+
buildStyle: (props: Omit<ThemedLoadingProps, "pointerEvents" | "style" | "children" | "id" | "color" | "hitSlop" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "size" | "animating" | "hidesWhenStopped">, { theme, dimensions, }: {
|
|
673
718
|
theme: {
|
|
674
719
|
colors: {
|
|
675
720
|
transparent: import("./const").Palette;
|
|
@@ -856,6 +901,18 @@ export declare const themedLoadingRestyleFuncs: {
|
|
|
856
901
|
bg?: true | undefined;
|
|
857
902
|
};
|
|
858
903
|
};
|
|
904
|
+
/**
|
|
905
|
+
* Composed Restyle functions for ThemedLoading color prop.
|
|
906
|
+
* Handles only the color property for loading indicators.
|
|
907
|
+
* Separated to allow independent color theming.
|
|
908
|
+
*
|
|
909
|
+
* @internal
|
|
910
|
+
*
|
|
911
|
+
* @example
|
|
912
|
+
* ```tsx
|
|
913
|
+
* const { color } = useRestyle(themedLoadingColorRestyleFuncs, props);
|
|
914
|
+
* ```
|
|
915
|
+
*/
|
|
859
916
|
export declare const themedLoadingColorRestyleFuncs: {
|
|
860
917
|
buildStyle: (props: Pick<ThemedLoadingProps, "color">, { theme, dimensions, }: {
|
|
861
918
|
theme: {
|
|
@@ -975,6 +1032,21 @@ export declare const themedLoadingColorRestyleFuncs: {
|
|
|
975
1032
|
color?: true | undefined;
|
|
976
1033
|
};
|
|
977
1034
|
};
|
|
1035
|
+
/**
|
|
1036
|
+
* Composed Restyle functions for ThemedIcon components.
|
|
1037
|
+
* Provides theme-aware styling props for icon elements.
|
|
1038
|
+
* Supports spacing, layout, and position properties (no color here).
|
|
1039
|
+
*
|
|
1040
|
+
* @internal
|
|
1041
|
+
*
|
|
1042
|
+
* @example
|
|
1043
|
+
* ```tsx
|
|
1044
|
+
* const StyledIcon = createRestyleComponent(
|
|
1045
|
+
* themedIconRestyleFuncs,
|
|
1046
|
+
* Icon
|
|
1047
|
+
* );
|
|
1048
|
+
* ```
|
|
1049
|
+
*/
|
|
978
1050
|
export declare const themedIconRestyleFuncs: {
|
|
979
1051
|
buildStyle: (props: Omit<ThemedIconProps, keyof IconProps>, { theme, dimensions, }: {
|
|
980
1052
|
theme: {
|
|
@@ -1163,6 +1235,18 @@ export declare const themedIconRestyleFuncs: {
|
|
|
1163
1235
|
bg?: true | undefined;
|
|
1164
1236
|
};
|
|
1165
1237
|
};
|
|
1238
|
+
/**
|
|
1239
|
+
* Composed Restyle functions for ThemedIcon color prop.
|
|
1240
|
+
* Handles only the color property for icons.
|
|
1241
|
+
* Separated to allow independent color theming.
|
|
1242
|
+
*
|
|
1243
|
+
* @internal
|
|
1244
|
+
*
|
|
1245
|
+
* @example
|
|
1246
|
+
* ```tsx
|
|
1247
|
+
* const { color } = useRestyle(themedIconColorRestyleFuncs, props);
|
|
1248
|
+
* ```
|
|
1249
|
+
*/
|
|
1166
1250
|
export declare const themedIconColorRestyleFuncs: {
|
|
1167
1251
|
buildStyle: (props: Pick<ThemedIconProps, "color">, { theme, dimensions, }: {
|
|
1168
1252
|
theme: {
|
|
@@ -1282,6 +1366,22 @@ export declare const themedIconColorRestyleFuncs: {
|
|
|
1282
1366
|
color?: true | undefined;
|
|
1283
1367
|
};
|
|
1284
1368
|
};
|
|
1369
|
+
/**
|
|
1370
|
+
* Composed Restyle functions for AnimatedThemedView components.
|
|
1371
|
+
* Provides theme-aware styling props for animated view elements.
|
|
1372
|
+
* Supports full view styling including spacing, layout, background, opacity, border, and shadow.
|
|
1373
|
+
* Excludes animatedStyle prop to prevent conflicts with Reanimated.
|
|
1374
|
+
*
|
|
1375
|
+
* @internal
|
|
1376
|
+
*
|
|
1377
|
+
* @example
|
|
1378
|
+
* ```tsx
|
|
1379
|
+
* const AnimatedStyledView = createRestyleComponent(
|
|
1380
|
+
* animatedThemedViewRestyleFuncs,
|
|
1381
|
+
* Animated.View
|
|
1382
|
+
* );
|
|
1383
|
+
* ```
|
|
1384
|
+
*/
|
|
1285
1385
|
export declare const animatedThemedViewRestyleFuncs: {
|
|
1286
1386
|
buildStyle: (props: Omit<AnimatedThemedViewProps, "animatedStyle">, { theme, dimensions, }: {
|
|
1287
1387
|
theme: {
|
|
@@ -1396,7 +1496,7 @@ export declare const animatedThemedViewRestyleFuncs: {
|
|
|
1396
1496
|
};
|
|
1397
1497
|
dimensions: import("@shopify/restyle").Dimensions | null;
|
|
1398
1498
|
}) => import("@shopify/restyle").RNStyle;
|
|
1399
|
-
properties: ("m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "
|
|
1499
|
+
properties: ("m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "opacity" | "zIndex" | "shadowColor" | "ref" | "visible" | keyof {
|
|
1400
1500
|
layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder;
|
|
1401
1501
|
entering?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
1402
1502
|
exiting?: import("react-native-reanimated").EntryOrExitLayoutType;
|
|
@@ -1500,16 +1600,16 @@ export declare const animatedThemedViewRestyleFuncs: {
|
|
|
1500
1600
|
g?: true | undefined;
|
|
1501
1601
|
rg?: true | undefined;
|
|
1502
1602
|
cg?: true | undefined;
|
|
1503
|
-
style?: true | undefined;
|
|
1504
|
-
children?: true | undefined;
|
|
1505
|
-
id?: true | undefined;
|
|
1506
|
-
ref?: true | undefined;
|
|
1507
|
-
visible?: true | undefined;
|
|
1508
1603
|
backgroundColor?: true | undefined;
|
|
1509
1604
|
opacity?: true | undefined;
|
|
1510
1605
|
pointerEvents?: true | undefined;
|
|
1511
1606
|
zIndex?: true | undefined;
|
|
1512
1607
|
shadowColor?: true | undefined;
|
|
1608
|
+
style?: true | undefined;
|
|
1609
|
+
children?: true | undefined;
|
|
1610
|
+
id?: true | undefined;
|
|
1611
|
+
ref?: true | undefined;
|
|
1612
|
+
visible?: true | undefined;
|
|
1513
1613
|
layout?: true | undefined;
|
|
1514
1614
|
entering?: true | undefined;
|
|
1515
1615
|
exiting?: true | undefined;
|
|
@@ -1605,6 +1705,22 @@ export declare const animatedThemedViewRestyleFuncs: {
|
|
|
1605
1705
|
bg?: true | undefined;
|
|
1606
1706
|
};
|
|
1607
1707
|
};
|
|
1708
|
+
/**
|
|
1709
|
+
* Composed Restyle functions for ThemedScrollView components.
|
|
1710
|
+
* Provides theme-aware styling props for scroll view containers.
|
|
1711
|
+
* Supports spacing, layout, and position properties (base functions only).
|
|
1712
|
+
* Excludes insets and ref props which are handled separately.
|
|
1713
|
+
*
|
|
1714
|
+
* @internal
|
|
1715
|
+
*
|
|
1716
|
+
* @example
|
|
1717
|
+
* ```tsx
|
|
1718
|
+
* const StyledScrollView = createRestyleComponent(
|
|
1719
|
+
* themedScrollViewRestyleFuncs,
|
|
1720
|
+
* ScrollView
|
|
1721
|
+
* );
|
|
1722
|
+
* ```
|
|
1723
|
+
*/
|
|
1608
1724
|
export declare const themedScrollViewRestyleFuncs: {
|
|
1609
1725
|
buildStyle: (props: Omit<ThemedScrollViewProps, "ref" | keyof InsetsStyleConfig>, { theme, dimensions, }: {
|
|
1610
1726
|
theme: {
|
|
@@ -1719,10 +1835,8 @@ export declare const themedScrollViewRestyleFuncs: {
|
|
|
1719
1835
|
};
|
|
1720
1836
|
dimensions: import("@shopify/restyle").Dimensions | null;
|
|
1721
1837
|
}) => import("@shopify/restyle").RNStyle;
|
|
1722
|
-
properties: ("
|
|
1838
|
+
properties: ("m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "opacity" | "pointerEvents" | "zIndex" | "shadowColor" | "keyboardShouldPersistTaps" | "horizontal" | "style" | "children" | "id" | "visible" | "hitSlop" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "bg" | "contentContainerStyle" | "innerViewRef" | "scrollViewRef" | "decelerationRate" | "invertStickyHeaders" | "keyboardDismissMode" | "onContentSizeChange" | "onScroll" | "onScrollBeginDrag" | "onScrollEndDrag" | "onMomentumScrollEnd" | "onMomentumScrollBegin" | "pagingEnabled" | "scrollEnabled" | "showsHorizontalScrollIndicator" | "showsVerticalScrollIndicator" | "stickyHeaderHiddenOnScroll" | "refreshControl" | "snapToInterval" | "snapToOffsets" | "snapToStart" | "snapToEnd" | "stickyHeaderIndices" | "disableIntervalMomentum" | "disableScrollViewPanResponder" | "StickyHeaderComponent" | "alwaysBounceHorizontal" | "alwaysBounceVertical" | "automaticallyAdjustContentInsets" | "automaticallyAdjustKeyboardInsets" | "automaticallyAdjustsScrollIndicatorInsets" | "bounces" | "bouncesZoom" | "canCancelContentTouches" | "centerContent" | "contentInset" | "contentOffset" | "contentInsetAdjustmentBehavior" | "directionalLockEnabled" | "indicatorStyle" | "maintainVisibleContentPosition" | "maximumZoomScale" | "minimumZoomScale" | "onScrollAnimationEnd" | "pinchGestureEnabled" | "scrollEventThrottle" | "scrollIndicatorInsets" | "scrollToOverflowEnabled" | "scrollsToTop" | "snapToAlignment" | "onScrollToTop" | "zoomScale" | "endFillColor" | "scrollPerfTag" | "overScrollMode" | "nestedScrollEnabled" | "fadingEdgeLength" | "persistentScrollbar" | "scrollsChildToFocus")[];
|
|
1723
1839
|
propertiesMap: {
|
|
1724
|
-
keyboardShouldPersistTaps?: true | undefined;
|
|
1725
|
-
horizontal?: true | undefined;
|
|
1726
1840
|
m?: true | undefined;
|
|
1727
1841
|
bottom?: true | undefined;
|
|
1728
1842
|
top?: true | undefined;
|
|
@@ -1818,15 +1932,17 @@ export declare const themedScrollViewRestyleFuncs: {
|
|
|
1818
1932
|
g?: true | undefined;
|
|
1819
1933
|
rg?: true | undefined;
|
|
1820
1934
|
cg?: true | undefined;
|
|
1821
|
-
style?: true | undefined;
|
|
1822
|
-
children?: true | undefined;
|
|
1823
|
-
id?: true | undefined;
|
|
1824
|
-
visible?: true | undefined;
|
|
1825
1935
|
backgroundColor?: true | undefined;
|
|
1826
1936
|
opacity?: true | undefined;
|
|
1827
1937
|
pointerEvents?: true | undefined;
|
|
1828
1938
|
zIndex?: true | undefined;
|
|
1829
1939
|
shadowColor?: true | undefined;
|
|
1940
|
+
keyboardShouldPersistTaps?: true | undefined;
|
|
1941
|
+
horizontal?: true | undefined;
|
|
1942
|
+
style?: true | undefined;
|
|
1943
|
+
children?: true | undefined;
|
|
1944
|
+
id?: true | undefined;
|
|
1945
|
+
visible?: true | undefined;
|
|
1830
1946
|
hitSlop?: true | undefined;
|
|
1831
1947
|
needsOffscreenAlphaCompositing?: true | undefined;
|
|
1832
1948
|
onLayout?: true | undefined;
|