Merge pull request #15941 from dagda1/upgrade-rjsf-to-beta-17

Upgrade @rjsf v5 dependencies to beta.18
This commit is contained in:
Ben Lambert
2023-01-25 13:25:04 +01:00
committed by GitHub
5 changed files with 39 additions and 34 deletions
+4 -4
View File
@@ -47,11 +47,11 @@
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
"@rjsf/core": "^3.2.1",
"@rjsf/core-v5": "npm:@rjsf/core@5.0.0-beta.16",
"@rjsf/core-v5": "npm:@rjsf/core@5.0.0-beta.18",
"@rjsf/material-ui": "^3.2.1",
"@rjsf/material-ui-v5": "npm:@rjsf/material-ui@5.0.0-beta.16",
"@rjsf/utils": "5.0.0-beta.16",
"@rjsf/validator-ajv6": "5.0.0-beta.16",
"@rjsf/material-ui-v5": "npm:@rjsf/material-ui@5.0.0-beta.18",
"@rjsf/utils": "5.0.0-beta.18",
"@rjsf/validator-ajv8": "5.0.0-beta.18",
"@types/json-schema": "^7.0.9",
"classnames": "^2.2.6",
"json-schema": "^0.4.0",
@@ -30,7 +30,7 @@ import { TemplateParameterSchema } from '../../../types';
import { createAsyncValidators } from './createAsyncValidators';
import { ReviewState, type ReviewStateProps } from '../ReviewState';
import { useTemplateSchema } from '../../hooks/useTemplateSchema';
import validator from '@rjsf/validator-ajv6';
import validator from '@rjsf/validator-ajv8';
import { useFormDataFromQuery } from '../../hooks';
import type { FormProps, LayoutOptions } from '../../types';
import { useTransformSchemaToProps } from '../../hooks/useTransformSchemaToProps';
@@ -125,9 +125,9 @@ export const Stepper = (stepperProps: StepperProps) => {
);
const handleNext = async ({
formData,
formData = {},
}: {
formData: Record<string, JsonValue>;
formData?: Record<string, JsonValue>;
}) => {
// TODO(blam): What do we do about loading states, does each field extension get a chance
// to display it's own loading? Or should we grey out the entire form.
+1 -2
View File
@@ -56,9 +56,8 @@
"@material-ui/lab": "4.0.0-alpha.57",
"@react-hookz/web": "^20.0.0",
"@rjsf/core": "^3.2.1",
"@rjsf/core-v5": "npm:@rjsf/core@5.0.0-beta.16",
"@rjsf/material-ui": "^3.2.1",
"@rjsf/utils": "5.0.0-beta.16",
"@rjsf/utils": "5.0.0-beta.18",
"@uiw/react-codemirror": "^4.9.3",
"classnames": "^2.2.6",
"git-url-parse": "^13.0.0",