@tamagui/core 1.122.0 → 1.122.2
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 +2 -1
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +4 -2
- package/dist/test.native.js.map +1 -1
- package/package.json +8 -8
package/dist/native.js
CHANGED
|
@@ -7614,8 +7614,9 @@ var require_createComponent_native = __commonJS({
|
|
|
7614
7614
|
var componentContext = import_react3.default.useContext(import_ComponentContext.ComponentContext), styledContextProps, overriddenContextProps, contextValue, { context, isReactNative } = staticConfig;
|
|
7615
7615
|
if (context && (contextValue = import_react3.default.useContext(context), contextValue)) {
|
|
7616
7616
|
process.env.NODE_ENV === "development" && (defaultProps == null ? void 0 : defaultProps.debug) === "verbose" && (0, import_log.log)(" \u{1F447} contextValue", contextValue);
|
|
7617
|
+
var shorthands = config == null ? void 0 : config.shorthands;
|
|
7617
7618
|
for (var key in context.props) {
|
|
7618
|
-
var propVal = propsIn[key];
|
|
7619
|
+
var propVal = propsIn[key] || propsIn[shorthands == null ? void 0 : shorthands[propsIn]];
|
|
7619
7620
|
if (propVal === void 0) {
|
|
7620
7621
|
var val = contextValue == null ? void 0 : contextValue[key];
|
|
7621
7622
|
val !== void 0 && (styledContextProps || (styledContextProps = {}), styledContextProps[key] = val);
|