@jamadd/react-native-template-ui 0.20.14 → 0.21.1

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 (88) hide show
  1. package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +15 -10
  2. package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -1
  3. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +154 -67
  4. package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -1
  5. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +33 -26
  6. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -1
  7. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +19 -8
  8. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -1
  9. package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js +24 -13
  10. package/lib/module/components/overlay/actionSheet/ActionSheetOptionList.js.map +1 -1
  11. package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js +35 -28
  12. package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js.map +1 -1
  13. package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +33 -26
  14. package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -1
  15. package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +20 -9
  16. package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -1
  17. package/lib/module/hooks/overlay.js +125 -120
  18. package/lib/module/hooks/overlay.js.map +1 -1
  19. package/lib/module/hooks/theme.js.map +1 -1
  20. package/lib/module/utils/overlay/const.js +1 -3
  21. package/lib/module/utils/overlay/const.js.map +1 -1
  22. package/lib/module/utils/overlay/func.js +2 -2
  23. package/lib/module/utils/overlay/func.js.map +1 -1
  24. package/lib/typescript/src/components/button/AnimatedPressable.d.ts +0 -12
  25. package/lib/typescript/src/components/button/AnimatedPressable.d.ts.map +1 -1
  26. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +0 -8
  27. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -1
  28. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +0 -9
  29. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -1
  30. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts +0 -9
  31. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -1
  32. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +0 -9
  33. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -1
  34. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts +0 -9
  35. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts.map +1 -1
  36. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts +0 -10
  37. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts.map +1 -1
  38. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts +0 -9
  39. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts.map +1 -1
  40. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +0 -9
  41. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -1
  42. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +0 -10
  43. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -1
  44. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +0 -9
  45. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -1
  46. package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts +0 -8
  47. package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts.map +1 -1
  48. package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts +0 -8
  49. package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts.map +1 -1
  50. package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts +0 -8
  51. package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts.map +1 -1
  52. package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts +0 -13
  53. package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts.map +1 -1
  54. package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts +0 -9
  55. package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts.map +1 -1
  56. package/lib/typescript/src/components/text/Text.d.ts +0 -2476
  57. package/lib/typescript/src/components/text/Text.d.ts.map +1 -1
  58. package/lib/typescript/src/components/view/AnimatedView.d.ts +0 -12
  59. package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -1
  60. package/lib/typescript/src/components/view/Box.d.ts +0 -2342
  61. package/lib/typescript/src/components/view/Box.d.ts.map +1 -1
  62. package/lib/typescript/src/hooks/overlay.d.ts +1 -45
  63. package/lib/typescript/src/hooks/overlay.d.ts.map +1 -1
  64. package/lib/typescript/src/hooks/switch.d.ts +1 -20
  65. package/lib/typescript/src/hooks/switch.d.ts.map +1 -1
  66. package/lib/typescript/src/hooks/textInput.d.ts +1 -10
  67. package/lib/typescript/src/hooks/textInput.d.ts.map +1 -1
  68. package/lib/typescript/src/hooks/theme.d.ts +2 -2
  69. package/lib/typescript/src/hooks/theme.d.ts.map +1 -1
  70. package/lib/typescript/src/types/list.d.ts +1 -14
  71. package/lib/typescript/src/types/list.d.ts.map +1 -1
  72. package/lib/typescript/src/types/overlay.d.ts +14 -81
  73. package/lib/typescript/src/types/overlay.d.ts.map +1 -1
  74. package/lib/typescript/src/types/textInput.d.ts +0 -1
  75. package/lib/typescript/src/types/textInput.d.ts.map +1 -1
  76. package/lib/typescript/src/utils/overlay/const.d.ts +1 -35
  77. package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -1
  78. package/lib/typescript/src/utils/overlay/func.d.ts +0 -87
  79. package/lib/typescript/src/utils/overlay/func.d.ts.map +1 -1
  80. package/lib/typescript/src/utils/reanimated/func.d.ts +1 -5
  81. package/lib/typescript/src/utils/reanimated/func.d.ts.map +1 -1
  82. package/lib/typescript/src/utils/style/const.d.ts +0 -9
  83. package/lib/typescript/src/utils/style/const.d.ts.map +1 -1
  84. package/lib/typescript/src/utils/switch/const.d.ts +1 -2
  85. package/lib/typescript/src/utils/switch/const.d.ts.map +1 -1
  86. package/lib/typescript/src/utils/theme/restyle.d.ts +0 -2407
  87. package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -1
  88. package/package.json +1 -1
@@ -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
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/Box.tsx"],"names":[],"mappings":"AAWA,eAAe,GAAG,CAAC"}
@@ -1,24 +1,7 @@
1
- import type { ViewStyle } from 'react-native';
2
- import type { ListAnimatedRefObj, ListRef } from '../types/list.js';
3
- import type { ActionSheetInternalContextVal, ActionSheetListViewProps, ActionSheetOptionListProps, ActionSheetOptions, ActionSheetScrollViewProps, OverlayDismissActionSheetResult, OverlayOnDismiss } from '../types/overlay.js';
4
- import type { ScrollViewAnimatedRefObj } from '../types/view.js';
1
+ import type { ListRef } from '../types/list.js';
5
2
  export declare function useToastContext(): import("../index.js").ToastContextVal;
6
- /** @internal */
7
- export declare function useAlertInternalContext(): Partial<Pick<import("../index.js").AlertProps, "buttonProps"> & {
8
- onDismiss: (result?: Partial<import("../index.js").OverlayDismissAlertResult>) => void;
9
- }>;
10
3
  export declare function useAlertContext(): import("../index.js").AlertContextVal;
11
- /** @internal */
12
- export declare function useActionSheetInternalContext(): Partial<ActionSheetInternalContextVal>;
13
4
  export declare function useActionSheetContext(): import("../index.js").ActionSheetContextVal;
14
- /** @internal */
15
- export declare function useActionSheetOnDismiss(force?: boolean): (text?: string) => void;
16
- /** @internal */
17
- export declare function useActionSheetGesture(contentGesture?: boolean): import("react-native-gesture-handler").PanGesture;
18
- /** @internal */
19
- export declare function useActionSheetHeaderMinHeight(): number;
20
- /** @internal */
21
- export declare function useActionSheetContentGesture(): import("react-native-gesture-handler").ComposedGesture;
22
5
  export declare function useActionSheetListViewAnimatedRef<T>(): import("react-native-reanimated").AnimatedRef<ListRef<T>>;
23
6
  export declare function useActionSheetScrollViewAnimatedRef(): import("react-native-reanimated").AnimatedRef<((props: Omit<import("react-native").ScrollViewProps, keyof {
24
7
  ref?: React.Ref<import("react-native").ScrollViewInstance> | undefined;
@@ -29,31 +12,4 @@ export declare function useActionSheetScrollViewAnimatedRef(): import("react-nat
29
12
  horizontal: boolean;
30
13
  } | null>;
31
14
  }>>;
32
- /** @internal */
33
- export declare function useActionSheetListViewRefAndOffset<T>(refObj?: ListAnimatedRefObj<T>): {
34
- listViewListAnimatedRefObj: ListAnimatedRefObj<T>;
35
- contentOffsetSharedVal: import("react-native-reanimated").SharedValue<number>;
36
- };
37
- /** @internal */
38
- export declare function useActionSheetScrollViewRefAndOffset(refObj?: ScrollViewAnimatedRefObj): {
39
- scrollViewAnimatedRefObj: ScrollViewAnimatedRefObj;
40
- contentOffsetSharedVal: import("react-native-reanimated").SharedValue<number>;
41
- };
42
- /** @internal */
43
- export declare function useActionSheetOpts(title: string | undefined, expandable: boolean | undefined, expandableOnSnapToHeight: ((height: number) => void) | undefined, options: ActionSheetOptions, optionListProps: ActionSheetOptionListProps | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, maxHeight: number | undefined, animated: boolean | undefined, dismissible: boolean | undefined, visible?: boolean): ActionSheetInternalContextVal & {
44
- actionSheetVisible: boolean;
45
- };
46
- /** @internal */
47
- export declare function useActionSheetOptItemSize({ insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }?: ActionSheetOptionListProps): {
48
- itemSize: number;
49
- insetsStyle: Pick<ViewStyle, 'paddingTop' | 'paddingBottom' | 'paddingLeft' | 'paddingRight'>;
50
- };
51
- /** @internal */
52
- export declare function useActionSheetScrollView(title: string | undefined, expandable: boolean | undefined, expandableOnSnapToHeight: ((height: number) => void) | undefined, scrollViewProps: ActionSheetScrollViewProps['scrollViewProps'] | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, maxHeight: number | undefined, animated: boolean | undefined, dismissible: boolean | undefined, visible?: boolean): ActionSheetInternalContextVal & {
53
- actionSheetVisible: boolean;
54
- };
55
- /** @internal */
56
- export declare function useActionSheetListView(title: string | undefined, expandable: boolean | undefined, expandableOnSnapToHeight: ((height: number) => void) | undefined, listProps: ActionSheetListViewProps['listProps'] | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, maxHeight: number | undefined, animated: boolean | undefined, dismissible: boolean | undefined, visible?: boolean): ActionSheetInternalContextVal & {
57
- actionSheetVisible: boolean;
58
- };
59
15
  //# sourceMappingURL=overlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../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sBAAsB,CACpC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,UAAU,EAAE,OAAO,GAAG,SAAS,EAC/B,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,EAChE,SAAS,EAAE,wBAAwB,CAAC,WAAW,CAAC,GAAG,SAAS,EAC5D,SAAS,EAAE,gBAAgB,CAAC,+BAA+B,CAAC,GAAG,SAAS,EACxE,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,QAAQ,EAAE,OAAO,GAAG,SAAS,EAC7B,WAAW,EAAE,OAAO,GAAG,SAAS,EAChC,OAAO,CAAC,EAAE,OAAO,GAChB,6BAA6B,GAAG;IACjC,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAuDA"}
1
+ {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/overlay.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAsB,OAAO,EAAE,MAAM,kBAAe,CAAC;AAyCjE,wBAAgB,eAAe,0CAE9B;AAOD,wBAAgB,eAAe,0CAE9B;AAOD,wBAAgB,qBAAqB,gDAEpC;AA+LD,wBAAgB,iCAAiC,CAAC,CAAC,+DAElD;AAED,wBAAgB,mCAAmC;OAuS2oS,CAAC;;OAAyD,CAAC;;;;;IArSxvS"}
@@ -1,21 +1,2 @@
1
- import type { PressableOnPress } from '../types/button.js';
2
- import type { ThemedSwitchProps } from '../types/switch.js';
3
- import { BorderSize } from '../utils/theme/const.js';
4
- /** @internal */
5
- export declare function useThemedSwitch(onPress: ThemedSwitchProps['onPress'], enabled?: ThemedSwitchProps['enabled'], size?: ThemedSwitchProps['size'], animated?: ThemedSwitchProps['animated'], 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("../index.js").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":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAiB,CAAC;AAExD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAiB,CAAC;AAGzD,OAAO,EAAE,UAAU,EAAc,MAAM,yBAAsB,CAAC;AAK9D,gBAAgB;AAChB,wBAAgB,eAAe,CAC7B,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,EACrC,OAAO,GAAE,iBAAiB,CAAC,SAAS,CAAS,EAC7C,IAAI,GAAE,iBAAiB,CAAC,MAAM,CAAgB,EAC9C,QAAQ,GAAE,iBAAiB,CAAC,UAAU,CAAQ,EAC9C,kBAAkB,CAAC,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,EAC5D,qBAAqB,CAAC,EAAE,iBAAiB,CAAC,uBAAuB,CAAC,EAClE,sBAAsB,CAAC,EAAE,iBAAiB,CAAC,wBAAwB,CAAC,EACpE,YAAY,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;EA6FjD"}
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/hooks/switch.ts"],"names":[],"mappings":""}
@@ -1,12 +1,3 @@
1
- import type { TextInputProps, TextInputRefObj, ThemedTextInputProps } from '../types/textInput.js';
2
- /** @internal */
3
- export declare function useThemedTextInput({ cursorColor, selectionHandleColor, underlineColorAndroid, placeholderTextColor, selectionColor, variant, ...props }: ThemedTextInputProps): {
4
- cursorColor: import("../index.js").Palette;
5
- selectionHandleColor: import("../index.js").Palette;
6
- underlineColorAndroid: import("../index.js").Palette | undefined;
7
- placeholderTextColor: import("../index.js").Palette;
8
- selectionColor: import("../index.js").Palette;
9
- restyle: Omit<ThemedTextInputProps, "variant" | keyof TextInputProps>;
10
- };
1
+ import type { TextInputRefObj } from '../types/textInput.js';
11
2
  export declare function useTextInputRef(): TextInputRefObj;
12
3
  //# sourceMappingURL=textInput.d.ts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../../src/hooks/textInput.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,eAAe,EAEhB,MAAM,uBAAoB,CAAC;AA6C5B,wBAAgB,eAAe,IAAI,eAAe,CAEjD"}
@@ -1,5 +1,5 @@
1
- import { type PropValue, type ResponsiveValue } from '@shopify/restyle';
2
- import { type ColorSchemeName } from 'react-native';
1
+ import type { PropValue, ResponsiveValue } from '@shopify/restyle';
2
+ import type { ColorSchemeName } from 'react-native';
3
3
  import type { Theme, ThemeBreakpoints } from '../types/theme.js';
4
4
  /**
5
5
  * Hook to access the current theme object.
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExE"}
@@ -1,5 +1,5 @@
1
1
  import type { FlashListProps, FlashListRef, ListRenderItemInfo } from '@shopify/flash-list';
2
- import type { ComponentType, FC, RefObject } from 'react';
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.js';
@@ -98,19 +98,6 @@ export type ListItemSeparatorProps = Partial<Pick<ThemedSeparatorProps, 'size' |
98
98
  /** Additional style props for the separator */
99
99
  style: Omit<ThemedSeparatorProps, 'size' | 'vertical' | 'backgroundColor' | 'bg'>;
100
100
  }>;
101
- /**
102
- * Component type for rendering separators between list items.
103
- *
104
- * @internal
105
- */
106
- export type ListItemSeparatorComponent = FC<{
107
- leadingItem?: {
108
- type: string;
109
- };
110
- trailingItem?: {
111
- type: string;
112
- };
113
- }>;
114
101
  /**
115
102
  * Props for custom cell renderer components.
116
103
  *
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/types/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAa,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAS,CAAC;AAC3C,OAAO,K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B,CAAC,CAAC,CAAC,CAAC;CACnC,CAAC;AAEJ;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAC1C,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG;IAChD,yCAAyC;IACzC,eAAe,EAAE,WAAW,CAAC;IAC7B,+CAA+C;IAC/C,KAAK,EAAE,IAAI,CACT,oBAAoB,EACpB,MAAM,GAAG,UAAU,GAAG,iBAAiB,GAAG,IAAI,CAC/C,CAAC;CACH,CACF,CAAC;AAYF;;;;GAIG;AACH,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC;IACrE,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC,CAAC"}
@@ -1,9 +1,8 @@
1
1
  import type { ResponsiveValue } from '@shopify/restyle';
2
- import type { ReactNode } from 'react';
2
+ import type { ReactNode, RefObject } from 'react';
3
3
  import type { ModalProps, ViewStyle } from 'react-native';
4
- import type { SharedValue } from 'react-native-reanimated';
5
- import type { AlertButtonType, OverlayDismissResultType, ToastDuration, ToastType } from '../utils/overlay/const.js';
6
- import type { ThemedButtonProps, ThemedIconTextButtonProps, ThemedPressableProps } from './button.js';
4
+ import type { ActionSheetExpandableHeightRatio, AlertButtonType, OverlayDismissResultType, ToastDuration, ToastType } from '../utils/overlay/const.js';
5
+ import type { ThemedButtonProps, ThemedIconButtonProps, ThemedIconTextButtonProps, ThemedPressableProps } from './button.js';
7
6
  import type { ListAnimatedRefObj, ListProps } from './list.js';
8
7
  import type { CustomThemedLoadingProps } from './loading.js';
9
8
  import type { SetState } from './react.js';
@@ -11,7 +10,7 @@ import type { CustomAnimation } from './reanimated.js';
11
10
  import type { InsetsStyleConfig } from './style.js';
12
11
  import type { CustomThemedTextProps, ThemedTextProps } from './text.js';
13
12
  import type { ThemeBreakpoints } from './theme.js';
14
- import type { AnimatedThemedViewProps, PropsWithRequiredChildren, ScrollViewAnimatedRefObj, ScrollViewProps, ThemedViewProps, ViewRefObj } from './view.js';
13
+ import type { AnimatedThemedViewProps, PropsWithRequiredChildren, ScrollViewAnimatedRefObj, ScrollViewProps, ThemedViewProps } from './view.js';
15
14
  /**
16
15
  * Base props for overlay components.
17
16
  *
@@ -54,16 +53,6 @@ type OverlayDismissToastResult = OverlayDismissBaseResult & Pick<ThemedToastProp
54
53
  export type OverlayDismissAlertResult = OverlayDismissBaseResult & Pick<AlertProps, 'title' | 'description'> & Pick<AlertButtonProps, 'text' | 'type'> & {
55
54
  resultType: OverlayDismissResultType.Alert;
56
55
  };
57
- /**
58
- * Result type when an action sheet is dismissed.
59
- *
60
- * Contains action sheet-specific information including the selected option.
61
- *
62
- * @internal
63
- */
64
- export type OverlayDismissActionSheetResult = OverlayDismissBaseResult & Pick<ActionSheetProps, 'title'> & Pick<ActionSheetOption, 'text'> & {
65
- resultType: OverlayDismissResultType.ActionSheet;
66
- };
67
56
  export type OverlayDismissContextMenuResult = OverlayDismissBaseResult & Pick<ContextMenuOption, 'text'> & {
68
57
  resultType: OverlayDismissResultType.ContextMenu;
69
58
  };
@@ -242,16 +231,18 @@ export type AlertButtonProps = Pick<ThemedButtonProps, 'text'> & {
242
231
  * </ActionSheet>
243
232
  * ```
244
233
  */
245
- export type ActionSheetProps = (Omit<OverlayProps, 'onDismiss'> & Omit<ActionSheetWrapProps, 'children'> & ActionSheetHeaderProps & {
234
+ export type ActionSheetProps = (Omit<OverlayProps, 'onDismiss'> & Omit<ActionSheetWrapProps, 'children'> & Omit<ActionSheetHeaderProps, 'headerTitle'> & {
246
235
  /** Optional title text for the action sheet header */
247
236
  title?: string;
248
237
  /** Whether the action sheet can expand to full screen height */
249
238
  expandable?: boolean;
239
+ expandableInitialHeightRatio?: ActionSheetExpandableHeightRatio;
250
240
  expandableOnSnapToHeight?: (height: number) => void;
251
241
  /** Callback invoked when the action sheet is dismissed */
252
242
  onDismiss?: OverlayOnDismiss<OverlayDismissActionSheetResult>;
253
243
  maxHeight?: number;
254
244
  animated?: boolean;
245
+ contentGestureEnabled?: boolean;
255
246
  }) & ({
256
247
  /** Array of selectable options */
257
248
  options: ActionSheetOptions;
@@ -294,12 +285,18 @@ export type ActionSheetWrapProps = PropsWithRequiredChildren<Pick<ModalProps, 'v
294
285
  style?: ViewStyle;
295
286
  };
296
287
  }>;
288
+ export type ActionSheetHeaderRef = {
289
+ setTitle: SetState<string | undefined>;
290
+ };
297
291
  /**
298
292
  * Props for action sheet header configuration.
299
293
  *
300
294
  * Controls the appearance of the action sheet header including title and close icon.
301
295
  */
302
296
  export type ActionSheetHeaderProps = {
297
+ headerRef?: RefObject<ActionSheetHeaderRef | null | undefined>;
298
+ /** Title text for the header */
299
+ headerTitle?: string;
303
300
  /** Whether to show the close icon button in the header */
304
301
  headerShowDismissIcon?: boolean;
305
302
  /** Props for the header container wrapper */
@@ -307,45 +304,12 @@ export type ActionSheetHeaderProps = {
307
304
  /** Props for the header title text */
308
305
  headerTextProps?: Omit<ThemedTextProps, 'children'>;
309
306
  /** Props for the header close icon button */
310
- headerIconButtonProps?: Omit<ThemedButtonProps, 'onPress'>;
307
+ headerIconButtonProps?: Omit<ThemedIconButtonProps, 'onPress'>;
311
308
  headerChildren?: ReactNode;
312
309
  };
313
- /**
314
- * Context value for action sheet components.
315
- *
316
- * Provides shared state and methods for action sheet behavior including expand/collapse,
317
- * scrolling, and dismiss handling.
318
- *
319
- * @internal
320
- */
321
- export type ActionSheetInternalContextVal = Pick<ActionSheetProps, 'title' | 'expandable' | 'expandableOnSnapToHeight' | 'onDismiss' | 'maxHeight' | 'animated' | 'dismissible'> & {
322
- /** Reference to the header view for layout calculations */
323
- headerViewRef: ViewRefObj;
324
- /** Reference to the scrollable content (either list or scroll view) */
325
- contentAnimatedRefObj: ListAnimatedRefObj<any> | ScrollViewAnimatedRefObj;
326
- /** Current height of the action sheet */
327
- height: number;
328
- /** Setter for updating the content height */
329
- setContentHeight?: SetState<number>;
330
- /** Shared value for Y-axis translation (pan gestures) */
331
- translateYSharedVal: SharedValue<number>;
332
- /** Shared value for the current height */
333
- heightSharedVal: SharedValue<number>;
334
- /** Shared value for the expandable full height */
335
- expandableHeightSharedVal: SharedValue<number>;
336
- /** Shared value for tracking content scroll offset */
337
- contentOffsetSharedVal: SharedValue<number>;
338
- };
339
- /** @internal */
340
310
  export type ActionSheetContextVal = {
341
311
  setActionSheet: SetState<ActionSheetProps | undefined>;
342
312
  };
343
- /**
344
- * Action sheet props variant with required options array.
345
- *
346
- * @internal
347
- */
348
- export type ActionSheetOptionsProps = ActionSheetProps & Required<Pick<ActionSheetProps, 'options'>>;
349
313
  /**
350
314
  * Props for the action sheet options list component.
351
315
  *
@@ -365,17 +329,6 @@ export type ActionSheetOptionListItemProps = Omit<ThemedButtonProps, 'onPress' |
365
329
  * Reference type for action sheet option list.
366
330
  */
367
331
  export type ActionSheetOptionListRefObj = ListAnimatedRefObj<ActionSheetOption>;
368
- /**
369
- * Extra data passed to action sheet option list items.
370
- *
371
- * @internal
372
- */
373
- export type ActionSheetOptionListExtraData = {
374
- /** Props applied to each option item */
375
- optionListItemProps?: ActionSheetOptionListItemProps;
376
- /** Callback to dismiss the action sheet with selected option text */
377
- onDismiss: (text?: string) => void;
378
- };
379
332
  /**
380
333
  * Configuration for a single action sheet option.
381
334
  *
@@ -400,24 +353,6 @@ export type ActionSheetOption = Partial<Pick<ThemedButtonProps, 'onPress'>> & {
400
353
  * Array of action sheet options.
401
354
  */
402
355
  export type ActionSheetOptions = ActionSheetOption[];
403
- /**
404
- * Action sheet props variant with required children.
405
- *
406
- * @internal
407
- */
408
- export type ActionSheetScrollViewProps = ActionSheetProps & Required<Pick<ActionSheetProps, 'children'>>;
409
- /**
410
- * Action sheet props variant with required list props.
411
- *
412
- * @internal
413
- */
414
- export type ActionSheetListViewProps = ActionSheetProps & Required<Pick<ActionSheetProps, 'listProps'>>;
415
- /**
416
- * Reference type for action sheet list view.
417
- *
418
- * @internal
419
- */
420
- export type ActionSheetListViewListRefObj = ListAnimatedRefObj<any>;
421
356
  export type ContextMenuProps = PropsWithRequiredChildren<{
422
357
  options: ContextMenuOptions;
423
358
  optionListProps?: ContextMenuOptionListProps;
@@ -432,8 +367,6 @@ export type ContextMenuOptionListProps = Pick<ContextMenuProps, 'options' | 'opt
432
367
  };
433
368
  export type ContextMenuOptionListItemProps = Omit<ContextMenuOption, 'onPress' | 'text' | 'iconName'>;
434
369
  export type ContextMenuOptionListRefObj = ListAnimatedRefObj<ContextMenuOption>;
435
- /** @internal */
436
- export type ContextMenuOptionListExtraData = Pick<ContextMenuProps, 'optionListItemProps'> & Pick<ContextMenuOptionListProps, 'onItemPress'>;
437
370
  export type ContextMenuOption = ThemedButtonProps | ThemedIconTextButtonProps;
438
371
  export type ContextMenuOptions = ContextMenuOption[];
439
372
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/types/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EACxB,aAAa,EACb,SAAS,EACV,MAAM,2BAAwB,CAAC;AAChC,OAAO,KAAK,EACV,iBAAiB,EACjB,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,aAAU,CAAC;AAClB,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,WAAQ,CAAC;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAW,CAAC;AAC1D,OAAO,KAAK,EA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Colors } from './theme.js';
5
5
  import type { ThemedViewProps } from './view.js';
6
6
  export type TextInputRefObj = RefObject<TextInputInstance | null>;
7
- /** @internal */
8
7
  export type TextInputProps = {
9
8
  cursorColor?: ThemeColors;
10
9
  selectionHandleColor?: ThemeColors;
@@ -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,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
+ {"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,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,8 +1,3 @@
1
- import { IconSize } from '@jamadd/react-native-template-icons';
2
- import type { ActionSheetContextVal, ActionSheetInternalContextVal, AlertContextVal, ToastContextVal } from '../../types/overlay.js';
3
- import type { ThemeSpacing, ThemeTextVariants } from '../../types/theme.js';
4
- /** @internal */
5
- export declare const overlayMaxWidthPercent = "80%";
6
1
  /**
7
2
  * Types of overlay components that can be dismissed.
8
3
  * Used to identify which overlay component triggered a dismiss result.
@@ -29,8 +24,6 @@ export declare enum OverlayDismissResultType {
29
24
  * Used as the dismiss result text when no custom text is provided.
30
25
  */
31
26
  export declare const overlayDismissResultDefaultText = "cancelByUser";
32
- /** @internal */
33
- export declare const ToastContext: import("react").Context<ToastContextVal>;
34
27
  /**
35
28
  * Position types for toast notifications.
36
29
  * Determines where on the screen a toast will appear.
@@ -74,12 +67,6 @@ export declare enum ToastDuration {
74
67
  /** Long duration - 5 seconds */
75
68
  Long = 5000
76
69
  }
77
- /** @internal */
78
- export declare const AlertInternalContext: import("react").Context<Partial<Pick<import("../../index.js").AlertProps, "buttonProps"> & {
79
- onDismiss: (result?: Partial<import("../../index.js").OverlayDismissAlertResult>) => void;
80
- }>>;
81
- /** @internal */
82
- export declare const AlertContext: import("react").Context<AlertContextVal>;
83
70
  /**
84
71
  * Visual styles for alert dialog buttons.
85
72
  * Determines the appearance and emphasis level of buttons in alert dialogs.
@@ -102,30 +89,9 @@ export declare enum AlertButtonType {
102
89
  /** Destructive action button - warning appearance (typically red) */
103
90
  Destructive = "destructive"
104
91
  }
105
- /** @internal */
106
- export declare const ActionSheetInternalContext: import("react").Context<Partial<ActionSheetInternalContextVal>>;
107
- /** @internal */
108
- export declare const ActionSheetContext: import("react").Context<ActionSheetContextVal>;
109
- /** @internal */
110
- export declare const actionSheetOpenDuration = 300;
111
- /** @internal */
112
- export declare const actionSheetSnapDuration = 300;
113
- /** @internal */
114
- export declare const actionSheetDismissDuration = 150;
115
- /** @internal */
116
- export declare const actionSheetMaxHeightRatio = 0.6;
117
- /** @internal */
118
92
  export declare enum ActionSheetExpandableHeightRatio {
119
93
  Top = 0.9,
120
94
  Middle = 0.6,
121
- Bottom = 0.3
95
+ Bottom = 0.4
122
96
  }
123
- /** @internal */
124
- export declare const actionSheetHeaderIconSize: IconSize;
125
- /** @internal */
126
- export declare const actionSheetHeaderPaddingKey: ThemeSpacing;
127
- /** @internal */
128
- export declare const actionSheetOptionListItemPaddingKey: ThemeSpacing;
129
- /** @internal */
130
- export declare const actionSheetOptionListItemTextVariant: ThemeTextVariants;
131
97
  //# sourceMappingURL=const.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/overlay/const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,KAAK,EACV,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EAEf,eAAe,EAChB,MAAM,wBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAmB,CAAC;AAEzE,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,QAAQ,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,oBAAY,wBAAwB;IAClC,iCAAiC;IACjC,KAAK,UAAU;IACf,2BAA2B;IAC3B,KAAK,UAAU;IACf,2BAA2B;IAC3B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,+BAA+B,iBAAiB,CAAC;AAE9D,gBAAgB;AAChB,eAAO,MAAM,YAAY,0CAEvB,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,oBAAY,SAAS;IACnB,2BAA2B;IAC3B,GAAG,QAAQ;IACX,sBAAsB;IACtB,OAAO,YAAY;IACnB,uBAAuB;IACvB,QAAQ,aAAa;IACrB,8BAA8B;IAC9B,MAAM,WAAW;IACjB,yBAAyB;IACzB,UAAU,eAAe;IACzB,0BAA0B;IAC1B,WAAW,gBAAgB;CAC5B;AAED;;;;;;;;;;GAUG;AACH,oBAAY,aAAa;IACvB,iCAAiC;IACjC,KAAK,OAAO;IACZ,gCAAgC;IAChC,IAAI,OAAO;CACZ;AAED,gBAAgB;AAChB,eAAO,MAAM,oBAAoB;sBAsEy3C,CAAC;GAtE70C,CAAC;AAE/E,gBAAgB;AAChB,eAAO,MAAM,YAAY,0CAEvB,CAAC;AAEH;;;;;;;;;;;;;GAaG;AACH,oBAAY,eAAe;IACzB,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9B,MAAM,WAAW;IACjB,yBAAyB;IACzB,UAAU,eAAe;IACzB,0BAA0B;IAC1B,WAAW,gBAAgB;CAC5B;AAED;;;;;;;;;;GAUG;AACH,oBAAY,aAAa;IACvB,iCAAiC;IACjC,KAAK,OAAO;IACZ,gCAAgC;IAChC,IAAI,OAAO;CACZ;AAUD;;;;;;;;;;;;;GAaG;AACH,oBAAY,eAAe;IACzB,oDAAoD;IACpD,OAAO,YAAY;IACnB,kDAAkD;IAClD,SAAS,cAAc;IACvB,qEAAqE;IACrE,WAAW,gBAAgB;CAC5B;AAwBD,oBAAY,gCAAgC;IAC1C,GAAG,MAAM;IACT,MAAM,MAAM;IACZ,MAAM,MAAM;CACb"}
@@ -1,91 +1,4 @@
1
1
  export declare function getToastContext(): import("../../index.js").ToastContextVal;
2
2
  export declare function getAlertContext(): import("../../index.js").AlertContextVal;
3
- /** @internal */
4
- export declare function getActionSheetInternalContext(): Partial<import("../../index.js").ActionSheetInternalContextVal>;
5
3
  export declare function getActionSheetContext(): import("../../index.js").ActionSheetContextVal;
6
- /**
7
- * @internal
8
- * Calculates the maximum height for an action sheet.
9
- *
10
- * @param expandable - Whether the action sheet is expandable (supports multiple height positions)
11
- * @returns The maximum height in pixels
12
- *
13
- * @example
14
- * ```tsx
15
- * const maxHeight = getActionSheetMaxHeight(true);
16
- * ```
17
- */
18
- export declare function getActionSheetMaxHeight(expandable?: boolean, maxHeight?: number): number;
19
- /**
20
- * @internal
21
- * Constrains an action sheet height to not exceed the maximum allowed height.
22
- *
23
- * @param height - The desired height in pixels
24
- * @returns The constrained height in pixels, capped at maximum
25
- *
26
- * @example
27
- * ```tsx
28
- * const constrainedHeight = getActionSheetHeight(800);
29
- * ```
30
- */
31
- export declare function getActionSheetHeight(height: number, maxHeight?: number): number;
32
- /**
33
- * @internal
34
- * Gets the maximum height for an expandable action sheet.
35
- *
36
- * @returns The maximum expandable height in pixels (90% of screen height)
37
- *
38
- * @example
39
- * ```tsx
40
- * const expandableHeight = getActionSheetExpandableHeight();
41
- * ```
42
- */
43
- export declare function getActionSheetExpandableHeight(maxHeight?: number): number;
44
- /**
45
- * @internal
46
- * Gets the initial height for an expandable action sheet when first shown.
47
- *
48
- * @returns The initial height in pixels (60% of screen height)
49
- *
50
- * @example
51
- * ```tsx
52
- * const initialHeight = getActionSheetExpandableInitHeight();
53
- * ```
54
- */
55
- export declare function getActionSheetExpandableInitialHeight(maxHeight?: number): number;
56
- /**
57
- * @internal
58
- * Calculates the snap height for a non-expandable action sheet after user drag gesture ends.
59
- * Determines whether the sheet should dismiss or snap back to its original height.
60
- *
61
- * @param height - The original height of the action sheet in pixels
62
- * @param currentHeight - The current height after user drag in pixels
63
- * @param forceDismiss - Whether to force dismissal regardless of current height
64
- * @param dismissible - Whether the action sheet is dismissible (default: true)
65
- * @returns The target snap height - either the original height (dismissed) or 0 (visible)
66
- *
67
- * @example
68
- * ```tsx
69
- * const snapHeight = getActionSheetSnapHeight(400, 200, false, true);
70
- * // Returns 400 to dismiss if dragged past threshold
71
- * ```
72
- */
73
- export declare function getActionSheetSnapHeight(height: number, currentHeight: number, forceDismiss: boolean, dismissible?: boolean): number;
74
- /**
75
- * @internal
76
- * Calculates the snap height for an expandable action sheet after user drag gesture ends.
77
- * Determines which height position (top/middle/bottom) the sheet should snap to, or if it should dismiss.
78
- *
79
- * @param currentHeight - The current height after user drag in pixels
80
- * @param forceDismiss - Whether to force dismissal regardless of current height
81
- * @param dismissible - Whether the action sheet is dismissible (default: true)
82
- * @returns The target snap height - 0 for dismissed, or one of the defined snap positions (90%/60%/30% of screen)
83
- *
84
- * @example
85
- * ```tsx
86
- * const snapHeight = getActionSheetExpandableSnapHeight(500, false, true);
87
- * // Returns closest snap position based on current height
88
- * ```
89
- */
90
- export declare function getActionSheetExpandableSnapHeight(currentHeight: number, forceDismiss: boolean, maxHeight?: number, dismissible?: boolean): number;
91
4
  //# sourceMappingURL=func.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/overlay/func.ts"],"names":[],"mappings":"AAWA,wBAAgB,eAAe,6CAE9B;AAED,wBAAgB,eAAe,6CAE9B;AAED,gBAAgB;AAChB,wBAAgB,6BAA6B,oEAE5C;AAED,wBAAgB,qBAAqB,mDAEpC;AAUD;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,GAAE,OAAe,EAC3B,SAAS,CAAC,EAAE,MAAM,UAQnB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,UAEtE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,CAAC,EAAE,MAAM,UAEhE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qCAAqC,CAAC,SAAS,CAAC,EAAE,MAAM,UAKvE;AAkBD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,OAAO,EACrB,WAAW,UAAO,UAMnB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kCAAkC,CAChD,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,OAAO,EACrB,SAAS,CAAC,EAAE,MAAM,EAClB,WAAW,UAAO,UAyCnB"}
1
+ {"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/overlay/func.ts"],"names":[],"mappings":"AAWA,wBAAgB,eAAe,6CAE9B;AAED,wBAAgB,eAAe,6CAE9B;AAOD,wBAAgB,qBAAqB,mDAEpC"}
@@ -1,6 +1,2 @@
1
- import type { SharedValue, WithSpringConfig, WithTimingConfig } from 'react-native-reanimated';
2
- /** @internal */
3
- export declare function updateSharedValWithTiming(sharedVal: SharedValue<number>, toVal: number, userConfig?: WithTimingConfig, cb?: () => void): void;
4
- /** @internal */
5
- export declare function updateSharedValWithSpring(sharedVal: SharedValue<number>, toVal: number, userConfig?: WithSpringConfig, cb?: () => void): void;
1
+ export {};
6
2
  //# sourceMappingURL=func.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/reanimated/func.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,yBAAyB,CAAC;AAIjC,gBAAgB;AAChB,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,EAC9B,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,gBAAgB,EAC7B,EAAE,CAAC,EAAE,MAAM,IAAI,QAShB;AAED,gBAAgB;AAChB,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,EAC9B,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,gBAAgB,EAC7B,EAAE,CAAC,EAAE,MAAM,IAAI,QAShB"}
1
+ {"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/reanimated/func.ts"],"names":[],"mappings":""}
@@ -25,13 +25,4 @@ export declare enum ShadowDirection {
25
25
  }
26
26
  export declare const shadowDefaultOffset = 5;
27
27
  export declare const shadowDefaultBlurRadius = 10;
28
- /** @internal */
29
- export declare const elementDefaultBoundingClientRect: Omit<DOMRect, 'toJSON'>;
30
- /** @internal */
31
- export declare const elementDefaultDOMRect: DOMRect;
32
- /** @internal */
33
- export declare enum ElementScreenPosition {
34
- Upper = "upper",
35
- Lower = "lower"
36
- }
37
28
  //# sourceMappingURL=const.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/const.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,oBAAY,WAAW;IACrB,0DAA0D;IAC1D,QAAQ,aAAa;IACrB,2DAA2D;IAC3D,SAAS,cAAc;CACxB;AAED,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAErC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,CASpE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,OAGnC,CAAC;AAEF,gBAAgB;AAChB,oBAAY,qBAAqB;IAC/B,KAAK,UAAU;IACf,KAAK,UAAU;CAChB"}
1
+ {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/const.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,oBAAY,WAAW;IACrB,0DAA0D;IAC1D,QAAQ,aAAa;IACrB,2DAA2D;IAC3D,SAAS,cAAc;CACxB;AAED,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAErC,eAAO,MAAM,uBAAuB,KAAK,CAAC"}