@mui/x-data-grid-premium 6.0.0-beta.1 → 6.0.0-beta.3
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 +173 -3
- package/components/GridGroupingCriteriaCell.js +6 -5
- package/index.js +1 -1
- package/legacy/components/GridGroupingCriteriaCell.js +6 -5
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/modern/components/GridGroupingCriteriaCell.js +5 -4
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/components/GridGroupingCriteriaCell.js +5 -4
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +6 -6
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,117 @@
|
|
|
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
|
+
## 6.0.0-beta.3
|
|
7
|
+
|
|
8
|
+
_Feb 9, 2023_
|
|
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 right-to-left support for the data grid (#6580) @yaredtsy
|
|
13
|
+
- ⚡️ Improve grid resize performance (#7864) @cherniavskii
|
|
14
|
+
- ✨ New codemods for migrating to v6 @MBilalShafi
|
|
15
|
+
- 📚 Documentation improvements
|
|
16
|
+
- 🐞 Bugfixes
|
|
17
|
+
|
|
18
|
+
### `@mui/x-data-grid@v6.0.0-beta.3` / `@mui/x-data-grid-pro@v6.0.0-beta.3` / `@mui/x-data-grid-premium@v6.0.0-beta.3`
|
|
19
|
+
|
|
20
|
+
#### Changes
|
|
21
|
+
|
|
22
|
+
- [DataGrid] Add `BaseIconButton` component slot (#7329) @123joshuawu
|
|
23
|
+
- [DataGrid] Allow to customize the value displayed in the filter button tooltip (#6956) @ithrforu
|
|
24
|
+
- [DataGrid] Improve grid resize performance (#7864) @cherniavskii
|
|
25
|
+
- [DataGrid] Make `apiRef.current.getRowWithUpdatedValues` stable (#7788) @m4theushw
|
|
26
|
+
- [DataGrid] Support RTL (#6580) @yaredtsy
|
|
27
|
+
- [DataGrid] Improve query selectors for selecting cell element (#7354) @yaredtsy
|
|
28
|
+
- [l10n] Improve Brazilian Portuguese (pt-BR) locale (#7854) @ed-ateixeira
|
|
29
|
+
|
|
30
|
+
### `@mui/x-date-pickers@v6.0.0-beta.3` / `@mui/x-date-pickers-pro@v6.0.0-beta.3`
|
|
31
|
+
|
|
32
|
+
#### Changes
|
|
33
|
+
|
|
34
|
+
- [fields] Allow to select year 2000 on 2-digit year section (#7858) @flaviendelangle
|
|
35
|
+
- [fields] Fix year editing on `day.js` (#7862) @flaviendelangle
|
|
36
|
+
- [fields] Fix year editing on valid date (#7834) @flaviendelangle
|
|
37
|
+
- [fields] Reset query when pressing `Backspace` or `Delete` (#7855) @flaviendelangle
|
|
38
|
+
- [pickers] Clean Popper position on new pickers (#7445) @flaviendelangle
|
|
39
|
+
- [pickers] Ditch pickers `skipLibCheck` (#7808) @LukasTy
|
|
40
|
+
- [pickers] Improve JSDoc and resulting API docs pages (#7847) @LukasTy
|
|
41
|
+
|
|
42
|
+
### `@mui/x-codemod@v6.0.0-beta.3`
|
|
43
|
+
|
|
44
|
+
#### Changes
|
|
45
|
+
|
|
46
|
+
- [codemod] Add more cases to `rename-selectors-and-events` codemod (#7856) @MBilalShafi
|
|
47
|
+
- [codemod] Add warning message to the codemods and migration guide (#7813) @MBilalShafi
|
|
48
|
+
- [codemod] Add codemod to remove unnecessary `experimentalFeatures` flag (#7836) @MBilalShafi
|
|
49
|
+
- [codemod] Rename `GridFilterItem` props (#7483) @MBilalShafi
|
|
50
|
+
- [codemod] Rename `linkOperators` to `logicOperators` (#7707) @MBilalShafi
|
|
51
|
+
- [codemod] Replace `onCellFocusOut` prop for Data Grid (#7786) @MBilalShafi
|
|
52
|
+
|
|
53
|
+
### Docs
|
|
54
|
+
|
|
55
|
+
- [docs] Add a "Whats new in v6" page linked on the sidebar (#7820) @joserodolfofreitas
|
|
56
|
+
- [docs] Fix hydration crash in pickers (#7734) @oliviertassinari
|
|
57
|
+
- [docs] Remove no longer relevant range shortcuts section (#7840) @LukasTy
|
|
58
|
+
- [docs] Use `@next` tag in grid and pickers installation instructions (#7814) @cherniavskii
|
|
59
|
+
|
|
60
|
+
### Core
|
|
61
|
+
|
|
62
|
+
- [core] Remove `tslint` package leftovers (#7841) @LukasTy
|
|
63
|
+
- [test] Use `createDescribes` for `describeValue` and `describeValidation` (#7866) @flaviendelangle
|
|
64
|
+
|
|
65
|
+
## 6.0.0-beta.2
|
|
66
|
+
|
|
67
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
68
|
+
|
|
69
|
+
- 🚀 Support week day formats in the field components
|
|
70
|
+
- 🌍 Add Hungarian (hu-HU) and Urdu (ur-PK) locales
|
|
71
|
+
- 🌍 Improve French (fr-FR) and Italian (it-IT) locales
|
|
72
|
+
- ✨ New codemods for migrating to v6
|
|
73
|
+
- 📚 Documentation improvements
|
|
74
|
+
- 🐞 Bug fixes
|
|
75
|
+
|
|
76
|
+
### `@mui/x-data-grid@v6.0.0-beta.2` / `@mui/x-data-grid-pro@v6.0.0-beta.2` / `@mui/x-data-grid-premium@v6.0.0-beta.2`
|
|
77
|
+
|
|
78
|
+
#### Changes
|
|
79
|
+
|
|
80
|
+
- [DataGrid] Handle non-numeric values returned by `getRowHeight` prop (#7703) @cherniavskii
|
|
81
|
+
- [DataGrid] Merge row styles with `componentsProps.row.style` (#7641) @marktoman
|
|
82
|
+
- [l10n] Add Hungarian (hu-HU) locale (#7776) @noherczeg
|
|
83
|
+
- [l10n] Add Urdu (ur-PK) locale (#6866) @MBilalShafi
|
|
84
|
+
- [l10n] Improve French (fr-FR) locale (#7777) @Vivek-Prajapatii
|
|
85
|
+
- [l10n] Improve Italian (it-IT) locale (#7761) @simonecervini
|
|
86
|
+
|
|
87
|
+
### `@mui/x-date-pickers@v6.0.0-beta.2` / `@mui/x-date-pickers-pro@v6.0.0-beta.2`
|
|
88
|
+
|
|
89
|
+
#### Changes
|
|
90
|
+
|
|
91
|
+
- [fields] Support week day formats (#7392) @flaviendelangle
|
|
92
|
+
- [pickers] Allow to initialize and control the `rangePosition` on all range components (#7764) @flaviendelangle
|
|
93
|
+
- [pickers] Fix theme augmentation (#7800) @LukasTy
|
|
94
|
+
- [pickers] Hide scrollbars in the date calendar container (#7766) @Vivek-Prajapatii
|
|
95
|
+
- [pickers] Remove the dependency on `rifm` (#7785) @alexfauquette
|
|
96
|
+
|
|
97
|
+
### `@mui/x-codemod@v6.0.0-beta.2`
|
|
98
|
+
|
|
99
|
+
#### Changes
|
|
100
|
+
|
|
101
|
+
- [codemod] Add pickers `rename-default-toolbar-title-localeText` codemod (#7752) @LukasTy
|
|
102
|
+
- [codemod] Add pickers `rename-inputFormat-prop` codemod (#7736) @LukasTy
|
|
103
|
+
|
|
104
|
+
### Docs
|
|
105
|
+
|
|
106
|
+
- [docs] Fix a typo in data grid layout page (#7113) @sfbaker7
|
|
107
|
+
- [docs] Fix require context path to avoid duplicate key creation (#7781) @LukasTy
|
|
108
|
+
- [docs] Polish pickers migration docs (#7737) @LukasTy
|
|
109
|
+
- [docs] Rename `next` translation docs and remove duplicates with `-next` (#7729) @LukasTy
|
|
110
|
+
|
|
111
|
+
### Core
|
|
112
|
+
|
|
113
|
+
- [core] Fix l10n data file (#7804) @flaviendelangle
|
|
114
|
+
- [core] Fix Next.js warning (#7754) @oliviertassinari
|
|
115
|
+
- [core] Remove unused demos (#7758) @flaviendelangle
|
|
116
|
+
|
|
6
117
|
## 6.0.0-beta.1
|
|
7
118
|
|
|
8
119
|
_Jan 27, 2023_
|
|
@@ -1368,8 +1479,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
|
|
|
1368
1479
|
- The toolbar related translation keys have been renamed to better fit their usage:
|
|
1369
1480
|
|
|
1370
1481
|
```diff
|
|
1371
|
-
|
|
1372
|
-
<DatePicker
|
|
1482
|
+
<LocalizationProvider
|
|
1373
1483
|
localeText={{
|
|
1374
1484
|
- datePickerDefaultToolbarTitle: 'Date Picker',
|
|
1375
1485
|
+ datePickerToolbarTitle: 'Date Picker',
|
|
@@ -2022,7 +2132,67 @@ You can find more information about the new api, including how to set those tran
|
|
|
2022
2132
|
- [test] Skip tests for column pinning and dynamic row height (#5997) @m4theushw
|
|
2023
2133
|
- [website] Improve security header @oliviertassinari
|
|
2024
2134
|
|
|
2025
|
-
##
|
|
2135
|
+
## 5.17.23
|
|
2136
|
+
|
|
2137
|
+
_Feb 9, 2023_
|
|
2138
|
+
|
|
2139
|
+
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
2140
|
+
|
|
2141
|
+
- 🌍 Improve Brazilian Portuguese (pt-BR) locale
|
|
2142
|
+
- 🎉 Add banner and callouts to inform about MUI X v6 beta
|
|
2143
|
+
- 🐞 Bugfixes
|
|
2144
|
+
|
|
2145
|
+
### `@mui/x-data-grid@v5.17.23` / `@mui/x-data-grid-pro@v5.17.23` / `@mui/x-data-grid-premium@v5.17.23`
|
|
2146
|
+
|
|
2147
|
+
#### Changes
|
|
2148
|
+
|
|
2149
|
+
- [DataGrid] Allow to customize the value displayed in the filter button tooltip (#7816) @ithrforu
|
|
2150
|
+
- [DataGrid] Fix `getCellElement` method not working with pinned columns (#7844) @yaredtsy
|
|
2151
|
+
- [DataGrid] Fix stale rows issue in `unstable_replaceRows` (#7694) @MBilalShafi
|
|
2152
|
+
- [l10n] Improve Brazilian Portuguese (pt-BR) locale (#7850) @ed-ateixeira
|
|
2153
|
+
|
|
2154
|
+
### `@mui/x-date-pickers@v_5.0.18` / `@mui/x-date-pickers-pro@v_5.0.18`
|
|
2155
|
+
|
|
2156
|
+
#### Changes
|
|
2157
|
+
|
|
2158
|
+
- [pickers] Update pickers when new value has a distinct timezone (#7853) @alexfauquette
|
|
2159
|
+
|
|
2160
|
+
### Docs
|
|
2161
|
+
|
|
2162
|
+
- [docs] Add messages in v5 doc to inform people about v6 (#7838) @flaviendelangle
|
|
2163
|
+
- [docs] Fix 301 link @oliviertassinari
|
|
2164
|
+
|
|
2165
|
+
### Core
|
|
2166
|
+
|
|
2167
|
+
- [core] Upgrade monorepo (#7849) @cherniavskii
|
|
2168
|
+
|
|
2169
|
+
## 5.17.22
|
|
2170
|
+
|
|
2171
|
+
_Feb 2, 2023_
|
|
2172
|
+
|
|
2173
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
2174
|
+
|
|
2175
|
+
- 🌍 Add Urdu (ur-PK) locale
|
|
2176
|
+
- 🌍 Improve French (fr-FR) and Italian (it-IT) locales
|
|
2177
|
+
- 🐞 Bugfixes
|
|
2178
|
+
|
|
2179
|
+
### `@mui/x-data-grid@v5.17.22` / `@mui/x-data-grid-pro@v5.17.22` / `@mui/x-data-grid-premium@v5.17.22`
|
|
2180
|
+
|
|
2181
|
+
#### Changes
|
|
2182
|
+
|
|
2183
|
+
- [DataGrid] Fix an error when deleting pinned row using the buttons in the `actions` column (#7767) @cherniavskii
|
|
2184
|
+
- [DataGrid] Fix print preview regression in Chrome browser (#7405) @cherniavskii
|
|
2185
|
+
- [l10n] Add Urdu (ur-PK) locale (#7778) @MBilalShafi
|
|
2186
|
+
- [l10n] Improve French (fr-FR) locale (#7795) @Vivek-Prajapatii
|
|
2187
|
+
|
|
2188
|
+
### `@mui/x-date-pickers@v5.0.17` / `@mui/x-date-pickers-pro@v5.0.17`
|
|
2189
|
+
|
|
2190
|
+
#### Changes
|
|
2191
|
+
|
|
2192
|
+
- [TimePicker] Add missing `themeAugmentation` entry (#7732) @LukasTy
|
|
2193
|
+
- [l10n] Improve Italian (it-IT) locale (#7761) @simonecervini
|
|
2194
|
+
|
|
2195
|
+
## 5.17.21
|
|
2026
2196
|
|
|
2027
2197
|
_Jan 27, 2023_
|
|
2028
2198
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
3
|
-
import IconButton from '@mui/material/IconButton';
|
|
4
4
|
import Box from '@mui/material/Box';
|
|
5
5
|
import { useGridSelector, gridFilteredDescendantCountLookupSelector, getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
6
6
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
@@ -18,7 +18,7 @@ const useUtilityClasses = ownerState => {
|
|
|
18
18
|
return composeClasses(slots, getDataGridUtilityClass, classes);
|
|
19
19
|
};
|
|
20
20
|
export function GridGroupingCriteriaCell(props) {
|
|
21
|
-
var _filteredDescendantCo;
|
|
21
|
+
var _filteredDescendantCo, _rootProps$components;
|
|
22
22
|
const {
|
|
23
23
|
id,
|
|
24
24
|
field,
|
|
@@ -69,16 +69,17 @@ export function GridGroupingCriteriaCell(props) {
|
|
|
69
69
|
},
|
|
70
70
|
children: [/*#__PURE__*/_jsx("div", {
|
|
71
71
|
className: classes.toggle,
|
|
72
|
-
children: filteredDescendantCount > 0 && /*#__PURE__*/_jsx(
|
|
72
|
+
children: filteredDescendantCount > 0 && /*#__PURE__*/_jsx(rootProps.components.BaseIconButton, _extends({
|
|
73
73
|
size: "small",
|
|
74
74
|
onClick: handleClick,
|
|
75
75
|
onKeyDown: handleKeyDown,
|
|
76
76
|
tabIndex: -1,
|
|
77
|
-
"aria-label": rowNode.childrenExpanded ? apiRef.current.getLocaleText('treeDataCollapse') : apiRef.current.getLocaleText('treeDataExpand')
|
|
77
|
+
"aria-label": rowNode.childrenExpanded ? apiRef.current.getLocaleText('treeDataCollapse') : apiRef.current.getLocaleText('treeDataExpand')
|
|
78
|
+
}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseIconButton, {
|
|
78
79
|
children: /*#__PURE__*/_jsx(Icon, {
|
|
79
80
|
fontSize: "inherit"
|
|
80
81
|
})
|
|
81
|
-
})
|
|
82
|
+
}))
|
|
82
83
|
}), cellContent, !hideDescendantCount && filteredDescendantCount > 0 ? /*#__PURE__*/_jsxs("span", {
|
|
83
84
|
style: {
|
|
84
85
|
whiteSpace: 'pre'
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
3
|
-
import IconButton from '@mui/material/IconButton';
|
|
4
4
|
import Box from '@mui/material/Box';
|
|
5
5
|
import { useGridSelector, gridFilteredDescendantCountLookupSelector, getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
6
6
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
@@ -16,7 +16,7 @@ var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
|
16
16
|
return composeClasses(slots, getDataGridUtilityClass, classes);
|
|
17
17
|
};
|
|
18
18
|
export function GridGroupingCriteriaCell(props) {
|
|
19
|
-
var _filteredDescendantCo;
|
|
19
|
+
var _filteredDescendantCo, _rootProps$components;
|
|
20
20
|
var id = props.id,
|
|
21
21
|
field = props.field,
|
|
22
22
|
rowNode = props.rowNode,
|
|
@@ -65,16 +65,17 @@ export function GridGroupingCriteriaCell(props) {
|
|
|
65
65
|
},
|
|
66
66
|
children: [/*#__PURE__*/_jsx("div", {
|
|
67
67
|
className: classes.toggle,
|
|
68
|
-
children: filteredDescendantCount > 0 && /*#__PURE__*/_jsx(
|
|
68
|
+
children: filteredDescendantCount > 0 && /*#__PURE__*/_jsx(rootProps.components.BaseIconButton, _extends({
|
|
69
69
|
size: "small",
|
|
70
70
|
onClick: handleClick,
|
|
71
71
|
onKeyDown: handleKeyDown,
|
|
72
72
|
tabIndex: -1,
|
|
73
|
-
"aria-label": rowNode.childrenExpanded ? apiRef.current.getLocaleText('treeDataCollapse') : apiRef.current.getLocaleText('treeDataExpand')
|
|
73
|
+
"aria-label": rowNode.childrenExpanded ? apiRef.current.getLocaleText('treeDataCollapse') : apiRef.current.getLocaleText('treeDataExpand')
|
|
74
|
+
}, (_rootProps$components = rootProps.componentsProps) == null ? void 0 : _rootProps$components.baseIconButton, {
|
|
74
75
|
children: /*#__PURE__*/_jsx(Icon, {
|
|
75
76
|
fontSize: "inherit"
|
|
76
77
|
})
|
|
77
|
-
})
|
|
78
|
+
}))
|
|
78
79
|
}), cellContent, !hideDescendantCount && filteredDescendantCount > 0 ? /*#__PURE__*/_jsxs("span", {
|
|
79
80
|
style: {
|
|
80
81
|
whiteSpace: 'pre'
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export var getReleaseInfo = function getReleaseInfo() {
|
|
3
|
-
var releaseInfo = "
|
|
3
|
+
var releaseInfo = "MTY3NTg5NzIwMDAwMA==";
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
3
|
-
import IconButton from '@mui/material/IconButton';
|
|
4
4
|
import Box from '@mui/material/Box';
|
|
5
5
|
import { useGridSelector, gridFilteredDescendantCountLookupSelector, getDataGridUtilityClass } from '@mui/x-data-grid-pro';
|
|
6
6
|
import { useGridApiContext } from '../hooks/utils/useGridApiContext';
|
|
@@ -68,16 +68,17 @@ export function GridGroupingCriteriaCell(props) {
|
|
|
68
68
|
},
|
|
69
69
|
children: [/*#__PURE__*/_jsx("div", {
|
|
70
70
|
className: classes.toggle,
|
|
71
|
-
children: filteredDescendantCount > 0 && /*#__PURE__*/_jsx(
|
|
71
|
+
children: filteredDescendantCount > 0 && /*#__PURE__*/_jsx(rootProps.components.BaseIconButton, _extends({
|
|
72
72
|
size: "small",
|
|
73
73
|
onClick: handleClick,
|
|
74
74
|
onKeyDown: handleKeyDown,
|
|
75
75
|
tabIndex: -1,
|
|
76
|
-
"aria-label": rowNode.childrenExpanded ? apiRef.current.getLocaleText('treeDataCollapse') : apiRef.current.getLocaleText('treeDataExpand')
|
|
76
|
+
"aria-label": rowNode.childrenExpanded ? apiRef.current.getLocaleText('treeDataCollapse') : apiRef.current.getLocaleText('treeDataExpand')
|
|
77
|
+
}, rootProps.componentsProps?.baseIconButton, {
|
|
77
78
|
children: /*#__PURE__*/_jsx(Icon, {
|
|
78
79
|
fontSize: "inherit"
|
|
79
80
|
})
|
|
80
|
-
})
|
|
81
|
+
}))
|
|
81
82
|
}), cellContent, !hideDescendantCount && filteredDescendantCount > 0 ? /*#__PURE__*/_jsxs("span", {
|
|
82
83
|
style: {
|
|
83
84
|
whiteSpace: 'pre'
|
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 = "MTY3NTg5NzIwMDAwMA==";
|
|
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
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.GridGroupingCriteriaCell = GridGroupingCriteriaCell;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
9
|
var React = _interopRequireWildcard(require("react"));
|
|
9
10
|
var _utils = require("@mui/utils");
|
|
10
|
-
var _IconButton = _interopRequireDefault(require("@mui/material/IconButton"));
|
|
11
11
|
var _Box = _interopRequireDefault(require("@mui/material/Box"));
|
|
12
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
13
13
|
var _useGridApiContext = require("../hooks/utils/useGridApiContext");
|
|
@@ -76,16 +76,17 @@ function GridGroupingCriteriaCell(props) {
|
|
|
76
76
|
},
|
|
77
77
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
78
78
|
className: classes.toggle,
|
|
79
|
-
children: filteredDescendantCount > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
79
|
+
children: filteredDescendantCount > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.components.BaseIconButton, (0, _extends2.default)({
|
|
80
80
|
size: "small",
|
|
81
81
|
onClick: handleClick,
|
|
82
82
|
onKeyDown: handleKeyDown,
|
|
83
83
|
tabIndex: -1,
|
|
84
|
-
"aria-label": rowNode.childrenExpanded ? apiRef.current.getLocaleText('treeDataCollapse') : apiRef.current.getLocaleText('treeDataExpand')
|
|
84
|
+
"aria-label": rowNode.childrenExpanded ? apiRef.current.getLocaleText('treeDataCollapse') : apiRef.current.getLocaleText('treeDataExpand')
|
|
85
|
+
}, rootProps.componentsProps?.baseIconButton, {
|
|
85
86
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {
|
|
86
87
|
fontSize: "inherit"
|
|
87
88
|
})
|
|
88
|
-
})
|
|
89
|
+
}))
|
|
89
90
|
}), cellContent, !hideDescendantCount && filteredDescendantCount > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
90
91
|
style: {
|
|
91
92
|
whiteSpace: 'pre'
|
package/node/index.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 = "MTY3NTg5NzIwMDAwMA==";
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-premium",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.3",
|
|
4
4
|
"description": "The Premium plan edition of the data grid component (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"directory": "packages/grid/x-data-grid-premium"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@babel/runtime": "^7.20.
|
|
35
|
-
"@mui/utils": "^5.11.
|
|
36
|
-
"@mui/x-data-grid": "6.0.0-beta.
|
|
37
|
-
"@mui/x-data-grid-pro": "6.0.0-beta.
|
|
38
|
-
"@mui/x-license-pro": "6.0.0-beta.
|
|
34
|
+
"@babel/runtime": "^7.20.13",
|
|
35
|
+
"@mui/utils": "^5.11.7",
|
|
36
|
+
"@mui/x-data-grid": "6.0.0-beta.3",
|
|
37
|
+
"@mui/x-data-grid-pro": "6.0.0-beta.3",
|
|
38
|
+
"@mui/x-license-pro": "6.0.0-beta.3",
|
|
39
39
|
"@types/format-util": "^1.0.2",
|
|
40
40
|
"clsx": "^1.2.1",
|
|
41
41
|
"exceljs": "^4.3.0",
|
package/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 = "MTY3NTg5NzIwMDAwMA==";
|
|
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
|