import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["label"]; type $Props = { /** * Set to `true` to use as a header * @default false */ head?: boolean; /** * Set to `true` to render a label slot * @default false */ label?: boolean; /** * Specify the value of the nested `StructuredListInput`, so a selectable * row can show its own selected state: a selected fill, with no hover * highlight. Only relevant when `selection` is `true` on the parent * `StructuredList`. */ value?: Value | undefined; children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type StructuredListRowProps = Omit<$RestProps, keyof $Props> & $Props; export default class StructuredListRow extends SvelteComponentTyped< StructuredListRowProps, { click: WindowEventMap["click"]; mouseenter: WindowEventMap["mouseenter"]; mouseleave: WindowEventMap["mouseleave"]; mouseover: WindowEventMap["mouseover"]; }, { default: Record } > { /** * Specify the tabindex. * @deprecated no longer applied here -- the row's own `