@etsoo/materialui 1.5.93 → 1.5.95

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.
@@ -39,7 +39,7 @@ export type CustomFieldWindowProps<D extends CustomFieldData> = {
39
39
  * Input ref
40
40
  * 输入框引用
41
41
  */
42
- inputRef?: React.MutableRefObject<HTMLInputElement | null>;
42
+ inputRef?: React.RefObject<HTMLInputElement | null>;
43
43
  /**
44
44
  * On update callback
45
45
  * 更新回调
@@ -39,7 +39,7 @@ export type CustomFieldWindowProps<D extends CustomFieldData> = {
39
39
  * Input ref
40
40
  * 输入框引用
41
41
  */
42
- inputRef?: React.MutableRefObject<HTMLInputElement | null>;
42
+ inputRef?: React.RefObject<HTMLInputElement | null>;
43
43
  /**
44
44
  * On update callback
45
45
  * 更新回调
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.5.93",
3
+ "version": "1.5.95",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -40,9 +40,9 @@
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.50",
43
+ "@etsoo/appscript": "^1.6.51",
44
44
  "@etsoo/notificationbase": "^1.1.66",
45
- "@etsoo/react": "^1.8.66",
45
+ "@etsoo/react": "^1.8.68",
46
46
  "@etsoo/shared": "^1.2.80",
47
47
  "@mui/icons-material": "^7.3.6",
48
48
  "@mui/material": "^7.3.6",
@@ -62,8 +62,7 @@
62
62
  },
63
63
  "overrides": {
64
64
  "react": "$react",
65
- "react-dom": "$react-dom",
66
- "@emotion/react": "$@emotion/react"
65
+ "react-dom": "$react-dom"
67
66
  },
68
67
  "devDependencies": {
69
68
  "@babel/cli": "^7.28.3",
@@ -81,7 +80,7 @@
81
80
  "@types/react-dom": "^19.2.3",
82
81
  "@types/react-input-mask": "^3.0.6",
83
82
  "@vitejs/plugin-react": "^5.1.2",
84
- "jsdom": "^27.3.0",
83
+ "jsdom": "^27.4.0",
85
84
  "typescript": "^5.9.3",
86
85
  "vitest": "^4.0.16"
87
86
  }
@@ -83,7 +83,7 @@ export type CustomFieldWindowProps<D extends CustomFieldData> = {
83
83
  * Input ref
84
84
  * 输入框引用
85
85
  */
86
- inputRef?: React.MutableRefObject<HTMLInputElement | null>;
86
+ inputRef?: React.RefObject<HTMLInputElement | null>;
87
87
 
88
88
  /**
89
89
  * On update callback