tamagui 1.116.13 → 1.116.15
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 +2 -18
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +2 -18
- package/dist/test.native.js.map +1 -1
- package/package.json +56 -56
package/dist/native.js
CHANGED
|
@@ -24984,12 +24984,7 @@ var require_Popper_native = __commonJS({
|
|
|
24984
24984
|
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
24985
24985
|
}
|
|
24986
24986
|
}), PopperContent = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
|
|
24987
|
-
var { __scopePopper, enableAnimationForPositionChange, ...rest } = props, { strategy, placement, refs, x, y, getFloatingProps, size: size4, update, floatingStyles, hasFloating } = usePopperContext(__scopePopper), contentRefs = (0, import_compose_refs.useComposedRefs)(refs.setFloating, forwardedRef),
|
|
24988
|
-
if (import_constants4.isAndroid) {
|
|
24989
|
-
var initialRender = React4.useRef(!0), finalHasFloating = React4.useRef(!1);
|
|
24990
|
-
hasFloating === !1 && (initialRender.current = !1), initialRender.current || (finalHasFloating.current = hasFloating), finalHasFloatingValue = finalHasFloating.current;
|
|
24991
|
-
}
|
|
24992
|
-
var contents = React4.useMemo(function() {
|
|
24987
|
+
var { __scopePopper, enableAnimationForPositionChange, ...rest } = props, { strategy, placement, refs, x, y, getFloatingProps, size: size4, update, floatingStyles, hasFloating } = usePopperContext(__scopePopper), contentRefs = (0, import_compose_refs.useComposedRefs)(refs.setFloating, forwardedRef), contents = React4.useMemo(function() {
|
|
24993
24988
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(PopperContentFrame, {
|
|
24994
24989
|
"data-placement": placement,
|
|
24995
24990
|
"data-strategy": strategy,
|
|
@@ -25009,18 +25004,7 @@ var require_Popper_native = __commonJS({
|
|
|
25009
25004
|
x,
|
|
25010
25005
|
y
|
|
25011
25006
|
]);
|
|
25012
|
-
var show = !0
|
|
25013
|
-
if (import_constants4.isAndroid) {
|
|
25014
|
-
var [show_, setShow] = React4.useState(!1);
|
|
25015
|
-
show = show_, React4.useEffect(function() {
|
|
25016
|
-
finalHasFloatingValue && setShow(!0);
|
|
25017
|
-
}, [
|
|
25018
|
-
finalHasFloatingValue,
|
|
25019
|
-
x,
|
|
25020
|
-
y
|
|
25021
|
-
]);
|
|
25022
|
-
}
|
|
25023
|
-
var frameProps = {
|
|
25007
|
+
var show = !0, frameProps = {
|
|
25024
25008
|
ref: contentRefs,
|
|
25025
25009
|
x: x || 0,
|
|
25026
25010
|
y: y || 0,
|