@etsoo/materialui 1.5.89 → 1.5.90
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/.github/workflows/main.yml +5 -3
- package/lib/cjs/NotifierMU.js +1 -1
- package/lib/mjs/NotifierMU.js +1 -1
- package/package.json +12 -12
- package/src/NotifierMU.tsx +1 -1
|
@@ -11,6 +11,10 @@ on:
|
|
|
11
11
|
# release:
|
|
12
12
|
# types: [created]
|
|
13
13
|
|
|
14
|
+
permissions:
|
|
15
|
+
id-token: write # Required for OIDC
|
|
16
|
+
contents: read
|
|
17
|
+
|
|
14
18
|
jobs:
|
|
15
19
|
# Publish to NPM
|
|
16
20
|
publish-npm:
|
|
@@ -44,6 +48,4 @@ jobs:
|
|
|
44
48
|
|
|
45
49
|
# Publish to npm
|
|
46
50
|
# For scoped package, make it public for free service
|
|
47
|
-
- run: npm publish
|
|
48
|
-
env:
|
|
49
|
-
NODE_AUTH_TOKEN: ${{ secrets.ETSOONpmToken }}
|
|
51
|
+
- run: npm publish
|
package/lib/cjs/NotifierMU.js
CHANGED
|
@@ -191,7 +191,7 @@ class NotificationMU extends react_2.NotificationReact {
|
|
|
191
191
|
let value = undefined;
|
|
192
192
|
if (inputs == null) {
|
|
193
193
|
if (type === "switch") {
|
|
194
|
-
localInputs = ((0, jsx_runtime_1.jsx)(Switch_1.default, {
|
|
194
|
+
localInputs = ((0, jsx_runtime_1.jsx)(Switch_1.default, { slotProps: { input: { ref: inputRef } }, ...inputProps, value: "true", autoFocus: true, required: true }));
|
|
195
195
|
}
|
|
196
196
|
else if (type === "slider") {
|
|
197
197
|
localInputs = (0, jsx_runtime_1.jsx)(Slider_1.default, { onChange: (_e, v) => (value = v) });
|
package/lib/mjs/NotifierMU.js
CHANGED
|
@@ -185,7 +185,7 @@ export class NotificationMU extends NotificationReact {
|
|
|
185
185
|
let value = undefined;
|
|
186
186
|
if (inputs == null) {
|
|
187
187
|
if (type === "switch") {
|
|
188
|
-
localInputs = (_jsx(Switch, {
|
|
188
|
+
localInputs = (_jsx(Switch, { slotProps: { input: { ref: inputRef } }, ...inputProps, value: "true", autoFocus: true, required: true }));
|
|
189
189
|
}
|
|
190
190
|
else if (type === "slider") {
|
|
191
191
|
localInputs = _jsx(Slider, { onChange: (_e, v) => (value = v) });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.90",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -40,23 +40,23 @@
|
|
|
40
40
|
"@dnd-kit/sortable": "^10.0.0",
|
|
41
41
|
"@emotion/react": "^11.14.0",
|
|
42
42
|
"@emotion/styled": "^11.14.1",
|
|
43
|
-
"@etsoo/appscript": "^1.6.
|
|
43
|
+
"@etsoo/appscript": "^1.6.49",
|
|
44
44
|
"@etsoo/notificationbase": "^1.1.66",
|
|
45
|
-
"@etsoo/react": "^1.8.
|
|
45
|
+
"@etsoo/react": "^1.8.64",
|
|
46
46
|
"@etsoo/shared": "^1.2.80",
|
|
47
|
-
"@mui/icons-material": "^7.3.
|
|
48
|
-
"@mui/material": "^7.3.
|
|
49
|
-
"@mui/x-data-grid": "^8.
|
|
47
|
+
"@mui/icons-material": "^7.3.6",
|
|
48
|
+
"@mui/material": "^7.3.6",
|
|
49
|
+
"@mui/x-data-grid": "^8.22.0",
|
|
50
50
|
"chart.js": "^4.5.1",
|
|
51
51
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
52
|
-
"dompurify": "^3.3.
|
|
52
|
+
"dompurify": "^3.3.1",
|
|
53
53
|
"eventemitter3": "^5.0.1",
|
|
54
54
|
"pica": "^9.0.1",
|
|
55
55
|
"pulltorefreshjs": "^0.1.22",
|
|
56
|
-
"react": "^19.2.
|
|
56
|
+
"react": "^19.2.1",
|
|
57
57
|
"react-avatar-editor": "^13.0.2",
|
|
58
58
|
"react-chartjs-2": "^5.3.1",
|
|
59
|
-
"react-dom": "^19.2.
|
|
59
|
+
"react-dom": "^19.2.1",
|
|
60
60
|
"react-draggable": "^4.5.0",
|
|
61
61
|
"react-imask": "7.6.1"
|
|
62
62
|
},
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
"@types/react-avatar-editor": "^13.0.4",
|
|
81
81
|
"@types/react-dom": "^19.2.3",
|
|
82
82
|
"@types/react-input-mask": "^3.0.6",
|
|
83
|
-
"@vitejs/plugin-react": "^5.1.
|
|
84
|
-
"jsdom": "^27.
|
|
83
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
84
|
+
"jsdom": "^27.3.0",
|
|
85
85
|
"typescript": "^5.9.3",
|
|
86
|
-
"vitest": "^4.0.
|
|
86
|
+
"vitest": "^4.0.15"
|
|
87
87
|
}
|
|
88
88
|
}
|
package/src/NotifierMU.tsx
CHANGED