@saas-ui/react 2.7.2 → 2.7.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +32 -5
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,32 @@
|
|
1
1
|
# @saas-ui/react
|
2
2
|
|
3
|
+
## 2.7.4
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies
|
8
|
+
- @saas-ui/forms@2.5.4
|
9
|
+
- @saas-ui/modals@2.1.29
|
10
|
+
- @saas-ui/data-table@9.0.4
|
11
|
+
|
12
|
+
## 2.7.3
|
13
|
+
|
14
|
+
### Patch Changes
|
15
|
+
|
16
|
+
- 20c7175: Added forwardRef to ContextMenuTrigger
|
17
|
+
- ca911e4: Fixed issue where global toast default options would not apply to snackbar
|
18
|
+
- 0a218fd: Fixed issue where Field types would not be inferred
|
19
|
+
- Updated dependencies [20c7175]
|
20
|
+
- Updated dependencies [ca911e4]
|
21
|
+
- Updated dependencies [ca911e4]
|
22
|
+
- Updated dependencies [0a218fd]
|
23
|
+
- Updated dependencies [0a218fd]
|
24
|
+
- @saas-ui/core@2.4.4
|
25
|
+
- @saas-ui/forms@2.5.3
|
26
|
+
- @saas-ui/data-table@9.0.3
|
27
|
+
- @saas-ui/hotkeys@2.2.7
|
28
|
+
- @saas-ui/modals@2.1.28
|
29
|
+
|
3
30
|
## 2.7.2
|
4
31
|
|
5
32
|
### Patch Changes
|
@@ -2667,12 +2694,12 @@
|
|
2667
2694
|
Add this somewhere in the root of your project.
|
2668
2695
|
|
2669
2696
|
```ts
|
2670
|
-
import { Form } from
|
2671
|
-
import { yupResolver, yupFieldResolver } from
|
2672
|
-
import { AnyObjectSchema } from
|
2697
|
+
import { Form } from "@saas-ui/react";
|
2698
|
+
import { yupResolver, yupFieldResolver } from "@saas-ui/forms/yup"; // yupResolver is exported from here as well for convenience.
|
2699
|
+
import { AnyObjectSchema } from "yup";
|
2673
2700
|
|
2674
|
-
Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema) // @hookform/resolvers
|
2675
|
-
Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema) // AutoForm field resolver
|
2701
|
+
Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema); // @hookform/resolvers
|
2702
|
+
Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema); // AutoForm field resolver
|
2676
2703
|
```
|
2677
2704
|
|
2678
2705
|
- 9391c44: Fixed peer dependency issues.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@saas-ui/react",
|
3
|
-
"version": "2.7.
|
3
|
+
"version": "2.7.4",
|
4
4
|
"description": "Saas UI - The React component library for startups.",
|
5
5
|
"source": "src/index.ts",
|
6
6
|
"exports": {
|
@@ -60,12 +60,12 @@
|
|
60
60
|
"@chakra-ui/react-utils": "^2.0.12",
|
61
61
|
"@chakra-ui/system": "^2.6.2",
|
62
62
|
"@chakra-ui/utils": "^2.0.15",
|
63
|
-
"@saas-ui/core": "2.4.
|
64
|
-
"@saas-ui/data-table": "9.0.
|
65
|
-
"@saas-ui/forms": "2.5.
|
63
|
+
"@saas-ui/core": "2.4.4",
|
64
|
+
"@saas-ui/data-table": "9.0.4",
|
65
|
+
"@saas-ui/forms": "2.5.4",
|
66
66
|
"@saas-ui/hooks": "2.0.3",
|
67
|
-
"@saas-ui/hotkeys": "2.2.
|
68
|
-
"@saas-ui/modals": "2.1.
|
67
|
+
"@saas-ui/hotkeys": "2.2.7",
|
68
|
+
"@saas-ui/modals": "2.1.29",
|
69
69
|
"@saas-ui/nprogress": "2.0.3",
|
70
70
|
"@saas-ui/theme": "2.3.4"
|
71
71
|
},
|