@etsoo/materialui 1.3.22 → 1.3.26
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/__tests__/SelectEx.tsx +3 -3
- package/package.json +21 -21
- package/src/SelectEx.tsx +1 -1
package/__tests__/SelectEx.tsx
CHANGED
|
@@ -20,7 +20,7 @@ it("Render SelectEx", async () => {
|
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
// Render component
|
|
23
|
-
|
|
23
|
+
render(
|
|
24
24
|
<SelectEx<T>
|
|
25
25
|
options={options}
|
|
26
26
|
name="test"
|
|
@@ -34,7 +34,7 @@ it("Render SelectEx", async () => {
|
|
|
34
34
|
expect(itemChangeCallback).toBeCalled();
|
|
35
35
|
|
|
36
36
|
// Act, click to show the list
|
|
37
|
-
const button = screen.getByRole("
|
|
37
|
+
const button = screen.getByRole("combobox");
|
|
38
38
|
|
|
39
39
|
// https://davidwcai.medium.com/react-testing-library-and-the-not-wrapped-in-act-errors-491a5629193b
|
|
40
40
|
act(() => {
|
|
@@ -89,7 +89,7 @@ it("Render multiple SelectEx", async () => {
|
|
|
89
89
|
expect(itemChangeCallback).toBeCalled();
|
|
90
90
|
|
|
91
91
|
// Act, click to show the list
|
|
92
|
-
const button = screen.getByRole("
|
|
92
|
+
const button = screen.getByRole("combobox");
|
|
93
93
|
fireEvent.mouseDown(button); // Not click
|
|
94
94
|
|
|
95
95
|
// Get list item
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.26",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
"@emotion/css": "^11.11.2",
|
|
51
51
|
"@emotion/react": "^11.11.1",
|
|
52
52
|
"@emotion/styled": "^11.11.0",
|
|
53
|
-
"@etsoo/appscript": "^1.4.
|
|
53
|
+
"@etsoo/appscript": "^1.4.57",
|
|
54
54
|
"@etsoo/notificationbase": "^1.1.28",
|
|
55
|
-
"@etsoo/react": "^1.7.
|
|
56
|
-
"@etsoo/shared": "^1.2.
|
|
57
|
-
"@mui/icons-material": "^5.14.
|
|
58
|
-
"@mui/material": "^5.14.
|
|
59
|
-
"@mui/x-data-grid": "^6.
|
|
60
|
-
"@types/pica": "^9.0.
|
|
55
|
+
"@etsoo/react": "^1.7.17",
|
|
56
|
+
"@etsoo/shared": "^1.2.15",
|
|
57
|
+
"@mui/icons-material": "^5.14.13",
|
|
58
|
+
"@mui/material": "^5.14.13",
|
|
59
|
+
"@mui/x-data-grid": "^6.16.2",
|
|
60
|
+
"@types/pica": "^9.0.2",
|
|
61
61
|
"@types/pulltorefreshjs": "^0.1.5",
|
|
62
|
-
"@types/react": "^18.2.
|
|
62
|
+
"@types/react": "^18.2.28",
|
|
63
63
|
"@types/react-avatar-editor": "^13.0.0",
|
|
64
|
-
"@types/react-dom": "^18.2.
|
|
65
|
-
"@types/react-input-mask": "^3.0.
|
|
64
|
+
"@types/react-dom": "^18.2.13",
|
|
65
|
+
"@types/react-input-mask": "^3.0.3",
|
|
66
66
|
"chart.js": "^4.4.0",
|
|
67
67
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
68
68
|
"pica": "^9.0.1",
|
|
@@ -71,22 +71,22 @@
|
|
|
71
71
|
"react-avatar-editor": "^13.0.0",
|
|
72
72
|
"react-chartjs-2": "^5.2.0",
|
|
73
73
|
"react-dom": "^18.2.0",
|
|
74
|
-
"react-draggable": "^4.4.
|
|
74
|
+
"react-draggable": "^4.4.6",
|
|
75
75
|
"react-imask": "6.6.3"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@babel/cli": "^7.
|
|
79
|
-
"@babel/core": "^7.
|
|
80
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
81
|
-
"@babel/preset-env": "^7.
|
|
78
|
+
"@babel/cli": "^7.23.0",
|
|
79
|
+
"@babel/core": "^7.23.2",
|
|
80
|
+
"@babel/plugin-transform-runtime": "^7.23.2",
|
|
81
|
+
"@babel/preset-env": "^7.23.2",
|
|
82
82
|
"@babel/preset-react": "^7.22.15",
|
|
83
|
-
"@babel/preset-typescript": "^7.
|
|
84
|
-
"@babel/runtime-corejs3": "^7.
|
|
85
|
-
"@testing-library/jest-dom": "^6.1.
|
|
83
|
+
"@babel/preset-typescript": "^7.23.2",
|
|
84
|
+
"@babel/runtime-corejs3": "^7.23.2",
|
|
85
|
+
"@testing-library/jest-dom": "^6.1.4",
|
|
86
86
|
"@testing-library/react": "^14.0.0",
|
|
87
87
|
"@types/jest": "^29.5.5",
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "^6.7.
|
|
89
|
-
"@typescript-eslint/parser": "^6.7.
|
|
88
|
+
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
|
89
|
+
"@typescript-eslint/parser": "^6.7.5",
|
|
90
90
|
"jest": "^29.7.0",
|
|
91
91
|
"jest-environment-jsdom": "^29.7.0",
|
|
92
92
|
"typescript": "^5.2.2"
|