tamagui 1.79.0 → 1.79.1
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/native.js +10 -2
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +10 -2
- package/dist/test.native.js.map +1 -1
- package/package.json +52 -52
- package/types/views/Input.d.ts +1 -1
package/dist/native.js
CHANGED
|
@@ -15466,11 +15466,19 @@ var require_Popover_native = __commonJS({
|
|
|
15466
15466
|
})
|
|
15467
15467
|
);
|
|
15468
15468
|
function PopoverRepropagateContext(props) {
|
|
15469
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_popper.PopperContext.Provider, { ...props.popperContext, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PopoverContext.Provider, { ...props.context, children: props.children }) });
|
|
15469
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_popper.PopperContext.Provider, { scope: props.scope, ...props.popperContext, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PopoverContext.Provider, { ...props.context, children: props.children }) });
|
|
15470
15470
|
}
|
|
15471
15471
|
function PopoverContentPortal(props) {
|
|
15472
15472
|
let { __scopePopover } = props, zIndex = props.zIndex ?? 15e4, context = usePopoverContext(__scopePopover), popperContext = (0, import_popper.usePopperContext)(__scopePopover || POPOVER_SCOPE), themeName = (0, import_core13.useThemeName)(), contents = props.children;
|
|
15473
|
-
return (import_react_native4.Platform.OS === "android" || import_react_native4.Platform.OS === "ios") && (contents = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
15473
|
+
return (import_react_native4.Platform.OS === "android" || import_react_native4.Platform.OS === "ios") && (contents = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
15474
|
+
PopoverRepropagateContext,
|
|
15475
|
+
{
|
|
15476
|
+
scope: __scopePopover || POPOVER_SCOPE,
|
|
15477
|
+
popperContext,
|
|
15478
|
+
context,
|
|
15479
|
+
children: props.children
|
|
15480
|
+
}
|
|
15481
|
+
)), /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_portal2.Portal, { zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_core13.Theme, { name: themeName, children: [
|
|
15474
15482
|
!!context.open && !context.breakpointActive && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
15475
15483
|
import_stacks3.YStack,
|
|
15476
15484
|
{
|