@tamagui/core 1.110.0 → 1.110.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 +8 -8
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +8 -8
- package/dist/test.native.js.map +2 -2
- package/package.json +6 -6
package/dist/native.js
CHANGED
|
@@ -5674,6 +5674,7 @@ var require_normalize_color = __commonJS({
|
|
|
5674
5674
|
switch (name) {
|
|
5675
5675
|
case "transparent":
|
|
5676
5676
|
return 0;
|
|
5677
|
+
// http://www.w3.org/TR/css3-color/#svg-color
|
|
5677
5678
|
case "aliceblue":
|
|
5678
5679
|
return 4042850303;
|
|
5679
5680
|
case "antiquewhite":
|
|
@@ -8147,7 +8148,10 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
8147
8148
|
// this fixes issues where style prop got merged with wrong priority
|
|
8148
8149
|
!isHOC && (isValidStyleKey(key, staticConfig) || import_constants.isAndroid && key === "elevation")
|
|
8149
8150
|
) return mergeStyle(styleState, key, val), "continue";
|
|
8150
|
-
|
|
8151
|
+
if (!isVariant) {
|
|
8152
|
+
if (styleProps.styledContextProps && key in styleProps.styledContextProps) return "continue";
|
|
8153
|
+
viewProps[key] = val;
|
|
8154
|
+
}
|
|
8151
8155
|
}, keyInit = keyOg, valInit = props[keyInit];
|
|
8152
8156
|
if (accept) {
|
|
8153
8157
|
var accepted = accept[keyInit];
|
|
@@ -9775,12 +9779,7 @@ var require_createComponent_native = __commonJS({
|
|
|
9775
9779
|
var inverseShorthands = (0, import_config.getConfig)().inverseShorthands;
|
|
9776
9780
|
for (var key in context.props) {
|
|
9777
9781
|
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
|
-
|
|
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;
|
|
9782
|
+
propVal === void 0 ? contextValue && (styledContextProps || (styledContextProps = {}), styledContextProps[key] = contextValue[key]) : (overriddenContextProps || (overriddenContextProps = {}), overriddenContextProps[key] = propVal);
|
|
9784
9783
|
}
|
|
9785
9784
|
}
|
|
9786
9785
|
var curDefaultProps = styledContextProps ? _object_spread2({}, defaultProps, styledContextProps) : defaultProps, props = propsIn;
|
|
@@ -9864,7 +9863,8 @@ var require_createComponent_native = __commonJS({
|
|
|
9864
9863
|
resolveValues,
|
|
9865
9864
|
isExiting,
|
|
9866
9865
|
isAnimated,
|
|
9867
|
-
willBeAnimated
|
|
9866
|
+
willBeAnimated,
|
|
9867
|
+
styledContextProps
|
|
9868
9868
|
}, splitStyles = (0, import_getSplitStyles.useSplitStyles)(props, staticConfig, theme, (themeState == null || (_themeState_state = themeState.state) === null || _themeState_state === void 0 ? void 0 : _themeState_state.name) || "", state, styleProps, null, componentContext, elementType, debugProp);
|
|
9869
9869
|
if (props.group && props.untilMeasured === "hide" && !curStateRef.hasMeasured) {
|
|
9870
9870
|
var _splitStyles;
|