@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.
- package/CHANGELOG.md +92 -0
- package/DataGrid/DataGrid.d.ts +1 -1
- package/DataGrid/DataGrid.js +2 -1
- package/colDef/utils.d.ts +1 -1
- package/colDef/utils.js +1 -1
- package/components/cell/GridCell.js +57 -46
- package/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
- package/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
- package/components/containers/GridMainContainer.js +10 -3
- package/components/containers/GridRoot.js +7 -13
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
- package/hooks/features/columns/gridColumnsUtils.js +2 -2
- package/hooks/features/virtualization/useGridVirtualScroller.d.ts +7 -4
- package/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
- package/hooks/utils/useGridAriaAttributes.d.ts +6 -0
- package/hooks/utils/useGridAriaAttributes.js +25 -0
- package/index.js +1 -1
- package/legacy/DataGrid/DataGrid.js +2 -1
- package/legacy/colDef/utils.js +1 -1
- package/legacy/components/cell/GridCell.js +57 -46
- package/legacy/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
- package/legacy/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
- package/legacy/components/containers/GridMainContainer.js +10 -3
- package/legacy/components/containers/GridRoot.js +7 -13
- package/legacy/hooks/features/columns/gridColumnsUtils.js +2 -2
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
- package/legacy/hooks/utils/useGridAriaAttributes.js +25 -0
- package/legacy/index.js +1 -1
- package/legacy/locales/fiFI.js +28 -30
- package/legacy/locales/heIL.js +26 -29
- package/legacy/locales/itIT.js +34 -38
- package/locales/fiFI.js +28 -30
- package/locales/heIL.js +26 -29
- package/locales/itIT.js +34 -38
- package/models/gridFilterOperator.d.ts +1 -1
- package/models/props/DataGridProps.d.ts +7 -1
- package/modern/DataGrid/DataGrid.js +2 -1
- package/modern/colDef/utils.js +1 -1
- package/modern/components/cell/GridCell.js +54 -43
- package/modern/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
- package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
- package/modern/components/containers/GridMainContainer.js +9 -3
- package/modern/components/containers/GridRoot.js +6 -13
- package/modern/hooks/features/columns/gridColumnsUtils.js +2 -2
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
- package/modern/hooks/utils/useGridAriaAttributes.js +24 -0
- package/modern/index.js +1 -1
- package/modern/locales/fiFI.js +28 -30
- package/modern/locales/heIL.js +26 -29
- package/modern/locales/itIT.js +34 -38
- package/node/DataGrid/DataGrid.js +2 -1
- package/node/colDef/utils.js +1 -1
- package/node/components/cell/GridCell.js +54 -43
- package/node/components/columnHeaders/GridBaseColumnHeaders.js +3 -1
- package/node/components/columnHeaders/GridGenericColumnHeaderItem.js +3 -1
- package/node/components/containers/GridMainContainer.js +10 -3
- package/node/components/containers/GridRoot.js +6 -13
- package/node/hooks/features/columns/gridColumnsUtils.js +1 -1
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +6 -3
- package/node/hooks/utils/useGridAriaAttributes.js +31 -0
- package/node/index.js +1 -1
- package/node/locales/fiFI.js +28 -30
- package/node/locales/heIL.js +26 -29
- package/node/locales/itIT.js +34 -38
- package/package.json +2 -2
package/node/locales/fiFI.js
CHANGED
|
@@ -43,7 +43,7 @@ const fiFIGrid = {
|
|
|
43
43
|
columnsPanelHideAllButton: 'Piilota kaikki',
|
|
44
44
|
// Filter panel text
|
|
45
45
|
filterPanelAddFilter: 'Lisää suodatin',
|
|
46
|
-
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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',
|
package/node/locales/heIL.js
CHANGED
|
@@ -74,26 +74,25 @@ const heILGrid = {
|
|
|
74
74
|
// 'filterOperator<=': '<=',
|
|
75
75
|
|
|
76
76
|
// Header filter operators text
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
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;
|
package/node/locales/itIT.js
CHANGED
|
@@ -43,7 +43,7 @@ const itITGrid = {
|
|
|
43
43
|
columnsPanelHideAllButton: 'Nascondi tutto',
|
|
44
44
|
// Filter panel text
|
|
45
45
|
filterPanelAddFilter: 'Aggiungi un filtro',
|
|
46
|
-
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
'filterOperator=': '=',
|
|
70
|
+
'filterOperator!=': '!=',
|
|
71
|
+
'filterOperator>': '>',
|
|
72
|
+
'filterOperator>=': '>=',
|
|
73
|
+
'filterOperator<': '<',
|
|
74
|
+
'filterOperator<=': '<=',
|
|
76
75
|
// Header filter operators text
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
-
|
|
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
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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.
|
|
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.
|
|
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"
|