tamagui 1.130.0 → 1.130.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 +4 -5
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +4 -5
- package/dist/test.native.js.map +2 -2
- package/package.json +55 -55
package/dist/native.js
CHANGED
|
@@ -24418,15 +24418,13 @@ var require_Popper_native = __commonJS({
|
|
|
24418
24418
|
Object.assign(setupOptions, options);
|
|
24419
24419
|
}
|
|
24420
24420
|
function Popper(props) {
|
|
24421
|
-
var _middlewareData_checkFloating, { children, size: size2, strategy = "absolute", placement = "bottom", stayInFrame, allowFlip, offset: offset2, disableRTL, resize, passThrough, __scopePopper } = props, [arrowEl, setArrow] = React4.useState(null), [arrowSize, setArrowSize] = React4.useState(0), offsetOptions = offset2 ?? arrowSize, floatingStyle = React4.useRef({}), floating = (0, import_floating.useFloating)({
|
|
24422
|
-
|
|
24423
|
-
open: !1
|
|
24424
|
-
},
|
|
24421
|
+
var _middlewareData_checkFloating, { children, size: size2, strategy = "absolute", placement = "bottom", stayInFrame, allowFlip, offset: offset2, disableRTL, resize, passThrough, open, __scopePopper } = props, [arrowEl, setArrow] = React4.useState(null), [arrowSize, setArrowSize] = React4.useState(0), offsetOptions = offset2 ?? arrowSize, floatingStyle = React4.useRef({}), floating = (0, import_floating.useFloating)({
|
|
24422
|
+
open: passThrough ? !1 : open || !0,
|
|
24425
24423
|
strategy,
|
|
24426
24424
|
placement,
|
|
24427
24425
|
sameScrollView: !1,
|
|
24428
24426
|
// this only takes effect on native
|
|
24429
|
-
whileElementsMounted: passThrough ? void 0 : import_floating.autoUpdate,
|
|
24427
|
+
whileElementsMounted: passThrough || !open ? void 0 : import_floating.autoUpdate,
|
|
24430
24428
|
platform: disableRTL ?? setupOptions.disableRTL ? {
|
|
24431
24429
|
...import_floating.platform,
|
|
24432
24430
|
isRTL(element) {
|
|
@@ -25141,6 +25139,7 @@ var require_Popover_native = __commonJS({
|
|
|
25141
25139
|
children,
|
|
25142
25140
|
...Object.values(popoverContext)
|
|
25143
25141
|
]), contents = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_popper.Popper, {
|
|
25142
|
+
open,
|
|
25144
25143
|
passThrough: isAdapted,
|
|
25145
25144
|
__scopePopper: __scopePopover || POPOVER_SCOPE,
|
|
25146
25145
|
stayInFrame: !0,
|