@jamadd/react-native-template-ui 0.9.1 → 0.9.2
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 +0 -1
- 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 +0 -2
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +0 -2
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts +0 -2
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +0 -2
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts +0 -2
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts +0 -3
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts +0 -2
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +0 -2
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +0 -3
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +0 -2
- 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 +0 -3
- package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts +0 -3
- package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts +0 -3
- package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts +0 -8
- 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 +0 -2
- 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 +0 -2021
- 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 +0 -1
- package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -1
- package/lib/typescript/src/components/view/Box.d.ts +0 -2071
- 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/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/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 +84 -0
- 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 +222 -0
- 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 +67 -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/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/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 +1 -1977
- 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,5 +1,19 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { ThemedButtonProps } from '../../types/button';
|
|
3
|
+
/**
|
|
4
|
+
* A themed button component with text label and optional children.
|
|
5
|
+
* Provides a standard button layout with centered text and customizable appearance.
|
|
6
|
+
* Automatically handles text styling, background colors, and scale animations on press.
|
|
7
|
+
* @param props - Component props of type ThemedButtonProps
|
|
8
|
+
* @returns JSX element rendering a themed button with text
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedButton
|
|
11
|
+
* text="Submit"
|
|
12
|
+
* textColor="textButton"
|
|
13
|
+
* backgroundColor="themePri"
|
|
14
|
+
* onPress={() => console.log('submitted')}
|
|
15
|
+
* />
|
|
16
|
+
*/
|
|
3
17
|
declare const ThemedButton: FC<ThemedButtonProps>;
|
|
4
18
|
export default ThemedButton;
|
|
5
19
|
//# sourceMappingURL=ThemedButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAK5D,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAoCvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemedButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAK5D;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAoCvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { ThemedIconButtonProps } from '../../types/button';
|
|
3
|
+
/**
|
|
4
|
+
* A themed button component that displays only an icon.
|
|
5
|
+
* Provides a compact, icon-only button with square scaling animation and centered icon layout.
|
|
6
|
+
* Ideal for toolbar buttons, navigation icons, and action buttons where space is limited.
|
|
7
|
+
* @param props - Component props of type ThemedIconButtonProps
|
|
8
|
+
* @returns JSX element rendering a themed icon button
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedIconButton
|
|
11
|
+
* iconName="close"
|
|
12
|
+
* iconSize={IconSize.M}
|
|
13
|
+
* iconColor="themePri"
|
|
14
|
+
* onPress={() => console.log('closed')}
|
|
15
|
+
* />
|
|
16
|
+
*/
|
|
3
17
|
declare const ThemedIconButton: FC<ThemedIconButtonProps>;
|
|
4
18
|
export default ThemedIconButton;
|
|
5
19
|
//# sourceMappingURL=ThemedIconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedIconButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAKhE,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAwB/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemedIconButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAKhE;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAwB/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { ThemedIconTextButtonProps } from '../../types/button';
|
|
3
|
+
/**
|
|
4
|
+
* A themed button component that displays both an icon and text label.
|
|
5
|
+
* Combines icon and text in a flexible layout with customizable ordering via the flip prop.
|
|
6
|
+
* Perfect for primary action buttons that need both visual and textual context.
|
|
7
|
+
* @param props - Component props of type ThemedIconTextButtonProps
|
|
8
|
+
* @returns JSX element rendering a themed button with icon and text
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedIconTextButton
|
|
11
|
+
* iconName="plus"
|
|
12
|
+
* iconSize={IconSize.S}
|
|
13
|
+
* text="Add Item"
|
|
14
|
+
* textColor="themePri"
|
|
15
|
+
* onPress={() => console.log('add')}
|
|
16
|
+
* />
|
|
17
|
+
*/
|
|
3
18
|
declare const ThemedIconTextButton: FC<ThemedIconTextButtonProps>;
|
|
4
19
|
export default ThemedIconTextButton;
|
|
5
20
|
//# sourceMappingURL=ThemedIconTextButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedIconTextButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedIconTextButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAKpE,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA+CvD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemedIconTextButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedIconTextButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAKpE;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA+CvD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import type { ThemedPressableProps } from '../../types/button';
|
|
3
|
+
/**
|
|
4
|
+
* A themed pressable component that applies theme-aware styling to React Native's Pressable.
|
|
5
|
+
* Serves as the foundation for all button components, providing consistent theming and press behavior.
|
|
6
|
+
* Automatically applies theme colors, spacing, and press feedback through the theme system.
|
|
7
|
+
* @param props - Component props of type ThemedPressableProps
|
|
8
|
+
* @returns JSX element rendering a themed pressable
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedPressable
|
|
11
|
+
* onPress={() => console.log('pressed')}
|
|
12
|
+
* padding="m"
|
|
13
|
+
* backgroundColor="themePri"
|
|
14
|
+
* >
|
|
15
|
+
* <ThemedText>Custom Button</ThemedText>
|
|
16
|
+
* </ThemedPressable>
|
|
17
|
+
*/
|
|
3
18
|
declare const ThemedPressable: FC<ThemedPressableProps>;
|
|
4
19
|
export default ThemedPressable;
|
|
5
20
|
//# sourceMappingURL=ThemedPressable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAI7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/ThemedPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAI7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { ThemedIconProps } from '../../types/icon';
|
|
3
|
+
/**
|
|
4
|
+
* A themed icon component that renders icons with theme-aware colors and styling.
|
|
5
|
+
* Integrates with the @jamadd/react-native-template-icons package and applies theme colors
|
|
6
|
+
* through the restyle system. Supports all standard icon props plus themed styling properties.
|
|
7
|
+
* @param props - Component props of type ThemedIconProps
|
|
8
|
+
* @returns JSX element rendering a themed icon
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedIcon
|
|
11
|
+
* name="heart"
|
|
12
|
+
* size={IconSize.M}
|
|
13
|
+
* color="themePri"
|
|
14
|
+
* />
|
|
15
|
+
*/
|
|
3
16
|
declare const ThemedIcon: FC<ThemedIconProps>;
|
|
4
17
|
export default ThemedIcon;
|
|
5
18
|
//# sourceMappingURL=ThemedIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/icon/ThemedIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAMxD,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAmBnC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemedIcon.d.ts","sourceRoot":"","sources":["../../../../../src/components/icon/ThemedIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAMxD;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAmBnC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
import type { ListProps } from '../../types/list';
|
|
2
|
+
/**
|
|
3
|
+
* A high-performance list component built on Shopify's FlashList.
|
|
4
|
+
* Provides optimized rendering for large lists with support for safe area insets and
|
|
5
|
+
* customizable content container styling. Uses a generic type parameter for flexible item types.
|
|
6
|
+
* @param props - Component props of type ListProps<T>
|
|
7
|
+
* @returns JSX element rendering a performant FlashList
|
|
8
|
+
* @example
|
|
9
|
+
* <List
|
|
10
|
+
* data={items}
|
|
11
|
+
* Item={ListItemComponent}
|
|
12
|
+
* insetBottom={true}
|
|
13
|
+
* estimatedItemSize={50}
|
|
14
|
+
* />
|
|
15
|
+
*/
|
|
2
16
|
declare function List<T>({ Item, insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, contentContainerStyle, ...props }: ListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
17
|
export default List;
|
|
4
18
|
//# sourceMappingURL=List.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../src/components/list/List.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,iBAAS,IAAI,CAAC,CAAC,EAAE,EACf,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,WAAkB,EAClB,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,2CAgCd;AAED,eAAe,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../src/components/list/List.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;;;;;;;;;GAaG;AACH,iBAAS,IAAI,CAAC,CAAC,EAAE,EACf,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,WAAkB,EAClB,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,2CAgCd;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { ThemedLoadingProps } from '../../types/loading';
|
|
3
|
+
/**
|
|
4
|
+
* A themed loading indicator component that displays a spinning activity indicator.
|
|
5
|
+
* Applies theme-aware colors through the restyle system while wrapping React Native's
|
|
6
|
+
* ActivityIndicator. Supports both small and large sizes with customizable colors.
|
|
7
|
+
* @param props - Component props of type ThemedLoadingProps
|
|
8
|
+
* @returns JSX element rendering a themed activity indicator
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedLoading
|
|
11
|
+
* size="large"
|
|
12
|
+
* color="themePri"
|
|
13
|
+
* />
|
|
14
|
+
*/
|
|
3
15
|
declare const ThemedLoading: FC<ThemedLoadingProps>;
|
|
4
16
|
export default ThemedLoading;
|
|
5
17
|
//# sourceMappingURL=ThemedLoading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedLoading.d.ts","sourceRoot":"","sources":["../../../../../src/components/loading/ThemedLoading.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAM9D,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAiBzC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemedLoading.d.ts","sourceRoot":"","sources":["../../../../../src/components/loading/ThemedLoading.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAM9D;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAiBzC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,5 +1,22 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type FC } from 'react';
|
|
2
2
|
import type { ActionSheetProps } from '../../../types/overlay';
|
|
3
|
+
/**
|
|
4
|
+
* A flexible action sheet component that supports three display modes: options list, scroll view, or list view.
|
|
5
|
+
* Automatically renders the appropriate variant based on provided props (options, children, or listProps).
|
|
6
|
+
* Provides a native-like bottom sheet experience with dismissable backdrop and smooth animations.
|
|
7
|
+
* @param props - Component props of type ActionSheetProps
|
|
8
|
+
* @returns JSX element rendering the appropriate action sheet variant or null
|
|
9
|
+
* @example
|
|
10
|
+
* <ActionSheet
|
|
11
|
+
* visible={isVisible}
|
|
12
|
+
* title="Select an option"
|
|
13
|
+
* options={[
|
|
14
|
+
* { text: 'Option 1', onPress: () => {} },
|
|
15
|
+
* { text: 'Option 2', onPress: () => {} }
|
|
16
|
+
* ]}
|
|
17
|
+
* onDismiss={() => setVisible(false)}
|
|
18
|
+
* />
|
|
19
|
+
*/
|
|
3
20
|
declare const ActionSheet: FC<ActionSheetProps>;
|
|
4
21
|
export default ActionSheet;
|
|
5
22
|
//# sourceMappingURL=ActionSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAGV,gBAAgB,EAEjB,MAAM,wBAAwB,CAAC;AAehC;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAarC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetContentGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetContentGesture.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetContentGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetContentGesture.tsx"],"names":[],"mappings":"AAkBA,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetHeader.tsx"],"names":[],"mappings":"AAkFA,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetListView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetListView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetListView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetListView.tsx"],"names":[],"mappings":"AA0DA,eAAe,mBAAmB,CAAC"}
|
package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetListViewContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetListViewContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetListViewContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetListViewContent.tsx"],"names":[],"mappings":"AAoCA,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import type { ActionSheetOptionsProps } from '../../../types/overlay';
|
|
2
|
-
declare const ActionSheetOptionList: FC<Pick<ActionSheetOptionsProps, 'options' | 'optionListProps' | 'optionListItemProps'>>;
|
|
3
1
|
export default ActionSheetOptionList;
|
|
4
2
|
//# sourceMappingURL=ActionSheetOptionList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetOptionList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptionList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetOptionList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptionList.tsx"],"names":[],"mappings":"AAuDA,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import type { ListItemProps } from '../../../types/list';
|
|
2
|
-
import type { ActionSheetOption } from '../../../types/overlay';
|
|
3
|
-
declare const ActionSheetOptionListItem: FC<ListItemProps<ActionSheetOption>>;
|
|
4
1
|
export default ActionSheetOptionListItem;
|
|
5
2
|
//# sourceMappingURL=ActionSheetOptionListItem.d.ts.map
|
package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetOptionListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptionListItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetOptionListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptionListItem.tsx"],"names":[],"mappings":"AA+CA,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptions.tsx"],"names":[],"mappings":"AAiEA,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetScrollView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetScrollView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetScrollView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetScrollView.tsx"],"names":[],"mappings":"AA6DA,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import type { ActionSheetScrollViewProps } from '../../../types/overlay';
|
|
2
|
-
import type { PropsWithRequiredChildren } from '../../../types/view';
|
|
3
|
-
declare const ActionSheetScrollViewContent: FC<PropsWithRequiredChildren<Pick<ActionSheetScrollViewProps, 'scrollViewProps'>>>;
|
|
4
1
|
export default ActionSheetScrollViewContent;
|
|
5
2
|
//# sourceMappingURL=ActionSheetScrollViewContent.d.ts.map
|
package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetScrollViewContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetScrollViewContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetScrollViewContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetScrollViewContent.tsx"],"names":[],"mappings":"AA0CA,eAAe,4BAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetWrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetWrap.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetWrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetWrap.tsx"],"names":[],"mappings":"AA+EA,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import type { AlertProps } from '../../../types/overlay';
|
|
3
|
+
/**
|
|
4
|
+
* A modal alert component that displays a title, optional description, and customizable buttons.
|
|
5
|
+
* Supports custom show/hide animations, multiple button layouts, and dismissal callbacks.
|
|
6
|
+
* Provides a consistent, theme-aware alert experience across the application.
|
|
7
|
+
* @param props - Component props of type AlertProps
|
|
8
|
+
* @returns JSX element rendering a modal alert dialog
|
|
9
|
+
* @example
|
|
10
|
+
* <Alert
|
|
11
|
+
* visible={isVisible}
|
|
12
|
+
* title="Confirm Action"
|
|
13
|
+
* description="Are you sure you want to proceed?"
|
|
14
|
+
* buttons={[
|
|
15
|
+
* [{ text: 'Cancel', type: AlertButtonType.Secondary }],
|
|
16
|
+
* [{ text: 'Confirm', type: AlertButtonType.Primary }]
|
|
17
|
+
* ]}
|
|
18
|
+
* onDismiss={(result) => console.log(result)}
|
|
19
|
+
* />
|
|
20
|
+
*/
|
|
3
21
|
declare const Alert: FC<AlertProps>;
|
|
4
22
|
export default Alert;
|
|
5
23
|
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,KAAK,EAEV,UAAU,EAEX,MAAM,wBAAwB,CAAC;AAUhC,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAmEzB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,KAAK,EAEV,UAAU,EAEX,MAAM,wBAAwB,CAAC;AAUhC;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAmEzB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/AlertButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/AlertButton.tsx"],"names":[],"mappings":"AA6CA,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertButtons.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/AlertButtons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertButtons.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/AlertButtons.tsx"],"names":[],"mappings":"AAoCA,eAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { AlertProps } from '../../../types/overlay';
|
|
3
|
-
declare const AlertContent: FC<Pick<AlertProps, 'title' | 'titleTextProps' | 'description' | 'descriptionTextProps'>>;
|
|
4
1
|
export default AlertContent;
|
|
5
2
|
//# sourceMappingURL=AlertContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/AlertContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/AlertContent.tsx"],"names":[],"mappings":"AAgEA,eAAe,YAAY,CAAC"}
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import type { AlertProps } from '../../../types/overlay';
|
|
3
|
-
import type { AnimationSharedValue } from '../../../types/reanimated';
|
|
4
|
-
import type { PropsWithRequiredChildren } from '../../../types/view';
|
|
5
|
-
declare const AlertWrap: FC<PropsWithRequiredChildren<Pick<AlertProps, 'customShowAnimation' | 'wrapProps' | 'title' | 'description' | 'buttons' | 'dismissable'> & {
|
|
6
|
-
visible: boolean;
|
|
7
|
-
showSharedVal: AnimationSharedValue;
|
|
8
|
-
}>>;
|
|
9
1
|
export default AlertWrap;
|
|
10
2
|
//# sourceMappingURL=AlertWrap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertWrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/AlertWrap.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertWrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/alert/AlertWrap.tsx"],"names":[],"mappings":"AAiGA,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { ThemedLoadingModalProps } from '../../../types/overlay';
|
|
3
|
+
/**
|
|
4
|
+
* A modal component that displays a loading indicator with optional text.
|
|
5
|
+
* Combines ThemedLoading and ThemedText components in a centered modal layout.
|
|
6
|
+
* Ideal for blocking user interaction during asynchronous operations.
|
|
7
|
+
* @param props - Component props of type ThemedLoadingModalProps
|
|
8
|
+
* @returns JSX element rendering a loading modal
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedLoadingModal
|
|
11
|
+
* visible={isLoading}
|
|
12
|
+
* text="Loading data..."
|
|
13
|
+
* loadingSize="large"
|
|
14
|
+
* loadingColor="themePri"
|
|
15
|
+
* />
|
|
16
|
+
*/
|
|
3
17
|
declare const ThemedLoadingModal: FC<ThemedLoadingModalProps>;
|
|
4
18
|
export default ThemedLoadingModal;
|
|
5
19
|
//# sourceMappingURL=ThemedLoadingModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedLoadingModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/modal/ThemedLoadingModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAMtE,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAqCnD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemedLoadingModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/modal/ThemedLoadingModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAMtE;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAqCnD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { ThemedModalProps } from '../../../types/overlay';
|
|
3
|
+
/**
|
|
4
|
+
* A themed modal component that provides a full-screen overlay with backdrop.
|
|
5
|
+
* Wraps React Native's Modal with theme-aware styling, dismissable backdrop, and gesture support.
|
|
6
|
+
* Serves as the foundation for Alert, ActionSheet, and other overlay components.
|
|
7
|
+
* @param props - Component props of type ThemedModalProps
|
|
8
|
+
* @returns JSX element rendering a themed modal overlay
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedModal
|
|
11
|
+
* visible={isVisible}
|
|
12
|
+
* dismissable={true}
|
|
13
|
+
* onDismiss={() => setVisible(false)}
|
|
14
|
+
* >
|
|
15
|
+
* <ThemedView padding="l">
|
|
16
|
+
* <ThemedText>Modal Content</ThemedText>
|
|
17
|
+
* </ThemedView>
|
|
18
|
+
* </ThemedModal>
|
|
19
|
+
*/
|
|
3
20
|
declare const ThemedModal: FC<ThemedModalProps>;
|
|
4
21
|
export default ThemedModal;
|
|
5
22
|
//# sourceMappingURL=ThemedModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/modal/ThemedModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAK/D,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAgCrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemedModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/modal/ThemedModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAK/D;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAgCrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import type { ThemedToastProps } from '../../../types/overlay';
|
|
3
|
+
/**
|
|
4
|
+
* A themed toast notification component that displays brief messages with automatic dismissal.
|
|
5
|
+
* Supports multiple positioning options (top, bottom, corners) with slide-in/slide-out animations.
|
|
6
|
+
* Automatically dismisses after the specified duration and includes safe area inset support.
|
|
7
|
+
* @param props - Component props of type ThemedToastProps
|
|
8
|
+
* @returns JSX element rendering an animated toast notification
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedToast
|
|
11
|
+
* text="Operation completed successfully"
|
|
12
|
+
* type={ToastType.Bottom}
|
|
13
|
+
* duration={ToastDuration.Short}
|
|
14
|
+
* onDismiss={(result) => console.log('dismissed', result)}
|
|
15
|
+
* />
|
|
16
|
+
*/
|
|
3
17
|
declare const ThemedToast: FC<ThemedToastProps>;
|
|
4
18
|
export default ThemedToast;
|
|
5
19
|
//# sourceMappingURL=ThemedToast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedToast.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/toast/ThemedToast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAS3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAW/D,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAyIrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemedToast.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/toast/ThemedToast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAS3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAW/D;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAyIrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { GestureHandlerRootViewProps } from 'react-native-gesture-handler/lib/typescript/components/GestureHandlerRootView';
|
|
3
|
+
/**
|
|
4
|
+
* A provider component that enables gesture handling throughout the component tree.
|
|
5
|
+
* Wraps children with GestureHandlerRootView from react-native-gesture-handler.
|
|
6
|
+
* Required for gesture-based interactions in ActionSheet, Slider, and other gesture-enabled components.
|
|
7
|
+
* @param props - Component props of type GestureHandlerRootViewProps
|
|
8
|
+
* @returns JSX element providing gesture handling context
|
|
9
|
+
* @example
|
|
10
|
+
* <GestureProvider>
|
|
11
|
+
* <App />
|
|
12
|
+
* </GestureProvider>
|
|
13
|
+
*/
|
|
3
14
|
declare const GestureProvider: FC<GestureHandlerRootViewProps>;
|
|
4
15
|
export default GestureProvider;
|
|
5
16
|
//# sourceMappingURL=GestureProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestureProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/provider/GestureProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+EAA+E,CAAC;AAEjI,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,2BAA2B,CAEpD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"GestureProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/provider/GestureProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+EAA+E,CAAC;AAEjI;;;;;;;;;;GAUG;AACH,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,2BAA2B,CAEpD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import { type SafeAreaProviderProps } from 'react-native-safe-area-context';
|
|
3
|
+
/**
|
|
4
|
+
* A provider component that provides safe area insets throughout the component tree.
|
|
5
|
+
* Wraps children with SafeAreaProvider from react-native-safe-area-context.
|
|
6
|
+
* Enables components to respect device notches, status bars, and navigation bars.
|
|
7
|
+
* @param props - Component props of type SafeAreaProviderProps
|
|
8
|
+
* @returns JSX element providing safe area insets context
|
|
9
|
+
* @example
|
|
10
|
+
* <InsetsProvider>
|
|
11
|
+
* <App />
|
|
12
|
+
* </InsetsProvider>
|
|
13
|
+
*/
|
|
3
14
|
declare const InsetsProvider: FC<SafeAreaProviderProps>;
|
|
4
15
|
export default InsetsProvider;
|
|
5
16
|
//# sourceMappingURL=InsetsProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsetsProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/provider/InsetsProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,qBAAqB,CAE7C,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"InsetsProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/provider/InsetsProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AAExC;;;;;;;;;;GAUG;AACH,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,qBAAqB,CAE7C,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { ReactNativeTemplateProvidersProps } from '../../types/provider';
|
|
3
|
+
/**
|
|
4
|
+
* A composite provider component that combines all required providers for the template UI library.
|
|
5
|
+
* Wraps children with GestureProvider, InsetsProvider, and ThemeProvider in the correct order.
|
|
6
|
+
* Simplifies app setup by providing a single provider that includes all necessary context.
|
|
7
|
+
* @param props - Component props of type ReactNativeTemplateProvidersProps
|
|
8
|
+
* @returns JSX element with all providers configured
|
|
9
|
+
* @example
|
|
10
|
+
* <ReactNativeTemplateProviders theme={myTheme}>
|
|
11
|
+
* <App />
|
|
12
|
+
* </ReactNativeTemplateProviders>
|
|
13
|
+
*/
|
|
3
14
|
declare const ReactNativeTemplateProviders: FC<ReactNativeTemplateProvidersProps>;
|
|
4
15
|
export default ReactNativeTemplateProviders;
|
|
5
16
|
//# sourceMappingURL=ReactNativeTemplateProviders.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactNativeTemplateProviders.d.ts","sourceRoot":"","sources":["../../../../../src/components/provider/ReactNativeTemplateProviders.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAK9E,QAAA,MAAM,4BAA4B,EAAE,EAAE,CAAC,iCAAiC,CAWvE,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"ReactNativeTemplateProviders.d.ts","sourceRoot":"","sources":["../../../../../src/components/provider/ReactNativeTemplateProviders.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAK9E;;;;;;;;;;GAUG;AACH,QAAA,MAAM,4BAA4B,EAAE,EAAE,CAAC,iCAAiC,CAWvE,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { ThemeProvider as RestyleThemeProvider } from '@shopify/restyle';
|
|
2
2
|
import type { ComponentProps, FC } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* A provider component that supplies theme configuration to all themed components.
|
|
5
|
+
* Wraps children with ThemeProvider from @shopify/restyle for theme context.
|
|
6
|
+
* Enables dynamic theming and provides typed access to theme tokens throughout the app.
|
|
7
|
+
* @param props - Component props of type ComponentProps<typeof RestyleThemeProvider>
|
|
8
|
+
* @returns JSX element providing theme context
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemeProvider theme={lightTheme}>
|
|
11
|
+
* <App />
|
|
12
|
+
* </ThemeProvider>
|
|
13
|
+
*/
|
|
3
14
|
declare const ThemeProvider: FC<ComponentProps<typeof RestyleThemeProvider>>;
|
|
4
15
|
export default ThemeProvider;
|
|
5
16
|
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/provider/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhD,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,CAE3B,CAAC;AAEzC,eAAe,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/provider/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,CAE3B,CAAC;AAEzC,eAAe,aAAa,CAAC"}
|