@saas-ui/forms 1.0.0-rc.8 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +108 -0
- package/dist/ajv/index.js +94 -94
- package/dist/ajv/index.js.map +1 -1
- package/dist/ajv/index.modern.mjs +94 -94
- package/dist/ajv/index.modern.mjs.map +1 -1
- package/dist/array-field.d.ts +14 -3
- package/dist/array-field.d.ts.map +1 -1
- package/dist/field-resolver.d.ts.map +1 -1
- package/dist/field.d.ts +81 -26
- package/dist/field.d.ts.map +1 -1
- package/dist/fields.d.ts +1 -0
- package/dist/fields.d.ts.map +1 -1
- package/dist/form.d.ts +1 -1
- package/dist/form.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/step-form.d.ts +4 -4
- package/dist/step-form.d.ts.map +1 -1
- package/dist/submit-button.d.ts +2 -1
- package/dist/submit-button.d.ts.map +1 -1
- package/dist/use-step-form.d.ts +6 -2
- package/dist/use-step-form.d.ts.map +1 -1
- package/dist/zod/index.js.map +1 -1
- package/dist/zod/index.modern.mjs.map +1 -1
- package/dist/zod/zod-resolver.d.ts +2 -2
- package/dist/zod/zod-resolver.d.ts.map +1 -1
- package/package.json +10 -10
- package/src/array-field.tsx +21 -22
- package/src/auto-form.tsx +2 -2
- package/src/field-resolver.ts +2 -1
- package/src/field.tsx +183 -72
- package/src/fields.tsx +36 -25
- package/src/form.tsx +1 -2
- package/src/step-form.tsx +13 -8
- package/src/submit-button.tsx +32 -24
- package/src/use-step-form.tsx +24 -10
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,113 @@
|
|
1
1
|
# @saas-ui/forms
|
2
2
|
|
3
|
+
## 1.0.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 3ce1dee: Support JSONSchema title in field resolvers
|
8
|
+
- 150efb2: Select field focus styles now consistent with Input fields.
|
9
|
+
- 3f928c2: FormDialog with AutoForm now sets focus on first field by default.
|
10
|
+
|
11
|
+
## 1.0.0
|
12
|
+
|
13
|
+
### Major Changes
|
14
|
+
|
15
|
+
- 1db5bf9: Initial release candidate
|
16
|
+
|
17
|
+
### Minor Changes
|
18
|
+
|
19
|
+
- 3ae6be1: breaking: Updated to Chakra UI 2.1
|
20
|
+
- 532a7d4: Updated to Chakra UI 2.2.1
|
21
|
+
- 7a16ef7: Updated to Chakra UI 2.2.1
|
22
|
+
- 3ae6be1: breaking: React 18 support.
|
23
|
+
|
24
|
+
### Patch Changes
|
25
|
+
|
26
|
+
- fca06e4: Added Json Schema (ajv) support for AutoForm.
|
27
|
+
- 6cc9343: Add exports entry for ajv
|
28
|
+
- 15c3960: Re-publish.
|
29
|
+
- 1744543: Updated dependencies.
|
30
|
+
- bd3438d: FormStep now supports an onSubmit handler.
|
31
|
+
- 6133901: No longer passing down label to input fields.
|
32
|
+
- dc6376f: Updated all readme files, added better descriptions and links to docs and source code.
|
33
|
+
- 43dff99: Option labels are now optional.
|
34
|
+
- d4afda3: ArrayFieldRowFields now accepts all FormLayout props (#48).
|
35
|
+
- ddec417: ArrayField no longer passing down items to the container element.
|
36
|
+
- 43dff99: Field is now correctly typed based on the field type.
|
37
|
+
- 5a1b92b: Fix vertical orientation for FormStepper.
|
38
|
+
- 1fdf52a: Modern bundles now use .mjs extension.
|
39
|
+
- 38f7171: #50 - Fixed StepForm render prop types.
|
40
|
+
- 5f80cea: AutoForm now renders children.
|
41
|
+
- 532a7d4: Fixed all theme onconsistencies.
|
42
|
+
- 1c247cb: InputField now has type="text" by default.
|
43
|
+
- d1fb472: Select now renders a hidden input with the current value.
|
44
|
+
- 68f5d3b: Removed isPrimary and isSecondary Button properties, use colorScheme="primary" instead.
|
45
|
+
- Updated dependencies [3ae6be1]
|
46
|
+
- Updated dependencies [c8621b8]
|
47
|
+
- Updated dependencies [15c3960]
|
48
|
+
- Updated dependencies [532a7d4]
|
49
|
+
- Updated dependencies [1744543]
|
50
|
+
- Updated dependencies [dc6376f]
|
51
|
+
- Updated dependencies [9e9c601]
|
52
|
+
- Updated dependencies [1db5bf9]
|
53
|
+
- Updated dependencies [1fdf52a]
|
54
|
+
- Updated dependencies [7a16ef7]
|
55
|
+
- Updated dependencies [532a7d4]
|
56
|
+
- Updated dependencies [3dee538]
|
57
|
+
- Updated dependencies [870db1f]
|
58
|
+
- Updated dependencies [3ae6be1]
|
59
|
+
- Updated dependencies [68f5d3b]
|
60
|
+
- @saas-ui/button@1.0.0
|
61
|
+
- @saas-ui/input-right-button@1.0.0
|
62
|
+
- @saas-ui/number-input@1.0.0
|
63
|
+
- @saas-ui/password-input@1.0.0
|
64
|
+
- @saas-ui/pin-input@1.0.0
|
65
|
+
- @saas-ui/radio@1.0.0
|
66
|
+
- @saas-ui/react-utils@1.0.0
|
67
|
+
- @saas-ui/select@1.0.0
|
68
|
+
- @saas-ui/stepper@1.0.0
|
69
|
+
|
70
|
+
## 1.0.0-rc.12
|
71
|
+
|
72
|
+
### Patch Changes
|
73
|
+
|
74
|
+
- @saas-ui/stepper@1.0.0-rc.6
|
75
|
+
|
76
|
+
## 1.0.0-rc.11
|
77
|
+
|
78
|
+
### Patch Changes
|
79
|
+
|
80
|
+
- 1744543: Updated dependencies.
|
81
|
+
- Updated dependencies [1744543]
|
82
|
+
- @saas-ui/button@1.0.0-rc.5
|
83
|
+
- @saas-ui/input-right-button@1.0.0-rc.5
|
84
|
+
- @saas-ui/number-input@1.0.0-rc.4
|
85
|
+
- @saas-ui/password-input@1.0.0-rc.5
|
86
|
+
- @saas-ui/pin-input@1.0.0-rc.5
|
87
|
+
- @saas-ui/radio@1.0.0-rc.4
|
88
|
+
- @saas-ui/react-utils@1.0.0-rc.4
|
89
|
+
- @saas-ui/select@1.0.0-rc.4
|
90
|
+
- @saas-ui/stepper@1.0.0-rc.5
|
91
|
+
|
92
|
+
## 1.0.0-rc.10
|
93
|
+
|
94
|
+
### Patch Changes
|
95
|
+
|
96
|
+
- bd3438d: FormStep now supports an onSubmit handler.
|
97
|
+
|
98
|
+
## 1.0.0-rc.9
|
99
|
+
|
100
|
+
### Patch Changes
|
101
|
+
|
102
|
+
- 43dff99: Option labels are now optional.
|
103
|
+
- d4afda3: ArrayFieldRowFields now accepts all FormLayout props (#48).
|
104
|
+
- 43dff99: Field is now correctly typed based on the field type.
|
105
|
+
- 38f7171: #50 - Fixed StepForm render prop types.
|
106
|
+
- Updated dependencies [870db1f]
|
107
|
+
- @saas-ui/button@1.0.0-rc.4
|
108
|
+
- @saas-ui/input-right-button@1.0.0-rc.4
|
109
|
+
- @saas-ui/password-input@1.0.0-rc.4
|
110
|
+
|
3
111
|
## 1.0.0-rc.8
|
4
112
|
|
5
113
|
### Patch Changes
|