@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,"names":["createTheme","StyleSheet","Palette","Spacing","FontSize","FontLineHeightRatio","FontLineHeight","SwitchSize","BorderSize","hairlineWidth","BorderRadius","ZIndex","textVariants","textXS","fontSize","XS","lineHeight","color","textS","S","textM","M","textL","L","textXL","XL","lightTheme","colors","transparent","Transparent","themePri","ThemePri","themeSec","ThemeSec","themePriT","ThemePriT","background","White","backgroundOverlay","BlackT","text","Black","textOverlay","textButton","border","Grey","separator","Silver","err","Red","spacing","none","None","xxxs","XXXS","xxs","XXS","xs","s","m","l","xl","xxl","XXL","xxxl","XXXL","breakpoints","smallPhone","phone","smallTablet","tablet","desktop","zIndices","base","Base","bottom","Bottom","middle","Middle","top","Top","borderRadii","round","Round","textXSBold","fontWeight","textSBold","textMBold","textLBold","textXLBold","defaults","darkTheme"],"sourceRoot":"../../../../src","sources":["utils/theme/const.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,kBAAkB;AAC9C,SAASC,UAAU,QAAQ,cAAc;
|
|
1
|
+
{"version":3,"names":["createTheme","StyleSheet","Palette","Spacing","FontSize","FontLineHeightRatio","FontLineHeight","SwitchSize","BorderSize","hairlineWidth","BorderRadius","ZIndex","textVariants","textXS","fontSize","XS","lineHeight","color","textS","S","textM","M","textL","L","textXL","XL","lightTheme","colors","transparent","Transparent","themePri","ThemePri","themeSec","ThemeSec","themePriT","ThemePriT","background","White","backgroundOverlay","BlackT","text","Black","textOverlay","textButton","border","Grey","separator","Silver","err","Red","spacing","none","None","xxxs","XXXS","xxs","XXS","xs","s","m","l","xl","xxl","XXL","xxxl","XXXL","breakpoints","smallPhone","phone","smallTablet","tablet","desktop","zIndices","base","Base","bottom","Bottom","middle","Middle","top","Top","borderRadii","round","Round","textXSBold","fontWeight","textSBold","textMBold","textLBold","textXLBold","defaults","darkTheme"],"sourceRoot":"../../../../src","sources":["utils/theme/const.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,kBAAkB;AAC9C,SAASC,UAAU,QAAQ,cAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAYC,OAAO,0BAAPA,OAAO;EACjB;EADUA,OAAO;EAGjB;EAHUA,OAAO;EAKjB;EALUA,OAAO;EAOjB;EAPUA,OA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AY,CAACU,KAAK;MACrB+D,UAAU,EAAE;IACd,CAAC;IACDI,UAAU,EAAE;MACV,GAAG7E,YAAY,CAACY,MAAM;MACtB6D,UAAU,EAAE;IACd,CAAC;IACDK,QAAQ,EAAE9E,YAAY,CAACQ;EACzB;AACF,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMuE,SAA4B,GAAG;EAC1C,GAAGjE,UAAU;EACbC,MAAM,EAAE;IACN,GAAGD,UAAU,CAACC,MAAM;IACpBS,UAAU,EAAElC,OAAO,CAACuC,KAAK;IACzBD,IAAI,EAAEtC,OAAO,CAACmC;EAChB;AACF,CAAC","ignoreList":[]}
|
|
@@ -5,16 +5,140 @@ import { backgroundColor, backgroundColorShorthand, border, color, composeRestyl
|
|
|
5
5
|
const restyleBaseFuncs = [spacing, spacingShorthand, layout, position];
|
|
6
6
|
const restyleBackgroundFuncs = [backgroundColor, backgroundColorShorthand];
|
|
7
7
|
const restyleViewFuncs = [...restyleBaseFuncs, ...restyleBackgroundFuncs, opacity, border, shadow];
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Composed Restyle functions for ThemedPressable components.
|
|
11
|
+
* Provides type-safe theme-aware styling props for pressable elements.
|
|
12
|
+
* Supports spacing, layout, background, opacity, border, and shadow properties.
|
|
13
|
+
*
|
|
14
|
+
* @internal
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const StyledPressable = createRestyleComponent(
|
|
19
|
+
* themedPressableRestyleFuncs,
|
|
20
|
+
* Pressable
|
|
21
|
+
* );
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
8
24
|
export const themedPressableRestyleFuncs = composeRestyleFunctions(restyleViewFuncs);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Composed Restyle functions for AnimatedThemedPressable components.
|
|
28
|
+
* Similar to themedPressableRestyleFuncs but for animated pressable components.
|
|
29
|
+
* Excludes animatedStyle prop to prevent conflicts with Reanimated.
|
|
30
|
+
*
|
|
31
|
+
* @internal
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* const AnimatedStyledPressable = createRestyleComponent(
|
|
36
|
+
* animatedThemedPressableRestyleFuncs,
|
|
37
|
+
* Animated.Pressable
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
9
41
|
export const animatedThemedPressableRestyleFuncs = composeRestyleFunctions(restyleViewFuncs);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Composed Restyle functions for ThemedLoading components.
|
|
45
|
+
* Provides theme-aware styling props for loading indicators.
|
|
46
|
+
* Supports spacing, layout, and position properties (no background or color).
|
|
47
|
+
*
|
|
48
|
+
* @internal
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* const StyledLoading = createRestyleComponent(
|
|
53
|
+
* themedLoadingRestyleFuncs,
|
|
54
|
+
* ActivityIndicator
|
|
55
|
+
* );
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
10
58
|
export const themedLoadingRestyleFuncs = composeRestyleFunctions(restyleBaseFuncs);
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Composed Restyle functions for ThemedLoading color prop.
|
|
62
|
+
* Handles only the color property for loading indicators.
|
|
63
|
+
* Separated to allow independent color theming.
|
|
64
|
+
*
|
|
65
|
+
* @internal
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```tsx
|
|
69
|
+
* const { color } = useRestyle(themedLoadingColorRestyleFuncs, props);
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
11
72
|
export const themedLoadingColorRestyleFuncs = composeRestyleFunctions([
|
|
12
73
|
// @ts-expect-error
|
|
13
74
|
color]);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Composed Restyle functions for ThemedIcon components.
|
|
78
|
+
* Provides theme-aware styling props for icon elements.
|
|
79
|
+
* Supports spacing, layout, and position properties (no color here).
|
|
80
|
+
*
|
|
81
|
+
* @internal
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```tsx
|
|
85
|
+
* const StyledIcon = createRestyleComponent(
|
|
86
|
+
* themedIconRestyleFuncs,
|
|
87
|
+
* Icon
|
|
88
|
+
* );
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
14
91
|
export const themedIconRestyleFuncs = composeRestyleFunctions(restyleBaseFuncs);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Composed Restyle functions for ThemedIcon color prop.
|
|
95
|
+
* Handles only the color property for icons.
|
|
96
|
+
* Separated to allow independent color theming.
|
|
97
|
+
*
|
|
98
|
+
* @internal
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```tsx
|
|
102
|
+
* const { color } = useRestyle(themedIconColorRestyleFuncs, props);
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
15
105
|
export const themedIconColorRestyleFuncs = composeRestyleFunctions([
|
|
16
106
|
// @ts-expect-error
|
|
17
107
|
color]);
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Composed Restyle functions for AnimatedThemedView components.
|
|
111
|
+
* Provides theme-aware styling props for animated view elements.
|
|
112
|
+
* Supports full view styling including spacing, layout, background, opacity, border, and shadow.
|
|
113
|
+
* Excludes animatedStyle prop to prevent conflicts with Reanimated.
|
|
114
|
+
*
|
|
115
|
+
* @internal
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* ```tsx
|
|
119
|
+
* const AnimatedStyledView = createRestyleComponent(
|
|
120
|
+
* animatedThemedViewRestyleFuncs,
|
|
121
|
+
* Animated.View
|
|
122
|
+
* );
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
18
125
|
export const animatedThemedViewRestyleFuncs = composeRestyleFunctions(restyleViewFuncs);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Composed Restyle functions for ThemedScrollView components.
|
|
129
|
+
* Provides theme-aware styling props for scroll view containers.
|
|
130
|
+
* Supports spacing, layout, and position properties (base functions only).
|
|
131
|
+
* Excludes insets and ref props which are handled separately.
|
|
132
|
+
*
|
|
133
|
+
* @internal
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ```tsx
|
|
137
|
+
* const StyledScrollView = createRestyleComponent(
|
|
138
|
+
* themedScrollViewRestyleFuncs,
|
|
139
|
+
* ScrollView
|
|
140
|
+
* );
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
19
143
|
export const themedScrollViewRestyleFuncs = composeRestyleFunctions(restyleBaseFuncs);
|
|
20
144
|
//# sourceMappingURL=restyle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["backgroundColor","backgroundColorShorthand","border","color","composeRestyleFunctions","layout","opacity","position","shadow","spacing","spacingShorthand","restyleBaseFuncs","restyleBackgroundFuncs","restyleViewFuncs","themedPressableRestyleFuncs","animatedThemedPressableRestyleFuncs","themedLoadingRestyleFuncs","themedLoadingColorRestyleFuncs","themedIconRestyleFuncs","themedIconColorRestyleFuncs","animatedThemedViewRestyleFuncs","themedScrollViewRestyleFuncs"],"sourceRoot":"../../../../src","sources":["utils/theme/restyle.ts"],"mappings":";;AAAA;AACA,SACEA,eAAe,EACfC,wBAAwB,EACxBC,MAAM,EACNC,KAAK,EACLC,uBAAuB,EACvBC,MAAM,EACNC,OAAO,EACPC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,gBAAgB,QACX,kBAAkB;AAczB,MAAMC,gBAAgB,GAAG,CAACF,OAAO,EAAEC,gBAAgB,EAAEL,MAAM,EAAEE,QAAQ,CAAC;AAEtE,MAAMK,sBAAsB,GAAG,CAACZ,eAAe,EAAEC,wBAAwB,CAAC;AAE1E,MAAMY,gBAAgB,GAAG,CACvB,GAAGF,gBAAgB,EACnB,GAAGC,sBAAsB,EACzBN,OAAO,EACPJ,MAAM,EACNM,MAAM,CACP;
|
|
1
|
+
{"version":3,"names":["backgroundColor","backgroundColorShorthand","border","color","composeRestyleFunctions","layout","opacity","position","shadow","spacing","spacingShorthand","restyleBaseFuncs","restyleBackgroundFuncs","restyleViewFuncs","themedPressableRestyleFuncs","animatedThemedPressableRestyleFuncs","themedLoadingRestyleFuncs","themedLoadingColorRestyleFuncs","themedIconRestyleFuncs","themedIconColorRestyleFuncs","animatedThemedViewRestyleFuncs","themedScrollViewRestyleFuncs"],"sourceRoot":"../../../../src","sources":["utils/theme/restyle.ts"],"mappings":";;AAAA;AACA,SACEA,eAAe,EACfC,wBAAwB,EACxBC,MAAM,EACNC,KAAK,EACLC,uBAAuB,EACvBC,MAAM,EACNC,OAAO,EACPC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPC,gBAAgB,QACX,kBAAkB;AAczB,MAAMC,gBAAgB,GAAG,CAACF,OAAO,EAAEC,gBAAgB,EAAEL,MAAM,EAAEE,QAAQ,CAAC;AAEtE,MAAMK,sBAAsB,GAAG,CAACZ,eAAe,EAAEC,wBAAwB,CAAC;AAE1E,MAAMY,gBAAgB,GAAG,CACvB,GAAGF,gBAAgB,EACnB,GAAGC,sBAAsB,EACzBN,OAAO,EACPJ,MAAM,EACNM,MAAM,CACP;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMM,2BAA2B,GAAGV,uBAAuB,CAGhES,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAME,mCAAmC,GAAGX,uBAAuB,CAMxES,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMG,yBAAyB,GAAGZ,uBAAuB,CAG9DO,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMM,8BAA8B,GAAGb,uBAAuB,CAGnE;AACA;AACAD,KAAK,CACN,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMe,sBAAsB,GAAGd,uBAAuB,CAG3DO,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMQ,2BAA2B,GAAGf,uBAAuB,CAGhE;AACA;AACAD,KAAK,CACN,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMiB,8BAA8B,GAAGhB,uBAAuB,CAGnES,gBAAgB,CAAC;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMQ,4BAA4B,GAAGjB,uBAAuB,CAGjEO,gBAAgB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { ThemedAccordionProps } from '../../types/accordion';
|
|
3
|
+
/**
|
|
4
|
+
* A themed accordion component that expands and collapses content with smooth animations.
|
|
5
|
+
* Features a clickable header with text and icon, and animates the height of the content area.
|
|
6
|
+
* Supports customization of borders, colors, icons, and internal layout through comprehensive props.
|
|
7
|
+
* @param props - Component props of type ThemedAccordionProps
|
|
8
|
+
* @returns JSX element rendering an expandable/collapsible accordion
|
|
9
|
+
* @example
|
|
10
|
+
* <ThemedAccordion
|
|
11
|
+
* text="FAQ Section"
|
|
12
|
+
* iconNameOpened="up"
|
|
13
|
+
* iconNameClosed="down"
|
|
14
|
+
* >
|
|
15
|
+
* <ThemedText>This is the accordion content</ThemedText>
|
|
16
|
+
* </ThemedAccordion>
|
|
17
|
+
*/
|
|
18
|
+
declare const ThemedAccordion: FC<ThemedAccordionProps>;
|
|
19
|
+
export default ThemedAccordion;
|
|
20
|
+
//# sourceMappingURL=ThemedAccordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemedAccordion.d.ts","sourceRoot":"","sources":["../../../../../src/components/accordion/ThemedAccordion.tsx"],"names":[],"mappings":"AACA,OAAO,EAA+C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAI7E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAiBlE;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAoI7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export declare const AnimatedPressable: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>, import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>>;
|
|
2
1
|
export default AnimatedPressable;
|
|
3
2
|
//# sourceMappingURL=AnimatedPressable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedPressable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnimatedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedPressable.tsx"],"names":[],"mappings":"AAWA,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import type { AnimatedThemedPressableProps } from '../../types/button';
|
|
3
|
+
/**
|
|
4
|
+
* A themed animated pressable component that applies theme-aware styling and animations.
|
|
5
|
+
* Combines theme system integration with animated press interactions for smooth visual feedback.
|
|
6
|
+
* @param props - Component props of type AnimatedThemedPressableProps
|
|
7
|
+
* @returns JSX element rendering an animated themed pressable
|
|
8
|
+
* @example
|
|
9
|
+
* <AnimatedThemedPressable
|
|
10
|
+
* onPress={() => console.log('pressed')}
|
|
11
|
+
* backgroundColor="themePri"
|
|
12
|
+
* animatedStyle={{ opacity: 0.8 }}
|
|
13
|
+
* >
|
|
14
|
+
* <ThemedText>Press Me</ThemedText>
|
|
15
|
+
* </AnimatedThemedPressable>
|
|
16
|
+
*/
|
|
3
17
|
declare const AnimatedThemedPressable: FC<AnimatedThemedPressableProps>;
|
|
4
18
|
export default AnimatedThemedPressable;
|
|
5
19
|
//# sourceMappingURL=AnimatedThemedPressable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedThemedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedThemedPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGvE,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAI7D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"AnimatedThemedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedThemedPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGvE;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAI7D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -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"}
|