@delightui/components 0.1.162-alpha.1 → 0.1.162-alpha.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.
@@ -20,5 +20,6 @@ declare const usePresenter: <TFieldValues extends FieldValues = FieldValues, TNa
20
20
  disabled: boolean | undefined;
21
21
  className: string | undefined;
22
22
  style: import("react").CSSProperties | undefined;
23
+ hasMessage: boolean | undefined;
23
24
  };
24
25
  export default usePresenter;
@@ -89,6 +89,8 @@ export type FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName
89
89
  infoIcon?: ReactNode;
90
90
  /** Field ID - for the input element */
91
91
  id?: string;
92
+ /** @deprecated Legacy prop for backwards compatibility - use message prop instead */
93
+ hasMessage?: boolean;
92
94
  };
93
95
  /**
94
96
  * Standalone FormField props (works without Form context)
@@ -122,4 +124,6 @@ export type StandaloneFieldProps<TValue = FieldValue> = Omit<HTMLAttributes<HTML
122
124
  infoIcon?: ReactNode;
123
125
  /** Field ID - for the input element */
124
126
  id?: string;
127
+ /** @deprecated Legacy prop for backwards compatibility - use message prop instead */
128
+ hasMessage?: boolean;
125
129
  };