@mxenabled/mxui 2.11.1 → 2.12.0

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.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +12 -7
package/README.md CHANGED
@@ -65,4 +65,11 @@ includes removal of deprected components and theme values.
65
65
  - Button -> button
66
66
  - Paragraph -> subtitle1
67
67
  - ParagraphSmall -> subtitle2
68
- - Deprecated icons have been removed. Use Material Symbol icons via the `Icon` component or directly from the MX-Icons package instead.
68
+ - Deprecated icons have been removed. Use Material Symbol icons via the `Icon` component or directly from the MX-Icons package instead.
69
+
70
+ ## Upgrading to 2.12
71
+ mxui no longer installs its own MUI X packages. Your app provides them, so mxui and your app share one copy.
72
+
73
+ - Add `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` at `^8.27.2` or later to your app's dependencies.
74
+ - If your app uses the data grid, also add `@mui/x-data-grid-pro` at `^8.28.1` or later. mxui does not need it otherwise.
75
+ - If your app is still on MUI X v7, follow the MUI X v8 migration guides in the section above first.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mxenabled/mxui",
3
- "version": "2.11.1",
3
+ "version": "2.12.0",
4
4
  "description": "Package containing MX theme and common controls for MUI",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,9 +29,6 @@
29
29
  "@emotion/styled": "^11.14.1",
30
30
  "@mui/material": "^7.3.9",
31
31
  "@mui/system": "^7.3.9",
32
- "@mui/x-data-grid-pro": "^8.28.1",
33
- "@mui/x-date-pickers": "^8.27.2",
34
- "@mui/x-date-pickers-pro": "^8.27.2",
35
32
  "@mui/x-license": "^8.26.0",
36
33
  "@mxenabled/mx-icons": "^2.3.0",
37
34
  "date-fns": "^4.1.0",
@@ -44,6 +41,9 @@
44
41
  "@eslint/compat": "^1.2.8",
45
42
  "@eslint/eslintrc": "^3.3.1",
46
43
  "@eslint/js": "^9.25.1",
44
+ "@mui/x-data-grid-pro": "^8.28.1",
45
+ "@mui/x-date-pickers": "^8.27.2",
46
+ "@mui/x-date-pickers-pro": "^8.27.2",
47
47
  "@storybook/addon-a11y": "^9.1.20",
48
48
  "@storybook/addon-docs": "^9.1.20",
49
49
  "@storybook/addon-links": "^9.1.20",
@@ -82,14 +82,19 @@
82
82
  },
83
83
  "peerDependencies": {
84
84
  "@mui/material": "^7",
85
- "@mui/x-data-grid-pro": "^7",
86
- "@mui/x-date-pickers": "^7",
87
- "@mui/x-date-pickers-pro": "^7",
85
+ "@mui/x-data-grid-pro": "^8.28.1",
86
+ "@mui/x-date-pickers": "^8.27.2",
87
+ "@mui/x-date-pickers-pro": "^8.27.2",
88
88
  "@mxenabled/mx-icons": "^2.3.0",
89
89
  "date-fns": "^4",
90
90
  "react": "^19",
91
91
  "react-dom": "^19"
92
92
  },
93
+ "peerDependenciesMeta": {
94
+ "@mui/x-data-grid-pro": {
95
+ "optional": true
96
+ }
97
+ },
93
98
  "files": [
94
99
  "dist"
95
100
  ],