@tamagui/sheet 1.5.9 → 1.5.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/sheet",
3
- "version": "1.5.9",
3
+ "version": "1.5.11",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -22,16 +22,16 @@
22
22
  "lint:fix": "../../node_modules/.bin/rome check --apply-suggested src"
23
23
  },
24
24
  "dependencies": {
25
- "@tamagui/animations-react-native": "^1.5.9",
26
- "@tamagui/compose-refs": "^1.5.9",
27
- "@tamagui/core": "^1.5.9",
28
- "@tamagui/create-context": "^1.5.9",
29
- "@tamagui/portal": "^1.5.9",
30
- "@tamagui/remove-scroll": "^1.5.9",
31
- "@tamagui/scroll-view": "^1.5.9",
32
- "@tamagui/stacks": "^1.5.9",
33
- "@tamagui/use-constant": "^1.5.9",
34
- "@tamagui/use-controllable-state": "^1.5.9"
25
+ "@tamagui/animations-react-native": "^1.5.11",
26
+ "@tamagui/compose-refs": "^1.5.11",
27
+ "@tamagui/core": "^1.5.11",
28
+ "@tamagui/create-context": "^1.5.11",
29
+ "@tamagui/portal": "^1.5.11",
30
+ "@tamagui/remove-scroll": "^1.5.11",
31
+ "@tamagui/scroll-view": "^1.5.11",
32
+ "@tamagui/stacks": "^1.5.11",
33
+ "@tamagui/use-constant": "^1.5.11",
34
+ "@tamagui/use-controllable-state": "^1.5.11"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": "*",
@@ -39,7 +39,7 @@
39
39
  "react-native": "*"
40
40
  },
41
41
  "devDependencies": {
42
- "@tamagui/build": "^1.5.9",
42
+ "@tamagui/build": "^1.5.11",
43
43
  "react": "^18.2.0",
44
44
  "react-dom": "^18.2.0",
45
45
  "react-native": "*"
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SHEET_HANDLE_NAME.d.ts","sourceRoot":"","sources":["../src/SHEET_HANDLE_NAME.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,IAAK,CAAA;AAE3B,eAAO,MAAM,UAAU,UAAU,CAAA;AACjC,eAAO,MAAM,iBAAiB,gBAAgB,CAAA"}
package/types/Sheet.d.ts CHANGED
@@ -129,13 +129,13 @@ export declare const Sheet: React.ForwardRefExoticComponent<{
129
129
  __scopeSheet?: import("@tamagui/create-context").Scope<any>;
130
130
  } & React.RefAttributes<unknown>>;
131
131
  Overlay: ({ __scopeSheet, ...props }: SheetScopedProps<SheetOverlayProps>) => JSX.Element;
132
- ScrollView: React.ForwardRefExoticComponent<((import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps>) | Pick<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & {
133
- [x: string]: undefined;
134
- } & import("@tamagui/core").MediaProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & {
135
- [x: string]: undefined;
136
- }>> & import("@tamagui/core").PseudoProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & {
137
- [x: string]: undefined;
138
- }>>, string | number>) & React.RefAttributes<TamaguiElement>>;
132
+ ScrollView: React.ForwardRefExoticComponent<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & {
133
+ readonly fullscreen?: boolean | undefined;
134
+ } & import("@tamagui/core").MediaProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & {
135
+ readonly fullscreen?: boolean | undefined;
136
+ }>> & import("@tamagui/core").PseudoProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & {
137
+ readonly fullscreen?: boolean | undefined;
138
+ }>> & React.RefAttributes<TamaguiElement>>;
139
139
  };
140
140
  export declare const ControlledSheet: React.FunctionComponent<Omit<SheetProps, "open" | "onOpenChange"> & React.RefAttributes<View>> & {
141
141
  Handle: ({ __scopeSheet, ...props }: SheetScopedProps<XStackProps>) => JSX.Element;
@@ -152,13 +152,13 @@ export declare const ControlledSheet: React.FunctionComponent<Omit<SheetProps, "
152
152
  __scopeSheet?: import("@tamagui/create-context").Scope<any>;
153
153
  } & React.RefAttributes<unknown>>;
154
154
  Overlay: ({ __scopeSheet, ...props }: SheetScopedProps<SheetOverlayProps>) => JSX.Element;
155
- ScrollView: React.ForwardRefExoticComponent<((import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps>) | Pick<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & {
156
- [x: string]: undefined;
157
- } & import("@tamagui/core").MediaProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & {
158
- [x: string]: undefined;
159
- }>> & import("@tamagui/core").PseudoProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & {
160
- [x: string]: undefined;
161
- }>>, string | number>) & React.RefAttributes<TamaguiElement>>;
155
+ ScrollView: React.ForwardRefExoticComponent<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & {
156
+ readonly fullscreen?: boolean | undefined;
157
+ } & import("@tamagui/core").MediaProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & {
158
+ readonly fullscreen?: boolean | undefined;
159
+ }>> & import("@tamagui/core").PseudoProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & {
160
+ readonly fullscreen?: boolean | undefined;
161
+ }>> & React.RefAttributes<TamaguiElement>>;
162
162
  };
163
163
  type SheetControllerContextValue = {
164
164
  disableDrag?: boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../src/Sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EAER,cAAc,EAcf,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAU,WAAW,EAAuB,MAAM,iBAAiB,CAAA;AAG1E,OAAO,KAYN,MAAM,OAAO,CAAA;AACd,OAAO,EAKL,IAAI,EACL,MAAM,cAAc,CAAA;AAKrB,OAAO,EAAgB,UAAU,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAEpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAMjD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;EAyB3B,CAAA;AAEF,eAAO,MAAM,WAAW,+BACO,iBAAiB,WAAW,CAAC,gBAe3D,CAAA;AAQD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;EAkB5B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAElE,eAAO,MAAM,YAAY,+BACM,iBAAiB,iBAAiB,CAAC,gBAiBjE,CAAA;AAWD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAU1B,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;iCAQtB,CAAA;AA2BD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;yCAzHa,iBAAiB,WAAW,CAAC;;;;;;;;;;;;;0CA8C7B,iBAAiB,iBAAiB,CAAC;;;;;;;;CA0FjE,CAAA;AAm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,kBAAkB;;;;;;;;;qCAAE,gBAAgB,+CAAkC,CAAA;AAEpF,eAAO,MAAO,aAAa;;gBAZjB,OAAO;qBACF,qBAAqB;iBACzB,MAAM,QAAQ,CAAC,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;oBAC1C,MAAM,SAAS,CAAC,cAAc,CAAC;+BACpB,OAAO;sBAChB,YAAY;mBACf,MAAM;eACV,OAAO;;;;;;GAKa,eAAe;;;mCAG3C,CAAA"}
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { TamaguiElement } from '@tamagui/core';
3
- export declare const SheetScrollView: import("react").ForwardRefExoticComponent<((import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps>) | Pick<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & {
4
- [x: string]: undefined;
5
- } & import("@tamagui/core").MediaProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & {
6
- [x: string]: undefined;
7
- }>> & import("@tamagui/core").PseudoProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & {
8
- [x: string]: undefined;
9
- }>>, string | number>) & import("react").RefAttributes<TamaguiElement>>;
3
+ export declare const SheetScrollView: import("react").ForwardRefExoticComponent<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & {
4
+ readonly fullscreen?: boolean | undefined;
5
+ } & import("@tamagui/core").MediaProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & {
6
+ readonly fullscreen?: boolean | undefined;
7
+ }>> & import("@tamagui/core").PseudoProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & {
8
+ readonly fullscreen?: boolean | undefined;
9
+ }>> & import("react").RefAttributes<TamaguiElement>>;
10
10
  //# sourceMappingURL=SheetScrollView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SheetScrollView.d.ts","sourceRoot":"","sources":["../src/SheetScrollView.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,cAAc,EAAe,MAAM,eAAe,CAAA;AAgBlE,eAAO,MAAM,eAAe;;;;;;oDAqH3B,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,IAAK,CAAA;AAE3B,eAAO,MAAM,UAAU,UAAU,CAAA;AACjC,eAAO,MAAM,iBAAiB,gBAAgB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,MAAM,MAAM,UAAU,GAAG,WAAW,CAClC;IACE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE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