@mui/x-data-grid 6.10.2 → 6.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +92 -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/cell/GridCell.js +57 -46
  7. package/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  8. package/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  9. package/components/containers/GridMainContainer.js +10 -3
  10. package/components/containers/GridRoot.js +7 -13
  11. package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
  12. package/hooks/features/columns/gridColumnsUtils.js +2 -2
  13. package/hooks/features/virtualization/useGridVirtualScroller.d.ts +7 -4
  14. package/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
  15. package/hooks/utils/useGridAriaAttributes.d.ts +6 -0
  16. package/hooks/utils/useGridAriaAttributes.js +25 -0
  17. package/index.js +1 -1
  18. package/legacy/DataGrid/DataGrid.js +2 -1
  19. package/legacy/colDef/utils.js +1 -1
  20. package/legacy/components/cell/GridCell.js +57 -46
  21. package/legacy/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  22. package/legacy/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  23. package/legacy/components/containers/GridMainContainer.js +10 -3
  24. package/legacy/components/containers/GridRoot.js +7 -13
  25. package/legacy/hooks/features/columns/gridColumnsUtils.js +2 -2
  26. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
  27. package/legacy/hooks/utils/useGridAriaAttributes.js +25 -0
  28. package/legacy/index.js +1 -1
  29. package/legacy/locales/fiFI.js +28 -30
  30. package/legacy/locales/heIL.js +26 -29
  31. package/legacy/locales/itIT.js +34 -38
  32. package/locales/fiFI.js +28 -30
  33. package/locales/heIL.js +26 -29
  34. package/locales/itIT.js +34 -38
  35. package/models/gridFilterOperator.d.ts +1 -1
  36. package/models/props/DataGridProps.d.ts +7 -1
  37. package/modern/DataGrid/DataGrid.js +2 -1
  38. package/modern/colDef/utils.js +1 -1
  39. package/modern/components/cell/GridCell.js +54 -43
  40. package/modern/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  41. package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  42. package/modern/components/containers/GridMainContainer.js +9 -3
  43. package/modern/components/containers/GridRoot.js +6 -13
  44. package/modern/hooks/features/columns/gridColumnsUtils.js +2 -2
  45. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
  46. package/modern/hooks/utils/useGridAriaAttributes.js +24 -0
  47. package/modern/index.js +1 -1
  48. package/modern/locales/fiFI.js +28 -30
  49. package/modern/locales/heIL.js +26 -29
  50. package/modern/locales/itIT.js +34 -38
  51. package/node/DataGrid/DataGrid.js +2 -1
  52. package/node/colDef/utils.js +1 -1
  53. package/node/components/cell/GridCell.js +54 -43
  54. package/node/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  55. package/node/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  56. package/node/components/containers/GridMainContainer.js +10 -3
  57. package/node/components/containers/GridRoot.js +6 -13
  58. package/node/hooks/features/columns/gridColumnsUtils.js +1 -1
  59. package/node/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
  60. package/node/hooks/utils/useGridAriaAttributes.js +31 -0
  61. package/node/index.js +1 -1
  62. package/node/locales/fiFI.js +28 -30
  63. package/node/locales/heIL.js +26 -29
  64. package/node/locales/itIT.js +34 -38
  65. package/package.json +2 -2
@@ -43,7 +43,7 @@ const fiFIGrid = {
43
43
  columnsPanelHideAllButton: 'Piilota kaikki',
44
44
  // Filter panel text
45
45
  filterPanelAddFilter: 'Lisää suodatin',
46
- // filterPanelRemoveAll: 'Remove all',
46
+ filterPanelRemoveAll: 'Poista kaikki',
47
47
  filterPanelDeleteIconLabel: 'Poista',
48
48
  filterPanelLogicOperator: 'Logiikkaoperaattori',
49
49
  filterPanelOperator: 'Operaattorit',
@@ -54,7 +54,7 @@ const fiFIGrid = {
54
54
  filterPanelInputPlaceholder: 'Suodattimen arvo',
55
55
  // Filter operators text
56
56
  filterOperatorContains: 'sisältää',
57
- filterOperatorEquals: 'on yhtä suuri',
57
+ filterOperatorEquals: 'on yhtä suuri kuin',
58
58
  filterOperatorStartsWith: 'alkaa',
59
59
  filterOperatorEndsWith: 'päättyy',
60
60
  filterOperatorIs: 'on',
@@ -65,35 +65,33 @@ const fiFIGrid = {
65
65
  filterOperatorOnOrBefore: 'on sama tai ennen',
66
66
  filterOperatorIsEmpty: 'on tyhjä',
67
67
  filterOperatorIsNotEmpty: 'ei ole tyhjä',
68
- filterOperatorIsAnyOf: 'mikä tahansa seuraavista',
69
- // 'filterOperator=': '=',
70
- // 'filterOperator!=': '!=',
71
- // 'filterOperator>': '>',
72
- // 'filterOperator>=': '>=',
73
- // 'filterOperator<': '<',
74
- // 'filterOperator<=': '<=',
75
-
68
+ filterOperatorIsAnyOf: 'on mikä tahansa seuraavista',
69
+ 'filterOperator=': '=',
70
+ 'filterOperator!=': '!=',
71
+ 'filterOperator>': '>',
72
+ 'filterOperator>=': '>=',
73
+ 'filterOperator<': '<',
74
+ 'filterOperator<=': '<=',
76
75
  // Header filter operators text
77
- // headerFilterOperatorContains: 'Contains',
78
- // headerFilterOperatorEquals: 'Equals',
79
- // headerFilterOperatorStartsWith: 'Starts with',
80
- // headerFilterOperatorEndsWith: 'Ends with',
81
- // headerFilterOperatorIs: 'Is',
82
- // headerFilterOperatorNot: 'Is not',
83
- // headerFilterOperatorAfter: 'Is after',
84
- // headerFilterOperatorOnOrAfter: 'Is on or after',
85
- // headerFilterOperatorBefore: 'Is before',
86
- // headerFilterOperatorOnOrBefore: 'Is on or before',
87
- // headerFilterOperatorIsEmpty: 'Is empty',
88
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
89
- // headerFilterOperatorIsAnyOf: 'Is any of',
90
- // 'headerFilterOperator=': 'Equals',
91
- // 'headerFilterOperator!=': 'Not equals',
92
- // 'headerFilterOperator>': 'Greater than',
93
- // 'headerFilterOperator>=': 'Greater than or equal to',
94
- // 'headerFilterOperator<': 'Less than',
95
- // 'headerFilterOperator<=': 'Less than or equal to',
96
-
76
+ headerFilterOperatorContains: 'Sisältää',
77
+ headerFilterOperatorEquals: 'On yhtä suuri kuin',
78
+ headerFilterOperatorStartsWith: 'Alkaa',
79
+ headerFilterOperatorEndsWith: 'Päättyy',
80
+ headerFilterOperatorIs: 'On',
81
+ headerFilterOperatorNot: 'Ei ole',
82
+ headerFilterOperatorAfter: 'On jälkeen',
83
+ headerFilterOperatorOnOrAfter: 'On sama tai jälkeen',
84
+ headerFilterOperatorBefore: 'On ennen',
85
+ headerFilterOperatorOnOrBefore: 'On sama tai ennen',
86
+ headerFilterOperatorIsEmpty: 'On tyhjä',
87
+ headerFilterOperatorIsNotEmpty: 'Ei ole tyhjä',
88
+ headerFilterOperatorIsAnyOf: 'On mikä tahansa seuraavista',
89
+ 'headerFilterOperator=': 'On yhtä suuri kuin',
90
+ 'headerFilterOperator!=': 'Ei ole yhtä suuri kuin',
91
+ 'headerFilterOperator>': 'Enemmän kuin',
92
+ 'headerFilterOperator>=': 'Enemmän tai yhtä paljon kuin',
93
+ 'headerFilterOperator<': 'Vähemmän kuin',
94
+ 'headerFilterOperator<=': 'Vähemmän tai yhtä paljon kuin',
97
95
  // Filter values text
98
96
  filterValueAny: 'mikä tahansa',
99
97
  filterValueTrue: 'tosi',
@@ -74,26 +74,25 @@ const heILGrid = {
74
74
  // 'filterOperator<=': '<=',
75
75
 
76
76
  // Header filter operators text
77
- // headerFilterOperatorContains: 'Contains',
78
- // headerFilterOperatorEquals: 'Equals',
79
- // headerFilterOperatorStartsWith: 'Starts with',
80
- // headerFilterOperatorEndsWith: 'Ends with',
81
- // headerFilterOperatorIs: 'Is',
82
- // headerFilterOperatorNot: 'Is not',
83
- // headerFilterOperatorAfter: 'Is after',
84
- // headerFilterOperatorOnOrAfter: 'Is on or after',
85
- // headerFilterOperatorBefore: 'Is before',
86
- // headerFilterOperatorOnOrBefore: 'Is on or before',
87
- // headerFilterOperatorIsEmpty: 'Is empty',
88
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
89
- // headerFilterOperatorIsAnyOf: 'Is any of',
90
- // 'headerFilterOperator=': 'Equals',
91
- // 'headerFilterOperator!=': 'Not equals',
92
- // 'headerFilterOperator>': 'Greater than',
93
- // 'headerFilterOperator>=': 'Greater than or equal to',
94
- // 'headerFilterOperator<': 'Less than',
95
- // 'headerFilterOperator<=': 'Less than or equal to',
96
-
77
+ headerFilterOperatorContains: 'מכיל',
78
+ headerFilterOperatorEquals: 'שווה',
79
+ headerFilterOperatorStartsWith: 'מתחיל ב-',
80
+ headerFilterOperatorEndsWith: 'נגמר ב-',
81
+ headerFilterOperatorIs: 'הינו',
82
+ headerFilterOperatorNot: 'אינו',
83
+ headerFilterOperatorAfter: 'אחרי',
84
+ headerFilterOperatorOnOrAfter: 'ב- או אחרי',
85
+ headerFilterOperatorBefore: 'לפני',
86
+ headerFilterOperatorOnOrBefore: 'ב- או לפני',
87
+ headerFilterOperatorIsEmpty: 'ריק',
88
+ headerFilterOperatorIsNotEmpty: 'אינו ריק',
89
+ headerFilterOperatorIsAnyOf: 'הוא אחד מ-',
90
+ 'headerFilterOperator=': 'שווה',
91
+ 'headerFilterOperator!=': 'אינו שווה',
92
+ 'headerFilterOperator>': 'גדול מ-',
93
+ 'headerFilterOperator>=': 'גדול שווה ל-',
94
+ 'headerFilterOperator<': 'קטן מ-',
95
+ 'headerFilterOperator<=': 'קטן שווה ל-',
97
96
  // Filter values text
98
97
  filterValueAny: 'כל ערך',
99
98
  filterValueTrue: 'כן',
@@ -146,16 +145,14 @@ const heILGrid = {
146
145
  expandDetailPanel: 'הרחב',
147
146
  collapseDetailPanel: 'כווץ',
148
147
  // Row reordering text
149
- rowReorderingHeaderName: 'סידור שורות'
150
-
148
+ rowReorderingHeaderName: 'סידור שורות',
151
149
  // Aggregation
152
- // aggregationMenuItemHeader: 'Aggregation',
153
- // aggregationFunctionLabelSum: 'sum',
154
- // aggregationFunctionLabelAvg: 'avg',
155
- // aggregationFunctionLabelMin: 'min',
156
- // aggregationFunctionLabelMax: 'max',
157
- // aggregationFunctionLabelSize: 'size',
150
+ aggregationMenuItemHeader: 'צבירה',
151
+ aggregationFunctionLabelSum: 'סכום',
152
+ aggregationFunctionLabelAvg: 'ממוצע',
153
+ aggregationFunctionLabelMin: 'מינימום',
154
+ aggregationFunctionLabelMax: 'מקסימום',
155
+ aggregationFunctionLabelSize: 'גודל'
158
156
  };
159
-
160
157
  const heIL = (0, _getGridLocalization.getGridLocalization)(heILGrid, _locale.heIL);
161
158
  exports.heIL = heIL;
@@ -43,7 +43,7 @@ const itITGrid = {
43
43
  columnsPanelHideAllButton: 'Nascondi tutto',
44
44
  // Filter panel text
45
45
  filterPanelAddFilter: 'Aggiungi un filtro',
46
- // filterPanelRemoveAll: 'Remove all',
46
+ filterPanelRemoveAll: 'Rimuovi filtri',
47
47
  filterPanelDeleteIconLabel: 'Rimuovi',
48
48
  filterPanelLogicOperator: 'Operatore logico',
49
49
  filterPanelOperator: 'Operatori',
@@ -66,34 +66,32 @@ const itITGrid = {
66
66
  filterOperatorIsEmpty: 'è vuoto',
67
67
  filterOperatorIsNotEmpty: 'non è vuoto',
68
68
  filterOperatorIsAnyOf: 'è uno tra',
69
- // 'filterOperator=': '=',
70
- // 'filterOperator!=': '!=',
71
- // 'filterOperator>': '>',
72
- // 'filterOperator>=': '>=',
73
- // 'filterOperator<': '<',
74
- // 'filterOperator<=': '<=',
75
-
69
+ 'filterOperator=': '=',
70
+ 'filterOperator!=': '!=',
71
+ 'filterOperator>': '>',
72
+ 'filterOperator>=': '>=',
73
+ 'filterOperator<': '<',
74
+ 'filterOperator<=': '<=',
76
75
  // Header filter operators text
77
- // headerFilterOperatorContains: 'Contains',
78
- // headerFilterOperatorEquals: 'Equals',
79
- // headerFilterOperatorStartsWith: 'Starts with',
80
- // headerFilterOperatorEndsWith: 'Ends with',
81
- // headerFilterOperatorIs: 'Is',
82
- // headerFilterOperatorNot: 'Is not',
83
- // headerFilterOperatorAfter: 'Is after',
84
- // headerFilterOperatorOnOrAfter: 'Is on or after',
85
- // headerFilterOperatorBefore: 'Is before',
86
- // headerFilterOperatorOnOrBefore: 'Is on or before',
87
- // headerFilterOperatorIsEmpty: 'Is empty',
88
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
89
- // headerFilterOperatorIsAnyOf: 'Is any of',
90
- // 'headerFilterOperator=': 'Equals',
91
- // 'headerFilterOperator!=': 'Not equals',
92
- // 'headerFilterOperator>': 'Greater than',
93
- // 'headerFilterOperator>=': 'Greater than or equal to',
94
- // 'headerFilterOperator<': 'Less than',
95
- // 'headerFilterOperator<=': 'Less than or equal to',
96
-
76
+ headerFilterOperatorContains: 'Contiene',
77
+ headerFilterOperatorEquals: 'uguale a',
78
+ headerFilterOperatorStartsWith: 'comincia per',
79
+ headerFilterOperatorEndsWith: 'termina per',
80
+ headerFilterOperatorIs: 'uguale a',
81
+ headerFilterOperatorNot: 'diversa da',
82
+ headerFilterOperatorAfter: 'dopo il',
83
+ headerFilterOperatorOnOrAfter: 'a partire dal',
84
+ headerFilterOperatorBefore: 'prima del',
85
+ headerFilterOperatorOnOrBefore: 'fino al',
86
+ headerFilterOperatorIsEmpty: 'è vuoto',
87
+ headerFilterOperatorIsNotEmpty: 'non è vuoto',
88
+ headerFilterOperatorIsAnyOf: 'è uno tra',
89
+ 'headerFilterOperator=': 'uguale a',
90
+ 'headerFilterOperator!=': 'diverso da',
91
+ 'headerFilterOperator>': 'maggiore di',
92
+ 'headerFilterOperator>=': 'maggiore o uguale a',
93
+ 'headerFilterOperator<': 'minore di',
94
+ 'headerFilterOperator<=': 'minore o uguale a',
97
95
  // Filter values text
98
96
  filterValueAny: 'qualunque',
99
97
  filterValueTrue: 'vero',
@@ -101,7 +99,7 @@ const itITGrid = {
101
99
  // Column menu text
102
100
  columnMenuLabel: 'Menu',
103
101
  columnMenuShowColumns: 'Mostra le colonne',
104
- // columnMenuManageColumns: 'Manage columns',
102
+ columnMenuManageColumns: 'Gestisci colonne',
105
103
  columnMenuFilter: 'Filtra',
106
104
  columnMenuHideColumn: 'Nascondi',
107
105
  columnMenuUnsort: "Annulla l'ordinamento",
@@ -145,16 +143,14 @@ const itITGrid = {
145
143
  expandDetailPanel: 'Espandi',
146
144
  collapseDetailPanel: 'Comprimi',
147
145
  // Row reordering text
148
- rowReorderingHeaderName: 'Riordinamento righe'
149
-
146
+ rowReorderingHeaderName: 'Riordinamento righe',
150
147
  // Aggregation
151
- // aggregationMenuItemHeader: 'Aggregation',
152
- // aggregationFunctionLabelSum: 'sum',
153
- // aggregationFunctionLabelAvg: 'avg',
154
- // aggregationFunctionLabelMin: 'min',
155
- // aggregationFunctionLabelMax: 'max',
156
- // aggregationFunctionLabelSize: 'size',
148
+ aggregationMenuItemHeader: 'aggregazione',
149
+ aggregationFunctionLabelSum: 'somma',
150
+ aggregationFunctionLabelAvg: 'media',
151
+ aggregationFunctionLabelMin: 'minimo',
152
+ aggregationFunctionLabelMax: 'massimo',
153
+ aggregationFunctionLabelSize: 'numero di elementi'
157
154
  };
158
-
159
155
  const itIT = (0, _getGridLocalization.getGridLocalization)(itITGrid, _locale.itIT);
160
156
  exports.itIT = itIT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "6.10.2",
3
+ "version": "6.11.0",
4
4
  "description": "The community edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.22.6",
39
- "@mui/utils": "^5.13.7",
39
+ "@mui/utils": "^5.14.1",
40
40
  "clsx": "^1.2.1",
41
41
  "prop-types": "^15.8.1",
42
42
  "reselect": "^4.1.8"