tamagui 1.132.21 → 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.
@@ -19674,8 +19674,8 @@ var require_AlertDialog_native = __commonJS({
19674
19674
  }
19675
19675
  });
19676
19676
  module2.exports = __toCommonJS2(AlertDialog_exports);
19677
- 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) {
19678
- return AlertScopePrefix + scope;
19677
+ 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) {
19678
+ return scope;
19679
19679
  }, ROOT_NAME = "AlertDialog", TRIGGER_NAME = "AlertDialogTrigger", NativeAlertDialogTriggerFrame = (0, import_core12.styled)(import_core12.View, {
19680
19680
  name: TRIGGER_NAME
19681
19681
  }), AlertDialogTrigger = NativeAlertDialogTriggerFrame.styleable(function(props, forwardedRef) {
@@ -23781,7 +23781,7 @@ var require_Popper_native = __commonJS({
23781
23781
  update: context.update,
23782
23782
  context: context.context,
23783
23783
  getFloatingProps: context.getFloatingProps,
23784
- getReferenceProps: context.getFloatingProps
23784
+ getReferenceProps: context.getReferenceProps
23785
23785
  };
23786
23786
  }
23787
23787
  var checkFloating = {
@@ -24382,7 +24382,7 @@ var require_Popover_native = __commonJS({
24382
24382
  });
24383
24383
  };
24384
24384
  function PopoverPortal(param) {
24385
- var { context, zIndex, passThrough, children } = param, themeName = (0, import_core12.useThemeName)(), content = children;
24385
+ var { context, zIndex, passThrough, children, onPress } = param, themeName = (0, import_core12.useThemeName)(), content = children;
24386
24386
  if (needsRepropagation) {
24387
24387
  var parentContexts = useParentContexts(context.popoverScope);
24388
24388
  content = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(RepropagateParentContexts, {
@@ -24397,15 +24397,21 @@ var require_Popover_native = __commonJS({
24397
24397
  children: (
24398
24398
  /* forceClassName avoids forced re-mount renders for some reason... see the HeadMenu as you change tints a few times */
24399
24399
  /* without this you'll see the site menu re-rendering. It must be something in wrapping children in Theme */
24400
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.Theme, {
24400
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_core12.Theme, {
24401
24401
  passThrough,
24402
24402
  contain: !0,
24403
24403
  forceClassName: !0,
24404
24404
  name: themeName,
24405
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_z_index_stack2.StackZIndexContext, {
24406
- zIndex: (0, import_portal2.resolveViewZIndex)(zIndex),
24407
- children: content
24408
- })
24405
+ children: [
24406
+ !!context.open && !context.breakpointActive && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_stacks3.YStack, {
24407
+ fullscreen: !0,
24408
+ onPress: (0, import_helpers.composeEventHandlers)(onPress, context.onOpenToggle)
24409
+ }),
24410
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_z_index_stack2.StackZIndexContext, {
24411
+ zIndex: (0, import_portal2.resolveViewZIndex)(zIndex),
24412
+ children: content
24413
+ })
24414
+ ]
24409
24415
  })
24410
24416
  )
24411
24417
  });