tamagui 1.125.21 → 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/types/createTamagui.d.ts.map +1 -0
- package/types/helpers/inputHelpers.d.ts.map +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/lib/linear-gradient.native.d.ts.map +1 -0
- package/types/linear-gradient.d.ts.map +1 -0
- package/types/react-native-web/Dimensions.d.ts.map +1 -0
- package/types/setup.d.ts.map +1 -0
- package/types/viewTypes.d.ts.map +1 -0
- package/types/views/Anchor.d.ts.map +1 -0
- package/types/views/EnsureFlexed.d.ts.map +1 -0
- package/types/views/Fieldset.d.ts.map +1 -0
- package/types/views/Input.d.ts.map +1 -0
- package/types/views/Skeleton.d.ts.map +1 -0
- package/types/views/Spinner.d.ts.map +1 -0
- package/types/views/TamaguiProvider.d.ts.map +1 -0
- package/types/views/TamaguiProvider.server.d.ts.map +1 -0
- package/types/views/Text.d.ts.map +1 -0
- package/types/views/TextArea.d.ts.map +1 -0
- package/types/views/VisuallyHidden.d.ts.map +1 -0
package/dist/test.native.js
CHANGED
|
@@ -24884,9 +24884,8 @@ var require_Popover_native = __commonJS({
|
|
|
24884
24884
|
// @ts-ignore
|
|
24885
24885
|
ref: composedTriggerRef,
|
|
24886
24886
|
onPress: (0, import_helpers.composeEventHandlers)(props.onPress, context.onOpenToggle)
|
|
24887
|
-
})
|
|
24888
|
-
|
|
24889
|
-
var virtualRef = {
|
|
24887
|
+
}), virtualRef = React4.useMemo(function() {
|
|
24888
|
+
return anchorTo ? {
|
|
24890
24889
|
current: {
|
|
24891
24890
|
getBoundingClientRect: function() {
|
|
24892
24891
|
return import_constants4.isWeb ? DOMRect.fromRect(anchorTo) : anchorTo;
|
|
@@ -24900,16 +24899,21 @@ var require_Popover_native = __commonJS({
|
|
|
24900
24899
|
}
|
|
24901
24900
|
}
|
|
24902
24901
|
}
|
|
24903
|
-
};
|
|
24904
|
-
|
|
24905
|
-
|
|
24906
|
-
|
|
24907
|
-
|
|
24908
|
-
|
|
24909
|
-
|
|
24902
|
+
} : null;
|
|
24903
|
+
}, [
|
|
24904
|
+
context.anchorTo,
|
|
24905
|
+
anchorTo == null ? void 0 : anchorTo.x,
|
|
24906
|
+
anchorTo == null ? void 0 : anchorTo.y,
|
|
24907
|
+
anchorTo == null ? void 0 : anchorTo.x,
|
|
24908
|
+
anchorTo == null ? void 0 : anchorTo.height,
|
|
24909
|
+
anchorTo == null ? void 0 : anchorTo.width
|
|
24910
|
+
]);
|
|
24910
24911
|
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_popper.PopperAnchor, {
|
|
24912
|
+
...virtualRef && {
|
|
24913
|
+
virtualRef
|
|
24914
|
+
},
|
|
24911
24915
|
__scopePopper: __scopePopover || POPOVER_SCOPE,
|
|
24912
|
-
asChild:
|
|
24916
|
+
asChild: rest.asChild,
|
|
24913
24917
|
children: trigger
|
|
24914
24918
|
});
|
|
24915
24919
|
}), PopoverContent = import_popper.PopperContentFrame.extractable(/* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
|