@mui/x-license 7.23.6 → 7.24.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,85 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 7.24.0
7
+
8
+ _Jan 17, 2025_
9
+
10
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🔄 Data Grid [Scroll restoration](https://next.mui.com/x/react-data-grid/scrolling/#scroll-restoration)
13
+ - 🐞 Bugfixes
14
+
15
+ Special thanks go out to the community contributors who have helped make this release possible:
16
+ @lauri865, @AxharKhan.
17
+ Following are all team members who have contributed to this release:
18
+ @KenanYusuf, @arminmeh, @cherniavskii, @michelengelen, @samuelsycamore, @LukasTy.
19
+
20
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
21
+
22
+ ### Data Grid
23
+
24
+ #### `@mui/x-data-grid@7.24.0`
25
+
26
+ - [DataGrid] Fix resizing right pinned column (#16193) @KenanYusuf
27
+ - [DataGrid] Improve scrollbar deadzone with overlay scrollbars (#16212) @lauri865
28
+ - [DataGrid] Scroll restoration (#16208) @lauri865
29
+ - [DataGrid] Fix row, cell and header memoizations (#16195) @lauri865
30
+ - [l10n] Improve Urdu (ur-PK) locale (#16081) @AxharKhan
31
+
32
+ #### `@mui/x-data-grid-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
33
+
34
+ Same changes as in `@mui/x-data-grid@7.24.0`, plus:
35
+
36
+ - [DataGridPro] Add test for column pinning with disabled column virtualization (#16196) @cherniavskii
37
+ - [DataGridPro] Fix width of right-pinned column group during resize (#16207) @cherniavskii
38
+
39
+ #### `@mui/x-data-grid-premium@7.24.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
40
+
41
+ Same changes as in `@mui/x-data-grid-pro@7.24.0`.
42
+
43
+ ### Date and Time Pickers
44
+
45
+ #### `@mui/x-date-pickers@7.24.0`
46
+
47
+ Internal changes.
48
+
49
+ #### `@mui/x-date-pickers-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
50
+
51
+ Same changes as in `@mui/x-date-pickers@7.24.0`.
52
+
53
+ ### Charts
54
+
55
+ #### `@mui/x-charts@7.24.0`
56
+
57
+ Internal changes.
58
+
59
+ #### `@mui/x-charts-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
60
+
61
+ Same changes as in `@mui/x-charts@7.24.0`.
62
+
63
+ ### Tree View
64
+
65
+ #### `@mui/x-tree-view@7.24.0`
66
+
67
+ Internal changes.
68
+
69
+ #### `@mui/x-tree-view-pro@7.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
70
+
71
+ Same changes as in `@mui/x-tree-view@7.24.0`.
72
+
73
+ ### Docs
74
+
75
+ - [docs] Copyedit the Data Grid cell selection page (#16213) @samuelsycamore
76
+ - [docs] Fix demo rendering issue on Codesandbox (#16129) @arminmeh
77
+
78
+ ### Core
79
+
80
+ - [core] Type all references as `RefObject` (#16125) @arminmeh
81
+ - [code-infra] Refactor `react` and `react-dom` definitions to simplify dep resolving (#16214) @LukasTy
82
+ - [infra] Improve cherry-pick action target list (#16188) @michelengelen
83
+ - [test] Fix flaky column pinning unit test (#16209) @cherniavskii
84
+
6
85
  ## 7.23.6
7
86
 
8
87
  _Jan 9, 2025_
@@ -4,5 +4,6 @@ interface WatermarkProps {
4
4
  packageName: MuiCommercialPackageName;
5
5
  releaseInfo: string;
6
6
  }
7
- export declare function Watermark(props: WatermarkProps): React.JSX.Element | null;
8
- export {};
7
+ declare function Watermark(props: WatermarkProps): React.JSX.Element | null;
8
+ declare const MemoizedWatermark: typeof Watermark;
9
+ export { MemoizedWatermark as Watermark };
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { fastMemo } from '@mui/x-internals/fastMemo';
2
3
  import { useLicenseVerifier } from "../useLicenseVerifier/index.js";
3
4
  import { LICENSE_STATUS } from "../utils/licenseStatus.js";
4
5
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -21,7 +22,7 @@ function getLicenseErrorMessage(licenseStatus) {
21
22
  throw new Error('Unhandled MUI X license status.');
22
23
  }
23
24
  }
24
- export function Watermark(props) {
25
+ function Watermark(props) {
25
26
  const {
26
27
  packageName,
27
28
  releaseInfo
@@ -45,4 +46,6 @@ export function Watermark(props) {
45
46
  },
46
47
  children: getLicenseErrorMessage(licenseStatus.status)
47
48
  });
48
- }
49
+ }
50
+ const MemoizedWatermark = fastMemo(Watermark);
51
+ export { MemoizedWatermark as Watermark };
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-license v7.23.6
2
+ * @mui/x-license v7.24.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { fastMemo } from '@mui/x-internals/fastMemo';
2
3
  import { useLicenseVerifier } from "../useLicenseVerifier/index.js";
3
4
  import { LICENSE_STATUS } from "../utils/licenseStatus.js";
4
5
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -21,7 +22,7 @@ function getLicenseErrorMessage(licenseStatus) {
21
22
  throw new Error('Unhandled MUI X license status.');
22
23
  }
23
24
  }
24
- export function Watermark(props) {
25
+ function Watermark(props) {
25
26
  const {
26
27
  packageName,
27
28
  releaseInfo
@@ -45,4 +46,6 @@ export function Watermark(props) {
45
46
  },
46
47
  children: getLicenseErrorMessage(licenseStatus.status)
47
48
  });
48
- }
49
+ }
50
+ const MemoizedWatermark = fastMemo(Watermark);
51
+ export { MemoizedWatermark as Watermark };
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-license v7.23.6
2
+ * @mui/x-license v7.24.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -4,8 +4,9 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.Watermark = Watermark;
7
+ exports.Watermark = void 0;
8
8
  var React = _interopRequireWildcard(require("react"));
9
+ var _fastMemo = require("@mui/x-internals/fastMemo");
9
10
  var _useLicenseVerifier = require("../useLicenseVerifier");
10
11
  var _licenseStatus = require("../utils/licenseStatus");
11
12
  var _jsxRuntime = require("react/jsx-runtime");
@@ -52,4 +53,5 @@ function Watermark(props) {
52
53
  },
53
54
  children: getLicenseErrorMessage(licenseStatus.status)
54
55
  });
55
- }
56
+ }
57
+ const MemoizedWatermark = exports.Watermark = (0, _fastMemo.fastMemo)(Watermark);
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-license v7.23.6
2
+ * @mui/x-license v7.24.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-license",
3
- "version": "7.23.6",
3
+ "version": "7.24.0",
4
4
  "description": "MUI X License verification",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",