From 21fdaa6f4a84a61f68b8c1365dadf4607dfe2538 Mon Sep 17 00:00:00 2001 From: Heath C <51679588+heath-freenome@users.noreply.github.com> Date: Thu, 6 Feb 2025 15:30:19 -0800 Subject: [PATCH] Forward main changes (#4487) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(utils): direct lodash function import to improve bundling on library client side (#3976) * v5.14.3 (#3979) * add missing typescript project reference for utils in validator-ajv6 and validator-ajv8 (#3982) * fix: #3961 resolve all recurse list for object properties (#3981) * fix: resolve all recurse list for object properties * update test * simplfy logic * revert * update change log * Add the ability to parse defaults from `allOf` schema (#3969) * feat: support default values in anyOf format * feat: add `skipDefaults` and `populateDefaults` options for `allOf` parsing * docs: add examples * chore: ammending chanelog * mui: fix gap in outline when label is hidden (#3984) * mui: fix gap in outline when label is hidden Passing `label={false}` to the MUI text/select widgets results in a gap in the widget outline where the label would be. Instead, to hide the label without a gap, we must pass `label={undefined}`. This commit changes the calls to `labelValue(...)` for BaseInputTemplatea and SelectWidget to return `undefined` when `"ui:label": false` was specified. * mui: update test snapshots * Release 5.15.0 (#3986) * - Fixup `CHANGELOG.md` to merge 5.14.4 into 5.15.0 * v5.15.0 * Make getFieldNames correctly defines array of primitives (#3990) * Fix: Expose the internal `ajv` variable in the validator implementation classes (#3991) * Fix: Expose the internal `ajv` variable in the validator implementation classes Fixes: #3972 indirectly by exposing the `ajv` variable for use in the issue - In `@rjsf/ajv6`, updated `AJV6Validator` to make the `ajv` variable public and changed the return of the `customizeValidator()` function to remove the interface return - In `@rjsf/ajv8`, updated `AJV8Validator` to make the `ajv` variable public and changed the return of the `customizeValidator()` function to remove the interface return - Also removed some `@ts-expect-error` tags that are no longer needed due to the exposed variable - Updated the `CHANGELOG.md` accordingly * - Responded to reviewer feedback * v5.15.1 (#3997) * feat: pass down indexed title from array field (#4002) * feat: pass indexed title from array field to use as title in children if present * docs: add changelog * test: add test for checkbox widget * test: add test for remaining widgets * test: add test for object, array, oneof and anyof fields * test: add test for allof field * refactor: move repetitive task to one function and run it on array data * chore: change version changelog according to the changes made * test: fix allof field test case * chore(deps): bump actions/download-artifact from 3 to 4 Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore(deps): bump actions/setup-python from 3 to 5 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v3...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore(deps): bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump vite from 4.4.9 to 4.4.12 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.9 to 4.4.12. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v4.4.12/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v4.4.12/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] * Feat: Implements #297 request (#4004) * [Feat] Add Date re-order option * Added tests for date re-order * Updated docs and example * Update changelog * Added documentation for getDateElementProps function * Fix: test failing due to year change * Removed redundant parameters info * chore: Bumped packages using `npm run bump-all-packages` (#4006) * Fix: Bumped packages using `npm run bump-all-packages` - Temporarily locked down "@mui/material": "5.15.2" and "@mui/base": "5.0.0-beta.28" due to https://github.com/mui/material-ui/issues/40427 * - Responded to reviewer feedback by removing an added dev-dependency that seems unnecessary * Update Form.tsx and make submit method public (#4029) * Update Form.tsx and make submit method public * Update Form.tsx and make submit public * Update CHANGELOG.md and add an entry for submit method changes * Update CHANGELOG.md --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix: Change FormHelperText usage with @mui/material to render divs (#4032) Fixes #4031 by switching the render component for `FormHelperText` to be `div` - In `@rjsf/mui`, updated `FieldErrorTemplate` and `FieldHelpTemplate` to use the `div` component for `FormHelperText` * Support file deletion for data-url (#4030) * Release 5.16.0 (#4037) * Merged the `5.15.2` change up into the `5.16.0` change since `5.15.2` was never released * v5.16.0 * Release 5.16.1 (#4041) * Releasing 5.16.1 with bumped peer dependencies * v5.16.1 * Enhancement(Share): Enhancement base64 encoding/decoding using UTF-8 charset to support the characters outside the latin1 range. (#4024) (#4034) * Enhancement(Share): Declare and export an object that provides base64 encoding and decoding functions using the utf-8 charset to support the characters outside the latin1 range. (#4024) * Enhancement(Share): Add the 'base64.test.ts' to test the base64. (#4024) * Enhancement(Share): Update the base64 reference in 'Playground' to the new customized base64 in 'utils' (#4024). * Enhancement(Share): Update 'CHANGELOG.md' (#4024). * Enhancement(Share): Update 'CHANGELOG.md' (#4024). * Enhancement(Share): Add test to test the platform behavior (#4024). * Enhancement: Fix comments and updating utility-functions.md to add introduction of base64 object * Update CHANGELOG.md * Update CHANGELOG.md * Update base64.ts * fix: Added support for anyOf/oneOf in uiSchema (#4055) Fixes #4039 by updating `MultiSchemaField` to properly support `anyOf`/`oneOf` arrays in the `uiSchema` - In `@rjsf/utils`: Improved documentation and typescript ignores in tests related to `base64` from previous PR - In `@rjsf/core`: Updated `MultiSchemaField` to support `anyOf`/`oneOf` arrays in the `uiSchema` - Updated the tests to verify the new feature - In `docs`: Added documentation to the `uiSchema.md` file describing how to use the new feature - Updated the `CHANGELOG.md` accordingly * chore(deps-dev): bump vite from 4.5.1 to 4.5.2 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 4.5.2. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] * Fix checkbox with 0 as a value was unselectable in antd (#4068) * fix: Added support for anyOf/oneOf in uiSchema Fixes #4039 by updating `MultiSchemaField` to properly support `anyOf`/`oneOf` arrays in the `uiSchema` - In `@rjsf/utils`: Improved documentation and typescript ignores in tests related to `base64` from previous PR - In `@rjsf/core`: Updated `MultiSchemaField` to support `anyOf`/`oneOf` arrays in the `uiSchema` - Updated the tests to verify the new feature - In `docs`: Added documentation to the `uiSchema.md` file describing how to use the new feature - Updated the `CHANGELOG.md` accordingly * Fix checkbox with 0 as a value was unselectable in antd Fixed #4067 by properly dealing with enums that have 0 as a value - In `@rjsf/utils`: Updated `enumOptionsValueForIndex()` to filter against `emptyValue` rather than just truthy - Updated the tests to verify the bug and then validate the fix - Updated the `CHANGELOG.md` accordingly * Fix potential XSS in the preview button of FileWidget (#4065) * fix dataURI parsing mechanism * Restrict image preview file types * Make broken files be ignored * Update changelog * Refactor image preview whitelist, add comments, and fix tests * fix the way of error handling to pass the coverage test * Update packages/core/src/components/widgets/FileWidget.tsx Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * docs: update link to markdown-to-jsx homepage (#4071) Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Release 5.17.0 (#4073) * - Fixed `CHANGELOG.md` to make it a minor version update - Bumped the packages using `bump-all-packages` - Updated the tests for `antd` and `fluentui-rc` due to packages bump * v5.17.0 * Fix: Make 'ui:rows' option work with chakra-ui for textarea elements #4070 (#4078) * Fix typo in ErrorsListTemplate example (#4087) Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix #4080 by moving `base64` encoder/decoder from `@rjsf/utils` to playground (#4093) * Pass errorSchema from ArrayField to ArrayFieldTemplate (#4094) * Pass errorSchema from ArrayField to ArrayFieldTemplate * Update CHANGELOG.md * v5.17.1 (#4096) * Feat: don't assign a default value of an empty field. (#3880) (#4085) * Added skipEmptyDefaults feature * Fixed an issue where the skipEmptyDefault option was not displaying default values for fields that are not required. * Updated tests and the changelog * Updated changelog: moved chakra-ui changes above utils. --------- Co-authored-by: Abdallah Al-Soqatri * chore(deps-dev): bump ip from 2.0.0 to 2.0.1 Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1. - [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1) --- updated-dependencies: - dependency-name: ip dependency-type: indirect ... Signed-off-by: dependabot[bot] * Fix: Error state not resetting when schema changes (#4079) (#4103) * #4079 Fixed the issue where the error state was not resetting when the schema changed. * #4079 Updated the changelog * #4079 Improved previous and new schema check * #4079 Added test * #4079 improved test * #4079 removing console.log * Apply suggestions from code review - Accepted reviewer feedback --------- Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix noImplicitAny error (#4106) Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Update validation docs with correct require statement (#4108) Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fixes: [WARNING] Duplicate key "include" in object literal [duplicate-object-key] (#4114) * Fixes: Warning: validateDOMNesting(...):

cannot appear as a descendant of

. (#4117) * give instructions for material ui 5, not 4 (#4126) * Fix documentation to add missing Form imports (#4131) Fix #4127 to add missing `Form` import in documentation - Updated many of the documentation files to add missing imports of `Form` - Updated the `CHANGELOG.md` accordingly Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com> * Fix: filename should be bold (#4125) * Fix: filename should be bold Also prevents horrible looking "\" from being printed on screen. * Update CHANGELOG.md * Skip populate function proposal in Experimental_ArrayMinItems (#4121) * skip populate draft * Added a new `computeSkipPopulate` option in `arrayMinItems`, allowing custom logic to skip populating arrays with default values * Add example in documentation of computeSkipPopulate * Update packages/docs/docs/api-reference/form-props.md Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Update packages/utils/src/types.ts Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Update packages/docs/docs/api-reference/form-props.md Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> --------- Co-authored-by: Marek Bodinger Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix: use correct ConfigProvider context by using named imports (#4132) Co-authored-by: Mehdi Salem Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix 4134 by filtering out bad DOM props (#4140) Fixes: #4134 by updating the spreading of props onto the `TextField` to remove bad DOM fields - In `@rjsf/mui`, updated `SelectField` and `BaseInputTemplate` to filter out `errorSchema` and `autocomplete` from the `textFieldProps` before they are spread onto `TextField` - Updated `CHANGELOG.md` accordingly, moving `@rjsf/antd` above `@rjsf/core` * v5.18.0 (#4141) * chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] * Release 5.18.1 (#4145) * - Bumped peer dependencies due to new feature * v5.18.1 * - Removed unnecessary `package-lock.json` in `fluentui-rc` theme * chore(deps-dev): bump vite from 4.5.2 to 4.5.3 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.2 to 4.5.3. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] * chore(deps): bump express from 4.18.2 to 4.19.2 Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] * chore(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4. - [Release notes](https://github.com/webpack/webpack-dev-middleware/releases) - [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4) --- updated-dependencies: - dependency-name: webpack-dev-middleware dependency-type: indirect ... Signed-off-by: dependabot[bot] * #3121 Fixed Programmatic submit not working properly in Firefox (#4150) Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix Maximum call stack size exceeded in findSchemaDefinition (#4123) * Add tests for circular and deeply circular refs in definitions * Fix Maximum call stack size exceeded in findSchemaDefinition * Update CHANGELOG * Add tests for findSchemaDefinitionRecursive * v5.18.2 (#4157) * Upgrades React (#4107) * Upgrades react packages * Updates semantic-ui-react * Add support back for semantic version 1 via peerdependencies (#4169) - In `@rjsf/semantic-ui` - added back `semantic-ui-react` version `^1.3.1` to the peer dependencies - Also made `semantic-ui-react` a devDependency for `^2.1.3` - In the playground, added `semantic-ui-react@2.1.3` due to the transition of `semantic-ui-react` as a devDependency - Updated `CHANGELOG.md` accordlingly * Create codeql.yml (#4170) * Update LICENSE.md (#4174) * Update LICENSE.md Dear rsjf-team, I have a request. We are using the great rjsf packages to build a forms solution for a company. This company requires a copyright notice in the license file. Could you please replace the example copyright notice by a copyright of your team. I know it is strange at that location, but it would solve our problems. Examples where they added names at that location in the license file: - https://github.com/eisberg-labs/actix-actor-expect/blob/c28e751d219535c3d4d2b5579ddd281440e5ea87/LICENSE-APACHE#L4 - https://github.com/Swiftify-Corp/Swift-30-Projects/blob/5140f35ca0cb3767807bc518084809030a77139a/License.md?plain=1#L4 * Update LICENSE.md - Added the start date from when the repo was created --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Update custom-widgets-fields.md (#4171) Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * chore(deps-dev): bump gh-pages from 3.2.3 to 5.0.0 Bumps [gh-pages](https://github.com/tschaub/gh-pages) from 3.2.3 to 5.0.0. - [Release notes](https://github.com/tschaub/gh-pages/releases) - [Changelog](https://github.com/tschaub/gh-pages/blob/main/changelog.md) - [Commits](https://github.com/tschaub/gh-pages/compare/v3.2.3...v5.0.0) --- updated-dependencies: - dependency-name: gh-pages dependency-type: direct:development ... Signed-off-by: dependabot[bot] * Release 5.18.3 (#4175) * - Updated `CHANGELOG.md` to account for a few PRs * v5.18.3 * Add missing angle bracket (#4178) * fix typos in constants.ts, Form.tsx (#4185) * fix typos in constants.ts, Form.tsx * keep the constants to for backwards compatibility Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * chore(deps): bump mkdocs from 1.5.3 to 1.6.0 Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.5.3 to 1.6.0. - [Release notes](https://github.com/mkdocs/mkdocs/releases) - [Commits](https://github.com/mkdocs/mkdocs/compare/1.5.3...1.6.0) --- updated-dependencies: - dependency-name: mkdocs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore(deps-dev): bump ejs from 3.1.9 to 3.1.10 Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10. - [Release notes](https://github.com/mde/ejs/releases) - [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10) --- updated-dependencies: - dependency-name: ejs dependency-type: indirect ... Signed-off-by: dependabot[bot] * v5.18.4 (#4195) * feat: treat default field in additionalProperties (#4199) * feat: treat "default" in additionalProperties * test: add test cases for the case there's a default in additionalProperties * Passes missing uiSchema prop to Form component. (#4219) * Remove duplicate mention of hideError (#4211) Co-authored-by: Nick Grosenbacher * Fix mui imports in docs (#4218) Co-authored-by: Nick Grosenbacher * [fix] Resetting number fields should check the entire string when deciding to leave the input text alone (#4202) (#4220) * chore(deps): bump ws from 7.5.9 to 7.5.10 Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] * chore(deps): bump braces from 3.0.2 to 3.0.3 Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] * Bug: Fixed performance issue with large schema dependencies and oneOf (#4203) (#4204) * Fixed performance issue #4203 * code improvement based on feedback --------- Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Handle undefined target in onBlur and onFocus handlers (#4227) There are some instances where the `onBlur` and `onFocus` handlers are receiving an undefined `target`, causing the following type error: ``` Cannot read properties of undefined (reading 'value') ``` - Updated all of the `onBlur()` and `onFocus()` handlers in all libraries to fix this - Updated the `CHANGELOG.md` accordingly * fix(core): field ui-options higher priority (#4212) * fix(core): field ui-options higher priority * docs(root): changelog * Update CHANGELOG.md --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Release 5.18.5 (#4230) * - Fixed spelling mistake for `rjsf` in `CHANGELOG.md` * v5.18.5 * fix(antd): disabled property of options of antd theme (#4216) * fix: disabled property of options in CheckboxesWidget and RadioWidget of antd theme * chore: update CHANGELOG.md for #4216 * chore: update formTests * chore: update PULL_REQUEST_TEMPLATE.md for test * Update CHANGELOG.md --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * fix: omitExtraData on submit and on validateForm (#4228) * fix: omitExtraData on submit and on validateForm * test: update tests for omitExtraData * ci: update changelog * Update CHANGELOG.md Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * docs: update changelog --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix IdSchema and PathSchema types (#4196) * Fix IdSchema and PathSchema types * Simplify type assertions --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * SchemaField: Only use nullish coalescing with uiOptions when computing readonly (#4238) fixes #4236 * v5.18.6 (#4237) * (feature) Add new relative Years feature to AltDateWidget (#4239) * (feature) Add new relative Years feature to AltDateWidget Added a new feature supporting relate Years and reversing Years ordering to `AltDateWidget` - In `@rjsf/utils` - Refactored and improved the `dateRangeOptions()` function from all implementations of `AltDateWidget` - Added 100% unit tests for the new function - In `@rjsf/antd`, `@rjsf/chakra-ui` and `@rjsf/core` replaced `rangeOptions()` with `dateRangeOptions()` - In `docs`, added documentation for `dateRangeOptions()` to the `utility-functions.md` and feature documentation to `widgets.md` - Updated the `CHANGELOG.md` accordingly * Update packages/core/test/StringField.test.jsx - Responded to reviewer feedback Co-authored-by: Nick Grosenbacher --------- Co-authored-by: Nick Grosenbacher * v5.19.0 (#4240) * Bumped peer dependencies to 5.19.x due to new API used from utils (#4241) Since other repos required a new API in `utils` we need to bump peer dependencies - Ran `npm run bump-peer-deps` and committed changes - Updated the `CHANGELOG.md` accordingly * Release 5.19.1 (#4242) * - Fixed peer deps package-lock.json * v5.19.1 * Removed .only on a core test (#4243) One of the `core` tests was accidentally left as `.only`, undoing that as well as bumping most of the minor and patch package updates - Updated `StringField.test.jsx` to remove a `.only` - Centralized `esbuild` down to the main `package.json` - Updated the `CHANGELOG.md` accordingly * v5.19.2 (#4245) * Fix #4197 in various themes by showing empty option in SelectWidget when appropriate (#4200) * Release 5.19.3 (#4247) * Fixed `CHANGELOG.md` to restore 5.19.2 * v5.19.3 * feature: Added better support for testing with AJV having discriminator option turned on (#4257) * feature: Added better support for testing with AJV having discriminator option turned on A recent issue made it clear that we didn't make it easy for users to turn on `discriminator` support from AJV - In `@rjsf/utils` improved support for `discriminator` as follows: - Updated the `ValidatorType` to add support for an optional `reset()` method - Updated the `ParserValidator` to implement `reset()` to clear the schema map, including a test to verify that - Updated the tests that used `discriminator` to remove the `mapping` block that AJV doesn't support - Updated the `getFirstMatchingOption()` test to deal with the situation where AJV doesn't support discriminator for array types - Updated the `retrieveSchema()` test to call `reset()` on validators that have it in an `afterEach()` - Updated the `getTestValidator()` implementation to implement a `reset()` that empties the arrays - In `@rjsf/validator-ajv8` improved support for `discriminator` as follows: - Updated the `createAjvInstance()` function to denote that we want to make `discriminator: true` the default in v6 - Updated the `AJV8Validator` to make reset do `ajv.removeSchema()` to clear the cached schemas - Updated the `getTestValidator() implementation to call `reset()` on the validator if it exists - Updated the `schema.test.ts` file to run a set of test with `discriminator: true` set on the `AJV8Validator` - Updated the `CHANGELOG.md` file accordingly * - Added required for `code` to all of the schemas * - Switched the default Translatable strings to use Markdown * fix: xss when rendering schema errors (#4256) * fix: stop rendering config errors as html * Update CHANGELOG.md * Update UnsupportedField.tsx * Fix formatting * Update packages/core/src/components/templates/UnsupportedField.tsx * Update CHANGELOG.md * Update to match * - Fix lint error * Update CHANGELOG.md - Updating to mention potential breaking change --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * v5.19.4 (#4258) * Feat: Allow raising errors from within a custom whatever(#2718) (#4188) * #2718 feature - raise errors from within fields * fixed failing tests * Fixed failing build * Removing raiseError message and errorSchema is updated now using the onChange. * reverting tests * Filtering errors based on your retrieved schema to only show errors for properties in the selected branch. * fixed issue with typing causing build failures. * Improvement based on feedback * improvement based on feedback and written test for custom widget * documenting the feature * docs improvement base on feedback * removed empty line * fixed lodash import * Update packages/core/src/components/Form.tsx Ordered lodash import * Update packages/core/src/components/Form.tsx * Update CHANGELOG.md Added missing packages * Update CHANGELOG.md Added missing space --------- Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * fix 4215 and 4260 by updating optionsList() to take a uiSchema (#4263) * fix 4215 and 4260 by updating optionsList() to take a uiSchema Fixes #4215 and #4260 by supporting alternate titles for enums and anyOf/oneOf lists via the uiSchema - In `@rjsf/utils` added support for alternate option labels from the `UiSchema` as follows: - Updated `UIOptionsBaseType` to add the new `enumNames` prop to support an alternate way to provide labels for `enum`s in a schema - Updated `optionsList()` to take an optional `uiSchema` that is used to extract alternate labels for `enum`s or `oneOf`/`anyOf` in a schema - NOTE: The generics for `optionsList()` were expanded to add `T = any, F extends FormContextType = any` to support the `UiSchema` - Added unit tests to maintain 100% coverage - In `@rjsf/core` updated `ArrayField`, `BooleanField` and `StringField` to call `optionsList()` with the additional `UiSchema` parameter - In `docs` added documentation about the new `ui:enumNames` property, fixing up the `enumNames` documentation to indicate it WILL be removed - Also updated the `optionsList()` function's documentation to add the new `uiSchema` prop - Updated the `CHANGELOG.md` accordingly * Update packages/utils/test/optionsList.test.ts Fix typo in test name --------- Co-authored-by: Nick Grosenbacher * v5.20.0 (#4264) * Release 5.20.1 (#4268) * Release 5.20.1 - Updated the peer dependencies to 5.20.x * v5.20.1 * Fixed Changelog (#4269) * Bug: issue with dependencies computeDefaults (#4271) (#4282) * Fixed issue with dependencies computedDefaults * update changelog * refactoring based on feedback * created tests for the new created methods * organized file based on feedback * Update CHANGELOG.md --------- Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * feat: improve deepEquals performance (#4292) * Change fast-deep-equal to fast-equals * Add changelog and change deepEquals depscription * run cs-format * Add JSDocs for isFunctions and customDeepEqual * Update CHANGELOG.md --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * fix querySelector in Form focusOnError when id includes dots (#4280) Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix 4283 by adding support for MUI v6 (#4294) * Fix 4285 by adding support for MUI v6 - Updated `@rjsf/mui` to update the dev dependencies for `@mui/*` to v6 and the peer dependencies to add MUI v6 - Updated the playground to update `@mui/*` to v6 - Also changed the dropdown name from `material-ui-5` to `mui` and switched `Layout` to use the `PropsWithChildren` for its props - Updated the `Form.test.tsx` to add information to the fake node to allow the tests to work with v6 - Ran `npm run test:update` to update the snapshots due to the v6 and emotion upgrades - Updated the test snapshots for `@rjsf/chakra-ui` which also uses emotion - Updated `CHANGELOG.md` accordingly, bumping to `5.21.0` * - Fixed the load of shared links to convert `material-ui-5` to `mui` * chore(deps): bump mkdocs from 1.6.0 to 1.6.1 Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.6.0 to 1.6.1. - [Release notes](https://github.com/mkdocs/mkdocs/releases) - [Commits](https://github.com/mkdocs/mkdocs/compare/1.6.0...1.6.1) --- updated-dependencies: - dependency-name: mkdocs dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * v5.21.0 (#4295) * Revert "feat: improve deepEquals performance (#4292)" (#4300) * Revert "feat: improve deepEquals performance (#4292)" This reverts commit 514ea85826ebfe48f5827b44f9daced5bff0bc47. * package.json * v5.21.1 (#4301) * fix: Improved the widget/field customization docs (#4302) * fix Improved the widget/field customization docs Updated the widget and field customization docs to add examples of wrapping a widget/field to adjust props * Apply suggestions from code review - Responded to reviewer feedback Co-authored-by: Nick Grosenbacher --------- Co-authored-by: Nick Grosenbacher * Fix: Pass required props to anyof/oneof field components (#4303) * Chore: Updating changelog with missing info (#4309) Updated `CHANGELOG.md` to add details for the simple fix provided in #4303 * fix: deal with null objects in errors in Form.filterErrorsBasedOnSchema() (#4310) * fix: deal with null objects in errors in Form.filterErrorsBasedOnSchema() Fixes #4306 by using `lodash.isNil()` instead of comparing to `undefined` - Updated `Form.filterErrorsBasedOnSchema()` to use lodash `isNil()` to check if the key is either null or undefined - Updated the `CHANGELOG.md` accordingly * - Made name more correct * fix: not merge the `allOf.contains` schemas * feat: Support array numbers in pathOfError for ErrorSchemaBuilder * Update CHANGELOG.md (#4317) * Refactor: delete unused variable (#4320) Co-authored-by: Dmitry Khomichenko * v5.21.2 (#4323) * Fix typo L12n -> L10n (#4332) * experimental_customMergeAllOf (#4308) * experimental_customMergeAllOf draft * Add test for experimental_customMergeAllOf * Add documentation for experimental_customMergeAllOf * Changelog update * Add changelog v2 --------- Co-authored-by: Marek Bodinger * Make fields with const pre-fiiled and readonly #3843 (#4326) * Make fields with const pre-fiiled and readonl * fixed issue with default on root level. * fixed array const populate values * fixed array issue and written tests to cover the behavior * updated changeLog * fixed issue with core failing tests. * changed changeLog to rerun tests * improvement based on feedback * Update packages/utils/test/schema/getDefaultFormStateTest.ts Adding default that should not be used * Update packages/utils/test/schema/getDefaultFormStateTest.ts Fix linter --------- Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix: made small changes to utility functions to fix #3997, #4314 and #4322 (#4329) * Fix: made small changes to utility functions to fix #3997 and #4322 Fixes #3997 and #4322 - In `@rjsf/utils`, made the following changes: - Updated `mergeDefaultsWithFormData()` to not overwrite a default when the formData has an undefined value - Updated `getClosestMatchingOption()` to improve the scoring function so that an object container that matches a key gets an extra point - In `@rjsf/core`, updated `MultiSchemaField` to call `onChange` after setting the new option in state rather than before - Updated the `CHANGELOG.md` accordingly * - In order to avoid regressions, added a new `mergeDefaultsWithFormData` prop to the `Experimental_DefaultFormStateBehavior` - Updated `mergeDefaultsWithFormData()` to add new optional `defaultSupercedesUndefined` that when true uses the defaults rather than `undefined` formData - Updated `getDefaultFormState()` to pass true to `mergeDefaultsWithFormData` for `defaultSupercedesUndefined` when `mergeDefaultsIntoFormData` has the value `useDefaultIfFormDataUndefined` - Updated the documentation for the new capabilities - Updated the playground to add controls for the new `mergeDefaultsIntoFormData` option - moved the `Show Error List` component over one column, making it inline radio buttons rather than a select * - Improved documentation a teeny bit * - More doc improvements * - Responded to reviewer feedback * - Fixed broken links * - Added section header for wrapping BaseInputTemplate * - Updated CHANGELOG.md * v5.22.0 (#4341) * Release 5.22.1 (#4342) * Release 5.22.1 with bumped peer deps * v5.22.1 * Bug: Validation regression Form not revalidating after formData change (#4343) (#4345) * fixed regression * Updating changelog * improvement based on feedback --------- Co-authored-by: Abdallah Al-Soqatri * fix: Validation error messages are inconsistent #4348 (#4349) * fix: replace message field with title or ui:title correctly * fix: add new changelog section & add description * chore: removed extra empty line --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * fix: multiple file upload issue (#4347) * fix: multiple file upload issue Resolved a bug where only the first file was uploaded when multiple files were selected. Now, all selected files are uploaded as expected. * feature: Added test to check the expected behaviour * Fix: Move entry of changelog to version 5.22.2 --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * v5.22.2 (#4353) * Bug: Deep nested dependencies issue with assigning values to formData (#4356) * Fix deep nested dependencies issue with formData * update changelog --------- Co-authored-by: Abdallah Al-Soqatri * v5.22.3 (#4358) * chore(deps): bump crazy-max/ghaction-github-pages from 4.0.0 to 4.1.0 Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases) - [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v4.0.0...v4.1.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] * Bug: Issue 'Maximum call stack size exceeded' with playground share. (#4370) * Fix issue 'Maximum call stack size exceeded' with playground share with large content. * update changelog --------- Co-authored-by: Abdallah Al-Soqatri * Bug: Issue with array schema defaults not applying properly when formData is an empty array (#4359) * Fixed issue with array schema defaults not applying properly when formData is an empty array. * improvement based on feedback * fixed docs error --------- Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * v5.22.4 (#4373) * Adding feature to support const as default bug fix seeming like a regression (#4381) Fixes #4344, #4361 and #4377 - In `@rjsf/utils`: - Updated the `Experimental_DefaultFormStateBehavior` type to add new optional `constAsDefaults` prop with three choices - Updated `getDefaultFormState()` to respond to the new `constAsDefaults` feature to limit `const` as defaults based on the `never` or `skipOneOf` choices - Added tests for `getDefaultFormState()` to verify the new feature - In `@rjsf/core`: - Updated `SchemaField` to remove making the field readonly when const - In `playground`: - Updated `Header` to add support for `constAsDefaults` - Updated the `CHANGELOG.md` accordingly * experimental_customMergeAllOf v2 (#4383) * Pass experimental_customMergeAllOf to missing code branches * Add experimental_customMergeAllOf parameter to documentation, fix link with anchor * Changelog --------- Co-authored-by: Marek Bodinger * Fixed issue where error messages do not have title or ui:title if a Localizer function is used. Fixes #4387. (#4391) * fix: Update schema builder add/set actions to have unique errors (#4386) * fix: update schema builder add/set actions to have unique errors * docs: add fix description to changelog --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * v5.23.0 (#4392) * Chakra-UI must be <3.0.0 fixes #4390 * Fix 4382 by passing errorSchema and id through in NumberField's onChange (#4395) Fixes #4382 - Updated `NumberField`'s `handleChange` callback to pass through the `errorSchema` and `id` - Updated the peerDependencies for the packages to be `5.23.x` - Updated `CHANGELOG.md` accordingly * v5.23.1 (#4396) * Use default values when switching anyOf option (#4375) * Use default values when switching anyOf option * review * Update changelog * review: add oneOf test * Move changelog entry to 5.23.1 * Update CHANGELOG.md Fixed up release --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Fix issue where ui:title in anyOf/oneOf is not shown in error messages (#4398) * Fixed issue where ui:title in anyOf/oneOf is not shown in error messages. Fixes #4368. * Use replace() instead of replaceAll() to support Node v14. * fix: Short-circuit File and Date constructor access in isObject (#4413) * fix: short-circuit File and Date constructor access in isObject if thing is missing required property * chore: update changelog with isObject short-circuiting fix --------- Co-authored-by: Jonathan Sun * v5.23.2 * Bug: issue with assigning values to deeply nested required properties (#4425) * Fixed issue with assigning values to deeply nested required properties * Update CHANGELOG.md --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Bug: Issue with formData not updating when dependencies change (#4388) * Fixing issue with formData value not changing when dependencies are updated. * refactoring tests and added test to test non-valid formData * update changeLog * added test for getValidFormData method * fixed failing issue because of type change * changes based on feedback * changes based on feedback * fixed test coverage * Override the formData with the const if the constAsDefaults is set to always * Fixed issue with validator-ajv6 ignoring oneOf in dependencies because it thinks there isn't exactly one subschema that is valid. * improvement based on feedback * Fixed failing tests * removed unnecessary code * improvement based on feedback. --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Bug: schema with conditions where switching to then/else subschemas did not reflect the actual validation errors in the onChange event. (#4432) * Fixed issue with schema if/then/else conditions where switching to then/else subschemas did not reflect the actual validation errors in the onChange event. * improvement based on feedback --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Bug: AJV $data reference in const property in schema treated as default/const value. (#4431) * Validator to support AJV $data reference and saving validator state in ShareURL. * Fix for AJV $data reference in const property in schema treated as default/const value. * written a test for consIsAjvDataReference. * Update CHANGELOG.md Moving the change to the end of the existing list --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * fix: formData change clear errorMessage (#4429) * fix: formData change clear errorMessage fix: merge errorSchema fix: merge errorSchema * test: add tests for getChangedFields and update CHANGELOG * fix: core test and error message when formData is a string not cleared * feat: modify CHANGELOG --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Partially fixed dependency error messages (#4417) * Partially fixed issue where dependency errors do not show title or ui:title. This fix only applicable if we use an ajv-i18n localizer. Ref. #4402. * Add comments. * Update packages/validator-ajv8/src/processRawValidationErrors.ts --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * feat: switch `lodash.isEqual` to `fast-equals.deepEqual` to improve performance (#4438) * switch lodash.isEqual to fast-equals.deepEqual to improve performance * Revert "switch lodash.isEqual to fast-equals.deepEqual to improve performance" This reverts commit 86570fe6cc49899ef8828667c5b05cdbcc3bc8f7. * use precompiledValidator @rjsf/utils.deepEquals * switch lodash.isEqual to @rjsf/utils.deepEquals at utils package * fix changelog and remove unnecessary comment * v5.24.0 (#4443) * Release 5.24.1 (#4445) * Bump peer dependencies due to new API in utils * v5.24.1 * - Updated `CHANGELOG.md` to indicate the bumping of peer dependencies * - Fixed the peer deps version * - Added documentation for `getChangedFields()` * Update packages/docs/docs/api-reference/utility-functions.md * Switch lodash.isEqualWith to fast-equals (#4446) * Fixed file accept attribute not working on mui and chakra-ui. (#4457) * Update validation.md (#4458) schema is not a variable here, and yourSchema is unused. I believe the form input here should be schema={yourSchema} Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Bug : Fields inside an array can't be set to empty when default is set. (#4461) * Fixed issue with fields inside an array can't be set to empty when a default is set * Update packages/utils/src/mergeDefaultsWithFormData.ts - Reviewer feedback * Update packages/utils/src/mergeDefaultsWithFormData.ts - Fix linting --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Refactor: remove unnecessary indirectness in get default form state test (#4462) * refactor `getDefaultFormState` tests * refactor `computeDefaults` tests * refactor `getDefaultBasedOnSchemaType` tests * refactor `getObjectDefaults` tests * refactor `getArrayDefaults` tests * replace original `getDefaultFormStateTest` test with refactored * clarify expected value for array test * remove unused type --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Bug: The oneOf selector can be modified in readonly mode (#4463) * Fixed issue with oneOf selector can be modified in readonly mode * update based on feedback * v5.24.2 (#4468) * Validator should not refresh on clicking a Selector in playground (#4472) * Validator should not refresh on clicking a Selector in playground * Updated change log * Update CHANGELOG.md --------- Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> * Revert #4446 due to regression (#4478) Fixed #4475 by rolling back #4446 - In `@rjsf/utils` rolled back the changes made by #4446 - Updated the `CHANGELOG.md` accordingly * v5.24.3 (#4480) * - Drop node 14, 16 and 18 support, adding 20 and 22 * - More `ci` clean for builds * - Make code-ql work for rjsf-v6 branch * - Fixed build by using correct version of MUI as well as removing MUI 5 support * - Updated node engine >= 20 * - Fix package-lock.json --------- Signed-off-by: dependabot[bot] Co-authored-by: Jonasz Wiącek Co-authored-by: Bogdan Savluk Co-authored-by: Christian Wendt <54559756+cwendtxealth@users.noreply.github.com> Co-authored-by: Ben Lambert Co-authored-by: David R. Bild Co-authored-by: Ariqun <38001928+Ariqun@users.noreply.github.com> Co-authored-by: Shivam Anand Murmu <35562703+Rozamo@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Shubham Biswas <46351104+Shubhcoder@users.noreply.github.com> Co-authored-by: popmanhe Co-authored-by: Yuki Aoki Co-authored-by: Xiangcheng Kuo <37873394+orange-guo@users.noreply.github.com> Co-authored-by: Bart van Andel Co-authored-by: Laurent Direr Co-authored-by: Vegard Stenvik <42935080+vstenvik@users.noreply.github.com> Co-authored-by: Nick Grosenbacher Co-authored-by: Appie Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Oren Forer Co-authored-by: Marcus Penn <11893741+mpenndev@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com> Co-authored-by: joachimhagheim <47362824+joachimhagheim@users.noreply.github.com> Co-authored-by: MarekBodingerBA <104828482+MarekBodingerBA@users.noreply.github.com> Co-authored-by: Marek Bodinger Co-authored-by: momesana Co-authored-by: Mehdi Salem Co-authored-by: Martti Roitto Co-authored-by: Serge van den Oever Co-authored-by: Enzo Ferey Co-authored-by: Skyf0l Co-authored-by: Jaejoon Han Co-authored-by: とまとみ Co-authored-by: Daniel Todd Co-authored-by: Dmitry Dzhus Co-authored-by: Alexander Kachkaev Co-authored-by: shaddollxz <56341682+shaddollxz@users.noreply.github.com> Co-authored-by: Changyu Geng Co-authored-by: Helen Lin <46795546+helen-m-lin@users.noreply.github.com> Co-authored-by: solimant Co-authored-by: David Li Co-authored-by: Abdallah Al-Soqatri Co-authored-by: Igor Brasileiro Co-authored-by: Jonathan Roebuck Co-authored-by: Tomasz Durka Co-authored-by: Sergey Alimov Co-authored-by: Kylie Marshall Co-authored-by: Dmitry Khomichenko <80481379+BlackBerryID@users.noreply.github.com> Co-authored-by: Dmitry Khomichenko Co-authored-by: Salvatore Testa Co-authored-by: Guilherme Castro <31318521+guilhermecastros@users.noreply.github.com> Co-authored-by: BorjaDV Co-authored-by: Yasunobu Chiba <724165+chibacchie@users.noreply.github.com> Co-authored-by: Quentin Sommer Co-authored-by: Jonathan Sun Co-authored-by: Jonathan Sun Co-authored-by: 邵瑾瑜 <1009943858@qq.com> Co-authored-by: Petar Gligic Co-authored-by: Roman Krasilnikov Co-authored-by: deepeshmi26 <79749550+deepeshmi26@users.noreply.github.com> --- .github/workflows/ci.yml | 13 +- .github/workflows/codeql.yml | 4 +- CHANGELOG.md | 221 +- package-lock.json | 772 ++-- package.json | 2 +- packages/antd/package.json | 7 +- packages/chakra-ui/package.json | 9 +- .../test/__snapshots__/Array.test.tsx.snap | 315 +- .../test/__snapshots__/Form.test.tsx.snap | 401 +- .../test/__snapshots__/Object.test.tsx.snap | 96 - packages/core/package.json | 7 +- packages/core/src/components/Form.tsx | 97 +- .../components/fields/MultiSchemaField.tsx | 9 +- .../src/components/fields/NumberField.tsx | 6 +- .../src/components/fields/ObjectField.tsx | 6 +- .../src/components/fields/SchemaField.tsx | 2 + .../src/components/widgets/FileWidget.tsx | 2 +- packages/core/test/ArrayField.test.jsx | 56 + packages/core/test/Form.test.jsx | 4 +- packages/core/test/ObjectField.test.jsx | 112 + packages/core/test/StringField.test.jsx | 17 + packages/core/test/anyOf.test.jsx | 31 + packages/core/test/oneOf.test.jsx | 108 + packages/core/test/test_utils.js | 7 +- .../custom-templates.md | 2 + .../custom-widgets-fields.md | 62 + .../docs/docs/api-reference/form-props.md | 49 +- .../docs/api-reference/utility-functions.md | 42 +- packages/docs/docs/usage/validation.md | 4 +- packages/docs/docs/usage/widgets.md | 2 - packages/fluent-ui/package.json | 7 +- packages/fluentui-rc/package.json | 5 +- packages/mui/package.json | 16 +- .../BaseInputTemplate/BaseInputTemplate.tsx | 17 +- packages/mui/test/Form.test.tsx | 8 +- .../test/__snapshots__/Array.test.tsx.snap | 3523 +++++++-------- .../mui/test/__snapshots__/Form.test.tsx.snap | 3826 ++++++++--------- .../test/__snapshots__/Object.test.tsx.snap | 2950 +++++-------- packages/playground/package.json | 11 +- packages/playground/src/app.tsx | 2 + packages/playground/src/components/Header.tsx | 64 +- .../playground/src/components/Playground.tsx | 10 +- packages/playground/src/layout/Layout.tsx | 6 +- packages/playground/src/samples/Sample.ts | 4 +- packages/playground/src/utils/base64.ts | 19 +- packages/react-bootstrap/package.json | 7 +- packages/semantic-ui/package.json | 7 +- packages/snapshot-tests/package.json | 2 +- packages/utils/package.json | 3 +- packages/utils/src/ErrorSchemaBuilder.ts | 17 +- packages/utils/src/constIsAjvDataReference.ts | 17 + packages/utils/src/createSchemaUtils.ts | 90 +- .../utils/src/enumOptionsDeselectValue.ts | 7 +- packages/utils/src/enumOptionsIsSelected.ts | 7 +- packages/utils/src/getChangedFields.ts | 40 + packages/utils/src/getInputProps.ts | 4 + packages/utils/src/index.ts | 2 + packages/utils/src/isObject.ts | 15 +- .../utils/src/mergeDefaultsWithFormData.ts | 63 +- packages/utils/src/parser/ParserValidator.ts | 6 +- packages/utils/src/parser/schemaParser.ts | 8 +- .../src/schema/getClosestMatchingOption.ts | 43 +- .../utils/src/schema/getDefaultFormState.ts | 622 ++- packages/utils/src/schema/getDisplayLabel.ts | 9 +- packages/utils/src/schema/isFilesArray.ts | 21 +- packages/utils/src/schema/isMultiSelect.ts | 12 +- packages/utils/src/schema/isSelect.ts | 8 +- packages/utils/src/schema/retrieveSchema.ts | 189 +- .../src/schema/sanitizeDataForNewSchema.ts | 57 +- packages/utils/src/schema/toIdSchema.ts | 45 +- packages/utils/src/schema/toPathSchema.ts | 63 +- packages/utils/src/types.ts | 36 +- .../utils/test/ErrorSchemaBuilder.test.ts | 102 + .../test/constIsAjvDataReference.test.ts | 53 + packages/utils/test/getChangedFields.test.ts | 148 + packages/utils/test/getInputProps.test.ts | 11 +- packages/utils/test/isObject.test.ts | 34 + .../test/mergeDefaultsWithFormData.test.ts | 183 + .../schema/getClosestMatchingOptionTest.ts | 2 +- .../test/schema/getDefaultFormStateTest.ts | 2148 ++++++++- .../utils/test/schema/retrieveSchemaTest.ts | 106 + packages/validator-ajv6/package.json | 5 +- packages/validator-ajv8/package.json | 5 +- .../src/precompiledValidator.ts | 9 +- .../src/processRawValidationErrors.ts | 47 +- packages/validator-ajv8/src/validator.ts | 33 + .../validator-ajv8/test/validator.test.ts | 567 +++ requirements.docs.txt | 2 +- 88 files changed, 10110 insertions(+), 7678 deletions(-) create mode 100644 packages/utils/src/constIsAjvDataReference.ts create mode 100644 packages/utils/src/getChangedFields.ts create mode 100644 packages/utils/test/constIsAjvDataReference.test.ts create mode 100644 packages/utils/test/getChangedFields.test.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edc27c1d62..0df5f08b07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [20.x, 22.x] steps: - uses: actions/checkout@v4 @@ -21,42 +21,37 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' cache-dependency-path: 'package-lock.json' - - run: npm i -g npm@9 - run: npm ci - run: npm run lint - name: Build with Netlify badge - if: github.ref != 'refs/heads/main' && matrix.node-version != '14.x' run: npm run build env: VITE_SHOW_NETLIFY_BADGE: true NODE_OPTIONS: --max_old_space_size=4096 - name: Build - if: github.ref == 'refs/heads/main' && matrix.node-version != '14.x' run: npm run build env: NODE_OPTIONS: --max_old_space_size=4096 # Docusaurus doesn't support Node 14. These tasks can be removed once Node 14 is EOL (May 2023) - name: Build with Netlify badge (no docs) - if: github.ref != 'refs/heads/main' && matrix.node-version == '14.x' run: npx nx run-many --target=build --exclude=@rjsf/docs env: VITE_SHOW_NETLIFY_BADGE: true NODE_OPTIONS: --max_old_space_size=4096 - name: Build (no docs) - if: github.ref == 'refs/heads/main' && matrix.node-version == '14.x' run: npx nx run-many --target=build --exclude=@rjsf/docs env: NODE_OPTIONS: --max_old_space_size=4096 - - if: matrix.node-version == '18.x' + - if: matrix.node-version == '22.x' uses: actions/upload-artifact@v4 with: name: playground path: packages/playground/dist - - if: matrix.node-version == '18.x' + - if: matrix.node-version == '22.x' uses: actions/upload-artifact@v4 with: name: docs @@ -79,7 +74,7 @@ jobs: name: docs path: dist/docs - name: Deploy playground + docs to GitHub Pages - uses: crazy-max/ghaction-github-pages@v4.0.0 + uses: crazy-max/ghaction-github-pages@v4.1.0 with: keep_history: true target_branch: gh-pages diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 4a9ce8b752..690db812df 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,9 +13,9 @@ name: "CodeQL" on: push: - branches: [ "main" ] + branches: [ "main", "rjsf-v6" ] pull_request: - branches: [ "main" ] + branches: [ "main", "rjsf-v6" ] schedule: - cron: '19 2 * * 1' diff --git a/CHANGELOG.md b/CHANGELOG.md index c810a447db..b819d00e67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,213 @@ it according to semantic versioning. For example, if your PR adds a breaking cha should change the heading of the (upcoming) version to include a major version bump. --> +# 5.24.3 + +## @rjsf/utils + +- Rollback [4446](https://github.com/rjsf-team/react-jsonschema-form/pull/4446) due to regression + +## Dev / docs / playground +- Fixed issue with selector, where validator was getting refreshed on clicking on anything in selector. [#4472](https://github.com/rjsf-team/react-jsonschema-form/pull/4472) + +# 5.24.2 + +## @rjsf/utils + +- switch `lodash.isEqualWith` to `fast-equals.createCustomEqual` providing `areFunctionsEqual` assuming any functions are equal. +- Fixed issue with oneOf selector can be modified in readonly mode, fixing [#4460](https://github.com/rjsf-team/react-jsonschema-form/issues/4460) +- Fixed issue with fields inside an array can't be set to empty when a default is set, fixing [#4456](https://github.com/rjsf-team/react-jsonschema-form/issues/4456) +- Fixed issue with file accept attribute, fixing [#4404](https://github.com/rjsf-team/react-jsonschema-form/issues/4404). + +## @rjsf/mui + +- Fixed issue with file accept attribute, fixing [#4404](https://github.com/rjsf-team/react-jsonschema-form/issues/4404). + +# 5.24.1 + +## @rjsf/utils + +- Fixed documentation for `getChangedFields()` + +## Dev / docs / playground + +- Updated the peer dependencies for `@rjsf/*` to be `5.24.x` +- Added documentation for `getChangedFields()` + +# 5.24.0 + +## @rjsf/core + +- Fixed issue with schema if/then/else conditions where switching to then/else subschemas did not reflect the actual validation errors in the onChange event, fixing [#4249](https://github.com/rjsf-team/react-jsonschema-form/issues/4249) and improving performance. +- Fixed issue error message will not be cleared after the controlled Form formData is changed. Fixes [#4426](https://github.com/rjsf-team/react-jsonschema-form/issues/4426) + +## @rjsf/utils + +- Fixed issue with formData not updating when dependencies change, fixing [#4325](https://github.com/rjsf-team/react-jsonschema-form/issues/4325) +- Fixed issue with assigning default values to formData with deeply nested required properties, fixing [#4399](https://github.com/rjsf-team/react-jsonschema-form/issues/4399) +- Fixed issue error message will not be cleared after the controlled Form formData is changed. Fixes [#4426](https://github.com/rjsf-team/react-jsonschema-form/issues/4426) +- Fix for AJV [$data](https://ajv.js.org/guide/combining-schemas.html#data-reference) reference in const property in schema treated as default/const value. The issue is mentioned in [#4361](https://github.com/rjsf-team/react-jsonschema-form/issues/4361). +- Switched uses of `lodash.isEqual()` to `@rjsf/utils.deepEquals`. + +## @rjsf/validator-ajv8 + +- Partially fixed issue where dependency errors do not show `title` or `ui:title`. This fix only applicable if we use an ajv-i18n localizer. Ref. [#4402](https://github.com/rjsf-team/react-jsonschema-form/issues/4402). +- Switched uses of `lodash.isEqual()` to `@rjsf/utils.deepEquals` at precompiledValidator. + +# 5.23.2 + +## @rjsf/core + +- Fix default value population when switching between options in `MultiSchemaField` [#4375](https://github.com/rjsf-team/react-jsonschema-form/pull/4375). Fixes [#4367](https://github.com/rjsf-team/react-jsonschema-form/issues/4367) + +## @rjsf/utils + +- Short-circuit `File` and `Date` constructor access in isObject to optimize performance in scenarios where `globalThis` is a `Proxy` that incurs overhead for each class constructor access ([#4413](https://github.com/rjsf-team/react-jsonschema-form/pull/4413)). Fixes [#4409](https://github.com/rjsf-team/react-jsonschema-form/issues/4409) + +## @rjsf/validator-ajv8 + +- Fixed issue where `ui:title` in anyOf/oneOf is not shown in error messages. Fixes [#4368](https://github.com/rjsf-team/react-jsonschema-form/issues/4368) + +# 5.23.1 + +## @rjsf/chakra-ui + +- Updated `package.json` to restrict `@chakra-ui/react`'s peer dependency to be < 3.0.0, fixing [#4390](https://github.com/rjsf-team/react-jsonschema-form/issues/4390) + +## @rjsf/core + +- Updated `NumberField` to properly pass through the `errorSchema` and `id` in the onChange handler, fixing [#4382](https://github.com/rjsf-team/react-jsonschema-form/issues/4382) + +## Dev / docs / playground + +- Updated the peer dependencies for `@rjsf/*` to be `5.23.x` + +# 5.23.0 + +## @rjsf/core + +- Updated `SchemaField` to no longer make schema fields with const read-only by default, partially fixing [#4344](https://github.com/rjsf-team/react-jsonschema-form/issues/4344) + +## @rjsf/utils + +- Updated `Experimental_DefaultFormStateBehavior` to add a new `constAsDefaults` option +- Updated `getDefaultFormState()` to use the new `constAsDefaults` option to control how const is used for defaulting, fixing [#4344](https://github.com/rjsf-team/react-jsonschema-form/issues/4344), [#4361](https://github.com/rjsf-team/react-jsonschema-form/issues/4361) and [#4377](https://github.com/rjsf-team/react-jsonschema-form/issues/4377) +- Use `experimental_customMergeAllOf` option in functions that have previously missed it. +- Updated `ErrorSchemaBuilder` methods `addErrors` and `setErrors` to prevent duplicate error messages. + +## @rjsf/validator-ajv8 + +- Fixed issue where error messages do not have `title` or `ui:title` if a `Localizer` function is used. Fixes [#4387](https://github.com/rjsf-team/react-jsonschema-form/issues/4387) + +## Dev / docs / playground + +- Updated the playground to add a selector for the `constAsDefaults` option + +# 5.22.4 + +## @rjsf/utils + +- Fixed issue with array schema defaults not applying properly when formData is an empty array, fixing [#4335](https://github.com/rjsf-team/react-jsonschema-form/issues/4335). + +## Dev / docs / playground + +- Fix issue 'Maximum call stack size exceeded' with playground share with large content. + +# 5.22.3 + +## @rjsf/utils + +- Fixed deep nested dependencies issue with assigning values to formData, fixing [#4334](https://github.com/rjsf-team/react-jsonschema-form/issues/4334) + +# 5.22.2 + +## @rjsf/core + +- Fix an issue where only the first file was uploaded when users selected multiple files for upload. +- Fixed validation regression Form not revalidating after formData change, fixing [#4343](https://github.com/rjsf-team/react-jsonschema-form/issues/4343) + +## @rjsf/validator-ajv8 + +- Fixed `AJV8Validator#transformRJSFValidationErrors` to replace the error message field with either the `uiSchema`'s `ui:title` field if one exists or the `parentSchema` title if one exists. Fixes [#4348](https://github.com/rjsf-team/react-jsonschema-form/issues/4348) + +# 5.22.1 + +## Dev / docs / playground + +- Bumped peer dependencies to 5.22.x due to updated type definition and API changes in @rjsf/utils + +# 5.22.0 + +## @rjsf/core + +- Updated `MultiSchemaField` to call the `onChange` handler after setting the new option, fixing [#3997](https://github.com/rjsf-team/react-jsonschema-form/issues/3977) and [#4314](https://github.com/rjsf-team/react-jsonschema-form/issues/4314) + +## @rjsf/utils + +- Added `experimental_customMergeAllOf` option to `retrieveSchema()` and `getDefaultFormState()` to allow custom merging of `allOf` schemas +- Made fields with const property pre-filled and readonly, fixing [#2600](https://github.com/rjsf-team/react-jsonschema-form/issues/2600) +- Added `mergeDefaultsIntoFormData` option to `Experimental_DefaultFormStateBehavior` type to control how to handle merging of defaults +- Updated `mergeDefaultsWithFormData()` to add new optional `defaultSupercedesUndefined` that when true uses the defaults rather than `undefined` formData, fixing [#4322](https://github.com/rjsf-team/react-jsonschema-form/issues/4322) +- Updated `getDefaultFormState()` to pass true to `mergeDefaultsWithFormData` for `defaultSupercedesUndefined` when `mergeDefaultsIntoFormData` has the value `useDefaultIfFormDataUndefined`, fixing [#4322](https://github.com/rjsf-team/react-jsonschema-form/issues/4322) +- Updated `getClosestMatchingOption()` to improve the scoring of sub-property objects that are provided over ones that aren't, fixing [#3997](https://github.com/rjsf-team/react-jsonschema-form/issues/3977) and [#4314](https://github.com/rjsf-team/react-jsonschema-form/issues/4314) + +## Dev / docs / playground + +- Updated the `form-props.md` to add documentation for the new `experimental_customMergeAllOf` props and the `experimental_defaultFormStateBehavior.mergeDefaultsIntoFormData` option +- Updated the `utility-functions.md` to add documentation for the new optional `defaultSupercedesUndefined` parameter and the two missing optional fields on `getDefaultFormState()` +- Updated the `custom-templates.md` to add a section header for wrapping `BaseInputTemplate` +- Updated the playground to add controls for the new `mergeDefaultsIntoFormData` option + - In the process, moved the `Show Error List` component over one column, making it inline radio buttons rather than a select + +# 5.21.2 + +## @rjsf/core + +- Updated `SchemaField` to pass `required` flag to `_AnyOfField`/`_OneOfField` +- Updated `Form` to deal with null objects in `filterErrorsBasedOnSchema()`, fixing [#4306](https://github.com/rjsf-team/react-jsonschema-form/issues/4306) + +## @rjsf/utils + +- Updated `ErrorSchemaBuilder` to support adding, updating, and removing paths that are numbers, fixing [#4297](https://github.com/rjsf-team/react-jsonschema-form/issues/4297) +- Updated `retrieveSchema` to not merge `contains` properties in `allOf` schema lists, fixing [#2923](https://github.com/rjsf-team/react-jsonschema-form/issues/2923#issuecomment-1946034240) + +## Dev / docs / playground + +- Updated the `custom-widgets-fields.md` to add examples of wrapping a widget/field + +# 5.21.1 + +## @rjsf/utils + +- Revert of updating `deepEquals()` from [#4292] + +## @validator-ajv8 + +- Revert of using `deepEquals()` instead of `lodash.isEqual()` from [#4292] + +# 5.21.0 + +## @rjsf/core + +- Updated `Form` to fix `focusOnError()` to support the ids that include dots, fixing [#4279](https://github.com/rjsf-team/react-jsonschema-form/issues/4279) + +## @rjsf/mui + +- Updated the peer dependencies for `@mui/material` and `@mui/icon-material`, fixing [4283](https://github.com/rjsf-team/react-jsonschema-form/issues/4283) + +## @rjsf/utils + +- Fixes an issue with dependencies computeDefaults to ensure we can get the dependencies defaults [#4271](https://github.com/rjsf-team/react-jsonschema-form/issues/4271) +- Updated `deepEquals()` to use `fast-equals.createCustomEqual()` instead of `lodash.isEqualWith()`, fixing [#4291](https://github.com/rjsf-team/react-jsonschema-form/issues/4291) + - Switched uses of `lodash.isEqual()` to `deepEquals()` in many of the utility functions as well + +## @validator-ajv8 + +- Use `@rjsf/utils` `deepEquals()` instead of `lodash.isEqual()` to improve performance, fixing [#4291](https://github.com/rjsf-team/react-jsonschema-form/issues/4291) + +## Dev / docs / playground + +- Updated the playground to use `@mui/*` version 6, changing the name of the dropdown from `material-ui-5` to `mui` # 5.20.1 @@ -24,25 +231,25 @@ should change the heading of the (upcoming) version to include a major version b # 5.20.0 -## @rjsf/core +## @rjsf/core - Support allowing raising errors from within a custom Widget [#2718](https://github.com/rjsf-team/react-jsonschema-form/issues/2718) -- Updated `ArrayField`, `BooleanField` and `StringField` to call `optionsList()` with the additional `UiSchema` parameter, fixing [#4215](https://github.com/rjsf-team/react-jsonschema-form/issues/4215) and [#4260](https://github.com/rjsf-team/react-jsonschema-form/issues/4260) +- Updated `ArrayField`, `BooleanField` and `StringField` to call `optionsList()` with the additional `UiSchema` parameter, fixing [#4215](https://github.com/rjsf-team/react-jsonschema-form/issues/4215) and [#4260](https://github.com/rjsf-team/react-jsonschema-form/issues/4260) ## @rjsf/utils - Updated the `WidgetProps` type to add `es?: ErrorSchema, id?: string` to the params of the `onChange` handler function - Updated `UIOptionsBaseType` to add the new `enumNames` prop to support an alternate way to provide labels for `enum`s in a schema, fixing [#4215](https://github.com/rjsf-team/react-jsonschema-form/issues/4215) -- Updated `optionsList()` to take an optional `uiSchema` that is used to extract alternate labels for `enum`s or `oneOf`/`anyOf` in a schema, fixing [#4215](https://github.com/rjsf-team/react-jsonschema-form/issues/4215) and [#4260](https://github.com/rjsf-team/react-jsonschema-form/issues/4260) +- Updated `optionsList()` to take an optional `uiSchema` that is used to extract alternate labels for `enum`s or `oneOf`/`anyOf` in a schema, fixing [#4215](https://github.com/rjsf-team/react-jsonschema-form/issues/4215) and [#4260](https://github.com/rjsf-team/react-jsonschema-form/issues/4260) - NOTE: The generics for `optionsList()` were expanded from `` to `` to support the `UiSchema`. ## Dev / docs / playground -- Update the `custom-widget-fields.md` to add documentation for how to raise errors from a custom widget or field +- Update the `custom-widget-fields.md` to add documentation for how to raise errors from a custom widget or field # 5.19.4 -## @rjsf/core +## @rjsf/core - Fix XSS when rendering schema validation errors [#4254](https://github.com/rjsf-team/react-jsonschema-form/issues/2718) - NOTE: This will have potential consequences if you are using the [translateString](https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/form-props/#translatestring) feature and are trying to render HTML. Switching to [Markdown](https://www.markdownguide.org/) will solve your problems. @@ -59,7 +266,7 @@ should change the heading of the (upcoming) version to include a major version b ## Dev / docs / playground -- Updated the `Validator` dropdown to add `AJV8 (discriminator)` which sets the AJV validator [discriminator](https://ajv.js.org/json-schema.html#discriminator) option to `true` to support testing schemas with that option in them +- Updated the `Validator` dropdown to add `AJV8 (discriminator)` which sets the AJV validator [discriminator](https://ajv.js.org/json-schema.html#discriminator) option to `true` to support testing schemas with that option in them # 5.19.3 @@ -1944,7 +2151,7 @@ const Component = () => { ## @rjsf/validator-ajv8 -- Support for localization (L12n) on a customized validator using a `Localizer` function passed as a second parameter to `customizeValidator()`, fixing (https://github.com/rjsf-team/react-jsonschema-form/pull/846, and https://github.com/rjsf-team/react-jsonschema-form/issues/1195) +- Support for localization (L10n) on a customized validator using a `Localizer` function passed as a second parameter to `customizeValidator()`, fixing (https://github.com/rjsf-team/react-jsonschema-form/pull/846, and https://github.com/rjsf-team/react-jsonschema-form/issues/1195) - Fixed the `README.md` to correct the package name in several places to match the actual package ## Dev / docs / playground diff --git a/package-lock.json b/package-lock.json index 88be5b0a5d..7816a45ac5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,7 +56,7 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -2292,9 +2292,10 @@ "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==" }, "node_modules/@babel/runtime": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.0.tgz", - "integrity": "sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==", + "version": "7.26.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.7.tgz", + "integrity": "sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ==", + "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -3971,17 +3972,30 @@ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" }, "node_modules/@emotion/cache": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz", - "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==", + "version": "11.14.0", + "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.14.0.tgz", + "integrity": "sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA==", + "license": "MIT", "dependencies": { - "@emotion/memoize": "^0.8.1", - "@emotion/sheet": "^1.2.2", - "@emotion/utils": "^1.2.1", - "@emotion/weak-memoize": "^0.3.1", + "@emotion/memoize": "^0.9.0", + "@emotion/sheet": "^1.4.0", + "@emotion/utils": "^1.4.2", + "@emotion/weak-memoize": "^0.4.0", "stylis": "4.2.0" } }, + "node_modules/@emotion/cache/node_modules/@emotion/memoize": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz", + "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==", + "license": "MIT" + }, + "node_modules/@emotion/cache/node_modules/@emotion/weak-memoize": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz", + "integrity": "sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==", + "license": "MIT" + }, "node_modules/@emotion/css-prettifier": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@emotion/css-prettifier/-/css-prettifier-1.1.3.tgz", @@ -4005,9 +4019,10 @@ } }, "node_modules/@emotion/hash": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz", - "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==" + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz", + "integrity": "sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==", + "license": "MIT" }, "node_modules/@emotion/is-prop-valid": { "version": "1.2.1", @@ -4072,21 +4087,29 @@ } }, "node_modules/@emotion/serialize": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.3.tgz", - "integrity": "sha512-iD4D6QVZFDhcbH0RAG1uVu1CwVLMWUkCvAqqlewO/rxf8+87yIBAlt4+AxMiiKPLs5hFc0owNk/sLLAOROw3cA==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.3.3.tgz", + "integrity": "sha512-EISGqt7sSNWHGI76hC7x1CksiXPahbxEOrC5RjmFRJTqLyEK9/9hZvBbiYn70dw4wuwMKiEMCUlR6ZXTSWQqxA==", + "license": "MIT", "dependencies": { - "@emotion/hash": "^0.9.1", - "@emotion/memoize": "^0.8.1", - "@emotion/unitless": "^0.8.1", - "@emotion/utils": "^1.2.1", + "@emotion/hash": "^0.9.2", + "@emotion/memoize": "^0.9.0", + "@emotion/unitless": "^0.10.0", + "@emotion/utils": "^1.4.2", "csstype": "^3.0.2" } }, + "node_modules/@emotion/serialize/node_modules/@emotion/memoize": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.9.0.tgz", + "integrity": "sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==", + "license": "MIT" + }, "node_modules/@emotion/sheet": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz", - "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.4.0.tgz", + "integrity": "sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==", + "license": "MIT" }, "node_modules/@emotion/styled": { "version": "11.11.0", @@ -4112,9 +4135,10 @@ } }, "node_modules/@emotion/unitless": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz", - "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==" + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.10.0.tgz", + "integrity": "sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==", + "license": "MIT" }, "node_modules/@emotion/use-insertion-effect-with-fallbacks": { "version": "1.0.1", @@ -4125,9 +4149,10 @@ } }, "node_modules/@emotion/utils": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz", - "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==" + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.4.2.tgz", + "integrity": "sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==", + "license": "MIT" }, "node_modules/@emotion/weak-memoize": { "version": "0.3.1", @@ -4579,18 +4604,6 @@ "@floating-ui/utils": "^0.2.1" } }, - "node_modules/@floating-ui/react-dom": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.0.8.tgz", - "integrity": "sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw==", - "dependencies": { - "@floating-ui/dom": "^1.6.1" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, "node_modules/@floating-ui/utils": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.1.tgz", @@ -7412,167 +7425,6 @@ "node": ">=10" } }, - "node_modules/@material-ui/core": { - "version": "4.12.4", - "resolved": "https://registry.npmjs.org/@material-ui/core/-/core-4.12.4.tgz", - "integrity": "sha512-tr7xekNlM9LjA6pagJmL8QCgZXaubWUwkJnoYcMKd4gw/t4XiyvnTkjdGrUVicyB2BsdaAv1tvow45bPM4sSwQ==", - "deprecated": "Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.", - "dependencies": { - "@babel/runtime": "^7.4.4", - "@material-ui/styles": "^4.11.5", - "@material-ui/system": "^4.12.2", - "@material-ui/types": "5.1.0", - "@material-ui/utils": "^4.11.3", - "@types/react-transition-group": "^4.2.0", - "clsx": "^1.0.4", - "hoist-non-react-statics": "^3.3.2", - "popper.js": "1.16.1-lts", - "prop-types": "^15.7.2", - "react-is": "^16.8.0 || ^17.0.0", - "react-transition-group": "^4.4.0" - }, - "engines": { - "node": ">=8.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/material-ui" - }, - "peerDependencies": { - "@types/react": "^16.8.6 || ^17.0.0", - "react": "^16.8.0 || ^17.0.0", - "react-dom": "^16.8.0 || ^17.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@material-ui/core/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" - }, - "node_modules/@material-ui/styles": { - "version": "4.11.5", - "resolved": "https://registry.npmjs.org/@material-ui/styles/-/styles-4.11.5.tgz", - "integrity": "sha512-o/41ot5JJiUsIETME9wVLAJrmIWL3j0R0Bj2kCOLbSfqEkKf0fmaPt+5vtblUh5eXr2S+J/8J3DaCb10+CzPGA==", - "deprecated": "Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.", - "dependencies": { - "@babel/runtime": "^7.4.4", - "@emotion/hash": "^0.8.0", - "@material-ui/types": "5.1.0", - "@material-ui/utils": "^4.11.3", - "clsx": "^1.0.4", - "csstype": "^2.5.2", - "hoist-non-react-statics": "^3.3.2", - "jss": "^10.5.1", - "jss-plugin-camel-case": "^10.5.1", - "jss-plugin-default-unit": "^10.5.1", - "jss-plugin-global": "^10.5.1", - "jss-plugin-nested": "^10.5.1", - "jss-plugin-props-sort": "^10.5.1", - "jss-plugin-rule-value-function": "^10.5.1", - "jss-plugin-vendor-prefixer": "^10.5.1", - "prop-types": "^15.7.2" - }, - "engines": { - "node": ">=8.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/material-ui" - }, - "peerDependencies": { - "@types/react": "^16.8.6 || ^17.0.0", - "react": "^16.8.0 || ^17.0.0", - "react-dom": "^16.8.0 || ^17.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@material-ui/styles/node_modules/@emotion/hash": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz", - "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" - }, - "node_modules/@material-ui/styles/node_modules/csstype": { - "version": "2.6.21", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.21.tgz", - "integrity": "sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==" - }, - "node_modules/@material-ui/system": { - "version": "4.12.2", - "resolved": "https://registry.npmjs.org/@material-ui/system/-/system-4.12.2.tgz", - "integrity": "sha512-6CSKu2MtmiJgcCGf6nBQpM8fLkuB9F55EKfbdTC80NND5wpTmKzwdhLYLH3zL4cLlK0gVaaltW7/wMuyTnN0Lw==", - "dependencies": { - "@babel/runtime": "^7.4.4", - "@material-ui/utils": "^4.11.3", - "csstype": "^2.5.2", - "prop-types": "^15.7.2" - }, - "engines": { - "node": ">=8.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/material-ui" - }, - "peerDependencies": { - "@types/react": "^16.8.6 || ^17.0.0", - "react": "^16.8.0 || ^17.0.0", - "react-dom": "^16.8.0 || ^17.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@material-ui/system/node_modules/csstype": { - "version": "2.6.21", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.21.tgz", - "integrity": "sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==" - }, - "node_modules/@material-ui/types": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@material-ui/types/-/types-5.1.0.tgz", - "integrity": "sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A==", - "peerDependencies": { - "@types/react": "*" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@material-ui/utils": { - "version": "4.11.3", - "resolved": "https://registry.npmjs.org/@material-ui/utils/-/utils-4.11.3.tgz", - "integrity": "sha512-ZuQPV4rBK/V1j2dIkSSEcH5uT6AaHuKWFfotADHsC0wVL1NLd2WkFCm4ZZbX33iO4ydl6V0GPngKm8HZQ2oujg==", - "dependencies": { - "@babel/runtime": "^7.4.4", - "prop-types": "^15.7.2", - "react-is": "^16.8.0 || ^17.0.0" - }, - "engines": { - "node": ">=8.0.0" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0", - "react-dom": "^16.8.0 || ^17.0.0" - } - }, - "node_modules/@material-ui/utils/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" - }, "node_modules/@mdx-js/mdx": { "version": "1.6.22", "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.22.tgz", @@ -7734,73 +7586,36 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/@mui/base": { - "version": "5.0.0-beta.28", - "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.28.tgz", - "integrity": "sha512-KIoSc5sUFceeCaZTq5MQBapFzhHqMo4kj+4azWaCAjorduhcRQtN+BCgVHmo+gvEjix74bUfxwTqGifnu2fNTg==", - "dependencies": { - "@babel/runtime": "^7.23.5", - "@floating-ui/react-dom": "^2.0.4", - "@mui/types": "^7.2.11", - "@mui/utils": "^5.15.1", - "@popperjs/core": "^2.11.8", - "clsx": "^2.0.0", - "prop-types": "^15.8.1" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui-org" - }, - "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@mui/base/node_modules/clsx": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.0.tgz", - "integrity": "sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==", - "engines": { - "node": ">=6" - } - }, "node_modules/@mui/core-downloads-tracker": { - "version": "5.15.7", - "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.7.tgz", - "integrity": "sha512-AuF+Wo2Mp/edaO6vJnWjg+gj4tzEz5ChMZnAQpc22DXpSvM8ddgGcZvM7D7F99pIBoSv8ub+Iz0viL+yuGVmhg==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-6.4.3.tgz", + "integrity": "sha512-hlyOzo2ObarllAOeT1ZSAusADE5NZNencUeIvXrdQ1Na+FL1lcznhbxfV5He1KqGiuR8Az3xtCUcYKwMVGFdzg==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/mui-org" } }, "node_modules/@mui/icons-material": { - "version": "5.15.2", - "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.15.2.tgz", - "integrity": "sha512-Vs0Z6cd6ieTavMjqPvIJJfwsKaCLdRSErk5LjKdZlBqk7r2SR6roDyhVTQuZOeCzjEFj0qZ4iVPp2DJZRwuYbw==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-6.4.3.tgz", + "integrity": "sha512-3IY9LpjkwIJVgL/SkZQKKCUcumdHdQEsJaIavvsQze2QEztBt0HJ17naToN0DBBdhKdtwX5xXrfD6ZFUeWWk8g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.6" + "@babel/runtime": "^7.26.0" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/mui-org" }, "peerDependencies": { - "@mui/material": "^5.0.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" + "@mui/material": "^6.4.3", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { @@ -7809,25 +7624,26 @@ } }, "node_modules/@mui/material": { - "version": "5.15.2", - "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.15.2.tgz", - "integrity": "sha512-JnoIrpNmEHG5uC1IyEdgsnDiaiuCZnUIh7f9oeAr87AvBmNiEJPbo7XrD7kBTFWwp+b97rQ12QdSs9CLhT2n/A==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/material/-/material-6.4.3.tgz", + "integrity": "sha512-ubtQjplbWneIEU8Y+4b2VA0CDBlyH5I3AmVFGmsLyDe/bf0ubxav5t11c8Afem6rkSFWPlZA2DilxmGka1xiKQ==", + "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.6", - "@mui/base": "5.0.0-beta.29", - "@mui/core-downloads-tracker": "^5.15.2", - "@mui/system": "^5.15.2", - "@mui/types": "^7.2.11", - "@mui/utils": "^5.15.2", - "@types/react-transition-group": "^4.4.10", - "clsx": "^2.0.0", - "csstype": "^3.1.2", + "@babel/runtime": "^7.26.0", + "@mui/core-downloads-tracker": "^6.4.3", + "@mui/system": "^6.4.3", + "@mui/types": "^7.2.21", + "@mui/utils": "^6.4.3", + "@popperjs/core": "^2.11.8", + "@types/react-transition-group": "^4.4.12", + "clsx": "^2.1.1", + "csstype": "^3.1.3", "prop-types": "^15.8.1", - "react-is": "^18.2.0", + "react-is": "^19.0.0", "react-transition-group": "^4.4.5" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "funding": { "type": "opencollective", @@ -7836,9 +7652,10 @@ "peerDependencies": { "@emotion/react": "^11.5.0", "@emotion/styled": "^11.3.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "@mui/material-pigment-css": "^6.4.3", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@emotion/react": { @@ -7847,35 +7664,37 @@ "@emotion/styled": { "optional": true }, + "@mui/material-pigment-css": { + "optional": true + }, "@types/react": { "optional": true } } }, - "node_modules/@mui/material/node_modules/@mui/base": { - "version": "5.0.0-beta.29", - "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.29.tgz", - "integrity": "sha512-OXfUssYrB6ch/xpBVHMKAjThPlI9VyGGKdvQLMXef2j39wXfcxPlUVQlwia/lmE3rxWIGvbwkZsDtNYzLMsDUg==", + "node_modules/@mui/material/node_modules/@mui/utils": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.4.3.tgz", + "integrity": "sha512-jxHRHh3BqVXE9ABxDm+Tc3wlBooYz/4XPa0+4AI+iF38rV1/+btJmSUgG4shDtSWVs/I97aDn5jBCt6SF2Uq2A==", + "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.6", - "@floating-ui/react-dom": "^2.0.4", - "@mui/types": "^7.2.11", - "@mui/utils": "^5.15.2", - "@popperjs/core": "^2.11.8", - "clsx": "^2.0.0", - "prop-types": "^15.8.1" + "@babel/runtime": "^7.26.0", + "@mui/types": "^7.2.21", + "@types/prop-types": "^15.7.14", + "clsx": "^2.1.1", + "prop-types": "^15.8.1", + "react-is": "^19.0.0" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/mui-org" }, "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { @@ -7884,32 +7703,70 @@ } }, "node_modules/@mui/material/node_modules/clsx": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.0.tgz", - "integrity": "sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", "engines": { "node": ">=6" } }, + "node_modules/@mui/material/node_modules/react-is": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.0.0.tgz", + "integrity": "sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g==", + "license": "MIT" + }, "node_modules/@mui/private-theming": { - "version": "5.15.7", - "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.15.7.tgz", - "integrity": "sha512-bcEeeXm7GyQCQvN9dwo8htGv8/6tP05p0i02Z7GXm5EoDPlBcqTNGugsjNLoGq6B0SsdyanjJGw0Jw00o1yAOA==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-6.4.3.tgz", + "integrity": "sha512-7x9HaNwDCeoERc4BoEWLieuzKzXu5ZrhRnEM6AUcRXUScQLvF1NFkTlP59+IJfTbEMgcGg1wWHApyoqcksrBpQ==", + "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.9", - "@mui/utils": "^5.15.7", + "@babel/runtime": "^7.26.0", + "@mui/utils": "^6.4.3", "prop-types": "^15.8.1" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/private-theming/node_modules/@mui/utils": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.4.3.tgz", + "integrity": "sha512-jxHRHh3BqVXE9ABxDm+Tc3wlBooYz/4XPa0+4AI+iF38rV1/+btJmSUgG4shDtSWVs/I97aDn5jBCt6SF2Uq2A==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@mui/types": "^7.2.21", + "@types/prop-types": "^15.7.14", + "clsx": "^2.1.1", + "prop-types": "^15.8.1", + "react-is": "^19.0.0" + }, + "engines": { + "node": ">=14.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/mui-org" }, "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { @@ -7917,18 +7774,36 @@ } } }, + "node_modules/@mui/private-theming/node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/@mui/private-theming/node_modules/react-is": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.0.0.tgz", + "integrity": "sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g==", + "license": "MIT" + }, "node_modules/@mui/styled-engine": { - "version": "5.15.7", - "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.15.7.tgz", - "integrity": "sha512-ixSdslOjK1kzdGcxqj7O3d14By/LPQ7EWknsViQ8RaeT863EAQemS+zvUJDTcOpkfJh6q6gPnYMIb2TJCs9eWA==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-6.4.3.tgz", + "integrity": "sha512-OC402VfK+ra2+f12Gef8maY7Y9n7B6CZcoQ9u7mIkh/7PKwW/xH81xwX+yW+Ak1zBT3HYcVjh2X82k5cKMFGoQ==", + "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.9", - "@emotion/cache": "^11.11.0", - "csstype": "^3.1.2", + "@babel/runtime": "^7.26.0", + "@emotion/cache": "^11.13.5", + "@emotion/serialize": "^1.3.3", + "@emotion/sheet": "^1.4.0", + "csstype": "^3.1.3", "prop-types": "^15.8.1" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "funding": { "type": "opencollective", @@ -7937,7 +7812,7 @@ "peerDependencies": { "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", - "react": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@emotion/react": { @@ -7949,21 +7824,22 @@ } }, "node_modules/@mui/system": { - "version": "5.15.7", - "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.15.7.tgz", - "integrity": "sha512-9alZ4/dLxsTwUOdqakgzxiL5YW6ntqj0CfzWImgWnBMTZhgGcPsbYpBLniNkkk7/jptma4/bykWXHwju/ls/pg==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-6.4.3.tgz", + "integrity": "sha512-Q0iDwnH3+xoxQ0pqVbt8hFdzhq1g2XzzR4Y5pVcICTNtoCLJmpJS3vI4y/OIM1FHFmpfmiEC2IRIq7YcZ8nsmg==", + "license": "MIT", "dependencies": { - "@babel/runtime": "^7.23.9", - "@mui/private-theming": "^5.15.7", - "@mui/styled-engine": "^5.15.7", - "@mui/types": "^7.2.13", - "@mui/utils": "^5.15.7", - "clsx": "^2.1.0", - "csstype": "^3.1.2", + "@babel/runtime": "^7.26.0", + "@mui/private-theming": "^6.4.3", + "@mui/styled-engine": "^6.4.3", + "@mui/types": "^7.2.21", + "@mui/utils": "^6.4.3", + "clsx": "^2.1.1", + "csstype": "^3.1.3", "prop-types": "^15.8.1" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "funding": { "type": "opencollective", @@ -7972,8 +7848,8 @@ "peerDependencies": { "@emotion/react": "^11.5.0", "@emotion/styled": "^11.3.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@emotion/react": { @@ -7987,20 +7863,29 @@ } } }, - "node_modules/@mui/system/node_modules/clsx": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.0.tgz", - "integrity": "sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==", + "node_modules/@mui/system/node_modules/@mui/utils": { + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.4.3.tgz", + "integrity": "sha512-jxHRHh3BqVXE9ABxDm+Tc3wlBooYz/4XPa0+4AI+iF38rV1/+btJmSUgG4shDtSWVs/I97aDn5jBCt6SF2Uq2A==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.26.0", + "@mui/types": "^7.2.21", + "@types/prop-types": "^15.7.14", + "clsx": "^2.1.1", + "prop-types": "^15.8.1", + "react-is": "^19.0.0" + }, "engines": { - "node": ">=6" - } - }, - "node_modules/@mui/types": { - "version": "7.2.13", - "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.13.tgz", - "integrity": "sha512-qP9OgacN62s+l8rdDhSFRe05HWtLLJ5TGclC9I1+tQngbssu0m2dmFZs+Px53AcOs9fD7TbYd4gc9AXzVqO/+g==", + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { @@ -8008,26 +7893,28 @@ } } }, - "node_modules/@mui/utils": { - "version": "5.15.7", - "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.15.7.tgz", - "integrity": "sha512-8qhsxQRNV6aEOjjSk6YQIYJxkF5klhj8oG1FEEU4z6HV78TjNqRxMP08QGcdsibEbez+nihAaz6vu83b4XqbAg==", - "dependencies": { - "@babel/runtime": "^7.23.9", - "@types/prop-types": "^15.7.11", - "prop-types": "^15.8.1", - "react-is": "^18.2.0" - }, + "node_modules/@mui/system/node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui-org" - }, + "node": ">=6" + } + }, + "node_modules/@mui/system/node_modules/react-is": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.0.0.tgz", + "integrity": "sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g==", + "license": "MIT" + }, + "node_modules/@mui/types": { + "version": "7.2.21", + "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.21.tgz", + "integrity": "sha512-6HstngiUxNqLU+/DPqlUJDIPbzUBxIVHb1MmXP0eTWDIROiCR2viugXpEif0PPe2mLqqakPzzRClWAnK+8UJww==", + "license": "MIT", "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { @@ -10677,9 +10564,10 @@ "dev": true }, "node_modules/@types/prop-types": { - "version": "15.7.11", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", - "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==" + "version": "15.7.14", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz", + "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==", + "license": "MIT" }, "node_modules/@types/qs": { "version": "6.9.11", @@ -10767,10 +10655,11 @@ } }, "node_modules/@types/react-transition-group": { - "version": "4.4.10", - "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz", - "integrity": "sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==", - "dependencies": { + "version": "4.4.12", + "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.12.tgz", + "integrity": "sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==", + "license": "MIT", + "peerDependencies": { "@types/react": "*" } }, @@ -14673,15 +14562,6 @@ "node": ">=0.10.0" } }, - "node_modules/css-vendor": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/css-vendor/-/css-vendor-2.0.8.tgz", - "integrity": "sha512-x9Aq0XTInxrkuFeHKbYC7zWY8ai7qJ04Kxd9MnvbC1uO5DagxoHQjm4JvG+vCdXOoFtCjbL2XSZfxmoYa9uQVQ==", - "dependencies": { - "@babel/runtime": "^7.8.3", - "is-in-browser": "^1.0.2" - } - }, "node_modules/css-what": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", @@ -18754,11 +18634,6 @@ "url": "https://github.com/sponsors/typicode" } }, - "node_modules/hyphenate-style-name": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz", - "integrity": "sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==" - }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -21134,73 +21009,6 @@ "url": "https://opencollective.com/jss" } }, - "node_modules/jss-plugin-camel-case": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/jss-plugin-camel-case/-/jss-plugin-camel-case-10.10.0.tgz", - "integrity": "sha512-z+HETfj5IYgFxh1wJnUAU8jByI48ED+v0fuTuhKrPR+pRBYS2EDwbusU8aFOpCdYhtRc9zhN+PJ7iNE8pAWyPw==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "hyphenate-style-name": "^1.0.3", - "jss": "10.10.0" - } - }, - "node_modules/jss-plugin-default-unit": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/jss-plugin-default-unit/-/jss-plugin-default-unit-10.10.0.tgz", - "integrity": "sha512-SvpajxIECi4JDUbGLefvNckmI+c2VWmP43qnEy/0eiwzRUsafg5DVSIWSzZe4d2vFX1u9nRDP46WCFV/PXVBGQ==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "jss": "10.10.0" - } - }, - "node_modules/jss-plugin-global": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/jss-plugin-global/-/jss-plugin-global-10.10.0.tgz", - "integrity": "sha512-icXEYbMufiNuWfuazLeN+BNJO16Ge88OcXU5ZDC2vLqElmMybA31Wi7lZ3lf+vgufRocvPj8443irhYRgWxP+A==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "jss": "10.10.0" - } - }, - "node_modules/jss-plugin-nested": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/jss-plugin-nested/-/jss-plugin-nested-10.10.0.tgz", - "integrity": "sha512-9R4JHxxGgiZhurDo3q7LdIiDEgtA1bTGzAbhSPyIOWb7ZubrjQe8acwhEQ6OEKydzpl8XHMtTnEwHXCARLYqYA==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "jss": "10.10.0", - "tiny-warning": "^1.0.2" - } - }, - "node_modules/jss-plugin-props-sort": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/jss-plugin-props-sort/-/jss-plugin-props-sort-10.10.0.tgz", - "integrity": "sha512-5VNJvQJbnq/vRfje6uZLe/FyaOpzP/IH1LP+0fr88QamVrGJa0hpRRyAa0ea4U/3LcorJfBFVyC4yN2QC73lJg==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "jss": "10.10.0" - } - }, - "node_modules/jss-plugin-rule-value-function": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.10.0.tgz", - "integrity": "sha512-uEFJFgaCtkXeIPgki8ICw3Y7VMkL9GEan6SqmT9tqpwM+/t+hxfMUdU4wQ0MtOiMNWhwnckBV0IebrKcZM9C0g==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "jss": "10.10.0", - "tiny-warning": "^1.0.2" - } - }, - "node_modules/jss-plugin-vendor-prefixer": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.10.0.tgz", - "integrity": "sha512-UY/41WumgjW8r1qMCO8l1ARg7NHnfRVWRhZ2E2m0DMYsr2DD91qIXLyNhiX83hHswR7Wm4D+oDYNC1zWCJWtqg==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "css-vendor": "^2.0.8", - "jss": "10.10.0" - } - }, "node_modules/jsx-ast-utils": { "version": "3.3.5", "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", @@ -26058,11 +25866,6 @@ "tslib": "^2.1.0" } }, - "node_modules/popper.js": { - "version": "1.16.1-lts", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1-lts.tgz", - "integrity": "sha512-Kjw8nKRl1m+VrSFCoVGPph93W/qrSO7ZkqPpTf7F4bk/sqcfWK019dWBUpE/fBOsOQY1dks/Bmcbfn1heM/IsA==" - }, "node_modules/postcss": { "version": "8.4.33", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", @@ -33817,7 +33620,6 @@ "atob": "^2.1.2", "babel-jest": "^29.7.0", "dayjs": "^1.11.10", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -33829,12 +33631,12 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { "@ant-design/icons": "^4.0.0 || ^5.0.0", - "@rjsf/core": "^5.20.x", - "@rjsf/utils": "^5.20.x", + "@rjsf/core": "^6.x", + "@rjsf/utils": "^6.x", "antd": "^4.24.0 || ^5.8.5", "dayjs": "^1.8.0", "react": "^16.14.0 || >=17" @@ -34556,7 +34358,6 @@ "@types/react-test-renderer": "^18.0.7", "babel-jest": "^29.7.0", "chakra-react-select": "^3.3.9", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "framer-motion": "^5.6.0", "jest": "^29.7.0", @@ -34570,14 +34371,14 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { "@chakra-ui/icons": ">=1.1.1", - "@chakra-ui/react": ">=1.7.3", + "@chakra-ui/react": ">=1.7.3 <3.0.0", "@chakra-ui/system": ">=1.12.1", - "@rjsf/core": "^5.20.x", - "@rjsf/utils": "^5.20.x", + "@rjsf/core": "^6.x", + "@rjsf/utils": "^6.x", "chakra-react-select": ">=3.3.8", "framer-motion": ">=5.6.0", "react": "^16.14.0 || >=17" @@ -34655,7 +34456,6 @@ "atob": "^2.1.2", "babel-jest": "^29.7.0", "chai": "^3.5.0", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "html": "^1.0.0", "jest": "^29.7.0", @@ -34672,10 +34472,10 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { - "@rjsf/utils": "^5.20.x", + "@rjsf/utils": "^6.x", "react": "^16.14.0 || >=17" } }, @@ -34769,7 +34569,6 @@ "@types/react-dom": "^18.2.19", "@types/react-test-renderer": "^18.0.7", "babel-jest": "^29.7.0", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -34781,12 +34580,12 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { "@fluentui/react": ">= 7", - "@rjsf/core": "^5.20.x", - "@rjsf/utils": "^5.20.x", + "@rjsf/core": "^6.x", + "@rjsf/utils": "^6.x", "react": "^16.14.0 || >=17" } }, @@ -34815,7 +34614,6 @@ "@types/react-dom": "^18.2.19", "@types/react-test-renderer": "^18.0.7", "babel-jest": "^29.7.0", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -34827,10 +34625,10 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { - "@rjsf/utils": "^5.20.x", + "@rjsf/utils": "^6.x", "react": "^16.14.0 || >=17" } }, @@ -34892,9 +34690,8 @@ "@emotion/jest": "^11.11.0", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", - "@mui/base": "5.0.0-beta.28", - "@mui/icons-material": "5.15.2", - "@mui/material": "5.15.2", + "@mui/icons-material": "^6.4.3", + "@mui/material": "^6.4.3", "@rjsf/core": "^6.0.0-alpha.0", "@rjsf/snapshot-tests": "^6.0.0-alpha.0", "@rjsf/utils": "^6.0.0-alpha.0", @@ -34904,7 +34701,6 @@ "@types/react-dom": "^18.2.19", "@types/react-test-renderer": "^18.0.7", "babel-jest": "^29.7.0", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -34917,15 +34713,15 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { "@emotion/react": "^11.7.0", "@emotion/styled": "^11.6.0", - "@mui/icons-material": "^5.2.0", - "@mui/material": "^5.2.2", - "@rjsf/core": "^5.20.x", - "@rjsf/utils": "^5.20.x", + "@mui/icons-material": "^6.0.0", + "@mui/material": "^6.0.0", + "@rjsf/core": "^6.x", + "@rjsf/utils": "^6.x", "react": ">=17" } }, @@ -34939,16 +34735,14 @@ "@chakra-ui/icons": "^1.1.7", "@chakra-ui/react": "^1.8.9", "@fluentui/react": "^8.115.3", - "@material-ui/core": "^4.12.4", - "@mui/base": "5.0.0-beta.28", - "@mui/material": "5.15.2", + "@mui/material": "^6.4.3", "@rjsf/antd": "^6.0.0-alpha.0", "@rjsf/chakra-ui": "^6.0.0-alpha.0", "@rjsf/core": "^6.0.0-alpha.0", "@rjsf/fluent-ui": "^6.0.0-alpha.0", "@rjsf/fluentui-rc": "^6.0.0-alpha.0", "@rjsf/mui": "^6.0.0-alpha.0", - "@rjsf/react-bootstrap": "file:../react-bootstrap", + "@rjsf/react-bootstrap": "^6.0.0-alpha.0", "@rjsf/semantic-ui": "^6.0.0-alpha.0", "@rjsf/utils": "^6.0.0-alpha.0", "@rjsf/validator-ajv6": "^6.0.0-alpha.0", @@ -34990,14 +34784,13 @@ "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@monaco-editor/react": "^4.6.0", - "@mui/icons-material": "5.15.2", + "@mui/icons-material": "^6.4.3", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", "@types/node": "^20.11.20", "@types/react-frame-component": "^4.1.6", "@vitejs/plugin-react": "^4.2.1", "cross-env": "^7.0.3", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "gh-pages": "^5.0.0", "html": "^1.0.0", @@ -35015,7 +34808,7 @@ "vite": "^4.5.2" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { "react": "^18.2.0" @@ -35093,7 +34886,6 @@ "@types/react-dom": "^18.2.19", "@types/react-test-renderer": "^18.0.7", "babel-jest": "^29.7.0", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -35106,11 +34898,11 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { - "@rjsf/core": "^5.20.x", - "@rjsf/utils": "^5.20.x", + "@rjsf/core": "^6.x", + "@rjsf/utils": "^6.x", "react": "^16.14.0 || >=17", "react-bootstrap": "^2.0.0" } @@ -35170,7 +34962,6 @@ "@types/react-test-renderer": "^18.0.7", "atob": "^2.1.2", "babel-jest": "^29.7.0", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -35184,11 +34975,11 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { - "@rjsf/core": "^5.20.x", - "@rjsf/utils": "^5.20.x", + "@rjsf/core": "^6.x", + "@rjsf/utils": "^6.x", "react": "^16.14.0 || >=17", "semantic-ui-react": "^1.3.1 || ^2.1.3" } @@ -35212,7 +35003,7 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { "react": "^16.14.0 || >=17", @@ -35246,7 +35037,6 @@ "@types/react-test-renderer": "^18.0.7", "babel-jest": "^29.7.0", "deep-freeze-es6": "^1.4.1", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -35257,7 +35047,7 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { "react": "^16.14.0 || >=17" @@ -35284,7 +35074,6 @@ "@types/json-schema": "^7.0.15", "@types/lodash": "^4.14.202", "babel-jest": "^29.7.0", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -35293,10 +35082,10 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { - "@rjsf/utils": "^5.20.x" + "@rjsf/utils": "^6.x" } }, "packages/validator-ajv8": { @@ -35321,7 +35110,6 @@ "@types/json-schema": "^7.0.15", "@types/lodash": "^4.14.202", "babel-jest": "^29.7.0", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -35330,10 +35118,10 @@ "typescript": "^4.9.5" }, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { - "@rjsf/utils": "^5.20.x" + "@rjsf/utils": "^6.x" } }, "packages/validator-ajv8/node_modules/ajv": { diff --git a/package.json b/package.json index 6ce896d966..41a92e97cf 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "description": "monorepo for react-jsonschema-form and its themes", "engines": { - "node": ">=14" + "node": ">=20" }, "scripts": { "publish-repo": "lerna publish", diff --git a/packages/antd/package.json b/packages/antd/package.json index bfcc087039..b5143d22aa 100644 --- a/packages/antd/package.json +++ b/packages/antd/package.json @@ -30,12 +30,12 @@ ], "engineStrict": false, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { "@ant-design/icons": "^4.0.0 || ^5.0.0", - "@rjsf/core": "^5.20.x", - "@rjsf/utils": "^5.20.x", + "@rjsf/core": "^6.x", + "@rjsf/utils": "^6.x", "antd": "^4.24.0 || ^5.8.5", "dayjs": "^1.8.0", "react": "^16.14.0 || >=17" @@ -70,7 +70,6 @@ "atob": "^2.1.2", "babel-jest": "^29.7.0", "dayjs": "^1.11.10", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", diff --git a/packages/chakra-ui/package.json b/packages/chakra-ui/package.json index 9592e03771..1dd8245a75 100644 --- a/packages/chakra-ui/package.json +++ b/packages/chakra-ui/package.json @@ -31,14 +31,14 @@ }, "engineStrict": false, "engines": { - "node": ">=14" + "node": ">=20" }, "peerDependencies": { "@chakra-ui/icons": ">=1.1.1", - "@chakra-ui/react": ">=1.7.3", + "@chakra-ui/react": ">=1.7.3 <3.0.0", "@chakra-ui/system": ">=1.12.1", - "@rjsf/core": "^5.20.x", - "@rjsf/utils": "^5.20.x", + "@rjsf/core": "^6.x", + "@rjsf/utils": "^6.x", "chakra-react-select": ">=3.3.8", "framer-motion": ">=5.6.0", "react": "^16.14.0 || >=17" @@ -78,7 +78,6 @@ "@types/react-test-renderer": "^18.0.7", "babel-jest": "^29.7.0", "chakra-react-select": "^3.3.9", - "esbuild": "^0.18.20", "eslint": "^8.56.0", "framer-motion": "^5.6.0", "jest": "^29.7.0", diff --git a/packages/chakra-ui/test/__snapshots__/Array.test.tsx.snap b/packages/chakra-ui/test/__snapshots__/Array.test.tsx.snap index d34be03ff6..1c9bf20d36 100644 --- a/packages/chakra-ui/test/__snapshots__/Array.test.tsx.snap +++ b/packages/chakra-ui/test/__snapshots__/Array.test.tsx.snap @@ -14,9 +14,6 @@ exports[`array fields array 1`] = ` } .emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; display: inline-flex; -webkit-appearance: none; -moz-appearance: none; @@ -43,9 +40,6 @@ exports[`array fields array 1`] = ` } .emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; display: inline-flex; -webkit-align-self: center; -ms-flex-item-align: center; @@ -149,9 +143,6 @@ exports[`array fields array icons 1`] = ` } .emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; display: flex; -webkit-align-items: flex-end; -webkit-box-align: flex-end; @@ -182,9 +173,6 @@ exports[`array fields array icons 1`] = ` } .emotion-10 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; display: inline-flex; margin-bottom: 1px; } @@ -204,9 +192,6 @@ exports[`array fields array icons 1`] = ` } .emotion-11 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; display: inline-flex; -webkit-appearance: none; -moz-appearance: none; @@ -259,9 +244,6 @@ exports[`array fields array icons 1`] = ` } .emotion-36 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; display: inline-flex; -webkit-appearance: none; -moz-appearance: none; @@ -288,9 +270,6 @@ exports[`array fields array icons 1`] = ` } .emotion-37 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; display: inline-flex; -webkit-align-self: center; -ms-flex-item-align: center; @@ -661,9 +640,6 @@ exports[`array fields checkboxes 1`] = ` } .emotion-5 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; display: flex; padding: 0px; overflow: hidden; @@ -672,9 +648,6 @@ exports[`array fields checkboxes 1`] = ` } .emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; display: flex; -webkit-align-items: center; -webkit-box-align: center; @@ -752,9 +725,6 @@ exports[`array fields checkboxes 1`] = ` } .emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; display: flex; -webkit-align-items: center; -webkit-box-align: center; @@ -776,9 +746,6 @@ exports[`array fields checkboxes 1`] = ` } .emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; display: flex; -webkit-align-items: center; -webkit-box-align: center; @@ -812,9 +779,6 @@ exports[`array fields checkboxes 1`] = ` } .emotion-15 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; display: inline-flex; -webkit-appearance: none; -moz-appearance: none; @@ -857,7 +821,7 @@ exports[`array fields checkboxes 1`] = ` role="group" >

Select...