mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
added titleText slot to ComboBox and MultiSelect
This commit is contained in:
parent
e2d7e04397
commit
dd0b43cc06
7 changed files with 374 additions and 239 deletions
2
types/ComboBox/ComboBox.svelte.d.ts
vendored
2
types/ComboBox/ComboBox.svelte.d.ts
vendored
|
@ -169,7 +169,7 @@ export default class ComboBox extends SvelteComponentTyped<
|
|||
clear: WindowEventMap["clear"];
|
||||
scroll: WindowEventMap["scroll"];
|
||||
},
|
||||
{ default: { item: ComboBoxItem; index: number } }
|
||||
{ default: { item: ComboBoxItem; index: number }; titleText: {} }
|
||||
> {
|
||||
/**
|
||||
* Clear the combo box programmatically
|
||||
|
|
5
types/ListBox/ListBoxSelection.svelte.d.ts
vendored
5
types/ListBox/ListBoxSelection.svelte.d.ts
vendored
|
@ -38,5 +38,8 @@ export default class ListBoxSelection extends SvelteComponentTyped<
|
|||
/**
|
||||
* Default translation ids
|
||||
*/
|
||||
translationIds: { clearAll: "clearAll"; clearSelection: "clearSelection" };
|
||||
translationIds: {
|
||||
clearAll: "clearAll";
|
||||
clearSelection: "clearSelection";
|
||||
};
|
||||
}
|
||||
|
|
2
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
2
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
|
@ -253,5 +253,5 @@ export default class MultiSelect extends SvelteComponentTyped<
|
|||
focus: WindowEventMap["focus"];
|
||||
paste: DocumentAndElementEventHandlersEventMap["paste"];
|
||||
},
|
||||
{ default: { item: MultiSelectItem; index: number } }
|
||||
{ default: { item: MultiSelectItem; index: number }; titleText: {} }
|
||||
> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue