feat: migrate Toast and Table with reviewed state focus and SSR contracts

This commit is contained in:
maoyingjie
2026-10-24 07:19:26 +08:00
parent 0cfe7b6195
commit ed41af5294
95 changed files with 9358 additions and 8 deletions
@@ -170,7 +170,7 @@ function focus(e: FocusEvent) {
:data-pressed="(!pending && !disabled && pressed) || undefined"
:data-focused="focused || undefined"
:data-focus-visible="focusVisible || undefined"
data-slot="button"
:data-slot="$attrs['data-slot'] ?? 'button'"
@pointerenter="hovered = !pending && !disabled"
@pointerleave="
hovered = false;