@saas-ui/react 2.5.4 → 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 +38 -5
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,38 @@
|
|
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
|
+
|
17
|
+
## 2.5.5
|
18
|
+
|
19
|
+
### Patch Changes
|
20
|
+
|
21
|
+
- d6d7ca3f: Added xl size to IconBadge
|
22
|
+
- 4e291385: Updated Input lg variant height
|
23
|
+
- aa3c97a0: Fixed issue where FormStepper separator would render incorrectly
|
24
|
+
- Updated dependencies [d6d7ca3f]
|
25
|
+
- Updated dependencies [4e291385]
|
26
|
+
- Updated dependencies [ac3e7f9f]
|
27
|
+
- Updated dependencies [2f170bf7]
|
28
|
+
- Updated dependencies [aa3c97a0]
|
29
|
+
- @saas-ui/theme@2.3.2
|
30
|
+
- @saas-ui/data-table@7.0.5
|
31
|
+
- @saas-ui/forms@2.3.9
|
32
|
+
- @saas-ui/core@2.3.4
|
33
|
+
- @saas-ui/modals@2.1.17
|
34
|
+
- @saas-ui/hotkeys@2.1.15
|
35
|
+
|
3
36
|
## 2.5.4
|
4
37
|
|
5
38
|
### Patch Changes
|
@@ -2511,12 +2544,12 @@
|
|
2511
2544
|
Add this somewhere in the root of your project.
|
2512
2545
|
|
2513
2546
|
```ts
|
2514
|
-
import { Form } from
|
2515
|
-
import { yupResolver, yupFieldResolver } from
|
2516
|
-
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";
|
2517
2550
|
|
2518
|
-
Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema) // @hookform/resolvers
|
2519
|
-
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
|
2520
2553
|
```
|
2521
2554
|
|
2522
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,14 +60,14 @@
|
|
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
|
-
"@saas-ui/theme": "2.3.
|
70
|
+
"@saas-ui/theme": "2.3.2"
|
71
71
|
},
|
72
72
|
"peerDependencies": {
|
73
73
|
"@chakra-ui/react": ">=2.6.0",
|