tamagui 1.125.4 → 1.125.6

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
@@ -25146,7 +25146,7 @@ var require_Popper_native = __commonJS({
25146
25146
  Object.assign(setupOptions, options);
25147
25147
  }
25148
25148
  function Popper(props) {
25149
- var _middlewareData_checkFloating, { children, size: size4, strategy = "absolute", placement = "bottom", stayInFrame, allowFlip, offset: offset4, disableRTL, __scopePopper } = props, [arrowEl, setArrow] = React4.useState(null), [arrowSize, setArrowSize] = React4.useState(0), offsetOptions = offset4 ?? arrowSize, floating = (0, import_floating.useFloating)({
25149
+ var _middlewareData_checkFloating, { children, size: size4, strategy = "absolute", placement = "bottom", stayInFrame, allowFlip, offset: offset4, disableRTL, resize, __scopePopper } = props, [arrowEl, setArrow] = React4.useState(null), [arrowSize, setArrowSize] = React4.useState(0), offsetOptions = offset4 ?? arrowSize, floatingStyle = React4.useRef({}), floating = (0, import_floating.useFloating)({
25150
25150
  strategy,
25151
25151
  placement,
25152
25152
  sameScrollView: !1,
@@ -25165,7 +25165,8 @@ var require_Popper_native = __commonJS({
25165
25165
  element: arrowEl
25166
25166
  }) : null,
25167
25167
  typeof offsetOptions < "u" ? (0, import_floating.offset)(offsetOptions) : null,
25168
- checkFloating
25168
+ checkFloating,
25169
+ null
25169
25170
  ].filter(Boolean)
25170
25171
  }), { middlewareData } = floating, dimensions = (0, import_react_native4.useWindowDimensions)(), [keyboardOpen, setKeyboardOpen] = React4.useState(!1);
25171
25172
  React4.useEffect(function() {
@@ -25266,14 +25267,15 @@ var require_Popper_native = __commonJS({
25266
25267
  opacity: 0,
25267
25268
  animateOnly: []
25268
25269
  }
25269
- };
25270
+ }, { style, ...floatingProps } = getFloatingProps ? getFloatingProps(frameProps) : frameProps;
25270
25271
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.Stack, {
25271
- ...getFloatingProps ? getFloatingProps(frameProps) : frameProps,
25272
+ ...floatingProps,
25272
25273
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PopperContentFrame, {
25273
25274
  "data-placement": placement,
25274
25275
  "data-strategy": strategy,
25275
25276
  contain: "layout",
25276
25277
  size: size4,
25278
+ ...style,
25277
25279
  ...rest
25278
25280
  }, "popper-content-frame")
25279
25281
  });