@saas-ui/react 2.5.7 → 2.5.8
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 +14 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# @saas-ui/react
|
2
2
|
|
3
|
+
## 2.5.8
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- bc1997b0: Fixed issue where form dialog content would overflow when using using scrollbehavior inside
|
8
|
+
- Updated dependencies [bc1997b0]
|
9
|
+
- @saas-ui/modals@2.1.19
|
10
|
+
- @saas-ui/data-table@7.0.8
|
11
|
+
|
3
12
|
## 2.5.7
|
4
13
|
|
5
14
|
### Patch Changes
|
@@ -2552,12 +2561,12 @@
|
|
2552
2561
|
Add this somewhere in the root of your project.
|
2553
2562
|
|
2554
2563
|
```ts
|
2555
|
-
import { Form } from
|
2556
|
-
import { yupResolver, yupFieldResolver } from
|
2557
|
-
import { AnyObjectSchema } from
|
2564
|
+
import { Form } from '@saas-ui/react'
|
2565
|
+
import { yupResolver, yupFieldResolver } from '@saas-ui/forms/yup' // yupResolver is exported from here as well for convenience.
|
2566
|
+
import { AnyObjectSchema } from 'yup'
|
2558
2567
|
|
2559
|
-
Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema)
|
2560
|
-
Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema)
|
2568
|
+
Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema) // @hookform/resolvers
|
2569
|
+
Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema) // AutoForm field resolver
|
2561
2570
|
```
|
2562
2571
|
|
2563
2572
|
- 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.8",
|
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.
|
64
|
+
"@saas-ui/data-table": "7.0.8",
|
65
65
|
"@saas-ui/forms": "2.3.10",
|
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.19",
|
69
69
|
"@saas-ui/nprogress": "2.0.2",
|
70
70
|
"@saas-ui/theme": "2.3.2"
|
71
71
|
},
|