@saas-ui/react 2.5.5 → 2.5.6
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 +19 -5
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# @saas-ui/react
|
2
2
|
|
3
|
+
## 2.5.6
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 52e7490c: Fixed issue where theming props would be forwarded to form layout element
|
8
|
+
- Updated dependencies [afb87d86]
|
9
|
+
- Updated dependencies [836305f8]
|
10
|
+
- Updated dependencies [52e7490c]
|
11
|
+
- @saas-ui/core@2.3.5
|
12
|
+
- @saas-ui/hotkeys@2.2.0
|
13
|
+
- @saas-ui/forms@2.3.10
|
14
|
+
- @saas-ui/data-table@7.0.6
|
15
|
+
- @saas-ui/modals@2.1.18
|
16
|
+
|
3
17
|
## 2.5.5
|
4
18
|
|
5
19
|
### Patch Changes
|
@@ -2530,12 +2544,12 @@
|
|
2530
2544
|
Add this somewhere in the root of your project.
|
2531
2545
|
|
2532
2546
|
```ts
|
2533
|
-
import { Form } from
|
2534
|
-
import { yupResolver, yupFieldResolver } from
|
2535
|
-
import { AnyObjectSchema } from
|
2547
|
+
import { Form } from "@saas-ui/react";
|
2548
|
+
import { yupResolver, yupFieldResolver } from "@saas-ui/forms/yup"; // yupResolver is exported from here as well for convenience.
|
2549
|
+
import { AnyObjectSchema } from "yup";
|
2536
2550
|
|
2537
|
-
Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema) // @hookform/resolvers
|
2538
|
-
Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema) // AutoForm field resolver
|
2551
|
+
Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema); // @hookform/resolvers
|
2552
|
+
Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema); // AutoForm field resolver
|
2539
2553
|
```
|
2540
2554
|
|
2541
2555
|
- 9391c44: Fixed peer dependency issues.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@saas-ui/react",
|
3
|
-
"version": "2.5.
|
3
|
+
"version": "2.5.6",
|
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.1",
|
62
62
|
"@chakra-ui/utils": "^2.0.15",
|
63
|
-
"@saas-ui/core": "2.3.
|
64
|
-
"@saas-ui/data-table": "7.0.
|
65
|
-
"@saas-ui/forms": "2.3.
|
63
|
+
"@saas-ui/core": "2.3.5",
|
64
|
+
"@saas-ui/data-table": "7.0.6",
|
65
|
+
"@saas-ui/forms": "2.3.10",
|
66
66
|
"@saas-ui/hooks": "2.0.3",
|
67
|
-
"@saas-ui/hotkeys": "2.
|
68
|
-
"@saas-ui/modals": "2.1.
|
67
|
+
"@saas-ui/hotkeys": "2.2.0",
|
68
|
+
"@saas-ui/modals": "2.1.18",
|
69
69
|
"@saas-ui/nprogress": "2.0.2",
|
70
70
|
"@saas-ui/theme": "2.3.2"
|
71
71
|
},
|