@umami/react-zen 0.128.0 → 0.129.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.mts CHANGED
@@ -152,11 +152,13 @@ interface FormFieldProps extends HTMLAttributes<HTMLDivElement>, Partial<UseForm
152
152
  }
153
153
  declare function FormField({ name, description, label, rules, className, children, ...props }: FormFieldProps): react.JSX.Element;
154
154
 
155
- interface FormFieldArrayProps {
155
+ interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
156
156
  name: string;
157
+ description?: string;
158
+ label?: string;
157
159
  children: (props: any) => ReactNode;
158
160
  }
159
- declare function FormFieldArray({ name, children }: FormFieldArrayProps): ReactNode;
161
+ declare function FormFieldArray({ name, description, label, className, children, ...props }: FormFieldArrayProps): react.JSX.Element;
160
162
 
161
163
  interface ButtonProps extends ButtonProps$1 {
162
164
  variant?: 'primary' | 'secondary' | 'outline' | 'quiet' | 'danger' | 'zero';
package/dist/index.d.ts CHANGED
@@ -152,11 +152,13 @@ interface FormFieldProps extends HTMLAttributes<HTMLDivElement>, Partial<UseForm
152
152
  }
153
153
  declare function FormField({ name, description, label, rules, className, children, ...props }: FormFieldProps): react.JSX.Element;
154
154
 
155
- interface FormFieldArrayProps {
155
+ interface FormFieldArrayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
156
156
  name: string;
157
+ description?: string;
158
+ label?: string;
157
159
  children: (props: any) => ReactNode;
158
160
  }
159
- declare function FormFieldArray({ name, children }: FormFieldArrayProps): ReactNode;
161
+ declare function FormFieldArray({ name, description, label, className, children, ...props }: FormFieldArrayProps): react.JSX.Element;
160
162
 
161
163
  interface ButtonProps extends ButtonProps$1 {
162
164
  variant?: 'primary' | 'secondary' | 'outline' | 'quiet' | 'danger' | 'zero';