feat(typescript)!: support svelte 4 (#1773)

Closes #1753 

The minimum Svelte version required for TypeScript users is now 3.55.
This commit is contained in:
Eric Liu 2023-07-19 09:44:56 -07:00 committed by GitHub
commit 2f026f792a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
192 changed files with 941 additions and 712 deletions

View file

@ -11,14 +11,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;

View file

@ -50,14 +50,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;

View file

@ -10,14 +10,14 @@
/**
* Specify the icon to render when the action panel is closed.
* Defaults to `<Switcher size={20} />`
* @type {typeof import("svelte").SvelteComponent}
* @type {typeof import("svelte").SvelteComponent<any>}
*/
export let icon = Switcher;
/**
* Specify the icon to render when the action panel is open.
* Defaults to `<Close size={20} />`
* @type {typeof import("svelte").SvelteComponent}
* @type {typeof import("svelte").SvelteComponent<any>}
*/
export let closeIcon = Close;

View file

@ -10,7 +10,7 @@
/**
* Specify the icon to render
* @type {typeof import("svelte").SvelteComponent}
* @type {typeof import("svelte").SvelteComponent<any>}
*/
export let icon = undefined;

View file

@ -4,7 +4,7 @@
/**
* Specify the icon to render
* @type {typeof import("svelte").SvelteComponent}
* @type {typeof import("svelte").SvelteComponent<any>}
*/
export let icon = undefined;

View file

@ -16,7 +16,7 @@
/**
* Specify the icon to render
* @type {typeof import("svelte").SvelteComponent}
* @type {typeof import("svelte").SvelteComponent<any>}
*/
export let icon = undefined;

View file

@ -10,7 +10,7 @@
/**
* Specify the icon to render
* @type {typeof import("svelte").SvelteComponent}
* @type {typeof import("svelte").SvelteComponent<any>}
*/
export let icon = undefined;