Skip to content

Commit 82a2872

Browse files
Fix mui theme to use version 7
Fixed #4538 to switch `@rjsf/mui` theme to use MUI v7 - Updated `@rjsf/mui` to use v7, switching from `Grid2` to `Grid` and using `slotProps` in `BaseInputTemplate` - Updated the snapshots accordingly - Also updated all of the `README.md` files for the themes to update versions for dependencies - For `fluentui-rc` and `daisyui` themes, moved the theme engine dependencies to `peerDependencies` and `devDependencies` - Updated `@rjsf/semantic-ui` to deprecate the theme - Ran `npm update` to get the latest versions of libraries, causing `antd` snapshots to be updated - Updated the `v6.x upgrade guide.md` to reflect the MUI upgrade and deprecation of `semantic-ui`
1 parent 0754b1c commit 82a2872

File tree

30 files changed

+2391
-2359
lines changed

30 files changed

+2391
-2359
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
- [Chakra UI v3](https://github.com/rjsf-team/react-jsonschema-form/tree/main/packages/chakra-ui)
3333
- [Daisy UI v5](https://github.com/rjsf-team/react-jsonschema-form/tree/main/packages/daisyui)
3434
- [Fluent UI v9](https://github.com/rjsf-team/react-jsonschema-form/tree/main/packages/fluentui-rc)
35-
- [Material UI v5 & v6](https://github.com/rjsf-team/react-jsonschema-form/tree/main/packages/mui)
35+
- [Material UI v7](https://github.com/rjsf-team/react-jsonschema-form/tree/main/packages/mui)
3636
- [React-Bootstrap (Bootstrap v5)](https://github.com/rjsf-team/react-jsonschema-form/tree/main/packages/react-bootstrap)
3737
- [Semantic UI v2](https://github.com/rjsf-team/react-jsonschema-form/tree/main/packages/semantic-ui)
3838
- [Shad CN](https://github.com/rjsf-team/react-jsonschema-form/tree/main/packages/shadcn)

package-lock.json

Lines changed: 69 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/antd/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,15 @@ Ant Design theme, fields and widgets for `react-jsonschema-form`.
5858

5959
### Prerequisites
6060

61-
- `antd >= 4.0.0`
62-
- `@ant-design/icons >= 4.0.0`
61+
- `antd >= 5`
62+
- `@ant-design/icons >= 5`
6363
- `dayjs >= 1.8.0`
64-
- `@rjsf/core >= 2.0.0`
64+
- `@rjsf/core >= 6`
65+
- `@rjsf/utils >= 6`
66+
- `@rjsf/validator-ajv8 >= 6`
6567

6668
```sh
67-
npm install antd @ant-design/icons dayjs @rjsf/core
69+
npm install antd @ant-design/icons dayjs @rjsf/core @rjsf/utils @rjsf/validator-ajv8
6870
```
6971

7072
### Installation

0 commit comments

Comments
 (0)