@mui/x-data-grid-premium 6.0.0-beta.5 → 6.0.1

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +175 -36
  2. package/DataGridPremium/DataGridPremium.js +13 -11
  3. package/components/index.d.ts +1 -1
  4. package/components/index.js +1 -1
  5. package/constants/dataGridPremiumDefaultSlotsComponents.d.ts +1 -2
  6. package/constants/dataGridPremiumDefaultSlotsComponents.js +2 -7
  7. package/hooks/features/aggregation/gridAggregationInterfaces.d.ts +2 -0
  8. package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +1 -1
  9. package/hooks/features/cellSelection/gridCellSelectionInterfaces.d.ts +3 -3
  10. package/hooks/features/export/gridExcelExportInterface.d.ts +2 -0
  11. package/index.d.ts +1 -0
  12. package/index.js +2 -1
  13. package/legacy/DataGridPremium/DataGridPremium.js +13 -11
  14. package/legacy/components/index.js +1 -1
  15. package/legacy/constants/dataGridPremiumDefaultSlotsComponents.js +2 -7
  16. package/legacy/index.js +2 -1
  17. package/legacy/material/index.js +9 -0
  18. package/legacy/utils/releaseInfo.js +1 -1
  19. package/material/index.d.ts +7 -0
  20. package/material/index.js +9 -0
  21. package/material/package.json +6 -0
  22. package/models/dataGridPremiumProps.d.ts +3 -3
  23. package/modern/DataGridPremium/DataGridPremium.js +13 -11
  24. package/modern/components/index.js +1 -1
  25. package/modern/constants/dataGridPremiumDefaultSlotsComponents.js +2 -7
  26. package/modern/index.js +2 -1
  27. package/modern/material/index.js +9 -0
  28. package/modern/utils/releaseInfo.js +1 -1
  29. package/node/DataGridPremium/DataGridPremium.js +11 -9
  30. package/node/components/index.js +1 -1
  31. package/node/constants/dataGridPremiumDefaultSlotsComponents.js +3 -9
  32. package/node/index.js +9 -1
  33. package/node/material/index.js +17 -0
  34. package/node/utils/releaseInfo.js +1 -1
  35. package/package.json +4 -4
  36. package/utils/releaseInfo.js +1 -1
  37. /package/legacy/{components → material}/icons.js +0 -0
  38. /package/{components → material}/icons.d.ts +0 -0
  39. /package/{components → material}/icons.js +0 -0
  40. /package/modern/{components → material}/icons.js +0 -0
  41. /package/node/{components → material}/icons.js +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,145 @@
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.1
7
+
8
+ _Mar 9, 2023_
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
+ - 🌍 Improve French (fr-FR) locale (#8122) @MaherSamiGMC
13
+ - 📚 Documentation improvements
14
+ - 🐞 Bugfixes
15
+
16
+ ### `@mui/x-data-grid@v6.0.1` / `@mui/x-data-grid-pro@v6.0.1` / `@mui/x-data-grid-premium@v6.0.1`
17
+
18
+ #### Changes
19
+
20
+ - [DataGrid] Fix `MenuProps.onClose` being overridden for single select edit component (#8174) @rohitnatesh
21
+ - [DataGrid] Simplify `buildPrintWindow` (#8142) @oliviertassinari
22
+ - [l10n] Improve French (fr-FR) locale (#8122) @MaherSamiGMC
23
+
24
+ ### `@mui/x-date-pickers@v6.0.1` / `@mui/x-date-pickers-pro@v6.0.1`
25
+
26
+ #### Changes
27
+
28
+ - [pickers] Add a runtime warning when a `renderInput` prop is passed to a picker (#8183) @flaviendelangle
29
+ - [pickers] Don't pass `ownerState` to the `inputAdornment` slot (#8165) @flaviendelangle
30
+
31
+ ### Docs
32
+
33
+ - [docs] Fix a typo in the migration guide (#8152) @flaviendelangle
34
+ - [docs] Fix package version used in CodeSandbox demos (#8125) @cherniavskii
35
+ - [docs] Fix typos across codebase (#8126) @stavares843
36
+ - [docs] Improve Data Grid quick filter documentation (#8109) @MBilalShafi
37
+ - [docs] Improve link from npm to docs (#8141) @oliviertassinari
38
+ - [docs] Remove test sections (#8177) @m4theushw
39
+
40
+ ### Core
41
+
42
+ - [core] Upgrade monorepo (#8162) @m4theushw
43
+
44
+ ## 6.0.0
45
+
46
+ _Mar 3, 2023_
47
+
48
+ We're happy to announce the first v6 stable release! 🎉🚀
49
+
50
+ This is now the officially supported major version, where we'll keep rolling out new features, bug fixes, and improvements.
51
+ Head over to the [what's new](https://mui.com/x/whats-new/) page to check the highlighted new features.
52
+
53
+ Migration guides are available with a complete list of the breaking changes:
54
+
55
+ - [Data Grid](https://mui.com/x/migration/migration-data-grid-v5/)
56
+ - [Date Pickers](https://mui.com/x/migration/migration-pickers-v5/)
57
+
58
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
59
+
60
+ - 🎁 The row pinning is no longer experimental (#8055) @MBilalShafi
61
+
62
+ You can now use the row pinning without the `experimentalFeatures.rowPinning` flag enabled.
63
+
64
+ ```diff
65
+ <DataGridPro
66
+ - experimentalFeatures={{ rowPinning: true }}
67
+ />
68
+ ```
69
+ - ⚡️ Improved grid performance by rows and cells memoization (#7846) @m4theushw
70
+ - ✨ Fields have a distinct visual state when empty (#8069) @LukasTy
71
+ - 🌍 Improve Czech (cs-CZ) locale (#8113) @BlastyCZ
72
+ - 🌍 Improve Arabic (ar-SD) locale (#8100) @atf98
73
+ - 📚 Documentation improvements
74
+ - 🐞 Bugfixes
75
+
76
+ ### `@mui/x-data-grid@v6.0.0` / `@mui/x-data-grid-pro@v6.0.0` / `@mui/x-data-grid-premium@v6.0.0`
77
+
78
+ #### Breaking changes
79
+
80
+ - The `componentsProps` and `slotProps` props are now typed for better DX
81
+ - The `cellFocus`, `cellTabIndex` and `editRowsState` props are not passed to the component used in the row slot. You can use the new `focusedCell` and `tabbableCell` props instead. For the editing state, use the API methods.
82
+ The flag `experimentalFeatures.rowPinning` is no longer needed.
83
+
84
+ #### Changes
85
+
86
+ - [DataGrid] Add typing for `componentsProps` (#7968) @MBilalShafi
87
+ - [DataGrid] Allow multiple modules' augmentation (#8098) @MBilalShafi
88
+ - [DataGrid] Extract `BaseInputLabel` slot (#8068) @cherniavskii
89
+ - [DataGrid] Extract `BaseSelectOption` slot (#8072) @cherniavskii
90
+ - [DataGrid] Make possible to memoize rows and cells (#7846) @m4theushw
91
+ - [DataGrid] Register `getLocaleText` synchronously (#8029) @m4theushw
92
+ - [DataGrid] Start extracting material slots to a separate directory (#8004) @cherniavskii
93
+ - [DataGrid] Use `styled` from system (#8032) @siriwatknp
94
+ - [DataGridPro] Improve typing for `getColumnForNewFilter` method (#8043) @MBilalShafi
95
+ - [DataGridPro] Remove row pinning from experimental features (#8055) @MBilalShafi
96
+ - [l10n] Improve Czech (cs-CZ) locale (#8113) @BlastyCZ
97
+ - [l10n] Improve Arabic (ar-SD) locale (#8100) @atf98
98
+
99
+ ### `@mui/x-date-pickers@v6.0.0` / `@mui/x-date-pickers-pro@v6.0.0`
100
+
101
+ #### Breaking changes
102
+
103
+ On desktop, `DateTimePicker` shows the am/pm controls in the toolbar instead of the clock by default.
104
+ It can be overridden by specifying `ampmInClock` prop.
105
+
106
+ #### Changes
107
+
108
+ - [DateRangePicker] Generalize the highlight between months (#8079) @alexfauquette
109
+ - [fields] Clean the order of the tokens in the `formatTokenMap` of each adapter (#8112) @flaviendelangle
110
+ - [fields] Implement empty visual state (#8069) @LukasTy
111
+ - [fields] Replace `sectionOrder` state with a memoized variable (#8090) @flaviendelangle
112
+ - [pickers] Add support for UTC on `moment` adapter (#8031) @flaviendelangle
113
+ - [pickers] Document and deprecate `onClose` callback on static pickers (#8021) @LukasTy
114
+ - [pickers] Fix am/pm buttons position and responsiveness (#5149) @alexfauquette
115
+ - [pickers] Fix layout `sx` propagation (#8064) @alexfauquette
116
+ - [pickers] Increase `moment` peer dependency minimum version (#8046) @oliviertassinari
117
+ - [pickers] Remove `WrapperVariantContext` (#8088) @LukasTy
118
+ - [pickers] Stop using `WrapperVariantContext` in `Clock` (#8083) @LukasTy
119
+
120
+ ### Docs
121
+
122
+ - [docs] Add `aggregation` experimental flag removal to the migration guide (#8056) @MBilalShafi
123
+ - [docs] Add expansion state behavioral change to v6 migration guide (#8108) @MBilalShafi
124
+ - [docs] Change default date from 4th of April to 17th of April for readability (#8089) @flaviendelangle
125
+ - [docs] Clarify the MIT license restriction for grid pagination (#8045) @arunkp
126
+ - [docs] Fix typo replacing "bellow" by "below" (#8080) @TheBox193
127
+ - [docs] Link `API object` in the `apiRef` sections (#8106) @MBilalShafi
128
+ - [docs] Link to demonstrations in the interfaces API docs (#8028) @cherniavskii
129
+ - [docs] Remove the `@next` tag from installation instructions (#8102) @cherniavskii
130
+ - [docs] Start enforcing consistency in documentation vocabulary (#6871) @alexfauquette
131
+ - [docs] Update accessibility guidelines (#7970) @oliviertassinari
132
+ - [docs] Update the DataGrid demo to leverage the latest features (#7863) @joserodolfofreitas
133
+ - [docs] Update migration guide for stable release (#8092) @joserodolfofreitas
134
+
135
+ ### Core
136
+
137
+ - [core] Add modified docs page links in the PR (#7848) @alexfauquette
138
+ - [core] Add test on value timezone (#7867) @alexfauquette
139
+ - [core] Bump monorepo (#8006) @LukasTy
140
+ - [core] Change default branch back to `master` (#8081) @m4theushw
141
+ - [core] Upgrade monorepo (#8115) @MBilalShafi
142
+ - [core] Mention the use of Support key as an alternative to the OrderID (#6968) @joserodolfofreitas
143
+ - [test] Fix flaky tests (#8097) @cherniavskii
144
+
6
145
  ## 6.0.0-beta.5
7
146
 
8
147
  _Feb 23, 2023_
@@ -290,17 +429,17 @@ We encourage you to try out this version, packed with improvements, bug fixes, a
290
429
 
291
430
  **Data Grid**
292
431
 
293
- - [Access to the API Object in the community version](https://next.mui.com/x/react-data-grid/api-object/)
294
- - [Improved column menu](https://next.mui.com/x/react-data-grid/column-menu/)
295
- - [Cell selection range](https://next.mui.com/x/react-data-grid/cell-selection/) (Premium)
432
+ - [Access to the API Object in the community version](https://mui.com/x/react-data-grid/api-object/)
433
+ - [Improved column menu](https://mui.com/x/react-data-grid/column-menu/)
434
+ - [Cell selection range](https://mui.com/x/react-data-grid/cell-selection/) (Premium)
296
435
 
297
436
  **Date and Time pickers**
298
437
 
299
- - [Fields: the new default input for pickers](https://next.mui.com/x/react-date-pickers/fields/).
300
- - [Improved layout customization](https://next.mui.com/x/react-date-pickers/custom-layout/)
301
- - [Edit date ranges with drag and drop](https://next.mui.com/x/react-date-pickers/date-range-calendar/) (Pro)
438
+ - [Fields: the new default input for pickers](https://mui.com/x/react-date-pickers/fields/).
439
+ - [Improved layout customization](https://mui.com/x/react-date-pickers/custom-layout/)
440
+ - [Edit date ranges with drag and drop](https://mui.com/x/react-date-pickers/date-range-calendar/) (Pro)
302
441
 
303
- You can check the migration guides for the [Data Grid](https://next.mui.com/x/migration/migration-data-grid-v5/) and [Date Pickers](https://next.mui.com/x/migration/migration-pickers-v5/) in the documentation.
442
+ You can check the migration guides for the [Data Grid](https://mui.com/x/migration/migration-data-grid-v5/) and [Date Pickers](https://mui.com/x/migration/migration-pickers-v5/) in the documentation.
304
443
 
305
444
  We'd like to offer a big thanks to the 10 contributors who made this release possible.
306
445
 
@@ -447,7 +586,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
447
586
  // Same for all the other pickers with an `Unstable_` prefix
448
587
  ```
449
588
 
450
- If you were still using the legacy picker (`DatePicker`, `DesktopDatePicker`, ...), please take a look at our [migration guide](https://next.mui.com/x/migration/migration-pickers-v5/#picker-components) for detailed explanations on how to start using the new ones.
589
+ If you were still using the legacy picker (`DatePicker`, `DesktopDatePicker`, ...), please take a look at our [migration guide](https://mui.com/x/migration/migration-pickers-v5/#picker-components) for detailed explanations on how to start using the new ones.
451
590
 
452
591
  - The fields components are no longer unstable
453
592
 
@@ -878,7 +1017,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
878
1017
  return <DataGrid apiRef={apiRef} {...other} />;
879
1018
  ```
880
1019
 
881
- See [the documentation](https://next.mui.com/x/react-data-grid/api-object/) for more information.
1020
+ See [the documentation](https://mui.com/x/react-data-grid/api-object/) for more information.
882
1021
 
883
1022
  - 🎁 The `DataGridPremium` now supports cell selection:
884
1023
 
@@ -886,7 +1025,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
886
1025
  <DataGridPremium unstable_cellSelection />
887
1026
  ```
888
1027
 
889
- See [the documentation](https://next.mui.com/x/react-data-grid/selection/#cell-selection) for more information
1028
+ See [the documentation](https://mui.com/x/react-data-grid/selection/#cell-selection) for more information
890
1029
 
891
1030
  - 🌍 Support the Right To Left orientation on the fields components
892
1031
  - 📚 Documentation improvements
@@ -1147,7 +1286,7 @@ _Nov 24, 2022_
1147
1286
 
1148
1287
  We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
1149
1288
 
1150
- - 🎁 Introduce the v6 pickers, built on top of the field components [DatePicker](https://next.mui.com/x/react-date-pickers/date-picker/), [TimePicker](https://next.mui.com/x/react-date-pickers/time-picker/), [DateTimePicker](https://next.mui.com/x/react-date-pickers/date-time-picker/), [DateRangePicker](https://next.mui.com/x/react-date-pickers/date-range-picker/).
1289
+ - 🎁 Introduce the v6 pickers, built on top of the field components [DatePicker](https://mui.com/x/react-date-pickers/date-picker/), [TimePicker](https://mui.com/x/react-date-pickers/time-picker/), [DateTimePicker](https://mui.com/x/react-date-pickers/date-time-picker/), [DateRangePicker](https://mui.com/x/react-date-pickers/date-range-picker/).
1151
1290
 
1152
1291
  The old (legacy) components will be removed at the end of the v6 beta.
1153
1292
 
@@ -1518,7 +1657,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
1518
1657
  The renamed props are the following:
1519
1658
 
1520
1659
  | Old name | New name |
1521
- | -------------------------- | ----------------------------- |
1660
+ | :------------------------- | :---------------------------- |
1522
1661
  | `selectionModel` | `rowSelectionModel` |
1523
1662
  | `onSelectionModelChange` | `onRowSelectionModelChange` |
1524
1663
  | `disableSelectionOnClick` | `disableRowSelectionOnClick` |
@@ -1637,20 +1776,20 @@ _Oct 13, 2022_
1637
1776
  We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
1638
1777
 
1639
1778
  - ⌚️ New components to edit date and time with <kbd>keyboard</kbd>—without using any modal or dropdown UI.
1640
- Please check out our [documentation](https://next.mui.com/x/react-date-pickers/fields/) to discover those new components.
1779
+ Please check out our [documentation](https://mui.com/x/react-date-pickers/fields/) to discover those new components.
1641
1780
 
1642
- - [`DateField`](https://next.mui.com/x/react-date-pickers/date-field/) to edit date
1643
- - [`TimeField`](https://next.mui.com/x/react-date-pickers/time-field/) to edit time
1644
- - [`DateTimeField`](https://next.mui.com/x/react-date-pickers/date-time-field/) to edit date and time
1645
- - [`MultiInputDateRangeField` / `SingleInputDateRangeField`](https://next.mui.com/x/react-date-pickers/date-range-field/) to edit date range
1646
- - [`MultiInputTimeRangeField`](https://next.mui.com/x/react-date-pickers/time-range-field/) to edit time range with two inputs
1647
- - [`MultiInputDateTimeRangeField`](https://next.mui.com/x/react-date-pickers/date-time-range-field/) to edit date and time range with two inputs
1781
+ - [`DateField`](https://mui.com/x/react-date-pickers/date-field/) to edit date
1782
+ - [`TimeField`](https://mui.com/x/react-date-pickers/time-field/) to edit time
1783
+ - [`DateTimeField`](https://mui.com/x/react-date-pickers/date-time-field/) to edit date and time
1784
+ - [`MultiInputDateRangeField` / `SingleInputDateRangeField`](https://mui.com/x/react-date-pickers/date-range-field/) to edit date range
1785
+ - [`MultiInputTimeRangeField`](https://mui.com/x/react-date-pickers/time-range-field/) to edit time range with two inputs
1786
+ - [`MultiInputDateTimeRangeField`](https://mui.com/x/react-date-pickers/date-time-range-field/) to edit date and time range with two inputs
1648
1787
 
1649
1788
  ⚠️ These components are unstable.
1650
1789
  They might receive breaking changes on their props to have the best components possible by the time of the stable release.
1651
1790
 
1652
1791
  - 📝 Allow to limit to one filter per column for `DataGridPro` and `DataGridPremium` (#6333) @MBilalShafi
1653
- - 📚 New [page describing the validation props on each picker](https://next.mui.com/x/react-date-pickers/validation/) (#6064) @flaviendelangle
1792
+ - 📚 New [page describing the validation props on each picker](https://mui.com/x/react-date-pickers/validation/) (#6064) @flaviendelangle
1654
1793
  - 📚 Documentation improvements
1655
1794
  - 🐞 Bugfixes
1656
1795
 
@@ -1671,14 +1810,14 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
1671
1810
  For users that didn't migrate to the new editing API in v5, additional work may be needed because the new API is not equivalent to the legacy API. Although, some migration steps are available to help in this task.
1672
1811
 
1673
1812
  - The `editCellPropsChange` event was removed. If you still need it please file a new issue so we can propose an alternative.
1674
- - The `cellEditCommit` event was removed and the `processRowUpdate` prop can be used in place. More information, check the [docs](https://next.mui.com/x/react-data-grid/editing/#persistence) section about the topic.
1675
- - The `editRowsModel` and `onEditRowsModelChange` props were removed. The [`cellModesModel`](https://next.mui.com/x/react-data-grid/editing/#controlled-mode) or [`rowModesModel`](https://next.mui.com/x/react-data-grid/editing/#controlled-mode) props can be used to achieve the same goal.
1813
+ - The `cellEditCommit` event was removed and the `processRowUpdate` prop can be used in place. More information, check the [docs](https://mui.com/x/react-data-grid/editing/#persistence) section about the topic.
1814
+ - The `editRowsModel` and `onEditRowsModelChange` props were removed. The [`cellModesModel`](https://mui.com/x/react-data-grid/editing/#controlled-mode) or [`rowModesModel`](https://mui.com/x/react-data-grid/editing/#controlled-mode) props can be used to achieve the same goal.
1676
1815
  - The following API methods were removed:
1677
1816
  - Use `apiRef.current.stopCellEditMode` to replace `apiRef.current.commitCellChange`
1678
1817
  - Use `apiRef.current.startCellEditMode` to replace `apiRef.current.setCellMode(id, field, 'edit')`
1679
1818
  - Use `apiRef.current.stopRowEditMode` to replace `apiRef.current.commitRowChange`
1680
1819
  - Use `apiRef.current.startRowMode` to replace `apiRef.current.setRowMode(id, 'edit')`
1681
- - Use the [`cellModesModel`](https://next.mui.com/x/react-data-grid/editing/#controlled-mode) or [`rowModesModel`](https://next.mui.com/x/react-data-grid/editing/#controlled-mode) props to replace `apiRef.current.setEditRowsModel`
1820
+ - Use the [`cellModesModel`](https://mui.com/x/react-data-grid/editing/#controlled-mode) or [`rowModesModel`](https://mui.com/x/react-data-grid/editing/#controlled-mode) props to replace `apiRef.current.setEditRowsModel`
1682
1821
 
1683
1822
  #### Changes
1684
1823
 
@@ -2079,7 +2218,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
2079
2218
  />
2080
2219
  ```
2081
2220
 
2082
- You can find more information about this new API on our [documentation](https://next.mui.com/x/react-data-grid/column-visibility/).
2221
+ You can find more information about this new API on our [documentation](https://mui.com/x/react-data-grid/column-visibility/).
2083
2222
 
2084
2223
  - The `GridEvents` enum is now a TypeScript type.
2085
2224
 
@@ -2105,7 +2244,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
2105
2244
  You can now use the `localText` prop available on all picker components:
2106
2245
 
2107
2246
  | Removed prop | Property in the new `localText` prop |
2108
- | ---------------------------- | --------------------------------------------------------------------------------- |
2247
+ | :--------------------------- | :-------------------------------------------------------------------------------- |
2109
2248
  | `endText` | `end` |
2110
2249
  | `getClockLabelText` | `clockLabelText` |
2111
2250
  | `getHoursClockNumberText` | `hoursClockNumberText` |
@@ -2129,7 +2268,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
2129
2268
  />
2130
2269
  ```
2131
2270
 
2132
- You can find more information about the new api, including how to set those translations on all your components at once in the [documentation](https://next.mui.com/x/react-date-pickers/localization/)
2271
+ You can find more information about the new api, including how to set those translations on all your components at once in the [documentation](https://mui.com/x/react-date-pickers/localization/)
2133
2272
 
2134
2273
  - The deprecated `locale` prop of the `LocalizationProvider` component have been renamed `adapterLocale`:
2135
2274
 
@@ -2728,7 +2867,7 @@ We'd like to offer a big thanks to the 5 contributors who made this release poss
2728
2867
 
2729
2868
  - [CalendarPicker] Don't move to closest enabled date when `props.date` contains a disabled date (#6537) @flaviendelangle
2730
2869
  - [DateRangePicker] Fix calendar day outside of month layout shifting on hover (pick #6448) (#6538) @alexfauquette
2731
- - [pickers] Fix typescript issues (#6510) @flaviendelangle
2870
+ - [pickers] Fix Typescript issues (#6510) @flaviendelangle
2732
2871
 
2733
2872
  ### Docs
2734
2873
 
@@ -2874,7 +3013,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
2874
3013
 
2875
3014
  ### Core
2876
3015
 
2877
- - [core] Update to typescript 4.8.3 (#6136) @flaviendelangle
3016
+ - [core] Update to Typescript 4.8.3 (#6136) @flaviendelangle
2878
3017
  - [core] Update RFC template (#6100) @bytasv
2879
3018
 
2880
3019
  ## 5.17.2
@@ -3083,7 +3222,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
3083
3222
 
3084
3223
  #### Changes
3085
3224
 
3086
- - [DataGrid] Fix <kbd>Enter</kbd> causing Select to re-open when commiting value (#5756) @m4theushw
3225
+ - [DataGrid] Fix <kbd>Enter</kbd> causing Select to re-open when committing value (#5756) @m4theushw
3087
3226
  - [DataGrid] Fix `GridOverlays` bypassing pointer events (#5674) @philjones88
3088
3227
 
3089
3228
  ### `@mui/x-date-pickers@v5.0.0-beta.6` / `@mui/x-date-picker-pro@v5.0.0-beta.6`
@@ -3127,7 +3266,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
3127
3266
  #### Changes
3128
3267
 
3129
3268
  - [DataGrid] Catch errors if rows freezing is not supported (#5711) @cherniavskii
3130
- - [DataGrid] Preserve cell mode when entering edit mode while commiting (#5686) @m4theushw
3269
+ - [DataGrid] Preserve cell mode when entering edit mode while committing (#5686) @m4theushw
3131
3270
  - [DataGridPremium] Let quick filter search in row grouping children (#5701) @alexfauquette
3132
3271
 
3133
3272
  ### `@mui/x-date-pickers@v5.0.0-beta.5` / `@mui/x-date-picker-pro@5.0.0-beta.5`
@@ -4054,7 +4193,7 @@ We'd like to offer a big thanks to the 7 contributors who made this release poss
4054
4193
  - [core] Remove dead code (#4283) @oliviertassinari
4055
4194
  - [core] Rename the "pre-processing" concept "pipe-processing" (#4261) @flaviendelangle
4056
4195
  - [core] Reuse previous state when updating the columns prop (#4229) @m4theushw
4057
- - [core] Fix Argos flakyness for pickers tests (#4312) @flaviendelangle
4196
+ - [core] Fix Argos flakiness for pickers tests (#4312) @flaviendelangle
4058
4197
 
4059
4198
  ## 5.7.0
4060
4199
 
@@ -4190,7 +4329,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
4190
4329
  Here are the new names and the modifications needed to get the same information with the new selectors.
4191
4330
 
4192
4331
  | Old name | New name |
4193
- | ------------------------------- | ----------------------------------------- |
4332
+ | :------------------------------ | :---------------------------------------- |
4194
4333
  | `allGridColumnsFieldsSelector` | `gridColumnFieldsSelector` |
4195
4334
  | `allGridColumnsSelector` | `gridColumnDefinitionsSelector` |
4196
4335
  | `visibleGridColumnsSelector` | `gridVisibleColumnDefinitionsSelector` |
@@ -5604,7 +5743,7 @@ A big thanks to the 5 contributors who made this release possible. Here are some
5604
5743
 
5605
5744
  - [docs] Add section for controlled selection and server-side pagination (#2602) @DanailH
5606
5745
  - [docs] Fix Algolia search (#2655) @oliviertassinari
5607
- - [docs] Improve the seach results relevance (#2656) @oliviertassinari
5746
+ - [docs] Improve the search results relevance (#2656) @oliviertassinari
5608
5747
  - [docs] Update installation instructions (#2663) @m4theushw
5609
5748
 
5610
5749
  ### Core
@@ -6968,7 +7107,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
6968
7107
  }
6969
7108
  ```
6970
7109
 
6971
- - [DataGrid] Upgrade mininum supported version of React to 17.0.0 (#1410) @m4theushw
7110
+ - [DataGrid] Upgrade minimum supported version of React to 17.0.0 (#1410) @m4theushw
6972
7111
 
6973
7112
  #### Changes
6974
7113
 
@@ -7098,7 +7237,7 @@ Big thanks to the 6 contributors who made this release possible. Here are some h
7098
7237
 
7099
7238
  - [docs] Add demo page (#1147) @DanailH
7100
7239
  - [docs] Fix typo in localization.md (#1155) @michael-martin-al
7101
- - [docs] Improve the desciption of the individual packages (#1139) @oliviertassinari
7240
+ - [docs] Improve the description of the individual packages (#1139) @oliviertassinari
7102
7241
  - [docs] Fix rendering docs to solve custom pagination issue (#1159) @consDev
7103
7242
 
7104
7243
  ### Core
@@ -7275,7 +7414,7 @@ Big thanks to the 5 contributors who made this release possible. Here are some h
7275
7414
  - [DataGrid] Fix footer visual regression (#932) @dtassone
7276
7415
  - [DataGrid] Fix strict mode issue with apiRef (#933) @dtassone
7277
7416
  - [DataGrid] Work on the accessibility of the column menu (#900) @zj9495
7278
- - [DataGrid] Fix timing guarentee (#981) @oliviertassinari
7417
+ - [DataGrid] Fix timing guarantee (#981) @oliviertassinari
7279
7418
  - [DataGrid] Fix unstable footer height (#937) @oliviertassinari
7280
7419
  - [DataGrid] Fix usage of the prop-types API (#955) @oliviertassinari
7281
7420
  - [DataGrid] Fix duplicate aria-label (#953) @oliviertassinari
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { useLicenseVerifier, Watermark } from '@mui/x-license-pro';
4
4
  import { chainPropTypes } from '@mui/utils';
5
- import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider } from '@mui/x-data-grid-pro';
6
- import { DataGridProVirtualScroller, DataGridProColumnHeaders } from '@mui/x-data-grid-pro/internals';
5
+ import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider, useGridSelector, gridPinnedColumnsSelector } from '@mui/x-data-grid-pro';
6
+ import { DataGridProVirtualScroller } from '@mui/x-data-grid-pro/internals';
7
7
  import { useDataGridPremiumComponent } from './useDataGridPremiumComponent';
8
8
  import { useDataGridPremiumProps } from './useDataGridPremiumProps';
9
9
  import { getReleaseInfo } from '../utils/releaseInfo';
@@ -14,6 +14,7 @@ const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremiu
14
14
  const props = useDataGridPremiumProps(inProps);
15
15
  const privateApiRef = useDataGridPremiumComponent(props.apiRef, props);
16
16
  useLicenseVerifier('x-data-grid-premium', releaseInfo);
17
+ const pinnedColumns = useGridSelector(privateApiRef, gridPinnedColumnsSelector);
17
18
  return /*#__PURE__*/_jsx(GridContextProvider, {
18
19
  privateApiRef: privateApiRef,
19
20
  props: props,
@@ -23,8 +24,10 @@ const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremiu
23
24
  sx: props.sx,
24
25
  ref: ref,
25
26
  children: [/*#__PURE__*/_jsx(GridHeader, {}), /*#__PURE__*/_jsx(GridBody, {
26
- ColumnHeadersComponent: DataGridProColumnHeaders,
27
27
  VirtualScrollerComponent: DataGridProVirtualScroller,
28
+ ColumnHeadersProps: {
29
+ pinnedColumns
30
+ },
28
31
  children: /*#__PURE__*/_jsx(Watermark, {
29
32
  packageName: "x-data-grid-premium",
30
33
  releaseInfo: releaseInfo
@@ -129,12 +132,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
129
132
  */
130
133
  columnVisibilityModel: PropTypes.object,
131
134
  /**
132
- * Overrideable components.
135
+ * Overridable components.
133
136
  * @deprecated Use the `slots` prop instead.
134
137
  */
135
138
  components: PropTypes.object,
136
139
  /**
137
- * Overrideable components props dynamically passed to the component at rendering.
140
+ * Overridable components props dynamically passed to the component at rendering.
138
141
  * @deprecated Use the `slotProps` prop instead.
139
142
  */
140
143
  componentsProps: PropTypes.object,
@@ -245,7 +248,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
245
248
  experimentalFeatures: PropTypes.shape({
246
249
  columnGrouping: PropTypes.bool,
247
250
  lazyLoading: PropTypes.bool,
248
- rowPinning: PropTypes.bool,
249
251
  warnIfFocusStateIsNotSynced: PropTypes.bool
250
252
  }),
251
253
  /**
@@ -475,7 +477,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
475
477
  onCellKeyDown: PropTypes.func,
476
478
  /**
477
479
  * Callback fired when the `cellModesModel` prop changes.
478
- * @param {GridCellModesModel} cellModesModel Object containig which cells are in "edit" mode.
480
+ * @param {GridCellModesModel} cellModesModel Object containing which cells are in "edit" mode.
479
481
  * @param {GridCallbackDetails} details Additional details for this callback.
480
482
  */
481
483
  onCellModesModelChange: PropTypes.func,
@@ -665,7 +667,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
665
667
  onRowGroupingModelChange: PropTypes.func,
666
668
  /**
667
669
  * Callback fired when the `rowModesModel` prop changes.
668
- * @param {GridRowModesModel} rowModesModel Object containig which rows are in "edit" mode.
670
+ * @param {GridRowModesModel} rowModesModel Object containing which rows are in "edit" mode.
669
671
  * @param {GridCallbackDetails} details Additional details for this callback.
670
672
  */
671
673
  onRowModesModelChange: PropTypes.func,
@@ -833,11 +835,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
833
835
  */
834
836
  showColumnVerticalBorder: PropTypes.bool,
835
837
  /**
836
- * Overrideable components props dynamically passed to the component at rendering.
838
+ * Overridable components props dynamically passed to the component at rendering.
837
839
  */
838
840
  slotProps: PropTypes.object,
839
841
  /**
840
- * Overrideable components.
842
+ * Overridable components.
841
843
  */
842
844
  slots: PropTypes.object,
843
845
  /**
@@ -885,7 +887,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
885
887
  unstable_cellSelectionModel: PropTypes.object,
886
888
  /**
887
889
  * Callback fired when the selection state of one or multiple cells changes.
888
- * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containg the selected cells.
890
+ * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containing the selected cells.
889
891
  * @param {GridCallbackDetails} details Additional details for this callback.
890
892
  */
891
893
  unstable_onCellSelectionModelChange: PropTypes.func
@@ -1,4 +1,4 @@
1
1
  export * from './GridExcelExportMenuItem';
2
- export * from './icons';
2
+ export * from '../material/icons';
3
3
  export * from './GridColumnMenuAggregationItem';
4
4
  export { GridColumnMenuGroupingItem } from './GridPremiumColumnMenu';
@@ -1,4 +1,4 @@
1
1
  export * from './GridExcelExportMenuItem';
2
- export * from './icons';
2
+ export * from '../material/icons';
3
3
  export * from './GridColumnMenuAggregationItem';
4
4
  export { GridColumnMenuGroupingItem } from './GridPremiumColumnMenu';
@@ -1,3 +1,2 @@
1
- import { GridPremiumSlotsComponent, GridPremiumIconSlotsComponent } from '../models';
2
- export declare const DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS: GridPremiumIconSlotsComponent;
1
+ import type { GridPremiumSlotsComponent } from '../models';
3
2
  export declare const DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS: GridPremiumSlotsComponent;
@@ -1,12 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import { DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS } from '@mui/x-data-grid-pro/internals';
3
- import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from '../components';
4
3
  import { GridPremiumColumnMenu } from '../components/GridPremiumColumnMenu';
5
- export const DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS = {
6
- ColumnMenuUngroupIcon: GridWorkspacesIcon,
7
- ColumnMenuGroupIcon: GridGroupWorkIcon,
8
- ColumnMenuAggregationIcon: GridFunctionsIcon
9
- };
10
- export const DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = _extends({}, DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS, {
4
+ import materialSlots from '../material';
5
+ export const DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = _extends({}, DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, materialSlots, {
11
6
  ColumnMenu: GridPremiumColumnMenu
12
7
  });
@@ -25,6 +25,8 @@ export interface GridAggregationGetCellValueParams {
25
25
  }
26
26
  /**
27
27
  * Grid aggregation function definition interface.
28
+ * @demos
29
+ * - [Aggregation functions](/x/react-data-grid/aggregation/#aggregation-functions)
28
30
  */
29
31
  export interface GridAggregationFunction<V = any, AV = V, FAV = AV> {
30
32
  /**
@@ -3,7 +3,7 @@ import { GridBaseColDef } from '@mui/x-data-grid-pro/internals';
3
3
  import { GridApiPremium } from '../../../models/gridApiPremium';
4
4
  import { GridAggregationRule } from './gridAggregationInterfaces';
5
5
  declare const AGGREGATION_WRAPPABLE_PROPERTIES: readonly ["valueGetter", "valueFormatter", "renderCell", "renderHeader", "filterOperators"];
6
- type WrappableColumnProperty = typeof AGGREGATION_WRAPPABLE_PROPERTIES[number];
6
+ type WrappableColumnProperty = (typeof AGGREGATION_WRAPPABLE_PROPERTIES)[number];
7
7
  interface GridColDefWithAggregationWrappers extends GridBaseColDef {
8
8
  aggregationWrappedProperties?: {
9
9
  [P in WrappableColumnProperty]?: {
@@ -26,13 +26,13 @@ export interface GridCellSelectionApi {
26
26
  unstable_setCellSelectionModel: (newModel: GridCellSelectionModel) => void;
27
27
  /**
28
28
  * Selects all cells that are inside the range given by `start` and `end` coordinates.
29
- * @param {GridCellCoordinates} start Object containg the row ID and field of the first cell to select.
30
- * @param {GridCellCoordinates} end Object containg the row ID and field of the last cell to select.
29
+ * @param {GridCellCoordinates} start Object containing the row ID and field of the first cell to select.
30
+ * @param {GridCellCoordinates} end Object containing the row ID and field of the last cell to select.
31
31
  * @param {boolean} keepOtherSelected Whether to keep current selected cells or discard. Default is false.
32
32
  */
33
33
  unstable_selectCellRange: (start: GridCellCoordinates, end: GridCellCoordinates, keepOtherSelected?: boolean) => void;
34
34
  /**
35
- * Returns an array containg only the selected cells.
35
+ * Returns an array containing only the selected cells.
36
36
  * Each item is an object with the ID and field of the cell.
37
37
  * @returns {GridCellCoordinates[]} Array with the selected cells.
38
38
  */
@@ -11,6 +11,8 @@ export interface ColumnsStylesInterface {
11
11
  }
12
12
  /**
13
13
  * The options to apply on the Excel export.
14
+ * @demos
15
+ * - [Excel export](/x/react-data-grid/export/#excel-export)
14
16
  */
15
17
  export interface GridExcelExportOptions extends GridFileExportOptions {
16
18
  /**
package/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './DataGridPremium';
16
16
  export * from './hooks';
17
17
  export * from './models';
18
18
  export * from './components';
19
+ export { GridColumnHeaders } from '@mui/x-data-grid-pro';
19
20
  export type { DataGridPremiumProps, GridExperimentalPremiumFeatures, } from './models/dataGridPremiumProps';
20
21
  export { useGridApiContext, useGridApiRef, useGridRootProps } from './typeOverloads/reexports';
21
22
  export type { GridApi, GridInitialState, GridState } from './typeOverloads/reexports';
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.0.0-beta.5
2
+ * @mui/x-data-grid-premium v6.0.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -23,5 +23,6 @@ export * from './DataGridPremium';
23
23
  export * from './hooks';
24
24
  export * from './models';
25
25
  export * from './components';
26
+ export { GridColumnHeaders } from '@mui/x-data-grid-pro';
26
27
  export { useGridApiContext, useGridApiRef, useGridRootProps } from './typeOverloads/reexports';
27
28
  export { GridColumnMenu, GRID_COLUMN_MENU_COMPONENTS, GRID_COLUMN_MENU_COMPONENTS_PROPS } from './components/reexports';
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { useLicenseVerifier, Watermark } from '@mui/x-license-pro';
4
4
  import { chainPropTypes } from '@mui/utils';
5
- import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider } from '@mui/x-data-grid-pro';
6
- import { DataGridProVirtualScroller, DataGridProColumnHeaders } from '@mui/x-data-grid-pro/internals';
5
+ import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider, useGridSelector, gridPinnedColumnsSelector } from '@mui/x-data-grid-pro';
6
+ import { DataGridProVirtualScroller } from '@mui/x-data-grid-pro/internals';
7
7
  import { useDataGridPremiumComponent } from './useDataGridPremiumComponent';
8
8
  import { useDataGridPremiumProps } from './useDataGridPremiumProps';
9
9
  import { getReleaseInfo } from '../utils/releaseInfo';
@@ -14,6 +14,7 @@ var DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremium(
14
14
  var props = useDataGridPremiumProps(inProps);
15
15
  var privateApiRef = useDataGridPremiumComponent(props.apiRef, props);
16
16
  useLicenseVerifier('x-data-grid-premium', releaseInfo);
17
+ var pinnedColumns = useGridSelector(privateApiRef, gridPinnedColumnsSelector);
17
18
  return /*#__PURE__*/_jsx(GridContextProvider, {
18
19
  privateApiRef: privateApiRef,
19
20
  props: props,
@@ -23,8 +24,10 @@ var DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremium(
23
24
  sx: props.sx,
24
25
  ref: ref,
25
26
  children: [/*#__PURE__*/_jsx(GridHeader, {}), /*#__PURE__*/_jsx(GridBody, {
26
- ColumnHeadersComponent: DataGridProColumnHeaders,
27
27
  VirtualScrollerComponent: DataGridProVirtualScroller,
28
+ ColumnHeadersProps: {
29
+ pinnedColumns: pinnedColumns
30
+ },
28
31
  children: /*#__PURE__*/_jsx(Watermark, {
29
32
  packageName: "x-data-grid-premium",
30
33
  releaseInfo: releaseInfo
@@ -129,12 +132,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
129
132
  */
130
133
  columnVisibilityModel: PropTypes.object,
131
134
  /**
132
- * Overrideable components.
135
+ * Overridable components.
133
136
  * @deprecated Use the `slots` prop instead.
134
137
  */
135
138
  components: PropTypes.object,
136
139
  /**
137
- * Overrideable components props dynamically passed to the component at rendering.
140
+ * Overridable components props dynamically passed to the component at rendering.
138
141
  * @deprecated Use the `slotProps` prop instead.
139
142
  */
140
143
  componentsProps: PropTypes.object,
@@ -245,7 +248,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
245
248
  experimentalFeatures: PropTypes.shape({
246
249
  columnGrouping: PropTypes.bool,
247
250
  lazyLoading: PropTypes.bool,
248
- rowPinning: PropTypes.bool,
249
251
  warnIfFocusStateIsNotSynced: PropTypes.bool
250
252
  }),
251
253
  /**
@@ -475,7 +477,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
475
477
  onCellKeyDown: PropTypes.func,
476
478
  /**
477
479
  * Callback fired when the `cellModesModel` prop changes.
478
- * @param {GridCellModesModel} cellModesModel Object containig which cells are in "edit" mode.
480
+ * @param {GridCellModesModel} cellModesModel Object containing which cells are in "edit" mode.
479
481
  * @param {GridCallbackDetails} details Additional details for this callback.
480
482
  */
481
483
  onCellModesModelChange: PropTypes.func,
@@ -665,7 +667,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
665
667
  onRowGroupingModelChange: PropTypes.func,
666
668
  /**
667
669
  * Callback fired when the `rowModesModel` prop changes.
668
- * @param {GridRowModesModel} rowModesModel Object containig which rows are in "edit" mode.
670
+ * @param {GridRowModesModel} rowModesModel Object containing which rows are in "edit" mode.
669
671
  * @param {GridCallbackDetails} details Additional details for this callback.
670
672
  */
671
673
  onRowModesModelChange: PropTypes.func,
@@ -833,11 +835,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
833
835
  */
834
836
  showColumnVerticalBorder: PropTypes.bool,
835
837
  /**
836
- * Overrideable components props dynamically passed to the component at rendering.
838
+ * Overridable components props dynamically passed to the component at rendering.
837
839
  */
838
840
  slotProps: PropTypes.object,
839
841
  /**
840
- * Overrideable components.
842
+ * Overridable components.
841
843
  */
842
844
  slots: PropTypes.object,
843
845
  /**
@@ -885,7 +887,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
885
887
  unstable_cellSelectionModel: PropTypes.object,
886
888
  /**
887
889
  * Callback fired when the selection state of one or multiple cells changes.
888
- * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containg the selected cells.
890
+ * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containing the selected cells.
889
891
  * @param {GridCallbackDetails} details Additional details for this callback.
890
892
  */
891
893
  unstable_onCellSelectionModelChange: PropTypes.func
@@ -1,4 +1,4 @@
1
1
  export * from './GridExcelExportMenuItem';
2
- export * from './icons';
2
+ export * from '../material/icons';
3
3
  export * from './GridColumnMenuAggregationItem';
4
4
  export { GridColumnMenuGroupingItem } from './GridPremiumColumnMenu';
@@ -1,12 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import { DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS } from '@mui/x-data-grid-pro/internals';
3
- import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from '../components';
4
3
  import { GridPremiumColumnMenu } from '../components/GridPremiumColumnMenu';
5
- export var DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS = {
6
- ColumnMenuUngroupIcon: GridWorkspacesIcon,
7
- ColumnMenuGroupIcon: GridGroupWorkIcon,
8
- ColumnMenuAggregationIcon: GridFunctionsIcon
9
- };
10
- export var DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = _extends({}, DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS, {
4
+ import materialSlots from '../material';
5
+ export var DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = _extends({}, DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, materialSlots, {
11
6
  ColumnMenu: GridPremiumColumnMenu
12
7
  });
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.0.0-beta.5
2
+ * @mui/x-data-grid-premium v6.0.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -23,5 +23,6 @@ export * from './DataGridPremium';
23
23
  export * from './hooks';
24
24
  export * from './models';
25
25
  export * from './components';
26
+ export { GridColumnHeaders } from '@mui/x-data-grid-pro';
26
27
  export { useGridApiContext, useGridApiRef, useGridRootProps } from './typeOverloads/reexports';
27
28
  export { GridColumnMenu, GRID_COLUMN_MENU_COMPONENTS, GRID_COLUMN_MENU_COMPONENTS_PROPS } from './components/reexports';
@@ -0,0 +1,9 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from './icons';
3
+ var iconsSlots = {
4
+ ColumnMenuUngroupIcon: GridWorkspacesIcon,
5
+ ColumnMenuGroupIcon: GridGroupWorkIcon,
6
+ ColumnMenuAggregationIcon: GridFunctionsIcon
7
+ };
8
+ var materialSlots = _extends({}, iconsSlots);
9
+ export default materialSlots;
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTY3NzEwNjgwMDAwMA==";
3
+ var releaseInfo = "MTY3ODMwMjAwMDAwMA==";
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
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const materialSlots: {
3
+ ColumnMenuUngroupIcon: import("react").JSXElementConstructor<any>;
4
+ ColumnMenuGroupIcon: import("react").JSXElementConstructor<any>;
5
+ ColumnMenuAggregationIcon: import("react").JSXElementConstructor<any>;
6
+ };
7
+ export default materialSlots;
@@ -0,0 +1,9 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from './icons';
3
+ const iconsSlots = {
4
+ ColumnMenuUngroupIcon: GridWorkspacesIcon,
5
+ ColumnMenuGroupIcon: GridGroupWorkIcon,
6
+ ColumnMenuAggregationIcon: GridFunctionsIcon
7
+ };
8
+ const materialSlots = _extends({}, iconsSlots);
9
+ export default materialSlots;
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "main": "../node/material/index.js",
5
+ "types": "./index.d.ts"
6
+ }
@@ -11,12 +11,12 @@ export interface GridExperimentalPremiumFeatures extends GridExperimentalProFeat
11
11
  }
12
12
  export interface DataGridPremiumPropsWithComplexDefaultValueBeforeProcessing extends Pick<DataGridPropsWithComplexDefaultValueBeforeProcessing, 'localeText'> {
13
13
  /**
14
- * Overrideable components.
14
+ * Overridable components.
15
15
  * @deprecated Use the `slots` prop instead.
16
16
  */
17
17
  components?: Partial<GridPremiumSlotsComponent>;
18
18
  /**
19
- * Overrideable components.
19
+ * Overridable components.
20
20
  */
21
21
  slots?: Partial<UncapitalizedGridPremiumSlotsComponent>;
22
22
  }
@@ -123,7 +123,7 @@ export interface DataGridPremiumPropsWithoutDefaultValue<R extends GridValidRowM
123
123
  unstable_cellSelectionModel?: GridCellSelectionModel;
124
124
  /**
125
125
  * Callback fired when the selection state of one or multiple cells changes.
126
- * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containg the selected cells.
126
+ * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containing the selected cells.
127
127
  * @param {GridCallbackDetails} details Additional details for this callback.
128
128
  */
129
129
  unstable_onCellSelectionModelChange?: (cellSelectionModel: GridCellSelectionModel, details: GridCallbackDetails) => void;
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { useLicenseVerifier, Watermark } from '@mui/x-license-pro';
4
4
  import { chainPropTypes } from '@mui/utils';
5
- import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider } from '@mui/x-data-grid-pro';
6
- import { DataGridProVirtualScroller, DataGridProColumnHeaders } from '@mui/x-data-grid-pro/internals';
5
+ import { GridBody, GridFooterPlaceholder, GridHeader, GridRoot, GridContextProvider, useGridSelector, gridPinnedColumnsSelector } from '@mui/x-data-grid-pro';
6
+ import { DataGridProVirtualScroller } from '@mui/x-data-grid-pro/internals';
7
7
  import { useDataGridPremiumComponent } from './useDataGridPremiumComponent';
8
8
  import { useDataGridPremiumProps } from './useDataGridPremiumProps';
9
9
  import { getReleaseInfo } from '../utils/releaseInfo';
@@ -14,6 +14,7 @@ const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremiu
14
14
  const props = useDataGridPremiumProps(inProps);
15
15
  const privateApiRef = useDataGridPremiumComponent(props.apiRef, props);
16
16
  useLicenseVerifier('x-data-grid-premium', releaseInfo);
17
+ const pinnedColumns = useGridSelector(privateApiRef, gridPinnedColumnsSelector);
17
18
  return /*#__PURE__*/_jsx(GridContextProvider, {
18
19
  privateApiRef: privateApiRef,
19
20
  props: props,
@@ -23,8 +24,10 @@ const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremiu
23
24
  sx: props.sx,
24
25
  ref: ref,
25
26
  children: [/*#__PURE__*/_jsx(GridHeader, {}), /*#__PURE__*/_jsx(GridBody, {
26
- ColumnHeadersComponent: DataGridProColumnHeaders,
27
27
  VirtualScrollerComponent: DataGridProVirtualScroller,
28
+ ColumnHeadersProps: {
29
+ pinnedColumns
30
+ },
28
31
  children: /*#__PURE__*/_jsx(Watermark, {
29
32
  packageName: "x-data-grid-premium",
30
33
  releaseInfo: releaseInfo
@@ -129,12 +132,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
129
132
  */
130
133
  columnVisibilityModel: PropTypes.object,
131
134
  /**
132
- * Overrideable components.
135
+ * Overridable components.
133
136
  * @deprecated Use the `slots` prop instead.
134
137
  */
135
138
  components: PropTypes.object,
136
139
  /**
137
- * Overrideable components props dynamically passed to the component at rendering.
140
+ * Overridable components props dynamically passed to the component at rendering.
138
141
  * @deprecated Use the `slotProps` prop instead.
139
142
  */
140
143
  componentsProps: PropTypes.object,
@@ -245,7 +248,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
245
248
  experimentalFeatures: PropTypes.shape({
246
249
  columnGrouping: PropTypes.bool,
247
250
  lazyLoading: PropTypes.bool,
248
- rowPinning: PropTypes.bool,
249
251
  warnIfFocusStateIsNotSynced: PropTypes.bool
250
252
  }),
251
253
  /**
@@ -475,7 +477,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
475
477
  onCellKeyDown: PropTypes.func,
476
478
  /**
477
479
  * Callback fired when the `cellModesModel` prop changes.
478
- * @param {GridCellModesModel} cellModesModel Object containig which cells are in "edit" mode.
480
+ * @param {GridCellModesModel} cellModesModel Object containing which cells are in "edit" mode.
479
481
  * @param {GridCallbackDetails} details Additional details for this callback.
480
482
  */
481
483
  onCellModesModelChange: PropTypes.func,
@@ -665,7 +667,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
665
667
  onRowGroupingModelChange: PropTypes.func,
666
668
  /**
667
669
  * Callback fired when the `rowModesModel` prop changes.
668
- * @param {GridRowModesModel} rowModesModel Object containig which rows are in "edit" mode.
670
+ * @param {GridRowModesModel} rowModesModel Object containing which rows are in "edit" mode.
669
671
  * @param {GridCallbackDetails} details Additional details for this callback.
670
672
  */
671
673
  onRowModesModelChange: PropTypes.func,
@@ -833,11 +835,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
833
835
  */
834
836
  showColumnVerticalBorder: PropTypes.bool,
835
837
  /**
836
- * Overrideable components props dynamically passed to the component at rendering.
838
+ * Overridable components props dynamically passed to the component at rendering.
837
839
  */
838
840
  slotProps: PropTypes.object,
839
841
  /**
840
- * Overrideable components.
842
+ * Overridable components.
841
843
  */
842
844
  slots: PropTypes.object,
843
845
  /**
@@ -885,7 +887,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
885
887
  unstable_cellSelectionModel: PropTypes.object,
886
888
  /**
887
889
  * Callback fired when the selection state of one or multiple cells changes.
888
- * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containg the selected cells.
890
+ * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containing the selected cells.
889
891
  * @param {GridCallbackDetails} details Additional details for this callback.
890
892
  */
891
893
  unstable_onCellSelectionModelChange: PropTypes.func
@@ -1,4 +1,4 @@
1
1
  export * from './GridExcelExportMenuItem';
2
- export * from './icons';
2
+ export * from '../material/icons';
3
3
  export * from './GridColumnMenuAggregationItem';
4
4
  export { GridColumnMenuGroupingItem } from './GridPremiumColumnMenu';
@@ -1,12 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import { DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS } from '@mui/x-data-grid-pro/internals';
3
- import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from '../components';
4
3
  import { GridPremiumColumnMenu } from '../components/GridPremiumColumnMenu';
5
- export const DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS = {
6
- ColumnMenuUngroupIcon: GridWorkspacesIcon,
7
- ColumnMenuGroupIcon: GridGroupWorkIcon,
8
- ColumnMenuAggregationIcon: GridFunctionsIcon
9
- };
10
- export const DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = _extends({}, DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS, {
4
+ import materialSlots from '../material';
5
+ export const DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = _extends({}, DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, materialSlots, {
11
6
  ColumnMenu: GridPremiumColumnMenu
12
7
  });
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.0.0-beta.5
2
+ * @mui/x-data-grid-premium v6.0.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -23,5 +23,6 @@ export * from './DataGridPremium';
23
23
  export * from './hooks';
24
24
  export * from './models';
25
25
  export * from './components';
26
+ export { GridColumnHeaders } from '@mui/x-data-grid-pro';
26
27
  export { useGridApiContext, useGridApiRef, useGridRootProps } from './typeOverloads/reexports';
27
28
  export { GridColumnMenu, GRID_COLUMN_MENU_COMPONENTS, GRID_COLUMN_MENU_COMPONENTS_PROPS } from './components/reexports';
@@ -0,0 +1,9 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import { GridWorkspacesIcon, GridGroupWorkIcon, GridFunctionsIcon } from './icons';
3
+ const iconsSlots = {
4
+ ColumnMenuUngroupIcon: GridWorkspacesIcon,
5
+ ColumnMenuGroupIcon: GridGroupWorkIcon,
6
+ ColumnMenuAggregationIcon: GridFunctionsIcon
7
+ };
8
+ const materialSlots = _extends({}, iconsSlots);
9
+ export default materialSlots;
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY3NzEwNjgwMDAwMA==";
3
+ const releaseInfo = "MTY3ODMwMjAwMDAwMA==";
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
@@ -22,6 +22,7 @@ const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremiu
22
22
  const props = (0, _useDataGridPremiumProps.useDataGridPremiumProps)(inProps);
23
23
  const privateApiRef = (0, _useDataGridPremiumComponent.useDataGridPremiumComponent)(props.apiRef, props);
24
24
  (0, _xLicensePro.useLicenseVerifier)('x-data-grid-premium', releaseInfo);
25
+ const pinnedColumns = (0, _xDataGridPro.useGridSelector)(privateApiRef, _xDataGridPro.gridPinnedColumnsSelector);
25
26
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridContextProvider, {
26
27
  privateApiRef: privateApiRef,
27
28
  props: props,
@@ -31,8 +32,10 @@ const DataGridPremiumRaw = /*#__PURE__*/React.forwardRef(function DataGridPremiu
31
32
  sx: props.sx,
32
33
  ref: ref,
33
34
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridHeader, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGridPro.GridBody, {
34
- ColumnHeadersComponent: _internals.DataGridProColumnHeaders,
35
35
  VirtualScrollerComponent: _internals.DataGridProVirtualScroller,
36
+ ColumnHeadersProps: {
37
+ pinnedColumns
38
+ },
36
39
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicensePro.Watermark, {
37
40
  packageName: "x-data-grid-premium",
38
41
  releaseInfo: releaseInfo
@@ -138,12 +141,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
138
141
  */
139
142
  columnVisibilityModel: _propTypes.default.object,
140
143
  /**
141
- * Overrideable components.
144
+ * Overridable components.
142
145
  * @deprecated Use the `slots` prop instead.
143
146
  */
144
147
  components: _propTypes.default.object,
145
148
  /**
146
- * Overrideable components props dynamically passed to the component at rendering.
149
+ * Overridable components props dynamically passed to the component at rendering.
147
150
  * @deprecated Use the `slotProps` prop instead.
148
151
  */
149
152
  componentsProps: _propTypes.default.object,
@@ -254,7 +257,6 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
254
257
  experimentalFeatures: _propTypes.default.shape({
255
258
  columnGrouping: _propTypes.default.bool,
256
259
  lazyLoading: _propTypes.default.bool,
257
- rowPinning: _propTypes.default.bool,
258
260
  warnIfFocusStateIsNotSynced: _propTypes.default.bool
259
261
  }),
260
262
  /**
@@ -484,7 +486,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
484
486
  onCellKeyDown: _propTypes.default.func,
485
487
  /**
486
488
  * Callback fired when the `cellModesModel` prop changes.
487
- * @param {GridCellModesModel} cellModesModel Object containig which cells are in "edit" mode.
489
+ * @param {GridCellModesModel} cellModesModel Object containing which cells are in "edit" mode.
488
490
  * @param {GridCallbackDetails} details Additional details for this callback.
489
491
  */
490
492
  onCellModesModelChange: _propTypes.default.func,
@@ -674,7 +676,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
674
676
  onRowGroupingModelChange: _propTypes.default.func,
675
677
  /**
676
678
  * Callback fired when the `rowModesModel` prop changes.
677
- * @param {GridRowModesModel} rowModesModel Object containig which rows are in "edit" mode.
679
+ * @param {GridRowModesModel} rowModesModel Object containing which rows are in "edit" mode.
678
680
  * @param {GridCallbackDetails} details Additional details for this callback.
679
681
  */
680
682
  onRowModesModelChange: _propTypes.default.func,
@@ -842,11 +844,11 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
842
844
  */
843
845
  showColumnVerticalBorder: _propTypes.default.bool,
844
846
  /**
845
- * Overrideable components props dynamically passed to the component at rendering.
847
+ * Overridable components props dynamically passed to the component at rendering.
846
848
  */
847
849
  slotProps: _propTypes.default.object,
848
850
  /**
849
- * Overrideable components.
851
+ * Overridable components.
850
852
  */
851
853
  slots: _propTypes.default.object,
852
854
  /**
@@ -894,7 +896,7 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
894
896
  unstable_cellSelectionModel: _propTypes.default.object,
895
897
  /**
896
898
  * Callback fired when the selection state of one or multiple cells changes.
897
- * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containg the selected cells.
899
+ * @param {GridCellSelectionModel} cellSelectionModel Object in the shape of [[GridCellSelectionModel]] containing the selected cells.
898
900
  * @param {GridCallbackDetails} details Additional details for this callback.
899
901
  */
900
902
  unstable_onCellSelectionModelChange: _propTypes.default.func
@@ -24,7 +24,7 @@ Object.keys(_GridExcelExportMenuItem).forEach(function (key) {
24
24
  }
25
25
  });
26
26
  });
27
- var _icons = require("./icons");
27
+ var _icons = require("../material/icons");
28
28
  Object.keys(_icons).forEach(function (key) {
29
29
  if (key === "default" || key === "__esModule") return;
30
30
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -4,18 +4,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS = exports.DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = void 0;
7
+ exports.DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _internals = require("@mui/x-data-grid-pro/internals");
10
- var _components = require("../components");
11
10
  var _GridPremiumColumnMenu = require("../components/GridPremiumColumnMenu");
12
- const DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS = {
13
- ColumnMenuUngroupIcon: _components.GridWorkspacesIcon,
14
- ColumnMenuGroupIcon: _components.GridGroupWorkIcon,
15
- ColumnMenuAggregationIcon: _components.GridFunctionsIcon
16
- };
17
- exports.DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS = DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS;
18
- const DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = (0, _extends2.default)({}, _internals.DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, DEFAULT_GRID_PREMIUM_ICON_SLOTS_COMPONENTS, {
11
+ var _material = _interopRequireDefault(require("../material"));
12
+ const DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = (0, _extends2.default)({}, _internals.DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS, _material.default, {
19
13
  ColumnMenu: _GridPremiumColumnMenu.GridPremiumColumnMenu
20
14
  });
21
15
  exports.DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS = DATA_GRID_PREMIUM_DEFAULT_SLOTS_COMPONENTS;
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-premium v6.0.0-beta.5
2
+ * @mui/x-data-grid-premium v6.0.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", {
12
12
  });
13
13
  var _exportNames = {
14
14
  LicenseInfo: true,
15
+ GridColumnHeaders: true,
15
16
  useGridApiContext: true,
16
17
  useGridApiRef: true,
17
18
  useGridRootProps: true,
@@ -31,6 +32,12 @@ Object.defineProperty(exports, "GRID_COLUMN_MENU_COMPONENTS_PROPS", {
31
32
  return _reexports2.GRID_COLUMN_MENU_COMPONENTS_PROPS;
32
33
  }
33
34
  });
35
+ Object.defineProperty(exports, "GridColumnHeaders", {
36
+ enumerable: true,
37
+ get: function () {
38
+ return _xDataGridPro.GridColumnHeaders;
39
+ }
40
+ });
34
41
  Object.defineProperty(exports, "GridColumnMenu", {
35
42
  enumerable: true,
36
43
  get: function () {
@@ -255,5 +262,6 @@ Object.keys(_components3).forEach(function (key) {
255
262
  }
256
263
  });
257
264
  });
265
+ var _xDataGridPro = require("@mui/x-data-grid-pro");
258
266
  var _reexports = require("./typeOverloads/reexports");
259
267
  var _reexports2 = require("./components/reexports");
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _icons = require("./icons");
10
+ const iconsSlots = {
11
+ ColumnMenuUngroupIcon: _icons.GridWorkspacesIcon,
12
+ ColumnMenuGroupIcon: _icons.GridGroupWorkIcon,
13
+ ColumnMenuAggregationIcon: _icons.GridFunctionsIcon
14
+ };
15
+ const materialSlots = (0, _extends2.default)({}, iconsSlots);
16
+ var _default = materialSlots;
17
+ exports.default = _default;
@@ -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 = "MTY3NzEwNjgwMDAwMA==";
9
+ const releaseInfo = "MTY3ODMwMjAwMDAwMA==";
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.5",
3
+ "version": "6.0.1",
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",
@@ -33,9 +33,9 @@
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.20.13",
35
35
  "@mui/utils": "^5.11.7",
36
- "@mui/x-data-grid": "6.0.0-beta.5",
37
- "@mui/x-data-grid-pro": "6.0.0-beta.5",
38
- "@mui/x-license-pro": "6.0.0-beta.4",
36
+ "@mui/x-data-grid": "6.0.1",
37
+ "@mui/x-data-grid-pro": "6.0.1",
38
+ "@mui/x-license-pro": "6.0.1",
39
39
  "@types/format-util": "^1.0.2",
40
40
  "clsx": "^1.2.1",
41
41
  "exceljs": "^4.3.0",
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY3NzEwNjgwMDAwMA==";
3
+ const releaseInfo = "MTY3ODMwMjAwMDAwMA==";
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
File without changes
File without changes
File without changes
File without changes
File without changes