added titleText slot to ComboBox and MultiSelect

This commit is contained in:
sach!n 2023-06-11 13:46:40 -07:00
commit dd0b43cc06
7 changed files with 374 additions and 239 deletions

View file

@ -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

View file

@ -38,5 +38,8 @@ export default class ListBoxSelection extends SvelteComponentTyped<
/**
* Default translation ids
*/
translationIds: { clearAll: "clearAll"; clearSelection: "clearSelection" };
translationIds: {
clearAll: "clearAll";
clearSelection: "clearSelection";
};
}

View file

@ -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: {} }
> {}