app-studio 0.8.0 → 0.8.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.
@@ -233,6 +233,20 @@ interface ButtonProps extends CommonProps, Omit<Partial<HTMLButtonElement>, keyo
233
233
  onClick?: (..._args: any) => void;
234
234
  }
235
235
  interface InputProps extends ElementProps, CommonProps, Omit<Partial<HTMLInputElement>, keyof ElementProps> {
236
+ /**
237
+ * Visible label rendered alongside the input. Form-library wrappers (Switch,
238
+ * TextField, Checkbox, …) consume this. Not a native HTML attribute on
239
+ * <input>, but conventionally part of the form-control prop surface.
240
+ */
241
+ label?: react__default.ReactNode;
242
+ /**
243
+ * Helper text rendered below the input (hint / error / explanation).
244
+ */
245
+ helperText?: react__default.ReactNode;
246
+ /**
247
+ * Error state — usually a string for the error message, or a boolean toggle.
248
+ */
249
+ error?: boolean | string;
236
250
  }
237
251
  declare const Form: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & FormProps & react__default.RefAttributes<HTMLElement>>;
238
252
  declare const Input: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & InputProps & react__default.RefAttributes<HTMLElement>>;
@@ -233,6 +233,20 @@ interface ButtonProps extends CommonProps, Omit<Partial<HTMLButtonElement>, keyo
233
233
  onClick?: (..._args: any) => void;
234
234
  }
235
235
  interface InputProps extends ElementProps, CommonProps, Omit<Partial<HTMLInputElement>, keyof ElementProps> {
236
+ /**
237
+ * Visible label rendered alongside the input. Form-library wrappers (Switch,
238
+ * TextField, Checkbox, …) consume this. Not a native HTML attribute on
239
+ * <input>, but conventionally part of the form-control prop surface.
240
+ */
241
+ label?: react__default.ReactNode;
242
+ /**
243
+ * Helper text rendered below the input (hint / error / explanation).
244
+ */
245
+ helperText?: react__default.ReactNode;
246
+ /**
247
+ * Error state — usually a string for the error message, or a boolean toggle.
248
+ */
249
+ error?: boolean | string;
236
250
  }
237
251
  declare const Form: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & FormProps & react__default.RefAttributes<HTMLElement>>;
238
252
  declare const Input: react__default.ForwardRefExoticComponent<react__default.ComponentPropsWithRef<typeof Element$1> & InputProps & react__default.RefAttributes<HTMLElement>>;