@jamadd/react-native-template-ui 0.8.7 → 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/README.md +8 -0
- package/lib/module/components/accordion/ThemedAccordion.js +270 -0
- package/lib/module/components/accordion/ThemedAccordion.js.map +1 -0
- 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 +162 -213
- package/lib/module/components/slider/Slider.js.map +1 -1
- package/lib/module/components/slider/ThemedSlider.js +24 -2
- 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 +4 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/types/accordion.js +4 -0
- package/lib/module/types/accordion.js.map +1 -0
- 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 +20 -0
- package/lib/typescript/src/components/accordion/ThemedAccordion.d.ts.map +1 -0
- 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/index.d.ts +2 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types/accordion.d.ts +42 -0
- package/lib/typescript/src/types/accordion.d.ts.map +1 -0
- 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/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/ThemedSlider.web.js +0 -206
- package/lib/module/components/slider/ThemedSlider.web.js.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/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":"restyle.d.ts","sourceRoot":"","sources":["../../../../../src/utils/theme/restyle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../../../src/utils/theme/restyle.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamadd/react-native-template-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "React Native Template UI is a collection of UI components designed by JaMa D&D.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"clean": "del-cli lib && rm -rf node_modules && yarn",
|
|
42
42
|
"prepare": "bob build",
|
|
43
43
|
"release": "release-it --only-version",
|
|
44
|
-
"release-major": "yarn prepare && node scripts/bumpVersion.js major && yarn release-commit",
|
|
45
|
-
"release-minor": "yarn prepare && node scripts/bumpVersion.js minor && yarn release-commit",
|
|
46
|
-
"release-patch": "yarn prepare && node scripts/bumpVersion.js patch && yarn release-commit",
|
|
44
|
+
"release-major": "yarn lint && yarn prepare && node scripts/bumpVersion.js major && yarn release-commit",
|
|
45
|
+
"release-minor": "yarn lint && yarn prepare && node scripts/bumpVersion.js minor && yarn release-commit",
|
|
46
|
+
"release-patch": "yarn lint && yarn prepare && node scripts/bumpVersion.js patch && yarn release-commit",
|
|
47
47
|
"release-commit": "git add . && git commit -m \"v${npm_package_version}\" && git tag v${npm_package_version} && git push origin main --tags"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
|
-
import ActionSheetListView from "./ActionSheetListView.js";
|
|
5
|
-
import ActionSheetOptions from "./ActionSheetOptions.js";
|
|
6
|
-
import ActionSheetScrollView from "./ActionSheetScrollView.js";
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
const ActionSheet = t0 => {
|
|
9
|
-
const $ = _c(12);
|
|
10
|
-
let props;
|
|
11
|
-
let t1;
|
|
12
|
-
if ($[0] !== t0) {
|
|
13
|
-
({
|
|
14
|
-
dismissable: t1,
|
|
15
|
-
...props
|
|
16
|
-
} = t0);
|
|
17
|
-
$[0] = t0;
|
|
18
|
-
$[1] = props;
|
|
19
|
-
$[2] = t1;
|
|
20
|
-
} else {
|
|
21
|
-
props = $[1];
|
|
22
|
-
t1 = $[2];
|
|
23
|
-
}
|
|
24
|
-
const dismissable = t1 === undefined ? true : t1;
|
|
25
|
-
if (props.options?.length) {
|
|
26
|
-
let t2;
|
|
27
|
-
if ($[3] !== dismissable || $[4] !== props) {
|
|
28
|
-
t2 = /*#__PURE__*/_jsx(ActionSheetOptions, {
|
|
29
|
-
dismissable: dismissable,
|
|
30
|
-
...props
|
|
31
|
-
});
|
|
32
|
-
$[3] = dismissable;
|
|
33
|
-
$[4] = props;
|
|
34
|
-
$[5] = t2;
|
|
35
|
-
} else {
|
|
36
|
-
t2 = $[5];
|
|
37
|
-
}
|
|
38
|
-
return t2;
|
|
39
|
-
} else {
|
|
40
|
-
if (props.children) {
|
|
41
|
-
let t2;
|
|
42
|
-
if ($[6] !== dismissable || $[7] !== props) {
|
|
43
|
-
t2 = /*#__PURE__*/_jsx(ActionSheetScrollView, {
|
|
44
|
-
dismissable: dismissable,
|
|
45
|
-
...props
|
|
46
|
-
});
|
|
47
|
-
$[6] = dismissable;
|
|
48
|
-
$[7] = props;
|
|
49
|
-
$[8] = t2;
|
|
50
|
-
} else {
|
|
51
|
-
t2 = $[8];
|
|
52
|
-
}
|
|
53
|
-
return t2;
|
|
54
|
-
} else {
|
|
55
|
-
if (props.listProps) {
|
|
56
|
-
let t2;
|
|
57
|
-
if ($[9] !== dismissable || $[10] !== props) {
|
|
58
|
-
t2 = /*#__PURE__*/_jsx(ActionSheetListView, {
|
|
59
|
-
dismissable: dismissable,
|
|
60
|
-
...props
|
|
61
|
-
});
|
|
62
|
-
$[9] = dismissable;
|
|
63
|
-
$[10] = props;
|
|
64
|
-
$[11] = t2;
|
|
65
|
-
} else {
|
|
66
|
-
t2 = $[11];
|
|
67
|
-
}
|
|
68
|
-
return t2;
|
|
69
|
-
} else {
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
export default ActionSheet;
|
|
76
|
-
//# sourceMappingURL=ActionSheet.web.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ActionSheetListView","ActionSheetOptions","ActionSheetScrollView","jsx","_jsx","ActionSheet","t0","$","_c","props","t1","dismissable","undefined","options","length","t2","children","listProps"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheet.web.tsx"],"mappings":";;;AAEA,OAAOA,mBAAmB,MAAM,0BAAuB;AACvD,OAAOC,kBAAkB,MAAM,yBAAsB;AACrD,OAAOC,qBAAqB,MAAM,4BAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE5D,MAAMC,WAAiC,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAA,IAAAC,KAAA;EAAA,IAAAC,EAAA;EAAA,IAAAH,CAAA,QAAAD,EAAA;IAAC;MAAAK,WAAA,EAAAD,EAAA;MAAA,GAAAD;IAAA,IAAAH,EAG1C;IAAAC,CAAA,MAAAD,EAAA;IAAAC,CAAA,MAAAE,KAAA;IAAAF,CAAA,MAAAG,EAAA;EAAA;IAAAD,KAAA,GAAAF,CAAA;IAAAG,EAAA,GAAAH,CAAA;EAAA;EAFC,MAAAI,WAAA,GAAAD,EAAkB,KAAlBE,SAAkB,GAAlB,IAAkB,GAAlBF,EAAkB;EAGlB,IAAID,KAAK,CAAAI,OAAgB,EAAAC,MAAA;IAAA,IAAAC,EAAA;IAAA,IAAAR,CAAA,QAAAI,WAAA,IAAAJ,CAAA,QAAAE,KAAA;MAChBM,EAAA,gBAAAX,IAAA,CAACH,kBAAkB;QAAcU,WAAW,EAAXA,WAAW;QAAA,GAAMF;MAAK,CAAG,CAAC;MAAAF,CAAA,MAAAI,WAAA;MAAAJ,CAAA,MAAAE,KAAA;MAAAF,CAAA,MAAAQ,EAAA;IAAA;MAAAA,EAAA,GAAAR,CAAA;IAAA;IAAA,OAA3DQ,EAA2D;EAAA;IAC7D,IAAIN,KAAK,CAAAO,QAAS;MAAA,IAAAD,EAAA;MAAA,IAAAR,CAAA,QAAAI,WAAA,IAAAJ,CAAA,QAAAE,KAAA;QAChBM,EAAA,gBAAAX,IAAA,CAACF,qBAAqB;UAAcS,WAAW,EAAXA,WAAW;UAAA,GAAMF;QAAK,CAAG,CAAC;QAAAF,CAAA,MAAAI,WAAA;QAAAJ,CAAA,MAAAE,KAAA;QAAAF,CAAA,MAAAQ,EAAA;MAAA;QAAAA,EAAA,GAAAR,CAAA;MAAA;MAAA,OAA9DQ,EAA8D;IAAA;MAChE,IAAIN,KAAK,CAAAQ,SAAU;QAAA,IAAAF,EAAA;QAAA,IAAAR,CAAA,QAAAI,WAAA,IAAAJ,CAAA,SAAAE,KAAA;UACjBM,EAAA,gBAAAX,IAAA,CAACJ,mBAAmB;YAAcW,WAAW,EAAXA,WAAW;YAAA,GAAMF;UAAK,CAAG,CAAC;UAAAF,CAAA,MAAAI,WAAA;UAAAJ,CAAA,OAAAE,KAAA;UAAAF,CAAA,OAAAQ,EAAA;QAAA;UAAAA,EAAA,GAAAR,CAAA;QAAA;QAAA,OAA5DQ,EAA4D;MAAA;QAAA,OAE5D,IAAI;MAAA;IACZ;EAAA;AAAA,CACF;AAED,eAAeV,WAAW","ignoreList":[]}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
|
-
/** @internal */
|
|
5
|
-
import { GestureDetector } from 'react-native-gesture-handler';
|
|
6
|
-
import { useActionSheetGesture, useActionSheetHeaderMinHeight, useActionSheetOnDismiss } from "../../../hooks/overlay.js";
|
|
7
|
-
import { actionSheetHeaderIconSize, actionSheetHeaderPadding } from "../../../utils/overlay/const.js";
|
|
8
|
-
import { getActionSheetContext } from "../../../utils/overlay/func.js";
|
|
9
|
-
import { BorderSize } from "../../../utils/theme/const.js";
|
|
10
|
-
import ThemedIconButton from "../../button/ThemedIconButton.js";
|
|
11
|
-
import ThemedText from "../../text/ThemedText.js";
|
|
12
|
-
import ThemedView from "../../view/ThemedView.js";
|
|
13
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
const ActionSheetHeader = t0 => {
|
|
15
|
-
const $ = _c(17);
|
|
16
|
-
const {
|
|
17
|
-
headerShowIcon: t1,
|
|
18
|
-
headerWrapProps,
|
|
19
|
-
headerTextProps,
|
|
20
|
-
headerIconButtonProps
|
|
21
|
-
} = t0;
|
|
22
|
-
const headerShowIcon = t1 === undefined ? true : t1;
|
|
23
|
-
const gesture = useActionSheetGesture();
|
|
24
|
-
const minHeight = useActionSheetHeaderMinHeight();
|
|
25
|
-
const onDismiss = useActionSheetOnDismiss();
|
|
26
|
-
let t2;
|
|
27
|
-
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
28
|
-
t2 = getActionSheetContext();
|
|
29
|
-
$[0] = t2;
|
|
30
|
-
} else {
|
|
31
|
-
t2 = $[0];
|
|
32
|
-
}
|
|
33
|
-
const {
|
|
34
|
-
title,
|
|
35
|
-
headerViewRef
|
|
36
|
-
} = t2;
|
|
37
|
-
let t3;
|
|
38
|
-
if ($[1] !== onDismiss) {
|
|
39
|
-
t3 = () => {
|
|
40
|
-
onDismiss();
|
|
41
|
-
};
|
|
42
|
-
$[1] = onDismiss;
|
|
43
|
-
$[2] = t3;
|
|
44
|
-
} else {
|
|
45
|
-
t3 = $[2];
|
|
46
|
-
}
|
|
47
|
-
const onIconPress = t3;
|
|
48
|
-
let t4;
|
|
49
|
-
if ($[3] !== headerTextProps) {
|
|
50
|
-
t4 = !!title && /*#__PURE__*/_jsx(ThemedText, {
|
|
51
|
-
variant: "textMBold",
|
|
52
|
-
...headerTextProps,
|
|
53
|
-
children: title
|
|
54
|
-
});
|
|
55
|
-
$[3] = headerTextProps;
|
|
56
|
-
$[4] = t4;
|
|
57
|
-
} else {
|
|
58
|
-
t4 = $[4];
|
|
59
|
-
}
|
|
60
|
-
let t5;
|
|
61
|
-
if ($[5] !== headerIconButtonProps || $[6] !== headerShowIcon || $[7] !== onIconPress) {
|
|
62
|
-
t5 = headerShowIcon && /*#__PURE__*/_jsx(ThemedIconButton, {
|
|
63
|
-
onPress: onIconPress,
|
|
64
|
-
iconName: "cross",
|
|
65
|
-
iconSize: actionSheetHeaderIconSize,
|
|
66
|
-
position: "absolute",
|
|
67
|
-
left: 0,
|
|
68
|
-
...headerIconButtonProps
|
|
69
|
-
});
|
|
70
|
-
$[5] = headerIconButtonProps;
|
|
71
|
-
$[6] = headerShowIcon;
|
|
72
|
-
$[7] = onIconPress;
|
|
73
|
-
$[8] = t5;
|
|
74
|
-
} else {
|
|
75
|
-
t5 = $[8];
|
|
76
|
-
}
|
|
77
|
-
let t6;
|
|
78
|
-
if ($[9] !== headerWrapProps || $[10] !== minHeight || $[11] !== t4 || $[12] !== t5) {
|
|
79
|
-
t6 = /*#__PURE__*/_jsxs(ThemedView, {
|
|
80
|
-
ref: headerViewRef,
|
|
81
|
-
justifyContent: "center",
|
|
82
|
-
alignItems: "center",
|
|
83
|
-
minHeight: minHeight,
|
|
84
|
-
padding: actionSheetHeaderPadding,
|
|
85
|
-
borderBottomWidth: BorderSize.S,
|
|
86
|
-
borderColor: "border",
|
|
87
|
-
...headerWrapProps,
|
|
88
|
-
children: [t4, t5]
|
|
89
|
-
});
|
|
90
|
-
$[9] = headerWrapProps;
|
|
91
|
-
$[10] = minHeight;
|
|
92
|
-
$[11] = t4;
|
|
93
|
-
$[12] = t5;
|
|
94
|
-
$[13] = t6;
|
|
95
|
-
} else {
|
|
96
|
-
t6 = $[13];
|
|
97
|
-
}
|
|
98
|
-
let t7;
|
|
99
|
-
if ($[14] !== gesture || $[15] !== t6) {
|
|
100
|
-
t7 = /*#__PURE__*/_jsx(GestureDetector, {
|
|
101
|
-
gesture: gesture,
|
|
102
|
-
children: t6
|
|
103
|
-
});
|
|
104
|
-
$[14] = gesture;
|
|
105
|
-
$[15] = t6;
|
|
106
|
-
$[16] = t7;
|
|
107
|
-
} else {
|
|
108
|
-
t7 = $[16];
|
|
109
|
-
}
|
|
110
|
-
return t7;
|
|
111
|
-
};
|
|
112
|
-
export default ActionSheetHeader;
|
|
113
|
-
//# sourceMappingURL=ActionSheetHeader.web.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["GestureDetector","useActionSheetGesture","useActionSheetHeaderMinHeight","useActionSheetOnDismiss","actionSheetHeaderIconSize","actionSheetHeaderPadding","getActionSheetContext","BorderSize","ThemedIconButton","ThemedText","ThemedView","jsx","_jsx","jsxs","_jsxs","ActionSheetHeader","t0","$","_c","headerShowIcon","t1","headerWrapProps","headerTextProps","headerIconButtonProps","undefined","gesture","minHeight","onDismiss","t2","Symbol","for","title","headerViewRef","t3","onIconPress","t4","variant","children","t5","iconName","position","left","t6","justifyContent","alignItems","borderBottomWidth","S","borderColor","t7"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetHeader.web.tsx"],"mappings":";;;AAAA;AAEA,SAASA,eAAe,QAAQ,8BAA8B;AAC9D,SACEC,qBAAqB,EACrBC,6BAA6B,EAC7BC,uBAAuB,QAClB,2BAAwB;AAG/B,SACEC,yBAAyB,EACzBC,wBAAwB,QACnB,iCAA8B;AACrC,SAASC,qBAAqB,QAAQ,gCAA6B;AACnE,SAASC,UAAU,QAAQ,+BAA4B;AACvD,OAAOC,gBAAgB,MAAM,kCAA+B;AAC5D,OAAOC,UAAU,MAAM,0BAAuB;AAC9C,OAAOC,UAAU,MAAM,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE/C,MAAMC,iBAA6C,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA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+B,EAAA;EAAA;IAAAA,EAAA,GAAA/B,CAAA;EAAA;EAAA,OA3BlB+B,EA2BkB;AAAA,CAErB;AAED,eAAejC,iBAAiB","ignoreList":[]}
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
|
-
import { useLayoutEffect } from 'react';
|
|
5
|
-
import { useSharedValue } from 'react-native-reanimated';
|
|
6
|
-
import { useDeferredState } from "../../hooks/react.js";
|
|
7
|
-
import { useThemeSpacing } from "../../hooks/theme.js";
|
|
8
|
-
import { sliderThumbDefaultSize, SliderValueDisplayMode } from "../../utils/slider/const.js";
|
|
9
|
-
import ThemedText from "../text/ThemedText.js";
|
|
10
|
-
import ThemedView from "../view/ThemedView.js";
|
|
11
|
-
import Slider from "./Slider.js";
|
|
12
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
const ThemedSlider = t0 => {
|
|
14
|
-
const $ = _c(41);
|
|
15
|
-
let defaultValue;
|
|
16
|
-
let props;
|
|
17
|
-
let t1;
|
|
18
|
-
let t2;
|
|
19
|
-
let valueDescription;
|
|
20
|
-
let valueDescriptionTextProps;
|
|
21
|
-
let valueDisplayWrapProps;
|
|
22
|
-
let valueTextProps;
|
|
23
|
-
if ($[0] !== t0) {
|
|
24
|
-
({
|
|
25
|
-
defaultValue,
|
|
26
|
-
wrapProps: t1,
|
|
27
|
-
valueDisplayMode: t2,
|
|
28
|
-
valueDisplayWrapProps,
|
|
29
|
-
valueTextProps,
|
|
30
|
-
valueDescription,
|
|
31
|
-
valueDescriptionTextProps,
|
|
32
|
-
...props
|
|
33
|
-
} = t0);
|
|
34
|
-
$[0] = t0;
|
|
35
|
-
$[1] = defaultValue;
|
|
36
|
-
$[2] = props;
|
|
37
|
-
$[3] = t1;
|
|
38
|
-
$[4] = t2;
|
|
39
|
-
$[5] = valueDescription;
|
|
40
|
-
$[6] = valueDescriptionTextProps;
|
|
41
|
-
$[7] = valueDisplayWrapProps;
|
|
42
|
-
$[8] = valueTextProps;
|
|
43
|
-
} else {
|
|
44
|
-
defaultValue = $[1];
|
|
45
|
-
props = $[2];
|
|
46
|
-
t1 = $[3];
|
|
47
|
-
t2 = $[4];
|
|
48
|
-
valueDescription = $[5];
|
|
49
|
-
valueDescriptionTextProps = $[6];
|
|
50
|
-
valueDisplayWrapProps = $[7];
|
|
51
|
-
valueTextProps = $[8];
|
|
52
|
-
}
|
|
53
|
-
let t3;
|
|
54
|
-
if ($[9] !== t1) {
|
|
55
|
-
t3 = t1 === undefined ? {} : t1;
|
|
56
|
-
$[9] = t1;
|
|
57
|
-
$[10] = t3;
|
|
58
|
-
} else {
|
|
59
|
-
t3 = $[10];
|
|
60
|
-
}
|
|
61
|
-
let paddingHorizontal;
|
|
62
|
-
let px;
|
|
63
|
-
let wrapProps;
|
|
64
|
-
if ($[11] !== t3) {
|
|
65
|
-
({
|
|
66
|
-
paddingHorizontal,
|
|
67
|
-
px,
|
|
68
|
-
...wrapProps
|
|
69
|
-
} = t3);
|
|
70
|
-
$[11] = t3;
|
|
71
|
-
$[12] = paddingHorizontal;
|
|
72
|
-
$[13] = px;
|
|
73
|
-
$[14] = wrapProps;
|
|
74
|
-
} else {
|
|
75
|
-
paddingHorizontal = $[12];
|
|
76
|
-
px = $[13];
|
|
77
|
-
wrapProps = $[14];
|
|
78
|
-
}
|
|
79
|
-
const valueDisplayMode = t2 === undefined ? SliderValueDisplayMode.None : t2;
|
|
80
|
-
const {
|
|
81
|
-
thumbSize
|
|
82
|
-
} = props;
|
|
83
|
-
const themeSpacing = useThemeSpacing();
|
|
84
|
-
const {
|
|
85
|
-
state: selectedVal,
|
|
86
|
-
setState: setSelectedVal,
|
|
87
|
-
deferredState: deferredSelectedValue
|
|
88
|
-
} = useDeferredState(defaultValue);
|
|
89
|
-
const selectedValSharedVal = useSharedValue(selectedVal);
|
|
90
|
-
let t4;
|
|
91
|
-
if ($[15] !== selectedVal || $[16] !== selectedValSharedVal) {
|
|
92
|
-
t4 = () => {
|
|
93
|
-
selectedValSharedVal.set(selectedVal);
|
|
94
|
-
};
|
|
95
|
-
$[15] = selectedVal;
|
|
96
|
-
$[16] = selectedValSharedVal;
|
|
97
|
-
$[17] = t4;
|
|
98
|
-
} else {
|
|
99
|
-
t4 = $[17];
|
|
100
|
-
}
|
|
101
|
-
let t5;
|
|
102
|
-
if ($[18] !== selectedVal) {
|
|
103
|
-
t5 = [selectedVal];
|
|
104
|
-
$[18] = selectedVal;
|
|
105
|
-
$[19] = t5;
|
|
106
|
-
} else {
|
|
107
|
-
t5 = $[19];
|
|
108
|
-
}
|
|
109
|
-
useLayoutEffect(t4, t5);
|
|
110
|
-
const thumbSizeHalf = (thumbSize ?? sliderThumbDefaultSize) / 2;
|
|
111
|
-
const t6 = typeof paddingHorizontal === "string" ? themeSpacing[paddingHorizontal] : typeof px === "string" ? themeSpacing[px] : thumbSizeHalf;
|
|
112
|
-
let t7;
|
|
113
|
-
if ($[20] !== t6) {
|
|
114
|
-
t7 = {
|
|
115
|
-
marginHorizontal: t6
|
|
116
|
-
};
|
|
117
|
-
$[20] = t6;
|
|
118
|
-
$[21] = t7;
|
|
119
|
-
} else {
|
|
120
|
-
t7 = $[21];
|
|
121
|
-
}
|
|
122
|
-
const wrapStyle = t7;
|
|
123
|
-
const isValueDisplayModeNone = valueDisplayMode === SliderValueDisplayMode.None;
|
|
124
|
-
const isValueDisplayModeTop = valueDisplayMode === SliderValueDisplayMode.Top;
|
|
125
|
-
const isValueDisplayModeBottom = valueDisplayMode === SliderValueDisplayMode.Bottom;
|
|
126
|
-
let t8;
|
|
127
|
-
if ($[22] !== deferredSelectedValue || $[23] !== isValueDisplayModeNone || $[24] !== valueDescription || $[25] !== valueDescriptionTextProps || $[26] !== valueDisplayWrapProps || $[27] !== valueTextProps) {
|
|
128
|
-
t8 = !isValueDisplayModeNone && /*#__PURE__*/_jsxs(ThemedView, {
|
|
129
|
-
flexDirection: "row",
|
|
130
|
-
alignItems: "center",
|
|
131
|
-
alignSelf: "stretch",
|
|
132
|
-
...valueDisplayWrapProps,
|
|
133
|
-
children: [!!valueDescription && /*#__PURE__*/_jsx(ThemedText, {
|
|
134
|
-
variant: "textS",
|
|
135
|
-
flex: 1,
|
|
136
|
-
textAlign: "center",
|
|
137
|
-
...valueDescriptionTextProps,
|
|
138
|
-
children: valueDescription
|
|
139
|
-
}), /*#__PURE__*/_jsx(ThemedText, {
|
|
140
|
-
variant: "textSBold",
|
|
141
|
-
flex: 1,
|
|
142
|
-
textAlign: "center",
|
|
143
|
-
...valueTextProps,
|
|
144
|
-
children: deferredSelectedValue
|
|
145
|
-
})]
|
|
146
|
-
});
|
|
147
|
-
$[22] = deferredSelectedValue;
|
|
148
|
-
$[23] = isValueDisplayModeNone;
|
|
149
|
-
$[24] = valueDescription;
|
|
150
|
-
$[25] = valueDescriptionTextProps;
|
|
151
|
-
$[26] = valueDisplayWrapProps;
|
|
152
|
-
$[27] = valueTextProps;
|
|
153
|
-
$[28] = t8;
|
|
154
|
-
} else {
|
|
155
|
-
t8 = $[28];
|
|
156
|
-
}
|
|
157
|
-
const valueDisplayComponent = t8;
|
|
158
|
-
let t9;
|
|
159
|
-
if ($[29] !== props || $[30] !== selectedValSharedVal || $[31] !== setSelectedVal) {
|
|
160
|
-
t9 = {
|
|
161
|
-
...props,
|
|
162
|
-
setSelectedVal,
|
|
163
|
-
selectedValSharedVal
|
|
164
|
-
};
|
|
165
|
-
$[29] = props;
|
|
166
|
-
$[30] = selectedValSharedVal;
|
|
167
|
-
$[31] = setSelectedVal;
|
|
168
|
-
$[32] = t9;
|
|
169
|
-
} else {
|
|
170
|
-
t9 = $[32];
|
|
171
|
-
}
|
|
172
|
-
const sliderProps = t9;
|
|
173
|
-
const t10 = isValueDisplayModeTop && valueDisplayComponent;
|
|
174
|
-
let t11;
|
|
175
|
-
if ($[33] !== sliderProps) {
|
|
176
|
-
t11 = /*#__PURE__*/_jsx(Slider, {
|
|
177
|
-
...sliderProps
|
|
178
|
-
});
|
|
179
|
-
$[33] = sliderProps;
|
|
180
|
-
$[34] = t11;
|
|
181
|
-
} else {
|
|
182
|
-
t11 = $[34];
|
|
183
|
-
}
|
|
184
|
-
const t12 = isValueDisplayModeBottom && valueDisplayComponent;
|
|
185
|
-
let t13;
|
|
186
|
-
if ($[35] !== t10 || $[36] !== t11 || $[37] !== t12 || $[38] !== wrapProps || $[39] !== wrapStyle) {
|
|
187
|
-
t13 = /*#__PURE__*/_jsxs(ThemedView, {
|
|
188
|
-
paddingVertical: "s",
|
|
189
|
-
gap: "xs",
|
|
190
|
-
style: wrapStyle,
|
|
191
|
-
...wrapProps,
|
|
192
|
-
children: [t10, t11, t12]
|
|
193
|
-
});
|
|
194
|
-
$[35] = t10;
|
|
195
|
-
$[36] = t11;
|
|
196
|
-
$[37] = t12;
|
|
197
|
-
$[38] = wrapProps;
|
|
198
|
-
$[39] = wrapStyle;
|
|
199
|
-
$[40] = t13;
|
|
200
|
-
} else {
|
|
201
|
-
t13 = $[40];
|
|
202
|
-
}
|
|
203
|
-
return t13;
|
|
204
|
-
};
|
|
205
|
-
export default ThemedSlider;
|
|
206
|
-
//# sourceMappingURL=ThemedSlider.web.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useLayoutEffect","useSharedValue","useDeferredState","useThemeSpacing","sliderThumbDefaultSize","SliderValueDisplayMode","ThemedText","ThemedView","Slider","jsx","_jsx","jsxs","_jsxs","ThemedSlider","t0","$","_c","defaultValue","props","t1","t2","valueDescription","valueDescriptionTextProps","valueDisplayWrapProps","valueTextProps","wrapProps","valueDisplayMode","t3","undefined","paddingHorizontal","px","None","thumbSize","themeSpacing","state","selectedVal","setState","setSelectedVal","deferredState","deferredSelectedValue","selectedValSharedVal","t4","set","t5","thumbSizeHalf","t6","t7","marginHorizontal","wrapStyle","isValueDisplayModeNone","isValueDisplayModeTop","Top","isValueDisplayModeBottom","Bottom","t8","flexDirection","alignItems","alignSelf","children","variant","flex","textAlign","valueDisplayComponent","t9","sliderProps","t10","t11","t12","t13","paddingVertical","gap"],"sourceRoot":"../../../../src","sources":["components/slider/ThemedSlider.web.tsx"],"mappings":";;;AAAA,SAASA,eAAe,QAAiB,OAAO;AAChD,SAASC,cAAc,QAAQ,yBAAyB;AACxD,SAASC,gBAAgB,QAAQ,sBAAmB;AACpD,SAASC,eAAe,QAAQ,sBAAmB;AAGnD,SACEC,sBAAsB,EACtBC,sBAAsB,QACjB,6BAA0B;AACjC,OAAOC,UAAU,MAAM,uBAAoB;AAC3C,OAAOC,UAAU,MAAM,uBAAoB;AAC3C,OAAOC,MAAM,MAAM,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE9B,MAAMC,YAAmC,GAAGC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAA,IAAAC,YAAA;EAAA,IAAAC,KAAA;EAAA,IAAAC,EAAA;EAAA,IAAAC,EAAA;EAAA,IAAAC,gBAAA;EAAA,IAAAC,yBAAA;EAAA,IAAAC,qBAAA;EAAA,IAAAC,cAAA;EAAA,IAAAT,CAAA,QAAAD,EAAA;IAAC;MAAAG,YAAA;MAAAQ,SAAA,EAAAN,EAAA;MAAAO,gBAAA,EAAAN,EAAA;MAAAG,qBAAA;MAAAC,cAAA;MAAAH,gBAAA;MAAAC,yBAAA;MAAA,GAAAJ;IAAA,IAAAJ,EAS5C;IAAAC,CAAA,MAAAD,EAAA;IAAAC,CAAA,MAAAE,YAAA;IAAAF,CAAA,MAAAG,KAAA;IAAAH,CAAA,MAAAI,EAAA;IAAAJ,CAAA,MAAAK,EAAA;IAAAL,CAAA,MAAAM,gBAAA;IAAAN,CAAA,MAAAO,yBAAA;IAAAP,CAAA,MAAAQ,qBAAA;IAAAR,CAAA,MAAAS,cAAA;EAAA;IAAAP,YAAA,GAAAF,CAAA;IAAAG,KAAA,GAAAH,CAAA;IAAAI,EAAA,GAAAJ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,MAAAE,GAAA,GAAAf,qBAA8C,IAA9CY,qBAA8C;EAAA,IAAAI,GAAA;EAAA,IAAAnD,CAAA,SAAAiD,WAAA;IAC/CE,GAAA,gBAAAxD,IAAA,CAACF,MAAM;MAAA,GAAKwD;IAAW,CAAG,CAAC;IAAAjD,CAAA,OAAAiD,WAAA;IAAAjD,CAAA,OAAAmD,GAAA;EAAA;IAAAA,GAAA,GAAAnD,CAAA;EAAA;EAC1B,MAAAoD,GAAA,GAAAf,wBAAiD,IAAjDU,qBAAiD;EAAA,IAAAM,GAAA;EAAA,IAAArD,CAAA,SAAAkD,GAAA,IAAAlD,CAAA,SAAAmD,GAAA,IAAAnD,CAAA,SAAAoD,GAAA,IAAApD,CAAA,SAAAU,SAAA,IAAAV,CAAA,SAAAiC,SAAA;IARpDoB,GAAA,gBAAAxD,KAAA,CAACL,UAAU;MACQ8D,eAAG,EAAH,GAAG;MACfC,GAAI,EAAJ,IAAI;MACFtB,KAAS,EAATA,SAAS;MAAA,GACZvB,SAAS;MAAAiC,QAAA,GAEZO,GAA8C,EAC/CC,GAA2B,EAC1BC,GAAiD;IAAA,CACxC,CAAC;IAAApD,CAAA,OAAAkD,GAAA;IAAAlD,CAAA,OAAAmD,GAAA;IAAAnD,CAAA,OAAAoD,GAAA;IAAApD,CAAA,OAAAU,SAAA;IAAAV,CAAA,OAAAiC,SAAA;IAAAjC,CAAA,OAAAqD,GAAA;EAAA;IAAAA,GAAA,GAAArD,CAAA;EAAA;EAAA,OATbqD,GASa;AAAA,CAEhB;AAED,eAAevD,YAAY","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheet.web.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheet.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAK/D,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAarC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetHeader.web.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetHeader.web.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAWrE,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA6CjD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedSlider.web.d.ts","sourceRoot":"","sources":["../../../../../src/components/slider/ThemedSlider.web.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAIjD,OAAO,KAAK,EAAe,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAUzE,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAkFvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|