tamagui 1.83.0 → 1.84.1
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 +15 -13
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +15 -13
- package/dist/test.native.js.map +1 -1
- package/package.json +52 -52
package/dist/native.js
CHANGED
|
@@ -4949,7 +4949,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
4949
4949
|
fontFamily && fontFamily[0] === "$" && (fontFamily = fontFamily.slice(1));
|
|
4950
4950
|
let fontFamilyClassName = fontFamily ? `font_${fontFamily}` : "", style = avoidAnimationStyle ? splitStyles.style : animationStyles || splitStyles.style, className;
|
|
4951
4951
|
asChild === "except-style" || asChild === "except-style-web" || (viewProps.style = style);
|
|
4952
|
-
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), shouldAttach = !!(attachFocus || attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle);
|
|
4952
|
+
let 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 || onLongPress || onClick), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = runtimeHoverStyle || onHoverIn || onHoverOut, isHoverable = import_constants4.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !!(attachFocus || attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle);
|
|
4953
4953
|
process.env.NODE_ENV === "development" && time && time`events-setup`;
|
|
4954
4954
|
let events = shouldAttach && !isDisabled && !props.asChild ? {
|
|
4955
4955
|
onPressOut: attachPress ? (e) => {
|
|
@@ -11191,7 +11191,7 @@ var require_Dialog_native = __commonJS({
|
|
|
11191
11191
|
}
|
|
11192
11192
|
), TITLE_NAME = "DialogTitle", DialogTitleFrame = (0, import_core13.styled)(import_text2.H2, {
|
|
11193
11193
|
name: TITLE_NAME
|
|
11194
|
-
}), DialogTitle =
|
|
11194
|
+
}), DialogTitle = DialogTitleFrame.styleable(
|
|
11195
11195
|
(props, forwardedRef) => {
|
|
11196
11196
|
let { __scopeDialog, ...titleProps } = props, context = useDialogContext(TITLE_NAME, __scopeDialog);
|
|
11197
11197
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DialogTitleFrame, { id: context.titleId, ...titleProps, ref: forwardedRef });
|
|
@@ -11200,17 +11200,19 @@ var require_Dialog_native = __commonJS({
|
|
|
11200
11200
|
DialogTitle.displayName = TITLE_NAME;
|
|
11201
11201
|
var DialogDescriptionFrame = (0, import_core13.styled)(import_text2.Paragraph, {
|
|
11202
11202
|
name: "DialogDescription"
|
|
11203
|
-
}), DESCRIPTION_NAME = "DialogDescription", DialogDescription =
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11207
|
-
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11203
|
+
}), DESCRIPTION_NAME = "DialogDescription", DialogDescription = DialogDescriptionFrame.styleable(
|
|
11204
|
+
(props, forwardedRef) => {
|
|
11205
|
+
let { __scopeDialog, ...descriptionProps } = props, context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
|
|
11206
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
11207
|
+
DialogDescriptionFrame,
|
|
11208
|
+
{
|
|
11209
|
+
id: context.descriptionId,
|
|
11210
|
+
...descriptionProps,
|
|
11211
|
+
ref: forwardedRef
|
|
11212
|
+
}
|
|
11213
|
+
);
|
|
11214
|
+
}
|
|
11215
|
+
);
|
|
11214
11216
|
DialogDescription.displayName = DESCRIPTION_NAME;
|
|
11215
11217
|
var CLOSE_NAME = "DialogClose", DialogCloseFrame = (0, import_core13.styled)(import_core13.View, {
|
|
11216
11218
|
name: CLOSE_NAME,
|