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/native.js
CHANGED
|
@@ -4037,7 +4037,7 @@ var require_createShallowSetState_native = __commonJS({
|
|
|
4037
4037
|
}
|
|
4038
4038
|
function mergeIfNotShallowEqual(prev, next, isDisabled, debug) {
|
|
4039
4039
|
if (isDisabled || !prev || !next || isEqualShallow(prev, next))
|
|
4040
|
-
return prev;
|
|
4040
|
+
return prev || next;
|
|
4041
4041
|
if (process.env.NODE_ENV === "development" && debug && (console.warn("setStateShallow CHANGE", {
|
|
4042
4042
|
prev,
|
|
4043
4043
|
next
|
|
@@ -9558,12 +9558,11 @@ var require_createComponent_native = __commonJS({
|
|
|
9558
9558
|
enabled: shouldListenForMedia,
|
|
9559
9559
|
keys: mediaListeningKeys
|
|
9560
9560
|
});
|
|
9561
|
-
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,
|
|
9561
|
+
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, [
|
|
9562
9562
|
"asChild",
|
|
9563
9563
|
"children",
|
|
9564
9564
|
"themeShallow",
|
|
9565
9565
|
"spaceDirection",
|
|
9566
|
-
"disabled",
|
|
9567
9566
|
"onPress",
|
|
9568
9567
|
"onLongPress",
|
|
9569
9568
|
"onPressIn",
|
|
@@ -9663,7 +9662,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
9663
9662
|
pseudoGroups ? Object.keys(_to_consumable_array2(pseudoGroups)).join("") : 0,
|
|
9664
9663
|
mediaGroups ? Object.keys(_to_consumable_array2(mediaGroups)).join("") : 0
|
|
9665
9664
|
]);
|
|
9666
|
-
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);
|
|
9665
|
+
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);
|
|
9667
9666
|
process.env.NODE_ENV === "development" && time && time(_templateObject14());
|
|
9668
9667
|
var events = shouldAttach ? _object_spread9(_object_spread_props8(_object_spread9({
|
|
9669
9668
|
onPressOut: attachPress ? function(e) {
|