bump: svelte -> 5.34.8 (#600)

* bump: svelte -> 5.34.8

* fix: unfreeze lockfile

* fix: add svelte override
This commit is contained in:
Xylight authored and GitHub committed 2025-06-26 18:53:43 +00:00
1 parent de3ca92544
commit b98b902c7a
11 files changed
+18 -27

No files matched your search

@@ -20,6 +20,7 @@
placeholder?: string | undefined
value?: string
actions?: boolean
tools?: boolean
preview?: boolean
class?: ClassValue
required?: boolean
@@ -104,8 +104,8 @@
<ul>
{#each nodes as node, index (node.comment_view.comment.id)}
<Comment
bind:node={nodes[index]}
postId={post.id}
node={nodes[index]}
op={post.creator_id == node.comment_view.creator.id}
contentClass="{node.children.length > 0 ||
node.comment_view.counts.child_count > 0
@@ -114,7 +114,7 @@
bind:open={nodes[index].expanded}
>
{#if node.children?.length > 0}
<Comments {post} nodes={nodes[index].children} isParent={false} />
<Comments {post} bind:nodes={nodes[index].children} isParent={false} />
{/if}
</Comment>
{#if node.comment_view.counts.child_count > 0 && node.children.length == 0}
+1 -6
View File
@@ -49,7 +49,7 @@
}
let {
post: passedPost = $bindable(),
post = $bindable(),
actions = true,
hideCommunity = false,
view = settings.view,
@@ -59,11 +59,6 @@
onhide,
}: Props = $props()
let post = $state(passedPost)
$effect(() => {
passedPost = post
})
let tags = $derived(parseTags(post.post.name))
let type = $derived(mediaType(post.post.url))
let rule = $derived(getTagRule(tags.tags))
+2 -2
View File
@@ -1,10 +1,10 @@
<script lang="ts">
import { settings } from '$lib/settings.svelte.js'
import type { Snippet } from 'svelte'
import type { ClassValue, UIEventHandler } from 'svelte/elements'
import type { ClassValue, HTMLAttributes, UIEventHandler } from 'svelte/elements'
import { scrollY } from 'svelte/reactivity/window'
interface Props {
interface Props extends HTMLAttributes<HTMLDivElement> {
route?: { id: string | null } | undefined
class?: ClassValue
children?: Snippet