mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +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
|
@ -1563,19 +1563,9 @@
|
|||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "translateWithIdMenu",
|
||||
"name": "translateWithIdSelection",
|
||||
"kind": "let",
|
||||
"description": "Override the menu label based on the open state.\nDefaults to \"Open menu\" and \"Close menu\"",
|
||||
"type": "(id: any) => string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "translateWithIdInput",
|
||||
"kind": "let",
|
||||
"description": "Override the label of the clear button when the input has a selection.\nDefaults to \"Clear selected item\"",
|
||||
"description": "Override the label of the clear button when the input has a selection.\nDefaults to \"Clear selected item\" since a combo box can only have on selection.",
|
||||
"type": "(id: \"clearSelection\") => string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
|
@ -6611,19 +6601,9 @@
|
|||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "translateWithIdMenu",
|
||||
"name": "translateWithIdSelection",
|
||||
"kind": "let",
|
||||
"description": "Override the default translation ids for the menu",
|
||||
"type": "(id: any) => string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "translateWithIdInput",
|
||||
"kind": "let",
|
||||
"description": "Override the label of the clear button when the input has a selection.\nDefaults to \"Clear selected item\" and \"Clear all items\"",
|
||||
"description": "Override the label of the clear button when the input has a selection.\nDefaults to \"Clear selected item\" and \"Clear all items\" if more than one item is selected",
|
||||
"type": "(id: import(\"../ListBox/ListBoxSelection.svelte\").ListBoxSelectionTranslationId) => string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue