mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
test: update assertions
This commit is contained in:
parent
2ef9bb65ec
commit
c44d5e86eb
2 changed files with 1 additions and 14 deletions
9
types/ComboBox/ComboBox.svelte.d.ts
vendored
9
types/ComboBox/ComboBox.svelte.d.ts
vendored
|
@ -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;
|
||||
|
|
6
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
6
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue