mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
Add a parameter to prevent close panel when clicking outside.
This commit is contained in:
parent
c1c8309443
commit
8139a49304
5 changed files with 390 additions and 246 deletions
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";
|
||||
};
|
||||
}
|
||||
|
|
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
|
@ -42,6 +42,12 @@ export interface HeaderActionProps
|
|||
* @default { duration: 200 }
|
||||
*/
|
||||
transition?: false | import("svelte/transition").SlideParams;
|
||||
|
||||
/**
|
||||
* Set to `true` to prevent the panel from closing when clicking outside
|
||||
* @default false
|
||||
*/
|
||||
preventCloseOnClickOutside?: boolean;
|
||||
}
|
||||
|
||||
export default class HeaderAction extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue