@mui/x-data-grid 8.23.0 → 8.24.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 (34) hide show
  1. package/CHANGELOG.md +111 -1
  2. package/components/GridPagination.js +3 -1
  3. package/components/cell/GridEditDateCell.js +3 -1
  4. package/components/containers/GridRootStyles.js +4 -0
  5. package/components/menu/columnMenu/GridColumnMenuContainer.js +3 -1
  6. package/components/virtualization/GridBottomContainer.js +4 -1
  7. package/components/virtualization/GridMainContainer.js +4 -1
  8. package/components/virtualization/GridTopContainer.js +4 -1
  9. package/components/virtualization/GridVirtualScrollbar.d.ts +1 -1
  10. package/components/virtualization/GridVirtualScrollbar.js +13 -4
  11. package/components/virtualization/GridVirtualScrollerFiller.js +18 -5
  12. package/esm/components/GridPagination.js +3 -1
  13. package/esm/components/cell/GridEditDateCell.js +3 -1
  14. package/esm/components/containers/GridRootStyles.js +4 -0
  15. package/esm/components/menu/columnMenu/GridColumnMenuContainer.js +3 -1
  16. package/esm/components/virtualization/GridBottomContainer.js +4 -1
  17. package/esm/components/virtualization/GridMainContainer.js +4 -1
  18. package/esm/components/virtualization/GridTopContainer.js +4 -1
  19. package/esm/components/virtualization/GridVirtualScrollbar.d.ts +1 -1
  20. package/esm/components/virtualization/GridVirtualScrollbar.js +13 -4
  21. package/esm/components/virtualization/GridVirtualScrollerFiller.js +18 -5
  22. package/esm/index.js +1 -1
  23. package/esm/locales/arSD.js +1 -1
  24. package/esm/locales/daDK.js +3 -4
  25. package/esm/locales/faIR.js +1 -1
  26. package/esm/locales/jaJP.js +33 -38
  27. package/esm/material/index.js +14 -4
  28. package/index.js +1 -1
  29. package/locales/arSD.js +1 -1
  30. package/locales/daDK.js +3 -4
  31. package/locales/faIR.js +1 -1
  32. package/locales/jaJP.js +33 -38
  33. package/material/index.js +14 -4
  34. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -5,9 +5,119 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## 8.24.0
9
+
10
+ _Jan 8, 2026_
11
+
12
+ We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - ⚡️Add bar [batch renderer](https://mui.com/x/react-charts/bars/#performance), result in a significant performance improvement when rendering thousands of bars
15
+ - 📊 Add [range bar chart](https://mui.com/x/react-charts/range-bar/) to render
16
+ ![image](https://github.com/user-attachments/assets/4112c09b-d841-42f7-a0c8-d23b61c23ca0)
17
+ - 🌎 Improved Danish (da-DK) and Japanese (ja-JP) locales on the Data Grid
18
+
19
+ Special thanks go out to these community members for their valuable contributions:
20
+ @anders-noerrelykke, @auloin, @sai6855, @yuito-it
21
+
22
+ The following team members contributed to this release:
23
+ @alelthomas, @alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @JCQuintas, @mapache-salvaje, @siriwatknp
24
+
25
+ ### Data Grid
26
+
27
+ #### `@mui/x-data-grid@8.24.0`
28
+
29
+ - [l10n] Improve Danish (da-DK) locale (#20828) @anders-noerrelykke
30
+ - [l10n] Improve Japanese (ja-JP) locale (#20251) @yuito-it
31
+
32
+ #### `@mui/x-data-grid-pro@8.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
33
+
34
+ Same changes as in `@mui/x-data-grid@8.24.0`, plus:
35
+
36
+ - [DataGridPro] Fix header filter height for `density="compact"` (#20834) @arminmeh
37
+
38
+ #### `@mui/x-data-grid-premium@8.24.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
39
+
40
+ Same changes as in `@mui/x-data-grid-pro@8.24.0`.
41
+
42
+ ### Date and Time Pickers
43
+
44
+ #### `@mui/x-date-pickers@8.24.0`
45
+
46
+ - [pickers] Fix Styles applied to PickersDay when MuiPickersDay-dayOutsideMonth is used (#20719) @sai6855
47
+
48
+ #### `@mui/x-date-pickers-pro@8.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
49
+
50
+ Same changes as in `@mui/x-date-pickers@8.24.0`.
51
+
52
+ ### Charts
53
+
54
+ #### `@mui/x-charts@8.24.0`
55
+
56
+ - [charts] Add `VisibilityManager` logic to allow managing series/items (#20571) @JCQuintas
57
+ - [charts] Add `identifierSerializer` configuration (#20775) @JCQuintas
58
+ - [charts] Add `serializeIdentifier` instance function (#20791) @JCQuintas
59
+ - [charts] Add bar batch renderer (#20457) @bernardobelchior
60
+ - [charts] Allow animating bar, line, and pie elements to hidden state (#20798) @JCQuintas
61
+ - [charts] Fix failing lint step (#20813) @bernardobelchior
62
+ - [charts] Fix tooltip anchored to item (#20783) @alexfauquette
63
+ - [charts] Fix type casting in getCategoryAxisConfig and applySeriesLayout functions (#20797) @sai6855
64
+ - [charts] Let keyboard navigation avoid overflow and handle nullish values (#20757) @alexfauquette
65
+ - [charts] Refactor `PieChart` and `PieChartPro` to use `slots` and `slotProps` directly (#20795) @sai6855
66
+ - [charts] Refactor `useRegisterPointerEventHandlers` (#20824) @bernardobelchior
67
+ - [charts] Update legend types to allow hiding/showing items (#20784) @JCQuintas
68
+
69
+ #### `@mui/x-charts-pro@8.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
70
+
71
+ Same changes as in `@mui/x-charts@8.24.0`, plus:
72
+
73
+ - [charts-pro] Pass `slotProps.toolbar` to `Toolbar` in `PieChartPro` (#20796) @sai6855
74
+
75
+ #### `@mui/x-charts-premium@8.24.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
76
+
77
+ Same changes as in `@mui/x-charts-pro@8.24.0`, plus:
78
+
79
+ - [charts-premium] Add range bar chart (#20275) @bernardobelchior
80
+
81
+ ### Tree View
82
+
83
+ #### `@mui/x-tree-view@8.24.0`
84
+
85
+ - [tree view] Introduce a Tree View Store to clean the internals (#20051) @flaviendelangle
86
+
87
+ #### `@mui/x-tree-view-pro@8.24.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
88
+
89
+ Same changes as in `@mui/x-tree-view@8.24.0`.
90
+
91
+ ### Codemod
92
+
93
+ #### `@mui/x-codemod@8.24.0`
94
+
95
+ Internal changes.
96
+
97
+ ### Docs
98
+
99
+ - [docs] Fix axis size default values (#20799) @bernardobelchior
100
+ - [docs] Update What's New in MUI X page with post v8 features (DX-118) (#20787) @alelthomas
101
+ - [docs] Fix `onAccept`'s `context.source` documentation to use 'view' instead of 'picker' (#20465) @auloin
102
+ - [docs] Revise the Charts Brush doc (#20792) @mapache-salvaje
103
+ - [docs] Revise the Charts Highlighting doc (#20788) @mapache-salvaje
104
+ - [docs] Revise the Charts Label doc (#20794) @mapache-salvaje
105
+ - [docs] Revise the Charts Export doc (#20779) @mapache-salvaje
106
+
107
+ ### Core
108
+
109
+ - [code-infra] Fix v8.23.0 release date (#20767) @bernardobelchior
110
+ - [code-infra] Remove `glob-gitignore` (#20801) @bernardobelchior
111
+ - [code-infra] Remove `nyc` (#20804) @bernardobelchior
112
+ - [code-infra] Remove `stream-browserify` and `null-loader` (#20805) @bernardobelchior
113
+ - [code-infra] Remove `stylelint-config-tailwindcss` (#20807) @bernardobelchior
114
+ - [code-infra] Remove unused `path` package (#20802) @bernardobelchior
115
+ - [code-infra] Retry flaky e2e test on webkit (#20806) @JCQuintas
116
+ - [internal] Add `internal` slot to properly generate components CSS layer (#20763) @siriwatknp
117
+
8
118
  ## 8.23.0
9
119
 
10
- _Dec 23, 2025_
120
+ _Dec 24, 2025_
11
121
 
12
122
  We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
13
123
 
@@ -16,7 +16,9 @@ var _useGridApiContext = require("../hooks/utils/useGridApiContext");
16
16
  var _useGridRootProps = require("../hooks/utils/useGridRootProps");
17
17
  var _gridPaginationSelector = require("../hooks/features/pagination/gridPaginationSelector");
18
18
  var _jsxRuntime = require("react/jsx-runtime");
19
- const GridPaginationRoot = (0, _styles.styled)(_assert.NotRendered)({
19
+ const GridPaginationRoot = (0, _styles.styled)(_assert.NotRendered, {
20
+ slot: 'internal'
21
+ })({
20
22
  maxHeight: 'calc(100% + 1px)',
21
23
  // border width
22
24
  flexGrow: 1
@@ -21,7 +21,9 @@ var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
21
21
  var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
22
22
  var _jsxRuntime = require("react/jsx-runtime");
23
23
  const _excluded = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "inputProps", "isValidating", "isProcessingProps", "onValueChange", "slotProps"];
24
- const StyledInputBase = (0, _styles.styled)(_assert.NotRendered)({
24
+ const StyledInputBase = (0, _styles.styled)(_assert.NotRendered, {
25
+ slot: 'internal'
26
+ })({
25
27
  fontSize: 'inherit'
26
28
  });
27
29
  const useUtilityClasses = ownerState => {
@@ -435,6 +435,10 @@ const GridRootStyles = exports.GridRootStyles = (0, _styles.styled)('div', {
435
435
  minHeight: 'min-content',
436
436
  overflow: 'hidden'
437
437
  },
438
+ [`&.${_gridClasses.gridClasses['root--densityCompact']} .${_gridClasses.gridClasses['columnHeader--filter']}`]: {
439
+ paddingTop: 4,
440
+ paddingBottom: 4
441
+ },
438
442
  [`& .${_gridClasses.gridClasses['virtualScroller--hasScrollX']} .${_gridClasses.gridClasses['columnHeader--last']}`]: {
439
443
  overflow: 'hidden'
440
444
  },
@@ -19,7 +19,9 @@ var _gridClasses = require("../../../constants/gridClasses");
19
19
  var _useGridRootProps = require("../../../hooks/utils/useGridRootProps");
20
20
  var _jsxRuntime = require("react/jsx-runtime");
21
21
  const _excluded = ["hideMenu", "colDef", "id", "labelledby", "className", "children", "open"];
22
- const StyledMenuList = (0, _styles.styled)(_assert.NotRendered)(() => ({
22
+ const StyledMenuList = (0, _styles.styled)(_assert.NotRendered, {
23
+ slot: 'internal'
24
+ })(() => ({
23
25
  minWidth: 248
24
26
  }));
25
27
  function handleMenuScrollCapture(event) {
@@ -19,7 +19,10 @@ const useUtilityClasses = () => {
19
19
  };
20
20
  return (0, _composeClasses.default)(slots, _gridClasses.getDataGridUtilityClass, {});
21
21
  };
22
- const Element = (0, _system.styled)('div')({
22
+ const Element = (0, _system.styled)('div', {
23
+ slot: 'internal',
24
+ shouldForwardProp: undefined
25
+ })({
23
26
  position: 'sticky',
24
27
  zIndex: 40,
25
28
  bottom: 'calc(var(--DataGrid-hasScrollX) * var(--DataGrid-scrollbarSize))'
@@ -13,7 +13,10 @@ var _forwardRef = require("@mui/x-internals/forwardRef");
13
13
  var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
14
14
  var _useGridConfiguration = require("../../hooks/utils/useGridConfiguration");
15
15
  var _jsxRuntime = require("react/jsx-runtime");
16
- const GridPanelAnchor = (0, _system.styled)('div')({
16
+ const GridPanelAnchor = (0, _system.styled)('div', {
17
+ slot: 'internal',
18
+ shouldForwardProp: undefined
19
+ })({
17
20
  position: 'absolute',
18
21
  top: `var(--DataGrid-headersTotalHeight)`,
19
22
  left: 0,
@@ -19,7 +19,10 @@ const useUtilityClasses = () => {
19
19
  };
20
20
  return (0, _composeClasses.default)(slots, _gridClasses.getDataGridUtilityClass, {});
21
21
  };
22
- const Element = (0, _system.styled)('div')({
22
+ const Element = (0, _system.styled)('div', {
23
+ slot: 'internal',
24
+ shouldForwardProp: undefined
25
+ })({
23
26
  position: 'sticky',
24
27
  zIndex: 40,
25
28
  top: 0
@@ -8,6 +8,6 @@ type GridVirtualScrollbarProps = {
8
8
  }>;
9
9
  };
10
10
  export declare const scrollbarSizeCssExpression = "calc(max(var(--DataGrid-scrollbarSize), 14px))";
11
- export declare const ScrollbarCorner: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, {}, {}>;
11
+ export declare const ScrollbarCorner: import("@emotion/styled").StyledComponent<Pick<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement> | keyof import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
12
12
  declare const GridVirtualScrollbar: React.ForwardRefExoticComponent<GridVirtualScrollbarProps> | React.ForwardRefExoticComponent<GridVirtualScrollbarProps & React.RefAttributes<HTMLDivElement>>;
13
13
  export { GridVirtualScrollbar };
@@ -35,7 +35,10 @@ const useUtilityClasses = (ownerState, position) => {
35
35
  // to appear and have a real size. We set it to 14px because it seems like an acceptable value and we
36
36
  // don't have a method to find the required size for scrollbars on those platforms.
37
37
  const scrollbarSizeCssExpression = exports.scrollbarSizeCssExpression = 'calc(max(var(--DataGrid-scrollbarSize), 14px))';
38
- const Scrollbar = (0, _system.styled)('div')({
38
+ const Scrollbar = (0, _system.styled)('div', {
39
+ slot: 'internal',
40
+ shouldForwardProp: undefined
41
+ })({
39
42
  position: 'absolute',
40
43
  display: 'inline-block',
41
44
  zIndex: 60,
@@ -44,7 +47,9 @@ const Scrollbar = (0, _system.styled)('div')({
44
47
  },
45
48
  '--size': scrollbarSizeCssExpression
46
49
  });
47
- const ScrollbarVertical = (0, _system.styled)(Scrollbar)({
50
+ const ScrollbarVertical = (0, _system.styled)(Scrollbar, {
51
+ slot: 'internal'
52
+ })({
48
53
  width: 'var(--size)',
49
54
  height: 'calc(var(--DataGrid-hasScrollY) * (100% - var(--DataGrid-headersTotalHeight) - var(--DataGrid-hasScrollX) * var(--DataGrid-scrollbarSize)))',
50
55
  overflowY: 'auto',
@@ -57,7 +62,9 @@ const ScrollbarVertical = (0, _system.styled)(Scrollbar)({
57
62
  top: 'var(--DataGrid-headersTotalHeight)',
58
63
  right: 0
59
64
  });
60
- const ScrollbarHorizontal = (0, _system.styled)(Scrollbar)({
65
+ const ScrollbarHorizontal = (0, _system.styled)(Scrollbar, {
66
+ slot: 'internal'
67
+ })({
61
68
  width: 'calc(var(--DataGrid-hasScrollX) * (100% - var(--DataGrid-hasScrollY) * var(--DataGrid-scrollbarSize)))',
62
69
  height: 'var(--size)',
63
70
  overflowY: 'hidden',
@@ -69,7 +76,9 @@ const ScrollbarHorizontal = (0, _system.styled)(Scrollbar)({
69
76
  },
70
77
  bottom: 0
71
78
  });
72
- const ScrollbarCorner = exports.ScrollbarCorner = (0, _system.styled)(Scrollbar)({
79
+ const ScrollbarCorner = exports.ScrollbarCorner = (0, _system.styled)(Scrollbar, {
80
+ slot: 'internal'
81
+ })({
73
82
  width: 'var(--size)',
74
83
  height: 'var(--size)',
75
84
  right: 0,
@@ -14,26 +14,39 @@ var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
14
14
  var _dimensions = require("../../hooks/features/dimensions");
15
15
  var _constants = require("../../constants");
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
- const Filler = (0, _system.styled)('div')({
17
+ const Filler = (0, _system.styled)('div', {
18
+ slot: 'internal',
19
+ shouldForwardProp: undefined
20
+ })({
18
21
  display: 'flex',
19
22
  flexDirection: 'row',
20
23
  width: 'var(--DataGrid-rowWidth)',
21
24
  boxSizing: 'border-box'
22
25
  });
23
- const Pinned = (0, _system.styled)('div')({
26
+ const Pinned = (0, _system.styled)('div', {
27
+ slot: 'internal',
28
+ shouldForwardProp: undefined
29
+ })({
24
30
  position: 'sticky',
25
31
  height: '100%',
26
32
  boxSizing: 'border-box',
27
33
  borderTop: '1px solid var(--rowBorderColor)',
28
34
  backgroundColor: _cssVariables.vars.cell.background.pinned
29
35
  });
30
- const PinnedLeft = (0, _system.styled)(Pinned)({
36
+ const PinnedLeft = (0, _system.styled)(Pinned, {
37
+ slot: 'internal'
38
+ })({
31
39
  left: 0
32
40
  });
33
- const PinnedRight = (0, _system.styled)(Pinned)({
41
+ const PinnedRight = (0, _system.styled)(Pinned, {
42
+ slot: 'internal'
43
+ })({
34
44
  right: 0
35
45
  });
36
- const Main = (0, _system.styled)('div')({
46
+ const Main = (0, _system.styled)('div', {
47
+ slot: 'internal',
48
+ shouldForwardProp: undefined
49
+ })({
37
50
  flexGrow: 1,
38
51
  borderTop: '1px solid var(--rowBorderColor)'
39
52
  });
@@ -8,7 +8,9 @@ import { useGridApiContext } from "../hooks/utils/useGridApiContext.js";
8
8
  import { useGridRootProps } from "../hooks/utils/useGridRootProps.js";
9
9
  import { gridPaginationModelSelector, gridPaginationRowCountSelector, gridPageCountSelector } from "../hooks/features/pagination/gridPaginationSelector.js";
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
- const GridPaginationRoot = styled(NotRendered)({
11
+ const GridPaginationRoot = styled(NotRendered, {
12
+ slot: 'internal'
13
+ })({
12
14
  maxHeight: 'calc(100% + 1px)',
13
15
  // border width
14
16
  flexGrow: 1
@@ -13,7 +13,9 @@ import { getDataGridUtilityClass } from "../../constants/gridClasses.js";
13
13
  import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
14
14
  import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
15
15
  import { jsx as _jsx } from "react/jsx-runtime";
16
- const StyledInputBase = styled(NotRendered)({
16
+ const StyledInputBase = styled(NotRendered, {
17
+ slot: 'internal'
18
+ })({
17
19
  fontSize: 'inherit'
18
20
  });
19
21
  const useUtilityClasses = ownerState => {
@@ -429,6 +429,10 @@ export const GridRootStyles = styled('div', {
429
429
  minHeight: 'min-content',
430
430
  overflow: 'hidden'
431
431
  },
432
+ [`&.${c['root--densityCompact']} .${c['columnHeader--filter']}`]: {
433
+ paddingTop: 4,
434
+ paddingBottom: 4
435
+ },
432
436
  [`& .${c['virtualScroller--hasScrollX']} .${c['columnHeader--last']}`]: {
433
437
  overflow: 'hidden'
434
438
  },
@@ -11,7 +11,9 @@ import { NotRendered } from "../../../utils/assert.js";
11
11
  import { gridClasses } from "../../../constants/gridClasses.js";
12
12
  import { useGridRootProps } from "../../../hooks/utils/useGridRootProps.js";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
14
- const StyledMenuList = styled(NotRendered)(() => ({
14
+ const StyledMenuList = styled(NotRendered, {
15
+ slot: 'internal'
16
+ })(() => ({
15
17
  minWidth: 248
16
18
  }));
17
19
  function handleMenuScrollCapture(event) {
@@ -11,7 +11,10 @@ const useUtilityClasses = () => {
11
11
  };
12
12
  return composeClasses(slots, getDataGridUtilityClass, {});
13
13
  };
14
- const Element = styled('div')({
14
+ const Element = styled('div', {
15
+ slot: 'internal',
16
+ shouldForwardProp: undefined
17
+ })({
15
18
  position: 'sticky',
16
19
  zIndex: 40,
17
20
  bottom: 'calc(var(--DataGrid-hasScrollX) * var(--DataGrid-scrollbarSize))'
@@ -5,7 +5,10 @@ import { forwardRef } from '@mui/x-internals/forwardRef';
5
5
  import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
6
6
  import { useGridConfiguration } from "../../hooks/utils/useGridConfiguration.js";
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
- const GridPanelAnchor = styled('div')({
8
+ const GridPanelAnchor = styled('div', {
9
+ slot: 'internal',
10
+ shouldForwardProp: undefined
11
+ })({
9
12
  position: 'absolute',
10
13
  top: `var(--DataGrid-headersTotalHeight)`,
11
14
  left: 0,
@@ -11,7 +11,10 @@ const useUtilityClasses = () => {
11
11
  };
12
12
  return composeClasses(slots, getDataGridUtilityClass, {});
13
13
  };
14
- const Element = styled('div')({
14
+ const Element = styled('div', {
15
+ slot: 'internal',
16
+ shouldForwardProp: undefined
17
+ })({
15
18
  position: 'sticky',
16
19
  zIndex: 40,
17
20
  top: 0
@@ -8,6 +8,6 @@ type GridVirtualScrollbarProps = {
8
8
  }>;
9
9
  };
10
10
  export declare const scrollbarSizeCssExpression = "calc(max(var(--DataGrid-scrollbarSize), 14px))";
11
- export declare const ScrollbarCorner: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, {}, {}>;
11
+ export declare const ScrollbarCorner: import("@emotion/styled").StyledComponent<Pick<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement> | keyof import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
12
12
  declare const GridVirtualScrollbar: React.ForwardRefExoticComponent<GridVirtualScrollbarProps> | React.ForwardRefExoticComponent<GridVirtualScrollbarProps & React.RefAttributes<HTMLDivElement>>;
13
13
  export { GridVirtualScrollbar };
@@ -28,7 +28,10 @@ const useUtilityClasses = (ownerState, position) => {
28
28
  // to appear and have a real size. We set it to 14px because it seems like an acceptable value and we
29
29
  // don't have a method to find the required size for scrollbars on those platforms.
30
30
  export const scrollbarSizeCssExpression = 'calc(max(var(--DataGrid-scrollbarSize), 14px))';
31
- const Scrollbar = styled('div')({
31
+ const Scrollbar = styled('div', {
32
+ slot: 'internal',
33
+ shouldForwardProp: undefined
34
+ })({
32
35
  position: 'absolute',
33
36
  display: 'inline-block',
34
37
  zIndex: 60,
@@ -37,7 +40,9 @@ const Scrollbar = styled('div')({
37
40
  },
38
41
  '--size': scrollbarSizeCssExpression
39
42
  });
40
- const ScrollbarVertical = styled(Scrollbar)({
43
+ const ScrollbarVertical = styled(Scrollbar, {
44
+ slot: 'internal'
45
+ })({
41
46
  width: 'var(--size)',
42
47
  height: 'calc(var(--DataGrid-hasScrollY) * (100% - var(--DataGrid-headersTotalHeight) - var(--DataGrid-hasScrollX) * var(--DataGrid-scrollbarSize)))',
43
48
  overflowY: 'auto',
@@ -50,7 +55,9 @@ const ScrollbarVertical = styled(Scrollbar)({
50
55
  top: 'var(--DataGrid-headersTotalHeight)',
51
56
  right: 0
52
57
  });
53
- const ScrollbarHorizontal = styled(Scrollbar)({
58
+ const ScrollbarHorizontal = styled(Scrollbar, {
59
+ slot: 'internal'
60
+ })({
54
61
  width: 'calc(var(--DataGrid-hasScrollX) * (100% - var(--DataGrid-hasScrollY) * var(--DataGrid-scrollbarSize)))',
55
62
  height: 'var(--size)',
56
63
  overflowY: 'hidden',
@@ -62,7 +69,9 @@ const ScrollbarHorizontal = styled(Scrollbar)({
62
69
  },
63
70
  bottom: 0
64
71
  });
65
- export const ScrollbarCorner = styled(Scrollbar)({
72
+ export const ScrollbarCorner = styled(Scrollbar, {
73
+ slot: 'internal'
74
+ })({
66
75
  width: 'var(--size)',
67
76
  height: 'var(--size)',
68
77
  right: 0,
@@ -7,26 +7,39 @@ import { useGridApiContext } from "../../hooks/utils/useGridApiContext.js";
7
7
  import { gridDimensionsSelector } from "../../hooks/features/dimensions/index.js";
8
8
  import { gridClasses } from "../../constants/index.js";
9
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
- const Filler = styled('div')({
10
+ const Filler = styled('div', {
11
+ slot: 'internal',
12
+ shouldForwardProp: undefined
13
+ })({
11
14
  display: 'flex',
12
15
  flexDirection: 'row',
13
16
  width: 'var(--DataGrid-rowWidth)',
14
17
  boxSizing: 'border-box'
15
18
  });
16
- const Pinned = styled('div')({
19
+ const Pinned = styled('div', {
20
+ slot: 'internal',
21
+ shouldForwardProp: undefined
22
+ })({
17
23
  position: 'sticky',
18
24
  height: '100%',
19
25
  boxSizing: 'border-box',
20
26
  borderTop: '1px solid var(--rowBorderColor)',
21
27
  backgroundColor: vars.cell.background.pinned
22
28
  });
23
- const PinnedLeft = styled(Pinned)({
29
+ const PinnedLeft = styled(Pinned, {
30
+ slot: 'internal'
31
+ })({
24
32
  left: 0
25
33
  });
26
- const PinnedRight = styled(Pinned)({
34
+ const PinnedRight = styled(Pinned, {
35
+ slot: 'internal'
36
+ })({
27
37
  right: 0
28
38
  });
29
- const Main = styled('div')({
39
+ const Main = styled('div', {
40
+ slot: 'internal',
41
+ shouldForwardProp: undefined
42
+ })({
30
43
  flexGrow: 1,
31
44
  borderTop: '1px solid var(--rowBorderColor)'
32
45
  });
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v8.23.0
2
+ * @mui/x-data-grid v8.24.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -23,7 +23,7 @@ const arSDGrid = {
23
23
  toolbarFiltersTooltipShow: 'اظهر المرشِحات',
24
24
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} من المرشِحات النشطة` : `مرشِح نشط`,
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'بحث...',
26
+ toolbarQuickFilterPlaceholder: 'بحث…',
27
27
  toolbarQuickFilterLabel: 'بحث',
28
28
  toolbarQuickFilterDeleteIconLabel: 'أزال',
29
29
  // Export selector toolbar button text
@@ -3,8 +3,8 @@ const daDKGrid = {
3
3
  // Root
4
4
  noRowsLabel: 'Ingen rækker',
5
5
  noResultsOverlayLabel: 'Ingen resultater',
6
- // noColumnsOverlayLabel: 'No columns',
7
- // noColumnsOverlayManageColumns: 'Manage columns',
6
+ noColumnsOverlayLabel: 'Ingen kolonner',
7
+ noColumnsOverlayManageColumns: 'Administrer kolonner',
8
8
  // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
9
9
 
10
10
  // Density selector toolbar button text
@@ -103,8 +103,7 @@ const daDKGrid = {
103
103
  'headerFilterOperator>=': 'Større end eller lig med',
104
104
  'headerFilterOperator<': 'Mindre end',
105
105
  'headerFilterOperator<=': 'Mindre end eller lig med',
106
- // headerFilterClear: 'Clear filter',
107
-
106
+ headerFilterClear: 'Ryd filter',
108
107
  // Filter values text
109
108
  filterValueAny: 'hvilken som helst',
110
109
  filterValueTrue: 'positiv',
@@ -23,7 +23,7 @@ const faIRGrid = {
23
23
  toolbarFiltersTooltipShow: 'نمایش فیلترها',
24
24
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} فیلترهای فعال` : `${count} فیلتر فعال`,
25
25
  // Quick filter toolbar field
26
- toolbarQuickFilterPlaceholder: 'جستجو...',
26
+ toolbarQuickFilterPlaceholder: 'جستجو…',
27
27
  toolbarQuickFilterLabel: 'جستجو',
28
28
  toolbarQuickFilterDeleteIconLabel: 'حذف',
29
29
  // Export selector toolbar button text
@@ -103,8 +103,7 @@ const jaJPGrid = {
103
103
  'headerFilterOperator>=': '以上',
104
104
  'headerFilterOperator<': '未満',
105
105
  'headerFilterOperator<=': '以下',
106
- // headerFilterClear: 'Clear filter',
107
-
106
+ headerFilterClear: 'フィルターを削除',
108
107
  // Filter values text
109
108
  filterValueAny: 'いずれか',
110
109
  filterValueTrue: '真',
@@ -119,9 +118,8 @@ const jaJPGrid = {
119
118
  columnMenuUnsort: 'ソート解除',
120
119
  columnMenuSortAsc: '昇順ソート',
121
120
  columnMenuSortDesc: '降順ソート',
122
- // columnMenuManagePivot: 'Manage pivot',
123
- // columnMenuManageCharts: 'Manage charts',
124
-
121
+ columnMenuManagePivot: 'ピボットを管理',
122
+ columnMenuManageCharts: 'チャートを管理',
125
123
  // Column header text
126
124
  columnHeaderFiltersTooltipActive: count => `${count}件のフィルターを適用中`,
127
125
  columnHeaderFiltersLabel: 'フィルター表示',
@@ -161,18 +159,18 @@ const jaJPGrid = {
161
159
  collapseDetailPanel: '折りたたみ',
162
160
  // Pagination
163
161
  paginationRowsPerPage: 'ページあたりの行数:',
164
- // paginationDisplayedRows: ({
165
- // from,
166
- // to,
167
- // count,
168
- // estimated
169
- // }) => {
170
- // if (!estimated) {
171
- // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
172
- // }
173
- // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
174
- // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
175
- // },
162
+ paginationDisplayedRows: ({
163
+ from,
164
+ to,
165
+ count,
166
+ estimated
167
+ }) => {
168
+ if (!estimated) {
169
+ return `${from}–${to} of ${count !== -1 ? count : `${to}以上`}`;
170
+ }
171
+ const estimatedLabel = estimated && estimated > to ? `${estimated}前後` : `${to}以上`;
172
+ return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
173
+ },
176
174
  paginationItemAriaLabel: type => {
177
175
  if (type === 'first') {
178
176
  return '最初のページへ';
@@ -195,8 +193,7 @@ const jaJPGrid = {
195
193
  aggregationFunctionLabelAvg: '平均',
196
194
  aggregationFunctionLabelMin: '最小値',
197
195
  aggregationFunctionLabelMax: '最大値',
198
- aggregationFunctionLabelSize: 'サイズ'
199
-
196
+ aggregationFunctionLabelSize: 'サイズ',
200
197
  // Pivot panel
201
198
  // pivotToggleLabel: 'Pivot',
202
199
  // pivotRows: 'Rows',
@@ -231,16 +228,16 @@ const jaJPGrid = {
231
228
  // chartsChartNotSelected: 'Select a chart type to configure its options',
232
229
  // chartsTabChart: 'Chart',
233
230
  // chartsTabFields: 'Fields',
234
- // chartsTabCustomize: 'Customize',
231
+ chartsTabCustomize: 'カスタマイズ',
235
232
  // chartsCloseButton: 'Close charts configuration',
236
233
  // chartsSyncButtonLabel: 'Sync chart',
237
234
  // chartsSearchPlaceholder: 'Search fields',
238
- // chartsSearchLabel: 'Search fields',
235
+ chartsSearchLabel: 'フィールドを検索する',
239
236
  // chartsSearchClear: 'Clear search',
240
237
  // chartsNoFields: 'No fields',
241
238
  // chartsFieldBlocked: 'This field cannot be added to any section',
242
- // chartsCategories: 'Categories',
243
- // chartsSeries: 'Series',
239
+ chartsCategories: 'カテゴリ',
240
+ chartsSeries: 'シリーズ',
244
241
  // chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
245
242
  // chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
246
243
  // chartsMenuMoveUp: 'Move up',
@@ -253,27 +250,25 @@ const jaJPGrid = {
253
250
  // chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
254
251
 
255
252
  // AI Assistant panel
256
- // aiAssistantPanelTitle: 'AI Assistant',
257
- // aiAssistantPanelClose: 'Close AI Assistant',
258
- // aiAssistantPanelNewConversation: 'New conversation',
259
- // aiAssistantPanelConversationHistory: 'Conversation history',
253
+ aiAssistantPanelTitle: 'AIアシスタント',
254
+ aiAssistantPanelClose: 'AIアシスタントパネルを閉じる',
255
+ aiAssistantPanelNewConversation: '新しい会話を開始する',
256
+ aiAssistantPanelConversationHistory: '会話の履歴',
260
257
  // aiAssistantPanelEmptyConversation: 'No prompt history',
261
- // aiAssistantSuggestions: 'Suggestions',
262
-
258
+ aiAssistantSuggestions: '提案',
263
259
  // Prompt field
264
- // promptFieldLabel: 'Prompt',
265
- // promptFieldPlaceholder: 'Type a prompt…',
260
+ promptFieldLabel: 'プロンプト',
261
+ promptFieldPlaceholder: 'プロンプトを入力...',
266
262
  // promptFieldPlaceholderWithRecording: 'Type or record a prompt…',
267
263
  // promptFieldPlaceholderListening: 'Listening for prompt…',
268
264
  // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
269
- // promptFieldSend: 'Send',
270
- // promptFieldRecord: 'Record',
271
- // promptFieldStopRecording: 'Stop recording',
272
-
265
+ promptFieldSend: '送信',
266
+ promptFieldRecord: '録音',
267
+ promptFieldStopRecording: '録音を止める',
273
268
  // Prompt
274
- // promptRerun: 'Run again',
275
- // promptProcessing: 'Processing…',
276
- // promptAppliedChanges: 'Applied changes',
269
+ promptRerun: '再試行',
270
+ promptProcessing: '実行中…',
271
+ promptAppliedChanges: '変更を適用済み'
277
272
 
278
273
  // Prompt changes
279
274
  // promptChangeGroupDescription: (column: string) => `Group by ${column}`,
@@ -74,7 +74,9 @@ export { useMaterialCSSVariables } from "./variables.js";
74
74
 
75
75
  /* eslint-disable material-ui/disallow-react-api-in-server-components */
76
76
 
77
- const InputAdornment = styled(MUIInputAdornment)(({
77
+ const InputAdornment = styled(MUIInputAdornment, {
78
+ slot: 'internal'
79
+ })(({
78
80
  theme
79
81
  }) => ({
80
82
  [`&.${inputAdornmentClasses.positionEnd} .${iconButtonClasses.sizeSmall}`]: {
@@ -82,6 +84,7 @@ const InputAdornment = styled(MUIInputAdornment)(({
82
84
  }
83
85
  }));
84
86
  const FormControlLabel = styled(MUIFormControlLabel, {
87
+ slot: 'internal',
85
88
  shouldForwardProp: prop => prop !== 'fullWidth'
86
89
  })(({
87
90
  theme
@@ -105,6 +108,7 @@ const FormControlLabel = styled(MUIFormControlLabel, {
105
108
  }]
106
109
  }));
107
110
  const Checkbox = styled(MUICheckbox, {
111
+ slot: 'internal',
108
112
  shouldForwardProp: prop => prop !== 'density'
109
113
  })(({
110
114
  theme
@@ -118,7 +122,9 @@ const Checkbox = styled(MUICheckbox, {
118
122
  }
119
123
  }]
120
124
  }));
121
- const ListItemText = styled(MUIListItemText)({
125
+ const ListItemText = styled(MUIListItemText, {
126
+ slot: 'internal'
127
+ })({
122
128
  [`& .${listItemTextClasses.primary}`]: {
123
129
  overflowX: 'clip',
124
130
  textOverflow: 'ellipsis',
@@ -182,7 +188,9 @@ const BaseSelect = forwardRef(function BaseSelect(props, ref) {
182
188
  });
183
189
  });
184
190
  if (process.env.NODE_ENV !== "production") BaseSelect.displayName = "BaseSelect";
185
- const StyledPagination = styled(MUIPagination)(({
191
+ const StyledPagination = styled(MUIPagination, {
192
+ slot: 'internal'
193
+ })(({
186
194
  theme
187
195
  }) => ({
188
196
  [`& .${tablePaginationClasses.selectLabel}`]: {
@@ -333,7 +341,9 @@ const BaseButton = forwardRef(function BaseButton(props, ref) {
333
341
  }));
334
342
  });
335
343
  if (process.env.NODE_ENV !== "production") BaseButton.displayName = "BaseButton";
336
- const StyledToggleButton = styled(MUIToggleButton)(({
344
+ const StyledToggleButton = styled(MUIToggleButton, {
345
+ slot: 'internal'
346
+ })(({
337
347
  theme
338
348
  }) => ({
339
349
  gap: theme.spacing(1),
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v8.23.0
2
+ * @mui/x-data-grid v8.24.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/locales/arSD.js CHANGED
@@ -29,7 +29,7 @@ const arSDGrid = {
29
29
  toolbarFiltersTooltipShow: 'اظهر المرشِحات',
30
30
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} من المرشِحات النشطة` : `مرشِح نشط`,
31
31
  // Quick filter toolbar field
32
- toolbarQuickFilterPlaceholder: 'بحث...',
32
+ toolbarQuickFilterPlaceholder: 'بحث…',
33
33
  toolbarQuickFilterLabel: 'بحث',
34
34
  toolbarQuickFilterDeleteIconLabel: 'أزال',
35
35
  // Export selector toolbar button text
package/locales/daDK.js CHANGED
@@ -9,8 +9,8 @@ const daDKGrid = {
9
9
  // Root
10
10
  noRowsLabel: 'Ingen rækker',
11
11
  noResultsOverlayLabel: 'Ingen resultater',
12
- // noColumnsOverlayLabel: 'No columns',
13
- // noColumnsOverlayManageColumns: 'Manage columns',
12
+ noColumnsOverlayLabel: 'Ingen kolonner',
13
+ noColumnsOverlayManageColumns: 'Administrer kolonner',
14
14
  // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
15
15
 
16
16
  // Density selector toolbar button text
@@ -109,8 +109,7 @@ const daDKGrid = {
109
109
  'headerFilterOperator>=': 'Større end eller lig med',
110
110
  'headerFilterOperator<': 'Mindre end',
111
111
  'headerFilterOperator<=': 'Mindre end eller lig med',
112
- // headerFilterClear: 'Clear filter',
113
-
112
+ headerFilterClear: 'Ryd filter',
114
113
  // Filter values text
115
114
  filterValueAny: 'hvilken som helst',
116
115
  filterValueTrue: 'positiv',
package/locales/faIR.js CHANGED
@@ -29,7 +29,7 @@ const faIRGrid = {
29
29
  toolbarFiltersTooltipShow: 'نمایش فیلترها',
30
30
  toolbarFiltersTooltipActive: count => count !== 1 ? `${count} فیلترهای فعال` : `${count} فیلتر فعال`,
31
31
  // Quick filter toolbar field
32
- toolbarQuickFilterPlaceholder: 'جستجو...',
32
+ toolbarQuickFilterPlaceholder: 'جستجو…',
33
33
  toolbarQuickFilterLabel: 'جستجو',
34
34
  toolbarQuickFilterDeleteIconLabel: 'حذف',
35
35
  // Export selector toolbar button text
package/locales/jaJP.js CHANGED
@@ -109,8 +109,7 @@ const jaJPGrid = {
109
109
  'headerFilterOperator>=': '以上',
110
110
  'headerFilterOperator<': '未満',
111
111
  'headerFilterOperator<=': '以下',
112
- // headerFilterClear: 'Clear filter',
113
-
112
+ headerFilterClear: 'フィルターを削除',
114
113
  // Filter values text
115
114
  filterValueAny: 'いずれか',
116
115
  filterValueTrue: '真',
@@ -125,9 +124,8 @@ const jaJPGrid = {
125
124
  columnMenuUnsort: 'ソート解除',
126
125
  columnMenuSortAsc: '昇順ソート',
127
126
  columnMenuSortDesc: '降順ソート',
128
- // columnMenuManagePivot: 'Manage pivot',
129
- // columnMenuManageCharts: 'Manage charts',
130
-
127
+ columnMenuManagePivot: 'ピボットを管理',
128
+ columnMenuManageCharts: 'チャートを管理',
131
129
  // Column header text
132
130
  columnHeaderFiltersTooltipActive: count => `${count}件のフィルターを適用中`,
133
131
  columnHeaderFiltersLabel: 'フィルター表示',
@@ -167,18 +165,18 @@ const jaJPGrid = {
167
165
  collapseDetailPanel: '折りたたみ',
168
166
  // Pagination
169
167
  paginationRowsPerPage: 'ページあたりの行数:',
170
- // paginationDisplayedRows: ({
171
- // from,
172
- // to,
173
- // count,
174
- // estimated
175
- // }) => {
176
- // if (!estimated) {
177
- // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
178
- // }
179
- // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
180
- // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
181
- // },
168
+ paginationDisplayedRows: ({
169
+ from,
170
+ to,
171
+ count,
172
+ estimated
173
+ }) => {
174
+ if (!estimated) {
175
+ return `${from}–${to} of ${count !== -1 ? count : `${to}以上`}`;
176
+ }
177
+ const estimatedLabel = estimated && estimated > to ? `${estimated}前後` : `${to}以上`;
178
+ return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
179
+ },
182
180
  paginationItemAriaLabel: type => {
183
181
  if (type === 'first') {
184
182
  return '最初のページへ';
@@ -201,8 +199,7 @@ const jaJPGrid = {
201
199
  aggregationFunctionLabelAvg: '平均',
202
200
  aggregationFunctionLabelMin: '最小値',
203
201
  aggregationFunctionLabelMax: '最大値',
204
- aggregationFunctionLabelSize: 'サイズ'
205
-
202
+ aggregationFunctionLabelSize: 'サイズ',
206
203
  // Pivot panel
207
204
  // pivotToggleLabel: 'Pivot',
208
205
  // pivotRows: 'Rows',
@@ -237,16 +234,16 @@ const jaJPGrid = {
237
234
  // chartsChartNotSelected: 'Select a chart type to configure its options',
238
235
  // chartsTabChart: 'Chart',
239
236
  // chartsTabFields: 'Fields',
240
- // chartsTabCustomize: 'Customize',
237
+ chartsTabCustomize: 'カスタマイズ',
241
238
  // chartsCloseButton: 'Close charts configuration',
242
239
  // chartsSyncButtonLabel: 'Sync chart',
243
240
  // chartsSearchPlaceholder: 'Search fields',
244
- // chartsSearchLabel: 'Search fields',
241
+ chartsSearchLabel: 'フィールドを検索する',
245
242
  // chartsSearchClear: 'Clear search',
246
243
  // chartsNoFields: 'No fields',
247
244
  // chartsFieldBlocked: 'This field cannot be added to any section',
248
- // chartsCategories: 'Categories',
249
- // chartsSeries: 'Series',
245
+ chartsCategories: 'カテゴリ',
246
+ chartsSeries: 'シリーズ',
250
247
  // chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
251
248
  // chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
252
249
  // chartsMenuMoveUp: 'Move up',
@@ -259,27 +256,25 @@ const jaJPGrid = {
259
256
  // chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
260
257
 
261
258
  // AI Assistant panel
262
- // aiAssistantPanelTitle: 'AI Assistant',
263
- // aiAssistantPanelClose: 'Close AI Assistant',
264
- // aiAssistantPanelNewConversation: 'New conversation',
265
- // aiAssistantPanelConversationHistory: 'Conversation history',
259
+ aiAssistantPanelTitle: 'AIアシスタント',
260
+ aiAssistantPanelClose: 'AIアシスタントパネルを閉じる',
261
+ aiAssistantPanelNewConversation: '新しい会話を開始する',
262
+ aiAssistantPanelConversationHistory: '会話の履歴',
266
263
  // aiAssistantPanelEmptyConversation: 'No prompt history',
267
- // aiAssistantSuggestions: 'Suggestions',
268
-
264
+ aiAssistantSuggestions: '提案',
269
265
  // Prompt field
270
- // promptFieldLabel: 'Prompt',
271
- // promptFieldPlaceholder: 'Type a prompt…',
266
+ promptFieldLabel: 'プロンプト',
267
+ promptFieldPlaceholder: 'プロンプトを入力...',
272
268
  // promptFieldPlaceholderWithRecording: 'Type or record a prompt…',
273
269
  // promptFieldPlaceholderListening: 'Listening for prompt…',
274
270
  // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
275
- // promptFieldSend: 'Send',
276
- // promptFieldRecord: 'Record',
277
- // promptFieldStopRecording: 'Stop recording',
278
-
271
+ promptFieldSend: '送信',
272
+ promptFieldRecord: '録音',
273
+ promptFieldStopRecording: '録音を止める',
279
274
  // Prompt
280
- // promptRerun: 'Run again',
281
- // promptProcessing: 'Processing…',
282
- // promptAppliedChanges: 'Applied changes',
275
+ promptRerun: '再試行',
276
+ promptProcessing: '実行中…',
277
+ promptAppliedChanges: '変更を適用済み'
283
278
 
284
279
  // Prompt changes
285
280
  // promptChangeGroupDescription: (column: string) => `Group by ${column}`,
package/material/index.js CHANGED
@@ -87,7 +87,9 @@ const _excluded = ["id", "label", "labelId", "material", "disabled", "slotProps"
87
87
  _excluded23 = ["items", "value", "material"];
88
88
  /* eslint-disable material-ui/disallow-react-api-in-server-components */
89
89
 
90
- const InputAdornment = (0, _styles.styled)(_InputAdornment.default)(({
90
+ const InputAdornment = (0, _styles.styled)(_InputAdornment.default, {
91
+ slot: 'internal'
92
+ })(({
91
93
  theme
92
94
  }) => ({
93
95
  [`&.${_InputAdornment.inputAdornmentClasses.positionEnd} .${_IconButton.iconButtonClasses.sizeSmall}`]: {
@@ -95,6 +97,7 @@ const InputAdornment = (0, _styles.styled)(_InputAdornment.default)(({
95
97
  }
96
98
  }));
97
99
  const FormControlLabel = (0, _styles.styled)(_FormControlLabel.default, {
100
+ slot: 'internal',
98
101
  shouldForwardProp: prop => prop !== 'fullWidth'
99
102
  })(({
100
103
  theme
@@ -118,6 +121,7 @@ const FormControlLabel = (0, _styles.styled)(_FormControlLabel.default, {
118
121
  }]
119
122
  }));
120
123
  const Checkbox = (0, _styles.styled)(_Checkbox.default, {
124
+ slot: 'internal',
121
125
  shouldForwardProp: prop => prop !== 'density'
122
126
  })(({
123
127
  theme
@@ -131,7 +135,9 @@ const Checkbox = (0, _styles.styled)(_Checkbox.default, {
131
135
  }
132
136
  }]
133
137
  }));
134
- const ListItemText = (0, _styles.styled)(_ListItemText.default)({
138
+ const ListItemText = (0, _styles.styled)(_ListItemText.default, {
139
+ slot: 'internal'
140
+ })({
135
141
  [`& .${_ListItemText.listItemTextClasses.primary}`]: {
136
142
  overflowX: 'clip',
137
143
  textOverflow: 'ellipsis',
@@ -195,7 +201,9 @@ const BaseSelect = (0, _forwardRef.forwardRef)(function BaseSelect(props, ref) {
195
201
  });
196
202
  });
197
203
  if (process.env.NODE_ENV !== "production") BaseSelect.displayName = "BaseSelect";
198
- const StyledPagination = (0, _styles.styled)(_TablePagination.default)(({
204
+ const StyledPagination = (0, _styles.styled)(_TablePagination.default, {
205
+ slot: 'internal'
206
+ })(({
199
207
  theme
200
208
  }) => ({
201
209
  [`& .${_TablePagination.tablePaginationClasses.selectLabel}`]: {
@@ -346,7 +354,9 @@ const BaseButton = (0, _forwardRef.forwardRef)(function BaseButton(props, ref) {
346
354
  }));
347
355
  });
348
356
  if (process.env.NODE_ENV !== "production") BaseButton.displayName = "BaseButton";
349
- const StyledToggleButton = (0, _styles.styled)(_ToggleButton.default)(({
357
+ const StyledToggleButton = (0, _styles.styled)(_ToggleButton.default, {
358
+ slot: 'internal'
359
+ })(({
350
360
  theme
351
361
  }) => ({
352
362
  gap: theme.spacing(1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "8.23.0",
3
+ "version": "8.24.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The Community plan edition of the MUI X Data Grid components.",
6
6
  "license": "MIT",
@@ -42,8 +42,8 @@
42
42
  "clsx": "^2.1.1",
43
43
  "prop-types": "^15.8.1",
44
44
  "use-sync-external-store": "^1.6.0",
45
- "@mui/x-internals": "8.23.0",
46
- "@mui/x-virtualizer": "0.3.0"
45
+ "@mui/x-internals": "8.24.0",
46
+ "@mui/x-virtualizer": "0.3.1"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@emotion/react": "^11.9.0",