material-react-table-narender 2.13.11 → 2.13.12
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/dist/index.esm.js +5 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/cell.utils.ts +7 -0
package/dist/index.esm.js
CHANGED
@@ -437,6 +437,11 @@ const openEditingCell = ({ cell, table, }) => {
|
|
437
437
|
const cellKeyboardShortcuts = ({ cell, cellElements, cellValue, containerElement, event, header, parentElement, table, }) => {
|
438
438
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
439
439
|
debugger;
|
440
|
+
if (event.altKey && event.key.toLowerCase() === 'n') {
|
441
|
+
event.preventDefault();
|
442
|
+
table.options.enableKeyboardShortcuts = !table.options.enableKeyboardShortcuts;
|
443
|
+
return;
|
444
|
+
}
|
440
445
|
if (!table.options.enableKeyboardShortcuts)
|
441
446
|
return;
|
442
447
|
if (event.isPropagationStopped())
|