@tamagui/sheet 3.0.0-beta.831.1 → 3.0.0-beta.889.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 (30) hide show
  1. package/dist/cjs/SheetScrollView.cjs +7 -9
  2. package/dist/cjs/SheetScrollView.native.cjs +7 -9
  3. package/dist/cjs/SheetScrollView.native.js +7 -9
  4. package/dist/cjs/SheetScrollView.native.js.map +1 -1
  5. package/dist/cjs/useKeyboardControllerSheet.native.cjs +1 -27
  6. package/dist/cjs/useKeyboardControllerSheet.native.js +1 -27
  7. package/dist/cjs/useKeyboardControllerSheet.native.js.map +1 -1
  8. package/dist/esm/SheetScrollView.mjs +8 -10
  9. package/dist/esm/SheetScrollView.mjs.map +1 -1
  10. package/dist/esm/SheetScrollView.native.js +8 -10
  11. package/dist/esm/SheetScrollView.native.js.map +1 -1
  12. package/dist/esm/useKeyboardControllerSheet.native.js +1 -27
  13. package/dist/esm/useKeyboardControllerSheet.native.js.map +1 -1
  14. package/dist/jsx/SheetScrollView.mjs +8 -10
  15. package/dist/jsx/SheetScrollView.mjs.map +1 -1
  16. package/dist/jsx/SheetScrollView.native.cjs +7 -9
  17. package/dist/jsx/SheetScrollView.native.js +7 -9
  18. package/dist/jsx/SheetScrollView.native.js.map +1 -1
  19. package/dist/jsx/useKeyboardControllerSheet.native.cjs +1 -27
  20. package/dist/jsx/useKeyboardControllerSheet.native.js +1 -27
  21. package/dist/jsx/useKeyboardControllerSheet.native.js.map +1 -1
  22. package/package.json +18 -18
  23. package/src/SheetScrollView.tsx +6 -5
  24. package/src/useKeyboardControllerSheet.native.ts +10 -44
  25. package/types/Sheet.d.ts +58 -211
  26. package/types/Sheet.d.ts.map +1 -1
  27. package/types/SheetScrollView.d.ts +3 -54
  28. package/types/SheetScrollView.d.ts.map +1 -1
  29. package/types/useKeyboardControllerSheet.native.d.ts +6 -6
  30. package/types/useKeyboardControllerSheet.native.d.ts.map +1 -1
@@ -3,72 +3,21 @@ import type { ScrollViewRef } from '@tamagui/scroll-view';
3
3
  import { ScrollView } from '@tamagui/scroll-view';
4
4
  import React from 'react';
5
5
  type SheetScrollViewBaseProps = GetProps<typeof ScrollView>;
6
- export declare const SheetScrollView: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<any, "ref"> & React.RefAttributes<ScrollViewRef>, import("@tamagui/core").StackStyleBase & {
7
- readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<import("@tamagui/scroll-view/types/WebScrollView").ScrollViewRef>>, {
8
- acceptsClassName: true;
9
- neverFlatten: true;
10
- accept: {
11
- readonly contentContainerStyle: 'style';
12
- };
13
- }>> | undefined;
14
- }, {}>, string | number | symbol> & Omit<Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<any, "ref"> & React.RefAttributes<ScrollViewRef>, "contentContainerStyle" | keyof import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
15
- readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<import("@tamagui/scroll-view/types/WebScrollView").ScrollViewRef>>, {
16
- acceptsClassName: true;
17
- neverFlatten: true;
18
- accept: {
19
- readonly contentContainerStyle: 'style';
20
- };
21
- }>> | undefined;
22
- }> & import("@tamagui/core").WithFlatVariantValues<{}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
23
- readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<import("@tamagui/scroll-view/types/WebScrollView").ScrollViewRef>>, {
24
- acceptsClassName: true;
25
- neverFlatten: true;
26
- accept: {
27
- readonly contentContainerStyle: 'style';
28
- };
29
- }>> | undefined;
30
- }>> & {
6
+ export declare const SheetScrollView: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/scroll-view/types/WebScrollView").WebScrollViewProps, "ref"> & React.RefAttributes<ScrollViewRef>, import("@tamagui/core").StackStyleBase, {}>, string | number> & Omit<Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/scroll-view/types/WebScrollView").WebScrollViewProps, "ref"> & React.RefAttributes<ScrollViewRef>, keyof import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithFlatVariantValues<{}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & {
31
7
  h?: SheetScrollViewBaseProps['height'];
32
8
  o?: SheetScrollViewBaseProps['opacity'];
33
9
  pos?: SheetScrollViewBaseProps['position'];
34
10
  }, "scope"> & {
35
11
  scope?: import("./types").SheetScopes;
36
- }, ScrollViewRef, import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<any, "ref"> & React.RefAttributes<ScrollViewRef> & Omit<Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<any, "ref"> & React.RefAttributes<ScrollViewRef>, "contentContainerStyle" | keyof import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
37
- readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<import("@tamagui/scroll-view/types/WebScrollView").ScrollViewRef>>, {
38
- acceptsClassName: true;
39
- neverFlatten: true;
40
- accept: {
41
- readonly contentContainerStyle: 'style';
42
- };
43
- }>> | undefined;
44
- }> & import("@tamagui/core").WithFlatVariantValues<{}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
45
- readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<import("@tamagui/scroll-view/types/WebScrollView").ScrollViewRef>>, {
46
- acceptsClassName: true;
47
- neverFlatten: true;
48
- accept: {
49
- readonly contentContainerStyle: 'style';
50
- };
51
- }>> | undefined;
52
- }>> & {
12
+ }, ScrollViewRef, import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/scroll-view/types/WebScrollView").WebScrollViewProps, "ref"> & React.RefAttributes<ScrollViewRef> & Omit<Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/scroll-view/types/WebScrollView").WebScrollViewProps, "ref"> & React.RefAttributes<ScrollViewRef>, keyof import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithFlatVariantValues<{}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & {
53
13
  h?: SheetScrollViewBaseProps['height'];
54
14
  o?: SheetScrollViewBaseProps['opacity'];
55
15
  pos?: SheetScrollViewBaseProps['position'];
56
16
  }, "scope"> & {
57
17
  scope?: import("./types").SheetScopes;
58
- }, import("@tamagui/core").StackStyleBase & {
59
- readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<import("@tamagui/scroll-view/types/WebScrollView").ScrollViewRef>>, {
60
- acceptsClassName: true;
61
- neverFlatten: true;
62
- accept: {
63
- readonly contentContainerStyle: 'style';
64
- };
65
- }>> | undefined;
66
- }, {}, {
18
+ }, import("@tamagui/core").StackStyleBase, {}, {
67
19
  acceptsClassName: true;
68
20
  neverFlatten: true;
69
- accept: {
70
- readonly contentContainerStyle: 'style';
71
- };
72
21
  }>;
73
22
  export {};
74
23
  //# sourceMappingURL=SheetScrollView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SheetScrollView.d.ts","sourceRoot":"","sources":["../src/SheetScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgC,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAsC,MAAM,OAAO,CAAA;AAgB1D,KAAK,wBAAwB,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAU3D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;QANpB,wBAAwB,CAAC,QAAQ,CAAC;QAClC,wBAAwB,CAAC,SAAS,CAAC;UACjC,wBAAwB,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmW7C,CAAA"}
1
+ {"version":3,"file":"SheetScrollView.d.ts","sourceRoot":"","sources":["../src/SheetScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuC,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAA;AAClF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAsC,MAAM,OAAO,CAAA;AAiB1D,KAAK,wBAAwB,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAU3D,eAAO,MAAM,eAAe;QANpB,wBAAwB,CAAC,QAAQ,CAAC;QAClC,wBAAwB,CAAC,SAAS,CAAC;UACjC,wBAAwB,CAAC,UAAU,CAAC;;;;;;;;;;;;EAmW7C,CAAA"}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * Native implementation of keyboard controller sheet hook.
2
+ * native implementation of keyboard controller sheet hook.
3
3
  *
4
- * Simplified to just track keyboard state (height, visibility).
5
- * Position animation is handled by SheetImplementationCustom via
6
- * keyboard-adjusted positions — matching the react-native-actions-sheet pattern.
4
+ * simplified to just track keyboard state (height, visibility).
5
+ * position animation is handled by SheetImplementationCustom via
6
+ * keyboard-adjusted positions, matching the react-native-actions-sheet pattern.
7
7
  *
8
- * Uses react-native-keyboard-controller events when available,
9
- * falls back to basic Keyboard API otherwise.
8
+ * uses React Native keyboard events for state. The optional keyboard-controller
9
+ * integration is only used for imperative dismissal.
10
10
  */
11
11
  import type { KeyboardControllerSheetOptions, KeyboardControllerSheetResult } from './types';
12
12
  export declare function useKeyboardControllerSheet(options: KeyboardControllerSheetOptions): KeyboardControllerSheetResult;
@@ -1 +1 @@
1
- {"version":3,"file":"useKeyboardControllerSheet.native.d.ts","sourceRoot":"","sources":["../src/useKeyboardControllerSheet.native.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EACV,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,SAAS,CAAA;AAchB,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,8BAA8B,GACtC,6BAA6B,CA4G/B"}
1
+ {"version":3,"file":"useKeyboardControllerSheet.native.d.ts","sourceRoot":"","sources":["../src/useKeyboardControllerSheet.native.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EACV,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,SAAS,CAAA;AAchB,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,8BAA8B,GACtC,6BAA6B,CA0E/B"}