@matrix-widget-toolkit/mui 2.1.2 → 2.2.0
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/build/cjs/index.cjs
CHANGED
|
@@ -1009,7 +1009,7 @@ function MissingParametersError(_a) {
|
|
|
1009
1009
|
|
|
1010
1010
|
function MobileClientError() {
|
|
1011
1011
|
var t = reactI18next.useTranslation('widget-toolkit').t;
|
|
1012
|
-
return (jsxRuntime.jsx(material.Box, { m: 2, children: jsxRuntime.jsxs(material.Alert, { severity: "error", icon: jsxRuntime.jsx(ErrorIcon__default.default, {}), children: [jsxRuntime.jsx(material.AlertTitle, { children: t('mobile-client.title', 'Mobile clients are not supported') }), t('mobile-client.instructions', "The widget doesn't work in mobile clients due to technical limitations. Open the widget on
|
|
1012
|
+
return (jsxRuntime.jsx(material.Box, { m: 2, children: jsxRuntime.jsxs(material.Alert, { severity: "error", icon: jsxRuntime.jsx(ErrorIcon__default.default, {}), children: [jsxRuntime.jsx(material.AlertTitle, { children: t('mobile-client.title', 'Mobile clients are not supported') }), t('mobile-client.instructions', "The widget doesn't work in mobile clients due to technical limitations. Open the widget on your Desktop or Web client.")] }) }));
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
function OutsideClientError() {
|
package/build/esm/index.js
CHANGED
|
@@ -997,7 +997,7 @@ function MissingParametersError(_a) {
|
|
|
997
997
|
|
|
998
998
|
function MobileClientError() {
|
|
999
999
|
var t = useTranslation('widget-toolkit').t;
|
|
1000
|
-
return (jsx(Box, { m: 2, children: jsxs(Alert, { severity: "error", icon: jsx(ErrorIcon, {}), children: [jsx(AlertTitle, { children: t('mobile-client.title', 'Mobile clients are not supported') }), t('mobile-client.instructions', "The widget doesn't work in mobile clients due to technical limitations. Open the widget on
|
|
1000
|
+
return (jsx(Box, { m: 2, children: jsxs(Alert, { severity: "error", icon: jsx(ErrorIcon, {}), children: [jsx(AlertTitle, { children: t('mobile-client.title', 'Mobile clients are not supported') }), t('mobile-client.instructions', "The widget doesn't work in mobile clients due to technical limitations. Open the widget on your Desktop or Web client.")] }) }));
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
function OutsideClientError() {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"title": "Wrong widget registration"
|
|
31
31
|
},
|
|
32
32
|
"mobile-client": {
|
|
33
|
-
"instructions": "The widget doesn't work in mobile clients due to technical limitations. Open the widget on
|
|
33
|
+
"instructions": "The widget doesn't work in mobile clients due to technical limitations. Open the widget on your Desktop or Web client.",
|
|
34
34
|
"title": "Mobile clients are not supported"
|
|
35
35
|
},
|
|
36
36
|
"outside-client": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matrix-widget-toolkit/mui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
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.
|
|
26
|
+
"@testing-library/react": "16.3.0",
|
|
27
27
|
"@testing-library/user-event": "14.6.1",
|
|
28
|
-
"@types/node": "22.
|
|
29
|
-
"@types/react": "18.3.
|
|
30
|
-
"@vitest/coverage-v8": "3.
|
|
31
|
-
"axe-core": "4.10.
|
|
28
|
+
"@types/node": "22.15.35",
|
|
29
|
+
"@types/react": "18.3.23",
|
|
30
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
31
|
+
"axe-core": "4.10.3",
|
|
32
32
|
"copyfiles": "2.4.1",
|
|
33
33
|
"i18next-parser": "9.3.0",
|
|
34
|
-
"typescript": "5.
|
|
35
|
-
"vite": "6.
|
|
36
|
-
"vitest": "3.
|
|
34
|
+
"typescript": "5.8.3",
|
|
35
|
+
"vite": "6.3.5",
|
|
36
|
+
"vitest": "3.2.4"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "18.3.1"
|
|
@@ -57,18 +57,18 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@emotion/cache": "11.14.0",
|
|
59
59
|
"@emotion/react": "11.14.0",
|
|
60
|
-
"@emotion/styled": "11.14.
|
|
60
|
+
"@emotion/styled": "11.14.1",
|
|
61
61
|
"@fontsource/inter": "5.1.1",
|
|
62
|
-
"@matrix-widget-toolkit/api": "^
|
|
63
|
-
"@matrix-widget-toolkit/react": "^2.0
|
|
64
|
-
"@mui/icons-material": "6.4.
|
|
65
|
-
"@mui/material": "6.4.
|
|
66
|
-
"@mui/utils": "6.4.
|
|
67
|
-
"i18next": "
|
|
68
|
-
"i18next-browser-languagedetector": "8.0.
|
|
62
|
+
"@matrix-widget-toolkit/api": "^5.0.0",
|
|
63
|
+
"@matrix-widget-toolkit/react": "^2.1.0",
|
|
64
|
+
"@mui/icons-material": "6.4.12",
|
|
65
|
+
"@mui/material": "6.4.12",
|
|
66
|
+
"@mui/utils": "6.4.9",
|
|
67
|
+
"i18next": "25.2.1",
|
|
68
|
+
"i18next-browser-languagedetector": "8.0.5",
|
|
69
69
|
"i18next-resources-to-backend": "1.2.1",
|
|
70
70
|
"matrix-widget-api": "1.13.1",
|
|
71
|
-
"react-i18next": "15.
|
|
71
|
+
"react-i18next": "15.5.3",
|
|
72
72
|
"react-use": "17.6.0"
|
|
73
73
|
},
|
|
74
74
|
"repository": {
|