chore: generate

This commit is contained in:
opencode-agent[bot]
2026-02-02 00:18:42 +00:00
parent e445dc0746
commit fa75d922ed
6 changed files with 39 additions and 30 deletions

View File

@@ -268,13 +268,7 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
{searchAction()}
</div>
</Show>
<ScrollFade
ref={setScrollRef}
direction="vertical"
fadeStartSize={0}
fadeEndSize={20}
data-slot="list-scroll"
>
<ScrollFade ref={setScrollRef} direction="vertical" fadeStartSize={0} fadeEndSize={20} data-slot="list-scroll">
<Show
when={flat().length > 0 || showAdd()}
fallback={
@@ -349,4 +343,4 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
</ScrollFade>
</div>
)
}
}

View File

@@ -203,4 +203,4 @@ export function ScrollFade(props: ScrollFadeProps) {
{local.children}
</div>
)
}
}

View File

@@ -1,5 +1,5 @@
import { type JSX, onCleanup, splitProps } from "solid-js"
import { ScrollFade, type ScrollFadeProps } from './scroll-fade'
import { ScrollFade, type ScrollFadeProps } from "./scroll-fade"
const SCROLL_SPEED = 60
const PAUSE_DURATION = 800
@@ -138,4 +138,4 @@ export function ScrollReveal(props: ScrollRevealProps) {
{local.children}
</ScrollFade>
)
}
}