Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
Fix biome formatting in typography components
kapishdimadfacd4fd4011
diff --git a/registry/remocn/caret-swap/index.tsx b/registry/remocn/caret-swap/index.tsxindex 03cd98b1..d5244c34 100644--- a/registry/remocn/caret-swap/index.tsx+++ b/registry/remocn/caret-swap/index.tsx@@ -97,9 +97,7 @@ export function CaretSwap({const typed = toChars.slice(0, typedCount).join("");const anchorWidthEm =- Array.from(fromText).length * CHAR_WIDTH_EM +- CARET_WIDTH_EM +- CARET_GAP_EM;+ Array.from(fromText).length * CHAR_WIDTH_EM + CARET_WIDTH_EM + CARET_GAP_EM;const targetShiftEm = (anchorWidthEm - toChars.length * CHAR_WIDTH_EM) / 2;const typeProgress = toChars.length > 0 ? typedCount / toChars.length : 0;const typedShift = targetShiftEm * typeProgress * fontSize;diff --git a/registry/remocn/sheen-slide-in/index.tsx b/registry/remocn/sheen-slide-in/index.tsxindex 8e3025ab..1d2f7bac 100644--- a/registry/remocn/sheen-slide-in/index.tsx+++ b/registry/remocn/sheen-slide-in/index.tsx@@ -92,7 +92,9 @@ export function SheenSlideIn({if (exit >= 1) {return (- <div style={{ position: "absolute", inset: 0, background: "transparent" }} />+ <div+ style={{ position: "absolute", inset: 0, background: "transparent" }}+ />);}diff --git a/registry/remocn/word-push/index.tsx b/registry/remocn/word-push/index.tsxindex 4f015d37..666a6b2e 100644--- a/registry/remocn/word-push/index.tsx+++ b/registry/remocn/word-push/index.tsx@@ -24,10 +24,16 @@ function revealFrame(index: number, wordGap: number, accel: number): number {return (wordGap * (1 - accel ** index)) / (1 - accel);}-export function wordPushLength(text: string, wordGap = 10, accel = 0.8): number {+export function wordPushLength(+ text: string,+ wordGap = 10,+ accel = 0.8,+): number {const words = text.trim().split(/\s+/).filter(Boolean);if (words.length === 0) return 0;- return Math.ceil(revealFrame(words.length - 1, wordGap, accel)) + SLIDE_FRAMES;+ return (+ Math.ceil(revealFrame(words.length - 1, wordGap, accel)) + SLIDE_FRAMES+ );}const pushEasing = Easing.out(Easing.cubic);@@ -114,11 +120,16 @@ export function WordPush({const driven =j === 0? 1- : interpolate(frame, [revealAt, revealAt + SLIDE_FRAMES], [0, 1], {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- easing: driveEasing,- });+ : interpolate(+ frame,+ [revealAt, revealAt + SLIDE_FRAMES],+ [0, 1],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: driveEasing,+ },+ );return (<spandiff --git a/registry/remocn/word-stream/index.tsx b/registry/remocn/word-stream/index.tsxindex a5096fb9..6ed281d4 100644--- a/registry/remocn/word-stream/index.tsx+++ b/registry/remocn/word-stream/index.tsx@@ -26,18 +26,12 @@ const ENTRY_FRAMES = 8;const RUN_OUT_FRAMES = 5;const SWAP_OVERLAP = 0;-export function wordStreamLength(- text: string,- wordGap = 6,- hold = 18,-): number {+export function wordStreamLength(text: string, wordGap = 6, hold = 18): number {const schedule = schedulePhrases(text, wordGap, hold);const finalPhrase = schedule[schedule.length - 1];if (!finalPhrase) return 0;return (- finalPhrase.start +- (finalPhrase.words.length - 1) * wordGap +- REVEAL_FRAMES+ finalPhrase.start + (finalPhrase.words.length - 1) * wordGap + REVEAL_FRAMES);}@@ -107,7 +101,8 @@ export function WordStream({},);const crawlX =- crawl * (life / 2 - (Math.min(frame, phrase.exitStart) - phrase.start));+ crawl *+ (life / 2 - (Math.min(frame, phrase.exitStart) - phrase.start));const runOutX = phrase.last? 0: interpolate(diff --git a/registry/remocn/zoom-words/index.tsx b/registry/remocn/zoom-words/index.tsxindex 5525f280..9f5fb2aa 100644--- a/registry/remocn/zoom-words/index.tsx+++ b/registry/remocn/zoom-words/index.tsx@@ -145,8 +145,7 @@ export function ZoomWords({display: "inline-block",whiteSpace: "pre",opacity,- filter:- wordBlur > 0.05 ? `blur(${wordBlur}px)` : undefined,+ filter: wordBlur > 0.05 ? `blur(${wordBlur}px)` : undefined,translate: `${(WORD_SHIFT_X_EM * fontSize * arrive).toFixed(1)}px ${(WORD_SHIFT_Y_EM * fontSize * arrive).toFixed(1)}px`,}}>