@mui/x-data-grid-pro 8.23.0 → 8.25.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 +222 -6479
- package/DataGridPro/DataGridPro.js +1 -1
- package/components/GridColumnHeaders.js +5 -1
- package/components/GridProColumnMenu.js +1 -0
- package/components/GridRowReorderCell.js +1 -0
- package/components/headerFiltering/GridHeaderFilterCell.js +3 -3
- package/components/headerFiltering/GridHeaderFilterMenuContainer.js +1 -0
- package/esm/DataGridPro/DataGridPro.js +1 -1
- package/esm/components/GridColumnHeaders.js +6 -1
- package/esm/components/GridProColumnMenu.js +2 -0
- package/esm/components/GridRowReorderCell.js +2 -0
- package/esm/components/headerFiltering/GridHeaderFilterCell.js +3 -3
- package/esm/components/headerFiltering/GridHeaderFilterMenuContainer.js +2 -0
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +2 -0
- package/esm/hooks/features/columnPinning/useGridColumnPinningPreProcessors.js +2 -0
- package/esm/hooks/features/lazyLoader/useGridLazyLoader.js +2 -0
- package/esm/hooks/features/rowPinning/useGridRowPinningPreProcessors.js +2 -0
- package/esm/hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.js +4 -1
- package/esm/index.js +1 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -0
- package/hooks/features/columnPinning/useGridColumnPinningPreProcessors.js +1 -0
- package/hooks/features/lazyLoader/useGridLazyLoader.js +1 -0
- package/hooks/features/rowPinning/useGridRowPinningPreProcessors.js +1 -0
- package/hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.js +4 -1
- package/index.js +1 -1
- package/package.json +4 -4
|
@@ -34,7 +34,7 @@ const configuration = {
|
|
|
34
34
|
useFilterValueGetter: apiRef => apiRef.current.getRowValue
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
const releaseInfo = "
|
|
37
|
+
const releaseInfo = "MTc2ODM0ODgwMDAwMA==";
|
|
38
38
|
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
|
|
39
39
|
packageName: "x-data-grid-pro",
|
|
40
40
|
releaseInfo: releaseInfo
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
'use client';
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
5
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
@@ -16,7 +17,10 @@ var _internals = require("@mui/x-data-grid/internals");
|
|
|
16
17
|
var _useGridColumnHeaders = require("../hooks/features/columnHeaders/useGridColumnHeaders");
|
|
17
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
19
|
const _excluded = ["style", "className", "visibleColumns", "sortColumnLookup", "filterColumnLookup", "columnHeaderTabIndexState", "columnGroupHeaderTabIndexState", "columnHeaderFocus", "columnGroupHeaderFocus", "headerGroupingMaxDepth", "columnMenuState", "columnVisibility", "columnGroupsHeaderStructure", "hasOtherElementInTabSequence"];
|
|
19
|
-
const Filler = (0, _styles.styled)('div'
|
|
20
|
+
const Filler = (0, _styles.styled)('div', {
|
|
21
|
+
slot: 'internal',
|
|
22
|
+
shouldForwardProp: undefined
|
|
23
|
+
})({
|
|
20
24
|
flex: 1,
|
|
21
25
|
backgroundColor: _internals.vars.header.background.base
|
|
22
26
|
});
|
|
@@ -43,9 +43,9 @@ const StyledInputComponent = (0, _styles.styled)(_xDataGrid.GridFilterInputValue
|
|
|
43
43
|
fontSize: '14px'
|
|
44
44
|
},
|
|
45
45
|
[`.${_xDataGrid.gridClasses['root--densityCompact']} & .${_InputBase.inputBaseClasses.input}`]: {
|
|
46
|
-
paddingTop: _internals.vars.spacing(0.
|
|
47
|
-
paddingBottom: _internals.vars.spacing(0.
|
|
48
|
-
height:
|
|
46
|
+
paddingTop: _internals.vars.spacing(0.25),
|
|
47
|
+
paddingBottom: _internals.vars.spacing(0.25),
|
|
48
|
+
height: 20
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
const OperatorLabel = (0, _styles.styled)('span', {
|
|
@@ -27,7 +27,7 @@ const configuration = {
|
|
|
27
27
|
useFilterValueGetter: apiRef => apiRef.current.getRowValue
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
const releaseInfo = "
|
|
30
|
+
const releaseInfo = "MTc2ODM0ODgwMDAwMA==";
|
|
31
31
|
const watermark = /*#__PURE__*/_jsx(Watermark, {
|
|
32
32
|
packageName: "x-data-grid-pro",
|
|
33
33
|
releaseInfo: releaseInfo
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
1
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
5
|
const _excluded = ["style", "className", "visibleColumns", "sortColumnLookup", "filterColumnLookup", "columnHeaderTabIndexState", "columnGroupHeaderTabIndexState", "columnHeaderFocus", "columnGroupHeaderFocus", "headerGroupingMaxDepth", "columnMenuState", "columnVisibility", "columnGroupsHeaderStructure", "hasOtherElementInTabSequence"];
|
|
@@ -8,7 +10,10 @@ import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
|
8
10
|
import { vars, GridBaseColumnHeaders } from '@mui/x-data-grid/internals';
|
|
9
11
|
import { useGridColumnHeadersPro } from "../hooks/features/columnHeaders/useGridColumnHeaders.js";
|
|
10
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
const Filler = styled('div'
|
|
13
|
+
const Filler = styled('div', {
|
|
14
|
+
slot: 'internal',
|
|
15
|
+
shouldForwardProp: undefined
|
|
16
|
+
})({
|
|
12
17
|
flex: 1,
|
|
13
18
|
backgroundColor: vars.header.background.base
|
|
14
19
|
});
|
|
@@ -36,9 +36,9 @@ const StyledInputComponent = styled(GridFilterInputValue, {
|
|
|
36
36
|
fontSize: '14px'
|
|
37
37
|
},
|
|
38
38
|
[`.${gridClasses['root--densityCompact']} & .${inputBaseClasses.input}`]: {
|
|
39
|
-
paddingTop: vars.spacing(0.
|
|
40
|
-
paddingBottom: vars.spacing(0.
|
|
41
|
-
height:
|
|
39
|
+
paddingTop: vars.spacing(0.25),
|
|
40
|
+
paddingBottom: vars.spacing(0.25),
|
|
41
|
+
height: 20
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
const OperatorLabel = styled('span', {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
1
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
5
|
const _excluded = ["operators", "item", "field", "buttonRef", "headerFilterMenuRef", "disabled", "showClearItem", "clearFilterItem"];
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
1
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
5
|
const _excluded = ["getColumnsToRender", "getPinnedCellOffset", "renderContext", "leftRenderContext", "rightRenderContext", "pinnedColumns", "visibleColumns", "columnPositions"];
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
1
3
|
import * as React from 'react';
|
|
2
4
|
import { useGridEvent, useGridSelector, gridSortModelSelector, gridFilterModelSelector, gridRenderContextSelector, useGridEventPriority } from '@mui/x-data-grid';
|
|
3
5
|
import { getVisibleRows } from '@mui/x-data-grid/internals';
|
|
@@ -6,7 +6,10 @@ import { useTimeout, gridHorizontalScrollbarHeightSelector } from '@mui/x-data-g
|
|
|
6
6
|
import useEventCallback from '@mui/utils/useEventCallback';
|
|
7
7
|
import { styled } from '@mui/system';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
const InfiniteLoadingTriggerElement = styled('div'
|
|
9
|
+
const InfiniteLoadingTriggerElement = styled('div', {
|
|
10
|
+
slot: 'internal',
|
|
11
|
+
shouldForwardProp: undefined
|
|
12
|
+
})({
|
|
10
13
|
position: 'sticky',
|
|
11
14
|
left: 0,
|
|
12
15
|
width: 0,
|
package/esm/index.js
CHANGED
|
@@ -13,7 +13,10 @@ var _internals = require("@mui/x-data-grid/internals");
|
|
|
13
13
|
var _useEventCallback = _interopRequireDefault(require("@mui/utils/useEventCallback"));
|
|
14
14
|
var _system = require("@mui/system");
|
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
-
const InfiniteLoadingTriggerElement = (0, _system.styled)('div'
|
|
16
|
+
const InfiniteLoadingTriggerElement = (0, _system.styled)('div', {
|
|
17
|
+
slot: 'internal',
|
|
18
|
+
shouldForwardProp: undefined
|
|
19
|
+
})({
|
|
17
20
|
position: 'sticky',
|
|
18
21
|
left: 0,
|
|
19
22
|
width: 0,
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-pro",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.25.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Pro plan edition of the MUI X Data Grid components.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@mui/utils": "^7.3.5",
|
|
38
38
|
"clsx": "^2.1.1",
|
|
39
39
|
"prop-types": "^15.8.1",
|
|
40
|
-
"@mui/x-data-grid": "8.
|
|
41
|
-
"@mui/x-internals": "8.
|
|
42
|
-
"@mui/x-license": "8.
|
|
40
|
+
"@mui/x-data-grid": "8.25.0",
|
|
41
|
+
"@mui/x-internals": "8.25.0",
|
|
42
|
+
"@mui/x-license": "8.25.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@emotion/react": "^11.9.0",
|