@vacano/ui 1.3.0 → 1.4.0

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/index.d.ts CHANGED
@@ -242,6 +242,15 @@ export declare type FieldLabelProps = VacanoComponentProps<HTMLSpanElement> & {
242
242
 
243
243
  export declare type FieldLabelVariant = 'normal' | 'error';
244
244
 
245
+ export declare const FieldMessage: ({ children, className, ref, variant, ...rest }: FieldMessageProps) => JSX.Element | null;
246
+
247
+ export declare type FieldMessageProps = VacanoComponentProps<HTMLSpanElement> & Omit<HTMLAttributes<HTMLSpanElement>, 'className'> & {
248
+ children?: ReactNode;
249
+ variant?: FieldMessageVariant;
250
+ };
251
+
252
+ export declare type FieldMessageVariant = 'normal' | 'error' | 'success' | 'warning';
253
+
245
254
  /**
246
255
  * Go-style date formatting
247
256
  * Reference time: Mon Jan 2 15:04:05 MST 2006