@tamagui/sheet 1.144.1 → 1.144.2
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/dist/cjs/controller.cjs +29 -0
- package/dist/cjs/controller.js +23 -0
- package/dist/cjs/controller.js.map +6 -0
- package/dist/cjs/controller.native.js +32 -0
- package/dist/cjs/controller.native.js.map +1 -0
- package/dist/esm/controller.js +11 -0
- package/dist/esm/controller.js.map +6 -0
- package/dist/esm/controller.mjs +4 -0
- package/dist/esm/controller.mjs.map +1 -0
- package/dist/esm/controller.native.js +4 -0
- package/dist/esm/controller.native.js.map +1 -0
- package/dist/jsx/controller.js +11 -0
- package/dist/jsx/controller.js.map +6 -0
- package/dist/jsx/controller.mjs +4 -0
- package/dist/jsx/controller.mjs.map +1 -0
- package/dist/jsx/controller.native.js +32 -0
- package/dist/jsx/controller.native.js.map +1 -0
- package/package.json +19 -19
- package/types/Sheet.d.ts +50 -10
- package/types/Sheet.d.ts.map +1 -1
- package/types/SheetScrollView.d.ts +25 -5
- package/types/SheetScrollView.d.ts.map +1 -1
- package/types/controller.d.ts.map +1 -0
- package/types/createSheet.d.ts +50 -10
- package/types/createSheet.d.ts.map +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var controller_exports = {};
|
|
22
|
+
__export(controller_exports, {
|
|
23
|
+
SheetController: () => import_SheetController.SheetController,
|
|
24
|
+
SheetControllerContext: () => import_useSheetController.SheetControllerContext,
|
|
25
|
+
useSheetController: () => import_useSheetController.useSheetController
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(controller_exports);
|
|
28
|
+
var import_SheetController = require("./SheetController.cjs"),
|
|
29
|
+
import_useSheetController = require("./useSheetController.cjs");
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var controller_exports = {};
|
|
16
|
+
__export(controller_exports, {
|
|
17
|
+
SheetController: () => import_SheetController.SheetController,
|
|
18
|
+
SheetControllerContext: () => import_useSheetController.SheetControllerContext,
|
|
19
|
+
useSheetController: () => import_useSheetController.useSheetController
|
|
20
|
+
});
|
|
21
|
+
module.exports = __toCommonJS(controller_exports);
|
|
22
|
+
var import_SheetController = require("./SheetController"), import_useSheetController = require("./useSheetController");
|
|
23
|
+
//# sourceMappingURL=controller.js.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var controller_exports = {};
|
|
24
|
+
__export(controller_exports, {
|
|
25
|
+
SheetController: () => import_SheetController.SheetController,
|
|
26
|
+
SheetControllerContext: () => import_useSheetController.SheetControllerContext,
|
|
27
|
+
useSheetController: () => import_useSheetController.useSheetController
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(controller_exports);
|
|
30
|
+
var import_SheetController = require("./SheetController.native.js"),
|
|
31
|
+
import_useSheetController = require("./useSheetController.native.js");
|
|
32
|
+
//# sourceMappingURL=controller.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","controller_exports","__export","SheetController","import_SheetController","SheetControllerContext","import_useSheetController","useSheetController","module","exports"],"sources":["../../src/controller.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,eAAA,EAAAA,CAAA,KAAAC,sBAAA,CAAAD,eAAA;EAAAE,sBAAA,EAAAA,CAAA,KAAAC,yBAAA,CAAAD,sBAAA;EAAAE,kBAAA,EAAAA,CAAA,KAAAD,yBAAA,CAAAC;AAAA;AAGAC,MAAA,CAAAC,OAAA,GAAAb,YAAgC,CAAAK,kBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SheetController } from "./SheetController";
|
|
2
|
+
import {
|
|
3
|
+
SheetControllerContext,
|
|
4
|
+
useSheetController
|
|
5
|
+
} from "./useSheetController";
|
|
6
|
+
export {
|
|
7
|
+
SheetController,
|
|
8
|
+
SheetControllerContext,
|
|
9
|
+
useSheetController
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SheetController","SheetControllerContext","useSheetController"],"sources":["../../src/controller.ts"],"sourcesContent":[null],"mappings":"AAGA,SAASA,eAAA,QAAuB;AAChC,SACEC,sBAAA,EACAC,kBAAA,QAEK","ignoreList":[]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SheetController } from "./SheetController.native.js";
|
|
2
|
+
import { SheetControllerContext, useSheetController } from "./useSheetController.native.js";
|
|
3
|
+
export { SheetController, SheetControllerContext, useSheetController };
|
|
4
|
+
//# sourceMappingURL=controller.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SheetController","SheetControllerContext","useSheetController"],"sources":["../../src/controller.ts"],"sourcesContent":[null],"mappings":"AAGA,SAASA,eAAA,QAAuB;AAChC,SAAAC,sBAAA,EAAAC,kBAAA;AAAA,SAEEF,eAAA,EAAAC,sBAEK,E","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SheetController } from "./SheetController";
|
|
2
|
+
import {
|
|
3
|
+
SheetControllerContext,
|
|
4
|
+
useSheetController
|
|
5
|
+
} from "./useSheetController";
|
|
6
|
+
export {
|
|
7
|
+
SheetController,
|
|
8
|
+
SheetControllerContext,
|
|
9
|
+
useSheetController
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SheetController","SheetControllerContext","useSheetController"],"sources":["../../src/controller.ts"],"sourcesContent":[null],"mappings":"AAGA,SAASA,eAAA,QAAuB;AAChC,SACEC,sBAAA,EACAC,kBAAA,QAEK","ignoreList":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var controller_exports = {};
|
|
24
|
+
__export(controller_exports, {
|
|
25
|
+
SheetController: () => import_SheetController.SheetController,
|
|
26
|
+
SheetControllerContext: () => import_useSheetController.SheetControllerContext,
|
|
27
|
+
useSheetController: () => import_useSheetController.useSheetController
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(controller_exports);
|
|
30
|
+
var import_SheetController = require("./SheetController.native.js"),
|
|
31
|
+
import_useSheetController = require("./useSheetController.native.js");
|
|
32
|
+
//# sourceMappingURL=controller.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty"],"sources":["../../src/controller.ts"],"sourcesContent":[null],"mappings":"AAGA,YAAS;;AACT,IAAAA,SAAA,GAAAC,MAAA,CAAAC,cAAA;AAAA,IACEC,gBAAA,GAAAF,MAAA,CAAAG,wBAAA;AAAA,IACAC,iBAAA,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IAAAC,YAEK,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/sheet",
|
|
3
|
-
"version": "1.144.
|
|
3
|
+
"version": "1.144.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -40,30 +40,30 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@tamagui/adapt": "1.144.
|
|
44
|
-
"@tamagui/animate-presence": "1.144.
|
|
45
|
-
"@tamagui/animations-react-native": "1.144.
|
|
46
|
-
"@tamagui/compose-refs": "1.144.
|
|
47
|
-
"@tamagui/constants": "1.144.
|
|
48
|
-
"@tamagui/core": "1.144.
|
|
49
|
-
"@tamagui/create-context": "1.144.
|
|
50
|
-
"@tamagui/helpers": "1.144.
|
|
51
|
-
"@tamagui/portal": "1.144.
|
|
52
|
-
"@tamagui/remove-scroll": "1.144.
|
|
53
|
-
"@tamagui/scroll-view": "1.144.
|
|
54
|
-
"@tamagui/stacks": "1.144.
|
|
55
|
-
"@tamagui/use-constant": "1.144.
|
|
56
|
-
"@tamagui/use-controllable-state": "1.144.
|
|
57
|
-
"@tamagui/use-did-finish-ssr": "1.144.
|
|
58
|
-
"@tamagui/use-keyboard-visible": "1.144.
|
|
59
|
-
"@tamagui/z-index-stack": "1.144.
|
|
43
|
+
"@tamagui/adapt": "1.144.2",
|
|
44
|
+
"@tamagui/animate-presence": "1.144.2",
|
|
45
|
+
"@tamagui/animations-react-native": "1.144.2",
|
|
46
|
+
"@tamagui/compose-refs": "1.144.2",
|
|
47
|
+
"@tamagui/constants": "1.144.2",
|
|
48
|
+
"@tamagui/core": "1.144.2",
|
|
49
|
+
"@tamagui/create-context": "1.144.2",
|
|
50
|
+
"@tamagui/helpers": "1.144.2",
|
|
51
|
+
"@tamagui/portal": "1.144.2",
|
|
52
|
+
"@tamagui/remove-scroll": "1.144.2",
|
|
53
|
+
"@tamagui/scroll-view": "1.144.2",
|
|
54
|
+
"@tamagui/stacks": "1.144.2",
|
|
55
|
+
"@tamagui/use-constant": "1.144.2",
|
|
56
|
+
"@tamagui/use-controllable-state": "1.144.2",
|
|
57
|
+
"@tamagui/use-did-finish-ssr": "1.144.2",
|
|
58
|
+
"@tamagui/use-keyboard-visible": "1.144.2",
|
|
59
|
+
"@tamagui/z-index-stack": "1.144.2"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"react": "*",
|
|
63
63
|
"react-native": "*"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tamagui/build": "1.144.
|
|
66
|
+
"@tamagui/build": "1.144.2",
|
|
67
67
|
"react": "*",
|
|
68
68
|
"react-native": "0.81.5"
|
|
69
69
|
},
|
package/types/Sheet.d.ts
CHANGED
|
@@ -119,19 +119,39 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
|
|
|
119
119
|
open?: boolean;
|
|
120
120
|
}, {}> | import("@tamagui/core").TamaguiComponent<any, any, any, {}, {}, {}>;
|
|
121
121
|
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 & {
|
|
122
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
122
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
123
|
+
accept: {
|
|
124
|
+
readonly contentContainerStyle: "style";
|
|
125
|
+
};
|
|
126
|
+
}>> | undefined;
|
|
123
127
|
}> & {
|
|
124
128
|
fullscreen?: boolean | undefined;
|
|
125
129
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
126
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
130
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
131
|
+
accept: {
|
|
132
|
+
readonly contentContainerStyle: "style";
|
|
133
|
+
};
|
|
134
|
+
}>> | undefined;
|
|
127
135
|
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
128
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
136
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
137
|
+
accept: {
|
|
138
|
+
readonly contentContainerStyle: "style";
|
|
139
|
+
};
|
|
140
|
+
}>> | undefined;
|
|
129
141
|
}> & {
|
|
130
142
|
fullscreen?: boolean | undefined;
|
|
131
143
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
132
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
144
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
145
|
+
accept: {
|
|
146
|
+
readonly contentContainerStyle: "style";
|
|
147
|
+
};
|
|
148
|
+
}>> | undefined;
|
|
133
149
|
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
134
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
150
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
151
|
+
accept: {
|
|
152
|
+
readonly contentContainerStyle: "style";
|
|
153
|
+
};
|
|
154
|
+
}>> | undefined;
|
|
135
155
|
}, {
|
|
136
156
|
fullscreen?: boolean | undefined;
|
|
137
157
|
}>> & import("react").RefAttributes<import("react-native").ScrollView>>;
|
|
@@ -180,19 +200,39 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
|
|
|
180
200
|
open?: boolean;
|
|
181
201
|
}, {}> | import("@tamagui/core").TamaguiComponent<any, any, any, {}, {}, {}>;
|
|
182
202
|
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 & {
|
|
183
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
203
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
204
|
+
accept: {
|
|
205
|
+
readonly contentContainerStyle: "style";
|
|
206
|
+
};
|
|
207
|
+
}>> | undefined;
|
|
184
208
|
}> & {
|
|
185
209
|
fullscreen?: boolean | undefined;
|
|
186
210
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
187
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
211
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
212
|
+
accept: {
|
|
213
|
+
readonly contentContainerStyle: "style";
|
|
214
|
+
};
|
|
215
|
+
}>> | undefined;
|
|
188
216
|
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
189
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
217
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
218
|
+
accept: {
|
|
219
|
+
readonly contentContainerStyle: "style";
|
|
220
|
+
};
|
|
221
|
+
}>> | undefined;
|
|
190
222
|
}> & {
|
|
191
223
|
fullscreen?: boolean | undefined;
|
|
192
224
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
193
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
225
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
226
|
+
accept: {
|
|
227
|
+
readonly contentContainerStyle: "style";
|
|
228
|
+
};
|
|
229
|
+
}>> | undefined;
|
|
194
230
|
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
195
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
231
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
232
|
+
accept: {
|
|
233
|
+
readonly contentContainerStyle: "style";
|
|
234
|
+
};
|
|
235
|
+
}>> | undefined;
|
|
196
236
|
}, {
|
|
197
237
|
fullscreen?: boolean | undefined;
|
|
198
238
|
}>> & import("react").RefAttributes<import("react-native").ScrollView>>;
|
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;;;;;;;;;;;8CAmCjB,CAAA;AAMF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;8CA2BlB,CAAA;AAMF,eAAO,MAAM,KAAK;;;;;;;;;;8CAoBhB,CAAA;AAEF,eAAO,MAAM,KAAK
|
|
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;;;;;;;;;;;8CAmCjB,CAAA;AAMF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;8CA2BlB,CAAA;AAMF,eAAO,MAAM,KAAK;;;;;;;;;;8CAoBhB,CAAA;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA;AAEF,uCAAuC;AACvC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;8CAAU,CAAA;AAExC,uCAAuC;AACvC,eAAO,MAAM,gBAAgB;;;;;;;;;;;8CAAS,CAAA"}
|
|
@@ -1,19 +1,39 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ScrollView as RNScrollView } from 'react-native';
|
|
3
3
|
export declare const SheetScrollView: 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 & {
|
|
4
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
4
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof RNScrollView, {
|
|
5
|
+
accept: {
|
|
6
|
+
readonly contentContainerStyle: "style";
|
|
7
|
+
};
|
|
8
|
+
}>> | undefined;
|
|
5
9
|
}> & {
|
|
6
10
|
fullscreen?: boolean | undefined;
|
|
7
11
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
8
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
12
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof RNScrollView, {
|
|
13
|
+
accept: {
|
|
14
|
+
readonly contentContainerStyle: "style";
|
|
15
|
+
};
|
|
16
|
+
}>> | undefined;
|
|
9
17
|
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
10
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
18
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof RNScrollView, {
|
|
19
|
+
accept: {
|
|
20
|
+
readonly contentContainerStyle: "style";
|
|
21
|
+
};
|
|
22
|
+
}>> | undefined;
|
|
11
23
|
}> & {
|
|
12
24
|
fullscreen?: boolean | undefined;
|
|
13
25
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
14
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
26
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof RNScrollView, {
|
|
27
|
+
accept: {
|
|
28
|
+
readonly contentContainerStyle: "style";
|
|
29
|
+
};
|
|
30
|
+
}>> | undefined;
|
|
15
31
|
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
16
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
32
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof RNScrollView, {
|
|
33
|
+
accept: {
|
|
34
|
+
readonly contentContainerStyle: "style";
|
|
35
|
+
};
|
|
36
|
+
}>> | undefined;
|
|
17
37
|
}, {
|
|
18
38
|
fullscreen?: boolean | undefined;
|
|
19
39
|
}>> & React.RefAttributes<RNScrollView>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetScrollView.d.ts","sourceRoot":"","sources":["../src/SheetScrollView.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,cAAc,CAAA;AAY9D,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"SheetScrollView.d.ts","sourceRoot":"","sources":["../src/SheetScrollView.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,cAAc,CAAA;AAY9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAsP3B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../src/controller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,KAAK,2BAA2B,GACjC,MAAM,sBAAsB,CAAA"}
|
package/types/createSheet.d.ts
CHANGED
|
@@ -70,19 +70,39 @@ export declare function createSheet<H extends TamaguiComponent | SheetStyledComp
|
|
|
70
70
|
Overlay: import("react").MemoExoticComponent<(propsIn: SheetScopedProps<GetProps<typeof Overlay>>) => null>;
|
|
71
71
|
Handle: TamaguiComponent<any, any, any, any, SharedSheetProps, {}> | TamaguiComponent<any, any, any, {}, {}, {}>;
|
|
72
72
|
ScrollView: 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 & {
|
|
73
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
73
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
74
|
+
accept: {
|
|
75
|
+
readonly contentContainerStyle: "style";
|
|
76
|
+
};
|
|
77
|
+
}>> | undefined;
|
|
74
78
|
}> & {
|
|
75
79
|
fullscreen?: boolean | undefined;
|
|
76
80
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
77
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
81
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
82
|
+
accept: {
|
|
83
|
+
readonly contentContainerStyle: "style";
|
|
84
|
+
};
|
|
85
|
+
}>> | undefined;
|
|
78
86
|
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
79
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
87
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
88
|
+
accept: {
|
|
89
|
+
readonly contentContainerStyle: "style";
|
|
90
|
+
};
|
|
91
|
+
}>> | undefined;
|
|
80
92
|
}> & {
|
|
81
93
|
fullscreen?: boolean | undefined;
|
|
82
94
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
83
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
95
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
96
|
+
accept: {
|
|
97
|
+
readonly contentContainerStyle: "style";
|
|
98
|
+
};
|
|
99
|
+
}>> | undefined;
|
|
84
100
|
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
85
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
101
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
102
|
+
accept: {
|
|
103
|
+
readonly contentContainerStyle: "style";
|
|
104
|
+
};
|
|
105
|
+
}>> | undefined;
|
|
86
106
|
}, {
|
|
87
107
|
fullscreen?: boolean | undefined;
|
|
88
108
|
}>> & RefAttributes<import("react-native").ScrollView>>;
|
|
@@ -117,19 +137,39 @@ export declare function createSheet<H extends TamaguiComponent | SheetStyledComp
|
|
|
117
137
|
Overlay: import("react").MemoExoticComponent<(propsIn: SheetScopedProps<GetProps<typeof Overlay>>) => null>;
|
|
118
138
|
Handle: TamaguiComponent<any, any, any, any, SharedSheetProps, {}> | TamaguiComponent<any, any, any, {}, {}, {}>;
|
|
119
139
|
ScrollView: 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 & {
|
|
120
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
140
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
141
|
+
accept: {
|
|
142
|
+
readonly contentContainerStyle: "style";
|
|
143
|
+
};
|
|
144
|
+
}>> | undefined;
|
|
121
145
|
}> & {
|
|
122
146
|
fullscreen?: boolean | undefined;
|
|
123
147
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
124
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
148
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
149
|
+
accept: {
|
|
150
|
+
readonly contentContainerStyle: "style";
|
|
151
|
+
};
|
|
152
|
+
}>> | undefined;
|
|
125
153
|
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
126
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
154
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
155
|
+
accept: {
|
|
156
|
+
readonly contentContainerStyle: "style";
|
|
157
|
+
};
|
|
158
|
+
}>> | undefined;
|
|
127
159
|
}> & {
|
|
128
160
|
fullscreen?: boolean | undefined;
|
|
129
161
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
130
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
162
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
163
|
+
accept: {
|
|
164
|
+
readonly contentContainerStyle: "style";
|
|
165
|
+
};
|
|
166
|
+
}>> | undefined;
|
|
131
167
|
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
132
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").
|
|
168
|
+
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
169
|
+
accept: {
|
|
170
|
+
readonly contentContainerStyle: "style";
|
|
171
|
+
};
|
|
172
|
+
}>> | undefined;
|
|
133
173
|
}, {
|
|
134
174
|
fullscreen?: boolean | undefined;
|
|
135
175
|
}>> & RefAttributes<import("react-native").ScrollView>>;
|
|
@@ -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;AAOtB,OAAO,KAAK,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAExF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAOxC,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,GAAG,oBAAoB,EACjD,CAAC,SAAS,gBAAgB,GAAG,oBAAoB,EACjD,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,CAAC,CAAC;IAAC,KAAK,EAAE,CAAC,CAAC;IAAC,OAAO,EAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA6E7D;;;;eAIG;wCACyB,OAAO;YAEnC;;;;eAIG;+CACgC,OAAO;;YAZ1C;;;;eAIG;wCACyB,OAAO;YAEnC;;;;eAIG;+CACgC,OAAO;;+DArD3B,gBAAgB,CAAC,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC
|
|
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;AAOtB,OAAO,KAAK,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAExF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAOxC,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,GAAG,oBAAoB,EACjD,CAAC,SAAS,gBAAgB,GAAG,oBAAoB,EACjD,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,CAAC,CAAC;IAAC,KAAK,EAAE,CAAC,CAAC;IAAC,OAAO,EAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA6E7D;;;;eAIG;wCACyB,OAAO;YAEnC;;;;eAIG;+CACgC,OAAO;;YAZ1C;;;;eAIG;wCACyB,OAAO;YAEnC;;;;eAIG;+CACgC,OAAO;;+DArD3B,gBAAgB,CAAC,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAyCzD;;;;WAIG;oCACyB,OAAO;QAEnC;;;;WAIG;2CACgC,OAAO;;QAZ1C;;;;WAIG;oCACyB,OAAO;QAEnC;;;;WAIG;2CACgC,OAAO;;2DArD3B,gBAAgB,CAAC,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2M5D"}
|