@humandialog/forms.svelte 1.8.12 → 1.8.13

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.
@@ -488,7 +488,7 @@ function isOperationDisabled(operation) {
488
488
  {@const active = calculateBackground(isFocused || isOperationActivated(operation), false)}
489
489
  {@const has_submenu = operation.menu !== undefined && operation.menu.length > 0}
490
490
  <!--div-->
491
- <div class="pl-4 cursor-pointer {active}"
491
+ <div class="pl-4 cursor-pointer {active} focus:outline-0"
492
492
  id={menu_item_id}
493
493
  bind:this={menu_items[index]}
494
494
  on:click|stopPropagation={(e) => { execute_action(e, operation, index) } }
@@ -496,7 +496,8 @@ function isOperationDisabled(operation) {
496
496
  on:keydown|stopPropagation={(e) => on_keydown(e, operation, index)}
497
497
  on:mousedown={mousedown}
498
498
  disabled={isOperationDisabled(operation)}
499
- class:opacity-60={isOperationDisabled(operation)}>
499
+ class:opacity-60={isOperationDisabled(operation)}
500
+ tabindex="-1">
500
501
 
501
502
 
502
503
 
@@ -22,7 +22,7 @@ export let multiselectOperations = (items2) => [];
22
22
  export let key = "";
23
23
  export let selectionKey = "props";
24
24
  export let multiselect = false;
25
- export let component_id;
25
+ export let component_id = "";
26
26
  export const CLEAR_SELECTION = 0;
27
27
  export const KEEP_SELECTION = -1;
28
28
  export const SELECT_PREVIOUS = -2;
@@ -16,7 +16,7 @@ declare const __propDef: {
16
16
  key?: string | undefined;
17
17
  selectionKey?: string | undefined;
18
18
  multiselect?: boolean | undefined;
19
- component_id: string;
19
+ component_id?: string | undefined;
20
20
  CLEAR_SELECTION?: 0 | undefined;
21
21
  KEEP_SELECTION?: -1 | undefined;
22
22
  SELECT_PREVIOUS?: -2 | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@humandialog/forms.svelte",
3
- "version": "1.8.12",
3
+ "version": "1.8.13",
4
4
  "description": "Basic Svelte UI components for Object Reef applications",
5
5
  "devDependencies": {
6
6
  "@playwright/test": "^1.28.1",