autoforma 2.8.0 → 2.9.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.
- package/dist/autoform/layouts/FieldLayout.d.ts +1 -1
- package/dist/autoform/render/FieldRenderer.d.ts +1 -1
- package/dist/autoform/types.d.ts +1 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +511 -497
- package/dist/stories/fields/containers/Array.stories.d.ts +6 -0
- package/dist/stories/fields/containers/Object.stories.d.ts +6 -0
- package/dist/stories/fields/primitives/Input.stories.d.ts +8 -0
- package/dist/stories/form/Form.stories.d.ts +12 -0
- package/dist/stories/form/FormCustomize.stories.d.ts +6 -0
- package/dist/stories/form/FormValidation.stories.d.ts +6 -0
- package/package.json +2 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
type Story = StoryObj;
|
|
5
|
+
export declare const DefaultInput: Story;
|
|
6
|
+
export declare const ReadonlyInput: Story;
|
|
7
|
+
export declare const SelectInput: Story;
|
|
8
|
+
export declare const DependentInput: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
type Story = StoryObj;
|
|
5
|
+
export declare const FormPropsDocumentation: Story;
|
|
6
|
+
export declare const BasicForm: Story;
|
|
7
|
+
export declare const FormWithInitialValues: Story;
|
|
8
|
+
export declare const ReadonlyForm: Story;
|
|
9
|
+
export declare const FormWithoutSubmit: Story;
|
|
10
|
+
export declare const FormWithLifecycle: Story;
|
|
11
|
+
export declare const DynamicForm: Story;
|
|
12
|
+
export declare const FormWithRef: Story;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoforma",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.2",
|
|
4
4
|
"description": "AutoForma is a headless dynamic form builder based on React Hook Form",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
|
54
|
+
"@storybook/addon-actions": "^9.0.8",
|
|
54
55
|
"@storybook/addon-docs": "^10.1.10",
|
|
55
56
|
"@storybook/react-vite": "^10.1.10",
|
|
56
57
|
"@types/node": "^24.10.1",
|