@tamagui/core 1.126.4 → 1.126.5
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 -7
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +9 -7
- package/dist/test.native.js.map +1 -1
- package/package.json +7 -7
package/dist/native.js
CHANGED
|
@@ -5898,14 +5898,16 @@ var require_mergeProps_native = __commonJS({
|
|
|
5898
5898
|
};
|
|
5899
5899
|
function mergeProp(out, a, b, key, inverseShorthands) {
|
|
5900
5900
|
var longhand = (inverseShorthands == null ? void 0 : inverseShorthands[key]) || null, val = a[key];
|
|
5901
|
-
if (key in
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5901
|
+
if (!(b && (key in b || longhand && longhand in b))) {
|
|
5902
|
+
if (key in import_pseudoDescriptors.pseudoDescriptors || import_useMedia.mediaKeys.has(key)) {
|
|
5903
|
+
out[key] = {
|
|
5904
|
+
...out[key],
|
|
5905
|
+
...val
|
|
5906
|
+
};
|
|
5907
|
+
return;
|
|
5908
|
+
}
|
|
5909
|
+
out[longhand || key] = val;
|
|
5907
5910
|
}
|
|
5908
|
-
b && (key in b || longhand && longhand in b) || (out[longhand || key] = val);
|
|
5909
5911
|
}
|
|
5910
5912
|
}
|
|
5911
5913
|
});
|