@mui/x-data-grid 6.10.2 → 6.11.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 (68) hide show
  1. package/CHANGELOG.md +154 -0
  2. package/DataGrid/DataGrid.d.ts +1 -1
  3. package/DataGrid/DataGrid.js +2 -1
  4. package/colDef/utils.d.ts +1 -1
  5. package/colDef/utils.js +1 -1
  6. package/components/GridPagination.d.ts +6 -2
  7. package/components/cell/GridActionsCellItem.d.ts +6 -2
  8. package/components/cell/GridCell.js +57 -46
  9. package/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  10. package/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  11. package/components/containers/GridMainContainer.js +10 -3
  12. package/components/containers/GridRoot.js +7 -13
  13. package/components/panel/GridPanel.d.ts +1 -1
  14. package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
  15. package/hooks/features/columns/gridColumnsUtils.js +2 -2
  16. package/hooks/features/virtualization/useGridVirtualScroller.d.ts +7 -4
  17. package/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
  18. package/hooks/utils/useGridAriaAttributes.d.ts +6 -0
  19. package/hooks/utils/useGridAriaAttributes.js +25 -0
  20. package/index.js +1 -1
  21. package/legacy/DataGrid/DataGrid.js +2 -1
  22. package/legacy/colDef/utils.js +1 -1
  23. package/legacy/components/cell/GridCell.js +57 -46
  24. package/legacy/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  25. package/legacy/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  26. package/legacy/components/containers/GridMainContainer.js +10 -3
  27. package/legacy/components/containers/GridRoot.js +7 -13
  28. package/legacy/hooks/features/columns/gridColumnsUtils.js +2 -2
  29. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
  30. package/legacy/hooks/utils/useGridAriaAttributes.js +25 -0
  31. package/legacy/index.js +1 -1
  32. package/legacy/locales/fiFI.js +28 -30
  33. package/legacy/locales/heIL.js +26 -29
  34. package/legacy/locales/itIT.js +34 -38
  35. package/locales/fiFI.js +28 -30
  36. package/locales/heIL.js +26 -29
  37. package/locales/itIT.js +34 -38
  38. package/models/gridFilterOperator.d.ts +1 -1
  39. package/models/props/DataGridProps.d.ts +7 -1
  40. package/modern/DataGrid/DataGrid.js +2 -1
  41. package/modern/colDef/utils.js +1 -1
  42. package/modern/components/cell/GridCell.js +54 -43
  43. package/modern/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  44. package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  45. package/modern/components/containers/GridMainContainer.js +9 -3
  46. package/modern/components/containers/GridRoot.js +6 -13
  47. package/modern/hooks/features/columns/gridColumnsUtils.js +2 -2
  48. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
  49. package/modern/hooks/utils/useGridAriaAttributes.js +24 -0
  50. package/modern/index.js +1 -1
  51. package/modern/locales/fiFI.js +28 -30
  52. package/modern/locales/heIL.js +26 -29
  53. package/modern/locales/itIT.js +34 -38
  54. package/node/DataGrid/DataGrid.js +2 -1
  55. package/node/colDef/utils.js +1 -1
  56. package/node/components/cell/GridCell.js +54 -43
  57. package/node/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  58. package/node/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  59. package/node/components/containers/GridMainContainer.js +10 -3
  60. package/node/components/containers/GridRoot.js +6 -13
  61. package/node/hooks/features/columns/gridColumnsUtils.js +1 -1
  62. package/node/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
  63. package/node/hooks/utils/useGridAriaAttributes.js +31 -0
  64. package/node/index.js +1 -1
  65. package/node/locales/fiFI.js +28 -30
  66. package/node/locales/heIL.js +26 -29
  67. package/node/locales/itIT.js +34 -38
  68. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,160 @@
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.11.1
7
+
8
+ _Aug 11, 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
+ - 💫 Add theme augmentation to `@mui/x-tree-view`
13
+ - 📈 Enable charts customization using `slot` and `slotProps` props
14
+ - 🌍 Improve Finnish (fi-FI) and Icelandic (is-IS) locales on the pickers
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ ### Data Grid
19
+
20
+ #### `@mui/x-data-grid@6.11.1`
21
+
22
+ - [DataGrid] `getCellAggregationResult`: Handle `null` `rowNode` case (#9915) @romgrk
23
+
24
+ #### `@mui/x-data-grid-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
25
+
26
+ Same changes as in `@mui/x-data-grid@6.11.1`.
27
+
28
+ #### `@mui/x-data-grid-premium@6.11.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
29
+
30
+ Same changes as in `@mui/x-data-grid-pro@6.11.1`.
31
+
32
+ ### Date Pickers
33
+
34
+ #### `@mui/x-date-pickers@6.11.1`
35
+
36
+ - [fields] Use `numeric` `inputmode` instead of `tel` (#9918) @LukasTy
37
+ - [pickers] Always respect locale when formatting meridiem (#9979) @flaviendelangle
38
+ - [pickers] Call `onChange` when selecting a shortcut with `changeImportance="set"` (#9974) @flaviendelangle
39
+ - [pickers] Refactor `themeAugmentation` `styleOverrides` (#9978) @LukasTy
40
+ - [l10n] Improve Finnish (fi-FI) locale (#9795) @kurkle
41
+ - [l10n] Improve Icelandic (is-IS) locale (#9639) @magnimarels
42
+
43
+ #### `@mui/x-date-pickers-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
44
+
45
+ Same changes as in `@mui/x-date-pickers@6.11.1`.
46
+
47
+ ### Charts / `@mui/x-charts@v6.0.0-alpha.7`
48
+
49
+ - [charts] Fix label and tick alignment (#9952) @LukasTy
50
+ - [charts] Remove not functional component `styleOverrides` (#9996) @LukasTy
51
+ - [charts] Set custom ticks number (#9922) @alexfauquette
52
+ - [charts] Use `slot`/`slotProps` for customization (#9744) @alexfauquette
53
+ - [charts] Extend cheerful fiesta palette (#9980) @noraleonte
54
+
55
+ ### Tree View / `@mui/x-tree-view@v6.0.0-alpha.1`
56
+
57
+ - [TreeView] Add theme augmentation (#9967) @flaviendelangle
58
+
59
+ ### Docs
60
+
61
+ - [docs] Clarify the `shouldDisableClock` migration code options (#9920) @LukasTy
62
+
63
+ ### Core
64
+
65
+ - [core] Port GitHub workflow for ensuring triage label is present (#9924) @DanailH
66
+ - [docs-infra] Fix the import samples in Api pages (#9898) @alexfauquette
67
+
68
+ ## 6.11.0
69
+
70
+ _Aug 4, 2023_
71
+
72
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
73
+
74
+ - ⌚️ Move the tree view component from `@mui/lab` package
75
+
76
+ The `<TreeView />` component has been moved to the MUI X repository.
77
+ It is now accessible from its own package: `@mui/x-tree-view`.
78
+
79
+ - 🌍 Improve Hebrew (he-IL), Finnish (fi-FI), and Italian (it-IT) locales on the data grid
80
+ - 🐞 Bugfixes
81
+ - 📚 Documentation improvements
82
+
83
+ ### Data Grid
84
+
85
+ #### `@mui/x-data-grid@v6.11.0`
86
+
87
+ - [DataGrid] Add `ariaV7` experimental flag (#9496) @cherniavskii
88
+ - [DataGrid] Fix cell size when column width is set to `undefined` (#9871) @gitstart
89
+ - [l10n] Improve Hebrew (he-IL) locale (#9820) @itayG98
90
+ - [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
91
+ - [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
92
+
93
+ #### `@mui/x-data-grid-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
94
+
95
+ Same changes as in `@mui/x-data-grid@v6.11.0`.
96
+
97
+ #### `@mui/x-data-grid-premium@v6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
98
+
99
+ Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
100
+
101
+ ### Date Pickers
102
+
103
+ #### `@mui/x-date-pickers@v6.11.0`
104
+
105
+ - [fields] Correctly handle events with a complete value insertion (#9896) @LukasTy
106
+ - [fields] Fix hours editing on dayjs with timezone and DST (#9901) @flaviendelangle
107
+ - [fields] Fix section clearing with timezone (#9819) @flaviendelangle
108
+ - [pickers] Add `CalendarHeader` slot (#7784) @flaviendelangle
109
+ - [pickers] Allow to override the `InputProps` of the `TextField` using the `slotProps` (#9849) @flaviendelangle
110
+ - [pickers] Allow to override the opening aria text using the `localeText` prop on the pickers (#9870) @flaviendelangle
111
+ - [pickers] Fix `sx` and `className` props on `MobileDateRangePicker` (#9853) @flaviendelangle
112
+ - [pickers] Fix default descriptions (#9887) @LukasTy
113
+ - [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
114
+ - [pickers] Use device motion reduction preference (#9823) @LukasTy
115
+
116
+ #### `@mui/x-date-pickers-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
117
+
118
+ Same changes as in `@mui/x-date-pickers@v6.11.0`.
119
+
120
+ ### Charts / `@mui/x-charts@v6.0.0-alpha.6`
121
+
122
+ - [charts] Add TS definition to the exported elements (#9885) @alexfauquette
123
+ - [charts] Add sparkline (#9662) @alexfauquette
124
+ - [charts] Fix missing configuration types (#9886) @alexfauquette
125
+ - [charts] Introduce dataset to simplify plot of data from API (#9774) @alexfauquette
126
+
127
+ ### Tree View / `@mui/x-tree-view@v6.0.0-alpha.0`
128
+
129
+ - [TreeView] Add missing exported types (#9862) @flaviendelangle
130
+ - [TreeView] Add tree view to changelog generator script (#9903) @MBilalShafi
131
+ - [TreeView] Create the package on the X repository (#9798) @flaviendelangle
132
+ - [TreeView] Improve props typing (#9855) @flaviendelangle
133
+
134
+ ### Docs
135
+
136
+ - [docs] Add Tree View doc (#9825) @flaviendelangle
137
+ - [docs] Add charts nav item (#9821) @LukasTy
138
+ - [docs] Add charts to MUI X introduction pages (#9704) @joserodolfofreitas
139
+ - [docs] Add example for avoiding picker views layout shift (#9781) @noraleonte
140
+ - [docs] Consistency of Next.js App Router @oliviertassinari
141
+ - [docs] Fix API page regression: bring back slots section (#9866) @alexfauquette
142
+ - [docs] Fix demo using Pro while it's MIT (#9842) @oliviertassinari
143
+ - [docs] Get ready for next docs-infra change @oliviertassinari
144
+ - [docs] Improve the slots documentation `Recommended usage` section (#9892) @flaviendelangle
145
+
146
+ ### Core
147
+
148
+ - [core] Fix font loading issue dev-mode (#9843) @oliviertassinari
149
+ - [core] Fix pipeline (#9894) @LukasTy
150
+ - [core] Fix the link-check script on Windows (#9888) @alexfauquette
151
+ - [core] Fix v7 capitalization (#9878) @oliviertassinari
152
+ - [core] Regen doc (#9902) @flaviendelangle
153
+ - [core] Remove benchmark package (#9413) @LukasTy
154
+ - [core] Stop using the deprecated `JSX` global namespace (#9854) @flaviendelangle
155
+ - [core] Update monorepo (#9846) @flaviendelangle
156
+ - [core] Update tree data API docs (#9827) @cherniavskii
157
+ - [test] Add pickers e2e tests (#9747) @LukasTy
158
+ - [test] Data grid e2e tests follow-up (#9822) @cherniavskii
159
+
6
160
  ## 6.10.2
7
161
 
8
162
  _Jul 27, 2023_
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { DataGridProps } from '../models/props/DataGridProps';
3
3
  import { GridValidRowModel } from '../models/gridRows';
4
4
  interface DataGridComponent {
5
- <R extends GridValidRowModel = any>(props: DataGridProps<R> & React.RefAttributes<HTMLDivElement>): JSX.Element;
5
+ <R extends GridValidRowModel = any>(props: DataGridProps<R> & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
6
6
  propTypes?: any;
7
7
  }
8
8
  export declare const DataGrid: DataGridComponent;
@@ -161,6 +161,7 @@ DataGridRaw.propTypes = {
161
161
  * For each feature, if the flag is not explicitly set to `true`, the feature will be fully disabled and any property / method call will not have any effect.
162
162
  */
163
163
  experimentalFeatures: PropTypes.shape({
164
+ ariaV7: PropTypes.bool,
164
165
  columnGrouping: PropTypes.bool,
165
166
  warnIfFocusStateIsNotSynced: PropTypes.bool
166
167
  }),
@@ -199,7 +200,7 @@ DataGridRaw.propTypes = {
199
200
  /**
200
201
  * Function that returns the element to render in row detail.
201
202
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
202
- * @returns {JSX.Element} The row detail element.
203
+ * @returns {React.JSX.Element} The row detail element.
203
204
  */
204
205
  getDetailPanelContent: PropTypes.func,
205
206
  /**
package/colDef/utils.d.ts CHANGED
@@ -10,7 +10,7 @@ export declare const GLOBAL_API_REF: {
10
10
  };
11
11
  /**
12
12
  * A tagger to determine if the filter is internal or custom user-supplied.
13
- * To be a valid internal filter, the V7 function *must* be defined/redefined at
13
+ * To be a valid internal filter, the v7 function *must* be defined/redefined at
14
14
  * the same time as the legacy one.
15
15
  * https://github.com/mui/mui-x/pull/9254#discussion_r1231095551
16
16
  */
package/colDef/utils.js CHANGED
@@ -8,7 +8,7 @@ export const GLOBAL_API_REF = {
8
8
 
9
9
  /**
10
10
  * A tagger to determine if the filter is internal or custom user-supplied.
11
- * To be a valid internal filter, the V7 function *must* be defined/redefined at
11
+ * To be a valid internal filter, the v7 function *must* be defined/redefined at
12
12
  * the same time as the legacy one.
13
13
  * https://github.com/mui/mui-x/pull/9254#discussion_r1231095551
14
14
  */
@@ -20,7 +20,9 @@ export declare const GridPagination: React.ForwardRefExoticComponent<(Omit<Parti
20
20
  showFirstButton?: boolean | undefined;
21
21
  showLastButton?: boolean | undefined;
22
22
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
23
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<import("@mui/material/TablePagination").TablePaginationBaseProps, "hidden" | "color" | "page" | "content" | "size" | "height" | "translate" | "width" | "padding" | "abbr" | "slot" | "title" | "ref" | "colSpan" | "headers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "rowSpan" | "scope" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "align" | "valign" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "count" | "getItemAriaLabel" | "onPageChange" | "rowsPerPage" | "showFirstButton" | "showLastButton" | "labelDisplayedRows" | "labelRowsPerPage" | "onRowsPerPageChange" | "rowsPerPageOptions" | "backIconButtonProps" | "nextIconButtonProps" | "sortDirection" | "ActionsComponent" | "SelectProps">>, "ref"> | Omit<Partial<import("@mui/material/TablePagination").TablePaginationBaseProps & {
23
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<import("@mui/material/TablePagination").TablePaginationBaseProps, "hidden" | "color" | "page" | "content" | "size" | "height" | "translate" | "width" | "padding" | "abbr" | "slot" | "title" | "ref" | "colSpan" | "headers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "rowSpan" | "scope" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "align" | "valign" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "count" | "getItemAriaLabel" | "onPageChange" | "rowsPerPage" | "showFirstButton" | "showLastButton" | "labelDisplayedRows" | "labelRowsPerPage" | "onRowsPerPageChange" | "rowsPerPageOptions" | "backIconButtonProps" | "nextIconButtonProps" | "sortDirection" | "ActionsComponent" | "SelectProps"> & {
24
+ component?: React.ElementType<any> | undefined;
25
+ }>, "ref"> | Omit<Partial<import("@mui/material/TablePagination").TablePaginationBaseProps & {
24
26
  ActionsComponent?: React.ElementType<import("@mui/material/TablePagination/TablePaginationActions").TablePaginationActionsProps> | undefined;
25
27
  backIconButtonProps?: Partial<import("@mui/material").IconButtonProps> | undefined;
26
28
  classes?: Partial<import("@mui/material/TablePagination").TablePaginationClasses> | undefined;
@@ -41,4 +43,6 @@ export declare const GridPagination: React.ForwardRefExoticComponent<(Omit<Parti
41
43
  showFirstButton?: boolean | undefined;
42
44
  showLastButton?: boolean | undefined;
43
45
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
44
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("@mui/material/TablePagination").TablePaginationBaseProps, "ref"> & React.RefAttributes<React.Component<any, any, any>>, "hidden" | "color" | "page" | "content" | "size" | "height" | "translate" | "width" | "padding" | "abbr" | "slot" | "title" | "ref" | "colSpan" | "headers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "rowSpan" | "scope" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "align" | "valign" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "count" | "getItemAriaLabel" | "onPageChange" | "rowsPerPage" | "showFirstButton" | "showLastButton" | "labelDisplayedRows" | "labelRowsPerPage" | "onRowsPerPageChange" | "rowsPerPageOptions" | "backIconButtonProps" | "nextIconButtonProps" | "sortDirection" | "ActionsComponent" | "SelectProps">>, "ref">) & React.RefAttributes<HTMLDivElement>>;
46
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("@mui/material/TablePagination").TablePaginationBaseProps, "ref"> & React.RefAttributes<React.Component<any, any, any>>, "hidden" | "color" | "page" | "content" | "size" | "height" | "translate" | "width" | "padding" | "abbr" | "slot" | "title" | "ref" | "colSpan" | "headers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "rowSpan" | "scope" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "align" | "valign" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "count" | "getItemAriaLabel" | "onPageChange" | "rowsPerPage" | "showFirstButton" | "showLastButton" | "labelDisplayedRows" | "labelRowsPerPage" | "onRowsPerPageChange" | "rowsPerPageOptions" | "backIconButtonProps" | "nextIconButtonProps" | "sortDirection" | "ActionsComponent" | "SelectProps"> & {
47
+ component?: React.ElementType<any> | undefined;
48
+ }>, "ref">) & React.RefAttributes<HTMLDivElement>>;
@@ -43,7 +43,9 @@ declare const GridActionsCellItem: React.ForwardRefExoticComponent<(Omit<{
43
43
  touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
44
44
  }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
45
45
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
46
- }, "color" | "size" | "disabled" | "action" | "tabIndex" | "children" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge">, "ref"> | Omit<{
46
+ }, "color" | "size" | "disabled" | "action" | "tabIndex" | "children" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & {
47
+ component?: React.ElementType<any> | undefined;
48
+ }, "ref"> | Omit<{
47
49
  label: string;
48
50
  icon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
49
51
  } & {
@@ -75,5 +77,7 @@ declare const GridActionsCellItem: React.ForwardRefExoticComponent<(Omit<{
75
77
  touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
76
78
  }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
77
79
  ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
78
- }, "dense" | "disabled" | "action" | "autoFocus" | "tabIndex" | "selected" | "children" | "sx" | "disableGutters" | "divider" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef">, "ref">) & React.RefAttributes<HTMLButtonElement>>;
80
+ }, "dense" | "disabled" | "action" | "autoFocus" | "tabIndex" | "selected" | "children" | "sx" | "disableGutters" | "divider" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
81
+ component?: React.ElementType<any> | undefined;
82
+ }, "ref">) & React.RefAttributes<HTMLButtonElement>>;
79
83
  export { GridActionsCellItem };
@@ -4,7 +4,6 @@ const _excluded = ["changeReason", "unstable_updateValueOnRender"],
4
4
  _excluded2 = ["align", "children", "editCellState", "colIndex", "column", "cellMode", "field", "formattedValue", "hasFocus", "height", "isEditable", "isSelected", "rowId", "tabIndex", "value", "width", "className", "showRightBorder", "extendRowFullWidth", "row", "colSpan", "disableDragEvents", "isNotVisible", "onClick", "onDoubleClick", "onMouseDown", "onMouseUp", "onMouseOver", "onKeyDown", "onKeyUp", "onDragEnter", "onDragOver"],
5
5
  _excluded3 = ["column", "rowId", "editCellState", "align", "children", "colIndex", "height", "width", "className", "showRightBorder", "extendRowFullWidth", "row", "colSpan", "disableDragEvents", "isNotVisible", "onClick", "onDoubleClick", "onMouseDown", "onMouseUp", "onMouseOver", "onKeyDown", "onKeyUp", "onDragEnter", "onDragOver"],
6
6
  _excluded4 = ["changeReason", "unstable_updateValueOnRender"];
7
- /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
8
7
  import * as React from 'react';
9
8
  import PropTypes from 'prop-types';
10
9
  import clsx from 'clsx';
@@ -156,7 +155,7 @@ const GridCellWrapper = /*#__PURE__*/React.forwardRef((props, ref) => {
156
155
  return /*#__PURE__*/React.createElement(CellComponent, cellProps);
157
156
  });
158
157
  const GridCell = /*#__PURE__*/React.forwardRef((props, ref) => {
159
- var _rootProps$experiment;
158
+ var _rootProps$experiment, _rootProps$experiment2;
160
159
  const {
161
160
  align,
162
161
  children: childrenProp,
@@ -287,6 +286,7 @@ const GridCell = /*#__PURE__*/React.forwardRef((props, ref) => {
287
286
  children = /*#__PURE__*/_jsx("div", {
288
287
  className: classes.content,
289
288
  title: valueString,
289
+ role: "presentation",
290
290
  children: valueString
291
291
  });
292
292
  }
@@ -299,27 +299,32 @@ const GridCell = /*#__PURE__*/React.forwardRef((props, ref) => {
299
299
  onDragEnter: publish('cellDragEnter', onDragEnter),
300
300
  onDragOver: publish('cellDragOver', onDragOver)
301
301
  };
302
- return /*#__PURE__*/_jsx("div", _extends({
303
- ref: handleRef,
304
- className: clsx(className, classes.root),
305
- role: "cell",
306
- "data-field": field,
307
- "data-colindex": colIndex,
308
- "aria-colindex": colIndex + 1,
309
- "aria-colspan": colSpan,
310
- style: style,
311
- tabIndex: tabIndex,
312
- onClick: publish('cellClick', onClick),
313
- onDoubleClick: publish('cellDoubleClick', onDoubleClick),
314
- onMouseOver: publish('cellMouseOver', onMouseOver),
315
- onMouseDown: publishMouseDown('cellMouseDown'),
316
- onMouseUp: publishMouseUp('cellMouseUp'),
317
- onKeyDown: publish('cellKeyDown', onKeyDown),
318
- onKeyUp: publish('cellKeyUp', onKeyUp)
319
- }, draggableEventHandlers, other, {
320
- onFocus: handleFocus,
321
- children: children
322
- }));
302
+ const ariaV7 = (_rootProps$experiment2 = rootProps.experimentalFeatures) == null ? void 0 : _rootProps$experiment2.ariaV7;
303
+ return (
304
+ /*#__PURE__*/
305
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions
306
+ _jsx("div", _extends({
307
+ ref: handleRef,
308
+ className: clsx(className, classes.root),
309
+ role: ariaV7 ? 'gridcell' : 'cell',
310
+ "data-field": field,
311
+ "data-colindex": colIndex,
312
+ "aria-colindex": colIndex + 1,
313
+ "aria-colspan": colSpan,
314
+ style: style,
315
+ tabIndex: tabIndex,
316
+ onClick: publish('cellClick', onClick),
317
+ onDoubleClick: publish('cellDoubleClick', onDoubleClick),
318
+ onMouseOver: publish('cellMouseOver', onMouseOver),
319
+ onMouseDown: publishMouseDown('cellMouseDown'),
320
+ onMouseUp: publishMouseUp('cellMouseUp'),
321
+ onKeyDown: publish('cellKeyDown', onKeyDown),
322
+ onKeyUp: publish('cellKeyUp', onKeyUp)
323
+ }, draggableEventHandlers, other, {
324
+ onFocus: handleFocus,
325
+ children: children
326
+ }))
327
+ );
323
328
  });
324
329
  const MemoizedCellWrapper = fastMemo(GridCellWrapper);
325
330
  process.env.NODE_ENV !== "production" ? GridCellWrapper.propTypes = {
@@ -379,7 +384,7 @@ process.env.NODE_ENV !== "production" ? GridCell.propTypes = {
379
384
  } : void 0;
380
385
  export { MemoizedCellWrapper as GridCellWrapper, GridCell };
381
386
  const GridCellV7 = /*#__PURE__*/React.forwardRef((props, ref) => {
382
- var _rootProps$experiment2;
387
+ var _rootProps$experiment3, _rootProps$experiment4;
383
388
  const {
384
389
  column,
385
390
  rowId,
@@ -527,7 +532,7 @@ const GridCellV7 = /*#__PURE__*/React.forwardRef((props, ref) => {
527
532
  return null;
528
533
  }
529
534
  let handleFocus = other.onFocus;
530
- if (process.env.NODE_ENV === 'test' && (_rootProps$experiment2 = rootProps.experimentalFeatures) != null && _rootProps$experiment2.warnIfFocusStateIsNotSynced) {
535
+ if (process.env.NODE_ENV === 'test' && (_rootProps$experiment3 = rootProps.experimentalFeatures) != null && _rootProps$experiment3.warnIfFocusStateIsNotSynced) {
531
536
  handleFocus = event => {
532
537
  const focusedCell = gridFocusCellSelector(apiRef);
533
538
  if ((focusedCell == null ? void 0 : focusedCell.id) === rowId && focusedCell.field === field) {
@@ -565,6 +570,7 @@ const GridCellV7 = /*#__PURE__*/React.forwardRef((props, ref) => {
565
570
  children = /*#__PURE__*/_jsx("div", {
566
571
  className: classes.content,
567
572
  title: valueString,
573
+ role: "presentation",
568
574
  children: valueString
569
575
  });
570
576
  }
@@ -577,27 +583,32 @@ const GridCellV7 = /*#__PURE__*/React.forwardRef((props, ref) => {
577
583
  onDragEnter: publish('cellDragEnter', onDragEnter),
578
584
  onDragOver: publish('cellDragOver', onDragOver)
579
585
  };
580
- return /*#__PURE__*/_jsx("div", _extends({
581
- ref: handleRef,
582
- className: clsx(className, classNames, classes.root),
583
- role: "cell",
584
- "data-field": field,
585
- "data-colindex": colIndex,
586
- "aria-colindex": colIndex + 1,
587
- "aria-colspan": colSpan,
588
- style: style,
589
- tabIndex: tabIndex,
590
- onClick: publish('cellClick', onClick),
591
- onDoubleClick: publish('cellDoubleClick', onDoubleClick),
592
- onMouseOver: publish('cellMouseOver', onMouseOver),
593
- onMouseDown: publishMouseDown('cellMouseDown'),
594
- onMouseUp: publishMouseUp('cellMouseUp'),
595
- onKeyDown: publish('cellKeyDown', onKeyDown),
596
- onKeyUp: publish('cellKeyUp', onKeyUp)
597
- }, draggableEventHandlers, other, {
598
- onFocus: handleFocus,
599
- children: children
600
- }));
586
+ const ariaV7 = (_rootProps$experiment4 = rootProps.experimentalFeatures) == null ? void 0 : _rootProps$experiment4.ariaV7;
587
+ return (
588
+ /*#__PURE__*/
589
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions
590
+ _jsx("div", _extends({
591
+ ref: handleRef,
592
+ className: clsx(className, classNames, classes.root),
593
+ role: ariaV7 ? 'gridcell' : 'cell',
594
+ "data-field": field,
595
+ "data-colindex": colIndex,
596
+ "aria-colindex": colIndex + 1,
597
+ "aria-colspan": colSpan,
598
+ style: style,
599
+ tabIndex: tabIndex,
600
+ onClick: publish('cellClick', onClick),
601
+ onDoubleClick: publish('cellDoubleClick', onDoubleClick),
602
+ onMouseOver: publish('cellMouseOver', onMouseOver),
603
+ onMouseDown: publishMouseDown('cellMouseDown'),
604
+ onMouseUp: publishMouseUp('cellMouseUp'),
605
+ onKeyDown: publish('cellKeyDown', onKeyDown),
606
+ onKeyUp: publish('cellKeyUp', onKeyUp)
607
+ }, draggableEventHandlers, other, {
608
+ onFocus: handleFocus,
609
+ children: children
610
+ }))
611
+ );
601
612
  });
602
613
  process.env.NODE_ENV !== "production" ? GridCellV7.propTypes = {
603
614
  // ----------------------------- Warning --------------------------------
@@ -42,5 +42,7 @@ export const GridBaseColumnHeaders = /*#__PURE__*/React.forwardRef(function Grid
42
42
  ref: ref,
43
43
  className: clsx(className, classes.root),
44
44
  ownerState: rootProps
45
- }, other));
45
+ }, other, {
46
+ role: "presentation"
47
+ }));
46
48
  });
@@ -75,10 +75,12 @@ const GridGenericColumnHeaderItem = /*#__PURE__*/React.forwardRef(function GridG
75
75
  }, other, {
76
76
  children: [/*#__PURE__*/_jsxs("div", _extends({
77
77
  className: classes.draggableContainer,
78
- draggable: isDraggable
78
+ draggable: isDraggable,
79
+ role: "presentation"
79
80
  }, draggableContainerProps, {
80
81
  children: [/*#__PURE__*/_jsxs("div", {
81
82
  className: classes.titleContainer,
83
+ role: "presentation",
82
84
  children: [/*#__PURE__*/_jsx("div", {
83
85
  className: classes.titleContainerContent,
84
86
  children: headerComponent !== undefined ? headerComponent : /*#__PURE__*/_jsx(GridColumnHeaderTitle, {
@@ -1,8 +1,10 @@
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
4
  import { styled } from '@mui/system';
4
5
  import { getDataGridUtilityClass } from '../../constants/gridClasses';
5
6
  import { useGridRootProps } from '../../hooks/utils/useGridRootProps';
7
+ import { useGridAriaAttributes } from '../../hooks/utils/useGridAriaAttributes';
6
8
  import { jsx as _jsx } from "react/jsx-runtime";
7
9
  const useUtilityClasses = ownerState => {
8
10
  const {
@@ -25,12 +27,17 @@ const GridMainContainerRoot = styled('div', {
25
27
  overflow: 'hidden'
26
28
  }));
27
29
  export const GridMainContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
30
+ var _rootProps$experiment;
28
31
  const rootProps = useGridRootProps();
29
32
  const classes = useUtilityClasses(rootProps);
30
- return /*#__PURE__*/_jsx(GridMainContainerRoot, {
33
+ const getAriaAttributes = (_rootProps$experiment = rootProps.experimentalFeatures) != null && _rootProps$experiment.ariaV7 // ariaV7 should never change
34
+ ? useGridAriaAttributes : null;
35
+ const ariaAttributes = typeof getAriaAttributes === 'function' ? getAriaAttributes() : null;
36
+ return /*#__PURE__*/_jsx(GridMainContainerRoot, _extends({
31
37
  ref: ref,
32
38
  className: classes.root,
33
- ownerState: rootProps,
39
+ ownerState: rootProps
40
+ }, ariaAttributes, {
34
41
  children: props.children
35
- });
42
+ }));
36
43
  });
@@ -6,14 +6,12 @@ import PropTypes from 'prop-types';
6
6
  import clsx from 'clsx';
7
7
  import { unstable_useForkRef as useForkRef, unstable_useEnhancedEffect as useEnhancedEffect, unstable_capitalize as capitalize, unstable_composeClasses as composeClasses } from '@mui/utils';
8
8
  import { GridRootStyles } from './GridRootStyles';
9
- import { gridVisibleColumnDefinitionsSelector } from '../../hooks/features/columns/gridColumnsSelector';
10
9
  import { useGridSelector } from '../../hooks/utils/useGridSelector';
11
10
  import { useGridPrivateApiContext } from '../../hooks/utils/useGridPrivateApiContext';
12
11
  import { useGridRootProps } from '../../hooks/utils/useGridRootProps';
13
12
  import { getDataGridUtilityClass } from '../../constants/gridClasses';
14
13
  import { gridDensityValueSelector } from '../../hooks/features/density/densitySelector';
15
- import { gridColumnGroupsHeaderMaxDepthSelector } from '../../hooks/features/columnGrouping/gridColumnGroupsSelector';
16
- import { gridPinnedRowsCountSelector, gridRowCountSelector } from '../../hooks/features/rows/gridRowsSelector';
14
+ import { useGridAriaAttributes } from '../../hooks/utils/useGridAriaAttributes';
17
15
  import { jsx as _jsx } from "react/jsx-runtime";
18
16
  const useUtilityClasses = ownerState => {
19
17
  const {
@@ -27,6 +25,7 @@ const useUtilityClasses = ownerState => {
27
25
  return composeClasses(slots, getDataGridUtilityClass, classes);
28
26
  };
29
27
  const GridRoot = /*#__PURE__*/React.forwardRef(function GridRoot(props, ref) {
28
+ var _rootProps$experiment;
30
29
  const rootProps = useGridRootProps();
31
30
  const {
32
31
  children,
@@ -34,13 +33,12 @@ const GridRoot = /*#__PURE__*/React.forwardRef(function GridRoot(props, ref) {
34
33
  } = props,
35
34
  other = _objectWithoutPropertiesLoose(props, _excluded);
36
35
  const apiRef = useGridPrivateApiContext();
37
- const visibleColumns = useGridSelector(apiRef, gridVisibleColumnDefinitionsSelector);
38
- const totalRowCount = useGridSelector(apiRef, gridRowCountSelector);
39
36
  const densityValue = useGridSelector(apiRef, gridDensityValueSelector);
40
- const headerGroupingMaxDepth = useGridSelector(apiRef, gridColumnGroupsHeaderMaxDepthSelector);
41
37
  const rootContainerRef = React.useRef(null);
42
38
  const handleRef = useForkRef(rootContainerRef, ref);
43
- const pinnedRowsCount = useGridSelector(apiRef, gridPinnedRowsCountSelector);
39
+ const getAriaAttributes = (_rootProps$experiment = rootProps.experimentalFeatures) != null && _rootProps$experiment.ariaV7 // ariaV7 should never change
40
+ ? null : useGridAriaAttributes;
41
+ const ariaAttributes = typeof getAriaAttributes === 'function' ? getAriaAttributes() : null;
44
42
  const ownerState = _extends({}, rootProps, {
45
43
  density: densityValue
46
44
  });
@@ -60,12 +58,8 @@ const GridRoot = /*#__PURE__*/React.forwardRef(function GridRoot(props, ref) {
60
58
  return /*#__PURE__*/_jsx(GridRootStyles, _extends({
61
59
  ref: handleRef,
62
60
  className: clsx(className, classes.root),
63
- ownerState: ownerState,
64
- role: "grid",
65
- "aria-colcount": visibleColumns.length,
66
- "aria-rowcount": headerGroupingMaxDepth + 1 + pinnedRowsCount + totalRowCount,
67
- "aria-multiselectable": !rootProps.disableMultipleRowSelection
68
- }, other, {
61
+ ownerState: ownerState
62
+ }, ariaAttributes, other, {
69
63
  children: children
70
64
  }));
71
65
  });