@matrix-widget-toolkit/mui 2.0.4 → 2.0.6
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.js +2 -2
- package/build/esm/index.js +2 -2
- package/build/index.d.ts +1 -1
- package/package.json +25 -20
package/build/cjs/index.js
CHANGED
|
@@ -873,8 +873,8 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
873
873
|
});
|
|
874
874
|
};
|
|
875
875
|
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
876
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
877
|
-
return g =
|
|
876
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
877
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
878
878
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
879
879
|
function step(op) {
|
|
880
880
|
if (f) throw new TypeError("Generator is already executing.");
|
package/build/esm/index.js
CHANGED
|
@@ -861,8 +861,8 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
861
861
|
});
|
|
862
862
|
};
|
|
863
863
|
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
864
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
865
|
-
return g =
|
|
864
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
865
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
866
866
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
867
867
|
function step(op) {
|
|
868
868
|
if (f) throw new TypeError("Generator is already executing.");
|
package/build/index.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ export declare function MuiThemeProvider({ children, }: MuiThemeProviderProps):
|
|
|
98
98
|
/**
|
|
99
99
|
* Props for the {@link MuiThemeProvider} component.
|
|
100
100
|
*/
|
|
101
|
-
export declare type MuiThemeProviderProps = PropsWithChildren
|
|
101
|
+
export declare type MuiThemeProviderProps = PropsWithChildren;
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
104
|
* Provides the `WidgetApi` in the React context once it's fully
|
package/package.json
CHANGED
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matrix-widget-toolkit/mui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
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",
|
|
7
7
|
"source": "./src/index.ts",
|
|
8
|
-
"module": "./build/esm/index.js",
|
|
9
8
|
"types": "./build/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
"import": "./build/esm/index.js",
|
|
11
|
+
"require": "./build/cjs/index.js",
|
|
12
|
+
"types": "./build/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"type": "module",
|
|
10
15
|
"devDependencies": {
|
|
11
|
-
"@craco/craco": "^7.1.0",
|
|
12
16
|
"@testing-library/jest-dom": "^6.5.0",
|
|
13
17
|
"@testing-library/react": "^16.0.1",
|
|
14
18
|
"@testing-library/user-event": "^14.5.2",
|
|
15
|
-
"@types/
|
|
16
|
-
"@types/
|
|
17
|
-
"@types/lodash": "^4.17.7",
|
|
18
|
-
"@types/node": "^22.5.3",
|
|
19
|
+
"@types/lodash-es": "^4.17.10",
|
|
20
|
+
"@types/node": "^22.7.5",
|
|
19
21
|
"@types/react": "^18.2.74",
|
|
22
|
+
"@vitest/coverage-v8": "^2.1.3",
|
|
23
|
+
"axe-core": "^4.10.0",
|
|
20
24
|
"copyfiles": "^2.4.1",
|
|
21
25
|
"i18next-parser": "^9.0.2",
|
|
22
|
-
"jest-axe": "^9.0.0",
|
|
23
26
|
"react": "^18.2.0",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
27
|
+
"typescript": "^5.6.3",
|
|
28
|
+
"vite": "^5.4.8",
|
|
29
|
+
"vitest": "^2.1.3"
|
|
26
30
|
},
|
|
27
31
|
"scripts": {
|
|
28
32
|
"build": "tsc && rollup --config ../../rollup.config.mjs",
|
|
29
33
|
"postbuild": "copyfiles -E -u 1 src/locales/**/*.json build",
|
|
30
34
|
"tsc": "tsc",
|
|
31
35
|
"lint": "eslint .",
|
|
32
|
-
"test": "
|
|
33
|
-
"depcheck": "depcheck --ignores=@types/node,@types/
|
|
36
|
+
"test": "echo \"Tests have to run from root project\"",
|
|
37
|
+
"depcheck": "depcheck --ignores=@types/node,@vitest/coverage-v8,lodash,lodash-es,@types/lodash-es --ignore-dirs=lib,build",
|
|
34
38
|
"prepack": "node ../../scripts/prepack.js",
|
|
35
39
|
"postpack": "node ../../scripts/postpack.js",
|
|
36
40
|
"translate": "i18next src/**/*.{ts,tsx}",
|
|
@@ -41,19 +45,19 @@
|
|
|
41
45
|
"@emotion/cache": "^11.13.1",
|
|
42
46
|
"@emotion/react": "^11.13.3",
|
|
43
47
|
"@emotion/styled": "^11.13.0",
|
|
44
|
-
"@fontsource/inter": "^5.0
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
48
|
+
"@fontsource/inter": "^5.1.0",
|
|
49
|
+
"@matrix-widget-toolkit/api": "^3.4.2",
|
|
50
|
+
"@matrix-widget-toolkit/react": "^2.0.3",
|
|
51
|
+
"@mui/icons-material": "^6.1.4",
|
|
52
|
+
"@mui/material": "^6.1.4",
|
|
47
53
|
"@mui/utils": "^6.0.2",
|
|
48
|
-
"
|
|
49
|
-
"@matrix-widget-toolkit/react": "^2.0.1",
|
|
50
|
-
"i18next": "^23.14.0",
|
|
54
|
+
"i18next": "^23.16.0",
|
|
51
55
|
"i18next-browser-languagedetector": "^8.0.0",
|
|
52
56
|
"i18next-resources-to-backend": "^1.2.1",
|
|
53
|
-
"lodash": "^4.17.21",
|
|
57
|
+
"lodash-es": "^4.17.21",
|
|
54
58
|
"matrix-widget-api": "^1.9.0",
|
|
55
59
|
"react": "^18.2.0",
|
|
56
|
-
"react-i18next": "^15.0.
|
|
60
|
+
"react-i18next": "^15.0.3",
|
|
57
61
|
"react-use": "^17.5.1"
|
|
58
62
|
},
|
|
59
63
|
"repository": {
|
|
@@ -69,5 +73,6 @@
|
|
|
69
73
|
"widget",
|
|
70
74
|
"matrix-widget-api"
|
|
71
75
|
],
|
|
76
|
+
"module": "./build/esm/index.js",
|
|
72
77
|
"main": "./build/cjs/index.js"
|
|
73
78
|
}
|