@stenajs-webui/grid 15.5.1 → 15.5.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.
- package/CHANGELOG.md +12 -0
- package/dist/index.es.js +1 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -1570,12 +1570,8 @@ var StandardTableCell = React__namespace.memo(function StandardTableCell(_a) {
|
|
|
1570
1570
|
? isEditable(item)
|
|
1571
1571
|
: undefined;
|
|
1572
1572
|
var onKeyDownHandler = React.useCallback(function (ev) {
|
|
1573
|
-
onKeyDownTable === null || onKeyDownTable === void 0 ? void 0 : onKeyDownTable(ev, { columnId: columnId, item: item });
|
|
1574
1573
|
onKeyDownCell === null || onKeyDownCell === void 0 ? void 0 : onKeyDownCell(ev, { columnId: columnId, item: item });
|
|
1575
|
-
|
|
1576
|
-
ev.preventDefault();
|
|
1577
|
-
ev.stopPropagation();
|
|
1578
|
-
}
|
|
1574
|
+
onKeyDownTable === null || onKeyDownTable === void 0 ? void 0 : onKeyDownTable(ev, { columnId: columnId, item: item });
|
|
1579
1575
|
}, [onKeyDownTable, columnId, item, onKeyDownCell]);
|
|
1580
1576
|
var gridCell = useGridCell(label, __assign(__assign({ colIndex: colIndex, rowIndex: rowIndex, numRows: numRows, numCols: numNavigableColumns, tableId: tableId, isEditable: editable, onChange: onChange
|
|
1581
1577
|
? function (value) { return onChange(item, value); }
|