diff --git a/src/lib/components/VirtualizedFavoritesArtistList.svelte b/src/lib/components/VirtualizedFavoritesArtistList.svelte new file mode 100644 index 000000000..968a934fa --- /dev/null +++ b/src/lib/components/VirtualizedFavoritesArtistList.svelte @@ -0,0 +1,409 @@ + + +
+
+ {#each visibleItems as item (getItemKey(item))} +
+ {#if item.type === 'header'} +
{item.key}
+ {:else if item.type === 'artist'} + {@const artist = item.artist} + {@const hasOverflow = artistNameOverflows.has(artist.id)} + {@const isHovered = hoveredArtistId === artist.id} + + {/if} +
+ {/each} +
+
+ +