@mui/x-data-grid 7.0.0-alpha.1 → 7.0.0-alpha.2

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.
@@ -93,7 +93,7 @@ const arSDGrid = {
93
93
  // Column menu text
94
94
  columnMenuLabel: 'القائمة',
95
95
  columnMenuShowColumns: 'إظهار الأعمدة',
96
- // columnMenuManageColumns: 'Manage columns',
96
+ columnMenuManageColumns: 'إدارة الأعمدة',
97
97
  columnMenuFilter: 'المرشِح',
98
98
  columnMenuHideColumn: 'إخفاء',
99
99
  columnMenuUnsort: 'الغاء الفرز',
@@ -124,8 +124,7 @@ const heILGrid = {
124
124
  // Column pinning text
125
125
  pinToLeft: 'נעץ משמאל',
126
126
  pinToRight: 'נעץ מימין',
127
- // unpin: 'Unpin',
128
-
127
+ unpin: 'הסר נעיצה',
129
128
  // Tree Data
130
129
  treeDataGroupingHeaderName: 'קבוצה',
131
130
  treeDataExpand: 'הרחב',
@@ -5,20 +5,6 @@ export function isOverflown(element) {
5
5
  export function findParentElementFromClassName(elem, className) {
6
6
  return elem.closest(`.${className}`);
7
7
  }
8
- export function getRowEl(cell) {
9
- if (!cell) {
10
- return null;
11
- }
12
- return findParentElementFromClassName(cell, gridClasses.row);
13
- }
14
-
15
- // TODO remove
16
- export function isGridCellRoot(elem) {
17
- return elem != null && elem.classList.contains(gridClasses.cell);
18
- }
19
- export function isGridHeaderCellRoot(elem) {
20
- return elem != null && elem.classList.contains(gridClasses.columnHeader);
21
- }
22
8
  function escapeOperandAttributeSelector(operand) {
23
9
  return operand.replace(/["\\]/g, '\\$&');
24
10
  }
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v7.0.0-alpha.1
2
+ * @mui/x-data-grid v7.0.0-alpha.2
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -99,7 +99,7 @@ const arSDGrid = {
99
99
  // Column menu text
100
100
  columnMenuLabel: 'القائمة',
101
101
  columnMenuShowColumns: 'إظهار الأعمدة',
102
- // columnMenuManageColumns: 'Manage columns',
102
+ columnMenuManageColumns: 'إدارة الأعمدة',
103
103
  columnMenuFilter: 'المرشِح',
104
104
  columnMenuHideColumn: 'إخفاء',
105
105
  columnMenuUnsort: 'الغاء الفرز',
@@ -130,8 +130,7 @@ const heILGrid = {
130
130
  // Column pinning text
131
131
  pinToLeft: 'נעץ משמאל',
132
132
  pinToRight: 'נעץ מימין',
133
- // unpin: 'Unpin',
134
-
133
+ unpin: 'הסר נעיצה',
135
134
  // Tree Data
136
135
  treeDataGroupingHeaderName: 'קבוצה',
137
136
  treeDataExpand: 'הרחב',
@@ -8,9 +8,6 @@ exports.getActiveElement = void 0;
8
8
  exports.getGridCellElement = getGridCellElement;
9
9
  exports.getGridColumnHeaderElement = getGridColumnHeaderElement;
10
10
  exports.getGridRowElement = getGridRowElement;
11
- exports.getRowEl = getRowEl;
12
- exports.isGridCellRoot = isGridCellRoot;
13
- exports.isGridHeaderCellRoot = isGridHeaderCellRoot;
14
11
  exports.isOverflown = isOverflown;
15
12
  var _gridClasses = require("../constants/gridClasses");
16
13
  function isOverflown(element) {
@@ -19,20 +16,6 @@ function isOverflown(element) {
19
16
  function findParentElementFromClassName(elem, className) {
20
17
  return elem.closest(`.${className}`);
21
18
  }
22
- function getRowEl(cell) {
23
- if (!cell) {
24
- return null;
25
- }
26
- return findParentElementFromClassName(cell, _gridClasses.gridClasses.row);
27
- }
28
-
29
- // TODO remove
30
- function isGridCellRoot(elem) {
31
- return elem != null && elem.classList.contains(_gridClasses.gridClasses.cell);
32
- }
33
- function isGridHeaderCellRoot(elem) {
34
- return elem != null && elem.classList.contains(_gridClasses.gridClasses.columnHeader);
35
- }
36
19
  function escapeOperandAttributeSelector(operand) {
37
20
  return operand.replace(/["\\]/g, '\\$&');
38
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid",
3
- "version": "7.0.0-alpha.1",
3
+ "version": "7.0.0-alpha.2",
4
4
  "description": "The community edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -12,7 +12,7 @@
12
12
  "sideEffects": false,
13
13
  "funding": {
14
14
  "type": "opencollective",
15
- "url": "https://opencollective.com/mui"
15
+ "url": "https://opencollective.com/mui-org"
16
16
  },
17
17
  "publishConfig": {
18
18
  "access": "public"
@@ -22,6 +22,7 @@
22
22
  "react-component",
23
23
  "material-ui",
24
24
  "mui",
25
+ "mui-x",
25
26
  "react-table",
26
27
  "table",
27
28
  "datatable",
@@ -35,8 +36,8 @@
35
36
  "directory": "packages/grid/x-data-grid"
36
37
  },
37
38
  "dependencies": {
38
- "@babel/runtime": "^7.23.2",
39
- "@mui/utils": "^5.14.16",
39
+ "@babel/runtime": "^7.23.4",
40
+ "@mui/utils": "^5.14.18",
40
41
  "clsx": "^2.0.0",
41
42
  "prop-types": "^15.8.1",
42
43
  "reselect": "^4.1.8"
@@ -1,9 +1,6 @@
1
1
  import { GridRowId } from '../models/gridRows';
2
2
  export declare function isOverflown(element: Element): boolean;
3
3
  export declare function findParentElementFromClassName(elem: Element, className: string): Element | null;
4
- export declare function getRowEl(cell?: Element | null): HTMLElement | null;
5
- export declare function isGridCellRoot(elem: Element | null): boolean;
6
- export declare function isGridHeaderCellRoot(elem: Element | null): boolean;
7
4
  export declare function getGridColumnHeaderElement(root: Element, field: string): HTMLDivElement | null;
8
5
  export declare function getGridRowElement(root: Element, id: GridRowId): HTMLDivElement | null;
9
6
  export declare function getGridCellElement(root: Element, { id, field }: {
package/utils/domUtils.js CHANGED
@@ -5,20 +5,6 @@ export function isOverflown(element) {
5
5
  export function findParentElementFromClassName(elem, className) {
6
6
  return elem.closest(`.${className}`);
7
7
  }
8
- export function getRowEl(cell) {
9
- if (!cell) {
10
- return null;
11
- }
12
- return findParentElementFromClassName(cell, gridClasses.row);
13
- }
14
-
15
- // TODO remove
16
- export function isGridCellRoot(elem) {
17
- return elem != null && elem.classList.contains(gridClasses.cell);
18
- }
19
- export function isGridHeaderCellRoot(elem) {
20
- return elem != null && elem.classList.contains(gridClasses.columnHeader);
21
- }
22
8
  function escapeOperandAttributeSelector(operand) {
23
9
  return operand.replace(/["\\]/g, '\\$&');
24
10
  }