@tamagui/core 1.125.27 → 1.125.29-1742879698913
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 +7 -0
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +7 -0
- package/dist/test.native.js.map +1 -1
- package/package.json +7 -7
package/dist/test.native.js
CHANGED
|
@@ -8659,6 +8659,9 @@ var require_getExpandedShorthands_native = __commonJS({
|
|
|
8659
8659
|
}), mod);
|
|
8660
8660
|
}, getExpandedShorthands_exports = {};
|
|
8661
8661
|
__export2(getExpandedShorthands_exports, {
|
|
8662
|
+
getExpandedShorthand: function() {
|
|
8663
|
+
return getExpandedShorthand;
|
|
8664
|
+
},
|
|
8662
8665
|
getExpandedShorthands: function() {
|
|
8663
8666
|
return getExpandedShorthands;
|
|
8664
8667
|
}
|
|
@@ -8672,6 +8675,10 @@ var require_getExpandedShorthands_native = __commonJS({
|
|
|
8672
8675
|
for (var key in props) res[shorthands[key] || key] = props[key];
|
|
8673
8676
|
return res;
|
|
8674
8677
|
}
|
|
8678
|
+
function getExpandedShorthand(propKey, props) {
|
|
8679
|
+
var shorthands = (0, import_config.getConfig)().inverseShorthands, _props_propKey;
|
|
8680
|
+
return (_props_propKey = props[propKey]) !== null && _props_propKey !== void 0 ? _props_propKey : props[shorthands[propKey]];
|
|
8681
|
+
}
|
|
8675
8682
|
}
|
|
8676
8683
|
});
|
|
8677
8684
|
|