@mui/x-data-grid-premium 7.23.4 → 7.23.6
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 +104 -0
- package/DataGridPremium/useDataGridPremiumComponent.d.ts +1 -1
- package/esm/hooks/features/cellSelection/useGridCellSelection.js +3 -3
- package/esm/utils/releaseInfo.js +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.d.ts +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.js +3 -3
- package/hooks/utils/useGridApiRef.d.ts +1 -1
- package/index.js +1 -1
- package/modern/hooks/features/cellSelection/useGridCellSelection.js +3 -3
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/package.json +5 -5
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,110 @@
|
|
|
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.23.6
|
|
7
|
+
|
|
8
|
+
_Jan 9, 2025_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Add Chinese (Taiwan) (zh-TW) locale on the Date and Time Pickers
|
|
13
|
+
- 🌍 Improve Norwegian (nb-NO) locale on the Date and Time Pickers
|
|
14
|
+
- 🌍 Improve Dutch (nl-NL) locale on the Data Grid
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
|
|
17
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
18
|
+
@josteinjhauge, @derek-0000, @nusr, @k-rajat19, @tomashauser.
|
|
19
|
+
Following are all team members who have contributed to this release:
|
|
20
|
+
@flaviendelangle, @LukasTy, @MBilalShafi, @arminmeh, @oliviertassinari, @cherniavskii.
|
|
21
|
+
|
|
22
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
23
|
+
|
|
24
|
+
### Data Grid
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid@7.23.6`
|
|
27
|
+
|
|
28
|
+
- [DataGrid] Improve React 19 support (#16048) @LukasTy
|
|
29
|
+
- [DataGrid] Add `name` attribute to selection checkboxes (#16041) @derek-0000
|
|
30
|
+
- [DataGrid] Fix number filter field formatting values while typing (#16068) @arminmeh
|
|
31
|
+
- [DataGrid] Fix select all checkbox state reset with server side data (#16039) @MBilalShafi
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-pro@7.23.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid@7.23.6`.
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@7.23.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@7.23.6`.
|
|
40
|
+
|
|
41
|
+
### Date and Time Pickers
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers@7.23.6`
|
|
44
|
+
|
|
45
|
+
- [pickers] Improve React 19 support (#16048) @LukasTy
|
|
46
|
+
- [l10n] Add Chinese (Taiwan) (zh-TW) locale (#16057) @nusr
|
|
47
|
+
- [l10n] Improve Norwegian (nb-NO) locale (#16083) @josteinjhauge
|
|
48
|
+
- [pickers] Support `date-fns-jalali` v4 (#16013) @LukasTy
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-date-pickers-pro@7.23.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-date-pickers@7.23.6`.
|
|
53
|
+
|
|
54
|
+
### Charts
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-charts@7.23.6`
|
|
57
|
+
|
|
58
|
+
- [charts] Improve React 19 support (#16048) @LukasTy
|
|
59
|
+
- [charts] Fix 301 redirection in the API documentation @oliviertassinari
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-charts-pro@7.23.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-charts@7.23.6`.
|
|
64
|
+
|
|
65
|
+
### Tree View
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-tree-view@7.23.6`
|
|
68
|
+
|
|
69
|
+
- [TreeView] Improve React 19 support (#16048) @LukasTy
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-tree-view-pro@7.23.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-tree-view@7.23.6`.
|
|
74
|
+
|
|
75
|
+
### Docs
|
|
76
|
+
|
|
77
|
+
- [docs] Fix `EditingWithDatePickers` demo (#16047) @k-rajat19
|
|
78
|
+
- [docs] Fix doc warning for automatic children selection on tree view (#16037) @flaviendelangle
|
|
79
|
+
- [docs] Fix non-existing "adapter" property of `LocalizationProvider` (#16088) @tomashauser
|
|
80
|
+
|
|
81
|
+
### Core
|
|
82
|
+
|
|
83
|
+
- [core] Clarify the release strategy (#16012) @MBilalShafi
|
|
84
|
+
- [core] Update the `release:version` docs (#16040) @cherniavskii
|
|
85
|
+
|
|
86
|
+
## 7.23.5
|
|
87
|
+
|
|
88
|
+
_Dec 27, 2024_
|
|
89
|
+
|
|
90
|
+
Here are some highlights ✨:
|
|
91
|
+
|
|
92
|
+
- 🐞 Fix version mismatch issue in Data Grid codesandbox/stackblitz demos
|
|
93
|
+
|
|
94
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
95
|
+
|
|
96
|
+
### Data Grid
|
|
97
|
+
|
|
98
|
+
#### `@mui/x-data-grid@7.23.5`
|
|
99
|
+
|
|
100
|
+
No changes since `@mui/x-data-grid@v7.23.4`.
|
|
101
|
+
|
|
102
|
+
#### `@mui/x-data-grid-pro@7.23.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
103
|
+
|
|
104
|
+
Same changes as in `@mui/x-data-grid@7.23.5`.
|
|
105
|
+
|
|
106
|
+
#### `@mui/x-data-grid-premium@7.23.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
107
|
+
|
|
108
|
+
Same changes as in `@mui/x-data-grid-pro@7.23.5`.
|
|
109
|
+
|
|
6
110
|
## v7.23.4
|
|
7
111
|
|
|
8
112
|
_Dec 27, 2024_
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { GridApiPremium, GridPrivateApiPremium } from '../models/gridApiPremium';
|
|
3
3
|
import { DataGridPremiumProcessedProps } from '../models/dataGridPremiumProps';
|
|
4
|
-
export declare const useDataGridPremiumComponent: (inputApiRef: React.MutableRefObject<GridApiPremium> | undefined, props: DataGridPremiumProcessedProps) => React.
|
|
4
|
+
export declare const useDataGridPremiumComponent: (inputApiRef: React.MutableRefObject<GridApiPremium> | undefined, props: DataGridPremiumProcessedProps) => React.RefObject<GridPrivateApiPremium>;
|
|
@@ -16,10 +16,10 @@ const AUTO_SCROLL_SPEED = 20; // The speed to scroll once the mouse enters the s
|
|
|
16
16
|
export const useGridCellSelection = (apiRef, props) => {
|
|
17
17
|
const hasRootReference = apiRef.current.rootElementRef.current !== null;
|
|
18
18
|
const visibleRows = useGridVisibleRows(apiRef, props);
|
|
19
|
-
const cellWithVirtualFocus = React.useRef();
|
|
20
|
-
const lastMouseDownCell = React.useRef();
|
|
19
|
+
const cellWithVirtualFocus = React.useRef(null);
|
|
20
|
+
const lastMouseDownCell = React.useRef(null);
|
|
21
21
|
const mousePosition = React.useRef(null);
|
|
22
|
-
const autoScrollRAF = React.useRef();
|
|
22
|
+
const autoScrollRAF = React.useRef(null);
|
|
23
23
|
const sortedRowIds = useGridSelector(apiRef, gridSortedRowIdsSelector);
|
|
24
24
|
const dimensions = useGridSelector(apiRef, gridDimensionsSelector);
|
|
25
25
|
const totalHeaderHeight = getTotalHeaderHeight(apiRef, props);
|
package/esm/utils/releaseInfo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTczNjM3NzIwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -3,4 +3,4 @@ import { GridStateInitializer } from '@mui/x-data-grid-pro/internals';
|
|
|
3
3
|
import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
|
|
4
4
|
import { GridPrivateApiPremium } from '../../../models/gridApiPremium';
|
|
5
5
|
export declare const cellSelectionStateInitializer: GridStateInitializer<Pick<DataGridPremiumProcessedProps, 'cellSelectionModel' | 'initialState'>>;
|
|
6
|
-
export declare const useGridCellSelection: (apiRef: React.
|
|
6
|
+
export declare const useGridCellSelection: (apiRef: React.RefObject<GridPrivateApiPremium>, props: Pick<DataGridPremiumProcessedProps, "cellSelection" | "cellSelectionModel" | "onCellSelectionModelChange" | "pagination" | "paginationMode" | "ignoreValueFormatterDuringExport" | "clipboardCopyCellDelimiter" | "columnHeaderHeight">) => void;
|
|
@@ -25,10 +25,10 @@ const AUTO_SCROLL_SPEED = 20; // The speed to scroll once the mouse enters the s
|
|
|
25
25
|
const useGridCellSelection = (apiRef, props) => {
|
|
26
26
|
const hasRootReference = apiRef.current.rootElementRef.current !== null;
|
|
27
27
|
const visibleRows = (0, _internals.useGridVisibleRows)(apiRef, props);
|
|
28
|
-
const cellWithVirtualFocus = React.useRef();
|
|
29
|
-
const lastMouseDownCell = React.useRef();
|
|
28
|
+
const cellWithVirtualFocus = React.useRef(null);
|
|
29
|
+
const lastMouseDownCell = React.useRef(null);
|
|
30
30
|
const mousePosition = React.useRef(null);
|
|
31
|
-
const autoScrollRAF = React.useRef();
|
|
31
|
+
const autoScrollRAF = React.useRef(null);
|
|
32
32
|
const sortedRowIds = (0, _xDataGridPro.useGridSelector)(apiRef, _xDataGridPro.gridSortedRowIdsSelector);
|
|
33
33
|
const dimensions = (0, _xDataGridPro.useGridSelector)(apiRef, _xDataGridPro.gridDimensionsSelector);
|
|
34
34
|
const totalHeaderHeight = (0, _internals.getTotalHeaderHeight)(apiRef, props);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { GridApiPremium } from '../../models/gridApiPremium';
|
|
2
|
-
export declare const useGridApiRef: () => import("react").
|
|
2
|
+
export declare const useGridApiRef: () => import("react").RefObject<GridApiPremium>;
|
package/index.js
CHANGED
|
@@ -16,10 +16,10 @@ const AUTO_SCROLL_SPEED = 20; // The speed to scroll once the mouse enters the s
|
|
|
16
16
|
export const useGridCellSelection = (apiRef, props) => {
|
|
17
17
|
const hasRootReference = apiRef.current.rootElementRef.current !== null;
|
|
18
18
|
const visibleRows = useGridVisibleRows(apiRef, props);
|
|
19
|
-
const cellWithVirtualFocus = React.useRef();
|
|
20
|
-
const lastMouseDownCell = React.useRef();
|
|
19
|
+
const cellWithVirtualFocus = React.useRef(null);
|
|
20
|
+
const lastMouseDownCell = React.useRef(null);
|
|
21
21
|
const mousePosition = React.useRef(null);
|
|
22
|
-
const autoScrollRAF = React.useRef();
|
|
22
|
+
const autoScrollRAF = React.useRef(null);
|
|
23
23
|
const sortedRowIds = useGridSelector(apiRef, gridSortedRowIdsSelector);
|
|
24
24
|
const dimensions = useGridSelector(apiRef, gridDimensionsSelector);
|
|
25
25
|
const totalHeaderHeight = getTotalHeaderHeight(apiRef, props);
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTczNjM3NzIwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "7.23.
|
|
3
|
+
"version": "7.23.6",
|
|
4
4
|
"description": "The Premium plan edition of the Data Grid Components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"exceljs": "^4.4.0",
|
|
41
41
|
"prop-types": "^15.8.1",
|
|
42
42
|
"reselect": "^5.1.1",
|
|
43
|
-
"@mui/x-data-grid": "7.23.
|
|
44
|
-
"@mui/x-
|
|
45
|
-
"@mui/x-
|
|
46
|
-
"@mui/x-
|
|
43
|
+
"@mui/x-data-grid": "7.23.6",
|
|
44
|
+
"@mui/x-license": "7.23.6",
|
|
45
|
+
"@mui/x-data-grid-pro": "7.23.6",
|
|
46
|
+
"@mui/x-internals": "7.23.6"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|
package/utils/releaseInfo.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getReleaseInfo = void 0;
|
|
7
7
|
var _utils = require("@mui/utils");
|
|
8
8
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
9
|
+
const releaseInfo = "MTczNjM3NzIwMDAwMA==";
|
|
10
10
|
if (process.env.NODE_ENV !== 'production') {
|
|
11
11
|
// A simple hack to set the value in the test environment (has no build step).
|
|
12
12
|
// eslint-disable-next-line no-useless-concat
|