@etsoo/materialui 1.1.38 → 1.1.39

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/lib/ComboBox.d.ts CHANGED
@@ -4,7 +4,7 @@ import { AutocompleteExtendedProps } from "./AutocompleteExtendedProps";
4
4
  /**
5
5
  * ComboBox props
6
6
  */
7
- export type ComboBoxProps<T extends object, D extends DataTypes.Keys<T>, L extends DataTypes.Keys<T, string>> = AutocompleteExtendedProps<T, D> & {
7
+ export type ComboBoxProps<T extends object = ListType, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>> = AutocompleteExtendedProps<T, D> & {
8
8
  /**
9
9
  * Auto add blank item
10
10
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.1.38",
3
+ "version": "1.1.39",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -45,17 +45,17 @@
45
45
  },
46
46
  "homepage": "https://github.com/ETSOO/ReactMU#readme",
47
47
  "dependencies": {
48
- "@dnd-kit/core": "^6.0.7",
48
+ "@dnd-kit/core": "^6.0.8",
49
49
  "@dnd-kit/sortable": "^7.0.2",
50
50
  "@emotion/css": "^11.10.6",
51
51
  "@emotion/react": "^11.10.6",
52
52
  "@emotion/styled": "^11.10.6",
53
- "@etsoo/appscript": "^1.3.66",
54
- "@etsoo/notificationbase": "^1.1.23",
55
- "@etsoo/react": "^1.6.48",
56
- "@etsoo/shared": "^1.1.88",
53
+ "@etsoo/appscript": "^1.3.67",
54
+ "@etsoo/notificationbase": "^1.1.24",
55
+ "@etsoo/react": "^1.6.49",
56
+ "@etsoo/shared": "^1.1.89",
57
57
  "@mui/icons-material": "^5.11.9",
58
- "@mui/material": "^5.11.9",
58
+ "@mui/material": "^5.11.10",
59
59
  "@types/pica": "^9.0.1",
60
60
  "@types/pulltorefreshjs": "^0.1.5",
61
61
  "@types/react": "^18.0.28",
@@ -74,18 +74,18 @@
74
74
  "react-window": "^1.8.8"
75
75
  },
76
76
  "devDependencies": {
77
- "@babel/cli": "^7.20.7",
78
- "@babel/core": "^7.20.12",
79
- "@babel/plugin-transform-runtime": "^7.19.6",
77
+ "@babel/cli": "^7.21.0",
78
+ "@babel/core": "^7.21.0",
79
+ "@babel/plugin-transform-runtime": "^7.21.0",
80
80
  "@babel/preset-env": "^7.20.2",
81
81
  "@babel/preset-react": "^7.18.6",
82
- "@babel/preset-typescript": "^7.18.6",
83
- "@babel/runtime-corejs3": "^7.20.13",
82
+ "@babel/preset-typescript": "^7.21.0",
83
+ "@babel/runtime-corejs3": "^7.21.0",
84
84
  "@testing-library/jest-dom": "^5.16.5",
85
85
  "@testing-library/react": "^14.0.0",
86
86
  "@types/jest": "^29.4.0",
87
- "@typescript-eslint/eslint-plugin": "^5.52.0",
88
- "@typescript-eslint/parser": "^5.52.0",
87
+ "@typescript-eslint/eslint-plugin": "^5.53.0",
88
+ "@typescript-eslint/parser": "^5.53.0",
89
89
  "jest": "^29.4.3",
90
90
  "jest-environment-jsdom": "^29.4.3",
91
91
  "typescript": "^4.9.5"
package/src/ComboBox.tsx CHANGED
@@ -28,9 +28,9 @@ const checkedIcon = <CheckBoxIcon fontSize="small" />;
28
28
  * ComboBox props
29
29
  */
30
30
  export type ComboBoxProps<
31
- T extends object,
32
- D extends DataTypes.Keys<T>,
33
- L extends DataTypes.Keys<T, string>
31
+ T extends object = ListType,
32
+ D extends DataTypes.Keys<T> = IdDefaultType<T>,
33
+ L extends DataTypes.Keys<T, string> = LabelDefaultType<T>
34
34
  > = AutocompleteExtendedProps<T, D> & {
35
35
  /**
36
36
  * Auto add blank item