@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.
@@ -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 ?? 1e3;
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,
@@ -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 ?? 1e3;
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,
@@ -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 ?? 1e3;
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,
@@ -141,7 +141,7 @@ function PopoverContentPortal(props) {
141
141
  {props.children}
142
142
  </PopoverProviderInternal></PopperProvider>;
143
143
  }
144
- const zIndex = props.zIndex ?? 1e3;
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
@@ -141,7 +141,7 @@ function PopoverContentPortal(props) {
141
141
  {props.children}
142
142
  </PopoverProviderInternal></PopperProvider>;
143
143
  }
144
- const zIndex = props.zIndex ?? 1e3;
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.1",
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.1",
36
- "@tamagui/animate-presence": "1.20.1",
37
- "@tamagui/aria-hidden": "1.20.1",
38
- "@tamagui/compose-refs": "1.20.1",
39
- "@tamagui/core": "1.20.1",
40
- "@tamagui/create-context": "1.20.1",
41
- "@tamagui/dismissable": "1.20.1",
42
- "@tamagui/floating": "1.20.1",
43
- "@tamagui/focus-scope": "1.20.1",
44
- "@tamagui/polyfill-dev": "1.20.1",
45
- "@tamagui/popper": "1.20.1",
46
- "@tamagui/portal": "1.20.1",
47
- "@tamagui/remove-scroll": "1.20.1",
48
- "@tamagui/scroll-view": "1.20.1",
49
- "@tamagui/sheet": "1.20.1",
50
- "@tamagui/stacks": "1.20.1",
51
- "@tamagui/use-controllable-state": "1.20.1"
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.1",
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 ?? 1000
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 (