Skip to content

Commit ff5d375

Browse files
Fix mui theme to use version 7 (#4616)
* 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` # Conflicts: # package-lock.json # packages/fluentui-rc/package.json # packages/mui/package.json # packages/playground/package.json * - Updated `CHANGELOG.md` # Conflicts: # CHANGELOG.md * - Improved `GlobalUISchemaOptions` type * - Fixed typo in `CHANGELOG.md`
1 parent c274839 commit ff5d375

File tree

31 files changed

+2529
-2368
lines changed

31 files changed

+2529
-2368
lines changed

CHANGELOG.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,52 @@ should change the heading of the (upcoming) version to include a major version b
1818

1919
# 6.0.0-beta.9
2020

21+
## @rjsf/antd
22+
23+
- Updated the `README.md` file for dependencies and snapshots due to updating to latest `antd`
24+
2125
## @rjsf/chakra-ui
2226

2327
- Updated `SelectWidget` to only pick the first element in a list when single selection is active, fixing [#4623](https://github.com/rjsf-team/react-jsonschema-form/issues/4623)
28+
- Updated the `README.md` file for dependencies
29+
30+
## @rjsf/daisyui
31+
32+
- Updated the `README.md` file for dependencies
33+
- Updated `package.json` to move `@fluentui` packages to peer and dev dependencies
34+
35+
## @rjsf/fluentui-rc
36+
37+
- Updated the `README.md` file for dependencies
38+
- Updated `package.json` to move `daisyui` to peer and dev dependencies
39+
40+
## @rjsf/mui
41+
42+
- Updated the `README.md` file for dependencies
43+
- BREAKING CHANGE: Upgraded MUI to version 7, dropping support for earlier versions due to conversion of `Grid`s to v7 version (a MUI breaking change)
44+
45+
## @rjsf/react-bootstrap
46+
47+
- Updated the `README.md` file for dependencies
48+
49+
## @rjsf/semantic-ui
50+
51+
- Updated the `README.md` file for dependencies
52+
- Deprecated the theme due to it appearing to be a dead project
53+
54+
## @rjsf/shadcn
55+
56+
- Updated the `README.md` file for dependencies
57+
58+
## @rjsf/util
59+
60+
- Fixed form data propagation with `patternProperties` [#4617](https://github.com/rjsf-team/react-jsonschema-form/pull/4617)
61+
- Updated the `GlobalUISchemaOptions` types to extend `GenericObjectType` to support user-defined values for their extensions
62+
63+
## Dev / docs / playground
64+
65+
- Updated `playground` to use MUI version 7
66+
- Updated `v6 upgrade guide.md` to note the breaking change for MUI 7 and deprecation of `semantic-ui`
2467

2568
# 6.0.0-beta.8
2669

@@ -42,7 +85,7 @@ should change the heading of the (upcoming) version to include a major version b
4285

4386
## Dev / docs / playground
4487

45-
- Updated precompiled schemas documentation in `validation.md` based on v6 changes, addressingg [#4618](https://github.com/rjsf-team/react-jsonschema-form/issues/4618)
88+
- Updated precompiled schemas documentation in `validation.md` based on v6 changes, addressing [#4618](https://github.com/rjsf-team/react-jsonschema-form/issues/4618)
4689

4790
# 6.0.0-beta.7
4891

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)

0 commit comments

Comments
 (0)