@saas-ui/react 2.5.5 → 2.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/CHANGELOG.md +19 -5
  2. 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 '@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'
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.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.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.6",
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.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
  },