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.
- package/README.md +76 -32
- package/dist/web/app-studio.umd.production.min.global.js.map +1 -1
- package/dist/web/index.cjs.map +1 -1
- package/dist/web/index.d.mts +14 -0
- package/dist/web/index.d.ts +14 -0
- package/dist/web/index.js.map +1 -1
- package/docs/Animation.md +2 -0
- package/docs/Components.md +12 -0
- package/docs/Design.md +2 -0
- package/docs/Events.md +2 -0
- package/docs/Hooks.md +2 -0
- package/docs/IframeSupport.md +2 -0
- package/docs/Native.md +428 -0
- package/docs/Providers.md +2 -0
- package/docs/README.md +4 -1
- package/docs/Responsive.md +2 -0
- package/docs/Styling.md +2 -0
- package/docs/Theming.md +53 -0
- package/package.json +1 -1
package/dist/web/index.d.mts
CHANGED
|
@@ -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>>;
|
package/dist/web/index.d.ts
CHANGED
|
@@ -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>>;
|