tamagui 1.80.1 → 1.80.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 +1 -1
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +1 -1
- package/dist/test.native.js.map +1 -1
- package/package.json +52 -52
package/dist/test.native.js
CHANGED
|
@@ -4686,7 +4686,7 @@ var require_createComponent_native = __commonJS({
|
|
|
4686
4686
|
let avoidAnimationStyle = keepStyleSSR && state.unmounted === !0, fontFamily = isText ? splitStyles.fontFamily || ((_i = staticConfig.defaultProps) == null ? void 0 : _i.fontFamily) : null;
|
|
4687
4687
|
fontFamily && fontFamily[0] === "$" && (fontFamily = fontFamily.slice(1));
|
|
4688
4688
|
let fontFamilyClassName = fontFamily ? `font_${fontFamily}` : "", style = avoidAnimationStyle ? splitStyles.style : animationStyles || splitStyles.style, className;
|
|
4689
|
-
viewProps.style = style;
|
|
4689
|
+
asChild === "except-style" || asChild === "except-style-web" || (viewProps.style = style);
|
|
4690
4690
|
let runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), runtimeFocusStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusStyle), attachFocus = !!(runtimePressStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onLongPress || onClick), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = runtimeHoverStyle || onHoverIn || onHoverOut, isHoverable = import_constants4.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), handlesPressEvents = !(import_constants4.isWeb || asChild), events = !!(attachFocus || attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle) && !isDisabled && !props.asChild ? {
|
|
4691
4691
|
onPressOut: attachPress ? (e) => {
|
|
4692
4692
|
unPress(), onPressOut == null || onPressOut(e), onMouseUp == null || onMouseUp(e);
|