@saas-ui/modals 0.4.0-next.0 → 0.4.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/CHANGELOG.md +5 -22
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,34 +1,17 @@
|
|
1
1
|
# @saas-ui/modals
|
2
2
|
|
3
|
-
## 0.4.0
|
3
|
+
## 0.4.0
|
4
4
|
|
5
5
|
### Minor Changes
|
6
6
|
|
7
|
-
- 9391c44:
|
8
|
-
|
9
|
-
<Form> doesn't accept a Yup `schema` any more by default.
|
10
|
-
|
11
|
-
Use a schema resolver to use schema support. All hookform resolvers are supported.
|
12
|
-
|
13
|
-
```
|
14
|
-
import {yupResolver} from '@hookform/resolvers/yup'
|
15
|
-
|
16
|
-
<Form resolver={yupResolver(schema)} />
|
17
|
-
```
|
18
|
-
|
19
|
-
AutoForm only supports Yup for now and has a new API.
|
20
|
-
|
21
|
-
```
|
22
|
-
import { yupForm } from '@saas-ui/forms/yup'
|
23
|
-
|
24
|
-
<AutoForm {...yupForm(schema)} />
|
25
|
-
```
|
7
|
+
- 9391c44: Fixed peer dependency issues.
|
26
8
|
|
27
9
|
### Patch Changes
|
28
10
|
|
11
|
+
- Updated dependencies [0e81abd]
|
29
12
|
- Updated dependencies [9391c44]
|
30
|
-
- @saas-ui/
|
31
|
-
- @saas-ui/
|
13
|
+
- @saas-ui/forms@0.6.0
|
14
|
+
- @saas-ui/button@0.4.0
|
32
15
|
|
33
16
|
## 0.3.5
|
34
17
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@saas-ui/modals",
|
3
|
-
"version": "0.4.0
|
3
|
+
"version": "0.4.0",
|
4
4
|
"description": "A modal manager for Chakra UI",
|
5
5
|
"source": "src/index.ts",
|
6
6
|
"exports": {
|
@@ -56,8 +56,8 @@
|
|
56
56
|
"url": "https://storybook.saas-ui.dev"
|
57
57
|
},
|
58
58
|
"dependencies": {
|
59
|
-
"@saas-ui/button": "0.4.0
|
60
|
-
"@saas-ui/forms": "0.6.0
|
59
|
+
"@saas-ui/button": "0.4.0",
|
60
|
+
"@saas-ui/forms": "0.6.0"
|
61
61
|
},
|
62
62
|
"peerDependencies": {
|
63
63
|
"@chakra-ui/react": ">=1.8.0",
|