From b5dc6e670a02775a744c9ae70ebda7e958edc3c5 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Mon, 2 Mar 2026 22:25:39 +0000 Subject: chore: generate --- packages/ui/src/components/text-reveal.css | 10 ++- packages/ui/src/components/text-reveal.stories.tsx | 82 +++++++++++++++++++--- packages/ui/src/components/tool-status-title.tsx | 7 +- 3 files changed, 81 insertions(+), 18 deletions(-) (limited to 'packages/ui/src') diff --git a/packages/ui/src/components/text-reveal.css b/packages/ui/src/components/text-reveal.css index a9036f8da..f799962f0 100644 --- a/packages/ui/src/components/text-reveal.css +++ b/packages/ui/src/components/text-reveal.css @@ -67,7 +67,10 @@ -webkit-mask-image: linear-gradient(to top, white 33%, transparent calc(33% + var(--_edge))); mask-position: 0 100%; -webkit-mask-position: 0 100%; - transition-property: mask-position, -webkit-mask-position, transform; + transition-property: + mask-position, + -webkit-mask-position, + transform; transform: translateY(0); } @@ -82,7 +85,10 @@ -webkit-mask-image: linear-gradient(to bottom, white 33%, transparent calc(33% + var(--_edge))); mask-position: 0 100%; -webkit-mask-position: 0 100%; - transition-property: mask-position, -webkit-mask-position, transform; + transition-property: + mask-position, + -webkit-mask-position, + transform; transform: translateY(var(--_travel)); } diff --git a/packages/ui/src/components/text-reveal.stories.tsx b/packages/ui/src/components/text-reveal.stories.tsx index f3da13f5d..df514ca38 100644 --- a/packages/ui/src/components/text-reveal.stories.tsx +++ b/packages/ui/src/components/text-reveal.stories.tsx @@ -179,8 +179,12 @@ export const Playground = {
- - + + @@ -194,13 +198,29 @@ export const Playground = { @@ -208,33 +228,75 @@ export const Playground = { -
Wipe only
+
+ Wipe only +
diff --git a/packages/ui/src/components/tool-status-title.tsx b/packages/ui/src/components/tool-status-title.tsx index 4cf8f15ab..68440b6c6 100644 --- a/packages/ui/src/components/tool-status-title.tsx +++ b/packages/ui/src/components/tool-status-title.tsx @@ -72,12 +72,7 @@ export function ToolStatusTitle(props: { }) } - createEffect( - on( - [() => props.active, activeTail, doneTail, suffix], - () => schedule(), - ), - ) + createEffect(on([() => props.active, activeTail, doneTail, suffix], () => schedule())) onMount(() => { measure() -- cgit v1.2.3