@tamagui/popover 1.20.1 → 1.20.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/Popover.js +1 -1
- package/dist/esm/Popover.js +1 -1
- package/dist/esm/Popover.mjs +1 -1
- package/dist/jsx/Popover.js +1 -1
- package/dist/jsx/Popover.mjs +1 -1
- package/package.json +19 -19
- package/src/Popover.tsx +1 -1
package/dist/cjs/Popover.js
CHANGED
|
@@ -166,7 +166,7 @@ function PopoverContentPortal(props) {
|
|
|
166
166
|
const popperContext = (0, import_popper.usePopperContext)(CONTENT_NAME, context.popperScope);
|
|
167
167
|
contents = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_popper.PopperProvider, { ...popperContext, scope: context.popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverProviderInternal, { scope: props.__scopePopover, ...context, children: props.children }) });
|
|
168
168
|
}
|
|
169
|
-
const zIndex = props.zIndex ??
|
|
169
|
+
const zIndex = props.zIndex ?? 2e4;
|
|
170
170
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_portal.Portal, { zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_core.Theme, { forceClassName: true, name: themeName, children: [
|
|
171
171
|
!!context.open && !context.breakpointActive && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
172
172
|
import_stacks.YStack,
|
package/dist/esm/Popover.js
CHANGED
|
@@ -144,7 +144,7 @@ function PopoverContentPortal(props) {
|
|
|
144
144
|
const popperContext = usePopperContext(CONTENT_NAME, context.popperScope);
|
|
145
145
|
contents = /* @__PURE__ */ jsx(PopperProvider, { ...popperContext, scope: context.popperScope, children: /* @__PURE__ */ jsx(PopoverProviderInternal, { scope: props.__scopePopover, ...context, children: props.children }) });
|
|
146
146
|
}
|
|
147
|
-
const zIndex = props.zIndex ??
|
|
147
|
+
const zIndex = props.zIndex ?? 2e4;
|
|
148
148
|
return /* @__PURE__ */ jsx(Portal, { zIndex, children: /* @__PURE__ */ jsxs(Theme, { forceClassName: true, name: themeName, children: [
|
|
149
149
|
!!context.open && !context.breakpointActive && /* @__PURE__ */ jsx(
|
|
150
150
|
YStack,
|
package/dist/esm/Popover.mjs
CHANGED
|
@@ -144,7 +144,7 @@ function PopoverContentPortal(props) {
|
|
|
144
144
|
const popperContext = usePopperContext(CONTENT_NAME, context.popperScope);
|
|
145
145
|
contents = /* @__PURE__ */ jsx(PopperProvider, { ...popperContext, scope: context.popperScope, children: /* @__PURE__ */ jsx(PopoverProviderInternal, { scope: props.__scopePopover, ...context, children: props.children }) });
|
|
146
146
|
}
|
|
147
|
-
const zIndex = props.zIndex ??
|
|
147
|
+
const zIndex = props.zIndex ?? 2e4;
|
|
148
148
|
return /* @__PURE__ */ jsx(Portal, { zIndex, children: /* @__PURE__ */ jsxs(Theme, { forceClassName: true, name: themeName, children: [
|
|
149
149
|
!!context.open && !context.breakpointActive && /* @__PURE__ */ jsx(
|
|
150
150
|
YStack,
|
package/dist/jsx/Popover.js
CHANGED
|
@@ -141,7 +141,7 @@ function PopoverContentPortal(props) {
|
|
|
141
141
|
{props.children}
|
|
142
142
|
</PopoverProviderInternal></PopperProvider>;
|
|
143
143
|
}
|
|
144
|
-
const zIndex = props.zIndex ??
|
|
144
|
+
const zIndex = props.zIndex ?? 2e4;
|
|
145
145
|
return <Portal zIndex={zIndex}><Theme forceClassName name={themeName}>
|
|
146
146
|
{!!context.open && !context.breakpointActive && <YStack
|
|
147
147
|
fullscreen
|
package/dist/jsx/Popover.mjs
CHANGED
|
@@ -141,7 +141,7 @@ function PopoverContentPortal(props) {
|
|
|
141
141
|
{props.children}
|
|
142
142
|
</PopoverProviderInternal></PopperProvider>;
|
|
143
143
|
}
|
|
144
|
-
const zIndex = props.zIndex ??
|
|
144
|
+
const zIndex = props.zIndex ?? 2e4;
|
|
145
145
|
return <Portal zIndex={zIndex}><Theme forceClassName name={themeName}>
|
|
146
146
|
{!!context.open && !context.breakpointActive && <YStack
|
|
147
147
|
fullscreen
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/popover",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.2",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -32,30 +32,30 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@floating-ui/react": "^0.19.1",
|
|
35
|
-
"@tamagui/adapt": "1.20.
|
|
36
|
-
"@tamagui/animate-presence": "1.20.
|
|
37
|
-
"@tamagui/aria-hidden": "1.20.
|
|
38
|
-
"@tamagui/compose-refs": "1.20.
|
|
39
|
-
"@tamagui/core": "1.20.
|
|
40
|
-
"@tamagui/create-context": "1.20.
|
|
41
|
-
"@tamagui/dismissable": "1.20.
|
|
42
|
-
"@tamagui/floating": "1.20.
|
|
43
|
-
"@tamagui/focus-scope": "1.20.
|
|
44
|
-
"@tamagui/polyfill-dev": "1.20.
|
|
45
|
-
"@tamagui/popper": "1.20.
|
|
46
|
-
"@tamagui/portal": "1.20.
|
|
47
|
-
"@tamagui/remove-scroll": "1.20.
|
|
48
|
-
"@tamagui/scroll-view": "1.20.
|
|
49
|
-
"@tamagui/sheet": "1.20.
|
|
50
|
-
"@tamagui/stacks": "1.20.
|
|
51
|
-
"@tamagui/use-controllable-state": "1.20.
|
|
35
|
+
"@tamagui/adapt": "1.20.2",
|
|
36
|
+
"@tamagui/animate-presence": "1.20.2",
|
|
37
|
+
"@tamagui/aria-hidden": "1.20.2",
|
|
38
|
+
"@tamagui/compose-refs": "1.20.2",
|
|
39
|
+
"@tamagui/core": "1.20.2",
|
|
40
|
+
"@tamagui/create-context": "1.20.2",
|
|
41
|
+
"@tamagui/dismissable": "1.20.2",
|
|
42
|
+
"@tamagui/floating": "1.20.2",
|
|
43
|
+
"@tamagui/focus-scope": "1.20.2",
|
|
44
|
+
"@tamagui/polyfill-dev": "1.20.2",
|
|
45
|
+
"@tamagui/popper": "1.20.2",
|
|
46
|
+
"@tamagui/portal": "1.20.2",
|
|
47
|
+
"@tamagui/remove-scroll": "1.20.2",
|
|
48
|
+
"@tamagui/scroll-view": "1.20.2",
|
|
49
|
+
"@tamagui/sheet": "1.20.2",
|
|
50
|
+
"@tamagui/stacks": "1.20.2",
|
|
51
|
+
"@tamagui/use-controllable-state": "1.20.2"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"react": "*",
|
|
55
55
|
"react-native": "*"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@tamagui/build": "1.20.
|
|
58
|
+
"@tamagui/build": "1.20.2",
|
|
59
59
|
"react": "^18.2.0",
|
|
60
60
|
"react-native": "^0.71.4"
|
|
61
61
|
},
|
package/src/Popover.tsx
CHANGED
|
@@ -255,7 +255,7 @@ function PopoverContentPortal(props: ScopedProps<PopoverContentTypeProps>) {
|
|
|
255
255
|
)
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
const zIndex = props.zIndex ??
|
|
258
|
+
const zIndex = props.zIndex ?? 200_00
|
|
259
259
|
|
|
260
260
|
// Portal the contents and add a transparent bg overlay to handle dismiss on native
|
|
261
261
|
return (
|