@invopop/popui 0.0.27 → 0.0.29
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/BaseTable.svelte
CHANGED
|
@@ -31,6 +31,7 @@ export let selectable = false;
|
|
|
31
31
|
export let selectedRows = [];
|
|
32
32
|
export let selectedTrackedBy = "id";
|
|
33
33
|
export let hideSelectAll = false;
|
|
34
|
+
export let disableKeyboardNavigation = false;
|
|
34
35
|
$:
|
|
35
36
|
groupedData = groupData(data);
|
|
36
37
|
$:
|
|
@@ -99,6 +100,8 @@ function selectRange(to) {
|
|
|
99
100
|
selectedRows = [.../* @__PURE__ */ new Set([...selectedRows, ...itemsToSelect])];
|
|
100
101
|
}
|
|
101
102
|
function handleKeydown(event) {
|
|
103
|
+
if (disableKeyboardNavigation)
|
|
104
|
+
return;
|
|
102
105
|
if (isInputFocused()) {
|
|
103
106
|
return;
|
|
104
107
|
}
|