diff --git a/src/lib/components/data-encoder-settings.svelte b/src/lib/components/data-encoder-settings.svelte index 35b75aa5c..69b014783 100644 --- a/src/lib/components/data-encoder-settings.svelte +++ b/src/lib/components/data-encoder-settings.svelte @@ -26,11 +26,14 @@
- +
All Statuses
  • Running
  • Timed Out
  • Completed
  • Failed
  • Continued as New
  • Canceled
  • Terminated
  • "`; +exports[`Table_header_cell$ > Status renders 1`] = `"
    "`; exports[`Table_header_cell$ > Task Queue renders 1`] = `"Task Queue"`; diff --git a/src/lib/holocene/menu/menu-item.svelte b/src/lib/holocene/menu/menu-item.svelte index 56311e49a..1751d9fa9 100644 --- a/src/lib/holocene/menu/menu-item.svelte +++ b/src/lib/holocene/menu/menu-item.svelte @@ -124,7 +124,7 @@ aria-hidden={disabled ? 'true' : 'false'} aria-disabled={disabled} tabindex={disabled ? -1 : 0} - on:click|preventDefault|stopPropagation={handleClick} + on:click={handleClick} on:keydown|stopPropagation={handleKeydown} {...$$restProps} > @@ -154,7 +154,7 @@ diff --git a/src/lib/holocene/radio-input/types.ts b/src/lib/holocene/radio-input/types.ts new file mode 100644 index 000000000..013c117f0 --- /dev/null +++ b/src/lib/holocene/radio-input/types.ts @@ -0,0 +1,22 @@ +import type { HTMLAttributes, HTMLInputAttributes } from 'svelte/elements'; +import type { Writable } from 'svelte/store'; + +export interface RadioInputProps extends HTMLInputAttributes { + value: T; + id: string; + label: string; + labelHidden?: boolean; + group?: Writable; + name?: string; + 'data-testid'?: string; +} + +export interface RadioGroupProps extends HTMLAttributes { + name: string; + group: Writable; +} + +export type RadioGroupContext = { + name: string; + group: Writable; +};