@tamagui/core 1.126.2 → 1.126.4-1746355141077

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 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 import_pseudoDescriptors.pseudoDescriptors || import_useMedia.mediaKeys.has(key)) {
5902
- out[key] = {
5903
- ...out[key],
5904
- ...val
5905
- };
5906
- return;
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
  });