@mui/x-data-grid 7.22.3 → 8.0.0-alpha.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.
- package/CHANGELOG.md +348 -12
- package/README.md +4 -4
- package/components/GridLoadingOverlay.d.ts +2 -2
- package/components/GridLoadingOverlay.js +4 -4
- package/components/GridRow.js +2 -27
- package/components/base/GridOverlays.js +5 -2
- package/components/cell/GridActionsCell.js +1 -2
- package/components/cell/GridActionsCellItem.js +1 -2
- package/components/cell/GridCell.js +3 -0
- package/components/containers/GridRootStyles.js +1 -0
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +3 -4
- package/components/toolbar/GridToolbarColumnsButton.js +1 -1
- package/components/toolbar/GridToolbarDensitySelector.js +2 -4
- package/components/toolbar/GridToolbarExport.js +5 -3
- package/components/toolbar/GridToolbarExportContainer.js +1 -2
- package/constants/gridClasses.d.ts +20 -0
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.js +11 -0
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/hooks/features/columnResize/useGridColumnResize.js +4 -2
- package/index.js +1 -1
- package/internals/index.d.ts +1 -0
- package/internals/index.js +1 -0
- package/joy/joySlots.js +7 -2
- package/locales/arSD.js +12 -0
- package/locales/beBY.js +12 -0
- package/locales/bgBG.js +12 -0
- package/locales/csCZ.js +12 -0
- package/locales/daDK.js +12 -0
- package/locales/deDE.js +12 -0
- package/locales/elGR.js +12 -0
- package/locales/esES.js +12 -0
- package/locales/faIR.js +12 -0
- package/locales/fiFI.js +12 -0
- package/locales/frFR.js +12 -0
- package/locales/heIL.js +12 -0
- package/locales/hrHR.js +12 -0
- package/locales/huHU.js +12 -0
- package/locales/isIS.js +12 -0
- package/locales/itIT.js +12 -0
- package/locales/jaJP.js +12 -0
- package/locales/koKR.js +12 -0
- package/locales/nbNO.js +12 -0
- package/locales/nlNL.js +12 -0
- package/locales/nnNO.js +12 -0
- package/locales/plPL.js +37 -27
- package/locales/ptBR.js +12 -0
- package/locales/ptPT.js +12 -0
- package/locales/roRO.js +12 -0
- package/locales/ruRU.js +12 -0
- package/locales/skSK.js +12 -0
- package/locales/svSE.js +12 -0
- package/locales/trTR.js +12 -0
- package/locales/ukUA.js +12 -0
- package/locales/urPK.js +12 -0
- package/locales/viVN.js +12 -0
- package/locales/zhCN.js +12 -0
- package/locales/zhHK.js +12 -0
- package/locales/zhTW.js +12 -0
- package/material/index.js +4 -0
- package/models/api/gridLocaleTextApi.d.ts +10 -0
- package/models/colDef/gridColDef.d.ts +4 -0
- package/models/gridDataSource.d.ts +12 -12
- package/models/gridSlotsComponent.d.ts +10 -0
- package/models/gridSlotsComponentsProps.d.ts +8 -0
- package/modern/components/GridLoadingOverlay.js +4 -4
- package/modern/components/GridRow.js +2 -27
- package/modern/components/base/GridOverlays.js +5 -2
- package/modern/components/cell/GridActionsCell.js +1 -2
- package/modern/components/cell/GridActionsCellItem.js +1 -2
- package/modern/components/cell/GridCell.js +3 -0
- package/modern/components/containers/GridRootStyles.js +1 -0
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -2
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -2
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -2
- package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +3 -4
- package/modern/components/toolbar/GridToolbarColumnsButton.js +1 -1
- package/modern/components/toolbar/GridToolbarDensitySelector.js +2 -4
- package/modern/components/toolbar/GridToolbarExport.js +5 -3
- package/modern/components/toolbar/GridToolbarExportContainer.js +1 -2
- package/modern/constants/gridClasses.js +1 -1
- package/modern/constants/localeTextConstants.js +11 -0
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/modern/hooks/features/columnResize/useGridColumnResize.js +4 -2
- package/modern/index.js +1 -1
- package/modern/internals/index.js +1 -0
- package/modern/joy/joySlots.js +7 -2
- package/modern/locales/arSD.js +12 -0
- package/modern/locales/beBY.js +12 -0
- package/modern/locales/bgBG.js +12 -0
- package/modern/locales/csCZ.js +12 -0
- package/modern/locales/daDK.js +12 -0
- package/modern/locales/deDE.js +12 -0
- package/modern/locales/elGR.js +12 -0
- package/modern/locales/esES.js +12 -0
- package/modern/locales/faIR.js +12 -0
- package/modern/locales/fiFI.js +12 -0
- package/modern/locales/frFR.js +12 -0
- package/modern/locales/heIL.js +12 -0
- package/modern/locales/hrHR.js +12 -0
- package/modern/locales/huHU.js +12 -0
- package/modern/locales/isIS.js +12 -0
- package/modern/locales/itIT.js +12 -0
- package/modern/locales/jaJP.js +12 -0
- package/modern/locales/koKR.js +12 -0
- package/modern/locales/nbNO.js +12 -0
- package/modern/locales/nlNL.js +12 -0
- package/modern/locales/nnNO.js +12 -0
- package/modern/locales/plPL.js +37 -27
- package/modern/locales/ptBR.js +12 -0
- package/modern/locales/ptPT.js +12 -0
- package/modern/locales/roRO.js +12 -0
- package/modern/locales/ruRU.js +12 -0
- package/modern/locales/skSK.js +12 -0
- package/modern/locales/svSE.js +12 -0
- package/modern/locales/trTR.js +12 -0
- package/modern/locales/ukUA.js +12 -0
- package/modern/locales/urPK.js +12 -0
- package/modern/locales/viVN.js +12 -0
- package/modern/locales/zhCN.js +12 -0
- package/modern/locales/zhHK.js +12 -0
- package/modern/locales/zhTW.js +12 -0
- package/modern/material/index.js +4 -0
- package/node/components/GridLoadingOverlay.js +4 -4
- package/node/components/GridRow.js +2 -27
- package/node/components/base/GridOverlays.js +5 -2
- package/node/components/cell/GridActionsCell.js +1 -2
- package/node/components/cell/GridActionsCellItem.js +1 -2
- package/node/components/cell/GridCell.js +3 -0
- package/node/components/containers/GridRootStyles.js +1 -0
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -2
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -2
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -2
- package/node/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +3 -4
- package/node/components/toolbar/GridToolbarColumnsButton.js +3 -3
- package/node/components/toolbar/GridToolbarDensitySelector.js +2 -4
- package/node/components/toolbar/GridToolbarExport.js +5 -3
- package/node/components/toolbar/GridToolbarExportContainer.js +1 -2
- package/node/constants/gridClasses.js +1 -1
- package/node/constants/localeTextConstants.js +11 -0
- package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/node/hooks/features/columnResize/useGridColumnResize.js +4 -2
- package/node/index.js +1 -1
- package/node/internals/index.js +9 -2
- package/node/joy/joySlots.js +7 -2
- package/node/locales/arSD.js +12 -0
- package/node/locales/beBY.js +12 -0
- package/node/locales/bgBG.js +12 -0
- package/node/locales/csCZ.js +12 -0
- package/node/locales/daDK.js +12 -0
- package/node/locales/deDE.js +12 -0
- package/node/locales/elGR.js +12 -0
- package/node/locales/esES.js +12 -0
- package/node/locales/faIR.js +12 -0
- package/node/locales/fiFI.js +12 -0
- package/node/locales/frFR.js +12 -0
- package/node/locales/heIL.js +12 -0
- package/node/locales/hrHR.js +12 -0
- package/node/locales/huHU.js +12 -0
- package/node/locales/isIS.js +12 -0
- package/node/locales/itIT.js +12 -0
- package/node/locales/jaJP.js +12 -0
- package/node/locales/koKR.js +12 -0
- package/node/locales/nbNO.js +12 -0
- package/node/locales/nlNL.js +12 -0
- package/node/locales/nnNO.js +12 -0
- package/node/locales/plPL.js +37 -27
- package/node/locales/ptBR.js +12 -0
- package/node/locales/ptPT.js +12 -0
- package/node/locales/roRO.js +12 -0
- package/node/locales/ruRU.js +12 -0
- package/node/locales/skSK.js +12 -0
- package/node/locales/svSE.js +12 -0
- package/node/locales/trTR.js +12 -0
- package/node/locales/ukUA.js +12 -0
- package/node/locales/urPK.js +12 -0
- package/node/locales/viVN.js +12 -0
- package/node/locales/zhCN.js +12 -0
- package/node/locales/zhHK.js +12 -0
- package/node/locales/zhTW.js +12 -0
- package/node/material/index.js +4 -0
- package/package.json +5 -5
package/node/locales/ukUA.js
CHANGED
|
@@ -44,6 +44,18 @@ const ukUAGrid = {
|
|
|
44
44
|
toolbarQuickFilterPlaceholder: 'Пошук…',
|
|
45
45
|
toolbarQuickFilterLabel: 'Пошук',
|
|
46
46
|
toolbarQuickFilterDeleteIconLabel: 'Очистити',
|
|
47
|
+
// Prompt toolbar field
|
|
48
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
49
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
50
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
51
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
52
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
53
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
54
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
55
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
56
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
57
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
58
|
+
|
|
47
59
|
// Export selector toolbar button text
|
|
48
60
|
toolbarExport: 'Експорт',
|
|
49
61
|
toolbarExportLabel: 'Експорт',
|
package/node/locales/urPK.js
CHANGED
|
@@ -29,6 +29,18 @@ const urPKGrid = {
|
|
|
29
29
|
toolbarQuickFilterPlaceholder: 'تلاش کریں۔۔۔',
|
|
30
30
|
toolbarQuickFilterLabel: 'تلاش کریں',
|
|
31
31
|
toolbarQuickFilterDeleteIconLabel: 'کلئیر کریں',
|
|
32
|
+
// Prompt toolbar field
|
|
33
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
34
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
35
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
36
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
37
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
38
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
39
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
40
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
41
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
42
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
43
|
+
|
|
32
44
|
// Export selector toolbar button text
|
|
33
45
|
toolbarExport: 'ایکسپورٹ',
|
|
34
46
|
toolbarExportLabel: 'ایکسپورٹ',
|
package/node/locales/viVN.js
CHANGED
|
@@ -29,6 +29,18 @@ const viVNGrid = {
|
|
|
29
29
|
toolbarQuickFilterPlaceholder: 'Tìm kiếm…',
|
|
30
30
|
toolbarQuickFilterLabel: 'Tìm kiếm',
|
|
31
31
|
toolbarQuickFilterDeleteIconLabel: 'Xóa tìm kiếm',
|
|
32
|
+
// Prompt toolbar field
|
|
33
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
34
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
35
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
36
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
37
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
38
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
39
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
40
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
41
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
42
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
43
|
+
|
|
32
44
|
// Export selector toolbar button text
|
|
33
45
|
toolbarExport: 'Xuất',
|
|
34
46
|
toolbarExportLabel: 'Xuất',
|
package/node/locales/zhCN.js
CHANGED
|
@@ -29,6 +29,18 @@ const zhCNGrid = {
|
|
|
29
29
|
toolbarQuickFilterPlaceholder: '搜索…',
|
|
30
30
|
toolbarQuickFilterLabel: '搜索',
|
|
31
31
|
toolbarQuickFilterDeleteIconLabel: '清除',
|
|
32
|
+
// Prompt toolbar field
|
|
33
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
34
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
35
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
36
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
37
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
38
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
39
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
40
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
41
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
42
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
43
|
+
|
|
32
44
|
// Export selector toolbar button text
|
|
33
45
|
toolbarExport: '导出',
|
|
34
46
|
toolbarExportLabel: '导出',
|
package/node/locales/zhHK.js
CHANGED
|
@@ -29,6 +29,18 @@ const zhHKGrid = {
|
|
|
29
29
|
toolbarQuickFilterPlaceholder: '搜尋…',
|
|
30
30
|
toolbarQuickFilterLabel: '搜尋',
|
|
31
31
|
toolbarQuickFilterDeleteIconLabel: '清除',
|
|
32
|
+
// Prompt toolbar field
|
|
33
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
34
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
35
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
36
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
37
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
38
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
39
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
40
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
41
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
42
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
43
|
+
|
|
32
44
|
// Export selector toolbar button text
|
|
33
45
|
toolbarExport: '出口',
|
|
34
46
|
toolbarExportLabel: '出口',
|
package/node/locales/zhTW.js
CHANGED
|
@@ -29,6 +29,18 @@ const zhTWGrid = {
|
|
|
29
29
|
toolbarQuickFilterPlaceholder: '搜尋…',
|
|
30
30
|
toolbarQuickFilterLabel: '搜尋',
|
|
31
31
|
toolbarQuickFilterDeleteIconLabel: '清除',
|
|
32
|
+
// Prompt toolbar field
|
|
33
|
+
// toolbarPromptControlPlaceholder: 'Type a prompt…',
|
|
34
|
+
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
|
|
35
|
+
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
|
|
36
|
+
// toolbarPromptControlLabel: 'Prompt input',
|
|
37
|
+
// toolbarPromptControlDeleteIconLabel: 'Clear',
|
|
38
|
+
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
|
|
39
|
+
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
|
|
40
|
+
// toolbarPromptControlSendActionLabel: 'Send',
|
|
41
|
+
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
|
|
42
|
+
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
|
|
43
|
+
|
|
32
44
|
// Export selector toolbar button text
|
|
33
45
|
toolbarExport: '匯出',
|
|
34
46
|
toolbarExportLabel: '匯出',
|
package/node/material/index.js
CHANGED
|
@@ -9,6 +9,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _Badge = _interopRequireDefault(require("@mui/material/Badge"));
|
|
10
10
|
var _Checkbox = _interopRequireDefault(require("@mui/material/Checkbox"));
|
|
11
11
|
var _Divider = _interopRequireDefault(require("@mui/material/Divider"));
|
|
12
|
+
var _MenuList = _interopRequireDefault(require("@mui/material/MenuList"));
|
|
13
|
+
var _MenuItem = _interopRequireDefault(require("@mui/material/MenuItem"));
|
|
12
14
|
var _TextField = _interopRequireDefault(require("@mui/material/TextField"));
|
|
13
15
|
var _FormControl = _interopRequireDefault(require("@mui/material/FormControl"));
|
|
14
16
|
var _Select = _interopRequireDefault(require("@mui/material/Select"));
|
|
@@ -63,6 +65,8 @@ const materialSlots = (0, _extends2.default)({}, iconSlots, {
|
|
|
63
65
|
baseBadge: _Badge.default,
|
|
64
66
|
baseCheckbox: _Checkbox.default,
|
|
65
67
|
baseDivider: _Divider.default,
|
|
68
|
+
baseMenuList: _MenuList.default,
|
|
69
|
+
baseMenuItem: _MenuItem.default,
|
|
66
70
|
baseTextField: _TextField.default,
|
|
67
71
|
baseFormControl: _FormControl.default,
|
|
68
72
|
baseSelect: _Select.default,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-alpha.1",
|
|
4
4
|
"description": "The Community plan edition of the Data Grid components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -37,20 +37,20 @@
|
|
|
37
37
|
"directory": "packages/x-data-grid"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@babel/runtime": "^7.
|
|
40
|
+
"@babel/runtime": "^7.26.0",
|
|
41
41
|
"@mui/utils": "^5.16.6 || ^6.0.0",
|
|
42
42
|
"clsx": "^2.1.1",
|
|
43
43
|
"prop-types": "^15.8.1",
|
|
44
44
|
"reselect": "^5.1.1",
|
|
45
|
-
"@mui/x-internals": "
|
|
45
|
+
"@mui/x-internals": "8.0.0-alpha.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@emotion/react": "^11.9.0",
|
|
49
49
|
"@emotion/styled": "^11.8.1",
|
|
50
50
|
"@mui/material": "^5.15.14 || ^6.0.0",
|
|
51
51
|
"@mui/system": "^5.15.14 || ^6.0.0",
|
|
52
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
53
|
-
"react-dom": "^17.0.0 || ^18.0.0"
|
|
52
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
53
|
+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependenciesMeta": {
|
|
56
56
|
"@emotion/react": {
|