@matrix-widget-toolkit/mui 1.0.1 → 1.0.3

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # `@matrix-widget-toolkit/mui`
2
2
 
3
+ [![@matrix-widget-toolkit/mui](https://img.shields.io/npm/v/@matrix-widget-toolkit/mui)](https://www.npmjs.com/package/@matrix-widget-toolkit/mui)
4
+
3
5
  This package provides a [Mui](https://mui.com/) theme that fits to the default Element theme.
4
6
  It provides:
5
7
 
@@ -372,8 +372,9 @@ var baseTheme = {
372
372
  root: function (_a) {
373
373
  var theme = _a.theme;
374
374
  return ({
375
- backgroundColor: theme.palette.mode === 'dark' ? '#000' : 'rgba(46,48,51,.38)',
376
- opacity: 0.8,
375
+ backgroundColor: theme.palette.mode === 'dark'
376
+ ? 'rgba(0,0,0,.8)'
377
+ : 'rgba(46,48,51,.304)',
377
378
  });
378
379
  },
379
380
  invisible: {
@@ -360,8 +360,9 @@ var baseTheme = {
360
360
  root: function (_a) {
361
361
  var theme = _a.theme;
362
362
  return ({
363
- backgroundColor: theme.palette.mode === 'dark' ? '#000' : 'rgba(46,48,51,.38)',
364
- opacity: 0.8,
363
+ backgroundColor: theme.palette.mode === 'dark'
364
+ ? 'rgba(0,0,0,.8)'
365
+ : 'rgba(46,48,51,.304)',
365
366
  });
366
367
  },
367
368
  invisible: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matrix-widget-toolkit/mui",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
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",
@@ -14,11 +14,11 @@
14
14
  "@testing-library/user-event": "^14.4.3",
15
15
  "@types/jest": "^27.5.2",
16
16
  "@types/jest-axe": "^3.5.5",
17
- "@types/node": "^16.11.64",
17
+ "@types/node": "^16.18.3",
18
18
  "@types/react": "^17.0.45",
19
19
  "copyfiles": "^2.4.1",
20
20
  "i18next-parser": "^6.6.0",
21
- "jest-axe": "^6.0.0",
21
+ "jest-axe": "^7.0.0",
22
22
  "react": "^17.0.2",
23
23
  "react-scripts": "5.0.1",
24
24
  "typescript": "^4.8.4"
@@ -37,22 +37,22 @@
37
37
  "generate-api-report": "tsc && api-extractor run --verbose --local"
38
38
  },
39
39
  "dependencies": {
40
- "@emotion/cache": "^11.10.3",
41
- "@emotion/react": "^11.10.4",
42
- "@emotion/styled": "^11.10.4",
43
- "@fontsource/inter": "^4.5.12",
44
- "@mui/icons-material": "^5.10.3",
45
- "@mui/material": "^5.10.8",
46
- "@mui/utils": "^5.10.6",
40
+ "@emotion/cache": "^11.10.5",
41
+ "@emotion/react": "^11.10.5",
42
+ "@emotion/styled": "^11.10.5",
43
+ "@fontsource/inter": "^4.5.14",
44
+ "@mui/icons-material": "^5.10.9",
45
+ "@mui/material": "^5.10.12",
46
+ "@mui/utils": "^5.10.9",
47
47
  "@matrix-widget-toolkit/api": "^1.0.1",
48
- "@matrix-widget-toolkit/react": "^1.0.1",
49
- "i18next": "^21.10.0",
50
- "i18next-browser-languagedetector": "^6.1.5",
48
+ "@matrix-widget-toolkit/react": "^1.0.2",
49
+ "i18next": "^22.0.4",
50
+ "i18next-browser-languagedetector": "^7.0.1",
51
51
  "i18next-resources-to-backend": "^1.0.0",
52
52
  "matrix-widget-api": "^1.1.1",
53
53
  "react": "^17.0.2",
54
- "react-i18next": "^11.18.6",
55
- "react-use": "^17.3.2"
54
+ "react-i18next": "^12.0.0",
55
+ "react-use": "^17.4.0"
56
56
  },
57
57
  "repository": {
58
58
  "type": "git",