@tamagui/sheet 3.0.0 → 3.0.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/sheet",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -43,29 +43,29 @@
|
|
|
43
43
|
"clean": "tamagui-build clean"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@tamagui/adapt": "3.0.
|
|
47
|
-
"@tamagui/animate-presence": "3.0.
|
|
48
|
-
"@tamagui/animation-helpers": "3.0.
|
|
49
|
-
"@tamagui/animations-react-native": "3.0.
|
|
50
|
-
"@tamagui/compose-refs": "3.0.
|
|
51
|
-
"@tamagui/constants": "3.0.
|
|
52
|
-
"@tamagui/core": "3.0.
|
|
53
|
-
"@tamagui/helpers": "3.0.
|
|
54
|
-
"@tamagui/native": "3.0.
|
|
55
|
-
"@tamagui/portal": "3.0.
|
|
56
|
-
"@tamagui/react-native-pan-responder": "3.0.
|
|
57
|
-
"@tamagui/react-native-types": "3.0.
|
|
58
|
-
"@tamagui/react-native-use-responder-events": "3.0.
|
|
59
|
-
"@tamagui/remove-scroll": "3.0.
|
|
60
|
-
"@tamagui/scroll-view": "3.0.
|
|
61
|
-
"@tamagui/stacks": "3.0.
|
|
62
|
-
"@tamagui/use-constant": "3.0.
|
|
63
|
-
"@tamagui/use-controllable-state": "3.0.
|
|
64
|
-
"@tamagui/use-did-finish-ssr": "3.0.
|
|
65
|
-
"@tamagui/z-index-stack": "3.0.
|
|
46
|
+
"@tamagui/adapt": "3.0.1",
|
|
47
|
+
"@tamagui/animate-presence": "3.0.1",
|
|
48
|
+
"@tamagui/animation-helpers": "3.0.1",
|
|
49
|
+
"@tamagui/animations-react-native": "3.0.1",
|
|
50
|
+
"@tamagui/compose-refs": "3.0.1",
|
|
51
|
+
"@tamagui/constants": "3.0.1",
|
|
52
|
+
"@tamagui/core": "3.0.1",
|
|
53
|
+
"@tamagui/helpers": "3.0.1",
|
|
54
|
+
"@tamagui/native": "3.0.1",
|
|
55
|
+
"@tamagui/portal": "3.0.1",
|
|
56
|
+
"@tamagui/react-native-pan-responder": "3.0.1",
|
|
57
|
+
"@tamagui/react-native-types": "3.0.1",
|
|
58
|
+
"@tamagui/react-native-use-responder-events": "3.0.1",
|
|
59
|
+
"@tamagui/remove-scroll": "3.0.1",
|
|
60
|
+
"@tamagui/scroll-view": "3.0.1",
|
|
61
|
+
"@tamagui/stacks": "3.0.1",
|
|
62
|
+
"@tamagui/use-constant": "3.0.1",
|
|
63
|
+
"@tamagui/use-controllable-state": "3.0.1",
|
|
64
|
+
"@tamagui/use-did-finish-ssr": "3.0.1",
|
|
65
|
+
"@tamagui/z-index-stack": "3.0.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@tamagui/build": "3.0.
|
|
68
|
+
"@tamagui/build": "3.0.1",
|
|
69
69
|
"react": "19.2.3",
|
|
70
70
|
"react-native": "0.87.1",
|
|
71
71
|
"react-native-gesture-handler": "3.3.0",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"url": "git+https://github.com/tamagui/tamagui.git",
|
|
89
89
|
"directory": "code/ui/sheet"
|
|
90
90
|
},
|
|
91
|
-
"releaseSourceCommit": "
|
|
91
|
+
"releaseSourceCommit": "c156b7cc55e5a6cc5883ebc8189720850ac32dbd"
|
|
92
92
|
}
|
package/types/Sheet.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ type ExtraBackgroundProps = {
|
|
|
40
40
|
export declare const SheetBackground: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "disableHideBottomOverflow" | "scope" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof SheetStyleShorthandProps | keyof import("@tamagui/core").StackStyleBase> & Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, never> & Omit<import("@tamagui/core").WithThemeValues<Omit<import("@tamagui/core").StackStyleBase, never>> & import("@tamagui/core").WithFlatVariantValues<{}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>, keyof import("@tamagui/core").RNTamaguiViewNonStyleProps> & SheetStyleShorthandProps & ExtraBackgroundProps, "scope"> & {
|
|
41
41
|
scope?: import("./types").SheetScopes;
|
|
42
42
|
}, import("@tamagui/core").StackStyleBase, Omit<{}, "disableHideBottomOverflow" | "scope" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof SheetStyleShorthandProps | keyof import("@tamagui/core").StackStyleBase>, import("@tamagui/core").StaticConfigPublic>;
|
|
43
|
-
export declare const SheetRoot: import("@tamagui/compose-refs").RefComponent<
|
|
43
|
+
export declare const SheetRoot: import("@tamagui/compose-refs").RefComponent<RNView, SheetProps>;
|
|
44
44
|
export declare const SheetControlled: FunctionComponent<Omit<SheetProps, "onOpenChange" | "open"> & {
|
|
45
45
|
ref?: Ref<RNView>;
|
|
46
46
|
}> & {
|
|
@@ -106,7 +106,7 @@ export declare const Sheet: ((props: Omit<{
|
|
|
106
106
|
onTransition?: (e: import("./types").SheetTransitionEvent) => void;
|
|
107
107
|
}, "scope"> & {
|
|
108
108
|
scope?: import("./types").SheetScopes;
|
|
109
|
-
} & import("@tamagui/compose-refs").RefProp<
|
|
109
|
+
} & import("@tamagui/compose-refs").RefProp<RNView>) => import("react").ReactNode) & {
|
|
110
110
|
displayName?: string;
|
|
111
111
|
propTypes?: any;
|
|
112
112
|
} & {
|
|
@@ -142,7 +142,7 @@ export declare const Sheet: ((props: Omit<{
|
|
|
142
142
|
acceptsClassName: true;
|
|
143
143
|
neverFlatten: true;
|
|
144
144
|
}>;
|
|
145
|
-
Root: import("@tamagui/compose-refs").RefComponent<
|
|
145
|
+
Root: import("@tamagui/compose-refs").RefComponent<RNView, SheetProps>;
|
|
146
146
|
Controlled: FunctionComponent<Omit<SheetProps, "onOpenChange" | "open"> & {
|
|
147
147
|
ref?: Ref<RNView>;
|
|
148
148
|
}> & {
|
package/types/Sheet.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../src/Sheet.tsx"],"names":[],"mappings":"AAGA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,eAAe,CAAA;AAOtB,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAEnD,OAAO,KAAK,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,6BAA6B,CAAA;AASzE,OAAO,EAEL,mBAAmB,EAEpB,MAAM,gBAAgB,CAAA;AAGvB,OAAO,KAAK,EAAE,UAAU,EAAoB,MAAM,SAAS,CAAA;AAK3D,cAAc,SAAS,CAAA;AAEvB,KAAK,wBAAwB,GAAG;IAC9B,CAAC,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAA;IACvB,CAAC,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IACxB,GAAG,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;CAC5B,CAAA;AA8DD,eAAO,MAAM,WAAW;;;;mMAwCvB,CAAA;AAED,eAAO,MAAM,YAAY;;;;mMAsCxB,CAAA;AAED,KAAK,mBAAmB,GAAG;IACzB;;;;OAIG;IACH,gCAAgC,CAAC,EAAE,OAAO,CAAA;CAC3C,CAAA;AAED,eAAO,MAAM,cAAc;;yRA2F1B,CAAA;AAED,KAAK,oBAAoB,GAAG;IAC1B;;;OAGG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAA;CACpC,CAAA;AAED,eAAO,MAAM,eAAe;;kRAqB3B,CAAA;AAED,eAAO,MAAM,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;;;cALsC,GAAG,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUjE,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import type { ViewInstance as View } from '@tamagui/react-native-types';
|
|
1
2
|
import type { SheetProps } from './types';
|
|
2
|
-
export declare const SheetImplementationCustom: import("@tamagui/compose-refs").RefComponent<
|
|
3
|
+
export declare const SheetImplementationCustom: import("@tamagui/compose-refs").RefComponent<View, SheetProps>;
|
|
3
4
|
export declare function isSheetOverlayComponent(type: unknown): boolean;
|
|
4
5
|
//# sourceMappingURL=SheetImplementationCustom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetImplementationCustom.d.ts","sourceRoot":"","sources":["../src/SheetImplementationCustom.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SheetImplementationCustom.d.ts","sourceRoot":"","sources":["../src/SheetImplementationCustom.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAIV,YAAY,IAAI,IAAI,EACrB,MAAM,6BAA6B,CAAA;AAwBpC,OAAO,KAAK,EACV,UAAU,EAIX,MAAM,SAAS,CAAA;AAwBhB,eAAO,MAAM,yBAAyB,gEAumCrC,CAAA;AAOD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,OAAO,WAYpD"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import type { ViewInstance as View } from '@tamagui/react-native-types';
|
|
1
2
|
import type { NativeSheetRenderer, SheetNativePlatforms, SheetProps } from './types';
|
|
2
|
-
export declare function getNativeSheet(platform: SheetNativePlatforms): import("@tamagui/core").RefComponent<
|
|
3
|
+
export declare function getNativeSheet(platform: SheetNativePlatforms): import("@tamagui/core").RefComponent<View, SheetProps> | null;
|
|
3
4
|
export declare function setupNativeSheet(platform: SheetNativePlatforms, Renderer: NativeSheetRenderer): void;
|
|
4
5
|
//# sourceMappingURL=nativeSheet.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nativeSheet.native.d.ts","sourceRoot":"","sources":["../src/nativeSheet.native.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nativeSheet.native.d.ts","sourceRoot":"","sources":["../src/nativeSheet.native.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,IAAI,EAAE,MAAM,6BAA6B,CAAA;AAIvE,OAAO,KAAK,EACV,mBAAmB,EAEnB,oBAAoB,EACpB,UAAU,EACX,MAAM,SAAS,CAAA;AAOhB,wBAAgB,cAAc,CAAC,QAAQ,EAAE,oBAAoB,iEAG5D;AAED,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,oBAAoB,EAC9B,QAAQ,EAAE,mBAAmB,QAqF9B"}
|