-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Mui in addition to material-ui (material ui 5) #2555
Comments
I am also interested as I have open source project which relies on material-ui V5 beta and I would like to migrate to full version |
I would be highly interested as our team was an early adopter of mui5. |
I would like to help. Please start the branch/project thanks |
seems like there's decent interest, i'll take a pass at it. |
+1 |
Here's what I'm using, I just haven't turned it into a nice PR yet: import { withTheme } from '@rjsf/core'
import { Theme as MaterialUITheme } from '../path/to/zipped/theme/forms'
// Make modifications to the theme with your own fields and widgets
const Form = withTheme(MaterialUITheme)
const Foo = () => {
return (<Form schema={schema} />)
}
|
beat me to it :) will test it out; looking forward to a PR |
can you open as a WIP PR @timfee rather than a zip file? |
+1 I can also help if need be |
@JeremyRubin @timfee Any progress on this? If not, I'm considering pushing up a PR for my own version in a week or two as I likely will be able to dedicate my actual work time to get this done before the end of the month... I've already contributed to this repo, so I'm familiar with the process. |
I'm good with whatever; not actively focused on this. As long as @timfee apache licenses the changes it should be fine for you to base on that? |
@epicfaace @JeremyRubin @timfee I have begun working on this new theme... I hope to have a PR up by early next week. |
And the first problem I encounter is that |
I didn't bother with using those changes as I wanted the experience of doing a material-ui V4 to V5 upgrade myself since I'll be doing it for my own code next. |
@epicfaace How crazy does it sound to create a react-17 version of the playground as a separate application? |
hey sorry for the delay here... submitted at PR: #2601 -- and not sure how to best make sure everything's on the up and up RE: apache, so please let me know if you need anything else! |
I think that's possible! I'd note that the form previews on the playground are actually rendered in a separate iframe, so I could imagine an implementation that seamlessly switches from react 16 to react 17 for the material-ui v5 theme. |
I'm not sure I have the time to figure this out at the moment. It would still require two running instances of webpack I believe... Probably want to overhaul the playground structure to support something like this perhaps |
) (#2605) * Attempting to build a `material-ui` that works for both version 4 and 5 * Some minor cleanup and upgrade to React 17 to get all the tests working * Made the Themes be tolerant of not having the library actually present * Changes needed to make the old playground work with the new v4 & v5 material-ui theme, by emptying-out the @mui libraries since they need React 17 * Updated React 17 playground to also support material-ui v4 along with v5 * Extracted the Context creation from the them, including properly dealing with `require()` throwing errors * Final changes in preparation for the PR * Added missing `size="small"` on the `IconButtons`, reordered and/or consolidated some imports Fixed up the `Mui5ContextProps` to use `OutlinedInput` for `Input` Also improved the documentation on the `@mui` -> `emptyLibrary` hack * Update the tests snapshots to account for the `size="small"` change on the `IconButton` * - Updated to the latest `@mui` and `@emotion` libraries and made the `@material-ui`, `@mui` and `@emotion` packages optional in `peerDependenciesMeta` * - Rebased package-lock.json for `material-ui` and `playground` after rebase to latest master - Updated the `material-ui` snapshot due to updated libraries * - Updated the original playground to call out `material-ui-4` rather than just `material-ui` * - Restored the [PR](https://github.com/heath-freenome/react-jsonschema-form/pull/1/files#) that was lost in a merge issue * - Bump `react-bootstrap` in the playground to match the version used in `@rjsf/bootstrap-4` * - Fixed issue found by reviewer where the `Slider` component was not output into the Contexts Co-authored-by: Heath Chiavettone <[email protected]>
…ptions (#2640) * feat: submit button props * feat: ui options playground options * feat: other themes to implement widget * feat: remove hidden option * chore: required to allowed * chore: requested changes * doc: change prop * chore: version bump changes * Update CHANGELOG.md * Update docs/api-reference/uiSchema.md Co-authored-by: Ashwin Ramaswami <[email protected]> * Update docs/api-reference/uiSchema.md Co-authored-by: Ashwin Ramaswami <[email protected]> * Update docs/api-reference/uiSchema.md Co-authored-by: Ashwin Ramaswami <[email protected]> * dox: updated * chore: version changes * chore: revert version * Squashed commit of the following: commit 36f57b3 Merge: 9e2dff9 3c1d465 Author: Jacques Nel <[email protected]> Date: Tue Jan 25 20:40:22 2022 +0200 Merge branch 'rjsf-team:master' into master commit 3c1d465 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 22 11:21:55 2022 -0500 chore(deps-dev): bump nanoid in /packages/semantic-ui (#2670) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.1.31. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.1.23...3.1.31) --- updated-dependencies: - dependency-name: nanoid dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 1e18e2b Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 22 11:21:46 2022 -0500 chore(deps): bump nanoid from 3.1.23 to 3.1.31 in /packages/core (#2671) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.1.31. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.1.23...3.1.31) --- updated-dependencies: - dependency-name: nanoid dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 055d566 Author: Ashwin Ramaswami <[email protected]> Date: Mon Jan 17 10:46:13 2022 -0500 Fix target_branch typo (#2662) commit c801e67 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 05:13:16 2022 +0000 chore(deps-dev): bump style-loader from 1.2.0 to 2.0.0 Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/webpack-contrib/style-loader/releases) - [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/style-loader@v1.2.0...v2.0.0) --- updated-dependencies: - dependency-name: style-loader dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit a988138 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:51:05 2022 +0000 chore(deps): bump postcss from 8.2.10 to 8.4.5 in /packages/playground Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.4.5. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.2.10...8.4.5) --- updated-dependencies: - dependency-name: postcss dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit e08a9b5 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:34:21 2022 +0000 chore(deps): bump lodash from 4.17.15 to 4.17.21 in /packages/core Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> commit 6f7f682 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:18:22 2022 +0000 chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /packages/material-ui Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 1562dfa Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:03:10 2022 +0000 chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /packages/bootstrap-4 Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 598bd6e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 03:47:42 2022 +0000 chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /packages/fluent-ui Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 74b9cc3 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 00:37:55 2022 +0000 chore(deps): bump postcss from 8.2.10 to 8.4.5 in /packages/semantic-ui Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.4.5. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.2.10...8.4.5) --- updated-dependencies: - dependency-name: postcss dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 34943ba Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 15 20:45:50 2022 +0000 chore(deps): bump follow-redirects in /packages/playground Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.3 to 1.14.7. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.13.3...v1.14.7) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit cd63de5 Author: Ian Gong <[email protected]> Date: Fri Jan 14 13:01:28 2022 +0900 fix(@rjsf/antd): display description for antd theme (#2644) Co-authored-by: Dmitry <[email protected]> commit 772ca75 Author: gpop <[email protected]> Date: Wed Jan 12 15:42:22 2022 +0100 bootstrap-4 Fix UI title (fixes #2636) (#2647) * fix(title): take title of uiSchema * fix(title): take title of uiSchema * fix(title): take title of uiSchema commit 2a92562 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 1 09:18:40 2022 -0500 chore(deps): bump actions/setup-node from 2.5.0 to 2.5.1 (#2641) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v2.5.0...v2.5.1) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 76ab08c Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 1 09:48:43 2021 -0500 chore(deps): bump actions/setup-node from 2.4.1 to 2.5.0 (#2623) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v2.4.1...v2.5.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 1c16e0b Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 1 09:48:35 2021 -0500 chore(deps): bump actions/setup-python from 2.2.2 to 2.3.1 (#2624) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 2.3.1. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v2.2.2...v2.3.1) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit d48eeaa Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Nov 27 16:35:21 2021 +0000 chore(deps): bump lodash in /packages/semantic-ui Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit f4c1024 Author: Jacques Nel <[email protected]> Date: Sat Nov 27 18:34:13 2021 +0200 Fix issue - all semantic props overwritten when a single prop is used; update semantic to 1.3.1 (#2590) * feat: add button,email,date widgets feat: use core/util getDisplayLabel feat: getSemanticProps, getSemanticErrorProps changed dep: semantic-ui version test: tests updated chore: tests updated * chore: trailing comma * feat: get_semantic_props_function * docs: updated CHANGELOG * docs:CHANGELOG * chore: change util getSemanticProps * chore: spaces and carriage return/line feed * chore: request changes * chore: other changes * chore: update test snapshot * chore: update CHANGELOG.md * feat: theme specific default props should not all be overwritten, only the keys that match * test: theme prop form test Co-authored-by: Jacques <[email protected]> commit acdee29 Author: Ashwin Ramaswami <[email protected]> Date: Fri Nov 19 16:45:01 2021 +0000 v3.2.1 commit 531a1b4 Author: Ashwin Ramaswami <[email protected]> Date: Fri Nov 19 16:44:47 2021 +0000 Update changelog v3.2.1 commit 79a61ff Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 17:14:15 2021 +0000 chore(deps): bump ua-parser-js in /packages/semantic-ui Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.21 to 0.7.31. - [Release notes](https://github.com/faisalman/ua-parser-js/releases) - [Commits](faisalman/ua-parser-js@0.7.21...0.7.31) --- updated-dependencies: - dependency-name: ua-parser-js dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 4916f7c Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:54:35 2021 +0000 chore(deps): bump ws from 7.2.3 to 7.5.5 in /packages/semantic-ui Bumps [ws](https://github.com/websockets/ws) from 7.2.3 to 7.5.5. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.2.3...7.5.5) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit eb90739 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:36:39 2021 +0000 chore(deps): bump browserslist in /packages/semantic-ui Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.12.1 to 4.18.1. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.12.1...4.18.1) --- updated-dependencies: - dependency-name: browserslist dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 259a4d2 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:18:56 2021 +0000 chore(deps): bump trim-newlines in /packages/semantic-ui Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/sindresorhus/trim-newlines/releases) - [Commits](https://github.com/sindresorhus/trim-newlines/commits) --- updated-dependencies: - dependency-name: trim-newlines dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 1684a89 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:01:06 2021 +0000 chore(deps): bump tmpl from 1.0.4 to 1.0.5 in /packages/semantic-ui Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 0598738 Author: Steven Hao <[email protected]> Date: Wed Nov 17 07:59:53 2021 -0800 upgrade jsonpointer to 5.0.0 to address security vulnerability (#2599) * bump jsonpointer ^4.0.1 to ^5.0.0 * package-lock.json updat commit 63636b7 Author: Ole Lensmar <[email protected]> Date: Tue Nov 16 03:04:39 2021 +0100 Don't crash when non-object formData is passed in to a schema item with additionalProperties (#2595) * handle null formData when stubbing existing additional properties * added Form test * improved non-object formData handling and added corresponding test * fixed formatting * lint: cs-check * linting: js format * feat: updated util types * feat: getSubmitButtonOptions type * chore: update tests * chore: tests updated * hocer: snapshots updated * chore: test:update command * Update snapshots * Update PR template with snapshot update command * feat: remove default className * chore: update util tests * chore: remove classname test * chore: snapshots updated * Squashed commit of the following: commit d6a09eb Merge: 36f57b3 0134c9d Author: Jacques Nel <[email protected]> Date: Wed Feb 16 08:22:00 2022 +0200 Merge branch 'rjsf-team:master' into master commit 0134c9d Author: Ashwin Ramaswami <[email protected]> Date: Sun Feb 13 22:07:59 2022 -0500 Update PULL_REQUEST_TEMPLATE.md (#2698) commit 4746c0b Author: Ashwin Ramaswami <[email protected]> Date: Sun Feb 13 22:07:50 2022 -0500 Update CHANGELOG.md (#2706) commit 2d03544 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Feb 11 11:23:29 2022 +0000 chore(deps): bump handlebars from 4.1.0 to 4.7.7 in /packages/core Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.1.0...v4.7.7) --- updated-dependencies: - dependency-name: handlebars dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 6b17ede Author: David Johnson <[email protected]> Date: Wed Feb 9 19:42:48 2022 -0700 Added .nvmrc and .node-version to help setup correct node version (#2695) * Added .nvmrc and .node-version to help setup correct node version * Changing .nvmrc/.node-version to use major version # commit 549b718 Author: green7ea <[email protected]> Date: Thu Feb 10 03:42:34 2022 +0100 Can now specify idSeparator to control how id is created (#2628) * Can now specify idSeparator to control how id is created By default, '_' is used as a separator for the different parts that make up a field's id. This can be problematic when '_' is part of a field's name. This commit adds the ability to specify idSeparator when building a form which allows users use a character that isn't used in field names. With the idSeparator option set to '.', we would get: 'root.field_a.field_123' instead of 'root_field_a_field_123'. * Update CHANGELOG.md Co-authored-by: Emmanuel Boudreault <[email protected]> Co-authored-by: Ashwin Ramaswami <[email protected]> commit c6ad877 Author: Maximillian Dornseif <[email protected]> Date: Tue Feb 8 02:58:40 2022 +0100 Documenting readonlyAsDisabled functionality. (#2524) * Documenting readonlyAsDisabled functionality. * Update docs/api-reference/form-props.md Co-authored-by: Ashwin Ramaswami <[email protected]> Co-authored-by: Ashwin Ramaswami <[email protected]> commit 6447cae Author: Rodrigo Fuentes <[email protected]> Date: Mon Feb 7 09:05:31 2022 -0500 Update README.md (#2692) fix typo commit e2e1181 Author: Heath C <[email protected]> Date: Fri Feb 4 12:44:51 2022 -0800 Add support for both Material UI 4 and 5 in @rjsf/material-ui (fix #2555) (#2605) * Attempting to build a `material-ui` that works for both version 4 and 5 * Some minor cleanup and upgrade to React 17 to get all the tests working * Made the Themes be tolerant of not having the library actually present * Changes needed to make the old playground work with the new v4 & v5 material-ui theme, by emptying-out the @mui libraries since they need React 17 * Updated React 17 playground to also support material-ui v4 along with v5 * Extracted the Context creation from the them, including properly dealing with `require()` throwing errors * Final changes in preparation for the PR * Added missing `size="small"` on the `IconButtons`, reordered and/or consolidated some imports Fixed up the `Mui5ContextProps` to use `OutlinedInput` for `Input` Also improved the documentation on the `@mui` -> `emptyLibrary` hack * Update the tests snapshots to account for the `size="small"` change on the `IconButton` * - Updated to the latest `@mui` and `@emotion` libraries and made the `@material-ui`, `@mui` and `@emotion` packages optional in `peerDependenciesMeta` * - Rebased package-lock.json for `material-ui` and `playground` after rebase to latest master - Updated the `material-ui` snapshot due to updated libraries * - Updated the original playground to call out `material-ui-4` rather than just `material-ui` * - Restored the [PR](https://github.com/heath-freenome/react-jsonschema-form/pull/1/files#) that was lost in a merge issue * - Bump `react-bootstrap` in the playground to match the version used in `@rjsf/bootstrap-4` * - Fixed issue found by reviewer where the `Slider` component was not output into the Contexts Co-authored-by: Heath Chiavettone <[email protected]> commit 3d1a71c Author: Ashwin Ramaswami <[email protected]> Date: Fri Feb 4 12:14:13 2022 -0500 Add chakra-ui theme (#2688) Co-authored-by: Jonathan Blair <[email protected]> Co-authored-by: Rodrigo Fuentes <[email protected]> Co-authored-by: U.M Andrew <[email protected]> Co-authored-by: jzander <[email protected]> commit 3537039 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Feb 1 16:08:13 2022 +0000 chore(deps): bump browserslist in /packages/playground Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.6.2 to 4.19.1. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.6.2...4.19.1) --- updated-dependencies: - dependency-name: browserslist dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 89ba649 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Feb 1 15:51:44 2022 +0000 chore(deps-dev): bump react-portal from 4.2.0 to 4.2.1 Bumps [react-portal](https://github.com/tajo/react-portal) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/tajo/react-portal/releases) - [Commits](tajo/react-portal@v4.2.0...v4.2.1) --- updated-dependencies: - dependency-name: react-portal dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> commit b54b124 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Feb 1 07:00:31 2022 +0000 chore(deps): bump crazy-max/ghaction-github-pages from 2.5.0 to 2.6.0 Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases) - [Changelog](https://github.com/crazy-max/ghaction-github-pages/blob/dev/CHANGELOG.md) - [Commits](crazy-max/ghaction-github-pages@v2.5.0...v2.6.0) --- updated-dependencies: - dependency-name: crazy-max/ghaction-github-pages dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> commit 36f57b3 Merge: 9e2dff9 3c1d465 Author: Jacques Nel <[email protected]> Date: Tue Jan 25 20:40:22 2022 +0200 Merge branch 'rjsf-team:master' into master * merge with master * Revert "Squashed commit of the following:" This reverts commit e91212c. * chore: update tests * test: snapshots updated * chore: norender changes * revert * update snapshots * fix: include correct code again for submit button props * chore: update snapshots * chore: update snapshots * chore: snapshots updated * chore: update snapshots semantic-ui * chore: get latest version master * chore: snapshots updated Co-authored-by: Ashwin Ramaswami <[email protected]>
* feat: submit button props * feat: ui options playground options * feat: other themes to implement widget * feat: remove hidden option * chore: required to allowed * chore: requested changes * doc: change prop * chore: version bump changes * Update CHANGELOG.md * Update docs/api-reference/uiSchema.md Co-authored-by: Ashwin Ramaswami <[email protected]> * Update docs/api-reference/uiSchema.md Co-authored-by: Ashwin Ramaswami <[email protected]> * Update docs/api-reference/uiSchema.md Co-authored-by: Ashwin Ramaswami <[email protected]> * dox: updated * chore: version changes * chore: revert version * Squashed commit of the following: commit 36f57b3 Merge: 9e2dff9 3c1d465 Author: Jacques Nel <[email protected]> Date: Tue Jan 25 20:40:22 2022 +0200 Merge branch 'rjsf-team:master' into master commit 3c1d465 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 22 11:21:55 2022 -0500 chore(deps-dev): bump nanoid in /packages/semantic-ui (#2670) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.1.31. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.1.23...3.1.31) --- updated-dependencies: - dependency-name: nanoid dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 1e18e2b Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 22 11:21:46 2022 -0500 chore(deps): bump nanoid from 3.1.23 to 3.1.31 in /packages/core (#2671) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.1.31. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.1.23...3.1.31) --- updated-dependencies: - dependency-name: nanoid dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 055d566 Author: Ashwin Ramaswami <[email protected]> Date: Mon Jan 17 10:46:13 2022 -0500 Fix target_branch typo (#2662) commit c801e67 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 05:13:16 2022 +0000 chore(deps-dev): bump style-loader from 1.2.0 to 2.0.0 Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/webpack-contrib/style-loader/releases) - [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/style-loader@v1.2.0...v2.0.0) --- updated-dependencies: - dependency-name: style-loader dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit a988138 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:51:05 2022 +0000 chore(deps): bump postcss from 8.2.10 to 8.4.5 in /packages/playground Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.4.5. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.2.10...8.4.5) --- updated-dependencies: - dependency-name: postcss dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit e08a9b5 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:34:21 2022 +0000 chore(deps): bump lodash from 4.17.15 to 4.17.21 in /packages/core Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> commit 6f7f682 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:18:22 2022 +0000 chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /packages/material-ui Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 1562dfa Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:03:10 2022 +0000 chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /packages/bootstrap-4 Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 598bd6e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 03:47:42 2022 +0000 chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /packages/fluent-ui Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 74b9cc3 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 00:37:55 2022 +0000 chore(deps): bump postcss from 8.2.10 to 8.4.5 in /packages/semantic-ui Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.4.5. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.2.10...8.4.5) --- updated-dependencies: - dependency-name: postcss dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 34943ba Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 15 20:45:50 2022 +0000 chore(deps): bump follow-redirects in /packages/playground Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.3 to 1.14.7. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.13.3...v1.14.7) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit cd63de5 Author: Ian Gong <[email protected]> Date: Fri Jan 14 13:01:28 2022 +0900 fix(@rjsf/antd): display description for antd theme (#2644) Co-authored-by: Dmitry <[email protected]> commit 772ca75 Author: gpop <[email protected]> Date: Wed Jan 12 15:42:22 2022 +0100 bootstrap-4 Fix UI title (fixes #2636) (#2647) * fix(title): take title of uiSchema * fix(title): take title of uiSchema * fix(title): take title of uiSchema commit 2a92562 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 1 09:18:40 2022 -0500 chore(deps): bump actions/setup-node from 2.5.0 to 2.5.1 (#2641) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v2.5.0...v2.5.1) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 76ab08c Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 1 09:48:43 2021 -0500 chore(deps): bump actions/setup-node from 2.4.1 to 2.5.0 (#2623) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v2.4.1...v2.5.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 1c16e0b Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 1 09:48:35 2021 -0500 chore(deps): bump actions/setup-python from 2.2.2 to 2.3.1 (#2624) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 2.3.1. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v2.2.2...v2.3.1) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit d48eeaa Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Nov 27 16:35:21 2021 +0000 chore(deps): bump lodash in /packages/semantic-ui Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit f4c1024 Author: Jacques Nel <[email protected]> Date: Sat Nov 27 18:34:13 2021 +0200 Fix issue - all semantic props overwritten when a single prop is used; update semantic to 1.3.1 (#2590) * feat: add button,email,date widgets feat: use core/util getDisplayLabel feat: getSemanticProps, getSemanticErrorProps changed dep: semantic-ui version test: tests updated chore: tests updated * chore: trailing comma * feat: get_semantic_props_function * docs: updated CHANGELOG * docs:CHANGELOG * chore: change util getSemanticProps * chore: spaces and carriage return/line feed * chore: request changes * chore: other changes * chore: update test snapshot * chore: update CHANGELOG.md * feat: theme specific default props should not all be overwritten, only the keys that match * test: theme prop form test Co-authored-by: Jacques <[email protected]> commit acdee29 Author: Ashwin Ramaswami <[email protected]> Date: Fri Nov 19 16:45:01 2021 +0000 v3.2.1 commit 531a1b4 Author: Ashwin Ramaswami <[email protected]> Date: Fri Nov 19 16:44:47 2021 +0000 Update changelog v3.2.1 commit 79a61ff Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 17:14:15 2021 +0000 chore(deps): bump ua-parser-js in /packages/semantic-ui Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.21 to 0.7.31. - [Release notes](https://github.com/faisalman/ua-parser-js/releases) - [Commits](faisalman/ua-parser-js@0.7.21...0.7.31) --- updated-dependencies: - dependency-name: ua-parser-js dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 4916f7c Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:54:35 2021 +0000 chore(deps): bump ws from 7.2.3 to 7.5.5 in /packages/semantic-ui Bumps [ws](https://github.com/websockets/ws) from 7.2.3 to 7.5.5. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.2.3...7.5.5) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit eb90739 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:36:39 2021 +0000 chore(deps): bump browserslist in /packages/semantic-ui Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.12.1 to 4.18.1. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.12.1...4.18.1) --- updated-dependencies: - dependency-name: browserslist dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 259a4d2 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:18:56 2021 +0000 chore(deps): bump trim-newlines in /packages/semantic-ui Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/sindresorhus/trim-newlines/releases) - [Commits](https://github.com/sindresorhus/trim-newlines/commits) --- updated-dependencies: - dependency-name: trim-newlines dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 1684a89 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:01:06 2021 +0000 chore(deps): bump tmpl from 1.0.4 to 1.0.5 in /packages/semantic-ui Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 0598738 Author: Steven Hao <[email protected]> Date: Wed Nov 17 07:59:53 2021 -0800 upgrade jsonpointer to 5.0.0 to address security vulnerability (#2599) * bump jsonpointer ^4.0.1 to ^5.0.0 * package-lock.json updat commit 63636b7 Author: Ole Lensmar <[email protected]> Date: Tue Nov 16 03:04:39 2021 +0100 Don't crash when non-object formData is passed in to a schema item with additionalProperties (#2595) * handle null formData when stubbing existing additional properties * added Form test * improved non-object formData handling and added corresponding test * fixed formatting * lint: cs-check * linting: js format * feat: updated util types * feat: getSubmitButtonOptions type * chore: update tests * chore: tests updated * hocer: snapshots updated * chore: test:update command * Update snapshots * Update PR template with snapshot update command * feat: remove default className * chore: update util tests * chore: remove classname test * chore: snapshots updated * Squashed commit of the following: commit d6a09eb Merge: 36f57b3 0134c9d Author: Jacques Nel <[email protected]> Date: Wed Feb 16 08:22:00 2022 +0200 Merge branch 'rjsf-team:master' into master commit 0134c9d Author: Ashwin Ramaswami <[email protected]> Date: Sun Feb 13 22:07:59 2022 -0500 Update PULL_REQUEST_TEMPLATE.md (#2698) commit 4746c0b Author: Ashwin Ramaswami <[email protected]> Date: Sun Feb 13 22:07:50 2022 -0500 Update CHANGELOG.md (#2706) commit 2d03544 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Feb 11 11:23:29 2022 +0000 chore(deps): bump handlebars from 4.1.0 to 4.7.7 in /packages/core Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.1.0...v4.7.7) --- updated-dependencies: - dependency-name: handlebars dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 6b17ede Author: David Johnson <[email protected]> Date: Wed Feb 9 19:42:48 2022 -0700 Added .nvmrc and .node-version to help setup correct node version (#2695) * Added .nvmrc and .node-version to help setup correct node version * Changing .nvmrc/.node-version to use major version # commit 549b718 Author: green7ea <[email protected]> Date: Thu Feb 10 03:42:34 2022 +0100 Can now specify idSeparator to control how id is created (#2628) * Can now specify idSeparator to control how id is created By default, '_' is used as a separator for the different parts that make up a field's id. This can be problematic when '_' is part of a field's name. This commit adds the ability to specify idSeparator when building a form which allows users use a character that isn't used in field names. With the idSeparator option set to '.', we would get: 'root.field_a.field_123' instead of 'root_field_a_field_123'. * Update CHANGELOG.md Co-authored-by: Emmanuel Boudreault <[email protected]> Co-authored-by: Ashwin Ramaswami <[email protected]> commit c6ad877 Author: Maximillian Dornseif <[email protected]> Date: Tue Feb 8 02:58:40 2022 +0100 Documenting readonlyAsDisabled functionality. (#2524) * Documenting readonlyAsDisabled functionality. * Update docs/api-reference/form-props.md Co-authored-by: Ashwin Ramaswami <[email protected]> Co-authored-by: Ashwin Ramaswami <[email protected]> commit 6447cae Author: Rodrigo Fuentes <[email protected]> Date: Mon Feb 7 09:05:31 2022 -0500 Update README.md (#2692) fix typo commit e2e1181 Author: Heath C <[email protected]> Date: Fri Feb 4 12:44:51 2022 -0800 Add support for both Material UI 4 and 5 in @rjsf/material-ui (fix #2555) (#2605) * Attempting to build a `material-ui` that works for both version 4 and 5 * Some minor cleanup and upgrade to React 17 to get all the tests working * Made the Themes be tolerant of not having the library actually present * Changes needed to make the old playground work with the new v4 & v5 material-ui theme, by emptying-out the @mui libraries since they need React 17 * Updated React 17 playground to also support material-ui v4 along with v5 * Extracted the Context creation from the them, including properly dealing with `require()` throwing errors * Final changes in preparation for the PR * Added missing `size="small"` on the `IconButtons`, reordered and/or consolidated some imports Fixed up the `Mui5ContextProps` to use `OutlinedInput` for `Input` Also improved the documentation on the `@mui` -> `emptyLibrary` hack * Update the tests snapshots to account for the `size="small"` change on the `IconButton` * - Updated to the latest `@mui` and `@emotion` libraries and made the `@material-ui`, `@mui` and `@emotion` packages optional in `peerDependenciesMeta` * - Rebased package-lock.json for `material-ui` and `playground` after rebase to latest master - Updated the `material-ui` snapshot due to updated libraries * - Updated the original playground to call out `material-ui-4` rather than just `material-ui` * - Restored the [PR](https://github.com/heath-freenome/react-jsonschema-form/pull/1/files#) that was lost in a merge issue * - Bump `react-bootstrap` in the playground to match the version used in `@rjsf/bootstrap-4` * - Fixed issue found by reviewer where the `Slider` component was not output into the Contexts Co-authored-by: Heath Chiavettone <[email protected]> commit 3d1a71c Author: Ashwin Ramaswami <[email protected]> Date: Fri Feb 4 12:14:13 2022 -0500 Add chakra-ui theme (#2688) Co-authored-by: Jonathan Blair <[email protected]> Co-authored-by: Rodrigo Fuentes <[email protected]> Co-authored-by: U.M Andrew <[email protected]> Co-authored-by: jzander <[email protected]> commit 3537039 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Feb 1 16:08:13 2022 +0000 chore(deps): bump browserslist in /packages/playground Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.6.2 to 4.19.1. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.6.2...4.19.1) --- updated-dependencies: - dependency-name: browserslist dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 89ba649 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Feb 1 15:51:44 2022 +0000 chore(deps-dev): bump react-portal from 4.2.0 to 4.2.1 Bumps [react-portal](https://github.com/tajo/react-portal) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/tajo/react-portal/releases) - [Commits](tajo/react-portal@v4.2.0...v4.2.1) --- updated-dependencies: - dependency-name: react-portal dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> commit b54b124 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Feb 1 07:00:31 2022 +0000 chore(deps): bump crazy-max/ghaction-github-pages from 2.5.0 to 2.6.0 Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases) - [Changelog](https://github.com/crazy-max/ghaction-github-pages/blob/dev/CHANGELOG.md) - [Commits](crazy-max/ghaction-github-pages@v2.5.0...v2.6.0) --- updated-dependencies: - dependency-name: crazy-max/ghaction-github-pages dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> commit 36f57b3 Merge: 9e2dff9 3c1d465 Author: Jacques Nel <[email protected]> Date: Tue Jan 25 20:40:22 2022 +0200 Merge branch 'rjsf-team:master' into master * merge with master * chore: get latest version master * chore: snapshots updated * feat: wrap additional properties * doc: update change log * fix: double submit button * chore: remove unused variable * chore: snapshots updated * revert change * chore: requested change * chore: snapshots * Update packages/semantic-ui/src/FieldTemplate/FieldTemplate.js Co-authored-by: Heath C <[email protected]> Co-authored-by: Ashwin Ramaswami <[email protected]> Co-authored-by: Heath C <[email protected]>
* feat: submit button props * feat: ui options playground options * feat: other themes to implement widget * feat: remove hidden option * chore: required to allowed * chore: requested changes * doc: change prop * chore: version bump changes * Update CHANGELOG.md * Update docs/api-reference/uiSchema.md Co-authored-by: Ashwin Ramaswami <[email protected]> * Update docs/api-reference/uiSchema.md Co-authored-by: Ashwin Ramaswami <[email protected]> * Update docs/api-reference/uiSchema.md Co-authored-by: Ashwin Ramaswami <[email protected]> * dox: updated * chore: version changes * chore: revert version * Squashed commit of the following: commit 36f57b3 Merge: 9e2dff9 3c1d465 Author: Jacques Nel <[email protected]> Date: Tue Jan 25 20:40:22 2022 +0200 Merge branch 'rjsf-team:master' into master commit 3c1d465 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 22 11:21:55 2022 -0500 chore(deps-dev): bump nanoid in /packages/semantic-ui (#2670) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.1.31. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.1.23...3.1.31) --- updated-dependencies: - dependency-name: nanoid dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 1e18e2b Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 22 11:21:46 2022 -0500 chore(deps): bump nanoid from 3.1.23 to 3.1.31 in /packages/core (#2671) Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.1.31. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.1.23...3.1.31) --- updated-dependencies: - dependency-name: nanoid dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 055d566 Author: Ashwin Ramaswami <[email protected]> Date: Mon Jan 17 10:46:13 2022 -0500 Fix target_branch typo (#2662) commit c801e67 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 05:13:16 2022 +0000 chore(deps-dev): bump style-loader from 1.2.0 to 2.0.0 Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/webpack-contrib/style-loader/releases) - [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/style-loader@v1.2.0...v2.0.0) --- updated-dependencies: - dependency-name: style-loader dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit a988138 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:51:05 2022 +0000 chore(deps): bump postcss from 8.2.10 to 8.4.5 in /packages/playground Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.4.5. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.2.10...8.4.5) --- updated-dependencies: - dependency-name: postcss dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit e08a9b5 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:34:21 2022 +0000 chore(deps): bump lodash from 4.17.15 to 4.17.21 in /packages/core Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> commit 6f7f682 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:18:22 2022 +0000 chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /packages/material-ui Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 1562dfa Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 04:03:10 2022 +0000 chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /packages/bootstrap-4 Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 598bd6e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 03:47:42 2022 +0000 chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /packages/fluent-ui Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. - [Release notes](https://github.com/shelljs/shelljs/releases) - [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md) - [Commits](shelljs/shelljs@v0.8.4...v0.8.5) --- updated-dependencies: - dependency-name: shelljs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 74b9cc3 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun Jan 16 00:37:55 2022 +0000 chore(deps): bump postcss from 8.2.10 to 8.4.5 in /packages/semantic-ui Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.4.5. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.2.10...8.4.5) --- updated-dependencies: - dependency-name: postcss dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 34943ba Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 15 20:45:50 2022 +0000 chore(deps): bump follow-redirects in /packages/playground Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.3 to 1.14.7. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.13.3...v1.14.7) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit cd63de5 Author: Ian Gong <[email protected]> Date: Fri Jan 14 13:01:28 2022 +0900 fix(@rjsf/antd): display description for antd theme (#2644) Co-authored-by: Dmitry <[email protected]> commit 772ca75 Author: gpop <[email protected]> Date: Wed Jan 12 15:42:22 2022 +0100 bootstrap-4 Fix UI title (fixes #2636) (#2647) * fix(title): take title of uiSchema * fix(title): take title of uiSchema * fix(title): take title of uiSchema commit 2a92562 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Jan 1 09:18:40 2022 -0500 chore(deps): bump actions/setup-node from 2.5.0 to 2.5.1 (#2641) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v2.5.0...v2.5.1) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 76ab08c Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 1 09:48:43 2021 -0500 chore(deps): bump actions/setup-node from 2.4.1 to 2.5.0 (#2623) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v2.4.1...v2.5.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 1c16e0b Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Dec 1 09:48:35 2021 -0500 chore(deps): bump actions/setup-python from 2.2.2 to 2.3.1 (#2624) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 2.3.1. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v2.2.2...v2.3.1) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit d48eeaa Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Nov 27 16:35:21 2021 +0000 chore(deps): bump lodash in /packages/semantic-ui Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit f4c1024 Author: Jacques Nel <[email protected]> Date: Sat Nov 27 18:34:13 2021 +0200 Fix issue - all semantic props overwritten when a single prop is used; update semantic to 1.3.1 (#2590) * feat: add button,email,date widgets feat: use core/util getDisplayLabel feat: getSemanticProps, getSemanticErrorProps changed dep: semantic-ui version test: tests updated chore: tests updated * chore: trailing comma * feat: get_semantic_props_function * docs: updated CHANGELOG * docs:CHANGELOG * chore: change util getSemanticProps * chore: spaces and carriage return/line feed * chore: request changes * chore: other changes * chore: update test snapshot * chore: update CHANGELOG.md * feat: theme specific default props should not all be overwritten, only the keys that match * test: theme prop form test Co-authored-by: Jacques <[email protected]> commit acdee29 Author: Ashwin Ramaswami <[email protected]> Date: Fri Nov 19 16:45:01 2021 +0000 v3.2.1 commit 531a1b4 Author: Ashwin Ramaswami <[email protected]> Date: Fri Nov 19 16:44:47 2021 +0000 Update changelog v3.2.1 commit 79a61ff Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 17:14:15 2021 +0000 chore(deps): bump ua-parser-js in /packages/semantic-ui Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.21 to 0.7.31. - [Release notes](https://github.com/faisalman/ua-parser-js/releases) - [Commits](faisalman/ua-parser-js@0.7.21...0.7.31) --- updated-dependencies: - dependency-name: ua-parser-js dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 4916f7c Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:54:35 2021 +0000 chore(deps): bump ws from 7.2.3 to 7.5.5 in /packages/semantic-ui Bumps [ws](https://github.com/websockets/ws) from 7.2.3 to 7.5.5. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.2.3...7.5.5) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit eb90739 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:36:39 2021 +0000 chore(deps): bump browserslist in /packages/semantic-ui Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.12.1 to 4.18.1. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.12.1...4.18.1) --- updated-dependencies: - dependency-name: browserslist dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 259a4d2 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:18:56 2021 +0000 chore(deps): bump trim-newlines in /packages/semantic-ui Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/sindresorhus/trim-newlines/releases) - [Commits](https://github.com/sindresorhus/trim-newlines/commits) --- updated-dependencies: - dependency-name: trim-newlines dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 1684a89 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Nov 17 16:01:06 2021 +0000 chore(deps): bump tmpl from 1.0.4 to 1.0.5 in /packages/semantic-ui Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 0598738 Author: Steven Hao <[email protected]> Date: Wed Nov 17 07:59:53 2021 -0800 upgrade jsonpointer to 5.0.0 to address security vulnerability (#2599) * bump jsonpointer ^4.0.1 to ^5.0.0 * package-lock.json updat commit 63636b7 Author: Ole Lensmar <[email protected]> Date: Tue Nov 16 03:04:39 2021 +0100 Don't crash when non-object formData is passed in to a schema item with additionalProperties (#2595) * handle null formData when stubbing existing additional properties * added Form test * improved non-object formData handling and added corresponding test * fixed formatting * lint: cs-check * linting: js format * feat: updated util types * feat: getSubmitButtonOptions type * chore: update tests * chore: tests updated * hocer: snapshots updated * chore: test:update command * Update snapshots * Update PR template with snapshot update command * feat: remove default className * chore: update util tests * chore: remove classname test * chore: snapshots updated * Squashed commit of the following: commit d6a09eb Merge: 36f57b3 0134c9d Author: Jacques Nel <[email protected]> Date: Wed Feb 16 08:22:00 2022 +0200 Merge branch 'rjsf-team:master' into master commit 0134c9d Author: Ashwin Ramaswami <[email protected]> Date: Sun Feb 13 22:07:59 2022 -0500 Update PULL_REQUEST_TEMPLATE.md (#2698) commit 4746c0b Author: Ashwin Ramaswami <[email protected]> Date: Sun Feb 13 22:07:50 2022 -0500 Update CHANGELOG.md (#2706) commit 2d03544 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Feb 11 11:23:29 2022 +0000 chore(deps): bump handlebars from 4.1.0 to 4.7.7 in /packages/core Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.1.0...v4.7.7) --- updated-dependencies: - dependency-name: handlebars dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 6b17ede Author: David Johnson <[email protected]> Date: Wed Feb 9 19:42:48 2022 -0700 Added .nvmrc and .node-version to help setup correct node version (#2695) * Added .nvmrc and .node-version to help setup correct node version * Changing .nvmrc/.node-version to use major version # commit 549b718 Author: green7ea <[email protected]> Date: Thu Feb 10 03:42:34 2022 +0100 Can now specify idSeparator to control how id is created (#2628) * Can now specify idSeparator to control how id is created By default, '_' is used as a separator for the different parts that make up a field's id. This can be problematic when '_' is part of a field's name. This commit adds the ability to specify idSeparator when building a form which allows users use a character that isn't used in field names. With the idSeparator option set to '.', we would get: 'root.field_a.field_123' instead of 'root_field_a_field_123'. * Update CHANGELOG.md Co-authored-by: Emmanuel Boudreault <[email protected]> Co-authored-by: Ashwin Ramaswami <[email protected]> commit c6ad877 Author: Maximillian Dornseif <[email protected]> Date: Tue Feb 8 02:58:40 2022 +0100 Documenting readonlyAsDisabled functionality. (#2524) * Documenting readonlyAsDisabled functionality. * Update docs/api-reference/form-props.md Co-authored-by: Ashwin Ramaswami <[email protected]> Co-authored-by: Ashwin Ramaswami <[email protected]> commit 6447cae Author: Rodrigo Fuentes <[email protected]> Date: Mon Feb 7 09:05:31 2022 -0500 Update README.md (#2692) fix typo commit e2e1181 Author: Heath C <[email protected]> Date: Fri Feb 4 12:44:51 2022 -0800 Add support for both Material UI 4 and 5 in @rjsf/material-ui (fix #2555) (#2605) * Attempting to build a `material-ui` that works for both version 4 and 5 * Some minor cleanup and upgrade to React 17 to get all the tests working * Made the Themes be tolerant of not having the library actually present * Changes needed to make the old playground work with the new v4 & v5 material-ui theme, by emptying-out the @mui libraries since they need React 17 * Updated React 17 playground to also support material-ui v4 along with v5 * Extracted the Context creation from the them, including properly dealing with `require()` throwing errors * Final changes in preparation for the PR * Added missing `size="small"` on the `IconButtons`, reordered and/or consolidated some imports Fixed up the `Mui5ContextProps` to use `OutlinedInput` for `Input` Also improved the documentation on the `@mui` -> `emptyLibrary` hack * Update the tests snapshots to account for the `size="small"` change on the `IconButton` * - Updated to the latest `@mui` and `@emotion` libraries and made the `@material-ui`, `@mui` and `@emotion` packages optional in `peerDependenciesMeta` * - Rebased package-lock.json for `material-ui` and `playground` after rebase to latest master - Updated the `material-ui` snapshot due to updated libraries * - Updated the original playground to call out `material-ui-4` rather than just `material-ui` * - Restored the [PR](https://github.com/heath-freenome/react-jsonschema-form/pull/1/files#) that was lost in a merge issue * - Bump `react-bootstrap` in the playground to match the version used in `@rjsf/bootstrap-4` * - Fixed issue found by reviewer where the `Slider` component was not output into the Contexts Co-authored-by: Heath Chiavettone <[email protected]> commit 3d1a71c Author: Ashwin Ramaswami <[email protected]> Date: Fri Feb 4 12:14:13 2022 -0500 Add chakra-ui theme (#2688) Co-authored-by: Jonathan Blair <[email protected]> Co-authored-by: Rodrigo Fuentes <[email protected]> Co-authored-by: U.M Andrew <[email protected]> Co-authored-by: jzander <[email protected]> commit 3537039 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Feb 1 16:08:13 2022 +0000 chore(deps): bump browserslist in /packages/playground Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.6.2 to 4.19.1. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.6.2...4.19.1) --- updated-dependencies: - dependency-name: browserslist dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> commit 89ba649 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Feb 1 15:51:44 2022 +0000 chore(deps-dev): bump react-portal from 4.2.0 to 4.2.1 Bumps [react-portal](https://github.com/tajo/react-portal) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/tajo/react-portal/releases) - [Commits](tajo/react-portal@v4.2.0...v4.2.1) --- updated-dependencies: - dependency-name: react-portal dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> commit b54b124 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Feb 1 07:00:31 2022 +0000 chore(deps): bump crazy-max/ghaction-github-pages from 2.5.0 to 2.6.0 Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases) - [Changelog](https://github.com/crazy-max/ghaction-github-pages/blob/dev/CHANGELOG.md) - [Commits](crazy-max/ghaction-github-pages@v2.5.0...v2.6.0) --- updated-dependencies: - dependency-name: crazy-max/ghaction-github-pages dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> commit 36f57b3 Merge: 9e2dff9 3c1d465 Author: Jacques Nel <[email protected]> Date: Tue Jan 25 20:40:22 2022 +0200 Merge branch 'rjsf-team:master' into master * merge with master * chore: get latest version master * chore: snapshots updated * chore: snapshots updated * feat: include submit button options for material ui * fix: remove duplicate button declaration Co-authored-by: Ashwin Ramaswami <[email protected]>
Prerequisites
Description
Material-UI just shipped V5 (rebranded mui) so it may make sense to add a separate package for mui v5 support. This did not seem to be already in progress (afaict).
I'd be happy to push an initial port of it (it doesn't seem too tough to do) if there's agreement to support it.
The text was updated successfully, but these errors were encountered: