Merge pull request #17532 from backstage/blam/home/rjfs

[home] include required dependencies and use later version
This commit is contained in:
Ben Lambert
2023-04-27 11:02:03 +02:00
committed by GitHub
4 changed files with 17 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-home': patch
---
Bump to using the later v5 versions of `@rjsf/*`
+3 -2
View File
@@ -42,9 +42,10 @@
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
"@rjsf/core": "^3.2.1",
"@rjsf/material-ui": "^3.2.1",
"@rjsf/core-v5": "npm:@rjsf/core@5.6.0",
"@rjsf/material-ui": "5.6.0",
"@rjsf/utils": "5.6.0",
"@rjsf/validator-ajv8": "5.6.0",
"@types/react": "^16.13.1 || ^17.0.0",
"lodash": "^4.17.21",
"object-hash": "^3.0.0",
@@ -27,7 +27,10 @@ import SettingsIcon from '@material-ui/icons/Settings';
import DeleteIcon from '@material-ui/icons/Delete';
import React from 'react';
import { Widget } from './types';
import Form from '@rjsf/material-ui';
import { withTheme } from '@rjsf/core-v5';
import validator from '@rjsf/validator-ajv8';
const Form = withTheme(require('@rjsf/material-ui').Theme);
const useStyles = makeStyles((theme: Theme) =>
createStyles({
@@ -72,6 +75,7 @@ export const WidgetSettingsOverlay = (props: WidgetSettingsOverlayProps) => {
>
<DialogContent>
<Form
validator={validator}
showErrorList={false}
schema={widget.settingsSchema}
noHtml5Validate
+4 -3
View File
@@ -6975,9 +6975,10 @@ __metadata:
"@material-ui/core": ^4.12.2
"@material-ui/icons": ^4.9.1
"@material-ui/lab": 4.0.0-alpha.61
"@rjsf/core": ^3.2.1
"@rjsf/material-ui": ^3.2.1
"@rjsf/core-v5": "npm:@rjsf/core@5.6.0"
"@rjsf/material-ui": 5.6.0
"@rjsf/utils": 5.6.0
"@rjsf/validator-ajv8": 5.6.0
"@testing-library/dom": ^8.0.0
"@testing-library/jest-dom": ^5.10.1
"@testing-library/react": ^12.1.3
@@ -13743,7 +13744,7 @@ __metadata:
languageName: node
linkType: hard
"@rjsf/material-ui-v5@npm:@rjsf/material-ui@5.6.0":
"@rjsf/material-ui-v5@npm:@rjsf/material-ui@5.6.0, @rjsf/material-ui@npm:5.6.0":
version: 5.6.0
resolution: "@rjsf/material-ui@npm:5.6.0"
peerDependencies: