test: update assertions

This commit is contained in:
Eric Liu 2022-05-04 07:34:20 -07:00
commit c44d5e86eb
2 changed files with 1 additions and 14 deletions

View file

@ -121,16 +121,9 @@ export interface ComboBoxProps
id: import("../ListBox/ListBoxMenuIcon.svelte").ListBoxMenuIconTranslationId
) => string;
/**
* Override the menu label based on the open state.
* Defaults to "Open menu" and "Close menu"
* @default undefined
*/
translateWithIdMenu?: (id: any) => string;
/**
* Override the label of the clear button when the input has a selection.
* Defaults to "Clear selected item"
* Defaults to "Clear selected item" since a combo box can only have on selection.
* @default undefined
*/
translateWithIdInput?: (id: "clearSelection") => string;

View file

@ -131,12 +131,6 @@ export interface MultiSelectProps
id: import("../ListBox/ListBoxMenuIcon.svelte").ListBoxMenuIconTranslationId
) => string;
/**
* Override the default translation ids for the menu
* @default undefined
*/
translateWithIdMenu?: (id: any) => string;
/**
* Override the label of the clear button when the input has a selection.
* Defaults to "Clear selected item" and "Clear all items"