@tamagui/sheet 1.18.1 → 1.20.0

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/Sheet.js CHANGED
@@ -103,7 +103,7 @@ const SheetOverlayFrame = (0, import_core.styled)(import_stacks.ThemeableStack,
103
103
  fullscreen: true,
104
104
  backgrounded: true,
105
105
  opacity: 0.5,
106
- zIndex: 0,
106
+ zIndex: 1e5,
107
107
  variants: {
108
108
  closed: {
109
109
  true: {
@@ -166,7 +166,7 @@ const sheetComponents = {
166
166
  ScrollView: import_SheetScrollView.SheetScrollView
167
167
  };
168
168
  const ParentSheetContext = (0, import_react.createContext)({
169
- zIndex: 40
169
+ zIndex: 1e5
170
170
  });
171
171
  const useSheetContoller = () => {
172
172
  const controller = (0, import_react.useContext)(SheetControllerContext);
package/dist/esm/Sheet.js CHANGED
@@ -88,7 +88,7 @@ const SheetOverlayFrame = styled(ThemeableStack, {
88
88
  fullscreen: true,
89
89
  backgrounded: true,
90
90
  opacity: 0.5,
91
- zIndex: 0,
91
+ zIndex: 1e5,
92
92
  variants: {
93
93
  closed: {
94
94
  true: {
@@ -151,7 +151,7 @@ const sheetComponents = {
151
151
  ScrollView: SheetScrollView
152
152
  };
153
153
  const ParentSheetContext = createContext({
154
- zIndex: 40
154
+ zIndex: 1e5
155
155
  });
156
156
  const useSheetContoller = () => {
157
157
  const controller = useContext(SheetControllerContext);
@@ -88,7 +88,7 @@ const SheetOverlayFrame = styled(ThemeableStack, {
88
88
  fullscreen: true,
89
89
  backgrounded: true,
90
90
  opacity: 0.5,
91
- zIndex: 0,
91
+ zIndex: 1e5,
92
92
  variants: {
93
93
  closed: {
94
94
  true: {
@@ -151,7 +151,7 @@ const sheetComponents = {
151
151
  ScrollView: SheetScrollView
152
152
  };
153
153
  const ParentSheetContext = createContext({
154
- zIndex: 40
154
+ zIndex: 1e5
155
155
  });
156
156
  const useSheetContoller = () => {
157
157
  const controller = useContext(SheetControllerContext);
package/dist/jsx/Sheet.js CHANGED
@@ -84,7 +84,7 @@ const SheetOverlayFrame = styled(ThemeableStack, {
84
84
  fullscreen: true,
85
85
  backgrounded: true,
86
86
  opacity: 0.5,
87
- zIndex: 0,
87
+ zIndex: 1e5,
88
88
  variants: {
89
89
  closed: {
90
90
  true: {
@@ -144,7 +144,7 @@ const sheetComponents = {
144
144
  ScrollView: SheetScrollView
145
145
  };
146
146
  const ParentSheetContext = createContext({
147
- zIndex: 40
147
+ zIndex: 1e5
148
148
  });
149
149
  const useSheetContoller = () => {
150
150
  const controller = useContext(SheetControllerContext);
@@ -84,7 +84,7 @@ const SheetOverlayFrame = styled(ThemeableStack, {
84
84
  fullscreen: true,
85
85
  backgrounded: true,
86
86
  opacity: 0.5,
87
- zIndex: 0,
87
+ zIndex: 1e5,
88
88
  variants: {
89
89
  closed: {
90
90
  true: {
@@ -144,7 +144,7 @@ const sheetComponents = {
144
144
  ScrollView: SheetScrollView
145
145
  };
146
146
  const ParentSheetContext = createContext({
147
- zIndex: 40
147
+ zIndex: 1e5
148
148
  });
149
149
  const useSheetContoller = () => {
150
150
  const controller = useContext(SheetControllerContext);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/sheet",
3
- "version": "1.18.1",
3
+ "version": "1.20.0",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -30,24 +30,24 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@tamagui/animations-react-native": "1.18.1",
34
- "@tamagui/compose-refs": "1.18.1",
35
- "@tamagui/core": "1.18.1",
36
- "@tamagui/create-context": "1.18.1",
37
- "@tamagui/portal": "1.18.1",
38
- "@tamagui/remove-scroll": "1.18.1",
39
- "@tamagui/scroll-view": "1.18.1",
40
- "@tamagui/stacks": "1.18.1",
41
- "@tamagui/use-constant": "1.18.1",
42
- "@tamagui/use-controllable-state": "1.18.1",
43
- "@tamagui/use-keyboard-visible": "1.18.1"
33
+ "@tamagui/animations-react-native": "1.20.0",
34
+ "@tamagui/compose-refs": "1.20.0",
35
+ "@tamagui/core": "1.20.0",
36
+ "@tamagui/create-context": "1.20.0",
37
+ "@tamagui/portal": "1.20.0",
38
+ "@tamagui/remove-scroll": "1.20.0",
39
+ "@tamagui/scroll-view": "1.20.0",
40
+ "@tamagui/stacks": "1.20.0",
41
+ "@tamagui/use-constant": "1.20.0",
42
+ "@tamagui/use-controllable-state": "1.20.0",
43
+ "@tamagui/use-keyboard-visible": "1.20.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": "*",
47
47
  "react-native": "*"
48
48
  },
49
49
  "devDependencies": {
50
- "@tamagui/build": "1.18.1",
50
+ "@tamagui/build": "1.20.0",
51
51
  "react": "^18.2.0",
52
52
  "react-native": "^0.71.4"
53
53
  },
package/src/Sheet.tsx CHANGED
@@ -113,7 +113,7 @@ export const SheetOverlayFrame = styled(ThemeableStack, {
113
113
  fullscreen: true,
114
114
  backgrounded: true,
115
115
  opacity: 0.5,
116
- zIndex: 0,
116
+ zIndex: 100_000,
117
117
 
118
118
  variants: {
119
119
  closed: {
@@ -192,7 +192,7 @@ const sheetComponents = {
192
192
  }
193
193
 
194
194
  const ParentSheetContext = createContext({
195
- zIndex: 40,
195
+ zIndex: 100_000,
196
196
  })
197
197
 
198
198
  const useSheetContoller = () => {