@tamagui/core 1.125.29 → 1.125.30
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/native.js
CHANGED
|
@@ -9234,6 +9234,9 @@ var require_getExpandedShorthands_native = __commonJS({
|
|
|
9234
9234
|
}), mod);
|
|
9235
9235
|
}, getExpandedShorthands_exports = {};
|
|
9236
9236
|
__export2(getExpandedShorthands_exports, {
|
|
9237
|
+
getExpandedShorthand: function() {
|
|
9238
|
+
return getExpandedShorthand;
|
|
9239
|
+
},
|
|
9237
9240
|
getExpandedShorthands: function() {
|
|
9238
9241
|
return getExpandedShorthands;
|
|
9239
9242
|
}
|
|
@@ -9247,6 +9250,10 @@ var require_getExpandedShorthands_native = __commonJS({
|
|
|
9247
9250
|
for (var key in props) res[shorthands[key] || key] = props[key];
|
|
9248
9251
|
return res;
|
|
9249
9252
|
}
|
|
9253
|
+
function getExpandedShorthand(propKey, props) {
|
|
9254
|
+
var shorthands = (0, import_config.getConfig)().inverseShorthands, _props_propKey;
|
|
9255
|
+
return (_props_propKey = props[propKey]) !== null && _props_propKey !== void 0 ? _props_propKey : props[shorthands[propKey]];
|
|
9256
|
+
}
|
|
9250
9257
|
}
|
|
9251
9258
|
});
|
|
9252
9259
|
|