mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(types): strongly type translateWithId
parameters (#1284)
This commit is contained in:
parent
ff2e6276db
commit
0c39506dcb
8 changed files with 112 additions and 92 deletions
|
@ -1555,8 +1555,8 @@
|
|||
{
|
||||
"name": "translateWithId",
|
||||
"kind": "let",
|
||||
"description": "Override the default translation ids",
|
||||
"type": "(id: any) => string",
|
||||
"description": "Override the chevron icon label based on the open state.\nDefaults to \"Open menu\" when closed and \"Close menu\" when open",
|
||||
"type": "(id: import(\"../ListBox/ListBoxMenuIcon.svelte\").ListBoxMenuIconTranslationId) => string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
|
@ -1565,7 +1565,7 @@
|
|||
{
|
||||
"name": "translateWithIdMenu",
|
||||
"kind": "let",
|
||||
"description": "Override the default translation ids for the menu",
|
||||
"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,
|
||||
|
@ -1575,8 +1575,8 @@
|
|||
{
|
||||
"name": "translateWithIdInput",
|
||||
"kind": "let",
|
||||
"description": "Override the default translation ids for the input",
|
||||
"type": "(id: any) => string",
|
||||
"description": "Override the label of the clear button when the input has a selection.\nDefaults to \"Clear selected item\"",
|
||||
"type": "(id: \"clearSelection\") => string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
|
@ -6603,8 +6603,8 @@
|
|||
{
|
||||
"name": "translateWithId",
|
||||
"kind": "let",
|
||||
"description": "Override the default translation ids",
|
||||
"type": "(id: any) => string",
|
||||
"description": "Override the chevron icon label based on the open state.\nDefaults to \"Open menu\" when closed and \"Close menu\" when open",
|
||||
"type": "(id: import(\"../ListBox/ListBoxMenuIcon.svelte\").ListBoxMenuIconTranslationId) => string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
|
@ -6623,8 +6623,8 @@
|
|||
{
|
||||
"name": "translateWithIdInput",
|
||||
"kind": "let",
|
||||
"description": "Override the default translation ids for the input",
|
||||
"type": "(id: any) => string",
|
||||
"description": "Override the label of the clear button when the input has a selection.\nDefaults to \"Clear selected item\" and \"Clear all items\"",
|
||||
"type": "(id: import(\"../ListBox/ListBoxSelection.svelte\").ListBoxSelectionTranslationId) => string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue