tamagui 1.91.0 → 1.91.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 +3 -4
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +3 -4
- package/dist/test.native.js.map +2 -2
- package/package.json +54 -54
- package/types/views/Input.d.ts +4 -4
- package/types/views/TextArea.d.ts +3 -3
package/dist/test.native.js
CHANGED
|
@@ -3822,7 +3822,7 @@ var require_createShallowSetState_native = __commonJS({
|
|
|
3822
3822
|
};
|
|
3823
3823
|
}
|
|
3824
3824
|
function mergeIfNotShallowEqual(prev, next, isDisabled, debug) {
|
|
3825
|
-
return isDisabled || !prev || !next || isEqualShallow(prev, next) ? prev : _object_spread9({}, prev, next);
|
|
3825
|
+
return isDisabled || !prev || !next || isEqualShallow(prev, next) ? prev || next : _object_spread9({}, prev, next);
|
|
3826
3826
|
}
|
|
3827
3827
|
function isEqualShallow(prev, next) {
|
|
3828
3828
|
for (var key in next)
|
|
@@ -8792,12 +8792,11 @@ var require_createComponent_native = __commonJS({
|
|
|
8792
8792
|
enabled: shouldListenForMedia,
|
|
8793
8793
|
keys: mediaListeningKeys
|
|
8794
8794
|
});
|
|
8795
|
-
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,
|
|
8795
|
+
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_properties5(viewPropsIn, [
|
|
8796
8796
|
"asChild",
|
|
8797
8797
|
"children",
|
|
8798
8798
|
"themeShallow",
|
|
8799
8799
|
"spaceDirection",
|
|
8800
|
-
"disabled",
|
|
8801
8800
|
"onPress",
|
|
8802
8801
|
"onLongPress",
|
|
8803
8802
|
"onPressIn",
|
|
@@ -8892,7 +8891,7 @@ var require_createComponent_native = __commonJS({
|
|
|
8892
8891
|
pseudoGroups ? Object.keys(_to_consumable_array2(pseudoGroups)).join("") : 0,
|
|
8893
8892
|
mediaGroups ? Object.keys(_to_consumable_array2(mediaGroups)).join("") : 0
|
|
8894
8893
|
]);
|
|
8895
|
-
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_constants4.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle), events = shouldAttach ? _object_spread9(_object_spread_props8(_object_spread9({
|
|
8894
|
+
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_constants4.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle), events = shouldAttach ? _object_spread9(_object_spread_props8(_object_spread9({
|
|
8896
8895
|
onPressOut: attachPress ? function(e) {
|
|
8897
8896
|
stateRef.current.handleFocusVisible = !0, unPress(), onPressOut == null || onPressOut(e), onMouseUp == null || onMouseUp(e);
|
|
8898
8897
|
} : void 0
|