material-react-table-narender 2.13.10 → 2.13.11
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 +8 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/locales/te/index.d.ts +3 -0
- package/locales/te/index.esm.d.ts +3 -0
- package/locales/te/index.esm.js +95 -0
- package/locales/te/index.js +99 -0
- package/locales/te/package.json +6 -0
- package/package.json +1 -1
- package/src/utils/cell.utils.ts +8 -7
package/dist/index.js
CHANGED
@@ -591,24 +591,24 @@ const cellKeyboardShortcuts = ({ cell, cellElements, cellValue, containerElement
|
|
591
591
|
const button = currentCell.querySelector('button');
|
592
592
|
const autocomplete = currentCell.querySelector('.MuiAutocomplete-root input[type="text"]');
|
593
593
|
// Focus the appropriate element
|
594
|
-
if (
|
594
|
+
if (autocomplete) {
|
595
|
+
autocomplete.focus();
|
596
|
+
(_j = autocomplete.select) === null || _j === void 0 ? void 0 : _j.call(autocomplete);
|
597
|
+
}
|
598
|
+
else if (input) {
|
595
599
|
input.focus();
|
596
|
-
(
|
600
|
+
(_k = input.select) === null || _k === void 0 ? void 0 : _k.call(input);
|
597
601
|
}
|
598
602
|
else if (select) {
|
599
603
|
select.focus();
|
600
604
|
}
|
601
605
|
else if (checkbox) {
|
602
606
|
checkbox.focus();
|
603
|
-
checkbox.click();
|
607
|
+
// checkbox.click();
|
604
608
|
}
|
605
609
|
else if (button) {
|
606
610
|
button.focus();
|
607
|
-
button.click();
|
608
|
-
}
|
609
|
-
else if (autocomplete) {
|
610
|
-
autocomplete.focus();
|
611
|
-
(_k = autocomplete.select) === null || _k === void 0 ? void 0 : _k.call(autocomplete);
|
611
|
+
// button.click();
|
612
612
|
}
|
613
613
|
}
|
614
614
|
}
|