@tamagui/sheet 1.111.2 → 1.111.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/dist/esm/Sheet.native.mjs +4 -4
- package/dist/esm/SheetContext.native.mjs +1 -1
- package/dist/esm/SheetController.native.mjs +1 -1
- package/dist/esm/SheetImplementationCustom.native.mjs +6 -6
- package/dist/esm/SheetScrollView.native.mjs +1 -1
- package/dist/esm/createSheet.native.mjs +7 -7
- package/dist/esm/createSheet.native.mjs.map +1 -1
- package/dist/esm/index.native.mjs +11 -11
- package/dist/esm/nativeSheet.native.mjs +3 -3
- package/dist/esm/nativeSheet.native.mjs.map +1 -1
- package/dist/esm/useSheet.native.mjs +1 -1
- package/dist/esm/useSheetOpenState.native.mjs +1 -1
- package/package.json +16 -16
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { styled } from "@tamagui/core";
|
|
2
2
|
import { ThemeableStack, XStack, YStack } from "@tamagui/stacks";
|
|
3
|
-
import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.mjs";
|
|
4
|
-
import { createSheet } from "./createSheet.mjs";
|
|
5
|
-
import { createSheetScope } from "./SheetContext.mjs";
|
|
6
|
-
export * from "./types.mjs";
|
|
3
|
+
import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.native.mjs";
|
|
4
|
+
import { createSheet } from "./createSheet.native.mjs";
|
|
5
|
+
import { createSheetScope } from "./SheetContext.native.mjs";
|
|
6
|
+
export * from "./types.native.mjs";
|
|
7
7
|
var Handle = styled(XStack, {
|
|
8
8
|
name: SHEET_HANDLE_NAME,
|
|
9
9
|
variants: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContextScope } from "@tamagui/create-context";
|
|
2
|
-
import { SHEET_NAME } from "./constants.mjs";
|
|
2
|
+
import { SHEET_NAME } from "./constants.native.mjs";
|
|
3
3
|
var [createSheetContext, createSheetScope] = createContextScope(SHEET_NAME),
|
|
4
4
|
[SheetProvider, useSheetContext] = createSheetContext(SHEET_NAME, {});
|
|
5
5
|
export { SheetProvider, createSheetContext, createSheetScope, useSheetContext };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { useEvent } from "@tamagui/core";
|
|
4
|
-
import { SheetControllerContext } from "./useSheetController.mjs";
|
|
4
|
+
import { SheetControllerContext } from "./useSheetController.native.mjs";
|
|
5
5
|
var SheetController = function (param) {
|
|
6
6
|
var {
|
|
7
7
|
children,
|
|
@@ -8,12 +8,12 @@ import { getConfig, Stack, Theme, themeable, useConfiguration, useEvent, useThem
|
|
|
8
8
|
import { Portal } from "@tamagui/portal";
|
|
9
9
|
import { useKeyboardVisible } from "@tamagui/use-keyboard-visible";
|
|
10
10
|
import { Dimensions, Keyboard, PanResponder, View } from "react-native";
|
|
11
|
-
import { SHEET_HIDDEN_STYLESHEET } from "./constants.mjs";
|
|
12
|
-
import { ParentSheetContext, SheetInsideSheetContext } from "./contexts.mjs";
|
|
13
|
-
import { resisted } from "./helpers.mjs";
|
|
14
|
-
import { SheetProvider } from "./SheetContext.mjs";
|
|
15
|
-
import { useSheetOpenState } from "./useSheetOpenState.mjs";
|
|
16
|
-
import { useSheetProviderProps } from "./useSheetProviderProps.mjs";
|
|
11
|
+
import { SHEET_HIDDEN_STYLESHEET } from "./constants.native.mjs";
|
|
12
|
+
import { ParentSheetContext, SheetInsideSheetContext } from "./contexts.native.mjs";
|
|
13
|
+
import { resisted } from "./helpers.native.mjs";
|
|
14
|
+
import { SheetProvider } from "./SheetContext.native.mjs";
|
|
15
|
+
import { useSheetOpenState } from "./useSheetOpenState.native.mjs";
|
|
16
|
+
import { useSheetProviderProps } from "./useSheetProviderProps.native.mjs";
|
|
17
17
|
var hiddenSize = 10000.1,
|
|
18
18
|
SheetImplementationCustom = themeable(/* @__PURE__ */React.forwardRef(function (props, forwardedRef) {
|
|
19
19
|
var parentSheet = React.useContext(ParentSheetContext),
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { composeRefs } from "@tamagui/compose-refs";
|
|
4
4
|
import { ScrollView } from "@tamagui/scroll-view";
|
|
5
|
-
import { useSheetContext } from "./SheetContext.mjs";
|
|
5
|
+
import { useSheetContext } from "./SheetContext.native.mjs";
|
|
6
6
|
var SHEET_SCROLL_VIEW_NAME = "SheetScrollView",
|
|
7
7
|
SheetScrollView = /* @__PURE__ */React.forwardRef(function (param, ref) {
|
|
8
8
|
var {
|
|
@@ -7,13 +7,13 @@ import { RemoveScroll } from "@tamagui/remove-scroll";
|
|
|
7
7
|
import { useDidFinishSSR } from "@tamagui/use-did-finish-ssr";
|
|
8
8
|
import { forwardRef, memo, useMemo } from "react";
|
|
9
9
|
import { Platform } from "react-native";
|
|
10
|
-
import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.mjs";
|
|
11
|
-
import { getNativeSheet } from "./nativeSheet.mjs";
|
|
12
|
-
import { useSheetContext } from "./SheetContext.mjs";
|
|
13
|
-
import { SheetImplementationCustom } from "./SheetImplementationCustom.mjs";
|
|
14
|
-
import { SheetScrollView } from "./SheetScrollView.mjs";
|
|
15
|
-
import { useSheetController } from "./useSheetController.mjs";
|
|
16
|
-
import { useSheetOffscreenSize } from "./useSheetOffscreenSize.mjs";
|
|
10
|
+
import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.native.mjs";
|
|
11
|
+
import { getNativeSheet } from "./nativeSheet.native.mjs";
|
|
12
|
+
import { useSheetContext } from "./SheetContext.native.mjs";
|
|
13
|
+
import { SheetImplementationCustom } from "./SheetImplementationCustom.native.mjs";
|
|
14
|
+
import { SheetScrollView } from "./SheetScrollView.native.mjs";
|
|
15
|
+
import { useSheetController } from "./useSheetController.native.mjs";
|
|
16
|
+
import { useSheetOffscreenSize } from "./useSheetOffscreenSize.native.mjs";
|
|
17
17
|
function createSheet(param) {
|
|
18
18
|
var {
|
|
19
19
|
Handle,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","useComposedRefs","useIsomorphicLayoutEffect","Stack","composeEventHandlers","withStaticProperties","RemoveScroll","useDidFinishSSR","forwardRef","memo","useMemo","Platform","SHEET_HANDLE_NAME","SHEET_NAME","SHEET_OVERLAY_NAME","getNativeSheet","useSheetContext","SheetImplementationCustom","SheetScrollView","useSheetController","useSheetOffscreenSize","createSheet","param","Handle","Frame","Overlay","SheetHandle","styleable","param2","forwardedRef","__scopeSheet","props","context","composedRef","handleRef","onlyShowFrame","ref","onPress","max","snapPoints","length","dismissOnSnapToBottom","nextPos","position","setPosition","open","SheetOverlay","extractable","propsIn","element","dismissOnOverlayPress","setOpen","_context_onOverlayComponent","onOverlayComponent","call","SheetFrame","adjustPaddingForOffscreenContent","disableHideBottomOverflow","children","hasFit","removeScrollEnabled","frameSize","contentRef","composedContentRef","offscreenSize","sheetContents","flex","height","pointerEvents","width","forwardProps","enabled","allowPinchZoom","shards","removeScrollBar","componentName","bottom","zIndex","left","right","borderWidth","borderRadius","shadowOpacity","Sheet","hydrated","isShowingNonSheet","SheetImplementation","native","OS","impl","components","ScrollView","Controlled"],"sources":["../../src/createSheet.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAuB,EAAAC,QAAA,IAAAC,SAAA;AAChC,SAASC,eAAA,+BAAiC;AAQ1C,SAASC,yBAAa;AACtB,SAASC,KAAA,uBAAsB;AAC/B,SAASC,oBAAoB,EAAAC,oBAAA;AAC7B,SAASC,YAAA,gCAAuB;AAEhC,SAASC,eAAY,QAAM,6BAAe;AAE1C,SAASC,UAAA,EAAAC,IAAgB,EAAAC,OAAA;AAEzB,SAASC,QAAA,sBAAmB;AAC5B,SAA+BC,iBAAA,EAAAC,UAAA,EAAAC,kBAAA;AAC/B,SAASC,cAAA,
|
|
1
|
+
{"version":3,"names":["jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","useComposedRefs","useIsomorphicLayoutEffect","Stack","composeEventHandlers","withStaticProperties","RemoveScroll","useDidFinishSSR","forwardRef","memo","useMemo","Platform","SHEET_HANDLE_NAME","SHEET_NAME","SHEET_OVERLAY_NAME","getNativeSheet","useSheetContext","SheetImplementationCustom","SheetScrollView","useSheetController","useSheetOffscreenSize","createSheet","param","Handle","Frame","Overlay","SheetHandle","styleable","param2","forwardedRef","__scopeSheet","props","context","composedRef","handleRef","onlyShowFrame","ref","onPress","max","snapPoints","length","dismissOnSnapToBottom","nextPos","position","setPosition","open","SheetOverlay","extractable","propsIn","element","dismissOnOverlayPress","setOpen","_context_onOverlayComponent","onOverlayComponent","call","SheetFrame","adjustPaddingForOffscreenContent","disableHideBottomOverflow","children","hasFit","removeScrollEnabled","frameSize","contentRef","composedContentRef","offscreenSize","sheetContents","flex","height","pointerEvents","width","forwardProps","enabled","allowPinchZoom","shards","removeScrollBar","componentName","bottom","zIndex","left","right","borderWidth","borderRadius","shadowOpacity","Sheet","hydrated","isShowingNonSheet","SheetImplementation","native","OS","impl","components","ScrollView","Controlled"],"sources":["../../src/createSheet.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAuB,EAAAC,QAAA,IAAAC,SAAA;AAChC,SAASC,eAAA,+BAAiC;AAQ1C,SAASC,yBAAa;AACtB,SAASC,KAAA,uBAAsB;AAC/B,SAASC,oBAAoB,EAAAC,oBAAA;AAC7B,SAASC,YAAA,gCAAuB;AAEhC,SAASC,eAAY,QAAM,6BAAe;AAE1C,SAASC,UAAA,EAAAC,IAAgB,EAAAC,OAAA;AAEzB,SAASC,QAAA,sBAAmB;AAC5B,SAA+BC,iBAAA,EAAAC,UAAA,E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9B","ignoreList":[]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from "./Sheet.mjs";
|
|
2
|
-
export * from "./useSheet.mjs";
|
|
3
|
-
export * from "./createSheet.mjs";
|
|
4
|
-
export * from "./SheetController.mjs";
|
|
5
|
-
export * from "./useSheetController.mjs";
|
|
6
|
-
export * from "./useSheetOpenState.mjs";
|
|
7
|
-
export * from "./useSheetOffscreenSize.mjs";
|
|
8
|
-
export * from "./SheetScrollView.mjs";
|
|
9
|
-
export * from "./nativeSheet.mjs";
|
|
10
|
-
export * from "./types.mjs";
|
|
11
|
-
export * from "./contexts.mjs";
|
|
1
|
+
export * from "./Sheet.native.mjs";
|
|
2
|
+
export * from "./useSheet.native.mjs";
|
|
3
|
+
export * from "./createSheet.native.mjs";
|
|
4
|
+
export * from "./SheetController.native.mjs";
|
|
5
|
+
export * from "./useSheetController.native.mjs";
|
|
6
|
+
export * from "./useSheetOpenState.native.mjs";
|
|
7
|
+
export * from "./useSheetOffscreenSize.native.mjs";
|
|
8
|
+
export * from "./SheetScrollView.native.mjs";
|
|
9
|
+
export * from "./nativeSheet.native.mjs";
|
|
10
|
+
export * from "./types.native.mjs";
|
|
11
|
+
export * from "./contexts.native.mjs";
|
|
12
12
|
//# sourceMappingURL=index.native.mjs.map
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { YStack } from "@tamagui/stacks";
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
import { View } from "react-native";
|
|
5
|
-
import { SheetProvider } from "./SheetContext.mjs";
|
|
6
|
-
import { useSheetOpenState } from "./useSheetOpenState.mjs";
|
|
7
|
-
import { useSheetProviderProps } from "./useSheetProviderProps.mjs";
|
|
5
|
+
import { SheetProvider } from "./SheetContext.native.mjs";
|
|
6
|
+
import { useSheetOpenState } from "./useSheetOpenState.native.mjs";
|
|
7
|
+
import { useSheetProviderProps } from "./useSheetProviderProps.native.mjs";
|
|
8
8
|
var nativeSheets = {
|
|
9
9
|
ios: null
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","YStack","useEffect","useRef","View","SheetProvider","useSheetOpenState","useSheetProviderProps","nativeSheets","ios","getNativeSheet","platform","setupNativeSheet","Implementation","props","state","providerProps","open","setOpen","ref","_ref_current","current","setVisibility","children","onlyShowFrame","onModalDismiss","style","flex"],"sources":["../../src/nativeSheet.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAA,IAAAC,IAAA,EAAAC,IAAc,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAEvB,SAASC,MAAA,QAAW,iBAAc;AAClC,SAASC,SAAA,EAAAC,MAAY;AAErB,SAASC,IAAA,sBAAqB;AAE9B,SAASC,aAAA,
|
|
1
|
+
{"version":3,"names":["jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","YStack","useEffect","useRef","View","SheetProvider","useSheetOpenState","useSheetProviderProps","nativeSheets","ios","getNativeSheet","platform","setupNativeSheet","Implementation","props","state","providerProps","open","setOpen","ref","_ref_current","current","setVisibility","children","onlyShowFrame","onModalDismiss","style","flex"],"sources":["../../src/nativeSheet.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,GAAA,IAAAC,IAAA,EAAAC,IAAc,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAEvB,SAASC,MAAA,QAAW,iBAAc;AAClC,SAASC,SAAA,EAAAC,MAAY;AAErB,SAASC,IAAA,sBAAqB;AAE9B,SAASC,aAAA,mCAAyB;AAClC,SAASC,iBAAA,wCAA6B;AAsC9B,SAAAC,qBACE,QADF;AAhCR,IAAAC,YAAM;EACJC,GAAA,EAAK;AACP;AAEO,SAASC,eAAeC,QAAA,EAAgC;EAC7D,OAAOH,YAAA,CAAaG,QAAQ;AAC9B;AAEO,SAASC,iBAAiBD,QAAA,EAAgCE,cAAA,EAAqB;EAChFF,QAAA,KAAa,UACfH,YAAA,CAAaG,QAAQ,IAAI,UAACG,KAAsB;IAC9C,IAAAC,KAAM,GAAAT,iBAAQ,CAAAQ,KAAkB;MAAKE,aAC/B,GAAAT,qBAAgB,CAAAO,KAAsB,EAAAC,KAAO;MAAK;QAIlDE,IAAE;QAAAC;MAAM,IAAQH,KAAI;MAAAI,GACpB,GAAAhB,MAAM;IAIZ,OAAAD,SAAA,CAAU,YAAM;MACd,IAAIkB,YAAS;MACf,CAAGA,YASD,GAAAD,GAAA,CAAAE,OAAA,cAAAD,YACE,eAAAA,YAAC,CAAAE,aAAkB,CAAAL,IAAA;IACjB,IAMAA,IAAA,IAAC,eAAArB,IAAA,CAAAI,SAAA;MAAAuB,QAAA,iBAAAzB,KAAA,CAAAO,aAAA;QAAA,GACCW,aAAS;QAAAQ,aACA;QAAAD,QACT,GACA,eAAO3B,IAAA,CAAAiB,cAAA;UACPM,GAAA;UAECM,cAAM,WAAAA,CAAA;YAAA,OAAAP,OAAA;UACT;UAEJK,QAAA,iBAAA3B,IAAA,CAAAQ,IAAA;YAEJsB,KAAA;cAEJC,IAAA","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useControllableState } from "@tamagui/use-controllable-state";
|
|
2
|
-
import { useSheetController } from "./useSheetController.mjs";
|
|
2
|
+
import { useSheetController } from "./useSheetController.native.mjs";
|
|
3
3
|
var useSheetOpenState = function (props) {
|
|
4
4
|
var {
|
|
5
5
|
isHidden,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/sheet",
|
|
3
|
-
"version": "1.111.
|
|
3
|
+
"version": "1.111.4",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tamagui/animate-presence": "1.111.
|
|
38
|
-
"@tamagui/animations-react-native": "1.111.
|
|
39
|
-
"@tamagui/compose-refs": "1.111.
|
|
40
|
-
"@tamagui/constants": "1.111.
|
|
41
|
-
"@tamagui/core": "1.111.
|
|
42
|
-
"@tamagui/create-context": "1.111.
|
|
43
|
-
"@tamagui/helpers": "1.111.
|
|
44
|
-
"@tamagui/portal": "1.111.
|
|
45
|
-
"@tamagui/remove-scroll": "1.111.
|
|
46
|
-
"@tamagui/scroll-view": "1.111.
|
|
47
|
-
"@tamagui/stacks": "1.111.
|
|
48
|
-
"@tamagui/use-constant": "1.111.
|
|
49
|
-
"@tamagui/use-controllable-state": "1.111.
|
|
50
|
-
"@tamagui/use-keyboard-visible": "1.111.
|
|
37
|
+
"@tamagui/animate-presence": "1.111.4",
|
|
38
|
+
"@tamagui/animations-react-native": "1.111.4",
|
|
39
|
+
"@tamagui/compose-refs": "1.111.4",
|
|
40
|
+
"@tamagui/constants": "1.111.4",
|
|
41
|
+
"@tamagui/core": "1.111.4",
|
|
42
|
+
"@tamagui/create-context": "1.111.4",
|
|
43
|
+
"@tamagui/helpers": "1.111.4",
|
|
44
|
+
"@tamagui/portal": "1.111.4",
|
|
45
|
+
"@tamagui/remove-scroll": "1.111.4",
|
|
46
|
+
"@tamagui/scroll-view": "1.111.4",
|
|
47
|
+
"@tamagui/stacks": "1.111.4",
|
|
48
|
+
"@tamagui/use-constant": "1.111.4",
|
|
49
|
+
"@tamagui/use-controllable-state": "1.111.4",
|
|
50
|
+
"@tamagui/use-keyboard-visible": "1.111.4"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "*"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@tamagui/build": "1.111.
|
|
56
|
+
"@tamagui/build": "1.111.4",
|
|
57
57
|
"react": "^18.2.0 || ^19.0.0"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|