mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix: remove translateWithIdMenu
, use translateWithId
instead, rename translateWithIdInput
(#1285)
* fix: remove translateWithIdMenu, use translateWithId instead * chore: rename translateWithIdInput to translateWithIdSelection
This commit is contained in:
parent
0c39506dcb
commit
f7146b61dc
8 changed files with 81 additions and 135 deletions
10
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
10
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
|
@ -131,18 +131,12 @@ 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"
|
||||
* Defaults to "Clear selected item" and "Clear all items" if more than one item is selected
|
||||
* @default undefined
|
||||
*/
|
||||
translateWithIdInput?: (
|
||||
translateWithIdSelection?: (
|
||||
id: import("../ListBox/ListBoxSelection.svelte").ListBoxSelectionTranslationId
|
||||
) => string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue