@tamagui/web
Advanced tools
Comparing version 1.91.1 to 1.91.2
@@ -251,3 +251,2 @@ var __create = Object.create; | ||
spaceDirection: _spaceDirection, | ||
disabled: disabledProp, | ||
onPress, | ||
@@ -366,3 +365,3 @@ onLongPress, | ||
]); | ||
const runtimePressStyle = !disabled && noClassNames && pseudos?.pressStyle, runtimeFocusStyle = !disabled && noClassNames && pseudos?.focusStyle, attachFocus = !!(runtimePressStyle || runtimeFocusStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick || pseudos?.focusVisibleStyle), runtimeHoverStyle = !disabled && noClassNames && pseudos?.hoverStyle, needsHoverState = !!(groupName || runtimeHoverStyle || onHoverIn || onHoverOut), attachHover = import_constants.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle); | ||
const runtimePressStyle = !disabled && noClassNames && pseudos?.pressStyle, runtimeFocusStyle = !disabled && noClassNames && pseudos?.focusStyle, runtimeFocusVisibleStyle = !disabled && noClassNames && pseudos?.focusVisibleStyle, attachFocus = !!(runtimePressStyle || runtimeFocusStyle || runtimeFocusVisibleStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick || pseudos?.focusVisibleStyle), runtimeHoverStyle = !disabled && noClassNames && pseudos?.hoverStyle, needsHoverState = !!(groupName || runtimeHoverStyle || onHoverIn || onHoverOut), attachHover = import_constants.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle); | ||
process.env.NODE_ENV === "development" && time && time`events-setup`; | ||
@@ -369,0 +368,0 @@ const events = shouldAttach ? { |
@@ -561,3 +561,3 @@ "use strict"; | ||
}); | ||
var viewPropsIn = splitStyles.viewProps, pseudos = splitStyles.pseudos, splitStylesStyle = splitStyles.style, classNames = splitStyles.classNames, space = splitStyles.space, propsWithAnimation = props, asChild = viewPropsIn.asChild, children = viewPropsIn.children, themeShallow = viewPropsIn.themeShallow, _spaceDirection = viewPropsIn.spaceDirection, disabledProp = viewPropsIn.disabled, onPress = viewPropsIn.onPress, onLongPress = viewPropsIn.onLongPress, onPressIn = viewPropsIn.onPressIn, onPressOut = viewPropsIn.onPressOut, onHoverIn = viewPropsIn.onHoverIn, onHoverOut = viewPropsIn.onHoverOut, onMouseUp = viewPropsIn.onMouseUp, onMouseDown = viewPropsIn.onMouseDown, onMouseEnter = viewPropsIn.onMouseEnter, onMouseLeave = viewPropsIn.onMouseLeave, onFocus = viewPropsIn.onFocus, onBlur = viewPropsIn.onBlur, separator = viewPropsIn.separator, _forceStyle = viewPropsIn.forceStyle, onClick = viewPropsIn.onClick, _themeProp = viewPropsIn.theme, defaultVariants = viewPropsIn.defaultVariants, nonTamaguiProps = _object_without_properties(viewPropsIn, [ | ||
var viewPropsIn = splitStyles.viewProps, pseudos = splitStyles.pseudos, splitStylesStyle = splitStyles.style, classNames = splitStyles.classNames, space = splitStyles.space, propsWithAnimation = props, asChild = viewPropsIn.asChild, children = viewPropsIn.children, themeShallow = viewPropsIn.themeShallow, _spaceDirection = viewPropsIn.spaceDirection, onPress = viewPropsIn.onPress, onLongPress = viewPropsIn.onLongPress, onPressIn = viewPropsIn.onPressIn, onPressOut = viewPropsIn.onPressOut, onHoverIn = viewPropsIn.onHoverIn, onHoverOut = viewPropsIn.onHoverOut, onMouseUp = viewPropsIn.onMouseUp, onMouseDown = viewPropsIn.onMouseDown, onMouseEnter = viewPropsIn.onMouseEnter, onMouseLeave = viewPropsIn.onMouseLeave, onFocus = viewPropsIn.onFocus, onBlur = viewPropsIn.onBlur, separator = viewPropsIn.separator, _forceStyle = viewPropsIn.forceStyle, onClick = viewPropsIn.onClick, _themeProp = viewPropsIn.theme, defaultVariants = viewPropsIn.defaultVariants, nonTamaguiProps = _object_without_properties(viewPropsIn, [ | ||
"asChild", | ||
@@ -567,3 +567,2 @@ "children", | ||
"spaceDirection", | ||
"disabled", | ||
"onPress", | ||
@@ -668,3 +667,3 @@ "onLongPress", | ||
]); | ||
var runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), runtimeFocusStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusStyle), attachFocus = !!(runtimePressStyle || runtimeFocusStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick || pseudos != null && pseudos.focusVisibleStyle), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = !!(groupName || runtimeHoverStyle || onHoverIn || onHoverOut), attachHover = import_constants.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle); | ||
var runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), runtimeFocusStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusStyle), runtimeFocusVisibleStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusVisibleStyle), attachFocus = !!(runtimePressStyle || runtimeFocusStyle || runtimeFocusVisibleStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick || pseudos != null && pseudos.focusVisibleStyle), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = !!(groupName || runtimeHoverStyle || onHoverIn || onHoverOut), attachHover = import_constants.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle); | ||
process.env.NODE_ENV === "development" && time && time(_templateObject14()); | ||
@@ -671,0 +670,0 @@ var events = shouldAttach ? _object_spread(_object_spread_props(_object_spread({ |
@@ -30,2 +30,3 @@ var __defProp = Object.defineProperty; | ||
wordWrap: "break-word", | ||
whiteSpace: "pre-wrap", | ||
margin: 0 | ||
@@ -32,0 +33,0 @@ }, ellipsisStyle = ellipseStyle, Text = (0, import_createComponent.createComponent)({ |
@@ -262,3 +262,2 @@ import { composeRefs } from "@tamagui/compose-refs"; | ||
spaceDirection: _spaceDirection, | ||
disabled: disabledProp, | ||
onPress, | ||
@@ -377,3 +376,3 @@ onLongPress, | ||
]); | ||
const runtimePressStyle = !disabled && noClassNames && pseudos?.pressStyle, runtimeFocusStyle = !disabled && noClassNames && pseudos?.focusStyle, attachFocus = !!(runtimePressStyle || runtimeFocusStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick || pseudos?.focusVisibleStyle), runtimeHoverStyle = !disabled && noClassNames && pseudos?.hoverStyle, needsHoverState = !!(groupName || runtimeHoverStyle || onHoverIn || onHoverOut), attachHover = isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle); | ||
const runtimePressStyle = !disabled && noClassNames && pseudos?.pressStyle, runtimeFocusStyle = !disabled && noClassNames && pseudos?.focusStyle, runtimeFocusVisibleStyle = !disabled && noClassNames && pseudos?.focusVisibleStyle, attachFocus = !!(runtimePressStyle || runtimeFocusStyle || runtimeFocusVisibleStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick || pseudos?.focusVisibleStyle), runtimeHoverStyle = !disabled && noClassNames && pseudos?.hoverStyle, needsHoverState = !!(groupName || runtimeHoverStyle || onHoverIn || onHoverOut), attachHover = isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle); | ||
process.env.NODE_ENV === "development" && time && time`events-setup`; | ||
@@ -380,0 +379,0 @@ const events = shouldAttach ? { |
@@ -552,3 +552,3 @@ import { jsx as _jsx } from "react/jsx-runtime"; | ||
}); | ||
var viewPropsIn = splitStyles.viewProps, pseudos = splitStyles.pseudos, splitStylesStyle = splitStyles.style, classNames = splitStyles.classNames, space = splitStyles.space, propsWithAnimation = props, asChild = viewPropsIn.asChild, children = viewPropsIn.children, themeShallow = viewPropsIn.themeShallow, _spaceDirection = viewPropsIn.spaceDirection, disabledProp = viewPropsIn.disabled, onPress = viewPropsIn.onPress, onLongPress = viewPropsIn.onLongPress, onPressIn = viewPropsIn.onPressIn, onPressOut = viewPropsIn.onPressOut, onHoverIn = viewPropsIn.onHoverIn, onHoverOut = viewPropsIn.onHoverOut, onMouseUp = viewPropsIn.onMouseUp, onMouseDown = viewPropsIn.onMouseDown, onMouseEnter = viewPropsIn.onMouseEnter, onMouseLeave = viewPropsIn.onMouseLeave, onFocus = viewPropsIn.onFocus, onBlur = viewPropsIn.onBlur, separator = viewPropsIn.separator, _forceStyle = viewPropsIn.forceStyle, onClick = viewPropsIn.onClick, _themeProp = viewPropsIn.theme, defaultVariants = viewPropsIn.defaultVariants, nonTamaguiProps = _object_without_properties(viewPropsIn, [ | ||
var viewPropsIn = splitStyles.viewProps, pseudos = splitStyles.pseudos, splitStylesStyle = splitStyles.style, classNames = splitStyles.classNames, space = splitStyles.space, propsWithAnimation = props, asChild = viewPropsIn.asChild, children = viewPropsIn.children, themeShallow = viewPropsIn.themeShallow, _spaceDirection = viewPropsIn.spaceDirection, onPress = viewPropsIn.onPress, onLongPress = viewPropsIn.onLongPress, onPressIn = viewPropsIn.onPressIn, onPressOut = viewPropsIn.onPressOut, onHoverIn = viewPropsIn.onHoverIn, onHoverOut = viewPropsIn.onHoverOut, onMouseUp = viewPropsIn.onMouseUp, onMouseDown = viewPropsIn.onMouseDown, onMouseEnter = viewPropsIn.onMouseEnter, onMouseLeave = viewPropsIn.onMouseLeave, onFocus = viewPropsIn.onFocus, onBlur = viewPropsIn.onBlur, separator = viewPropsIn.separator, _forceStyle = viewPropsIn.forceStyle, onClick = viewPropsIn.onClick, _themeProp = viewPropsIn.theme, defaultVariants = viewPropsIn.defaultVariants, nonTamaguiProps = _object_without_properties(viewPropsIn, [ | ||
"asChild", | ||
@@ -558,3 +558,2 @@ "children", | ||
"spaceDirection", | ||
"disabled", | ||
"onPress", | ||
@@ -659,3 +658,3 @@ "onLongPress", | ||
]); | ||
var runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), runtimeFocusStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusStyle), attachFocus = !!(runtimePressStyle || runtimeFocusStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick || pseudos != null && pseudos.focusVisibleStyle), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = !!(groupName || runtimeHoverStyle || onHoverIn || onHoverOut), attachHover = isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle); | ||
var runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), runtimeFocusStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusStyle), runtimeFocusVisibleStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusVisibleStyle), attachFocus = !!(runtimePressStyle || runtimeFocusStyle || runtimeFocusVisibleStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick || pseudos != null && pseudos.focusVisibleStyle), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = !!(groupName || runtimeHoverStyle || onHoverIn || onHoverOut), attachHover = isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle); | ||
process.env.NODE_ENV === "development" && time && time(_templateObject14()); | ||
@@ -662,0 +661,0 @@ var events = shouldAttach ? _object_spread(_object_spread_props(_object_spread({ |
@@ -12,2 +12,3 @@ import { stylePropsTextOnly, validStyles } from "@tamagui/helpers"; | ||
wordWrap: "break-word", | ||
whiteSpace: "pre-wrap", | ||
margin: 0 | ||
@@ -14,0 +15,0 @@ }, ellipsisStyle = ellipseStyle, Text = createComponent({ |
{ | ||
"name": "@tamagui/web", | ||
"version": "1.91.1", | ||
"version": "1.91.2", | ||
"source": "src/index.ts", | ||
@@ -30,11 +30,11 @@ "main": "dist/cjs", | ||
"dependencies": { | ||
"@tamagui/compose-refs": "1.91.1", | ||
"@tamagui/constants": "1.91.1", | ||
"@tamagui/helpers": "1.91.1", | ||
"@tamagui/normalize-css-color": "1.91.1", | ||
"@tamagui/timer": "1.91.1", | ||
"@tamagui/types": "1.91.1", | ||
"@tamagui/use-did-finish-ssr": "1.91.1", | ||
"@tamagui/use-event": "1.91.1", | ||
"@tamagui/use-force-update": "1.91.1", | ||
"@tamagui/compose-refs": "1.91.2", | ||
"@tamagui/constants": "1.91.2", | ||
"@tamagui/helpers": "1.91.2", | ||
"@tamagui/normalize-css-color": "1.91.2", | ||
"@tamagui/timer": "1.91.2", | ||
"@tamagui/types": "1.91.2", | ||
"@tamagui/use-did-finish-ssr": "1.91.2", | ||
"@tamagui/use-event": "1.91.2", | ||
"@tamagui/use-force-update": "1.91.2", | ||
"react": "^18.2.0", | ||
@@ -44,3 +44,3 @@ "react-dom": "^18.2.0" | ||
"devDependencies": { | ||
"@tamagui/build": "1.91.1", | ||
"@tamagui/build": "1.91.2", | ||
"@testing-library/react": "^14.0.0", | ||
@@ -47,0 +47,0 @@ "csstype": "^3.0.10", |
@@ -17,2 +17,5 @@ export * from './Tamagui' | ||
export type * from './interfaces/RNExclusiveTypes' | ||
export type * from './interfaces/TamaguiComponentState' | ||
export type * from './interfaces/TamaguiComponentEvents' | ||
export type * from './interfaces/TamaguiComponentPropsBaseBase' | ||
@@ -19,0 +22,0 @@ export * from './interfaces/GetRef' |
@@ -16,2 +16,5 @@ export * from './Tamagui'; | ||
export type * from './interfaces/RNExclusiveTypes'; | ||
export type * from './interfaces/TamaguiComponentState'; | ||
export type * from './interfaces/TamaguiComponentEvents'; | ||
export type * from './interfaces/TamaguiComponentPropsBaseBase'; | ||
export * from './interfaces/GetRef'; | ||
@@ -18,0 +21,0 @@ export { setupDev, getConfig, getThemes, getTokens, updateConfig, getToken, getTokenValue, } from './config'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2543740
43701
+ Added@tamagui/compose-refs@1.91.2(transitive)
+ Added@tamagui/constants@1.91.2(transitive)
+ Added@tamagui/helpers@1.91.2(transitive)
+ Added@tamagui/normalize-css-color@1.91.2(transitive)
+ Added@tamagui/simple-hash@1.91.2(transitive)
+ Added@tamagui/timer@1.91.2(transitive)
+ Added@tamagui/types@1.91.2(transitive)
+ Added@tamagui/use-did-finish-ssr@1.91.2(transitive)
+ Added@tamagui/use-event@1.91.2(transitive)
+ Added@tamagui/use-force-update@1.91.2(transitive)
- Removed@tamagui/compose-refs@1.91.1(transitive)
- Removed@tamagui/constants@1.91.1(transitive)
- Removed@tamagui/helpers@1.91.1(transitive)
- Removed@tamagui/normalize-css-color@1.91.1(transitive)
- Removed@tamagui/simple-hash@1.91.1(transitive)
- Removed@tamagui/timer@1.91.1(transitive)
- Removed@tamagui/types@1.91.1(transitive)
- Removed@tamagui/use-did-finish-ssr@1.91.1(transitive)
- Removed@tamagui/use-event@1.91.1(transitive)
- Removed@tamagui/use-force-update@1.91.1(transitive)
Updated@tamagui/compose-refs@1.91.2
Updated@tamagui/constants@1.91.2
Updated@tamagui/helpers@1.91.2
Updated@tamagui/timer@1.91.2
Updated@tamagui/types@1.91.2
Updated@tamagui/use-event@1.91.2