tamagui 1.132.22 → 1.132.23

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 CHANGED
@@ -20310,8 +20310,8 @@ var require_AlertDialog_native = __commonJS({
20310
20310
  }
20311
20311
  });
20312
20312
  module2.exports = __toCommonJS2(AlertDialog_exports);
20313
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_dialog = require_index_native38(), import_helpers = require_index_native7(), import_use_controllable_state = require_index_native10(), React4 = __toESM2(require("react")), import_react_native4 = require_fake_react_native(), AlertScopePrefix = "Alert__", getAlertDialogScope = function(scope) {
20314
- return AlertScopePrefix + scope;
20313
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_dialog = require_index_native38(), import_helpers = require_index_native7(), import_use_controllable_state = require_index_native10(), React4 = __toESM2(require("react")), import_react_native4 = require_fake_react_native(), getAlertDialogScope = function(scope) {
20314
+ return scope;
20315
20315
  }, ROOT_NAME = "AlertDialog", TRIGGER_NAME = "AlertDialogTrigger", NativeAlertDialogTriggerFrame = (0, import_core12.styled)(import_core12.View, {
20316
20316
  name: TRIGGER_NAME
20317
20317
  }), AlertDialogTrigger = NativeAlertDialogTriggerFrame.styleable(function(props, forwardedRef) {
@@ -24457,7 +24457,7 @@ var require_Popper_native = __commonJS({
24457
24457
  update: context.update,
24458
24458
  context: context.context,
24459
24459
  getFloatingProps: context.getFloatingProps,
24460
- getReferenceProps: context.getFloatingProps
24460
+ getReferenceProps: context.getReferenceProps
24461
24461
  };
24462
24462
  }
24463
24463
  var checkFloating = {
@@ -25058,7 +25058,7 @@ var require_Popover_native = __commonJS({
25058
25058
  });
25059
25059
  };
25060
25060
  function PopoverPortal(param) {
25061
- var { context, zIndex, passThrough, children } = param, themeName = (0, import_core12.useThemeName)(), content = children;
25061
+ var { context, zIndex, passThrough, children, onPress } = param, themeName = (0, import_core12.useThemeName)(), content = children;
25062
25062
  if (needsRepropagation) {
25063
25063
  var parentContexts = useParentContexts(context.popoverScope);
25064
25064
  content = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(RepropagateParentContexts, {
@@ -25073,15 +25073,21 @@ var require_Popover_native = __commonJS({
25073
25073
  children: (
25074
25074
  /* forceClassName avoids forced re-mount renders for some reason... see the HeadMenu as you change tints a few times */
25075
25075
  /* without this you'll see the site menu re-rendering. It must be something in wrapping children in Theme */
25076
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.Theme, {
25076
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_core12.Theme, {
25077
25077
  passThrough,
25078
25078
  contain: !0,
25079
25079
  forceClassName: !0,
25080
25080
  name: themeName,
25081
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_z_index_stack2.StackZIndexContext, {
25082
- zIndex: (0, import_portal2.resolveViewZIndex)(zIndex),
25083
- children: content
25084
- })
25081
+ children: [
25082
+ !!context.open && !context.breakpointActive && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_stacks3.YStack, {
25083
+ fullscreen: !0,
25084
+ onPress: (0, import_helpers.composeEventHandlers)(onPress, context.onOpenToggle)
25085
+ }),
25086
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_z_index_stack2.StackZIndexContext, {
25087
+ zIndex: (0, import_portal2.resolveViewZIndex)(zIndex),
25088
+ children: content
25089
+ })
25090
+ ]
25085
25091
  })
25086
25092
  )
25087
25093
  });