@mui/x-data-grid 6.10.1 → 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 (84) hide show
  1. package/CHANGELOG.md +156 -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/GridRow.d.ts +2 -0
  7. package/components/GridRow.js +50 -22
  8. package/components/cell/GridCell.d.ts +2 -2
  9. package/components/cell/GridCell.js +95 -60
  10. package/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  11. package/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  12. package/components/containers/GridMainContainer.js +10 -3
  13. package/components/containers/GridRoot.js +7 -13
  14. package/components/containers/GridRootStyles.js +1 -0
  15. package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
  16. package/hooks/features/columns/gridColumnsUtils.js +2 -2
  17. package/hooks/features/rowSelection/useGridRowSelection.js +1 -1
  18. package/hooks/features/virtualization/useGridVirtualScroller.d.ts +7 -4
  19. package/hooks/features/virtualization/useGridVirtualScroller.js +75 -8
  20. package/hooks/utils/useGridAriaAttributes.d.ts +6 -0
  21. package/hooks/utils/useGridAriaAttributes.js +25 -0
  22. package/index.js +1 -1
  23. package/internals/index.d.ts +1 -1
  24. package/internals/index.js +1 -1
  25. package/legacy/DataGrid/DataGrid.js +2 -1
  26. package/legacy/colDef/utils.js +1 -1
  27. package/legacy/components/GridRow.js +47 -21
  28. package/legacy/components/cell/GridCell.js +95 -60
  29. package/legacy/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  30. package/legacy/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  31. package/legacy/components/containers/GridMainContainer.js +10 -3
  32. package/legacy/components/containers/GridRoot.js +7 -13
  33. package/legacy/components/containers/GridRootStyles.js +1 -0
  34. package/legacy/hooks/features/columns/gridColumnsUtils.js +2 -2
  35. package/legacy/hooks/features/rowSelection/useGridRowSelection.js +1 -1
  36. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +79 -8
  37. package/legacy/hooks/utils/useGridAriaAttributes.js +25 -0
  38. package/legacy/index.js +1 -1
  39. package/legacy/internals/index.js +1 -1
  40. package/legacy/locales/fiFI.js +29 -31
  41. package/legacy/locales/heIL.js +26 -29
  42. package/legacy/locales/itIT.js +34 -38
  43. package/locales/fiFI.js +29 -31
  44. package/locales/heIL.js +26 -29
  45. package/locales/itIT.js +34 -38
  46. package/models/gridFilterOperator.d.ts +1 -1
  47. package/models/props/DataGridProps.d.ts +7 -1
  48. package/modern/DataGrid/DataGrid.js +2 -1
  49. package/modern/colDef/utils.js +1 -1
  50. package/modern/components/GridRow.js +50 -22
  51. package/modern/components/cell/GridCell.js +92 -57
  52. package/modern/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  53. package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  54. package/modern/components/containers/GridMainContainer.js +9 -3
  55. package/modern/components/containers/GridRoot.js +6 -13
  56. package/modern/components/containers/GridRootStyles.js +1 -0
  57. package/modern/hooks/features/columns/gridColumnsUtils.js +2 -2
  58. package/modern/hooks/features/rowSelection/useGridRowSelection.js +1 -1
  59. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +75 -8
  60. package/modern/hooks/utils/useGridAriaAttributes.js +24 -0
  61. package/modern/index.js +1 -1
  62. package/modern/internals/index.js +1 -1
  63. package/modern/locales/fiFI.js +29 -31
  64. package/modern/locales/heIL.js +26 -29
  65. package/modern/locales/itIT.js +34 -38
  66. package/node/DataGrid/DataGrid.js +2 -1
  67. package/node/colDef/utils.js +1 -1
  68. package/node/components/GridRow.js +50 -22
  69. package/node/components/cell/GridCell.js +92 -57
  70. package/node/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
  71. package/node/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
  72. package/node/components/containers/GridMainContainer.js +10 -3
  73. package/node/components/containers/GridRoot.js +6 -13
  74. package/node/components/containers/GridRootStyles.js +1 -0
  75. package/node/hooks/features/columns/gridColumnsUtils.js +1 -1
  76. package/node/hooks/features/rowSelection/useGridRowSelection.js +1 -1
  77. package/node/hooks/features/virtualization/useGridVirtualScroller.js +75 -8
  78. package/node/hooks/utils/useGridAriaAttributes.js +31 -0
  79. package/node/index.js +1 -1
  80. package/node/internals/index.js +7 -0
  81. package/node/locales/fiFI.js +29 -31
  82. package/node/locales/heIL.js +26 -29
  83. package/node/locales/itIT.js +34 -38
  84. package/package.json +2 -2
@@ -39,7 +39,7 @@ var fiFIGrid = {
39
39
  columnsPanelHideAllButton: 'Piilota kaikki',
40
40
  // Filter panel text
41
41
  filterPanelAddFilter: 'Lisää suodatin',
42
- // filterPanelRemoveAll: 'Remove all',
42
+ filterPanelRemoveAll: 'Poista kaikki',
43
43
  filterPanelDeleteIconLabel: 'Poista',
44
44
  filterPanelLogicOperator: 'Logiikkaoperaattori',
45
45
  filterPanelOperator: 'Operaattorit',
@@ -50,7 +50,7 @@ var fiFIGrid = {
50
50
  filterPanelInputPlaceholder: 'Suodattimen arvo',
51
51
  // Filter operators text
52
52
  filterOperatorContains: 'sisältää',
53
- filterOperatorEquals: 'on yhtä suuri',
53
+ filterOperatorEquals: 'on yhtä suuri kuin',
54
54
  filterOperatorStartsWith: 'alkaa',
55
55
  filterOperatorEndsWith: 'päättyy',
56
56
  filterOperatorIs: 'on',
@@ -61,35 +61,33 @@ var fiFIGrid = {
61
61
  filterOperatorOnOrBefore: 'on sama tai ennen',
62
62
  filterOperatorIsEmpty: 'on tyhjä',
63
63
  filterOperatorIsNotEmpty: 'ei ole tyhjä',
64
- filterOperatorIsAnyOf: 'mikä tahansa seuraavista',
65
- // 'filterOperator=': '=',
66
- // 'filterOperator!=': '!=',
67
- // 'filterOperator>': '>',
68
- // 'filterOperator>=': '>=',
69
- // 'filterOperator<': '<',
70
- // 'filterOperator<=': '<=',
71
-
64
+ filterOperatorIsAnyOf: 'on mikä tahansa seuraavista',
65
+ 'filterOperator=': '=',
66
+ 'filterOperator!=': '!=',
67
+ 'filterOperator>': '>',
68
+ 'filterOperator>=': '>=',
69
+ 'filterOperator<': '<',
70
+ 'filterOperator<=': '<=',
72
71
  // Header filter operators text
73
- // headerFilterOperatorContains: 'Contains',
74
- // headerFilterOperatorEquals: 'Equals',
75
- // headerFilterOperatorStartsWith: 'Starts with',
76
- // headerFilterOperatorEndsWith: 'Ends with',
77
- // headerFilterOperatorIs: 'Is',
78
- // headerFilterOperatorNot: 'Is not',
79
- // headerFilterOperatorAfter: 'Is after',
80
- // headerFilterOperatorOnOrAfter: 'Is on or after',
81
- // headerFilterOperatorBefore: 'Is before',
82
- // headerFilterOperatorOnOrBefore: 'Is on or before',
83
- // headerFilterOperatorIsEmpty: 'Is empty',
84
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
85
- // headerFilterOperatorIsAnyOf: 'Is any of',
86
- // 'headerFilterOperator=': 'Equals',
87
- // 'headerFilterOperator!=': 'Not equals',
88
- // 'headerFilterOperator>': 'Greater than',
89
- // 'headerFilterOperator>=': 'Greater than or equal to',
90
- // 'headerFilterOperator<': 'Less than',
91
- // 'headerFilterOperator<=': 'Less than or equal to',
92
-
72
+ headerFilterOperatorContains: 'Sisältää',
73
+ headerFilterOperatorEquals: 'On yhtä suuri kuin',
74
+ headerFilterOperatorStartsWith: 'Alkaa',
75
+ headerFilterOperatorEndsWith: 'Päättyy',
76
+ headerFilterOperatorIs: 'On',
77
+ headerFilterOperatorNot: 'Ei ole',
78
+ headerFilterOperatorAfter: 'On jälkeen',
79
+ headerFilterOperatorOnOrAfter: 'On sama tai jälkeen',
80
+ headerFilterOperatorBefore: 'On ennen',
81
+ headerFilterOperatorOnOrBefore: 'On sama tai ennen',
82
+ headerFilterOperatorIsEmpty: 'On tyhjä',
83
+ headerFilterOperatorIsNotEmpty: 'Ei ole tyhjä',
84
+ headerFilterOperatorIsAnyOf: 'On mikä tahansa seuraavista',
85
+ 'headerFilterOperator=': 'On yhtä suuri kuin',
86
+ 'headerFilterOperator!=': 'Ei ole yhtä suuri kuin',
87
+ 'headerFilterOperator>': 'Enemmän kuin',
88
+ 'headerFilterOperator>=': 'Enemmän tai yhtä paljon kuin',
89
+ 'headerFilterOperator<': 'Vähemmän kuin',
90
+ 'headerFilterOperator<=': 'Vähemmän tai yhtä paljon kuin',
93
91
  // Filter values text
94
92
  filterValueAny: 'mikä tahansa',
95
93
  filterValueTrue: 'tosi',
@@ -97,7 +95,7 @@ var fiFIGrid = {
97
95
  // Column menu text
98
96
  columnMenuLabel: 'Valikko',
99
97
  columnMenuShowColumns: 'Näytä sarakkeet',
100
- // columnMenuManageColumns: 'Manage columns',
98
+ columnMenuManageColumns: 'Hallitse sarakkeita',
101
99
  columnMenuFilter: 'Suodata',
102
100
  columnMenuHideColumn: 'Piilota',
103
101
  columnMenuUnsort: 'Poista järjestys',
@@ -70,26 +70,25 @@ var heILGrid = {
70
70
  // 'filterOperator<=': '<=',
71
71
 
72
72
  // Header filter operators text
73
- // headerFilterOperatorContains: 'Contains',
74
- // headerFilterOperatorEquals: 'Equals',
75
- // headerFilterOperatorStartsWith: 'Starts with',
76
- // headerFilterOperatorEndsWith: 'Ends with',
77
- // headerFilterOperatorIs: 'Is',
78
- // headerFilterOperatorNot: 'Is not',
79
- // headerFilterOperatorAfter: 'Is after',
80
- // headerFilterOperatorOnOrAfter: 'Is on or after',
81
- // headerFilterOperatorBefore: 'Is before',
82
- // headerFilterOperatorOnOrBefore: 'Is on or before',
83
- // headerFilterOperatorIsEmpty: 'Is empty',
84
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
85
- // headerFilterOperatorIsAnyOf: 'Is any of',
86
- // 'headerFilterOperator=': 'Equals',
87
- // 'headerFilterOperator!=': 'Not equals',
88
- // 'headerFilterOperator>': 'Greater than',
89
- // 'headerFilterOperator>=': 'Greater than or equal to',
90
- // 'headerFilterOperator<': 'Less than',
91
- // 'headerFilterOperator<=': 'Less than or equal to',
92
-
73
+ headerFilterOperatorContains: 'מכיל',
74
+ headerFilterOperatorEquals: 'שווה',
75
+ headerFilterOperatorStartsWith: 'מתחיל ב-',
76
+ headerFilterOperatorEndsWith: 'נגמר ב-',
77
+ headerFilterOperatorIs: 'הינו',
78
+ headerFilterOperatorNot: 'אינו',
79
+ headerFilterOperatorAfter: 'אחרי',
80
+ headerFilterOperatorOnOrAfter: 'ב- או אחרי',
81
+ headerFilterOperatorBefore: 'לפני',
82
+ headerFilterOperatorOnOrBefore: 'ב- או לפני',
83
+ headerFilterOperatorIsEmpty: 'ריק',
84
+ headerFilterOperatorIsNotEmpty: 'אינו ריק',
85
+ headerFilterOperatorIsAnyOf: 'הוא אחד מ-',
86
+ 'headerFilterOperator=': 'שווה',
87
+ 'headerFilterOperator!=': 'אינו שווה',
88
+ 'headerFilterOperator>': 'גדול מ-',
89
+ 'headerFilterOperator>=': 'גדול שווה ל-',
90
+ 'headerFilterOperator<': 'קטן מ-',
91
+ 'headerFilterOperator<=': 'קטן שווה ל-',
93
92
  // Filter values text
94
93
  filterValueAny: 'כל ערך',
95
94
  filterValueTrue: 'כן',
@@ -152,15 +151,13 @@ var heILGrid = {
152
151
  expandDetailPanel: 'הרחב',
153
152
  collapseDetailPanel: 'כווץ',
154
153
  // Row reordering text
155
- rowReorderingHeaderName: 'סידור שורות'
156
-
154
+ rowReorderingHeaderName: 'סידור שורות',
157
155
  // Aggregation
158
- // aggregationMenuItemHeader: 'Aggregation',
159
- // aggregationFunctionLabelSum: 'sum',
160
- // aggregationFunctionLabelAvg: 'avg',
161
- // aggregationFunctionLabelMin: 'min',
162
- // aggregationFunctionLabelMax: 'max',
163
- // aggregationFunctionLabelSize: 'size',
156
+ aggregationMenuItemHeader: 'צבירה',
157
+ aggregationFunctionLabelSum: 'סכום',
158
+ aggregationFunctionLabelAvg: 'ממוצע',
159
+ aggregationFunctionLabelMin: 'מינימום',
160
+ aggregationFunctionLabelMax: 'מקסימום',
161
+ aggregationFunctionLabelSize: 'גודל'
164
162
  };
165
-
166
163
  export var heIL = getGridLocalization(heILGrid, heILCore);
@@ -39,7 +39,7 @@ var itITGrid = {
39
39
  columnsPanelHideAllButton: 'Nascondi tutto',
40
40
  // Filter panel text
41
41
  filterPanelAddFilter: 'Aggiungi un filtro',
42
- // filterPanelRemoveAll: 'Remove all',
42
+ filterPanelRemoveAll: 'Rimuovi filtri',
43
43
  filterPanelDeleteIconLabel: 'Rimuovi',
44
44
  filterPanelLogicOperator: 'Operatore logico',
45
45
  filterPanelOperator: 'Operatori',
@@ -62,34 +62,32 @@ var itITGrid = {
62
62
  filterOperatorIsEmpty: 'è vuoto',
63
63
  filterOperatorIsNotEmpty: 'non è vuoto',
64
64
  filterOperatorIsAnyOf: 'è uno tra',
65
- // 'filterOperator=': '=',
66
- // 'filterOperator!=': '!=',
67
- // 'filterOperator>': '>',
68
- // 'filterOperator>=': '>=',
69
- // 'filterOperator<': '<',
70
- // 'filterOperator<=': '<=',
71
-
65
+ 'filterOperator=': '=',
66
+ 'filterOperator!=': '!=',
67
+ 'filterOperator>': '>',
68
+ 'filterOperator>=': '>=',
69
+ 'filterOperator<': '<',
70
+ 'filterOperator<=': '<=',
72
71
  // Header filter operators text
73
- // headerFilterOperatorContains: 'Contains',
74
- // headerFilterOperatorEquals: 'Equals',
75
- // headerFilterOperatorStartsWith: 'Starts with',
76
- // headerFilterOperatorEndsWith: 'Ends with',
77
- // headerFilterOperatorIs: 'Is',
78
- // headerFilterOperatorNot: 'Is not',
79
- // headerFilterOperatorAfter: 'Is after',
80
- // headerFilterOperatorOnOrAfter: 'Is on or after',
81
- // headerFilterOperatorBefore: 'Is before',
82
- // headerFilterOperatorOnOrBefore: 'Is on or before',
83
- // headerFilterOperatorIsEmpty: 'Is empty',
84
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
85
- // headerFilterOperatorIsAnyOf: 'Is any of',
86
- // 'headerFilterOperator=': 'Equals',
87
- // 'headerFilterOperator!=': 'Not equals',
88
- // 'headerFilterOperator>': 'Greater than',
89
- // 'headerFilterOperator>=': 'Greater than or equal to',
90
- // 'headerFilterOperator<': 'Less than',
91
- // 'headerFilterOperator<=': 'Less than or equal to',
92
-
72
+ headerFilterOperatorContains: 'Contiene',
73
+ headerFilterOperatorEquals: 'uguale a',
74
+ headerFilterOperatorStartsWith: 'comincia per',
75
+ headerFilterOperatorEndsWith: 'termina per',
76
+ headerFilterOperatorIs: 'uguale a',
77
+ headerFilterOperatorNot: 'diversa da',
78
+ headerFilterOperatorAfter: 'dopo il',
79
+ headerFilterOperatorOnOrAfter: 'a partire dal',
80
+ headerFilterOperatorBefore: 'prima del',
81
+ headerFilterOperatorOnOrBefore: 'fino al',
82
+ headerFilterOperatorIsEmpty: 'è vuoto',
83
+ headerFilterOperatorIsNotEmpty: 'non è vuoto',
84
+ headerFilterOperatorIsAnyOf: 'è uno tra',
85
+ 'headerFilterOperator=': 'uguale a',
86
+ 'headerFilterOperator!=': 'diverso da',
87
+ 'headerFilterOperator>': 'maggiore di',
88
+ 'headerFilterOperator>=': 'maggiore o uguale a',
89
+ 'headerFilterOperator<': 'minore di',
90
+ 'headerFilterOperator<=': 'minore o uguale a',
93
91
  // Filter values text
94
92
  filterValueAny: 'qualunque',
95
93
  filterValueTrue: 'vero',
@@ -97,7 +95,7 @@ var itITGrid = {
97
95
  // Column menu text
98
96
  columnMenuLabel: 'Menu',
99
97
  columnMenuShowColumns: 'Mostra le colonne',
100
- // columnMenuManageColumns: 'Manage columns',
98
+ columnMenuManageColumns: 'Gestisci colonne',
101
99
  columnMenuFilter: 'Filtra',
102
100
  columnMenuHideColumn: 'Nascondi',
103
101
  columnMenuUnsort: "Annulla l'ordinamento",
@@ -151,15 +149,13 @@ var itITGrid = {
151
149
  expandDetailPanel: 'Espandi',
152
150
  collapseDetailPanel: 'Comprimi',
153
151
  // Row reordering text
154
- rowReorderingHeaderName: 'Riordinamento righe'
155
-
152
+ rowReorderingHeaderName: 'Riordinamento righe',
156
153
  // Aggregation
157
- // aggregationMenuItemHeader: 'Aggregation',
158
- // aggregationFunctionLabelSum: 'sum',
159
- // aggregationFunctionLabelAvg: 'avg',
160
- // aggregationFunctionLabelMin: 'min',
161
- // aggregationFunctionLabelMax: 'max',
162
- // aggregationFunctionLabelSize: 'size',
154
+ aggregationMenuItemHeader: 'aggregazione',
155
+ aggregationFunctionLabelSum: 'somma',
156
+ aggregationFunctionLabelAvg: 'media',
157
+ aggregationFunctionLabelMin: 'minimo',
158
+ aggregationFunctionLabelMax: 'massimo',
159
+ aggregationFunctionLabelSize: 'numero di elementi'
163
160
  };
164
-
165
161
  export var itIT = getGridLocalization(itITGrid, itITCore);
package/locales/fiFI.js CHANGED
@@ -37,7 +37,7 @@ const fiFIGrid = {
37
37
  columnsPanelHideAllButton: 'Piilota kaikki',
38
38
  // Filter panel text
39
39
  filterPanelAddFilter: 'Lisää suodatin',
40
- // filterPanelRemoveAll: 'Remove all',
40
+ filterPanelRemoveAll: 'Poista kaikki',
41
41
  filterPanelDeleteIconLabel: 'Poista',
42
42
  filterPanelLogicOperator: 'Logiikkaoperaattori',
43
43
  filterPanelOperator: 'Operaattorit',
@@ -48,7 +48,7 @@ const fiFIGrid = {
48
48
  filterPanelInputPlaceholder: 'Suodattimen arvo',
49
49
  // Filter operators text
50
50
  filterOperatorContains: 'sisältää',
51
- filterOperatorEquals: 'on yhtä suuri',
51
+ filterOperatorEquals: 'on yhtä suuri kuin',
52
52
  filterOperatorStartsWith: 'alkaa',
53
53
  filterOperatorEndsWith: 'päättyy',
54
54
  filterOperatorIs: 'on',
@@ -59,35 +59,33 @@ const fiFIGrid = {
59
59
  filterOperatorOnOrBefore: 'on sama tai ennen',
60
60
  filterOperatorIsEmpty: 'on tyhjä',
61
61
  filterOperatorIsNotEmpty: 'ei ole tyhjä',
62
- filterOperatorIsAnyOf: 'mikä tahansa seuraavista',
63
- // 'filterOperator=': '=',
64
- // 'filterOperator!=': '!=',
65
- // 'filterOperator>': '>',
66
- // 'filterOperator>=': '>=',
67
- // 'filterOperator<': '<',
68
- // 'filterOperator<=': '<=',
69
-
62
+ filterOperatorIsAnyOf: 'on mikä tahansa seuraavista',
63
+ 'filterOperator=': '=',
64
+ 'filterOperator!=': '!=',
65
+ 'filterOperator>': '>',
66
+ 'filterOperator>=': '>=',
67
+ 'filterOperator<': '<',
68
+ 'filterOperator<=': '<=',
70
69
  // Header filter operators text
71
- // headerFilterOperatorContains: 'Contains',
72
- // headerFilterOperatorEquals: 'Equals',
73
- // headerFilterOperatorStartsWith: 'Starts with',
74
- // headerFilterOperatorEndsWith: 'Ends with',
75
- // headerFilterOperatorIs: 'Is',
76
- // headerFilterOperatorNot: 'Is not',
77
- // headerFilterOperatorAfter: 'Is after',
78
- // headerFilterOperatorOnOrAfter: 'Is on or after',
79
- // headerFilterOperatorBefore: 'Is before',
80
- // headerFilterOperatorOnOrBefore: 'Is on or before',
81
- // headerFilterOperatorIsEmpty: 'Is empty',
82
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
- // headerFilterOperatorIsAnyOf: 'Is any of',
84
- // 'headerFilterOperator=': 'Equals',
85
- // 'headerFilterOperator!=': 'Not equals',
86
- // 'headerFilterOperator>': 'Greater than',
87
- // 'headerFilterOperator>=': 'Greater than or equal to',
88
- // 'headerFilterOperator<': 'Less than',
89
- // 'headerFilterOperator<=': 'Less than or equal to',
90
-
70
+ headerFilterOperatorContains: 'Sisältää',
71
+ headerFilterOperatorEquals: 'On yhtä suuri kuin',
72
+ headerFilterOperatorStartsWith: 'Alkaa',
73
+ headerFilterOperatorEndsWith: 'Päättyy',
74
+ headerFilterOperatorIs: 'On',
75
+ headerFilterOperatorNot: 'Ei ole',
76
+ headerFilterOperatorAfter: 'On jälkeen',
77
+ headerFilterOperatorOnOrAfter: 'On sama tai jälkeen',
78
+ headerFilterOperatorBefore: 'On ennen',
79
+ headerFilterOperatorOnOrBefore: 'On sama tai ennen',
80
+ headerFilterOperatorIsEmpty: 'On tyhjä',
81
+ headerFilterOperatorIsNotEmpty: 'Ei ole tyhjä',
82
+ headerFilterOperatorIsAnyOf: 'On mikä tahansa seuraavista',
83
+ 'headerFilterOperator=': 'On yhtä suuri kuin',
84
+ 'headerFilterOperator!=': 'Ei ole yhtä suuri kuin',
85
+ 'headerFilterOperator>': 'Enemmän kuin',
86
+ 'headerFilterOperator>=': 'Enemmän tai yhtä paljon kuin',
87
+ 'headerFilterOperator<': 'Vähemmän kuin',
88
+ 'headerFilterOperator<=': 'Vähemmän tai yhtä paljon kuin',
91
89
  // Filter values text
92
90
  filterValueAny: 'mikä tahansa',
93
91
  filterValueTrue: 'tosi',
@@ -95,7 +93,7 @@ const fiFIGrid = {
95
93
  // Column menu text
96
94
  columnMenuLabel: 'Valikko',
97
95
  columnMenuShowColumns: 'Näytä sarakkeet',
98
- // columnMenuManageColumns: 'Manage columns',
96
+ columnMenuManageColumns: 'Hallitse sarakkeita',
99
97
  columnMenuFilter: 'Suodata',
100
98
  columnMenuHideColumn: 'Piilota',
101
99
  columnMenuUnsort: 'Poista järjestys',
package/locales/heIL.js CHANGED
@@ -68,26 +68,25 @@ const heILGrid = {
68
68
  // 'filterOperator<=': '<=',
69
69
 
70
70
  // Header filter operators text
71
- // headerFilterOperatorContains: 'Contains',
72
- // headerFilterOperatorEquals: 'Equals',
73
- // headerFilterOperatorStartsWith: 'Starts with',
74
- // headerFilterOperatorEndsWith: 'Ends with',
75
- // headerFilterOperatorIs: 'Is',
76
- // headerFilterOperatorNot: 'Is not',
77
- // headerFilterOperatorAfter: 'Is after',
78
- // headerFilterOperatorOnOrAfter: 'Is on or after',
79
- // headerFilterOperatorBefore: 'Is before',
80
- // headerFilterOperatorOnOrBefore: 'Is on or before',
81
- // headerFilterOperatorIsEmpty: 'Is empty',
82
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
- // headerFilterOperatorIsAnyOf: 'Is any of',
84
- // 'headerFilterOperator=': 'Equals',
85
- // 'headerFilterOperator!=': 'Not equals',
86
- // 'headerFilterOperator>': 'Greater than',
87
- // 'headerFilterOperator>=': 'Greater than or equal to',
88
- // 'headerFilterOperator<': 'Less than',
89
- // 'headerFilterOperator<=': 'Less than or equal to',
90
-
71
+ headerFilterOperatorContains: 'מכיל',
72
+ headerFilterOperatorEquals: 'שווה',
73
+ headerFilterOperatorStartsWith: 'מתחיל ב-',
74
+ headerFilterOperatorEndsWith: 'נגמר ב-',
75
+ headerFilterOperatorIs: 'הינו',
76
+ headerFilterOperatorNot: 'אינו',
77
+ headerFilterOperatorAfter: 'אחרי',
78
+ headerFilterOperatorOnOrAfter: 'ב- או אחרי',
79
+ headerFilterOperatorBefore: 'לפני',
80
+ headerFilterOperatorOnOrBefore: 'ב- או לפני',
81
+ headerFilterOperatorIsEmpty: 'ריק',
82
+ headerFilterOperatorIsNotEmpty: 'אינו ריק',
83
+ headerFilterOperatorIsAnyOf: 'הוא אחד מ-',
84
+ 'headerFilterOperator=': 'שווה',
85
+ 'headerFilterOperator!=': 'אינו שווה',
86
+ 'headerFilterOperator>': 'גדול מ-',
87
+ 'headerFilterOperator>=': 'גדול שווה ל-',
88
+ 'headerFilterOperator<': 'קטן מ-',
89
+ 'headerFilterOperator<=': 'קטן שווה ל-',
91
90
  // Filter values text
92
91
  filterValueAny: 'כל ערך',
93
92
  filterValueTrue: 'כן',
@@ -140,15 +139,13 @@ const heILGrid = {
140
139
  expandDetailPanel: 'הרחב',
141
140
  collapseDetailPanel: 'כווץ',
142
141
  // Row reordering text
143
- rowReorderingHeaderName: 'סידור שורות'
144
-
142
+ rowReorderingHeaderName: 'סידור שורות',
145
143
  // Aggregation
146
- // aggregationMenuItemHeader: 'Aggregation',
147
- // aggregationFunctionLabelSum: 'sum',
148
- // aggregationFunctionLabelAvg: 'avg',
149
- // aggregationFunctionLabelMin: 'min',
150
- // aggregationFunctionLabelMax: 'max',
151
- // aggregationFunctionLabelSize: 'size',
144
+ aggregationMenuItemHeader: 'צבירה',
145
+ aggregationFunctionLabelSum: 'סכום',
146
+ aggregationFunctionLabelAvg: 'ממוצע',
147
+ aggregationFunctionLabelMin: 'מינימום',
148
+ aggregationFunctionLabelMax: 'מקסימום',
149
+ aggregationFunctionLabelSize: 'גודל'
152
150
  };
153
-
154
151
  export const heIL = getGridLocalization(heILGrid, heILCore);
package/locales/itIT.js CHANGED
@@ -37,7 +37,7 @@ const itITGrid = {
37
37
  columnsPanelHideAllButton: 'Nascondi tutto',
38
38
  // Filter panel text
39
39
  filterPanelAddFilter: 'Aggiungi un filtro',
40
- // filterPanelRemoveAll: 'Remove all',
40
+ filterPanelRemoveAll: 'Rimuovi filtri',
41
41
  filterPanelDeleteIconLabel: 'Rimuovi',
42
42
  filterPanelLogicOperator: 'Operatore logico',
43
43
  filterPanelOperator: 'Operatori',
@@ -60,34 +60,32 @@ const itITGrid = {
60
60
  filterOperatorIsEmpty: 'è vuoto',
61
61
  filterOperatorIsNotEmpty: 'non è vuoto',
62
62
  filterOperatorIsAnyOf: 'è uno tra',
63
- // 'filterOperator=': '=',
64
- // 'filterOperator!=': '!=',
65
- // 'filterOperator>': '>',
66
- // 'filterOperator>=': '>=',
67
- // 'filterOperator<': '<',
68
- // 'filterOperator<=': '<=',
69
-
63
+ 'filterOperator=': '=',
64
+ 'filterOperator!=': '!=',
65
+ 'filterOperator>': '>',
66
+ 'filterOperator>=': '>=',
67
+ 'filterOperator<': '<',
68
+ 'filterOperator<=': '<=',
70
69
  // Header filter operators text
71
- // headerFilterOperatorContains: 'Contains',
72
- // headerFilterOperatorEquals: 'Equals',
73
- // headerFilterOperatorStartsWith: 'Starts with',
74
- // headerFilterOperatorEndsWith: 'Ends with',
75
- // headerFilterOperatorIs: 'Is',
76
- // headerFilterOperatorNot: 'Is not',
77
- // headerFilterOperatorAfter: 'Is after',
78
- // headerFilterOperatorOnOrAfter: 'Is on or after',
79
- // headerFilterOperatorBefore: 'Is before',
80
- // headerFilterOperatorOnOrBefore: 'Is on or before',
81
- // headerFilterOperatorIsEmpty: 'Is empty',
82
- // headerFilterOperatorIsNotEmpty: 'Is not empty',
83
- // headerFilterOperatorIsAnyOf: 'Is any of',
84
- // 'headerFilterOperator=': 'Equals',
85
- // 'headerFilterOperator!=': 'Not equals',
86
- // 'headerFilterOperator>': 'Greater than',
87
- // 'headerFilterOperator>=': 'Greater than or equal to',
88
- // 'headerFilterOperator<': 'Less than',
89
- // 'headerFilterOperator<=': 'Less than or equal to',
90
-
70
+ headerFilterOperatorContains: 'Contiene',
71
+ headerFilterOperatorEquals: 'uguale a',
72
+ headerFilterOperatorStartsWith: 'comincia per',
73
+ headerFilterOperatorEndsWith: 'termina per',
74
+ headerFilterOperatorIs: 'uguale a',
75
+ headerFilterOperatorNot: 'diversa da',
76
+ headerFilterOperatorAfter: 'dopo il',
77
+ headerFilterOperatorOnOrAfter: 'a partire dal',
78
+ headerFilterOperatorBefore: 'prima del',
79
+ headerFilterOperatorOnOrBefore: 'fino al',
80
+ headerFilterOperatorIsEmpty: 'è vuoto',
81
+ headerFilterOperatorIsNotEmpty: 'non è vuoto',
82
+ headerFilterOperatorIsAnyOf: 'è uno tra',
83
+ 'headerFilterOperator=': 'uguale a',
84
+ 'headerFilterOperator!=': 'diverso da',
85
+ 'headerFilterOperator>': 'maggiore di',
86
+ 'headerFilterOperator>=': 'maggiore o uguale a',
87
+ 'headerFilterOperator<': 'minore di',
88
+ 'headerFilterOperator<=': 'minore o uguale a',
91
89
  // Filter values text
92
90
  filterValueAny: 'qualunque',
93
91
  filterValueTrue: 'vero',
@@ -95,7 +93,7 @@ const itITGrid = {
95
93
  // Column menu text
96
94
  columnMenuLabel: 'Menu',
97
95
  columnMenuShowColumns: 'Mostra le colonne',
98
- // columnMenuManageColumns: 'Manage columns',
96
+ columnMenuManageColumns: 'Gestisci colonne',
99
97
  columnMenuFilter: 'Filtra',
100
98
  columnMenuHideColumn: 'Nascondi',
101
99
  columnMenuUnsort: "Annulla l'ordinamento",
@@ -139,15 +137,13 @@ const itITGrid = {
139
137
  expandDetailPanel: 'Espandi',
140
138
  collapseDetailPanel: 'Comprimi',
141
139
  // Row reordering text
142
- rowReorderingHeaderName: 'Riordinamento righe'
143
-
140
+ rowReorderingHeaderName: 'Riordinamento righe',
144
141
  // Aggregation
145
- // aggregationMenuItemHeader: 'Aggregation',
146
- // aggregationFunctionLabelSum: 'sum',
147
- // aggregationFunctionLabelAvg: 'avg',
148
- // aggregationFunctionLabelMin: 'min',
149
- // aggregationFunctionLabelMax: 'max',
150
- // aggregationFunctionLabelSize: 'size',
142
+ aggregationMenuItemHeader: 'aggregazione',
143
+ aggregationFunctionLabelSum: 'somma',
144
+ aggregationFunctionLabelAvg: 'media',
145
+ aggregationFunctionLabelMin: 'minimo',
146
+ aggregationFunctionLabelMax: 'massimo',
147
+ aggregationFunctionLabelSize: 'numero di elementi'
151
148
  };
152
-
153
149
  export const itIT = getGridLocalization(itITGrid, itITCore);
@@ -38,7 +38,7 @@ export interface GridFilterOperator<R extends GridValidRowModel = any, V = any,
38
38
  /**
39
39
  * The callback that generates a filtering function for a given filter item and column.
40
40
  * This function can return `null` to skip filtering for this item and column.
41
- * This function uses the more performant V7 API.
41
+ * This function uses the more performant v7 API.
42
42
  * @param {GridFilterItem} filterItem The filter item with which we want to filter the column.
43
43
  * @param {GridColDef} column The column from which we want to filter the rows.
44
44
  * @returns {null | ApplyFilterFnV7} The function to call to check if a row pass this filter item or not.
@@ -35,6 +35,12 @@ export interface GridExperimentalFeatures {
35
35
  * Only works if NODE_ENV=test.
36
36
  */
37
37
  warnIfFocusStateIsNotSynced: boolean;
38
+ /**
39
+ * Enables accessibility improvements that will be enabled by default in v7.
40
+ * If you rely on the v6 ARIA attributes (e.g. for CSS selectors), this might be a breaking change.
41
+ * @default false
42
+ */
43
+ ariaV7: boolean;
38
44
  }
39
45
  /**
40
46
  * The props users can give to the `DataGrid` component.
@@ -391,7 +397,7 @@ export interface DataGridPropsWithoutDefaultValue<R extends GridValidRowModel =
391
397
  /**
392
398
  * Function that returns the element to render in row detail.
393
399
  * @param {GridRowParams} params With all properties from [[GridRowParams]].
394
- * @returns {JSX.Element} The row detail element.
400
+ * @returns {React.JSX.Element} The row detail element.
395
401
  */
396
402
  getDetailPanelContent?: (params: GridRowParams<R>) => React.ReactNode;
397
403
  /**
@@ -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
  /**
@@ -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
  */