@jamadd/react-native-template-ui 0.8.5 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/module/components/button/AnimatedThemedPressable.js +13 -3
- package/lib/module/components/button/AnimatedThemedPressable.js.map +1 -1
- package/lib/module/components/button/ThemedButton.js +84 -23
- package/lib/module/components/button/ThemedButton.js.map +1 -1
- package/lib/module/components/button/ThemedIconButton.js +62 -16
- package/lib/module/components/button/ThemedIconButton.js.map +1 -1
- package/lib/module/components/button/ThemedIconTextButton.js +118 -29
- package/lib/module/components/button/ThemedIconTextButton.js.map +1 -1
- package/lib/module/components/button/ThemedPressable.js +13 -3
- package/lib/module/components/button/ThemedPressable.js.map +1 -1
- package/lib/module/components/icon/ThemedIcon.js +56 -15
- package/lib/module/components/icon/ThemedIcon.js.map +1 -1
- package/lib/module/components/list/List.js +131 -39
- package/lib/module/components/list/List.js.map +1 -1
- package/lib/module/components/loading/ThemedLoading.js +50 -13
- package/lib/module/components/loading/ThemedLoading.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheet.js +64 -19
- package/lib/module/components/overlay/actionSheet/ActionSheet.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheet.web.js +76 -0
- package/lib/module/components/overlay/actionSheet/ActionSheet.web.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +19 -8
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +87 -31
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.web.js +113 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.web.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +69 -28
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +39 -14
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js +58 -25
- package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptionListItem.js +45 -21
- package/lib/module/components/overlay/actionSheet/ActionSheetOptionListItem.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js +75 -32
- package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +72 -30
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +45 -18
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +152 -36
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
- package/lib/module/components/overlay/alert/Alert.js +142 -51
- package/lib/module/components/overlay/alert/Alert.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertButton.js +62 -26
- package/lib/module/components/overlay/alert/AlertButton.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertButtons.js +58 -23
- package/lib/module/components/overlay/alert/AlertButtons.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertContent.js +76 -17
- package/lib/module/components/overlay/alert/AlertContent.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertWrap.js +125 -43
- package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js +96 -21
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js.map +1 -1
- package/lib/module/components/overlay/modal/ThemedModal.js +76 -23
- package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -1
- package/lib/module/components/overlay/toast/ThemedToast.js +339 -90
- package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
- package/lib/module/components/provider/GestureProvider.js +15 -3
- package/lib/module/components/provider/GestureProvider.js.map +1 -1
- package/lib/module/components/provider/InsetsProvider.js +15 -3
- package/lib/module/components/provider/InsetsProvider.js.map +1 -1
- package/lib/module/components/provider/ReactNativeTemplateProviders.js +23 -11
- package/lib/module/components/provider/ReactNativeTemplateProviders.js.map +1 -1
- package/lib/module/components/provider/ThemeProvider.js +15 -3
- package/lib/module/components/provider/ThemeProvider.js.map +1 -1
- package/lib/module/components/separator/ThemedSeparator.js +53 -14
- package/lib/module/components/separator/ThemedSeparator.js.map +1 -1
- package/lib/module/components/slider/Slider.js +625 -137
- package/lib/module/components/slider/Slider.js.map +1 -1
- package/lib/module/components/slider/ThemedSlider.js +178 -54
- package/lib/module/components/slider/ThemedSlider.js.map +1 -1
- package/lib/module/components/slider/ThemedSlider.web.js +206 -0
- package/lib/module/components/slider/ThemedSlider.web.js.map +1 -0
- package/lib/module/components/slider/ThemedSliderStepIndicator.js +40 -15
- package/lib/module/components/slider/ThemedSliderStepIndicator.js.map +1 -1
- package/lib/module/components/switch/ThemedSwitch.js +81 -21
- package/lib/module/components/switch/ThemedSwitch.js.map +1 -1
- package/lib/module/components/text/ThemedIconText.js +124 -35
- package/lib/module/components/text/ThemedIconText.js.map +1 -1
- package/lib/module/components/text/ThemedText.js +15 -3
- package/lib/module/components/text/ThemedText.js.map +1 -1
- package/lib/module/components/view/AnimatedThemedView.js +42 -11
- package/lib/module/components/view/AnimatedThemedView.js.map +1 -1
- package/lib/module/components/view/ThemedScreenWrap.js +144 -39
- package/lib/module/components/view/ThemedScreenWrap.js.map +1 -1
- package/lib/module/components/view/ThemedScreenWrap.web.js +111 -32
- package/lib/module/components/view/ThemedScreenWrap.web.js.map +1 -1
- package/lib/module/components/view/ThemedScrollView.js +126 -38
- package/lib/module/components/view/ThemedScrollView.js.map +1 -1
- package/lib/module/components/view/ThemedView.js +33 -10
- package/lib/module/components/view/ThemedView.js.map +1 -1
- package/lib/module/hooks/button.js +263 -84
- package/lib/module/hooks/button.js.map +1 -1
- package/lib/module/hooks/list.js +50 -10
- package/lib/module/hooks/list.js.map +1 -1
- package/lib/module/hooks/overlay.js +575 -187
- package/lib/module/hooks/overlay.js.map +1 -1
- package/lib/module/hooks/react.js +90 -27
- package/lib/module/hooks/react.js.map +1 -1
- package/lib/module/hooks/reanimated.js.map +1 -1
- package/lib/module/hooks/style.js +43 -18
- package/lib/module/hooks/style.js.map +1 -1
- package/lib/module/hooks/switch.js +182 -43
- package/lib/module/hooks/switch.js.map +1 -1
- package/lib/module/hooks/theme.js +17 -8
- package/lib/module/hooks/theme.js.map +1 -1
- package/lib/module/hooks/view.js +56 -14
- package/lib/module/hooks/view.js.map +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/reanimated/func.js +60 -10
- package/lib/module/utils/reanimated/func.js.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.web.d.ts +5 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.web.d.ts.map +1 -0
- 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/ActionSheetHeader.web.d.ts +4 -0
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.web.d.ts.map +1 -0
- 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 -2
- 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 -2
- 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/slider/Slider.d.ts +3 -2
- package/lib/typescript/src/components/slider/Slider.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/ThemedSlider.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/ThemedSlider.web.d.ts +5 -0
- package/lib/typescript/src/components/slider/ThemedSlider.web.d.ts.map +1 -0
- package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts +3 -2
- package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts.map +1 -1
- package/lib/typescript/src/components/view/AnimatedView.d.ts +0 -2
- package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -1
- package/lib/typescript/src/hooks/overlay.d.ts +0 -27
- package/lib/typescript/src/hooks/overlay.d.ts.map +1 -1
- package/lib/typescript/src/hooks/switch.d.ts +1 -20
- package/lib/typescript/src/hooks/switch.d.ts.map +1 -1
- package/lib/typescript/src/types/list.d.ts +1 -10
- package/lib/typescript/src/types/list.d.ts.map +1 -1
- package/lib/typescript/src/types/overlay.d.ts +1 -31
- package/lib/typescript/src/types/overlay.d.ts.map +1 -1
- package/lib/typescript/src/utils/overlay/const.d.ts +0 -33
- package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/reanimated/func.d.ts +1 -5
- package/lib/typescript/src/utils/reanimated/func.d.ts.map +1 -1
- package/lib/typescript/src/utils/switch/const.d.ts +1 -2
- package/lib/typescript/src/utils/switch/const.d.ts.map +1 -1
- package/package.json +14 -15
- package/src/components/button/AnimatedPressable.tsx +0 -7
- package/src/components/button/AnimatedThemedPressable.tsx +0 -12
- package/src/components/button/ThemedButton.tsx +0 -45
- package/src/components/button/ThemedIconButton.tsx +0 -33
- package/src/components/button/ThemedIconTextButton.tsx +0 -56
- package/src/components/button/ThemedPressable.tsx +0 -12
- package/src/components/icon/ThemedIcon.tsx +0 -31
- package/src/components/list/List.tsx +0 -55
- package/src/components/loading/ThemedLoading.tsx +0 -29
- package/src/components/overlay/actionSheet/ActionSheet.tsx +0 -31
- package/src/components/overlay/actionSheet/ActionSheetContentGesture.tsx +0 -15
- package/src/components/overlay/actionSheet/ActionSheetHeader.tsx +0 -72
- package/src/components/overlay/actionSheet/ActionSheetListView.tsx +0 -54
- package/src/components/overlay/actionSheet/ActionSheetListViewContent.tsx +0 -32
- package/src/components/overlay/actionSheet/ActionSheetOptionList.tsx +0 -51
- package/src/components/overlay/actionSheet/ActionSheetOptionListItem.tsx +0 -43
- package/src/components/overlay/actionSheet/ActionSheetOptions.tsx +0 -61
- package/src/components/overlay/actionSheet/ActionSheetScrollView.tsx +0 -57
- package/src/components/overlay/actionSheet/ActionSheetScrollViewContent.tsx +0 -38
- package/src/components/overlay/actionSheet/ActionSheetWrap.tsx +0 -75
- package/src/components/overlay/alert/Alert.tsx +0 -86
- package/src/components/overlay/alert/AlertButton.tsx +0 -41
- package/src/components/overlay/alert/AlertButtons.tsx +0 -32
- package/src/components/overlay/alert/AlertContent.tsx +0 -60
- package/src/components/overlay/alert/AlertWrap.tsx +0 -93
- package/src/components/overlay/modal/ThemedLoadingModal.tsx +0 -47
- package/src/components/overlay/modal/ThemedModal.tsx +0 -42
- package/src/components/overlay/toast/ThemedToast.tsx +0 -160
- package/src/components/provider/GestureProvider.tsx +0 -9
- package/src/components/provider/InsetsProvider.tsx +0 -11
- package/src/components/provider/ReactNativeTemplateProviders.tsx +0 -20
- package/src/components/provider/ThemeProvider.tsx +0 -8
- package/src/components/separator/ThemedSeparator.tsx +0 -24
- package/src/components/slider/Slider.tsx +0 -229
- package/src/components/slider/ThemedSlider.tsx +0 -103
- package/src/components/slider/ThemedSliderStepIndicator.tsx +0 -24
- package/src/components/switch/ThemedSwitch.tsx +0 -49
- package/src/components/text/Text.tsx +0 -7
- package/src/components/text/ThemedIconText.tsx +0 -58
- package/src/components/text/ThemedText.tsx +0 -7
- package/src/components/view/AnimatedThemedView.tsx +0 -18
- package/src/components/view/AnimatedView.tsx +0 -7
- package/src/components/view/Box.tsx +0 -7
- package/src/components/view/ThemedScreenWrap.tsx +0 -48
- package/src/components/view/ThemedScreenWrap.web.tsx +0 -41
- package/src/components/view/ThemedScrollView.tsx +0 -54
- package/src/components/view/ThemedView.tsx +0 -19
- package/src/hooks/button.ts +0 -152
- package/src/hooks/list.ts +0 -42
- package/src/hooks/overlay.ts +0 -471
- package/src/hooks/react.ts +0 -34
- package/src/hooks/reanimated.ts +0 -6
- package/src/hooks/separator.ts +0 -29
- package/src/hooks/style.ts +0 -79
- package/src/hooks/switch.ts +0 -119
- package/src/hooks/theme.ts +0 -65
- package/src/hooks/view.ts +0 -28
- package/src/index.ts +0 -59
- package/src/test/utils/const.ts +0 -9
- package/src/test/utils/func.ts +0 -55
- package/src/test/utils/testingLib.tsx +0 -17
- package/src/types/button.ts +0 -50
- package/src/types/global.d.ts +0 -5
- package/src/types/icon.ts +0 -21
- package/src/types/list.ts +0 -61
- package/src/types/loading.ts +0 -14
- package/src/types/overlay.ts +0 -216
- package/src/types/provider.ts +0 -6
- package/src/types/react.ts +0 -8
- package/src/types/reanimated.ts +0 -11
- package/src/types/separator.ts +0 -28
- package/src/types/slider.ts +0 -59
- package/src/types/style.ts +0 -26
- package/src/types/switch.ts +0 -31
- package/src/types/text.ts +0 -25
- package/src/types/theme.ts +0 -39
- package/src/types/view.ts +0 -58
- package/src/utils/button/const.ts +0 -10
- package/src/utils/overlay/const.ts +0 -77
- package/src/utils/overlay/func.ts +0 -107
- package/src/utils/reanimated/func.ts +0 -39
- package/src/utils/slider/const.ts +0 -23
- package/src/utils/style/const.ts +0 -4
- package/src/utils/style/func.ts +0 -37
- package/src/utils/switch/const.ts +0 -2
- package/src/utils/theme/const.ts +0 -189
- package/src/utils/theme/restyle.ts +0 -87
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
3
4
|
import { useResponsiveProp, useTheme as useRestyleTheme } from '@shopify/restyle';
|
|
4
5
|
import { useColorScheme } from 'react-native';
|
|
5
6
|
import { darkTheme, lightTheme } from "../utils/theme/const.js";
|
|
@@ -19,13 +20,21 @@ export function useThemeBreakpointValues(propValue) {
|
|
|
19
20
|
return useResponsiveProp(propValue);
|
|
20
21
|
}
|
|
21
22
|
export function useThemeBreakpoint() {
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
const $ = _c(1);
|
|
24
|
+
let t0;
|
|
25
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
26
|
+
t0 = {
|
|
27
|
+
smallPhone: "smallPhone",
|
|
28
|
+
phone: "phone",
|
|
29
|
+
smallTablet: "smallTablet",
|
|
30
|
+
tablet: "tablet",
|
|
31
|
+
desktop: "desktop"
|
|
32
|
+
};
|
|
33
|
+
$[0] = t0;
|
|
34
|
+
} else {
|
|
35
|
+
t0 = $[0];
|
|
36
|
+
}
|
|
37
|
+
const responsiveVal = t0;
|
|
29
38
|
return useThemeBreakpointValues(responsiveVal);
|
|
30
39
|
}
|
|
31
40
|
export function useThemeZIndices() {
|
|
@@ -39,7 +48,7 @@ export function useThemeTextVariants() {
|
|
|
39
48
|
}
|
|
40
49
|
export function useIsDarkColorScheme(overrideColorScheme) {
|
|
41
50
|
const colorScheme = useColorScheme();
|
|
42
|
-
return (overrideColorScheme ?? colorScheme) ===
|
|
51
|
+
return (overrideColorScheme ?? colorScheme) === "dark";
|
|
43
52
|
}
|
|
44
53
|
export function useColorSchemeTheme(overrideColorScheme) {
|
|
45
54
|
return useIsDarkColorScheme(overrideColorScheme) ? darkTheme : lightTheme;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useResponsiveProp","useTheme","useRestyleTheme","useColorScheme","darkTheme","lightTheme","useThemeColors","colors","useThemeSpacing","spacing","useThemeBreakpoints","breakpoints","useThemeBreakpointValues","propValue","useThemeBreakpoint","
|
|
1
|
+
{"version":3,"names":["useResponsiveProp","useTheme","useRestyleTheme","useColorScheme","darkTheme","lightTheme","useThemeColors","colors","useThemeSpacing","spacing","useThemeBreakpoints","breakpoints","useThemeBreakpointValues","propValue","useThemeBreakpoint","$","_c","t0","Symbol","for","smallPhone","phone","smallTablet","tablet","desktop","responsiveVal","useThemeZIndices","zIndices","useThemeBorderRadii","borderRadii","useThemeTextVariants","textVariants","useIsDarkColorScheme","overrideColorScheme","colorScheme","useColorSchemeTheme"],"sourceRoot":"../../../src","sources":["hooks/theme.ts"],"mappings":";;;AAAA,SACEA,iBAAiB,EACjBC,QAAQ,IAAIC,eAAe,QAGtB,kBAAkB;AACzB,SAASC,cAAc,QAA8B,cAAc;AAEnE,SAASC,SAAS,EAAEC,UAAU,QAAQ,yBAAsB;AAE5D,OAAO,SAAAJ,SAAA;EAAA,OACEC,eAAe,CAAQ,CAAC;AAAA;AAGjC,OAAO,SAAAI,eAAA;EAAA,OACEL,QAAQ,CAAC,CAAC,CAAAM,MAAO;AAAA;AAG1B,OAAO,SAAAC,gBAAA;EAAA,OACEP,QAAQ,CAAC,CAAC,CAAAQ,OAAQ;AAAA;AAG3B,OAAO,SAAAC,oBAAA;EAAA,OACET,QAAQ,CAAC,CAAC,CAAAU,WAAY;AAAA;AAG/B,OAAO,SAAAC,yBAAAC,SAAA;EAAA,OAGEb,iBAAiB,CAACa,SAAS,CAAC;AAAA;AAGrC,OAAO,SAAAC,mBAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAA,IAAAC,EAAA;EAAA,IAAAF,CAAA,QAAAG,MAAA,CAAAC,GAAA;IACmEF,EAAA;MAAAG,UAAA,EAC1D,YAAY;MAAAC,KAAA,EACjB,OAAO;MAAAC,WAAA,EACD,aAAa;MAAAC,MAAA,EAClB,QAAQ;MAAAC,OAAA,EACP;IACX,CAAC;IAAAT,CAAA,MAAAE,EAAA;EAAA;IAAAA,EAAA,GAAAF,CAAA;EAAA;EAND,MAAAU,aAAA,GAAwER,EAMvE;EAAC,OAEKL,wBAAwB,CAACa,aAAa,CAAC;AAAA;AAGhD,OAAO,SAAAC,iBAAA;EAAA,OACEzB,QAAQ,CAAC,CAAC,CAAA0B,QAAS;AAAA;AAG5B,OAAO,SAAAC,oBAAA;EAAA,OACE3B,QAAQ,CAAC,CAAC,CAAA4B,WAAY;AAAA;AAG/B,OAAO,SAAAC,qBAAA;EAAA,OACE7B,QAAQ,CAAC,CAAC,CAAA8B,YAAa;AAAA;AAGhC,OAAO,SAAAC,qBAAAC,mBAAA;EACL,MAAAC,WAAA,GAAoB/B,cAAc,CAAC,CAAC;EAAC,OAE9B,CAAC8B,mBAAkC,IAAlCC,WAAkC,MAAM,MAAM;AAAA;AAGxD,OAAO,SAAAC,oBAAAF,mBAAA;EAAA,OACED,oBAAoB,CAACC,mBAA4C,CAAC,GAAlE7B,SAAkE,GAAlEC,UAAkE;AAAA","ignoreList":[]}
|
package/lib/module/hooks/view.js
CHANGED
|
@@ -1,25 +1,67 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
3
4
|
import { useRestyle } from '@shopify/restyle';
|
|
4
5
|
import { useRef } from 'react';
|
|
5
6
|
import { animatedThemedViewRestyleFuncs } from "../utils/theme/restyle.js";
|
|
6
7
|
export function useViewRef() {
|
|
7
8
|
return useRef(null);
|
|
8
9
|
}
|
|
9
|
-
export function useAnimatedThemedView({
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
10
|
+
export function useAnimatedThemedView(t0) {
|
|
11
|
+
const $ = _c(12);
|
|
12
|
+
let animatedStyle;
|
|
13
|
+
let props;
|
|
14
|
+
if ($[0] !== t0) {
|
|
15
|
+
({
|
|
16
|
+
animatedStyle,
|
|
17
|
+
...props
|
|
18
|
+
} = t0);
|
|
19
|
+
$[0] = t0;
|
|
20
|
+
$[1] = animatedStyle;
|
|
21
|
+
$[2] = props;
|
|
22
|
+
} else {
|
|
23
|
+
animatedStyle = $[1];
|
|
24
|
+
props = $[2];
|
|
25
|
+
}
|
|
26
|
+
const t1 = useRestyle(animatedThemedViewRestyleFuncs, props);
|
|
27
|
+
let restyle;
|
|
28
|
+
let style;
|
|
29
|
+
if ($[3] !== t1) {
|
|
30
|
+
({
|
|
31
|
+
style,
|
|
32
|
+
...restyle
|
|
33
|
+
} = t1);
|
|
34
|
+
$[3] = t1;
|
|
35
|
+
$[4] = restyle;
|
|
36
|
+
$[5] = style;
|
|
37
|
+
} else {
|
|
38
|
+
restyle = $[4];
|
|
39
|
+
style = $[5];
|
|
40
|
+
}
|
|
41
|
+
let t2;
|
|
42
|
+
if ($[6] !== animatedStyle || $[7] !== style) {
|
|
43
|
+
t2 = [style, animatedStyle];
|
|
44
|
+
$[6] = animatedStyle;
|
|
45
|
+
$[7] = style;
|
|
46
|
+
$[8] = t2;
|
|
47
|
+
} else {
|
|
48
|
+
t2 = $[8];
|
|
49
|
+
}
|
|
50
|
+
let t3;
|
|
51
|
+
if ($[9] !== restyle || $[10] !== t2) {
|
|
52
|
+
t3 = {
|
|
53
|
+
...restyle,
|
|
54
|
+
style: t2,
|
|
55
|
+
accessible: true,
|
|
56
|
+
role: "group"
|
|
57
|
+
};
|
|
58
|
+
$[9] = restyle;
|
|
59
|
+
$[10] = t2;
|
|
60
|
+
$[11] = t3;
|
|
61
|
+
} else {
|
|
62
|
+
t3 = $[11];
|
|
63
|
+
}
|
|
64
|
+
const animatedThemedViewProps = t3;
|
|
23
65
|
return animatedThemedViewProps;
|
|
24
66
|
}
|
|
25
67
|
//# sourceMappingURL=view.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useRestyle","useRef","animatedThemedViewRestyleFuncs","useViewRef","useAnimatedThemedView","animatedStyle","props","
|
|
1
|
+
{"version":3,"names":["useRestyle","useRef","animatedThemedViewRestyleFuncs","useViewRef","useAnimatedThemedView","t0","$","_c","animatedStyle","props","t1","restyle","style","t2","t3","accessible","role","animatedThemedViewProps"],"sourceRoot":"../../../src","sources":["hooks/view.ts"],"mappings":";;;AAAA,SAASA,UAAU,QAAQ,kBAAkB;AAC7C,SAASC,MAAM,QAAQ,OAAO;AAG9B,SAASC,8BAA8B,QAAQ,2BAAwB;AAEvE,OAAO,SAAAC,WAAA;EAAA,OACEF,MAAM,CAAO,IAAI,CAAC;AAAA;AAG3B,OAAO,SAAAG,sBAAAC,EAAA;EAAA,MAAAC,CAAA,GAAAC,EAAA;EAAA,IAAAC,aAAA;EAAA,IAAAC,KAAA;EAAA,IAAAH,CAAA,QAAAD,EAAA;IAA+B;MAAAG,aAAA;MAAA,GAAAC;IAAA,IAAAJ,EAGZ;IAAAC,CAAA,MAAAD,EAAA;IAAAC,CAAA,MAAAE,aAAA;IAAAF,CAAA,MAAAG,KAAA;EAAA;IAAAD,aAAA,GAAAF,CAAA;IAAAG,KAAA,GAAAH,CAAA;EAAA;EACM,MAAAI,EAAA,GAAAV,UAAU,CACtCE,8BAA8B,EAC9BO,KACF,CAAC;EAAA,IAAAE,OAAA;EAAA,IAAAC,KAAA;EAAA,IAAAN,CAAA,QAAAI,EAAA;IAHD;MAAAE,KAAA;MAAA,GAAAD;IAAA,IAA8BD,EAG7B;IAACJ,CAAA,MAAAI,EAAA;IAAAJ,CAAA,MAAAK,OAAA;IAAAL,CAAA,MAAAM,KAAA;EAAA;IAAAD,OAAA,GAAAL,CAAA;IAAAM,KAAA,GAAAN,CAAA;EAAA;EAAA,IAAAO,EAAA;EAAA,IAAAP,CAAA,QAAAE,aAAA,IAAAF,CAAA,QAAAM,KAAA;IAIOC,EAAA,IAACD,KAAK,EAAEJ,aAAa,CAAC;IAAAF,CAAA,MAAAE,aAAA;IAAAF,CAAA,MAAAM,KAAA;IAAAN,CAAA,MAAAO,EAAA;EAAA;IAAAA,EAAA,GAAAP,CAAA;EAAA;EAAA,IAAAQ,EAAA;EAAA,IAAAR,CAAA,QAAAK,OAAA,IAAAL,CAAA,SAAAO,EAAA;IAFoBC,EAAA;MAAA,GAC9CH,OAAO;MAAAC,KAAA,EACHC,EAAsB;MAAAE,UAAA,EACjB,IAAI;MAAAC,IAAA,EACV;IACR,CAAC;IAAAV,CAAA,MAAAK,OAAA;IAAAL,CAAA,OAAAO,EAAA;IAAAP,CAAA,OAAAQ,EAAA;EAAA;IAAAA,EAAA,GAAAR,CAAA;EAAA;EALD,MAAAW,uBAAA,GAAmDH,EAKlD;EAAC,OAEKG,uBAAuB;AAAA","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -8,7 +8,7 @@ export { default as ThemedPressable } from "./components/button/ThemedPressable.
|
|
|
8
8
|
export { default as ThemedIcon } from "./components/icon/ThemedIcon.js";
|
|
9
9
|
export { default as List } from "./components/list/List.js";
|
|
10
10
|
export { default as ThemedLoading } from "./components/loading/ThemedLoading.js";
|
|
11
|
-
export { default as ActionSheet } from
|
|
11
|
+
export { default as ActionSheet } from './components/overlay/actionSheet/ActionSheet';
|
|
12
12
|
export { default as Alert } from "./components/overlay/alert/Alert.js";
|
|
13
13
|
export { default as ThemedLoadingModal } from "./components/overlay/modal/ThemedLoadingModal.js";
|
|
14
14
|
export { default as ThemedModal } from "./components/overlay/modal/ThemedModal.js";
|
|
@@ -18,7 +18,7 @@ export { default as InsetsProvider } from "./components/provider/InsetsProvider.
|
|
|
18
18
|
export { default as ReactNativeTemplateProviders } from "./components/provider/ReactNativeTemplateProviders.js";
|
|
19
19
|
export { default as ThemeProvider } from "./components/provider/ThemeProvider.js";
|
|
20
20
|
export { default as ThemedSeparator } from "./components/separator/ThemedSeparator.js";
|
|
21
|
-
export { default as ThemedSlider } from
|
|
21
|
+
export { default as ThemedSlider } from './components/slider/ThemedSlider';
|
|
22
22
|
export { default as ThemedSwitch } from "./components/switch/ThemedSwitch.js";
|
|
23
23
|
export { default as ThemedIconText } from "./components/text/ThemedIconText.js";
|
|
24
24
|
export { default as ThemedText } from "./components/text/ThemedText.js";
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["default","AnimatedThemedPressable","ThemedButton","ThemedIconButton","ThemedIconTextButton","ThemedPressable","ThemedIcon","List","ThemedLoading","ActionSheet","Alert","ThemedLoadingModal","ThemedModal","ThemedToast","GestureProvider","InsetsProvider","ReactNativeTemplateProviders","ThemeProvider","ThemedSeparator","ThemedSlider","ThemedSwitch","ThemedIconText","ThemedText","AnimatedThemedView","ThemedScreenWrap","ThemedScrollView","ThemedView"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,OAAO,IAAIC,uBAAuB,QAAQ,gDAA6C;AAChG,SAASD,OAAO,IAAIE,YAAY,QAAQ,qCAAkC;AAC1E,SAASF,OAAO,IAAIG,gBAAgB,QAAQ,yCAAsC;AAClF,SAASH,OAAO,IAAII,oBAAoB,QAAQ,6CAA0C;AAC1F,SAASJ,OAAO,IAAIK,eAAe,QAAQ,wCAAqC;AAChF,SAASL,OAAO,IAAIM,UAAU,QAAQ,iCAA8B;AACpE,SAASN,OAAO,IAAIO,IAAI,QAAQ,2BAAwB;AACxD,SAASP,OAAO,IAAIQ,aAAa,QAAQ,uCAAoC;AAC7E,SAASR,OAAO,IAAIS,WAAW,QAAQ,
|
|
1
|
+
{"version":3,"names":["default","AnimatedThemedPressable","ThemedButton","ThemedIconButton","ThemedIconTextButton","ThemedPressable","ThemedIcon","List","ThemedLoading","ActionSheet","Alert","ThemedLoadingModal","ThemedModal","ThemedToast","GestureProvider","InsetsProvider","ReactNativeTemplateProviders","ThemeProvider","ThemedSeparator","ThemedSlider","ThemedSwitch","ThemedIconText","ThemedText","AnimatedThemedView","ThemedScreenWrap","ThemedScrollView","ThemedView"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,OAAO,IAAIC,uBAAuB,QAAQ,gDAA6C;AAChG,SAASD,OAAO,IAAIE,YAAY,QAAQ,qCAAkC;AAC1E,SAASF,OAAO,IAAIG,gBAAgB,QAAQ,yCAAsC;AAClF,SAASH,OAAO,IAAII,oBAAoB,QAAQ,6CAA0C;AAC1F,SAASJ,OAAO,IAAIK,eAAe,QAAQ,wCAAqC;AAChF,SAASL,OAAO,IAAIM,UAAU,QAAQ,iCAA8B;AACpE,SAASN,OAAO,IAAIO,IAAI,QAAQ,2BAAwB;AACxD,SAASP,OAAO,IAAIQ,aAAa,QAAQ,uCAAoC;AAC7E,SAASR,OAAO,IAAIS,WAAW,QAAQ,8CAA8C;AACrF,SAAST,OAAO,IAAIU,KAAK,QAAQ,qCAAkC;AACnE,SAASV,OAAO,IAAIW,kBAAkB,QAAQ,kDAA+C;AAC7F,SAASX,OAAO,IAAIY,WAAW,QAAQ,2CAAwC;AAC/E,SAASZ,OAAO,IAAIa,WAAW,QAAQ,2CAAwC;AAC/E,SAASb,OAAO,IAAIc,eAAe,QAAQ,0CAAuC;AAClF,SAASd,OAAO,IAAIe,cAAc,QAAQ,yCAAsC;AAChF,SAASf,OAAO,IAAIgB,4BAA4B,QAAQ,uDAAoD;AAC5G,SAAShB,OAAO,IAAIiB,aAAa,QAAQ,wCAAqC;AAC9E,SAASjB,OAAO,IAAIkB,eAAe,QAAQ,2CAAwC;AACnF,SAASlB,OAAO,IAAImB,YAAY,QAAQ,kCAAkC;AAC1E,SAASnB,OAAO,IAAIoB,YAAY,QAAQ,qCAAkC;AAC1E,SAASpB,OAAO,IAAIqB,cAAc,QAAQ,qCAAkC;AAC5E,SAASrB,OAAO,IAAIsB,UAAU,QAAQ,iCAA8B;AACpE,SAAStB,OAAO,IAAIuB,kBAAkB,QAAQ,yCAAsC;AACpF,SAASvB,OAAO,IAAIwB,gBAAgB,QAAQ,oCAAoC;AAChF,SAASxB,OAAO,IAAIyB,gBAAgB,QAAQ,uCAAoC;AAChF,SAASzB,OAAO,IAAI0B,UAAU,QAAQ,iCAA8B;AAEpE,cAAc,mBAAgB;AAC9B,cAAc,iBAAc;AAC5B,cAAc,oBAAiB;AAC/B,cAAc,kBAAe;AAC7B,cAAc,uBAAoB;AAClC,cAAc,sBAAmB;AACjC,cAAc,kBAAe;AAC7B,cAAc,kBAAe;AAC7B,cAAc,iBAAc;AAE5B,cAAc,mBAAgB;AAC9B,cAAc,iBAAc;AAC5B,cAAc,iBAAc;AAC5B,cAAc,oBAAiB;AAC/B,cAAc,oBAAiB;AAC/B,cAAc,qBAAkB;AAChC,cAAc,kBAAe;AAC7B,cAAc,uBAAoB;AAClC,cAAc,sBAAmB;AACjC,cAAc,mBAAgB;AAC9B,cAAc,kBAAe;AAC7B,cAAc,mBAAgB;AAC9B,cAAc,iBAAc;AAC5B,cAAc,kBAAe;AAC7B,cAAc,iBAAc;AAE5B,cAAc,yBAAsB;AACpC,cAAc,0BAAuB;AACrC,cAAc,yBAAsB;AACpC,cAAc,wBAAqB;AACnC,cAAc,uBAAoB;AAClC,cAAc,wBAAqB","ignoreList":[]}
|
|
@@ -4,20 +4,70 @@ import { withSpring, withTiming } from 'react-native-reanimated';
|
|
|
4
4
|
import { scheduleOnRN } from 'react-native-worklets';
|
|
5
5
|
|
|
6
6
|
/** @internal */
|
|
7
|
+
const _worklet_13505451669225_init_data = {
|
|
8
|
+
code: "function funcTs1(){const{cb,scheduleOnRN}=this.__closure;if(cb){scheduleOnRN(cb);}}",
|
|
9
|
+
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts",
|
|
10
|
+
sourceMap: "{\"version\":3,\"names\":[\"funcTs1\",\"cb\",\"scheduleOnRN\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts\"],\"mappings\":\"AAgBkC,SAAAA,OAAMA,CAAA,QAAAC,EAAA,CAAAC,YAAA,OAAAC,SAAA,CAClC,GAAIF,EAAE,CAAE,CACNC,YAAY,CAACD,EAAE,CAAC,CAClB,CACF\",\"ignoreList\":[]}"
|
|
11
|
+
};
|
|
7
12
|
export function updateSharedValWithTiming(sharedVal, toVal, userConfig, cb) {
|
|
8
|
-
sharedVal.set(withTiming(toVal, userConfig, (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})
|
|
13
|
+
sharedVal.set(withTiming(toVal, userConfig, function funcTs1Factory({
|
|
14
|
+
_worklet_13505451669225_init_data,
|
|
15
|
+
cb,
|
|
16
|
+
scheduleOnRN
|
|
17
|
+
}) {
|
|
18
|
+
const _e = [new global.Error(), -3, -27];
|
|
19
|
+
const funcTs1 = function () {
|
|
20
|
+
if (cb) {
|
|
21
|
+
scheduleOnRN(cb);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
funcTs1.__closure = {
|
|
25
|
+
cb,
|
|
26
|
+
scheduleOnRN
|
|
27
|
+
};
|
|
28
|
+
funcTs1.__workletHash = 13505451669225;
|
|
29
|
+
funcTs1.__pluginVersion = "0.8.3";
|
|
30
|
+
funcTs1.__initData = _worklet_13505451669225_init_data;
|
|
31
|
+
funcTs1.__stackDetails = _e;
|
|
32
|
+
return funcTs1;
|
|
33
|
+
}({
|
|
34
|
+
_worklet_13505451669225_init_data,
|
|
35
|
+
cb,
|
|
36
|
+
scheduleOnRN
|
|
37
|
+
})));
|
|
13
38
|
}
|
|
14
39
|
|
|
15
40
|
/** @internal */
|
|
41
|
+
const _worklet_6658021221194_init_data = {
|
|
42
|
+
code: "function funcTs2(){const{cb,scheduleOnRN}=this.__closure;if(cb){scheduleOnRN(cb);}}",
|
|
43
|
+
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts",
|
|
44
|
+
sourceMap: "{\"version\":3,\"names\":[\"funcTs2\",\"cb\",\"scheduleOnRN\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts\"],\"mappings\":\"AAgCkC,SAAAA,OAAMA,CAAA,QAAAC,EAAA,CAAAC,YAAA,OAAAC,SAAA,CAClC,GAAIF,EAAE,CAAE,CACNC,YAAY,CAACD,EAAE,CAAC,CAClB,CACF\",\"ignoreList\":[]}"
|
|
45
|
+
};
|
|
16
46
|
export function updateSharedValWithSpring(sharedVal, toVal, userConfig, cb) {
|
|
17
|
-
sharedVal.set(withSpring(toVal, userConfig, (
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
})
|
|
47
|
+
sharedVal.set(withSpring(toVal, userConfig, function funcTs2Factory({
|
|
48
|
+
_worklet_6658021221194_init_data,
|
|
49
|
+
cb,
|
|
50
|
+
scheduleOnRN
|
|
51
|
+
}) {
|
|
52
|
+
const _e = [new global.Error(), -3, -27];
|
|
53
|
+
const funcTs2 = function () {
|
|
54
|
+
if (cb) {
|
|
55
|
+
scheduleOnRN(cb);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
funcTs2.__closure = {
|
|
59
|
+
cb,
|
|
60
|
+
scheduleOnRN
|
|
61
|
+
};
|
|
62
|
+
funcTs2.__workletHash = 6658021221194;
|
|
63
|
+
funcTs2.__pluginVersion = "0.8.3";
|
|
64
|
+
funcTs2.__initData = _worklet_6658021221194_init_data;
|
|
65
|
+
funcTs2.__stackDetails = _e;
|
|
66
|
+
return funcTs2;
|
|
67
|
+
}({
|
|
68
|
+
_worklet_6658021221194_init_data,
|
|
69
|
+
cb,
|
|
70
|
+
scheduleOnRN
|
|
71
|
+
})));
|
|
22
72
|
}
|
|
23
73
|
//# sourceMappingURL=func.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["withSpring","withTiming","scheduleOnRN","updateSharedValWithTiming","sharedVal","toVal","userConfig","cb","set","updateSharedValWithSpring"],"sourceRoot":"../../../../src","sources":["utils/reanimated/func.ts"],"mappings":";;AAKA,SAASA,UAAU,EAAEC,UAAU,QAAQ,yBAAyB;AAChE,SAASC,YAAY,QAAQ,uBAAuB;;AAEpD;AACA,OAAO,SAASC,yBAAyBA,CACvCC,SAA8B,EAC9BC,KAAa,EACbC,UAA6B,EAC7BC,EAAe,EACf;EACAH,SAAS,CAACI,GAAG,
|
|
1
|
+
{"version":3,"names":["withSpring","withTiming","scheduleOnRN","_worklet_13505451669225_init_data","code","location","sourceMap","updateSharedValWithTiming","sharedVal","toVal","userConfig","cb","set","funcTs1Factory","_e","global","Error","funcTs1","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","_worklet_6658021221194_init_data","updateSharedValWithSpring","funcTs2Factory","funcTs2"],"sourceRoot":"../../../../src","sources":["utils/reanimated/func.ts"],"mappings":";;AAKA,SAASA,UAAU,EAAEC,UAAU,QAAQ,yBAAyB;AAChE,SAASC,YAAY,QAAQ,uBAAuB;;AAEpD;AAAA,MAAAC,iCAAA;EAAAC,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AACA,OAAO,SAASC,yBAAyBA,CACvCC,SAA8B,EAC9BC,KAAa,EACbC,UAA6B,EAC7BC,EAAe,EACf;EACAH,SAAS,CAACI,GAAG,CACXX,UAAU,CAACQ,KAAK,EAAEC,UAAU,EAAE,SAAAG,eAAA;IAAAV,iCAAA;IACxBQ,EAAE;IACJT;EAAY;IAAA,MAAAY,EAAA,QAAAC,MAAA,CAAAC,KAAA;IAAA,MAAAC,OAAA,YAAAA,CAAA,EAFoB;MAClC,IAAIN,EAAE,EAAE;QACNT,YAAY,CAACS,EAAE,CAAC;MAClB;IACF,CAAC;IAAAM,OAAA,CAAAC,SAAA;MAHKP,EAAE;MACJT;IAAY;IAAAe,OAAA,CAAAE,aAAA;IAAAF,OAAA,CAAAG,eAAA;IAAAH,OAAA,CAAAI,UAAA,GAAAlB,iCAAA;IAAAc,OAAA,CAAAK,cAAA,GAAAR,EAAA;IAAA,OAAAG,OAAA;EAAA,CAFc;IAAAd,iCAAA;IACxBQ,EAAE;IACJT;EAAY,EAEf,CACH,CAAC;AACH;;AAEA;AAAA,MAAAqB,gCAAA;EAAAnB,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AACA,OAAO,SAASkB,yBAAyBA,CACvChB,SAA8B,EAC9BC,KAAa,EACbC,UAA6B,EAC7BC,EAAe,EACf;EACAH,SAAS,CAACI,GAAG,CACXZ,UAAU,CAACS,KAAK,EAAEC,UAAU,EAAE,SAAAe,eAAA;IAAAF,gCAAA;IACxBZ,EAAE;IACJT;EAAY;IAAA,MAAAY,EAAA,QAAAC,MAAA,CAAAC,KAAA;IAAA,MAAAU,OAAA,YAAAA,CAAA,EAFoB;MAClC,IAAIf,EAAE,EAAE;QACNT,YAAY,CAACS,EAAE,CAAC;MAClB;IACF,CAAC;IAAAe,OAAA,CAAAR,SAAA;MAHKP,EAAE;MACJT;IAAY;IAAAwB,OAAA,CAAAP,aAAA;IAAAO,OAAA,CAAAN,eAAA;IAAAM,OAAA,CAAAL,UAAA,GAAAE,gCAAA;IAAAG,OAAA,CAAAJ,cAAA,GAAAR,EAAA;IAAA,OAAAY,OAAA;EAAA,CAFc;IAAAH,gCAAA;IACxBZ,EAAE;IACJT;EAAY,EAEf,CACH,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
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":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAErE,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,yBAAyB,CAM5D,CAAC;AAEF,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":"AASA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAerE,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA6CjD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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 +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":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAMvE,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAuCrD,CAAC;AAEF,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":"AAEA,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,wBAAwB,CAAC;AAKhC,QAAA,MAAM,0BAA0B,EAAE,EAAE,CAClC,IAAI,CAAC,wBAAwB,EAAE,WAAW,CAAC,CAkB5C,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** @internal */
|
|
2
|
-
import { type FC } from 'react';
|
|
3
1
|
import type { ActionSheetOptionsProps } from '../../../types/overlay';
|
|
4
2
|
declare const ActionSheetOptionList: FC<Pick<ActionSheetOptionsProps, 'options' | 'optionListProps' | 'optionListItemProps'>>;
|
|
5
3
|
export default ActionSheetOptionList;
|
|
@@ -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":"AAOA,OAAO,KAAK,EAIV,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAMhC,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAC7B,IAAI,CACF,uBAAuB,EACvB,SAAS,GAAG,iBAAiB,GAAG,qBAAqB,CACtD,CA0BF,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
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":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAOhC,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,aAAa,CAAC,iBAAiB,CAAC,CA0BnE,CAAC;AAEF,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":"AAMA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAMtE,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA8CnD,CAAC;AAEF,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":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAMzE,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CA0CzD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** @internal */
|
|
2
|
-
import { type FC } from 'react';
|
|
3
1
|
import type { ActionSheetScrollViewProps } from '../../../types/overlay';
|
|
4
2
|
import type { PropsWithRequiredChildren } from '../../../types/view';
|
|
5
3
|
declare const ActionSheetScrollViewContent: FC<PropsWithRequiredChildren<Pick<ActionSheetScrollViewProps, 'scrollViewProps'>>>;
|
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":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAEV,yBAAyB,EAE1B,MAAM,qBAAqB,CAAC;AAK7B,QAAA,MAAM,4BAA4B,EAAE,EAAE,CACpC,yBAAyB,CAAC,IAAI,CAAC,0BAA0B,EAAE,iBAAiB,CAAC,CAAC,CAsB/E,CAAC;AAEF,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":"AAIA,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,wBAAwB,CAAC;AAQhC,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAyD7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
1
2
|
import type { SliderProps } from '../../types/slider';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
3
|
+
declare const Slider: FC<SliderProps>;
|
|
4
|
+
export default Slider;
|
|
4
5
|
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/components/slider/Slider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/components/slider/Slider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAUpE,OAAO,KAAK,EAEV,WAAW,EAEZ,MAAM,oBAAoB,CAAC;AAU5B,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CA6N3B,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedSlider.d.ts","sourceRoot":"","sources":["../../../../../src/components/slider/ThemedSlider.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ThemedSlider.d.ts","sourceRoot":"","sources":["../../../../../src/components/slider/ThemedSlider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAIjD,OAAO,KAAK,EAAe,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAYzE,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAkFvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { ThemedSliderStepIndicatorProps } from '../../types/slider';
|
|
2
|
+
declare const ThemedSliderStepIndicator: FC<ThemedSliderStepIndicatorProps>;
|
|
3
|
+
export default ThemedSliderStepIndicator;
|
|
3
4
|
//# sourceMappingURL=ThemedSliderStepIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedSliderStepIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/slider/ThemedSliderStepIndicator.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ThemedSliderStepIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/slider/ThemedSliderStepIndicator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAIzE,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CAcjE,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** @internal */
|
|
2
|
-
import { View } from 'react-native';
|
|
3
1
|
declare const AnimatedView: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<import("react-native").ViewProps>, typeof View>;
|
|
4
2
|
export default AnimatedView;
|
|
5
3
|
//# sourceMappingURL=AnimatedView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/AnimatedView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnimatedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/AnimatedView.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,yJAAyC,CAAC;AAE5D,eAAe,YAAY,CAAC"}
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import type { ScrollView } from 'react-native';
|
|
2
2
|
import type { ListAnimatedRefObj, ListRef } from '../types/list';
|
|
3
|
-
import type { ActionSheetContextVal, ActionSheetListViewProps, ActionSheetOptionListProps, ActionSheetOptions, ActionSheetScrollViewProps, OverlayDismissActionSheetResult, OverlayOnDismiss } from '../types/overlay';
|
|
4
3
|
import type { ScrollViewAnimatedRefObj } from '../types/view';
|
|
5
|
-
/** @internal */
|
|
6
|
-
export declare function useActionSheetContext(): Partial<ActionSheetContextVal>;
|
|
7
|
-
/** @internal */
|
|
8
|
-
export declare function useActionSheetOnDismiss(force?: boolean): (text?: string) => void;
|
|
9
|
-
/** @internal */
|
|
10
|
-
export declare function useActionSheetGesture(contentGesture?: boolean): import("react-native-gesture-handler/lib/typescript/handlers/gestures/panGesture").PanGesture;
|
|
11
|
-
/** @internal */
|
|
12
|
-
export declare function useActionSheetHeaderMinHeight(): number;
|
|
13
|
-
/** @internal */
|
|
14
|
-
export declare function useActionSheetContentGesture(): import("react-native-gesture-handler/lib/typescript/handlers/gestures/gestureComposition").SimultaneousGesture;
|
|
15
4
|
export declare function useActionSheetListViewAnimatedRef<T>(): import("react-native-reanimated").AnimatedRef<ListRef<T>>;
|
|
16
5
|
export declare function useActionSheetScrollViewAnimatedRef(): import("react-native-reanimated").AnimatedRef<ScrollView>;
|
|
17
6
|
/** @interal */
|
|
@@ -24,20 +13,4 @@ export declare function useActionSheetScrollViewRefAndOffset(refObj?: ScrollView
|
|
|
24
13
|
scrollViewAnimatedRefObj: ScrollViewAnimatedRefObj;
|
|
25
14
|
contentOffsetSharedVal: import("react-native-reanimated").SharedValue<number>;
|
|
26
15
|
};
|
|
27
|
-
/** @internal */
|
|
28
|
-
export declare function useActionSheetVisible(visible?: boolean): {
|
|
29
|
-
actionSheetVisible: boolean;
|
|
30
|
-
setActionSheetVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
31
|
-
};
|
|
32
|
-
/** @internal */
|
|
33
|
-
export declare function useActionSheetOpts(title: string | undefined, expandable: boolean | undefined, options: ActionSheetOptions, optionListProps: ActionSheetOptionListProps | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, dismissable: boolean | undefined, actionSheetVisible: boolean): ActionSheetContextVal;
|
|
34
|
-
/** @internal */
|
|
35
|
-
export declare function useActionSheetOptItemSize({ insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }?: ActionSheetOptionListProps): {
|
|
36
|
-
itemSize: number;
|
|
37
|
-
insetsStyle: Pick<import("react-native").ViewStyle, "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft">;
|
|
38
|
-
};
|
|
39
|
-
/** @internal */
|
|
40
|
-
export declare function useActionSheetScrollView(title: string | undefined, expandable: boolean | undefined, scrollViewProps: ActionSheetScrollViewProps['scrollViewProps'] | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, dismissable: boolean | undefined, actionSheetVisible: boolean): ActionSheetContextVal;
|
|
41
|
-
/** @internal */
|
|
42
|
-
export declare function useActionSheetListView(title: string | undefined, expandable: boolean | undefined, listProps: ActionSheetListViewProps['listProps'] | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, dismissable: boolean | undefined, actionSheetVisible: boolean): ActionSheetContextVal;
|
|
43
16
|
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/overlay.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAU/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/overlay.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAU/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAWjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AA+L9D,wBAAgB,iCAAiC,CAAC,CAAC,+DAElD;AAED,wBAAgB,mCAAmC,8DAElD;AAED,eAAe;AACf,wBAAgB,kCAAkC,CAAC,CAAC,EAClD,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC;;;EAa/B;AAED,eAAe;AACf,wBAAgB,oCAAoC,CAClD,MAAM,CAAC,EAAE,wBAAwB;;;EAalC"}
|
|
@@ -1,21 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ThemedSwitchProps } from '../types/switch';
|
|
3
|
-
import { BorderSize } from '../utils/theme/const';
|
|
4
|
-
/** @internal */
|
|
5
|
-
export declare function useThemedSwitch(onPress: ThemedSwitchProps['onPress'], enabled?: ThemedSwitchProps['enabled'], size?: ThemedSwitchProps['size'], onPressDelayConfig?: ThemedSwitchProps['onPressDelayConfig'], customEnableAnimation?: ThemedSwitchProps['customEnableAnimation'], customDisableAnimation?: ThemedSwitchProps['customDisableAnimation'], customColors?: ThemedSwitchProps['customColors']): {
|
|
6
|
-
toggleSwitch: PressableOnPress;
|
|
7
|
-
trackAnimatedStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
|
|
8
|
-
width: number;
|
|
9
|
-
padding: import("..").Spacing;
|
|
10
|
-
borderWidth: BorderSize;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
backgroundColor: string;
|
|
13
|
-
}>;
|
|
14
|
-
thumbAnimatedStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
|
|
15
|
-
backgroundColor: string;
|
|
16
|
-
transform: {
|
|
17
|
-
translateX: number;
|
|
18
|
-
}[];
|
|
19
|
-
}>;
|
|
20
|
-
};
|
|
1
|
+
export {};
|
|
21
2
|
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/hooks/switch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/hooks/switch.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FlashListProps, FlashListRef, ListRenderItemInfo } from '@shopify/flash-list';
|
|
2
|
-
import type { ComponentType,
|
|
2
|
+
import type { ComponentType, RefObject } from 'react';
|
|
3
3
|
import type { ViewStyle } from 'react-native';
|
|
4
4
|
import type { AnimatedRef } from 'react-native-reanimated';
|
|
5
5
|
import type { ThemedSeparatorProps } from './separator';
|
|
@@ -22,15 +22,6 @@ export type ListItemSeparatorProps = Partial<Pick<ThemedSeparatorProps, 'size' |
|
|
|
22
22
|
backgroundColor: ThemeColors;
|
|
23
23
|
style: Omit<ThemedSeparatorProps, 'size' | 'vertical' | 'backgroundColor' | 'bg'>;
|
|
24
24
|
}>;
|
|
25
|
-
/** @internal */
|
|
26
|
-
export type ListItemSeparatorComponent = FC<{
|
|
27
|
-
leadingItem?: {
|
|
28
|
-
type: string;
|
|
29
|
-
};
|
|
30
|
-
trailingItem?: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
}>;
|
|
34
25
|
export type ListCellRendererComponentProps = PropsWithRequiredChildren<{
|
|
35
26
|
onLayout: () => void;
|
|
36
27
|
index: number;
|