tamagui 1.81.2 → 1.81.3
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 +9 -10
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +8 -9
- package/dist/test.native.js.map +1 -1
- package/package.json +52 -52
package/dist/native.js
CHANGED
|
@@ -3894,7 +3894,7 @@ var require_mergeProps_native = __commonJS({
|
|
|
3894
3894
|
mergeProps: () => mergeProps
|
|
3895
3895
|
});
|
|
3896
3896
|
module2.exports = __toCommonJS2(mergeProps_exports);
|
|
3897
|
-
var import_pseudoDescriptors = require_pseudoDescriptors_native(), mergeProps = (a, b, inverseShorthands) => {
|
|
3897
|
+
var import_useMedia = require_useMedia_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), mergeProps = (a, b, inverseShorthands) => {
|
|
3898
3898
|
let out = {};
|
|
3899
3899
|
for (let key in a)
|
|
3900
3900
|
mergeProp(out, a, b, key, inverseShorthands);
|
|
@@ -3904,18 +3904,15 @@ var require_mergeProps_native = __commonJS({
|
|
|
3904
3904
|
return out;
|
|
3905
3905
|
};
|
|
3906
3906
|
function mergeProp(out, a, b, key, inverseShorthands) {
|
|
3907
|
-
let
|
|
3908
|
-
if (
|
|
3909
|
-
return;
|
|
3910
|
-
let val = a[key];
|
|
3911
|
-
if (key in import_pseudoDescriptors.pseudoDescriptors) {
|
|
3907
|
+
let longhand = (inverseShorthands == null ? void 0 : inverseShorthands[key]) || null, val = a[key];
|
|
3908
|
+
if (key in import_pseudoDescriptors.pseudoDescriptors || import_useMedia.mediaKeys.has(key)) {
|
|
3912
3909
|
out[key] = {
|
|
3913
3910
|
...out[key],
|
|
3914
3911
|
...val
|
|
3915
3912
|
};
|
|
3916
3913
|
return;
|
|
3917
3914
|
}
|
|
3918
|
-
out[
|
|
3915
|
+
b && (key in b || longhand && longhand in b) || (out[longhand || key] = val);
|
|
3919
3916
|
}
|
|
3920
3917
|
}
|
|
3921
3918
|
});
|
|
@@ -5061,8 +5058,8 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
5061
5058
|
direction,
|
|
5062
5059
|
isZStack,
|
|
5063
5060
|
debug: debugProp
|
|
5064
|
-
})
|
|
5065
|
-
|
|
5061
|
+
});
|
|
5062
|
+
asChild && (elementType = import_Slot.Slot, Object.assign(viewProps, { onPress, onLongPress })), process.env.NODE_ENV === "development" && time && time`spaced-as-child`;
|
|
5066
5063
|
let useChildrenResult;
|
|
5067
5064
|
import_setupHooks.hooks.useChildren && (useChildrenResult = import_setupHooks.hooks.useChildren(
|
|
5068
5065
|
elementType,
|
|
@@ -5070,7 +5067,9 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
5070
5067
|
viewProps,
|
|
5071
5068
|
events,
|
|
5072
5069
|
staticConfig
|
|
5073
|
-
)), useChildrenResult ? content = useChildrenResult : content = (0, import_react2.createElement)(elementType, viewProps, content)
|
|
5070
|
+
)), useChildrenResult ? content = useChildrenResult : content = (0, import_react2.createElement)(elementType, viewProps, content);
|
|
5071
|
+
let ResetPresence = (_l = config == null ? void 0 : config.animations) == null ? void 0 : _l.ResetPresence;
|
|
5072
|
+
willBeAnimated && presence && ResetPresence && typeof content != "string" && (content = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ResetPresence, { children: content })), process.env.NODE_ENV === "development" && time && time`create-element`;
|
|
5074
5073
|
let groupState = stateRef.current.group, subGroupContext = (0, import_react2.useMemo)(() => {
|
|
5075
5074
|
if (!(!groupState || !groupName))
|
|
5076
5075
|
return groupState.listeners.clear(), {
|