chore: migrate to svelte-4

- Use `SvelteComponent` instead of `SvelteComponentTyped`
- use `local` transitions for backwards-compatibility
This commit is contained in:
Enrico Sacchetti 2023-06-23 11:19:16 -04:00
commit 56488e7375
No known key found for this signature in database
GPG key ID: 3374B89ECA60D796
189 changed files with 508 additions and 377 deletions

View file

@ -49,14 +49,14 @@
/**
* Specify the icon to render for the closed state.
* Defaults to `<Menu size={20} />`
* @type {typeof import("svelte").SvelteComponent}
* @type {typeof import("svelte").SvelteComponent<any>}
*/
export let iconMenu = Menu;
/**
* Specify the icon to render for the opened state.
* Defaults to `<Close size={20} />`
* @type {typeof import("svelte").SvelteComponent}
* @type {typeof import("svelte").SvelteComponent<any>}
*/
export let iconClose = Close;