Skip to content

Commit

Permalink
fix(@rjsf/chakra-ui) add support for chakra-react-select v4 (rjsf-tea…
Browse files Browse the repository at this point in the history
…m#3172)

* @rjsf/chakra-ui: support chakra-react-select v4;
In particular move  from  to  and add  to peerDependencies

* Correct rjsf version

* Add chakra-react-select to pre-requisites in chakra-ui README

Co-authored-by: dorofel <lisa.dorofeeva@lightsource.ca>
  • Loading branch information
ldorofeeva and dorofel authored Oct 3, 2022
1 parent 1c4e098 commit 2e588f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ should change the heading of the (upcoming) version to include a major version b
-->
# 5.0.0-beta.11

## @rjsf/chakra-ui
- Added support for `chakra-react-select` v4, fixing [#3152](https://github.com/rjsf-team/react-jsonschema-form/issues/3152).

## @rjsf/playground
- Added an error boundary to prevent the entire app from crashing when an error is thrown by Form. See [#3164](https://github.com/rjsf-team/react-jsonschema-form/pull/3164) for closed issues.

Expand Down
1 change: 1 addition & 0 deletions packages/chakra-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Exports `chakra-ui` theme, fields and widgets for `react-jsonschema-form`.
### Prerequisites

- `@chakra-ui/react >= 1.7.0`
- `chakra-react-select >= 3.3.8`
- `react >= 17.0.0`
- `framer-motion >= 5.0.0`
- `@rjsf/core >= 2.0.0`
Expand Down
3 changes: 2 additions & 1 deletion packages/chakra-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@chakra-ui/react": ">=1.7.3",
"@rjsf/core": "^5.0.0-beta.1",
"@rjsf/utils": "^5.0.0-beta.1",
"chakra-react-select": ">=3.3.8",
"framer-motion": ">=5.6.0",
"react": "^16.14.0 || >=17"
},
Expand Down Expand Up @@ -65,6 +66,7 @@
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@types/react-test-renderer": "^17.0.1",
"chakra-react-select": "^3.3.8",
"dts-cli": "^1.6.0",
"eslint": "^8.23.0",
"framer-motion": "^5.6.0",
Expand All @@ -75,7 +77,6 @@
"rimraf": "^3.0.2"
},
"dependencies": {
"chakra-react-select": "^3.3.8",
"react-select": "^5.4.0"
}
}

0 comments on commit 2e588f4

Please sign in to comment.