tamagui 1.125.20 → 1.125.22
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 +15 -11
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +15 -11
- package/dist/test.native.js.map +1 -1
- package/package.json +55 -55
package/dist/native.js
CHANGED
|
@@ -25579,9 +25579,8 @@ var require_Popover_native = __commonJS({
|
|
|
25579
25579
|
// @ts-ignore
|
|
25580
25580
|
ref: composedTriggerRef,
|
|
25581
25581
|
onPress: (0, import_helpers.composeEventHandlers)(props.onPress, context.onOpenToggle)
|
|
25582
|
-
})
|
|
25583
|
-
|
|
25584
|
-
var virtualRef = {
|
|
25582
|
+
}), virtualRef = React4.useMemo(function() {
|
|
25583
|
+
return anchorTo ? {
|
|
25585
25584
|
current: {
|
|
25586
25585
|
getBoundingClientRect: function() {
|
|
25587
25586
|
return import_constants4.isWeb ? DOMRect.fromRect(anchorTo) : anchorTo;
|
|
@@ -25595,16 +25594,21 @@ var require_Popover_native = __commonJS({
|
|
|
25595
25594
|
}
|
|
25596
25595
|
}
|
|
25597
25596
|
}
|
|
25598
|
-
};
|
|
25599
|
-
|
|
25600
|
-
|
|
25601
|
-
|
|
25602
|
-
|
|
25603
|
-
|
|
25604
|
-
|
|
25597
|
+
} : null;
|
|
25598
|
+
}, [
|
|
25599
|
+
context.anchorTo,
|
|
25600
|
+
anchorTo == null ? void 0 : anchorTo.x,
|
|
25601
|
+
anchorTo == null ? void 0 : anchorTo.y,
|
|
25602
|
+
anchorTo == null ? void 0 : anchorTo.x,
|
|
25603
|
+
anchorTo == null ? void 0 : anchorTo.height,
|
|
25604
|
+
anchorTo == null ? void 0 : anchorTo.width
|
|
25605
|
+
]);
|
|
25605
25606
|
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_popper.PopperAnchor, {
|
|
25607
|
+
...virtualRef && {
|
|
25608
|
+
virtualRef
|
|
25609
|
+
},
|
|
25606
25610
|
__scopePopper: __scopePopover || POPOVER_SCOPE,
|
|
25607
|
-
asChild:
|
|
25611
|
+
asChild: rest.asChild,
|
|
25608
25612
|
children: trigger
|
|
25609
25613
|
});
|
|
25610
25614
|
}), PopoverContent = import_popper.PopperContentFrame.extractable(/* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
|