@matrix-widget-toolkit/mui 2.1.1 → 2.1.2

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.
@@ -285,6 +285,9 @@ var baseTheme = {
285
285
  },
286
286
  // Dialogs have a different padding and font style
287
287
  MuiDialog: {
288
+ defaultProps: {
289
+ container: container,
290
+ },
288
291
  styleOverrides: {
289
292
  root: {
290
293
  // Make margin smaller for scroll=body
@@ -858,7 +861,7 @@ var colors = {
858
861
  },
859
862
  };
860
863
  var StyledAvatar = material.styled(material.Avatar, {
861
- shouldForwardProp: function (p) { return p !== 'color'; },
864
+ shouldForwardProp: function (p) { return !['color', 'colorHash'].includes(p); },
862
865
  })(function (_a) {
863
866
  var theme = _a.theme, colorHash = _a.colorHash;
864
867
  return ({
@@ -273,6 +273,9 @@ var baseTheme = {
273
273
  },
274
274
  // Dialogs have a different padding and font style
275
275
  MuiDialog: {
276
+ defaultProps: {
277
+ container: container,
278
+ },
276
279
  styleOverrides: {
277
280
  root: {
278
281
  // Make margin smaller for scroll=body
@@ -846,7 +849,7 @@ var colors = {
846
849
  },
847
850
  };
848
851
  var StyledAvatar = styled(Avatar, {
849
- shouldForwardProp: function (p) { return p !== 'color'; },
852
+ shouldForwardProp: function (p) { return !['color', 'colorHash'].includes(p); },
850
853
  })(function (_a) {
851
854
  var theme = _a.theme, colorHash = _a.colorHash;
852
855
  return ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matrix-widget-toolkit/mui",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "A customized material-ui theme that matches the style of the Element Matrix client",
5
5
  "author": "Nordeck IT + Consulting GmbH",
6
6
  "license": "Apache-2.0",
@@ -23,17 +23,17 @@
23
23
  "type": "module",
24
24
  "devDependencies": {
25
25
  "@testing-library/jest-dom": "6.6.3",
26
- "@testing-library/react": "16.1.0",
27
- "@testing-library/user-event": "14.5.2",
28
- "@types/node": "22.10.1",
29
- "@types/react": "18.3.14",
30
- "@vitest/coverage-v8": "2.1.8",
26
+ "@testing-library/react": "16.2.0",
27
+ "@testing-library/user-event": "14.6.1",
28
+ "@types/node": "22.13.5",
29
+ "@types/react": "18.3.18",
30
+ "@vitest/coverage-v8": "3.0.7",
31
31
  "axe-core": "4.10.2",
32
32
  "copyfiles": "2.4.1",
33
- "i18next-parser": "9.0.2",
34
- "typescript": "5.7.2",
35
- "vite": "5.4.11",
36
- "vitest": "2.1.8"
33
+ "i18next-parser": "9.3.0",
34
+ "typescript": "5.7.3",
35
+ "vite": "6.2.0",
36
+ "vitest": "3.0.7"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "18.3.1"
@@ -49,24 +49,27 @@
49
49
  "postpack": "node ../../scripts/postpack.js",
50
50
  "translate": "i18next src/**/*.{ts,tsx}",
51
51
  "check-api-report": "api-extractor run --verbose",
52
- "generate-api-report": "tsc && api-extractor run --verbose --local"
52
+ "generate-api-report": "tsc && api-extractor run --verbose --local",
53
+ "clean": "yarn run clean:build",
54
+ "clean:build": "rm -rf lib",
55
+ "clean:cache": "echo 'script not implemented package'"
53
56
  },
54
57
  "dependencies": {
55
58
  "@emotion/cache": "11.14.0",
56
59
  "@emotion/react": "11.14.0",
57
60
  "@emotion/styled": "11.14.0",
58
- "@fontsource/inter": "5.1.0",
59
- "@matrix-widget-toolkit/api": "^4.0.0",
60
- "@matrix-widget-toolkit/react": "^2.0.4",
61
- "@mui/icons-material": "6.1.10",
62
- "@mui/material": "6.1.10",
63
- "@mui/utils": "6.1.10",
64
- "i18next": "24.0.5",
65
- "i18next-browser-languagedetector": "8.0.2",
61
+ "@fontsource/inter": "5.1.1",
62
+ "@matrix-widget-toolkit/api": "^4.1.0",
63
+ "@matrix-widget-toolkit/react": "^2.0.5",
64
+ "@mui/icons-material": "6.4.5",
65
+ "@mui/material": "6.4.5",
66
+ "@mui/utils": "6.4.3",
67
+ "i18next": "24.2.2",
68
+ "i18next-browser-languagedetector": "8.0.4",
66
69
  "i18next-resources-to-backend": "1.2.1",
67
- "matrix-widget-api": "1.10.0",
68
- "react-i18next": "15.1.3",
69
- "react-use": "17.5.1"
70
+ "matrix-widget-api": "1.13.1",
71
+ "react-i18next": "15.4.1",
72
+ "react-use": "17.6.0"
70
73
  },
71
74
  "repository": {
72
75
  "type": "git",