@jamadd/react-native-template-ui 0.16.2 → 0.17.0

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.
Files changed (60) hide show
  1. package/lib/module/components/list/List.js +2 -2
  2. package/lib/module/components/list/List.js.map +1 -1
  3. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +21 -13
  4. package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
  5. package/lib/module/components/overlay/alert/AlertWrap.js +11 -7
  6. package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
  7. package/lib/module/components/overlay/contextMenu/ContextMenu.js.map +1 -1
  8. package/lib/module/components/overlay/modal/ThemedModal.js +33 -19
  9. package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -1
  10. package/lib/module/components/overlay/toast/ThemedToast.js +8 -4
  11. package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
  12. package/lib/module/components/slider/Slider.js +42 -24
  13. package/lib/module/components/slider/Slider.js.map +1 -1
  14. package/lib/module/components/view/ThemedScrollView.js +2 -2
  15. package/lib/module/components/view/ThemedScrollView.js.map +1 -1
  16. package/lib/module/hooks/button.js +36 -23
  17. package/lib/module/hooks/button.js.map +1 -1
  18. package/lib/module/hooks/overlay.js +9 -6
  19. package/lib/module/hooks/overlay.js.map +1 -1
  20. package/lib/module/hooks/style.js +1 -2
  21. package/lib/module/hooks/style.js.map +1 -1
  22. package/lib/module/hooks/switch.js +16 -10
  23. package/lib/module/hooks/switch.js.map +1 -1
  24. package/lib/module/hooks/textInput.js.map +1 -1
  25. package/lib/module/hooks/view.js +3 -4
  26. package/lib/module/hooks/view.js.map +1 -1
  27. package/lib/module/utils/reanimated/func.js +8 -4
  28. package/lib/module/utils/reanimated/func.js.map +1 -1
  29. package/lib/module/utils/style/func.js.map +1 -1
  30. package/lib/typescript/src/components/button/AnimatedPressable.d.ts +7 -1
  31. package/lib/typescript/src/components/button/AnimatedPressable.d.ts.map +1 -1
  32. package/lib/typescript/src/components/list/List.d.ts.map +1 -1
  33. package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts.map +1 -1
  34. package/lib/typescript/src/components/text/Text.d.ts +6 -6
  35. package/lib/typescript/src/components/view/AnimatedView.d.ts +7 -3
  36. package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -1
  37. package/lib/typescript/src/components/view/Box.d.ts +22 -106
  38. package/lib/typescript/src/components/view/Box.d.ts.map +1 -1
  39. package/lib/typescript/src/components/view/ThemedScrollView.d.ts.map +1 -1
  40. package/lib/typescript/src/hooks/button.d.ts +2 -4
  41. package/lib/typescript/src/hooks/button.d.ts.map +1 -1
  42. package/lib/typescript/src/hooks/overlay.d.ts +11 -3
  43. package/lib/typescript/src/hooks/overlay.d.ts.map +1 -1
  44. package/lib/typescript/src/hooks/style.d.ts +4 -4
  45. package/lib/typescript/src/hooks/style.d.ts.map +1 -1
  46. package/lib/typescript/src/hooks/textInput.d.ts +2 -3
  47. package/lib/typescript/src/hooks/textInput.d.ts.map +1 -1
  48. package/lib/typescript/src/hooks/view.d.ts +5 -7
  49. package/lib/typescript/src/hooks/view.d.ts.map +1 -1
  50. package/lib/typescript/src/types/style.d.ts +2 -2
  51. package/lib/typescript/src/types/style.d.ts.map +1 -1
  52. package/lib/typescript/src/types/textInput.d.ts +3 -2
  53. package/lib/typescript/src/types/textInput.d.ts.map +1 -1
  54. package/lib/typescript/src/types/view.d.ts +4 -4
  55. package/lib/typescript/src/types/view.d.ts.map +1 -1
  56. package/lib/typescript/src/utils/style/func.d.ts +6 -5
  57. package/lib/typescript/src/utils/style/func.d.ts.map +1 -1
  58. package/lib/typescript/src/utils/theme/restyle.d.ts +828 -689
  59. package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -1
  60. package/package.json +12 -12
@@ -730,7 +730,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
730
730
  desktop: number;
731
731
  }> | undefined;
732
732
  } & {
733
- shadowOpacity?: import("@shopify/restyle").ResponsiveValue<import("react-native").AnimatableNumericValue | undefined, {
733
+ shadowOpacity?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
734
734
  smallPhone: number;
735
735
  phone: number;
736
736
  smallTablet: number;
@@ -738,8 +738,8 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
738
738
  desktop: number;
739
739
  }>;
740
740
  shadowOffset?: import("@shopify/restyle").ResponsiveValue<Readonly<{
741
- width: number;
742
- height: number;
741
+ width?: number | undefined;
742
+ height?: number | undefined;
743
743
  }> | undefined, {
744
744
  smallPhone: number;
745
745
  phone: number;
@@ -770,55 +770,13 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
770
770
  desktop: number;
771
771
  }> | undefined;
772
772
  } & {
773
- position?: import("@shopify/restyle").ResponsiveValue<"absolute" | "relative" | "static" | undefined, {
774
- smallPhone: number;
775
- phone: number;
776
- smallTablet: number;
777
- tablet: number;
778
- desktop: number;
779
- }>;
780
- top?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
781
- smallPhone: number;
782
- phone: number;
783
- smallTablet: number;
784
- tablet: number;
785
- desktop: number;
786
- }>;
787
- right?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
788
- smallPhone: number;
789
- phone: number;
790
- smallTablet: number;
791
- tablet: number;
792
- desktop: number;
793
- }>;
794
- bottom?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
795
- smallPhone: number;
796
- phone: number;
797
- smallTablet: number;
798
- tablet: number;
799
- desktop: number;
800
- }>;
801
- left?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
802
- smallPhone: number;
803
- phone: number;
804
- smallTablet: number;
805
- tablet: number;
806
- desktop: number;
807
- }>;
808
- start?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
809
- smallPhone: number;
810
- phone: number;
811
- smallTablet: number;
812
- tablet: number;
813
- desktop: number;
814
- }>;
815
- end?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
816
- smallPhone: number;
817
- phone: number;
818
- smallTablet: number;
819
- tablet: number;
820
- desktop: number;
821
- }>;
773
+ position?: any;
774
+ top?: any;
775
+ right?: any;
776
+ bottom?: any;
777
+ left?: any;
778
+ start?: any;
779
+ end?: any;
822
780
  } & {
823
781
  zIndex?: import("@shopify/restyle").ResponsiveValue<"base" | "bottom" | "middle" | "top", {
824
782
  smallPhone: number;
@@ -1051,7 +1009,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
1051
1009
  };
1052
1010
  }> & Omit<import("react-native").ViewProps & {
1053
1011
  children?: React.ReactNode;
1054
- }, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "opacity" | "visible" | "shadowColor" | "zIndex" | "bg"> & import("react").RefAttributes<unknown>> & {
1012
+ }, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "backgroundColor" | "opacity" | "elevation" | "end" | "left" | "right" | "start" | "position" | "zIndex" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "visible" | "bg"> & import("react").RefAttributes<unknown>> & {
1055
1013
  defaultProps?: Partial<import("@shopify/restyle").BackgroundColorProps<{
1056
1014
  colors: {
1057
1015
  transparent: import("../../index.js").Palette;
@@ -1779,7 +1737,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
1779
1737
  desktop: number;
1780
1738
  }> | undefined;
1781
1739
  } & {
1782
- shadowOpacity?: import("@shopify/restyle").ResponsiveValue<import("react-native").AnimatableNumericValue | undefined, {
1740
+ shadowOpacity?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
1783
1741
  smallPhone: number;
1784
1742
  phone: number;
1785
1743
  smallTablet: number;
@@ -1787,8 +1745,8 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
1787
1745
  desktop: number;
1788
1746
  }>;
1789
1747
  shadowOffset?: import("@shopify/restyle").ResponsiveValue<Readonly<{
1790
- width: number;
1791
- height: number;
1748
+ width?: number | undefined;
1749
+ height?: number | undefined;
1792
1750
  }> | undefined, {
1793
1751
  smallPhone: number;
1794
1752
  phone: number;
@@ -1819,55 +1777,13 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
1819
1777
  desktop: number;
1820
1778
  }> | undefined;
1821
1779
  } & {
1822
- position?: import("@shopify/restyle").ResponsiveValue<"absolute" | "relative" | "static" | undefined, {
1823
- smallPhone: number;
1824
- phone: number;
1825
- smallTablet: number;
1826
- tablet: number;
1827
- desktop: number;
1828
- }>;
1829
- top?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
1830
- smallPhone: number;
1831
- phone: number;
1832
- smallTablet: number;
1833
- tablet: number;
1834
- desktop: number;
1835
- }>;
1836
- right?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
1837
- smallPhone: number;
1838
- phone: number;
1839
- smallTablet: number;
1840
- tablet: number;
1841
- desktop: number;
1842
- }>;
1843
- bottom?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
1844
- smallPhone: number;
1845
- phone: number;
1846
- smallTablet: number;
1847
- tablet: number;
1848
- desktop: number;
1849
- }>;
1850
- left?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
1851
- smallPhone: number;
1852
- phone: number;
1853
- smallTablet: number;
1854
- tablet: number;
1855
- desktop: number;
1856
- }>;
1857
- start?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
1858
- smallPhone: number;
1859
- phone: number;
1860
- smallTablet: number;
1861
- tablet: number;
1862
- desktop: number;
1863
- }>;
1864
- end?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
1865
- smallPhone: number;
1866
- phone: number;
1867
- smallTablet: number;
1868
- tablet: number;
1869
- desktop: number;
1870
- }>;
1780
+ position?: any;
1781
+ top?: any;
1782
+ right?: any;
1783
+ bottom?: any;
1784
+ left?: any;
1785
+ start?: any;
1786
+ end?: any;
1871
1787
  } & {
1872
1788
  zIndex?: import("@shopify/restyle").ResponsiveValue<"base" | "bottom" | "middle" | "top", {
1873
1789
  smallPhone: number;
@@ -2100,7 +2016,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
2100
2016
  };
2101
2017
  }> & Omit<import("react-native").ViewProps & {
2102
2018
  children?: React.ReactNode;
2103
- }, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowOpacity" | "shadowOffset" | "shadowRadius" | "elevation" | "position" | "right" | "left" | "start" | "end" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "backgroundColor" | "opacity" | "visible" | "shadowColor" | "zIndex" | "bg"> & import("react").RefAttributes<unknown>> | undefined;
2019
+ }, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "backgroundColor" | "opacity" | "elevation" | "end" | "left" | "right" | "start" | "position" | "zIndex" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "visible" | "bg"> & import("react").RefAttributes<unknown>> | undefined;
2104
2020
  };
2105
2021
  export default Box;
2106
2022
  //# sourceMappingURL=Box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/Box.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqB,CAAC;AAE/B,eAAe,GAAG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ThemedScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/ThemedScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAkB,CAAC;AAI9D;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA2C/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"ThemedScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/ThemedScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAkB,CAAC;AAI9D;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA6C/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { AnimatedThemedPressableProps, OnPressDelayConfig, PressableOnPress, ThemedPressableProps } from '../types/button.js';
1
+ import type { AnimatedPressableProps, AnimatedThemedPressableProps, OnPressDelayConfig, PressableOnPress, ThemedPressableProps } from '../types/button.js';
2
2
  /**
3
3
  * Hook to wrap an onPress handler with debounce or throttle behavior.
4
4
  * @param onPress - The press handler function to be delayed
@@ -42,7 +42,5 @@ export declare function useThemedPressable({ onPress, scaleRatio, onPressDelayCo
42
42
  * onPressDelayConfig: { type: OnPressDelayType.Throttle, wait: 1000 }
43
43
  * });
44
44
  */
45
- export declare function useAnimatedThemedPressable({ onPress, onPressDelayConfig, animatedStyle, ...props }: AnimatedThemedPressableProps): Omit<Omit<import("react-native-reanimated").AnimatedProps<Readonly<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>>, "ref"> & {
46
- ref?: (import("react-native-reanimated").AnimatedRef | import("react").Ref<import("react-native").View> | import("react-native-reanimated").AnimatedRef<import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>>) | undefined;
47
- }, "key">;
45
+ export declare function useAnimatedThemedPressable({ onPress, onPressDelayConfig, animatedStyle, ...props }: AnimatedThemedPressableProps): Omit<AnimatedPressableProps, 'key'>;
48
46
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/hooks/button.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,4BAA4B,EAC5B,kBAAkB,EAClB,gBAAgB,EAEhB,oBAAoB,EACrB,MAAM,oBAAiB,CAAC;AASzB;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,gBAAgB,GAAG,IAAI,EAChC,kBAAkB,CAAC,EAAE,kBAAkB,oBAqDxC;AAiCD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,UAAU,EACV,kBAAkB,EAClB,GAAG,KAAK,EACT,EAAE,oBAAoB,wBAetB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,kBAAkB,EAClB,aAAa,EACb,GAAG,KAAK,EACT,EAAE,4BAA4B;;UAmB9B"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/hooks/button.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,sBAAsB,EACtB,4BAA4B,EAC5B,kBAAkB,EAClB,gBAAgB,EAEhB,oBAAoB,EACrB,MAAM,oBAAiB,CAAC;AASzB;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,gBAAgB,GAAG,IAAI,EAChC,kBAAkB,CAAC,EAAE,kBAAkB,oBAqDxC;AAwCD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,UAAU,EACV,kBAAkB,EAClB,GAAG,KAAK,EACT,EAAE,oBAAoB,wBAetB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,kBAAkB,EAClB,aAAa,EACb,GAAG,KAAK,EACT,EAAE,4BAA4B,GAAG,IAAI,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAiBpE"}
@@ -1,4 +1,4 @@
1
- import type { ScrollView } from 'react-native';
1
+ import type { ViewStyle } from 'react-native';
2
2
  import type { ListAnimatedRefObj, ListRef } from '../types/list.js';
3
3
  import type { ActionSheetContextVal, ActionSheetListViewProps, ActionSheetOptionListProps, ActionSheetOptions, ActionSheetScrollViewProps, OverlayDismissActionSheetResult, OverlayOnDismiss } from '../types/overlay.js';
4
4
  import type { ScrollViewAnimatedRefObj } from '../types/view.js';
@@ -13,7 +13,15 @@ export declare function useActionSheetHeaderMinHeight(): number;
13
13
  /** @internal */
14
14
  export declare function useActionSheetContentGesture(): import("react-native-gesture-handler").ComposedGesture;
15
15
  export declare function useActionSheetListViewAnimatedRef<T>(): import("react-native-reanimated").AnimatedRef<ListRef<T>>;
16
- export declare function useActionSheetScrollViewAnimatedRef(): import("react-native-reanimated").AnimatedRef<ScrollView>;
16
+ export declare function useActionSheetScrollViewAnimatedRef(): import("react-native-reanimated").AnimatedRef<((props: Omit<import("react-native").ScrollViewProps, keyof {
17
+ ref?: React.Ref<import("react-native").ScrollViewInstance> | undefined;
18
+ }> & {
19
+ ref?: React.Ref<import("react-native").ScrollViewInstance> | undefined;
20
+ }) => React.ReactNode) & Readonly<{
21
+ Context: import("react").Context<{
22
+ horizontal: boolean;
23
+ } | null>;
24
+ }>>;
17
25
  /** @interal */
18
26
  export declare function useActionSheetListViewRefAndOffset<T>(refObj?: ListAnimatedRefObj<T>): {
19
27
  listViewListAnimatedRefObj: ListAnimatedRefObj<T>;
@@ -34,7 +42,7 @@ export declare function useActionSheetOpts(title: string | undefined, expandable
34
42
  /** @internal */
35
43
  export declare function useActionSheetOptItemSize({ insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }?: ActionSheetOptionListProps): {
36
44
  itemSize: number;
37
- insetsStyle: Pick<import("react-native").ViewStyle, "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft">;
45
+ insetsStyle: Pick<ViewStyle, 'paddingTop' | 'paddingBottom' | 'paddingLeft' | 'paddingRight'>;
38
46
  };
39
47
  /** @internal */
40
48
  export declare function useActionSheetScrollView(title: string | undefined, expandable: boolean | undefined, scrollViewProps: ActionSheetScrollViewProps['scrollViewProps'] | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, dismissible: boolean | undefined, actionSheetVisible: boolean): ActionSheetContextVal;
@@ -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;AAc/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,kBAAe,CAAC;AACjE,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EAExB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA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,WAAW,EAAE,OAAO,GAAG,SAAS,EAChC,kBAAkB,EAAE,OAAO,yBA+C5B;AAED,gBAAgB;AAChB,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,UAAU,EAAE,OAAO,GAAG,SAAS,EAC/B,SAAS,EAAE,wBAAwB,CAAC,WAAW,CAAC,GAAG,SAAS,EAC5D,SAAS,EAAE,gBAAgB,CAAC,+BAA+B,CAAC,GAAG,SAAS,EACxE,WAAW,EAAE,OAAO,GAAG,SAAS,EAChC,kBAAkB,EAAE,OAAO,yBA+C5B"}
@@ -1,5 +1,5 @@
1
1
  import { type DependencyList } from 'react';
2
- import { type ReactNativeElement, type ViewStyle } from 'react-native';
2
+ import type { HostInstance, ViewStyle } from 'react-native';
3
3
  import type { InsetsStyleConfig } from '../types/style.js';
4
4
  import type { ThemeColors } from '../types/theme.js';
5
5
  import { ElementScreenPosition, Orientation, ShadowDirection } from '../utils/style/const.js';
@@ -24,7 +24,7 @@ import { ElementScreenPosition, Orientation, ShadowDirection } from '../utils/st
24
24
  * });
25
25
  * // Returns: { paddingTop: 44 + 16, paddingBottom: 34 + 16, ... }
26
26
  */
27
- export declare function useInsetsStyle({ insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }: InsetsStyleConfig): Pick<ViewStyle, "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft">;
27
+ export declare function useInsetsStyle({ insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }: InsetsStyleConfig): Pick<ViewStyle, 'paddingTop' | 'paddingBottom' | 'paddingLeft' | 'paddingRight'>;
28
28
  /**
29
29
  * Hook to get the window dimensions including width, height, scale, and fontScale.
30
30
  * @returns Object containing window dimensions { width, height, scale, fontScale }
@@ -32,7 +32,7 @@ export declare function useInsetsStyle({ insets, insetTop, insetBottom, insetLef
32
32
  * const { width, height } = useWindowDimensions();
33
33
  * console.log(`Screen size: ${width}x${height}`);
34
34
  */
35
- export declare function useWindowDimensions(): import("react-native").ScaledSize;
35
+ export declare function useWindowDimensions(): import("react-native").DisplayMetrics | import("react-native").DisplayMetricsAndroid;
36
36
  /**
37
37
  * Hook to get the current window width in pixels.
38
38
  * @returns The width of the window in pixels
@@ -85,7 +85,7 @@ export declare function useOrientation(): Orientation;
85
85
  * // Returns: { boxShadow: '0px 5px 10px rgba(0, 0, 0, 0.1)' }
86
86
  */
87
87
  export declare function useShadowStyle(direction: ShadowDirection, color?: ThemeColors): ViewStyle;
88
- export declare function useElementBoundingClientRect<T extends ReactNativeElement>(refreshElementBoundingClientRectDeps?: DependencyList): {
88
+ export declare function useElementBoundingClientRect<T extends HostInstance>(refreshElementBoundingClientRectDeps?: DependencyList): {
89
89
  ref: import("react").RefObject<T | null>;
90
90
  elementBoundingClientRect: DOMRect;
91
91
  elementScreenPosition: ElementScreenPosition;
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/hooks/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAgB,CAAC;AAClD,OAAO,EAEL,qBAAqB,EACrB,WAAW,EAGX,eAAe,EAChB,MAAM,yBAAsB,CAAC;AAI9B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,QAAQ,EACR,WAAW,EACX,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,iBAAiB,oFA6BnB;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wB,WAEvC;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,WAExC;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,WAE3C;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,gBAO7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAC5B,SAAS,EAAE,eAAe,EAC1B,KAAK,GAAE,WAAyB,GAC/B,SAAS,CAqBX;AAED,wBAAgB,4BAA4B,CAAC,CAAC,SAAS,YAAY,EACjE,oCAAoC,GAAE,cAAmB;;;;;EA+B1D"}
@@ -1,5 +1,4 @@
1
- import type { TextInput } from 'react-native';
2
- import type { TextInputProps, ThemedTextInputProps } from '../types/textInput.js';
1
+ import type { TextInputProps, TextInputRefObj, ThemedTextInputProps } from '../types/textInput.js';
3
2
  /** @internal */
4
3
  export declare function useThemedTextInput({ cursorColor, selectionHandleColor, underlineColorAndroid, placeholderTextColor, selectionColor, variant, ...props }: ThemedTextInputProps): {
5
4
  cursorColor: import("../index.js").Palette;
@@ -9,5 +8,5 @@ export declare function useThemedTextInput({ cursorColor, selectionHandleColor,
9
8
  selectionColor: import("../index.js").Palette;
10
9
  restyle: Omit<ThemedTextInputProps, "variant" | keyof TextInputProps>;
11
10
  };
12
- export declare function useTextInputRef(): import("react").RefObject<TextInput | null>;
11
+ export declare function useTextInputRef(): TextInputRefObj;
13
12
  //# sourceMappingURL=textInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../../src/hooks/textInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,uBAAoB,CAAC;AAU/E,gBAAgB;AAChB,wBAAgB,kBAAkB,CAAC,EACjC,WAAwB,EACxB,oBAAiC,EACjC,qBAAqB,EACrB,oBAAiC,EACjC,cAA4B,EAC5B,OAAqC,EACrC,GAAG,KAAK,EACT,EAAE,oBAAoB;;;;;;;EAwBtB;AAED,wBAAgB,eAAe,gDAE9B"}
1
+ {"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../../src/hooks/textInput.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,oBAAoB,EACrB,MAAM,uBAAoB,CAAC;AAU5B,gBAAgB;AAChB,wBAAgB,kBAAkB,CAAC,EACjC,WAAwB,EACxB,oBAAiC,EACjC,qBAAqB,EACrB,oBAAiC,EACjC,cAA4B,EAC5B,OAAqC,EACrC,GAAG,KAAK,EACT,EAAE,oBAAoB;;;;;;;EAwBtB;AAED,wBAAgB,eAAe,IAAI,eAAe,CAEjD"}
@@ -1,6 +1,6 @@
1
- import type { View, ViewStyle } from 'react-native';
1
+ import type { StyleProp, ViewStyle } from 'react-native';
2
2
  import type { InsetsStyleConfig } from '../types/style.js';
3
- import type { AnimatedThemedViewProps, ThemedScreenWrapProps } from '../types/view.js';
3
+ import type { AnimatedThemedViewProps, AnimatedViewProps, ThemedScreenWrapProps, ViewRefObj } from '../types/view.js';
4
4
  /**
5
5
  * Hook to create a ref for a View component.
6
6
  * @returns A mutable ref object for accessing the View instance
@@ -9,7 +9,7 @@ import type { AnimatedThemedViewProps, ThemedScreenWrapProps } from '../types/vi
9
9
  * <View ref={viewRef} />
10
10
  * // Later: viewRef.current?.measure(...)
11
11
  */
12
- export declare function useViewRef(): import("react").RefObject<View | null>;
12
+ export declare function useViewRef(): ViewRefObj;
13
13
  /**
14
14
  * Hook to create animated themed view props with reanimated support.
15
15
  * @param props - Animated themed view properties including theme props and animatedStyle
@@ -26,9 +26,7 @@ export declare function useViewRef(): import("react").RefObject<View | null>;
26
26
  * animatedStyle
27
27
  * });
28
28
  */
29
- export declare function useAnimatedThemedView({ animatedStyle, ...props }: AnimatedThemedViewProps): Omit<import("react-native-reanimated").AnimatedProps<Readonly<import("react-native").ViewProps>>, "ref"> & {
30
- ref?: (import("react-native-reanimated").AnimatedRef | import("react").Ref<View> | import("react-native-reanimated").AnimatedRef<typeof View>) | undefined;
31
- };
29
+ export declare function useAnimatedThemedView({ animatedStyle, ...props }: AnimatedThemedViewProps): AnimatedViewProps;
32
30
  /**
33
31
  * Hook to create themed screen wrap styles with safe area inset support and effect management.
34
32
  * @param props - Themed screen wrap properties including effect setup/cleanup and inset styles
@@ -41,5 +39,5 @@ export declare function useAnimatedThemedView({ animatedStyle, ...props }: Anima
41
39
  * insetPaddingTop: 'm',
42
40
  * });
43
41
  */
44
- export declare function useThemedScreenWrap({ effectSetup, effectCleanup, effectDependencies, style: themedScreenWrapStyle, insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }: Pick<ThemedScreenWrapProps, 'effectSetup' | 'effectCleanup' | 'effectDependencies' | 'style' | keyof InsetsStyleConfig>): import("react-native").StyleProp<ViewStyle>;
42
+ export declare function useThemedScreenWrap({ effectSetup, effectCleanup, effectDependencies, style: themedScreenWrapStyle, insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }: Pick<ThemedScreenWrapProps, 'effectSetup' | 'effectCleanup' | 'effectDependencies' | 'style' | keyof InsetsStyleConfig>): StyleProp<ViewStyle>;
45
43
  //# sourceMappingURL=view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/hooks/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAgB,CAAC;AACxD,OAAO,KAAK,EACV,uBAAuB,EAEvB,qBAAqB,EACtB,MAAM,kBAAe,CAAC;AAKvB;;;;;;;GAOG;AACH,wBAAgB,UAAU,2CAEzB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,aAAa,EACb,GAAG,KAAK,EACT,EAAE,uBAAuB;;EAczB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,aAAa,EACb,kBAAuB,EACvB,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EACN,QAAQ,EACR,WAAW,EACX,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,IAAI,CACL,qBAAqB,EACnB,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,OAAO,GACP,MAAM,iBAAiB,CAC1B,+CAoBA"}
1
+ {"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/hooks/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAgB,SAAS,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAgB,CAAC;AACxD,OAAO,KAAK,EACV,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,UAAU,EACX,MAAM,kBAAe,CAAC;AAKvB;;;;;;;GAOG;AACH,wBAAgB,UAAU,IAAI,UAAU,CAEvC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,aAAa,EACb,GAAG,KAAK,EACT,EAAE,uBAAuB,GAAG,iBAAiB,CAY7C;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,aAAa,EACb,kBAAuB,EACvB,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EACN,QAAQ,EACR,WAAW,EACX,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,IAAI,CACL,qBAAqB,EACnB,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,OAAO,GACP,MAAM,iBAAiB,CAC1B,GAAG,SAAS,CAAC,SAAS,CAAC,CAyBvB"}
@@ -1,5 +1,5 @@
1
1
  import type { RefObject } from 'react';
2
- import type { ImageStyle, ReactNativeElement, StyleProp as RNStyleProp, TextStyle, ViewStyle } from 'react-native';
2
+ import type { HostInstance, ImageStyle, StyleProp as RNStyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  import type { ThemeSpacing } from './theme.js';
4
4
  /**
5
5
  * Union type for all React Native style objects.
@@ -59,5 +59,5 @@ export type InsetsStyleConfig = {
59
59
  /** Spacing value for right inset (overrides insetsPadding) */
60
60
  insetPaddingRight?: ThemeSpacing;
61
61
  };
62
- export type ElementRefObject = RefObject<ReactNativeElement | null>;
62
+ export type ElementRefObject = RefObject<HostInstance | null>;
63
63
  //# sourceMappingURL=style.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/types/style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,UAAU,EACV,kBAAkB,EAClB,SAAS,IAAI,WAAW,EACxB,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAE5C;;;;GAIG;AACH,MAAM,MAAM,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEvD;;;;;GAKG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,KAAK,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;AAElD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAE3D;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,0CAA0C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AM,iBAAiB,GAAG;IAC9B,0CAA0C;IAC1C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,yCAAyC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gDAAgD;IAChD,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,4DAA4D;IAC5D,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,+DAA+D;IAC/D,kBAAkB,CAAC,EAAE,YAAY,CAAC;IAClC,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,8DAA8D;IAC9D,iBAAiB,CAAC,EAAE,YAAY,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import type { RefObject } from 'react';
2
- import type { TextInputProps as RNTextInputProps, TextInput } from 'react-native';
2
+ import type { TextInputProps as RNTextInputProps, TextInputInstance } from 'react-native';
3
3
  import type { ThemedTextProps } from './text.js';
4
4
  import type { ThemeColors } from './theme.js';
5
5
  import type { ThemedViewProps } from './view.js';
6
+ export type TextInputRefObj = RefObject<TextInputInstance | null>;
6
7
  /** @internal */
7
8
  export type TextInputProps = {
8
9
  cursorColor?: ThemeColors;
@@ -12,6 +13,6 @@ export type TextInputProps = {
12
13
  selectionColor?: ThemeColors;
13
14
  };
14
15
  export type ThemedTextInputProps = TextInputProps & Omit<RNTextInputProps, 'cursorColor' | 'selectionHandleColor' | 'underlineColorAndroid' | 'placeholderTextColor' | 'selectionColor'> & Omit<ThemedTextProps, 'children'> & Omit<ThemedViewProps, 'ref' | 'children'> & {
15
- ref?: RefObject<TextInput | null>;
16
+ ref?: TextInputRefObj;
16
17
  };
17
18
  //# sourceMappingURL=textInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../../src/types/textInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,cAAc,IAAI,gBAAgB,EAClC,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAQ,CAAC;AAE9C,gBAAgB;AAChB,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,qBAAqB,CAAC,EAAE,WAAW,CAAC;IACpC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,cAAc,CAAC,EAAE,WAAW,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAC/C,IAAI,CACF,gBAAgB,EACd,aAAa,GACb,sBAAsB,GACtB,uBAAuB,GACvB,sBAAsB,GACtB,gBAAgB,CACnB,GACD,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GACjC,IAAI,CAAC,eAAe,EAAE,KAAK,GAAG,UAAU,CAAC,GAAG;IAC1C,GAAG,CAAC,EAAE,SAAS,CAAC,SAAS,GAAG,IAAI,CAAC,CAAC;CACnC,CAAC"}
1
+ {"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../../src/types/textInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,cAAc,IAAI,gBAAgB,EAClC,iBAAiB,EAClB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAQ,CAAC;AAE9C,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;AAElE,gBAAgB;AAChB,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,qBAAqB,CAAC,EAAE,WAAW,CAAC;IACpC,oBAAoB,CAAC,EAAE,WAAW,CAAC;IACnC,cAAc,CAAC,EAAE,WAAW,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAC/C,IAAI,CACF,gBAAgB,EACd,aAAa,GACb,sBAAsB,GACtB,uBAAuB,GACvB,sBAAsB,GACtB,gBAAgB,CACnB,GACD,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GACjC,IAAI,CAAC,eAAe,EAAE,KAAK,GAAG,UAAU,CAAC,GAAG;IAC1C,GAAG,CAAC,EAAE,eAAe,CAAC;CACvB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { BoxProps } from '@shopify/restyle';
2
2
  import type { ComponentProps, DependencyList, ReactNode, RefObject } from 'react';
3
- import type { NativeScrollEvent, NativeSyntheticEvent, ScrollViewProps as RNScrollViewProps, ScrollView, View, ViewProps } from 'react-native';
3
+ import type { NativeScrollEvent, NativeSyntheticEvent, ScrollViewProps as RNScrollViewProps, ScrollViewInstance, ViewInstance, ViewProps } from 'react-native';
4
4
  import type { AnimatedRef } from 'react-native-reanimated';
5
5
  import type AnimatedView from '../components/view/AnimatedView.js';
6
6
  import type { InsetsStyleConfig } from './style.js';
@@ -10,19 +10,19 @@ import type { Theme } from './theme.js';
10
10
  *
11
11
  * Used to store and access view references in React components.
12
12
  */
13
- export type ViewRefObj = RefObject<View | null>;
13
+ export type ViewRefObj = RefObject<ViewInstance | null>;
14
14
  /**
15
15
  * RefObject for a React Native ScrollView component.
16
16
  *
17
17
  * Used to store and access scroll view references for programmatic scrolling.
18
18
  */
19
- export type ScrollViewRefObj = RefObject<ScrollView | null>;
19
+ export type ScrollViewRefObj = RefObject<ScrollViewInstance | null>;
20
20
  /**
21
21
  * Animated RefObject for a ScrollView component.
22
22
  *
23
23
  * Used with Reanimated for animated scroll operations and gesture handling.
24
24
  */
25
- export type ScrollViewAnimatedRefObj = AnimatedRef<ScrollView>;
25
+ export type ScrollViewAnimatedRefObj = AnimatedRef<ScrollViewInstance>;
26
26
  /**
27
27
  * Callback handler for scroll events.
28
28
  *
@@ -1 +1 @@
1
- {"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/types/view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,SAAS,EACT,SAAS,EACV,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,IAAI,iBAAiB,EACpC,UAAU,EACV,IAAI,EACJ,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,YAAY,MAAM,oCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AACjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAS,CAAC;AAErC;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;AAEhD;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;AAE5D;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,WAA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AS,CAAC,CAAC;CAClC,CAAC"}
@@ -1,4 +1,5 @@
1
- import type { ElementRefObject, Style, StyleOrStyleProp } from '../../types/style.js';
1
+ import type { StyleProp } from 'react-native';
2
+ import type { ElementRefObject, Style } from '../../types/style.js';
2
3
  /**
3
4
  * Creates a stylesheet from a style object with type safety.
4
5
  * Wrapper around React Native's StyleSheet.create for better type inference.
@@ -16,7 +17,7 @@ import type { ElementRefObject, Style, StyleOrStyleProp } from '../../types/styl
16
17
  * });
17
18
  * ```
18
19
  */
19
- export declare function createStyleSheet<T extends Record<string, Style>>(styles: T): T;
20
+ export declare function createStyleSheet<T extends Record<string, Style>>(styles: T): Readonly<T>;
20
21
  /**
21
22
  * Composes two style objects or style props into a single style.
22
23
  * Handles arrays, objects, and null/undefined values automatically.
@@ -30,7 +31,7 @@ export declare function createStyleSheet<T extends Record<string, Style>>(styles
30
31
  * const combinedStyle = composeStyles(baseStyle, overrideStyle);
31
32
  * ```
32
33
  */
33
- export declare function composeStyles<T extends Style>(style1?: StyleOrStyleProp<T>, style2?: StyleOrStyleProp<T>): import("react-native").StyleProp<T>;
34
+ export declare function composeStyles<T extends Style>(style1?: T, style2?: T): T | readonly T[] | null | undefined;
34
35
  /**
35
36
  * Flattens an array of styles into a single style object.
36
37
  * Useful for resolving style arrays into their final computed values.
@@ -44,7 +45,7 @@ export declare function composeStyles<T extends Style>(style1?: StyleOrStyleProp
44
45
  * console.log(flatStyle.backgroundColor); // Access resolved value
45
46
  * ```
46
47
  */
47
- export declare function flattenStyle<T extends Style>(style: StyleOrStyleProp<T>): T extends (infer U)[] ? U : T;
48
+ export declare function flattenStyle<T extends Style>(style: StyleProp<T>): T;
48
49
  /**
49
50
  * Gets the current window dimensions.
50
51
  *
@@ -55,7 +56,7 @@ export declare function flattenStyle<T extends Style>(style: StyleOrStyleProp<T>
55
56
  * const { width, height } = getWindowDimensions();
56
57
  * ```
57
58
  */
58
- export declare function getWindowDimensions(): import("react-native").ScaledSize;
59
+ export declare function getWindowDimensions(): import("react-native").DisplayMetrics | import("react-native").DisplayMetricsAndroid;
59
60
  /**
60
61
  * Gets the current window width in pixels.
61
62
  *
@@ -1 +1 @@
1
- {"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/func.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EACjB,MAAM,sBAAmB,CAAC;AAG3B;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,KAE1E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,EAC3C,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC5B,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,uCAG7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,iCAEvE;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,sCAElC;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,WAExC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,WAE3C;AAED,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAE3E"}
1
+ {"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/func.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,sBAAmB,CAAC;AAGjE;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,eAE1E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,EAAE,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,uCAEpE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,GAC3B,CAAC,CACtC;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,yFAElC;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,WAExC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,WAE3C;AAED,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAE3E"}