feat(multi-select): expose highlightedId and fix highlighting for filterable variant (#1153)

This commit is contained in:
Dominik G 2022-03-12 22:49:10 +01:00 committed by GitHub
commit 9215e3b106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 23 deletions

View file

@ -217,6 +217,12 @@ export interface MultiSelectProps
* @default null
*/
selectionRef?: null | HTMLDivElement;
/**
* Id of the highlighted ListBoxMenuItem
* @default null
*/
highlightedId?: null | MultiSelectItemId;
}
export default class MultiSelect extends SvelteComponentTyped<