chore(web): Update to Svelte 4 (#3196)

* trying to update to svelte 4

* update dependencies

* remove global transition

* suppress wrning

* chore: install from github

* revert material icon change

* Supress a11y warning

* update

* remove coverage test on web

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
Alex 2023-07-15 20:13:04 -05:00 committed by GitHub
parent 436a2e9bf3
commit d5b96c0257
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 20695 additions and 20492 deletions

View file

@ -24,6 +24,7 @@
/>
{#if dragStartTarget}
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
class="fixed inset-0 w-full h-full z-[1000] flex flex-col items-center justify-center bg-gray-100/90 dark:bg-immich-dark-bg/90 text-immich-dark-gray dark:text-immich-gray"
transition:fade={{ duration: 250 }}

View file

@ -9,6 +9,7 @@
</script>
{#if actionHandler}
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
on:click={actionHandler}
on:keydown={actionHandler}

View file

@ -69,6 +69,7 @@
};
</script>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
transition:fade={{ duration: 250 }}
style:background-color={backgroundColor()}

View file

@ -91,6 +91,7 @@
};
</script>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
id="immich-scrubbable-scrollbar"
class="fixed right-0 bg-immich-bg z-[100] hover:cursor-row-resize select-none"

View file

@ -15,6 +15,7 @@
const onButtonClicked = () => dispatch('selected');
</script>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
on:click={onButtonClicked}
on:keydown={onButtonClicked}