@rjsf/mui 5.15.1 → 5.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rjsf/mui",
3
- "version": "5.15.1",
3
+ "version": "5.16.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -36,41 +36,42 @@
36
36
  "@emotion/styled": "^11.6.0",
37
37
  "@mui/icons-material": "^5.2.0",
38
38
  "@mui/material": "^5.2.2",
39
- "@rjsf/core": "^5.12.x",
40
- "@rjsf/utils": "^5.12.x",
39
+ "@rjsf/core": "^5.16.x",
40
+ "@rjsf/utils": "^5.16.x",
41
41
  "react": ">=17"
42
42
  },
43
43
  "devDependencies": {
44
- "@babel/core": "^7.22.17",
44
+ "@babel/core": "^7.23.7",
45
45
  "@babel/plugin-proposal-class-properties": "^7.18.6",
46
46
  "@babel/plugin-proposal-optional-chaining": "^7.21.0",
47
- "@babel/preset-env": "^7.22.15",
48
- "@babel/preset-react": "^7.22.15",
49
- "@babel/preset-typescript": "^7.22.15",
47
+ "@babel/preset-env": "^7.23.7",
48
+ "@babel/preset-react": "^7.23.3",
49
+ "@babel/preset-typescript": "^7.23.3",
50
50
  "@emotion/jest": "^11.11.0",
51
- "@emotion/react": "^11.11.1",
51
+ "@emotion/react": "^11.11.3",
52
52
  "@emotion/styled": "^11.11.0",
53
- "@mui/icons-material": "^5.14.8",
54
- "@mui/material": "^5.14.8",
55
- "@rjsf/core": "^5.15.1",
56
- "@rjsf/snapshot-tests": "^5.15.1",
57
- "@rjsf/utils": "^5.15.1",
58
- "@rjsf/validator-ajv8": "^5.15.1",
59
- "@types/jest": "^29.5.7",
60
- "@types/react": "^17.0.65",
61
- "@types/react-dom": "^17.0.20",
62
- "@types/react-test-renderer": "^17.0.3",
63
- "babel-jest": "^29.6.4",
53
+ "@mui/base": "5.0.0-beta.28",
54
+ "@mui/icons-material": "5.15.2",
55
+ "@mui/material": "5.15.2",
56
+ "@rjsf/core": "^5.16.1",
57
+ "@rjsf/snapshot-tests": "^5.16.1",
58
+ "@rjsf/utils": "^5.16.1",
59
+ "@rjsf/validator-ajv8": "^5.16.1",
60
+ "@types/jest": "^29.5.11",
61
+ "@types/react": "^17.0.74",
62
+ "@types/react-dom": "^17.0.25",
63
+ "@types/react-test-renderer": "^17.0.9",
64
+ "babel-jest": "^29.7.0",
64
65
  "esbuild": "^0.18.20",
65
- "eslint": "^8.48.0",
66
- "jest": "^29.6.4",
67
- "jest-environment-jsdom": "^29.6.4",
66
+ "eslint": "^8.56.0",
67
+ "jest": "^29.7.0",
68
+ "jest-environment-jsdom": "^29.7.0",
68
69
  "jest-watch-typeahead": "^2.2.2",
69
70
  "react": "^17.0.2",
70
71
  "react-dom": "^17.0.2",
71
72
  "react-test-renderer": "^17.0.2",
72
- "rimraf": "^5.0.1",
73
- "rollup": "^3.29.0",
73
+ "rimraf": "^5.0.5",
74
+ "rollup": "^3.29.4",
74
75
  "typescript": "^4.9.5"
75
76
  },
76
77
  "publishConfig": {
@@ -99,5 +100,5 @@
99
100
  "url": "git+https://github.com/rjsf-team/react-jsonschema-form.git"
100
101
  },
101
102
  "license": "Apache-2.0",
102
- "gitHead": "61dc9b87f52de3402dd369d11a7eb931d666bb6e"
103
+ "gitHead": "0fc3cb0922247968c5553e6caa1a9ee2d882c6cf"
103
104
  }
@@ -19,11 +19,13 @@ export default function FieldErrorTemplate<
19
19
  const id = errorId<T>(idSchema);
20
20
 
21
21
  return (
22
- <List dense={true} disablePadding={true}>
22
+ <List id={id} dense={true} disablePadding={true}>
23
23
  {errors.map((error, i: number) => {
24
24
  return (
25
25
  <ListItem key={i} disableGutters={true}>
26
- <FormHelperText id={id}>{error}</FormHelperText>
26
+ <FormHelperText component='div' id={`${id}-${i}`}>
27
+ {error}
28
+ </FormHelperText>
27
29
  </ListItem>
28
30
  );
29
31
  })}
@@ -15,5 +15,9 @@ export default function FieldHelpTemplate<
15
15
  return null;
16
16
  }
17
17
  const id = helpId<T>(idSchema);
18
- return <FormHelperText id={id}>{help}</FormHelperText>;
18
+ return (
19
+ <FormHelperText component='div' id={id}>
20
+ {help}
21
+ </FormHelperText>
22
+ );
19
23
  }