@mui/x-data-grid 9.0.2 → 9.0.4
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 +223 -0
- package/components/cell/GridCell.d.mts +0 -7
- package/components/cell/GridCell.d.ts +0 -7
- package/components/cell/GridCell.js +1 -8
- package/components/cell/GridCell.mjs +0 -7
- package/components/containers/GridRootStyles.js +21 -10
- package/components/containers/GridRootStyles.mjs +22 -11
- package/components/panel/GridPanelHeader.d.mts +3 -0
- package/components/panel/GridPanelHeader.d.ts +3 -0
- package/components/panel/GridPanelHeader.js +4 -0
- package/components/panel/GridPanelHeader.mjs +4 -0
- package/components/virtualization/GridVirtualScroller.js +23 -27
- package/components/virtualization/GridVirtualScroller.mjs +24 -28
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.mts +0 -2
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +0 -2
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.js +2 -2
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.mjs +1 -1
- package/hooks/core/useGridVirtualizer.d.mts +2 -2
- package/hooks/core/useGridVirtualizer.d.ts +2 -2
- package/hooks/core/useGridVirtualizer.js +1 -1
- package/hooks/core/useGridVirtualizer.mjs +2 -2
- package/hooks/features/columns/gridColumnsUtils.d.mts +0 -5
- package/hooks/features/columns/gridColumnsUtils.d.ts +0 -5
- package/hooks/features/columns/gridColumnsUtils.js +1 -2
- package/hooks/features/columns/gridColumnsUtils.mjs +1 -1
- package/hooks/features/dimensions/useGridDimensions.js +10 -0
- package/hooks/features/dimensions/useGridDimensions.mjs +10 -0
- package/hooks/features/rows/gridRowSpanningUtils.d.mts +0 -1
- package/hooks/features/rows/gridRowSpanningUtils.d.ts +0 -1
- package/hooks/features/rows/gridRowSpanningUtils.js +0 -4
- package/hooks/features/rows/gridRowSpanningUtils.mjs +0 -3
- package/hooks/features/rows/gridRowsUtils.d.mts +1 -2
- package/hooks/features/rows/gridRowsUtils.d.ts +1 -2
- package/hooks/features/rows/gridRowsUtils.js +2 -3
- package/hooks/features/rows/gridRowsUtils.mjs +1 -2
- package/hooks/features/rows/useGridParamsApi.d.mts +0 -1
- package/hooks/features/rows/useGridParamsApi.d.ts +0 -1
- package/hooks/features/rows/useGridParamsApi.js +0 -2
- package/hooks/features/rows/useGridParamsApi.mjs +1 -1
- package/hooks/features/rows/useGridRowsOverridableMethods.js +37 -15
- package/hooks/features/rows/useGridRowsOverridableMethods.mjs +37 -15
- package/hooks/features/virtualization/useGridVirtualization.d.mts +2 -2
- package/hooks/features/virtualization/useGridVirtualization.d.ts +2 -2
- package/hooks/utils/useGridSelector.d.mts +0 -1
- package/hooks/utils/useGridSelector.d.ts +0 -1
- package/hooks/utils/useGridSelector.js +1 -2
- package/hooks/utils/useGridSelector.mjs +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +4 -4
- package/hooks/core/gridCoreSelector.d.mts +0 -6
- package/hooks/core/gridCoreSelector.d.ts +0 -6
- package/hooks/core/gridCoreSelector.js +0 -12
- package/hooks/core/gridCoreSelector.mjs +0 -6
|
@@ -5,7 +5,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.objectShallowCompare =
|
|
8
|
+
exports.objectShallowCompare = void 0;
|
|
9
9
|
exports.useGridSelector = useGridSelector;
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _fastObjectShallowCompare = require("@mui/x-internals/fastObjectShallowCompare");
|
|
@@ -29,7 +29,6 @@ const argsEqual = (prev, curr) => {
|
|
|
29
29
|
}
|
|
30
30
|
return fn(prev, curr);
|
|
31
31
|
};
|
|
32
|
-
exports.argsEqual = argsEqual;
|
|
33
32
|
const createRefs = () => ({
|
|
34
33
|
state: null,
|
|
35
34
|
equals: null,
|
|
@@ -13,7 +13,7 @@ const arrayShallowCompare = (a, b) => {
|
|
|
13
13
|
}
|
|
14
14
|
return a.length === b.length && a.every((v, i) => v === b[i]);
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
const argsEqual = (prev, curr) => {
|
|
17
17
|
let fn = Object.is;
|
|
18
18
|
if (curr instanceof Array) {
|
|
19
19
|
fn = arrayShallowCompare;
|
package/index.js
CHANGED
package/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.4",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Community plan edition of the MUI X Data Grid components.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"directory": "packages/x-data-grid"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@babel/runtime": "^7.
|
|
40
|
+
"@babel/runtime": "^7.29.2",
|
|
41
41
|
"@mui/utils": "9.0.0",
|
|
42
42
|
"clsx": "^2.1.1",
|
|
43
43
|
"prop-types": "^15.8.1",
|
|
44
44
|
"use-sync-external-store": "^1.6.0",
|
|
45
|
-
"@mui/x-internals": "^9.0.
|
|
46
|
-
"@mui/x-virtualizer": "9.0.0-alpha.
|
|
45
|
+
"@mui/x-internals": "^9.0.4",
|
|
46
|
+
"@mui/x-virtualizer": "9.0.0-alpha.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.gridIsRtlSelector = void 0;
|
|
7
|
-
var _createSelector = require("../../utils/createSelector");
|
|
8
|
-
/**
|
|
9
|
-
* Get the theme state
|
|
10
|
-
* @category Core
|
|
11
|
-
*/
|
|
12
|
-
const gridIsRtlSelector = exports.gridIsRtlSelector = (0, _createSelector.createRootSelector)(state => state.isRtl);
|