@saas-ui/react 2.5.7 → 2.5.9
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 +23 -5
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# @saas-ui/react
|
2
2
|
|
3
|
+
## 2.5.9
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [29e5c317]
|
8
|
+
- @saas-ui/forms@2.3.11
|
9
|
+
- @saas-ui/modals@2.1.20
|
10
|
+
- @saas-ui/data-table@7.0.9
|
11
|
+
|
12
|
+
## 2.5.8
|
13
|
+
|
14
|
+
### Patch Changes
|
15
|
+
|
16
|
+
- bc1997b0: Fixed issue where form dialog content would overflow when using using scrollbehavior inside
|
17
|
+
- Updated dependencies [bc1997b0]
|
18
|
+
- @saas-ui/modals@2.1.19
|
19
|
+
- @saas-ui/data-table@7.0.8
|
20
|
+
|
3
21
|
## 2.5.7
|
4
22
|
|
5
23
|
### Patch Changes
|
@@ -2552,12 +2570,12 @@
|
|
2552
2570
|
Add this somewhere in the root of your project.
|
2553
2571
|
|
2554
2572
|
```ts
|
2555
|
-
import { Form } from
|
2556
|
-
import { yupResolver, yupFieldResolver } from
|
2557
|
-
import { AnyObjectSchema } from
|
2573
|
+
import { Form } from '@saas-ui/react'
|
2574
|
+
import { yupResolver, yupFieldResolver } from '@saas-ui/forms/yup' // yupResolver is exported from here as well for convenience.
|
2575
|
+
import { AnyObjectSchema } from 'yup'
|
2558
2576
|
|
2559
|
-
Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema)
|
2560
|
-
Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema)
|
2577
|
+
Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema) // @hookform/resolvers
|
2578
|
+
Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema) // AutoForm field resolver
|
2561
2579
|
```
|
2562
2580
|
|
2563
2581
|
- 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.9",
|
4
4
|
"description": "Saas UI - The React component library for startups.",
|
5
5
|
"source": "src/index.ts",
|
6
6
|
"exports": {
|
@@ -61,11 +61,11 @@
|
|
61
61
|
"@chakra-ui/system": "^2.6.1",
|
62
62
|
"@chakra-ui/utils": "^2.0.15",
|
63
63
|
"@saas-ui/core": "2.3.5",
|
64
|
-
"@saas-ui/data-table": "7.0.
|
65
|
-
"@saas-ui/forms": "2.3.
|
64
|
+
"@saas-ui/data-table": "7.0.9",
|
65
|
+
"@saas-ui/forms": "2.3.11",
|
66
66
|
"@saas-ui/hooks": "2.0.3",
|
67
67
|
"@saas-ui/hotkeys": "2.2.1",
|
68
|
-
"@saas-ui/modals": "2.1.
|
68
|
+
"@saas-ui/modals": "2.1.20",
|
69
69
|
"@saas-ui/nprogress": "2.0.2",
|
70
70
|
"@saas-ui/theme": "2.3.2"
|
71
71
|
},
|