@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
@@ -1,14 +1,17 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.GridMainContainer = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
9
  var React = _interopRequireWildcard(require("react"));
8
10
  var _utils = require("@mui/utils");
9
11
  var _system = require("@mui/system");
10
12
  var _gridClasses = require("../../constants/gridClasses");
11
13
  var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
14
+ var _useGridAriaAttributes = require("../../hooks/utils/useGridAriaAttributes");
12
15
  var _jsxRuntime = require("react/jsx-runtime");
13
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -35,11 +38,15 @@ const GridMainContainerRoot = (0, _system.styled)('div', {
35
38
  const GridMainContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
36
39
  const rootProps = (0, _useGridRootProps.useGridRootProps)();
37
40
  const classes = useUtilityClasses(rootProps);
38
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(GridMainContainerRoot, {
41
+ const getAriaAttributes = rootProps.experimentalFeatures?.ariaV7 // ariaV7 should never change
42
+ ? _useGridAriaAttributes.useGridAriaAttributes : null;
43
+ const ariaAttributes = typeof getAriaAttributes === 'function' ? getAriaAttributes() : null;
44
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(GridMainContainerRoot, (0, _extends2.default)({
39
45
  ref: ref,
40
46
  className: classes.root,
41
- ownerState: rootProps,
47
+ ownerState: rootProps
48
+ }, ariaAttributes, {
42
49
  children: props.children
43
- });
50
+ }));
44
51
  });
45
52
  exports.GridMainContainer = GridMainContainer;
@@ -12,14 +12,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
12
12
  var _clsx = _interopRequireDefault(require("clsx"));
13
13
  var _utils = require("@mui/utils");
14
14
  var _GridRootStyles = require("./GridRootStyles");
15
- var _gridColumnsSelector = require("../../hooks/features/columns/gridColumnsSelector");
16
15
  var _useGridSelector = require("../../hooks/utils/useGridSelector");
17
16
  var _useGridPrivateApiContext = require("../../hooks/utils/useGridPrivateApiContext");
18
17
  var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
19
18
  var _gridClasses = require("../../constants/gridClasses");
20
19
  var _densitySelector = require("../../hooks/features/density/densitySelector");
21
- var _gridColumnGroupsSelector = require("../../hooks/features/columnGrouping/gridColumnGroupsSelector");
22
- var _gridRowsSelector = require("../../hooks/features/rows/gridRowsSelector");
20
+ var _useGridAriaAttributes = require("../../hooks/utils/useGridAriaAttributes");
23
21
  var _jsxRuntime = require("react/jsx-runtime");
24
22
  const _excluded = ["children", "className"];
25
23
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -43,13 +41,12 @@ const GridRoot = /*#__PURE__*/React.forwardRef(function GridRoot(props, ref) {
43
41
  } = props,
44
42
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
45
43
  const apiRef = (0, _useGridPrivateApiContext.useGridPrivateApiContext)();
46
- const visibleColumns = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnsSelector.gridVisibleColumnDefinitionsSelector);
47
- const totalRowCount = (0, _useGridSelector.useGridSelector)(apiRef, _gridRowsSelector.gridRowCountSelector);
48
44
  const densityValue = (0, _useGridSelector.useGridSelector)(apiRef, _densitySelector.gridDensityValueSelector);
49
- const headerGroupingMaxDepth = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnGroupsSelector.gridColumnGroupsHeaderMaxDepthSelector);
50
45
  const rootContainerRef = React.useRef(null);
51
46
  const handleRef = (0, _utils.unstable_useForkRef)(rootContainerRef, ref);
52
- const pinnedRowsCount = (0, _useGridSelector.useGridSelector)(apiRef, _gridRowsSelector.gridPinnedRowsCountSelector);
47
+ const getAriaAttributes = rootProps.experimentalFeatures?.ariaV7 // ariaV7 should never change
48
+ ? null : _useGridAriaAttributes.useGridAriaAttributes;
49
+ const ariaAttributes = typeof getAriaAttributes === 'function' ? getAriaAttributes() : null;
53
50
  const ownerState = (0, _extends2.default)({}, rootProps, {
54
51
  density: densityValue
55
52
  });
@@ -69,12 +66,8 @@ const GridRoot = /*#__PURE__*/React.forwardRef(function GridRoot(props, ref) {
69
66
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridRootStyles.GridRootStyles, (0, _extends2.default)({
70
67
  ref: handleRef,
71
68
  className: (0, _clsx.default)(className, classes.root),
72
- ownerState: ownerState,
73
- role: "grid",
74
- "aria-colcount": visibleColumns.length,
75
- "aria-rowcount": headerGroupingMaxDepth + 1 + pinnedRowsCount + totalRowCount,
76
- "aria-multiselectable": !rootProps.disableMultipleRowSelection
77
- }, other, {
69
+ ownerState: ownerState
70
+ }, ariaAttributes, other, {
78
71
  children: children
79
72
  }));
80
73
  });
@@ -141,7 +141,7 @@ const hydrateColumnsWidth = (rawState, viewportInnerWidth) => {
141
141
  computedWidth = 0;
142
142
  flexColumns.push(newColumn);
143
143
  } else {
144
- computedWidth = (0, _utils.clamp)(newColumn.width, newColumn.minWidth, newColumn.maxWidth);
144
+ computedWidth = (0, _utils.clamp)(newColumn.width || _colDef.GRID_STRING_COL_DEF.width, newColumn.minWidth || _colDef.GRID_STRING_COL_DEF.minWidth, newColumn.maxWidth || _colDef.GRID_STRING_COL_DEF.maxWidth);
145
145
  }
146
146
  widthAllocatedBeforeFlex += computedWidth;
147
147
  newColumn.computedWidth = computedWidth;
@@ -562,15 +562,18 @@ const useGridVirtualScroller = props => {
562
562
  onWheel: handleWheel,
563
563
  onTouchMove: handleTouchMove
564
564
  }, inputProps, {
565
- style: inputProps.style ? (0, _extends2.default)({}, inputProps.style, rootStyle) : rootStyle
565
+ style: inputProps.style ? (0, _extends2.default)({}, inputProps.style, rootStyle) : rootStyle,
566
+ role: 'presentation'
566
567
  }),
567
568
  getContentProps: ({
568
569
  style
569
570
  } = {}) => ({
570
- style: style ? (0, _extends2.default)({}, style, contentSize) : contentSize
571
+ style: style ? (0, _extends2.default)({}, style, contentSize) : contentSize,
572
+ role: 'presentation'
571
573
  }),
572
574
  getRenderZoneProps: () => ({
573
- ref: renderZoneRef
575
+ ref: renderZoneRef,
576
+ role: 'rowgroup'
574
577
  })
575
578
  };
576
579
  };
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useGridAriaAttributes = void 0;
7
+ var _gridColumnsSelector = require("../features/columns/gridColumnsSelector");
8
+ var _useGridSelector = require("./useGridSelector");
9
+ var _useGridRootProps = require("./useGridRootProps");
10
+ var _gridColumnGroupsSelector = require("../features/columnGrouping/gridColumnGroupsSelector");
11
+ var _gridRowsSelector = require("../features/rows/gridRowsSelector");
12
+ var _useGridPrivateApiContext = require("./useGridPrivateApiContext");
13
+ const useGridAriaAttributes = () => {
14
+ const apiRef = (0, _useGridPrivateApiContext.useGridPrivateApiContext)();
15
+ const rootProps = (0, _useGridRootProps.useGridRootProps)();
16
+ const visibleColumns = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnsSelector.gridVisibleColumnDefinitionsSelector);
17
+ const totalRowCount = (0, _useGridSelector.useGridSelector)(apiRef, _gridRowsSelector.gridRowCountSelector);
18
+ const headerGroupingMaxDepth = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnGroupsSelector.gridColumnGroupsHeaderMaxDepthSelector);
19
+ const pinnedRowsCount = (0, _useGridSelector.useGridSelector)(apiRef, _gridRowsSelector.gridPinnedRowsCountSelector);
20
+ let role = 'grid';
21
+ if (rootProps.experimentalFeatures?.ariaV7 && rootProps.treeData) {
22
+ role = 'treegrid';
23
+ }
24
+ return {
25
+ role,
26
+ 'aria-colcount': visibleColumns.length,
27
+ 'aria-rowcount': headerGroupingMaxDepth + 1 + pinnedRowsCount + totalRowCount,
28
+ 'aria-multiselectable': !rootProps.disableMultipleRowSelection
29
+ };
30
+ };
31
+ exports.useGridAriaAttributes = useGridAriaAttributes;
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v6.10.2
2
+ * @mui/x-data-grid v6.11.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -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.1",
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,8 +36,8 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.22.6",
39
- "@mui/utils": "^5.13.7",
40
- "clsx": "^1.2.1",
39
+ "@mui/utils": "^5.14.3",
40
+ "clsx": "^2.0.0",
41
41
  "prop-types": "^15.8.1",
42
42
  "reselect": "^4.1.8"
43
43
  },