@tamagui/core 1.110.0 → 1.110.1

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
@@ -9775,12 +9775,7 @@ var require_createComponent_native = __commonJS({
9775
9775
  var inverseShorthands = (0, import_config.getConfig)().inverseShorthands;
9776
9776
  for (var key in context.props) {
9777
9777
  var _propsIn_key, _ref, _ref1, propVal = (_ref1 = (_ref = (_propsIn_key = propsIn[key]) !== null && _propsIn_key !== void 0 ? _propsIn_key : propsIn[inverseShorthands[key]]) !== null && _ref !== void 0 ? _ref : defaultProps == null ? void 0 : defaultProps[key]) !== null && _ref1 !== void 0 ? _ref1 : defaultProps == null ? void 0 : defaultProps[inverseShorthands[key]];
9778
- if (propVal === void 0) {
9779
- if (contextValue) {
9780
- var isValidValue = key in _$validStyles || key in variants;
9781
- isValidValue && (styledContextProps || (styledContextProps = {}), styledContextProps[key] = contextValue[key]);
9782
- }
9783
- } else overriddenContextProps || (overriddenContextProps = {}), overriddenContextProps[key] = propVal;
9778
+ propVal === void 0 ? contextValue && (styledContextProps || (styledContextProps = {}), styledContextProps[key] = contextValue[key]) : (overriddenContextProps || (overriddenContextProps = {}), overriddenContextProps[key] = propVal);
9784
9779
  }
9785
9780
  }
9786
9781
  var curDefaultProps = styledContextProps ? _object_spread2({}, defaultProps, styledContextProps) : defaultProps, props = propsIn;