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.
@@ -4655,7 +4655,7 @@ var require_createComponent_native = __commonJS({
4655
4655
  fontFamily && fontFamily[0] === "$" && (fontFamily = fontFamily.slice(1));
4656
4656
  let fontFamilyClassName = fontFamily ? `font_${fontFamily}` : "", style = avoidAnimationStyle ? splitStyles.style : animationStyles || splitStyles.style, className;
4657
4657
  asChild === "except-style" || asChild === "except-style-web" || (viewProps.style = style);
4658
- 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), events = !!(attachFocus || attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle) && !isDisabled && !props.asChild ? {
4658
+ 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), events = !!(attachFocus || attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle) && !isDisabled && !props.asChild ? {
4659
4659
  onPressOut: attachPress ? (e) => {
4660
4660
  unPress(), onPressOut == null || onPressOut(e), onMouseUp == null || onMouseUp(e);
4661
4661
  } : void 0,
@@ -10789,7 +10789,7 @@ var require_Dialog_native = __commonJS({
10789
10789
  }
10790
10790
  ), TITLE_NAME = "DialogTitle", DialogTitleFrame = (0, import_core13.styled)(import_text2.H2, {
10791
10791
  name: TITLE_NAME
10792
- }), DialogTitle = React2.forwardRef(
10792
+ }), DialogTitle = DialogTitleFrame.styleable(
10793
10793
  (props, forwardedRef) => {
10794
10794
  let { __scopeDialog, ...titleProps } = props, context = useDialogContext(TITLE_NAME, __scopeDialog);
10795
10795
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DialogTitleFrame, { id: context.titleId, ...titleProps, ref: forwardedRef });
@@ -10798,17 +10798,19 @@ var require_Dialog_native = __commonJS({
10798
10798
  DialogTitle.displayName = TITLE_NAME;
10799
10799
  var DialogDescriptionFrame = (0, import_core13.styled)(import_text2.Paragraph, {
10800
10800
  name: "DialogDescription"
10801
- }), DESCRIPTION_NAME = "DialogDescription", DialogDescription = React2.forwardRef((props, forwardedRef) => {
10802
- let { __scopeDialog, ...descriptionProps } = props, context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
10803
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
10804
- DialogDescriptionFrame,
10805
- {
10806
- id: context.descriptionId,
10807
- ...descriptionProps,
10808
- ref: forwardedRef
10809
- }
10810
- );
10811
- });
10801
+ }), DESCRIPTION_NAME = "DialogDescription", DialogDescription = DialogDescriptionFrame.styleable(
10802
+ (props, forwardedRef) => {
10803
+ let { __scopeDialog, ...descriptionProps } = props, context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
10804
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
10805
+ DialogDescriptionFrame,
10806
+ {
10807
+ id: context.descriptionId,
10808
+ ...descriptionProps,
10809
+ ref: forwardedRef
10810
+ }
10811
+ );
10812
+ }
10813
+ );
10812
10814
  DialogDescription.displayName = DESCRIPTION_NAME;
10813
10815
  var CLOSE_NAME = "DialogClose", DialogCloseFrame = (0, import_core13.styled)(import_core13.View, {
10814
10816
  name: CLOSE_NAME,