@saas-ui/react 2.5.5 → 2.5.7

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +27 -5
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @saas-ui/react
2
2
 
3
+ ## 2.5.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @saas-ui/hotkeys@2.2.1
9
+ - @saas-ui/data-table@7.0.7
10
+
11
+ ## 2.5.6
12
+
13
+ ### Patch Changes
14
+
15
+ - 52e7490c: Fixed issue where theming props would be forwarded to form layout element
16
+ - Updated dependencies [afb87d86]
17
+ - Updated dependencies [836305f8]
18
+ - Updated dependencies [52e7490c]
19
+ - @saas-ui/core@2.3.5
20
+ - @saas-ui/hotkeys@2.2.0
21
+ - @saas-ui/forms@2.3.10
22
+ - @saas-ui/data-table@7.0.6
23
+ - @saas-ui/modals@2.1.18
24
+
3
25
  ## 2.5.5
4
26
 
5
27
  ### Patch Changes
@@ -2530,12 +2552,12 @@
2530
2552
  Add this somewhere in the root of your project.
2531
2553
 
2532
2554
  ```ts
2533
- import { Form } from '@saas-ui/react'
2534
- import { yupResolver, yupFieldResolver } from '@saas-ui/forms/yup' // yupResolver is exported from here as well for convenience.
2535
- import { AnyObjectSchema } from 'yup'
2555
+ import { Form } from "@saas-ui/react";
2556
+ import { yupResolver, yupFieldResolver } from "@saas-ui/forms/yup"; // yupResolver is exported from here as well for convenience.
2557
+ import { AnyObjectSchema } from "yup";
2536
2558
 
2537
- Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema) // @hookform/resolvers
2538
- Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema) // AutoForm field resolver
2559
+ Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema); // @hookform/resolvers
2560
+ Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema); // AutoForm field resolver
2539
2561
  ```
2540
2562
 
2541
2563
  - 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.5",
3
+ "version": "2.5.7",
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.4",
64
- "@saas-ui/data-table": "7.0.5",
65
- "@saas-ui/forms": "2.3.9",
63
+ "@saas-ui/core": "2.3.5",
64
+ "@saas-ui/data-table": "7.0.7",
65
+ "@saas-ui/forms": "2.3.10",
66
66
  "@saas-ui/hooks": "2.0.3",
67
- "@saas-ui/hotkeys": "2.1.15",
68
- "@saas-ui/modals": "2.1.17",
67
+ "@saas-ui/hotkeys": "2.2.1",
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
  },