@crystaldesign/grid 24.15.0-beta.4 → 24.15.0-beta.5
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/build/esm/index.js +10 -5
- package/package.json +5 -5
package/build/esm/index.js
CHANGED
|
@@ -401,7 +401,8 @@ var MyRow = /*#__PURE__*/forwardRef(function (_ref4, ref) {
|
|
|
401
401
|
onClick: function onClick() {
|
|
402
402
|
return toggleSelected(row.id);
|
|
403
403
|
},
|
|
404
|
-
ref: ref
|
|
404
|
+
ref: ref,
|
|
405
|
+
"data-test-id": "table-row"
|
|
405
406
|
}, others), dragDropRows && /*#__PURE__*/createElement(TableCell, _objectSpread$e(_objectSpread$e(_objectSpread$e({}, provided.dragHandleProps), row.cells[0].getCellProps({
|
|
406
407
|
//use first cell to get the highlight color
|
|
407
408
|
style: {
|
|
@@ -409,7 +410,8 @@ var MyRow = /*#__PURE__*/forwardRef(function (_ref4, ref) {
|
|
|
409
410
|
userSelect: 'unset'
|
|
410
411
|
}
|
|
411
412
|
})), {}, {
|
|
412
|
-
key: row.cells[0].getCellProps().key
|
|
413
|
+
key: row.cells[0].getCellProps().key,
|
|
414
|
+
"data-test-id": "table-cell"
|
|
413
415
|
}), /*#__PURE__*/jsx(DragIndicatorIcon, {})), row.cells.flatMap(function (cell, i) {
|
|
414
416
|
var cells = [];
|
|
415
417
|
if (cell.column.fixed) {
|
|
@@ -422,7 +424,8 @@ var MyRow = /*#__PURE__*/forwardRef(function (_ref4, ref) {
|
|
|
422
424
|
zIndex: 4
|
|
423
425
|
}
|
|
424
426
|
})), {}, {
|
|
425
|
-
key: cell.getCellProps().key + '_a'
|
|
427
|
+
key: cell.getCellProps().key + '_a',
|
|
428
|
+
"data-test-id": "table-cell"
|
|
426
429
|
})));
|
|
427
430
|
cells.push(/*#__PURE__*/createElement(TableCell, _objectSpread$e(_objectSpread$e({}, cell.getCellProps({
|
|
428
431
|
style: {
|
|
@@ -434,7 +437,8 @@ var MyRow = /*#__PURE__*/forwardRef(function (_ref4, ref) {
|
|
|
434
437
|
right: 242
|
|
435
438
|
}
|
|
436
439
|
})), {}, {
|
|
437
|
-
key: cell.getCellProps().key + '_b'
|
|
440
|
+
key: cell.getCellProps().key + '_b',
|
|
441
|
+
"data-test-id": "table-cell"
|
|
438
442
|
}), /*#__PURE__*/jsx("div", {
|
|
439
443
|
style: {
|
|
440
444
|
position: 'absolute',
|
|
@@ -449,7 +453,8 @@ var MyRow = /*#__PURE__*/forwardRef(function (_ref4, ref) {
|
|
|
449
453
|
cells.push(/*#__PURE__*/createElement(TableCell, _objectSpread$e(_objectSpread$e({}, cell.getCellProps({
|
|
450
454
|
style: _objectSpread$e({}, cellStyleHelper(cell))
|
|
451
455
|
})), {}, {
|
|
452
|
-
key: cell.getCellProps().key
|
|
456
|
+
key: cell.getCellProps().key,
|
|
457
|
+
"data-test-id": "table-cell"
|
|
453
458
|
}), cell.isGrouped ?
|
|
454
459
|
/*#__PURE__*/
|
|
455
460
|
// If it's a grouped cell, add an expander and row count
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/grid",
|
|
3
|
-
"version": "24.15.0-beta.
|
|
3
|
+
"version": "24.15.0-beta.5",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@mui/x-date-pickers": "^7.22.0",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"react-dom": "18.3.1"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@crystaldesign/content-box": "24.15.0-beta.
|
|
16
|
-
"@crystaldesign/rtf-editor": "24.15.0-beta.
|
|
17
|
-
"@crystaldesign/searchfield": "24.15.0-beta.
|
|
15
|
+
"@crystaldesign/content-box": "24.15.0-beta.5",
|
|
16
|
+
"@crystaldesign/rtf-editor": "24.15.0-beta.5",
|
|
17
|
+
"@crystaldesign/searchfield": "24.15.0-beta.5",
|
|
18
18
|
"@mui/icons-material": "^6.1.5",
|
|
19
19
|
"@mui/lab": "^6.0.0-beta.13",
|
|
20
20
|
"@mui/material": "^6.1.5",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
},
|
|
41
41
|
"module": "build/esm/index.js",
|
|
42
42
|
"types": "./build/types/grid/src/index.d.ts",
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "e26fa16dc6ef59cfab5b321ed84884363812f84a"
|
|
44
44
|
}
|