@tamagui/sheet 1.116.2 → 1.116.4
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 +16 -16
- package/types/Sheet.d.ts +2 -38
- package/types/Sheet.d.ts.map +1 -1
- package/types/createSheet.d.ts +2 -54
- package/types/createSheet.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/sheet",
|
|
3
|
-
"version": "1.116.
|
|
3
|
+
"version": "1.116.4",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -35,26 +35,26 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@tamagui/animate-presence": "1.116.
|
|
39
|
-
"@tamagui/animations-react-native": "1.116.
|
|
40
|
-
"@tamagui/compose-refs": "1.116.
|
|
41
|
-
"@tamagui/constants": "1.116.
|
|
42
|
-
"@tamagui/core": "1.116.
|
|
43
|
-
"@tamagui/create-context": "1.116.
|
|
44
|
-
"@tamagui/helpers": "1.116.
|
|
45
|
-
"@tamagui/portal": "1.116.
|
|
46
|
-
"@tamagui/remove-scroll": "1.116.
|
|
47
|
-
"@tamagui/scroll-view": "1.116.
|
|
48
|
-
"@tamagui/stacks": "1.116.
|
|
49
|
-
"@tamagui/use-constant": "1.116.
|
|
50
|
-
"@tamagui/use-controllable-state": "1.116.
|
|
51
|
-
"@tamagui/use-keyboard-visible": "1.116.
|
|
38
|
+
"@tamagui/animate-presence": "1.116.4",
|
|
39
|
+
"@tamagui/animations-react-native": "1.116.4",
|
|
40
|
+
"@tamagui/compose-refs": "1.116.4",
|
|
41
|
+
"@tamagui/constants": "1.116.4",
|
|
42
|
+
"@tamagui/core": "1.116.4",
|
|
43
|
+
"@tamagui/create-context": "1.116.4",
|
|
44
|
+
"@tamagui/helpers": "1.116.4",
|
|
45
|
+
"@tamagui/portal": "1.116.4",
|
|
46
|
+
"@tamagui/remove-scroll": "1.116.4",
|
|
47
|
+
"@tamagui/scroll-view": "1.116.4",
|
|
48
|
+
"@tamagui/stacks": "1.116.4",
|
|
49
|
+
"@tamagui/use-constant": "1.116.4",
|
|
50
|
+
"@tamagui/use-controllable-state": "1.116.4",
|
|
51
|
+
"@tamagui/use-keyboard-visible": "1.116.4"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"react": "*"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@tamagui/build": "1.116.
|
|
57
|
+
"@tamagui/build": "1.116.4",
|
|
58
58
|
"react": "^18.2.0 || ^19.0.0"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
package/types/Sheet.d.ts
CHANGED
|
@@ -74,25 +74,7 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
|
|
|
74
74
|
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
75
75
|
} & import("react").RefAttributes<import("react-native").View>> & {
|
|
76
76
|
Controlled: import("react").FunctionComponent<Omit<import("./types").SheetProps, "open" | "onOpenChange"> & import("react").RefAttributes<import("react-native").View>> & {
|
|
77
|
-
Frame: import("react").ForwardRefExoticComponent<
|
|
78
|
-
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
79
|
-
fullscreen?: boolean | undefined;
|
|
80
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
81
|
-
top?: number;
|
|
82
|
-
bottom?: number;
|
|
83
|
-
left?: number;
|
|
84
|
-
right?: number;
|
|
85
|
-
} | undefined;
|
|
86
|
-
unstyled?: boolean | undefined;
|
|
87
|
-
}>, keyof {
|
|
88
|
-
disableHideBottomOverflow?: boolean;
|
|
89
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
90
|
-
}> & {
|
|
91
|
-
disableHideBottomOverflow?: boolean;
|
|
92
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
93
|
-
} & {
|
|
94
|
-
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
95
|
-
} & import("react").RefAttributes<unknown>>;
|
|
77
|
+
Frame: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
96
78
|
Overlay: import("react").MemoExoticComponent<(propsIn: import("./types").SheetScopedProps<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
97
79
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
98
80
|
fullscreen?: boolean | undefined;
|
|
@@ -137,25 +119,7 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
|
|
|
137
119
|
fullscreen?: boolean | undefined;
|
|
138
120
|
}>> & import("react").RefAttributes<import("react-native").ScrollView>>;
|
|
139
121
|
};
|
|
140
|
-
Frame: import("react").ForwardRefExoticComponent<
|
|
141
|
-
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
142
|
-
fullscreen?: boolean | undefined;
|
|
143
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
144
|
-
top?: number;
|
|
145
|
-
bottom?: number;
|
|
146
|
-
left?: number;
|
|
147
|
-
right?: number;
|
|
148
|
-
} | undefined;
|
|
149
|
-
unstyled?: boolean | undefined;
|
|
150
|
-
}>, keyof {
|
|
151
|
-
disableHideBottomOverflow?: boolean;
|
|
152
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
153
|
-
}> & {
|
|
154
|
-
disableHideBottomOverflow?: boolean;
|
|
155
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
156
|
-
} & {
|
|
157
|
-
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
158
|
-
} & import("react").RefAttributes<unknown>>;
|
|
122
|
+
Frame: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
159
123
|
Overlay: import("react").MemoExoticComponent<(propsIn: import("./types").SheetScopedProps<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
160
124
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
161
125
|
fullscreen?: boolean | undefined;
|
package/types/Sheet.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../src/Sheet.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,cAAc,SAAS,CAAA;AAMvB,eAAO,MAAM,MAAM;;;;;;;;;;;8CAkCjB,CAAA;AAMF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;8CA6BlB,CAAA;AAMF,eAAO,MAAM,KAAK;;;;;;;;;;8CAoBhB,CAAA;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;yBAlDM,MAClB,aACF
|
|
1
|
+
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../src/Sheet.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,cAAc,SAAS,CAAA;AAMvB,eAAO,MAAM,MAAM;;;;;;;;;;;8CAkCjB,CAAA;AAMF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;8CA6BlB,CAAA;AAMF,eAAO,MAAM,KAAK;;;;;;;;;;8CAoBhB,CAAA;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;yBAlDM,MAClB,aACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4DAnDD,eAAa,uBAAuB,cAAc,0BAA0B,eAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuG3F,CAAA;AAEF,uCAAuC;AACvC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;8CAAU,CAAA;AAExC,uCAAuC;AACvC,eAAO,MAAM,gBAAgB;;;;;;;;;;;8CAAS,CAAA"}
|
package/types/createSheet.d.ts
CHANGED
|
@@ -39,33 +39,7 @@ export declare function createSheet<H extends TamaguiComponent | SheetStyledComp
|
|
|
39
39
|
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
40
40
|
} & RefAttributes<View>> & {
|
|
41
41
|
Controlled: FunctionComponent<Omit<SheetProps, "open" | "onOpenChange"> & RefAttributes<View>> & {
|
|
42
|
-
Frame: import("react").ForwardRefExoticComponent<
|
|
43
|
-
/**
|
|
44
|
-
* By default the sheet adds a view below its bottom that extends down another 50%,
|
|
45
|
-
* this is useful if your Sheet has a spring animation that bounces "past" the top when
|
|
46
|
-
* opening, preventing it from showing the content underneath.
|
|
47
|
-
*/
|
|
48
|
-
disableHideBottomOverflow?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Adds padding accounting for the currently offscreen content, so if you put a flex element inside
|
|
51
|
-
* the sheet, it will always flex to the height of the visible amount of the sheet. If this is not
|
|
52
|
-
* turned on, the inner content is always set to the max height of the sheet.
|
|
53
|
-
*/
|
|
54
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
55
|
-
}> & {
|
|
56
|
-
/**
|
|
57
|
-
* By default the sheet adds a view below its bottom that extends down another 50%,
|
|
58
|
-
* this is useful if your Sheet has a spring animation that bounces "past" the top when
|
|
59
|
-
* opening, preventing it from showing the content underneath.
|
|
60
|
-
*/
|
|
61
|
-
disableHideBottomOverflow?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Adds padding accounting for the currently offscreen content, so if you put a flex element inside
|
|
64
|
-
* the sheet, it will always flex to the height of the visible amount of the sheet. If this is not
|
|
65
|
-
* turned on, the inner content is always set to the max height of the sheet.
|
|
66
|
-
*/
|
|
67
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
68
|
-
}>> & RefAttributes<unknown>>;
|
|
42
|
+
Frame: import("react").ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
69
43
|
Overlay: import("react").MemoExoticComponent<(propsIn: SheetScopedProps<GetProps<typeof Overlay>>) => null>;
|
|
70
44
|
Handle: TamaguiComponent<any, any, any, any, SharedSheetProps, {}> | TamaguiComponent<any, any, any, {}, {}, {}>;
|
|
71
45
|
ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@tamagui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
@@ -86,33 +60,7 @@ export declare function createSheet<H extends TamaguiComponent | SheetStyledComp
|
|
|
86
60
|
fullscreen?: boolean | undefined;
|
|
87
61
|
}>> & RefAttributes<import("react-native").ScrollView>>;
|
|
88
62
|
};
|
|
89
|
-
Frame: import("react").ForwardRefExoticComponent<
|
|
90
|
-
/**
|
|
91
|
-
* By default the sheet adds a view below its bottom that extends down another 50%,
|
|
92
|
-
* this is useful if your Sheet has a spring animation that bounces "past" the top when
|
|
93
|
-
* opening, preventing it from showing the content underneath.
|
|
94
|
-
*/
|
|
95
|
-
disableHideBottomOverflow?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* Adds padding accounting for the currently offscreen content, so if you put a flex element inside
|
|
98
|
-
* the sheet, it will always flex to the height of the visible amount of the sheet. If this is not
|
|
99
|
-
* turned on, the inner content is always set to the max height of the sheet.
|
|
100
|
-
*/
|
|
101
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
102
|
-
}> & {
|
|
103
|
-
/**
|
|
104
|
-
* By default the sheet adds a view below its bottom that extends down another 50%,
|
|
105
|
-
* this is useful if your Sheet has a spring animation that bounces "past" the top when
|
|
106
|
-
* opening, preventing it from showing the content underneath.
|
|
107
|
-
*/
|
|
108
|
-
disableHideBottomOverflow?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Adds padding accounting for the currently offscreen content, so if you put a flex element inside
|
|
111
|
-
* the sheet, it will always flex to the height of the visible amount of the sheet. If this is not
|
|
112
|
-
* turned on, the inner content is always set to the max height of the sheet.
|
|
113
|
-
*/
|
|
114
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
115
|
-
}>> & RefAttributes<unknown>>;
|
|
63
|
+
Frame: import("react").ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
116
64
|
Overlay: import("react").MemoExoticComponent<(propsIn: SheetScopedProps<GetProps<typeof Overlay>>) => null>;
|
|
117
65
|
Handle: TamaguiComponent<any, any, any, any, SharedSheetProps, {}> | TamaguiComponent<any, any, any, {}, {}, {}>;
|
|
118
66
|
ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@tamagui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSheet.d.ts","sourceRoot":"","sources":["../src/createSheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,iCAAiC,EAElC,MAAM,eAAe,CAAA;AAKtB,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE7D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAQxC,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAI3D,KAAK,gBAAgB,GAAG;IACtB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,KAAK,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAAA;AAE9C,KAAK,oBAAoB,GAAG,iCAAiC,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAA;AAE1F,wBAAgB,WAAW,CACzB,CAAC,SAAS,gBAAgB,GAAG,oBAAoB,EACjD,CAAC,SAAS,gBAAgB,GA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