Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
chore: clear biome lint baseline to zero
dev_wandry9f7096d568ce
diff --git a/app/(home)/components/github-button.tsx b/app/(home)/components/github-button.tsxindex 3eb95908..7fc81b2d 100644--- a/app/(home)/components/github-button.tsx+++ b/app/(home)/components/github-button.tsx@@ -1,7 +1,7 @@-import { GITHUB_URL } from "@/config/site";-import { formatStars, getGitHubStars } from "@/lib/github";import { Star } from "lucide-react";import Link from "next/link";+import { GITHUB_URL } from "@/config/site";+import { formatStars, getGitHubStars } from "@/lib/github";export async function GithubButton() {const stars = await getGitHubStars();diff --git a/app/(home)/components/header-parts.tsx b/app/(home)/components/header-parts.tsxindex 523050e7..c16b4b97 100644--- a/app/(home)/components/header-parts.tsx+++ b/app/(home)/components/header-parts.tsx@@ -12,10 +12,10 @@ import {} from "@/components/ui/sheet";import { NAV_LINKS } from "@/config/site";import { cn } from "@/lib/utils";-import { NavMobile } from "./header-nav";-import { ThemeToggle } from "./theme-toggle";import { GithubButton } from "./github-button";+import { NavMobile } from "./header-nav";import { StarsButton } from "./stars-button";+import { ThemeToggle } from "./theme-toggle";export function HeaderLogo() {return (@@ -66,7 +66,9 @@ export function HeaderActions() {</SheetHeader><NavMobile links={NAV_LINKS} /><div className="mt-4 flex flex-col gap-4 px-6 pb-6">- <SheetClose render={<StarsButton className="w-full justify-center" />} />+ <SheetClose+ render={<StarsButton className="w-full justify-center" />}+ /><GithubButton /><SheetCloserender={diff --git a/app/(home)/components/sections/bento-registry.tsx b/app/(home)/components/sections/bento-registry.tsxindex 43e1d4ac..6f93511c 100644--- a/app/(home)/components/sections/bento-registry.tsx+++ b/app/(home)/components/sections/bento-registry.tsx@@ -5,13 +5,13 @@ import { ArrowRight, Check, Copy } from "lucide-react";import { motion } from "motion/react";import Link from "next/link";import { useMemo, useRef, useState } from "react";+import { SpotlightSurface } from "@/components/spotlight-surface";import { Button } from "@/components/ui/button";import { SPRING_SOFT } from "@/config/site";import { useTrackEvent } from "@/lib/analytics";import { cn } from "@/lib/utils";import registry from "@/registry/__index__";import { Backdrop, type BackdropFill } from "@/registry/remocn/backdrop";-import { SpotlightSurface } from "@/components/spotlight-surface";import { FadeUp } from "../fade-up";import { SectionHeading } from "../section-heading";import { useAutoplay } from "../use-autoplay";diff --git a/app/(home)/components/sections/get-started.tsx b/app/(home)/components/sections/get-started.tsxindex 49b3d10a..35243eff 100644--- a/app/(home)/components/sections/get-started.tsx+++ b/app/(home)/components/sections/get-started.tsx@@ -1,7 +1,5 @@import Link from "next/link";import { CodeBlockCommand } from "@/components/docs/code-block-command";-import { convertNpmCommand } from "@/lib/convert-npm-command";-import { cn } from "@/lib/utils";import {ADD,INIT,@@ -10,6 +8,8 @@ import {START,type Step,} from "@/lib/config/snippets";+import { convertNpmCommand } from "@/lib/convert-npm-command";+import { cn } from "@/lib/utils";import { FadeUp } from "../fade-up";import { SectionHeading } from "../section-heading";import { Tok, TypewriterCodeBlock } from "../typewriter-code-block";diff --git a/app/(home)/components/sections/hero.tsx b/app/(home)/components/sections/hero.tsxindex 2f51cddd..60146ceb 100644--- a/app/(home)/components/sections/hero.tsx+++ b/app/(home)/components/sections/hero.tsx@@ -126,7 +126,6 @@ export function Hero() {className="group surface-card relative w-full overflow-hidden rounded-2xl shadow-2xl shadow-black/5 sm:rounded-3xl dark:shadow-black/40"style={{ aspectRatio }}>- {/* biome-ignore lint/a11y/useMediaCaption: decorative hero loop, muted with no dialogue */}<videoref={videoRef}src="/introducing-remocn.mp4"diff --git a/app/(home)/components/sections/interactive-code.tsx b/app/(home)/components/sections/interactive-code.tsxindex 738ab642..b27a1eb7 100644--- a/app/(home)/components/sections/interactive-code.tsx+++ b/app/(home)/components/sections/interactive-code.tsx@@ -358,7 +358,11 @@ export function InteractiveCode() {transition={SPRING_SOFT}className="relative flex items-center justify-center overflow-hidden rounded-2xl bg-white shadow-2xl shadow-black/5 ring-1 ring-black/5 sm:rounded-3xl">- <div ref={containerRef} className="w-full" style={{ aspectRatio }}>+ <div+ ref={containerRef}+ className="w-full"+ style={{ aspectRatio }}+ >{entry ? (<Playerref={playerRef}diff --git a/app/(home)/components/sections/testimonials.tsx b/app/(home)/components/sections/testimonials.tsxindex 6b0bef75..b77a766c 100644--- a/app/(home)/components/sections/testimonials.tsx+++ b/app/(home)/components/sections/testimonials.tsx@@ -2,7 +2,12 @@ import { type Testimonial, testimonials } from "@/config/testimonials";import { FadeUp } from "../fade-up";import { SectionHeading } from "../section-heading";-function TestimonialCard({ authorAvatar, authorName, url, quote }: Testimonial) {+function TestimonialCard({+ authorAvatar,+ authorName,+ url,+ quote,+}: Testimonial) {return (<ahref={url}diff --git a/app/(home)/components/sections/ui-registry.tsx b/app/(home)/components/sections/ui-registry.tsxindex 555d5733..a6e7e099 100644--- a/app/(home)/components/sections/ui-registry.tsx+++ b/app/(home)/components/sections/ui-registry.tsx@@ -5,14 +5,14 @@ import { ArrowUpRight } from "lucide-react";import { motion } from "motion/react";import Link from "next/link";import { type ComponentType, type ReactNode, useRef } from "react";-import { SpotlightSurface } from "@/components/spotlight-surface";import { CommandMenuExampleScene } from "@/components/docs/examples/command-menu-example";import { InputExampleScene } from "@/components/docs/examples/input-example";import { SelectExampleScene } from "@/components/docs/examples/select-example";-import { SwitchExampleScene } from "@/components/docs/examples/switch-example";import { SignupFlowExampleScene } from "@/components/docs/examples/signup-flow-example";-import { FPS, H, W } from "@/lib/customizer-config";+import { SwitchExampleScene } from "@/components/docs/examples/switch-example";+import { SpotlightSurface } from "@/components/spotlight-surface";import { SPRING_SOFT } from "@/config/site";+import { FPS, H, W } from "@/lib/customizer-config";import { cn } from "@/lib/utils";import { FadeUp } from "../fade-up";import { InstallCommand } from "../install-command";diff --git a/app/(home)/components/sticky-header-shell.tsx b/app/(home)/components/sticky-header-shell.tsxindex 9f2b1052..ff295938 100644--- a/app/(home)/components/sticky-header-shell.tsx+++ b/app/(home)/components/sticky-header-shell.tsx@@ -1,8 +1,8 @@"use client";import type { ReactNode } from "react";-import { cn } from "@/lib/utils";import { useScroll } from "@/hooks/use-scroll";+import { cn } from "@/lib/utils";export function StickyHeaderShell({ children }: { children: ReactNode }) {const scrolled = useScroll();diff --git a/app/(home)/components/typewriter-code-block.tsx b/app/(home)/components/typewriter-code-block.tsxindex 6a9ac3ac..271e38be 100644--- a/app/(home)/components/typewriter-code-block.tsx+++ b/app/(home)/components/typewriter-code-block.tsx@@ -190,7 +190,9 @@ export function TypewriterCodeBlock({<Token color={palette.type}>Typewriter</Token><Token color={palette.plain}>{" } "}</Token><Token color={palette.keyword}>from</Token>{" "}- <Token color={palette.string}>"@/components/remocn/typewriter"</Token>+ <Token color={palette.string}>+ "@/components/remocn/typewriter"+ </Token><Token color={palette.punctuation}>;</Token>{"\n\n"}<Token color={palette.keyword}>export function</Token>{" "}diff --git a/app/(home)/components/use-autoplay.ts b/app/(home)/components/use-autoplay.tsindex f348aa01..1791b034 100644--- a/app/(home)/components/use-autoplay.ts+++ b/app/(home)/components/use-autoplay.ts@@ -24,9 +24,7 @@ export function useAutoplay(useEffect(() => {if (!enabled) return;- const visible = attached.current- ? Boolean(entry?.isIntersecting)- : true;+ const visible = attached.current ? Boolean(entry?.isIntersecting) : true;if (!visible) {playerRef.current?.pause();diff --git a/app/(home)/layout.tsx b/app/(home)/layout.tsxindex 8ac6d40b..f1efdb3e 100644--- a/app/(home)/layout.tsx+++ b/app/(home)/layout.tsx@@ -1,7 +1,7 @@import type { ReactNode } from "react";import { PageShell } from "./components/page-shell";-import { SiteHeader } from "./components/site-header";import { SiteFooter } from "./components/site-footer";+import { SiteHeader } from "./components/site-header";export default function Layout({ children }: { children: ReactNode }) {return (diff --git a/app/(home)/sponsors/components/sections/hero.tsx b/app/(home)/sponsors/components/sections/hero.tsxindex 6dc01385..0ce7e42f 100644--- a/app/(home)/sponsors/components/sections/hero.tsx+++ b/app/(home)/sponsors/components/sections/hero.tsx@@ -15,8 +15,20 @@ function OpenPanelLogo({ className }: { className?: string }) {className={className}aria-hidden="true">- <rect x="34.0269" y="0.368164" width="10.3474" height="34.2258" rx="5.17372" />- <rect x="49.9458" y="0.368164" width="10.3474" height="17.5109" rx="5.17372" />+ <rect+ x="34.0269"+ y="0.368164"+ width="10.3474"+ height="34.2258"+ rx="5.17372"+ />+ <rect+ x="49.9458"+ y="0.368164"+ width="10.3474"+ height="17.5109"+ rx="5.17372"+ /><pathfillRule="evenodd"clipRule="evenodd"diff --git a/app/(home)/sponsors/components/sections/tiers.tsx b/app/(home)/sponsors/components/sections/tiers.tsxindex e87bd02f..ec9c4b98 100644--- a/app/(home)/sponsors/components/sections/tiers.tsx+++ b/app/(home)/sponsors/components/sections/tiers.tsx@@ -4,13 +4,13 @@ import { ArrowRight, Check } from "lucide-react";import { motion } from "motion/react";import Link from "next/link";import { useState } from "react";+import { SpotlightSurface } from "@/components/spotlight-surface";import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";import { Separator } from "@/components/ui/separator";import { SPRING_BOUNCE, SPRING_SOFT } from "@/config/site";import { type BillingMode, type Tier, tiers } from "@/config/sponsors";import { cn } from "@/lib/utils";-import { SpotlightSurface } from "@/components/spotlight-surface";import { FadeUp } from "../../../components/fade-up";function BillingToggle({diff --git a/app/(home)/stars/components/avatar-chips.tsx b/app/(home)/stars/components/avatar-chips.tsxindex a97452db..74ee02e9 100644--- a/app/(home)/stars/components/avatar-chips.tsx+++ b/app/(home)/stars/components/avatar-chips.tsx@@ -8,7 +8,6 @@ export function AvatarChips({ reduced }: { reduced: boolean }) {<div className="flex flex-wrap justify-center gap-2">{Array.from({ length: 9 }).map((_, i) => (<motion.div- // biome-ignore lint/suspicious/noArrayIndexKey: fixed-length decorative placeholderskey={i}initial={reduced ? false : { opacity: 0, x: -12 }}animate={{ opacity: 1, x: 0 }}diff --git a/app/(home)/stars/components/export-controls.tsx b/app/(home)/stars/components/export-controls.tsxindex 2841826f..7afc6f67 100644--- a/app/(home)/stars/components/export-controls.tsx+++ b/app/(home)/stars/components/export-controls.tsx@@ -18,10 +18,7 @@ export function ExportControls({if (exporting) {return (<div className="flex w-full items-center gap-3 sm:w-72">- <Progress- value={Math.round(exportProgress * 100)}- className="flex-1"- />+ <Progress value={Math.round(exportProgress * 100)} className="flex-1" /><Buttonvariant="ghost"size="icon"diff --git a/app/(home)/stars/components/idle-view.tsx b/app/(home)/stars/components/idle-view.tsxindex 06e47771..76daf258 100644--- a/app/(home)/stars/components/idle-view.tsx+++ b/app/(home)/stars/components/idle-view.tsx@@ -6,7 +6,7 @@ export function IdleView({onInputChange,onSubmit,canGenerate,- zeroStars,+ zeroStars: _zeroStars,}: {inputValue: string;onInputChange: (v: string) => void;diff --git a/app/(home)/stars/components/orientation-toggle.tsx b/app/(home)/stars/components/orientation-toggle.tsxindex d56a3f9e..a9b66476 100644--- a/app/(home)/stars/components/orientation-toggle.tsx+++ b/app/(home)/stars/components/orientation-toggle.tsx@@ -14,8 +14,7 @@ export function OrientationToggle({value={[orientationToParam(orientation)]}onValueChange={(value: string[]) => {const next = value[0];- if (next)- onOrientationChange(next === "v" ? "vertical" : "horizontal");+ if (next) onOrientationChange(next === "v" ? "vertical" : "horizontal");}}aria-label="Video orientation"className="w-full sm:w-auto"diff --git a/app/(home)/stars/components/player-frame.tsx b/app/(home)/stars/components/player-frame.tsxindex a1d16acd..558b0655 100644--- a/app/(home)/stars/components/player-frame.tsx+++ b/app/(home)/stars/components/player-frame.tsx@@ -9,7 +9,7 @@ export function PlayerFrame({entry,inputProps,orientation,- reduced,+ reduced: _reduced,}: {entry: RegistryEntry;inputProps: GitHubStarsInputProps;diff --git a/app/(home)/stars/hooks/use-orientation.ts b/app/(home)/stars/hooks/use-orientation.tsindex bc62b09e..1bbdcedc 100644--- a/app/(home)/stars/hooks/use-orientation.ts+++ b/app/(home)/stars/hooks/use-orientation.ts@@ -2,10 +2,7 @@import { useQueryState } from "nuqs";import { useCallback } from "react";-import {- orientationToParam,- paramToOrientation,-} from "../lib/dims";+import { orientationToParam, paramToOrientation } from "../lib/dims";import type { Orientation } from "../lib/types";/**diff --git a/app/(home)/stars/hooks/use-stargazers.ts b/app/(home)/stars/hooks/use-stargazers.tsindex 10033822..6cd4836c 100644--- a/app/(home)/stars/hooks/use-stargazers.ts+++ b/app/(home)/stars/hooks/use-stargazers.ts@@ -3,10 +3,10 @@import { useCallback, useRef, useState } from "react";import { toast } from "sonner";import { parseRepoInput } from "@/lib/parse-repo";-import { messageForApiError } from "../lib/api-errors";import { fetchStargazers, StargazersApiError } from "../lib/api";+import { messageForApiError } from "../lib/api-errors";import { preloadAvatars } from "../lib/preload-avatars";-import type { StarsStatus, StargazersPayload } from "../lib/types";+import type { StargazersPayload, StarsStatus } from "../lib/types";/*** Owns the generation state machine: status (idle/generating/ready), thediff --git a/app/(home)/stars/lib/preload-avatars.ts b/app/(home)/stars/lib/preload-avatars.tsindex fc24e00b..e224cad4 100644--- a/app/(home)/stars/lib/preload-avatars.ts+++ b/app/(home)/stars/lib/preload-avatars.ts@@ -12,7 +12,10 @@* must not block), and the whole batch is bounded by a timeout so one slow image* can't stall the transition to the ready state.*/-export function preloadAvatars(urls: string[], timeoutMs = 2500): Promise<void> {+export function preloadAvatars(+ urls: string[],+ timeoutMs = 2500,+): Promise<void> {if (typeof window === "undefined" || urls.length === 0) {return Promise.resolve();}diff --git a/app/(home)/stars/page.tsx b/app/(home)/stars/page.tsxindex ed1ad377..ba548427 100644--- a/app/(home)/stars/page.tsx+++ b/app/(home)/stars/page.tsx@@ -1,6 +1,6 @@import type { Metadata } from "next";-import { StarsTool } from "./components/stars-tool";import { Suspense } from "react";+import { StarsTool } from "./components/stars-tool";export const metadata: Metadata = {title: "GitHub Stars Video Generator",diff --git a/app/api/render/[jobId]/download/route.ts b/app/api/render/[jobId]/download/route.tsindex 978e7f63..bbefc244 100644--- a/app/api/render/[jobId]/download/route.ts+++ b/app/api/render/[jobId]/download/route.ts@@ -2,10 +2,9 @@ import { createReadStream } from "node:fs";import { stat } from "node:fs/promises";import path from "node:path";import { Readable } from "node:stream";--import { getJob } from "@/lib/server/render-queue";import { deleteJobFile } from "@/lib/server/cleanup";import { RENDER_WORK_DIR } from "@/lib/server/paths";+import { getJob } from "@/lib/server/render-queue";// Node runtime: streams a file off disk via node:fs.export const runtime = "nodejs";diff --git a/app/api/render/__tests__/route.test.ts b/app/api/render/__tests__/route.test.tsindex b4e06b24..f76ffc46 100644--- a/app/api/render/__tests__/route.test.ts+++ b/app/api/render/__tests__/route.test.ts@@ -80,7 +80,9 @@ function makePostRequest(}/** A valid render payload that passes parseRenderInput. */-function validPayload(overrides?: Record<string, unknown>): Record<string, unknown> {+function validPayload(+ overrides?: Record<string, unknown>,+): Record<string, unknown> {return {repo: "vercel/next.js",totalStars: 50_000,@@ -141,7 +143,10 @@ describe("POST /api/render — 400 invalid JSON", () => {const res = await POST(new Request("http://localhost/api/render", {method: "POST",- headers: { "content-type": "application/json", "x-forwarded-for": "1.2.3.4" },+ headers: {+ "content-type": "application/json",+ "x-forwarded-for": "1.2.3.4",+ },body: "{ not valid json !!!",}) as never,);@@ -189,7 +194,9 @@ describe("POST /api/render — 400 invalid input", () => {starredAt: "2021-01-01",}));- const res = await POST(makePostRequest(validPayload({ stargazers: many })) as never);+ const res = await POST(+ makePostRequest(validPayload({ stargazers: many })) as never,+ );expect(res.status).toBe(400);const body = await res.json();@@ -350,7 +357,10 @@ describe("GET /api/render/[jobId] — status JSON", () => {};mockGetJob.mockReturnValue(job);- const res = await GET(makeGetRequest("job1") as never, makeGetParams("job1"));+ const res = await GET(+ makeGetRequest("job1") as never,+ makeGetParams("job1"),+ );expect(res.status).toBe(200);const body = await res.json();@@ -369,7 +379,10 @@ describe("GET /api/render/[jobId] — status JSON", () => {};mockGetJob.mockReturnValue(job);- const res = await GET(makeGetRequest("job2") as never, makeGetParams("job2"));+ const res = await GET(+ makeGetRequest("job2") as never,+ makeGetParams("job2"),+ );const body = await res.json();expect(body.status).toBe("rendering");@@ -387,7 +400,10 @@ describe("GET /api/render/[jobId] — status JSON", () => {};mockGetJob.mockReturnValue(job);- const res = await GET(makeGetRequest("job3") as never, makeGetParams("job3"));+ const res = await GET(+ makeGetRequest("job3") as never,+ makeGetParams("job3"),+ );const body = await res.json();expect(body.status).toBe("done");@@ -406,7 +422,10 @@ describe("GET /api/render/[jobId] — status JSON", () => {};mockGetJob.mockReturnValue(job);- const res = await GET(makeGetRequest("job3b") as never, makeGetParams("job3b"));+ const res = await GET(+ makeGetRequest("job3b") as never,+ makeGetParams("job3b"),+ );const text = await res.text();expect(text).not.toContain("/tmp/remocn-renders/secret.mp4");});@@ -421,7 +440,10 @@ describe("GET /api/render/[jobId] — status JSON", () => {};mockGetJob.mockReturnValue(job);- const res = await GET(makeGetRequest("job4") as never, makeGetParams("job4"));+ const res = await GET(+ makeGetRequest("job4") as never,+ makeGetParams("job4"),+ );const body = await res.json();expect(body.status).toBe("error");@@ -438,7 +460,10 @@ describe("GET /api/render/[jobId] — status JSON", () => {};mockGetJob.mockReturnValue(job);- const res = await GET(makeGetRequest("job5") as never, makeGetParams("job5"));+ const res = await GET(+ makeGetRequest("job5") as never,+ makeGetParams("job5"),+ );const body = await res.json();expect("error" in body).toBe(false);});@@ -472,7 +497,10 @@ describe("POST + GET — no secrets or paths leak", () => {};mockGetJob.mockReturnValue(job);- const res = await GET(makeGetRequest("jobS") as never, makeGetParams("jobS"));+ const res = await GET(+ makeGetRequest("jobS") as never,+ makeGetParams("jobS"),+ );const text = await res.text();expect(text).not.toContain("/secret/render/dir");diff --git a/app/api/render/route.ts b/app/api/render/route.tsindex b88c08a1..0096f342 100644--- a/app/api/render/route.ts+++ b/app/api/render/route.ts@@ -1,9 +1,12 @@import { type NextRequest, NextResponse } from "next/server";--import { parseRenderInput, RenderInputError } from "@/lib/server/validate-input";-import { enqueueRender, QueueFullError } from "@/lib/server/render-queue";-import { checkRateLimit } from "@/lib/server/rate-limit";import { ensureCleanupSweep } from "@/lib/server/cleanup";+import { checkRateLimit } from "@/lib/server/rate-limit";+import { enqueueRender, QueueFullError } from "@/lib/server/render-queue";+import {+ parseRenderInput,+ type RenderInput,+ RenderInputError,+} from "@/lib/server/validate-input";// Node runtime: native Remotion render (Chromium) needs full Node, not edge.export const runtime = "nodejs";@@ -25,7 +28,10 @@ export async function POST(request: NextRequest) {const ip = clientIp(request);if (!checkRateLimit(ip)) {return NextResponse.json(- { error: "Too many render requests. Please wait and retry.", code: "rate_limited" },+ {+ error: "Too many render requests. Please wait and retry.",+ code: "rate_limited",+ },{ status: 429 },);}@@ -40,7 +46,7 @@ export async function POST(request: NextRequest) {);}- let input;+ let input: RenderInput;try {input = parseRenderInput(body);} catch (err) {@@ -59,7 +65,10 @@ export async function POST(request: NextRequest) {} catch (err) {if (err instanceof QueueFullError) {return NextResponse.json(- { error: "Render queue is full. Please retry shortly.", code: "queue_full" },+ {+ error: "Render queue is full. Please retry shortly.",+ code: "queue_full",+ },{ status: 503 },);}diff --git a/app/docs/[[...slug]]/page.tsx b/app/docs/[[...slug]]/page.tsxindex e013efc4..dc49a6dc 100644--- a/app/docs/[[...slug]]/page.tsx+++ b/app/docs/[[...slug]]/page.tsx@@ -16,7 +16,7 @@ export default async function Page(props: {const page = source.getPage(params.slug);if (!page) notFound();- const data = page.data as any;+ const data = page.data;const MDX = data.body;return (@@ -52,7 +52,7 @@ export async function generateMetadata(props: {const params = await props.params;const page = source.getPage(params.slug);if (!page) notFound();- const data = page.data as any;+ const data = page.data;return {title: data.title,description: data.description,diff --git a/app/globals.css b/app/globals.cssindex f128227e..5087a6da 100644--- a/app/globals.css+++ b/app/globals.css@@ -8,397 +8,389 @@@custom-variant dark (&:is(.dark *));@theme inline {- --color-background: var(--background);- --color-foreground: var(--foreground);- --font-sans: var(--font-sans);- --font-mono: var(--font-geist-mono);- --font-heading: var(--font-sans);- --color-sidebar-ring: var(--sidebar-ring);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar: var(--sidebar);- --color-chart-5: var(--chart-5);- --color-chart-4: var(--chart-4);- --color-chart-3: var(--chart-3);- --color-chart-2: var(--chart-2);- --color-chart-1: var(--chart-1);- --color-ring: var(--ring);- --color-input: var(--input);- --color-border: var(--border);- --color-destructive: var(--destructive);- --color-accent-foreground: var(--accent-foreground);- --color-accent: var(--accent);- --color-muted-foreground: var(--muted-foreground);- --color-muted: var(--muted);- --color-secondary-foreground: var(--secondary-foreground);- --color-secondary: var(--secondary);- --color-primary-foreground: var(--primary-foreground);- --color-primary: var(--primary);- --color-popover-foreground: var(--popover-foreground);- --color-popover: var(--popover);- --color-card-foreground: var(--card-foreground);- --color-card: var(--card);- --radius-sm: calc(var(--radius) * 0.6);- --radius-md: calc(var(--radius) * 0.8);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) * 1.4);- --radius-2xl: calc(var(--radius) * 1.8);- --radius-3xl: calc(var(--radius) * 2.2);- --radius-4xl: calc(var(--radius) * 2.6);- --animate-marquee: marquee var(--marquee-duration, 48s) linear infinite;- @keyframes marquee {- from {- transform: translateX(0);- }- to {- transform: translateX(-50%);- }+ --color-background: var(--background);+ --color-foreground: var(--foreground);+ --font-sans: var(--font-sans);+ --font-mono: var(--font-geist-mono);+ --font-heading: var(--font-sans);+ --color-sidebar-ring: var(--sidebar-ring);+ --color-sidebar-border: var(--sidebar-border);+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);+ --color-sidebar-accent: var(--sidebar-accent);+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);+ --color-sidebar-primary: var(--sidebar-primary);+ --color-sidebar-foreground: var(--sidebar-foreground);+ --color-sidebar: var(--sidebar);+ --color-chart-5: var(--chart-5);+ --color-chart-4: var(--chart-4);+ --color-chart-3: var(--chart-3);+ --color-chart-2: var(--chart-2);+ --color-chart-1: var(--chart-1);+ --color-ring: var(--ring);+ --color-input: var(--input);+ --color-border: var(--border);+ --color-destructive: var(--destructive);+ --color-accent-foreground: var(--accent-foreground);+ --color-accent: var(--accent);+ --color-muted-foreground: var(--muted-foreground);+ --color-muted: var(--muted);+ --color-secondary-foreground: var(--secondary-foreground);+ --color-secondary: var(--secondary);+ --color-primary-foreground: var(--primary-foreground);+ --color-primary: var(--primary);+ --color-popover-foreground: var(--popover-foreground);+ --color-popover: var(--popover);+ --color-card-foreground: var(--card-foreground);+ --color-card: var(--card);+ --radius-sm: calc(var(--radius) * 0.6);+ --radius-md: calc(var(--radius) * 0.8);+ --radius-lg: var(--radius);+ --radius-xl: calc(var(--radius) * 1.4);+ --radius-2xl: calc(var(--radius) * 1.8);+ --radius-3xl: calc(var(--radius) * 2.2);+ --radius-4xl: calc(var(--radius) * 2.6);+ --animate-marquee: marquee var(--marquee-duration, 48s) linear infinite;+ @keyframes marquee {+ from {+ transform: translateX(0);}+ to {+ transform: translateX(-50%);+ }+ }}:root {- --background: oklch(1 0 0);- --foreground: oklch(0.145 0 0);- --card: oklch(1 0 0);- --card-foreground: oklch(0.145 0 0);- --popover: oklch(1 0 0);- --popover-foreground: oklch(0.145 0 0);- --primary: oklch(0.205 0 0);- --primary-foreground: oklch(0.985 0 0);- --secondary: oklch(0.97 0 0);- --secondary-foreground: oklch(0.205 0 0);- --muted: oklch(0.97 0 0);- --muted-foreground: oklch(0.556 0 0);- --accent: oklch(0.97 0 0);- --accent-foreground: oklch(0.205 0 0);- --destructive: oklch(0.577 0.245 27.325);- --border: oklch(0.922 0 0);- --input: oklch(0.922 0 0);- --ring: oklch(0.708 0 0);- --chart-1: oklch(0.87 0 0);- --chart-2: oklch(0.556 0 0);- --chart-3: oklch(0.439 0 0);- --chart-4: oklch(0.371 0 0);- --chart-5: oklch(0.269 0 0);- --radius: 0.625rem;- --sidebar: oklch(0.985 0 0);- --sidebar-foreground: oklch(0.145 0 0);- --sidebar-primary: oklch(0.205 0 0);- --sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.97 0 0);- --sidebar-accent-foreground: oklch(0.205 0 0);- --sidebar-border: oklch(0.922 0 0);- --sidebar-ring: oklch(0.708 0 0);+ --background: oklch(1 0 0);+ --foreground: oklch(0.145 0 0);+ --card: oklch(1 0 0);+ --card-foreground: oklch(0.145 0 0);+ --popover: oklch(1 0 0);+ --popover-foreground: oklch(0.145 0 0);+ --primary: oklch(0.205 0 0);+ --primary-foreground: oklch(0.985 0 0);+ --secondary: oklch(0.97 0 0);+ --secondary-foreground: oklch(0.205 0 0);+ --muted: oklch(0.97 0 0);+ --muted-foreground: oklch(0.556 0 0);+ --accent: oklch(0.97 0 0);+ --accent-foreground: oklch(0.205 0 0);+ --destructive: oklch(0.577 0.245 27.325);+ --border: oklch(0.922 0 0);+ --input: oklch(0.922 0 0);+ --ring: oklch(0.708 0 0);+ --chart-1: oklch(0.87 0 0);+ --chart-2: oklch(0.556 0 0);+ --chart-3: oklch(0.439 0 0);+ --chart-4: oklch(0.371 0 0);+ --chart-5: oklch(0.269 0 0);+ --radius: 0.625rem;+ --sidebar: oklch(0.985 0 0);+ --sidebar-foreground: oklch(0.145 0 0);+ --sidebar-primary: oklch(0.205 0 0);+ --sidebar-primary-foreground: oklch(0.985 0 0);+ --sidebar-accent: oklch(0.97 0 0);+ --sidebar-accent-foreground: oklch(0.205 0 0);+ --sidebar-border: oklch(0.922 0 0);+ --sidebar-ring: oklch(0.708 0 0);- /* "NEW" sidebar badge — editable accent. Theme-agnostic for now (same value+ /* "NEW" sidebar badge — editable accent. Theme-agnostic for now (same valuein light/dark); recolor the badge by changing --badge-new-bg here. The fgstays dark so the label reads on the light-lime background. */- --badge-new-bg: rgb(195, 232, 141);- --badge-new-fg: oklch(0.205 0 0);+ --badge-new-bg: rgb(195, 232, 141);+ --badge-new-fg: oklch(0.205 0 0);}.dark {- /* Warm obsidian palette — matches landing page #141318 */- --background: oklch(0.18 0.008 290);- --foreground: oklch(0.95 0 0);- --card: oklch(0.2 0.008 290);- --card-foreground: oklch(0.95 0 0);- --popover: oklch(0.2 0.008 290);- --popover-foreground: oklch(0.95 0 0);- --primary: oklch(0.95 0 0);- --primary-foreground: oklch(0.18 0.008 290);- --secondary: oklch(0.22 0.008 290);- --secondary-foreground: oklch(0.85 0.005 290);- --muted: oklch(0.21 0.008 290);- --muted-foreground: oklch(0.65 0.008 290);- --accent: oklch(0.22 0.008 290);- --accent-foreground: oklch(0.95 0 0);- --destructive: oklch(0.704 0.191 22.216);- --border: oklch(1 0 0 / 6%);- --input: oklch(1 0 0 / 8%);- --ring: oklch(1 0 0 / 20%);- --chart-1: oklch(0.87 0 0);- --chart-2: oklch(0.65 0.008 290);- --chart-3: oklch(0.55 0.008 290);- --chart-4: oklch(0.45 0.008 290);- --chart-5: oklch(0.35 0.008 290);- --sidebar: oklch(0.18 0.008 290);- --sidebar-foreground: oklch(0.95 0 0);- --sidebar-primary: oklch(0.95 0 0);- --sidebar-primary-foreground: oklch(0.18 0.008 290);- --sidebar-accent: oklch(0.22 0.008 290);- --sidebar-accent-foreground: oklch(0.95 0 0);- --sidebar-border: oklch(1 0 0 / 6%);- --sidebar-ring: oklch(1 0 0 / 20%);+ /* Warm obsidian palette — matches landing page #141318 */+ --background: oklch(0.18 0.008 290);+ --foreground: oklch(0.95 0 0);+ --card: oklch(0.2 0.008 290);+ --card-foreground: oklch(0.95 0 0);+ --popover: oklch(0.2 0.008 290);+ --popover-foreground: oklch(0.95 0 0);+ --primary: oklch(0.95 0 0);+ --primary-foreground: oklch(0.18 0.008 290);+ --secondary: oklch(0.22 0.008 290);+ --secondary-foreground: oklch(0.85 0.005 290);+ --muted: oklch(0.21 0.008 290);+ --muted-foreground: oklch(0.65 0.008 290);+ --accent: oklch(0.22 0.008 290);+ --accent-foreground: oklch(0.95 0 0);+ --destructive: oklch(0.704 0.191 22.216);+ --border: oklch(1 0 0 / 6%);+ --input: oklch(1 0 0 / 8%);+ --ring: oklch(1 0 0 / 20%);+ --chart-1: oklch(0.87 0 0);+ --chart-2: oklch(0.65 0.008 290);+ --chart-3: oklch(0.55 0.008 290);+ --chart-4: oklch(0.45 0.008 290);+ --chart-5: oklch(0.35 0.008 290);+ --sidebar: oklch(0.18 0.008 290);+ --sidebar-foreground: oklch(0.95 0 0);+ --sidebar-primary: oklch(0.95 0 0);+ --sidebar-primary-foreground: oklch(0.18 0.008 290);+ --sidebar-accent: oklch(0.22 0.008 290);+ --sidebar-accent-foreground: oklch(0.95 0 0);+ --sidebar-border: oklch(1 0 0 / 6%);+ --sidebar-ring: oklch(1 0 0 / 20%);- /* Badge keeps the same lime accent in dark mode — see :root for the knob. */- --badge-new-bg: rgb(195, 232, 141);- --badge-new-fg: oklch(0.205 0 0);+ /* Badge keeps the same lime accent in dark mode — see :root for the knob. */+ --badge-new-bg: rgb(195, 232, 141);+ --badge-new-fg: oklch(0.205 0 0);}@layer base {- * {- @apply border-border outline-ring/50;- }- body {- @apply bg-background text-foreground;- font-feature-settings: "cv11", "ss01";- -webkit-font-smoothing: antialiased;- text-rendering: optimizeLegibility;- }- html {- @apply font-sans;- scroll-behavior: smooth;- scroll-padding-top: 80px;- }+ * {+ @apply border-border outline-ring/50;+ }+ body {+ @apply bg-background text-foreground;+ font-feature-settings: "cv11", "ss01";+ -webkit-font-smoothing: antialiased;+ text-rendering: optimizeLegibility;+ }+ html {+ @apply font-sans;+ scroll-behavior: smooth;+ scroll-padding-top: 80px;+ }}.section {- @apply mx-auto w-full max-w-6xl px-4 sm:px-6;+ @apply mx-auto w-full max-w-6xl px-4 sm:px-6;}.bg-control {- @apply bg-muted border border-border;+ @apply bg-muted border border-border;}.bg-grid-fade {- background-image: radial-gradient(- color-mix(in oklab, var(--color-foreground) 9%, transparent) 1px,- transparent 1px- );- background-size: 28px 28px;- -webkit-mask-image: radial-gradient(- ellipse 70% 60% at 50% 0%,- black,- transparent 75%- );- mask-image: radial-gradient(- ellipse 70% 60% at 50% 0%,- black,- transparent 75%- );+ background-image: radial-gradient(+ color-mix(in oklab, var(--color-foreground) 9%, transparent) 1px,+ transparent 1px+ );+ background-size: 28px 28px;+ -webkit-mask-image: radial-gradient(+ ellipse 70% 60% at 50% 0%,+ black,+ transparent 75%+ );+ mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black, transparent 75%);}.divider-soft {- background: linear-gradient(- to right,- transparent,- var(--color-border),- transparent- );+ background: linear-gradient(+ to right,+ transparent,+ var(--color-border),+ transparent+ );}.surface-card {- background-color: color-mix(in oklab, var(--color-card) 92%, transparent);- border: 1px solid var(--color-border);- backdrop-filter: blur(12px);+ background-color: color-mix(in oklab, var(--color-card) 92%, transparent);+ border: 1px solid var(--color-border);+ backdrop-filter: blur(12px);}.marquee-edge-fade {- -webkit-mask-image: linear-gradient(- to right,- transparent,- black 12%,- black 88%,- transparent- );- mask-image: linear-gradient(- to right,- transparent,- black 12%,- black 88%,- transparent- );+ -webkit-mask-image: linear-gradient(+ to right,+ transparent,+ black 12%,+ black 88%,+ transparent+ );+ mask-image: linear-gradient(+ to right,+ transparent,+ black 12%,+ black 88%,+ transparent+ );}.prose figure.shiki {- background-color: var(--muted) !important;- border-width: 0 !important;- box-shadow: none !important;- border-radius: var(--radius-xl);+ /* biome-ignore lint/complexity/noImportantStyles: overrides shiki's own inline background/border/shadow, which outrank this class in specificity */+ background-color: var(--muted) !important;+ /* biome-ignore lint/complexity/noImportantStyles: see above */+ border-width: 0 !important;+ /* biome-ignore lint/complexity/noImportantStyles: see above */+ box-shadow: none !important;+ border-radius: var(--radius-xl);}.prose figure.shiki pre,.prose figure.shiki [class*="bg-"] {- background-color: transparent !important;+ /* biome-ignore lint/complexity/noImportantStyles: see above */+ background-color: transparent !important;}.prose figure.shiki pre {- font-size: 0.9375rem;- line-height: 1.7;+ font-size: 0.9375rem;+ line-height: 1.7;}.prose :not(pre) > code {- background-color: color-mix(in oklab, var(--muted) 70%, transparent);- border: 1px solid var(--border);- border-radius: var(--radius-sm);- padding: 0.125rem 0.375rem;- font-size: 0.875em;- font-weight: 500;+ background-color: color-mix(in oklab, var(--muted) 70%, transparent);+ border: 1px solid var(--border);+ border-radius: var(--radius-sm);+ padding: 0.125rem 0.375rem;+ font-size: 0.875em;+ font-weight: 500;}.prose :not(pre) > code::before,.prose :not(pre) > code::after {- content: none;+ content: none;}.prose h2 {- @apply mt-16 mb-4 text-3xl font-semibold tracking-tight;+ @apply mt-16 mb-4 text-3xl font-semibold tracking-tight;}.prose > :first-child h2,.prose h2:first-child {- @apply mt-12;+ @apply mt-12;}.prose h3 {- @apply mt-10 mb-3 text-xl font-semibold tracking-tight;+ @apply mt-10 mb-3 text-xl font-semibold tracking-tight;}.prose h4 {- @apply mt-8 mb-2 text-base font-semibold tracking-tight;+ @apply mt-8 mb-2 text-base font-semibold tracking-tight;}.prose a:not(:where([class~="not-prose"] *)) {- color: var(--foreground);- font-weight: 500;- text-decoration: none;- text-underline-offset: 0.2em;- text-decoration-color: color-mix(- in oklab,- var(--foreground) 35%,- transparent- );- transition:- text-decoration-color 150ms ease,- color 150ms ease;+ color: var(--foreground);+ font-weight: 500;+ text-decoration: none;+ text-underline-offset: 0.2em;+ text-decoration-color: color-mix(in oklab, var(--foreground) 35%, transparent);+ transition:+ text-decoration-color 150ms ease,+ color 150ms ease;}.prose a:not(:where([class~="not-prose"] *)):hover {- text-decoration: underline;- text-decoration-color: color-mix(- in oklab,- var(--foreground) 60%,- transparent- );+ text-decoration: underline;+ text-decoration-color: color-mix(in oklab, var(--foreground) 60%, transparent);}.prose a:not(:where([class~="not-prose"] *)):focus-visible {- outline: none;- border-radius: var(--radius-sm);- box-shadow: 0 0 0 2px color-mix(in oklab, var(--ring) 60%, transparent);+ outline: none;+ border-radius: var(--radius-sm);+ box-shadow: 0 0 0 2px color-mix(in oklab, var(--ring) 60%, transparent);}.prose table {- font-size: 0.875rem;+ font-size: 0.875rem;}.prose thead {- border-bottom: 1px solid var(--border);+ border-bottom: 1px solid var(--border);}.prose th {- font-weight: 600;- color: var(--foreground);+ font-weight: 600;+ color: var(--foreground);}.prose tbody tr {- border-bottom: 1px solid var(--border);+ border-bottom: 1px solid var(--border);}.prose td,.prose th {- padding: 0.5rem 0.75rem;+ padding: 0.5rem 0.75rem;}.prose p,.prose ul,.prose ol,.prose blockquote {- @apply max-w-3xl;+ @apply max-w-3xl;}.prose .not-prose,.prose .not-prose p,.prose .not-prose ul,.prose .not-prose ol {- max-width: none;+ max-width: none;}.prose blockquote {- border-inline-start: 2px solid var(--border);- color: var(--muted-foreground);- font-style: normal;+ border-inline-start: 2px solid var(--border);+ color: var(--muted-foreground);+ font-style: normal;}#nd-sidebar a,#nd-sidebar-mobile a {- font-size: 0.8125rem;- letter-spacing: -0.01em;+ font-size: 0.8125rem;+ letter-spacing: -0.01em;}#nd-sidebar p,#nd-sidebar-mobile p {- text-transform: uppercase;- letter-spacing: 0.08em;- font-size: 0.6875rem;- font-weight: 600;- color: var(--muted-foreground);+ text-transform: uppercase;+ letter-spacing: 0.08em;+ font-size: 0.6875rem;+ font-weight: 600;+ color: var(--muted-foreground);}#nd-sidebar a[data-active],#nd-sidebar-mobile a[data-active] {- padding-block: 0.375rem;- color: var(--foreground);- transition: color 150ms ease;+ padding-block: 0.375rem;+ color: var(--foreground);+ transition: color 150ms ease;}#nd-sidebar a[data-active]:hover,#nd-sidebar-mobile a[data-active]:hover {- color: var(--foreground);- background-color: transparent;+ color: var(--foreground);+ background-color: transparent;}#nd-sidebar a[data-active="true"],#nd-sidebar-mobile a[data-active="true"] {- position: relative;- font-weight: 500;- color: var(--foreground);- background-color: color-mix(in oklab, var(--accent) 80%, transparent);+ position: relative;+ font-weight: 500;+ color: var(--foreground);+ background-color: color-mix(in oklab, var(--accent) 80%, transparent);}#nd-sidebar a[data-active="true"]:hover,#nd-sidebar-mobile a[data-active="true"]:hover {- background-color: color-mix(in oklab, var(--accent) 80%, transparent);+ background-color: color-mix(in oklab, var(--accent) 80%, transparent);}#nd-sidebar a[data-active="true"]::before,#nd-sidebar-mobile a[data-active="true"]::before {- content: "";- position: absolute;- inset-inline-start: 0;- inset-block: 0.3rem;- width: 2px;- border-radius: 1px;- background-color: var(--foreground);+ content: "";+ position: absolute;+ inset-inline-start: 0;+ inset-block: 0.3rem;+ width: 2px;+ border-radius: 1px;+ background-color: var(--foreground);}@media (prefers-reduced-motion: reduce) {- #nd-sidebar a[data-active],- #nd-sidebar-mobile a[data-active] {- transition: none;- }+ #nd-sidebar a[data-active],+ #nd-sidebar-mobile a[data-active] {+ transition: none;+ }}#nd-sidebar a.w-full,#nd-sidebar-mobile a.w-full {- text-transform: uppercase;- letter-spacing: 0.08em;- font-size: 0.6875rem;- font-weight: 600;- color: var(--muted-foreground);+ text-transform: uppercase;+ letter-spacing: 0.08em;+ font-size: 0.6875rem;+ font-weight: 600;+ color: var(--muted-foreground);- margin-top: 2.5rem;+ margin-top: 2.5rem;}#nd-sidebar a.w-full:hover,#nd-sidebar-mobile a.w-full:hover {- color: var(--foreground);- background-color: transparent;+ color: var(--foreground);+ background-color: transparent;}#nd-sidebar [data-radix-scroll-area-viewport],#nd-sidebar-mobile [data-radix-scroll-area-viewport] {- padding-bottom: 2rem;+ padding-bottom: 2rem;}#nd-sidebar [data-active="true"] svg {- color: var(--foreground);+ color: var(--foreground);}diff --git a/biome.json b/biome.jsonindex bcd936a3..c28bff36 100644--- a/biome.json+++ b/biome.json@@ -7,7 +7,14 @@},"files": {"ignoreUnknown": true,- "includes": ["**", "!node_modules", "!.next", "!dist", "!build"]+ "includes": [+ "**",+ "!node_modules",+ "!.next",+ "!dist",+ "!build",+ "!.claude/skills"+ ]},"formatter": {"enabled": true,@@ -19,7 +26,8 @@"rules": {"recommended": true,"suspicious": {- "noUnknownAtRules": "off"+ "noUnknownAtRules": "off",+ "noArrayIndexKey": "off"},"a11y": {"noSvgWithoutTitle": "off"@@ -30,6 +38,21 @@"react": "recommended"}},+ "overrides": [+ {+ "includes": ["components/ui/**"],+ "linter": {+ "rules": {+ "a11y": {+ "useSemanticElements": "off",+ "useFocusableInteractive": "off",+ "useKeyWithClickEvents": "off",+ "noLabelWithoutControl": "off"+ }+ }+ }+ }+ ],"assist": {"actions": {"source": {diff --git a/components/docs/code-block-command.tsx b/components/docs/code-block-command.tsxindex a0a19c7e..518015cc 100644--- a/components/docs/code-block-command.tsx+++ b/components/docs/code-block-command.tsx@@ -62,9 +62,7 @@ export function CodeBlockCommand({<divclassName={cn("not-prose relative overflow-hidden rounded-xl",- variant === "outline"- ? "border border-border bg-card"- : "bg-muted",+ variant === "outline" ? "border border-border bg-card" : "bg-muted",)}><TabsPrimitive.Rootdiff --git a/components/docs/component-card.tsx b/components/docs/component-card.tsxindex 20c2c830..8d46edfc 100644--- a/components/docs/component-card.tsx+++ b/components/docs/component-card.tsx@@ -3,11 +3,11 @@import { Player, type PlayerRef } from "@remotion/player";import Link from "next/link";import { useRef } from "react";+import { useAutoplay } from "@/app/(home)/components/use-autoplay";import { getDefaults } from "@/lib/customizer-config";import { cn } from "@/lib/utils";import registry from "@/registry/__index__";import type { CardItem } from "./component-card-grid";-import { useAutoplay } from "@/app/(home)/components/use-autoplay";function slugFromHref(href?: string) {if (!href) return undefined;diff --git a/components/docs/component-preview.tsx b/components/docs/component-preview.tsxindex dc448dad..3430056e 100644--- a/components/docs/component-preview.tsx+++ b/components/docs/component-preview.tsx@@ -2,9 +2,9 @@import { DynamicCodeBlock } from "fumadocs-ui/components/dynamic-codeblock";import { CheckIcon, LinkIcon, RotateCcwIcon } from "lucide-react";-import { Button } from "@/components/ui/button";import { useQueryStates } from "nuqs";import { Suspense, useEffect, useMemo, useRef, useState } from "react";+import { Button } from "@/components/ui/button";import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";import { useTrackEvent } from "@/lib/analytics";import { type ComponentConfig, getDefaults } from "@/lib/customizer-config";@@ -41,6 +41,7 @@ function Preview({}: {name: string;config: ComponentConfig;+ // biome-ignore lint/suspicious/noExplicitAny: dynamically-loaded Remotion composition, props shape varies per componentload: () => Promise<{ default: React.ComponentType<any> }>;}) {const trackEvent = useTrackEvent();diff --git a/components/docs/docs-header.tsx b/components/docs/docs-header.tsxindex e1c529ce..3b271563 100644--- a/components/docs/docs-header.tsx+++ b/components/docs/docs-header.tsx@@ -1,8 +1,8 @@+import { NavDesktop } from "@/app/(home)/components/header-nav";import {HeaderActions,HeaderLogo,} from "@/app/(home)/components/header-parts";-import { NavDesktop } from "@/app/(home)/components/header-nav";import { NAV_LINKS } from "@/config/site";/**diff --git a/components/docs/docs-sponsor.tsx b/components/docs/docs-sponsor.tsxindex dde25544..d9b78a73 100644--- a/components/docs/docs-sponsor.tsx+++ b/components/docs/docs-sponsor.tsx@@ -1,8 +1,8 @@-import React from "react";+import { ArrowUpRight } from "lucide-react";+import Link from "next/link";+import type React from "react";import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";import { getGoldSponsors } from "@/config/sponsors";-import Link from "next/link";-import { ArrowUpRight } from "lucide-react";import { cn } from "@/lib/utils";export const DocsSponsor: React.FC = () => {diff --git a/components/docs/examples/accordion-example.tsx b/components/docs/examples/accordion-example.tsxindex 54e4ce0b..bb353829 100644--- a/components/docs/examples/accordion-example.tsx+++ b/components/docs/examples/accordion-example.tsx@@ -4,7 +4,9 @@ import { Accordion } from "@/registry/remocn-ui/accordion";import { useAccordionTransition } from "@/registry/remocn-ui/accordion/use-accordion-transition";export const accordionExampleControls = [- "title", "content", "variant",+ "title",+ "content",+ "variant",] as const;export interface AccordionExampleProps {@@ -49,7 +51,9 @@ export const accordionExampleCode = (if (variant !== undefined && variant !== "default")props.push(`variant="${variant}"`);- const propsStr = props.length ? `\n ${props.join("\n ")}\n ` : "";+ const propsStr = props.length+ ? `\n ${props.join("\n ")}\n `+ : "";const hookOpts: string[] = [];if (variant !== undefined && variant !== "default")diff --git a/components/docs/examples/alert-dialog-example.tsx b/components/docs/examples/alert-dialog-example.tsxindex e49174d8..16ba02c0 100644--- a/components/docs/examples/alert-dialog-example.tsx+++ b/components/docs/examples/alert-dialog-example.tsx@@ -6,7 +6,10 @@ import { Button } from "@/registry/remocn-ui/button";import { useButtonTransition } from "@/registry/remocn-ui/button/use-button-transition";export const alertDialogExampleControls = [- "title", "description", "actionLabel", "cancelLabel",+ "title",+ "description",+ "actionLabel",+ "cancelLabel",] as const;export interface AlertDialogExampleProps {@@ -36,7 +39,10 @@ export const AlertDialogExampleScene = (p: AlertDialogExampleProps = {}) => {<Button label="Delete account" variant="destructive" style={trigger} /><AlertDialogtitle={p.title ?? "Delete account?"}- description={p.description ?? "This action cannot be undone. This will permanently remove your data from our servers."}+ description={+ p.description ??+ "This action cannot be undone. This will permanently remove your data from our servers."+ }actionLabel={p.actionLabel ?? "Delete"}cancelLabel={p.cancelLabel ?? "Cancel"}style={dialog}@@ -54,12 +60,22 @@ export const alertDialogExampleCode = (const cancelLabel = values.cancelLabel as string | undefined;const alertDialogProps: string[] = [];- if (title !== undefined && title !== "Delete account?") alertDialogProps.push(`title="${title}"`);- if (description !== undefined && description !== "This action cannot be undone. This will permanently remove your data from our servers.") alertDialogProps.push(`description="${description}"`);- if (actionLabel !== undefined && actionLabel !== "Delete") alertDialogProps.push(`actionLabel="${actionLabel}"`);- if (cancelLabel !== undefined && cancelLabel !== "Cancel") alertDialogProps.push(`cancelLabel="${cancelLabel}"`);+ if (title !== undefined && title !== "Delete account?")+ alertDialogProps.push(`title="${title}"`);+ if (+ description !== undefined &&+ description !==+ "This action cannot be undone. This will permanently remove your data from our servers."+ )+ alertDialogProps.push(`description="${description}"`);+ if (actionLabel !== undefined && actionLabel !== "Delete")+ alertDialogProps.push(`actionLabel="${actionLabel}"`);+ if (cancelLabel !== undefined && cancelLabel !== "Cancel")+ alertDialogProps.push(`cancelLabel="${cancelLabel}"`);- const alertDialogPropsStr = alertDialogProps.length ? ` ${alertDialogProps.join(" ")}` : "";+ const alertDialogPropsStr = alertDialogProps.length+ ? ` ${alertDialogProps.join(" ")}`+ : "";return `import { AlertDialog } from "@/components/remocn/alert-dialog";import { useAlertDialogTransition } from "@/components/remocn/use-alert-dialog-transition";diff --git a/components/docs/examples/backdrop-demo.tsx b/components/docs/examples/backdrop-demo.tsxindex 433f3f07..6e6eea71 100644--- a/components/docs/examples/backdrop-demo.tsx+++ b/components/docs/examples/backdrop-demo.tsx@@ -1,6 +1,6 @@"use client";-import { type BackdropFill, Backdrop } from "@/registry/remocn/backdrop";+import { Backdrop, type BackdropFill } from "@/registry/remocn/backdrop";export interface BackdropDemoProps {fillType?: "color" | "gradient" | "image";@@ -29,12 +29,7 @@ export function BackdropDemo({: { type: "gradient", value: gradient };return (- <Backdrop- fill={fill}- padding={padding}- radius={radius}- shadow={shadow}- >+ <Backdrop fill={fill} padding={padding} radius={radius} shadow={shadow}><divstyle={{width: "100%",diff --git a/components/docs/examples/blocks/index.tsx b/components/docs/examples/blocks/index.tsxindex 9da90bfa..77b8d7a6 100644--- a/components/docs/examples/blocks/index.tsx+++ b/components/docs/examples/blocks/index.tsx@@ -1,52 +1,52 @@import type { ComponentType } from "react";import { FPS, H, W } from "@/lib/customizer-config";import type { BackdropFill } from "@/registry/remocn/backdrop";-import {- SignupFlowExampleScene,- signupFlowExampleCode,-} from "../signup-flow-example";import {AiPromptFlowExampleScene,aiPromptFlowExampleCode,} from "../ai-prompt-flow-example";+import {+ BackdropColorScene,+ BackdropGradientScene,+ BackdropImageScene,+ BackdropLiveScene,+ backdropColorCode,+ backdropGradientCode,+ backdropImageCode,+ backdropLiveCode,+} from "../backdrop-variants";+import {+ ChatFlowExampleScene,+ chatFlowExampleCode,+} from "../chat-flow-example";import {CheckoutFlowExampleScene,checkoutFlowExampleCode,} from "../checkout-flow-example";+import {+ ImessageChatFlowExampleScene,+ imessageChatFlowExampleCode,+} from "../imessage-chat-flow-example";import {OnboardingStepperFlowExampleScene,onboardingStepperFlowExampleCode,} from "../onboarding-stepper-flow-example";+import {+ RollingNumberConfettiExampleScene,+ rollingNumberConfettiExampleCode,+} from "../rolling-number-confetti-example";import {SettingsToggleFlowExampleScene,settingsToggleFlowExampleCode,} from "../settings-toggle-flow-example";import {- ChatFlowExampleScene,- chatFlowExampleCode,-} from "../chat-flow-example";+ SignupFlowExampleScene,+ signupFlowExampleCode,+} from "../signup-flow-example";import {TelegramChatFlowExampleScene,telegramChatFlowExampleCode,} from "../telegram-chat-flow-example";-import {- ImessageChatFlowExampleScene,- imessageChatFlowExampleCode,-} from "../imessage-chat-flow-example";-import {- BackdropColorScene,- BackdropGradientScene,- BackdropImageScene,- BackdropLiveScene,- backdropColorCode,- backdropGradientCode,- backdropImageCode,- backdropLiveCode,-} from "../backdrop-variants";-import {- RollingNumberConfettiExampleScene,- rollingNumberConfettiExampleCode,-} from "../rolling-number-confetti-example";/*** Blocks scene registry — parallel to the ui-tier `examples` mapdiff --git a/components/docs/examples/checkbox-example.tsx b/components/docs/examples/checkbox-example.tsxindex c272bac3..8b260d92 100644--- a/components/docs/examples/checkbox-example.tsx+++ b/components/docs/examples/checkbox-example.tsx@@ -12,10 +12,13 @@ export interface CheckboxExampleProps {}export const CheckboxExampleScene = (p: CheckboxExampleProps = {}) => {- const style = useCheckboxTransition([- { at: 18, state: "checked", duration: 14 },- { at: 78, state: "unchecked", duration: 12 },- ], { primary: p.primary });+ const style = useCheckboxTransition(+ [+ { at: 18, state: "checked", duration: 14 },+ { at: 78, state: "unchecked", duration: 12 },+ ],+ { primary: p.primary },+ );return (<Checkboxlabel={p.label ?? "Accept terms and conditions"}diff --git a/components/docs/examples/combobox-example.tsx b/components/docs/examples/combobox-example.tsxindex fdd8c828..68d1719e 100644--- a/components/docs/examples/combobox-example.tsx+++ b/components/docs/examples/combobox-example.tsx@@ -38,8 +38,8 @@ export const ComboboxExampleScene = (p: ComboboxExampleProps = {}) => {// Animate the first row of the filtered list: idle → hover → press → selected.// Once "ba" is fully revealed, only Banana remains; row 0 of the filtered list.const itemStyle = useSelectItemTransition([- { at: 60, state: "hover", duration: 8 },- { at: 72, state: "press", duration: 6 },+ { at: 60, state: "hover", duration: 8 },+ { at: 72, state: "press", duration: 6 },{ at: 80, state: "selected", duration: 8 },]);@@ -64,7 +64,9 @@ export const comboboxExampleCode = (const props: string[] = [];if (placeholder !== undefined && placeholder !== "Select a fruit…")props.push(`placeholder="${placeholder}"`);- const extraProps = props.length ? `\n ${props.join("\n ")}` : "";+ const extraProps = props.length+ ? `\n ${props.join("\n ")}`+ : "";const optsStr = "";diff --git a/components/docs/examples/command-menu-example.tsx b/components/docs/examples/command-menu-example.tsxindex 080419eb..eca19409 100644--- a/components/docs/examples/command-menu-example.tsx+++ b/components/docs/examples/command-menu-example.tsx@@ -2,7 +2,7 @@import { useCurrentFrame } from "remotion";import { revealCount } from "@/lib/remocn-ui";-import { CommandMenu, filterCommandItems } from "@/registry/remocn-ui/command-menu";+import { CommandMenu } from "@/registry/remocn-ui/command-menu";import { useCommandMenuTransition } from "@/registry/remocn-ui/command-menu/use-command-menu-transition";import { useCommandMenuItemTransition } from "@/registry/remocn-ui/command-menu-item/use-command-menu-item-transition";@@ -15,7 +15,7 @@ const CPS = 4;export const commandMenuExampleControls = [] as const;-export interface CommandMenuExampleProps {}+export type CommandMenuExampleProps = Record<string, never>;export const CommandMenuExampleScene = (_p: CommandMenuExampleProps = {}) => {const frame = useCurrentFrame();@@ -37,8 +37,8 @@ export const CommandMenuExampleScene = (_p: CommandMenuExampleProps = {}) => {// The filtered list shrinks as more characters are revealed. We animate the// first row of the filtered list (which becomes "Settings" once "set" is typed).const itemStyle = useCommandMenuItemTransition([- { at: 84, state: "hover", duration: 8 },- { at: 92, state: "press", duration: 6 },+ { at: 84, state: "hover", duration: 8 },+ { at: 92, state: "press", duration: 6 },{ at: 100, state: "selected", duration: 8 },]);@@ -55,7 +55,7 @@ export const CommandMenuExampleScene = (_p: CommandMenuExampleProps = {}) => {};export const commandMenuExampleCode = (- values: Record<string, unknown> = {},+ _values: Record<string, unknown> = {},): string => {const extraProps = "";const optsStr = "";diff --git a/components/docs/examples/context-menu-example.tsx b/components/docs/examples/context-menu-example.tsxindex 517496ef..6b66e0d3 100644--- a/components/docs/examples/context-menu-example.tsx+++ b/components/docs/examples/context-menu-example.tsx@@ -1,11 +1,11 @@"use client";-import { Cursor } from "@/registry/remocn-ui/cursor";-import { useCursorPath } from "@/registry/remocn-ui/cursor/use-cursor-path";+import { useCurrentState } from "@/lib/remocn-ui";import { ContextMenu } from "@/registry/remocn-ui/context-menu";import { useContextMenuTransition } from "@/registry/remocn-ui/context-menu/use-context-menu-transition";+import { Cursor } from "@/registry/remocn-ui/cursor";+import { useCursorPath } from "@/registry/remocn-ui/cursor/use-cursor-path";import { useDropdownMenuItemTransition } from "@/registry/remocn-ui/dropdown-menu-item/use-dropdown-menu-item-transition";-import { useCurrentState } from "@/lib/remocn-ui";// The cursor right-clicks near the center of the file card.// The context menu opens AT this point (its top-left corner = click position).@@ -25,18 +25,18 @@ export const contextMenuExampleControls = ["items"] as const;export const ContextMenuExampleScene = (p: ContextMenuExampleProps = {}) => {// Cursor: park → ease to card → right-click → move DOWN onto row 1 → click it → leave.const cursorStyle = useCursorPath([- { at: 0, x: 80, y: 60 },- { at: 30, x: CLICK_X, y: CLICK_Y, duration: 26 },- { at: 42, x: CLICK_X, y: CLICK_Y, click: true, duration: 0 },- { at: 58, x: ROW1_X, y: ROW1_Y, duration: 14 },- { at: 72, x: ROW1_X, y: ROW1_Y, click: true, duration: 0 },+ { at: 0, x: 80, y: 60 },+ { at: 30, x: CLICK_X, y: CLICK_Y, duration: 26 },+ { at: 42, x: CLICK_X, y: CLICK_Y, click: true, duration: 0 },+ { at: 58, x: ROW1_X, y: ROW1_Y, duration: 14 },+ { at: 72, x: ROW1_X, y: ROW1_Y, click: true, duration: 0 },{ at: 104, x: ROW1_X + 180, y: ROW1_Y + 80, duration: 20 },]);// Menu: opens just after the right-click, closes after the row interaction.const menuStyle = useContextMenuTransition([- { at: 44, state: "opened", duration: 10 },- { at: 92, state: "closed", duration: 10 },+ { at: 44, state: "opened", duration: 10 },+ { at: 92, state: "closed", duration: 10 },]);// Row 1 ("Reload"): idle → hover → press → idle.@@ -44,7 +44,7 @@ export const ContextMenuExampleScene = (p: ContextMenuExampleProps = {}) => {[{ at: 60, state: "hover" },{ at: 72, state: "press" },- { at: 82, state: "idle" },+ { at: 82, state: "idle" },],"idle",);@@ -69,7 +69,8 @@ export const ContextMenuExampleScene = (p: ContextMenuExampleProps = {}) => {display: "flex",alignItems: "center",gap: 12,- fontFamily: "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",+ fontFamily:+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",}}><svg width={20} height={20} viewBox="0 0 24 24" fill="none">@@ -80,9 +81,17 @@ export const ContextMenuExampleScene = (p: ContextMenuExampleProps = {}) => {strokeLinecap="round"strokeLinejoin="round"/>- <path d="M14 2v6h6" stroke="oklch(0.55 0 0)" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />+ <path+ d="M14 2v6h6"+ stroke="oklch(0.55 0 0)"+ strokeWidth="1.5"+ strokeLinecap="round"+ strokeLinejoin="round"+ /></svg>- <span style={{ fontSize: 14, fontWeight: 500, color: "oklch(0.3 0 0)" }}>+ <span+ style={{ fontSize: 14, fontWeight: 500, color: "oklch(0.3 0 0)" }}+ >report.pdf</span></div>@@ -114,7 +123,9 @@ export const contextMenuExampleCode = (const props: string[] = [];if (items !== undefined) props.push(`items={${JSON.stringify(items)}}`);- const extraProps = props.length ? `\n ${props.join("\n ")}` : "";+ const extraProps = props.length+ ? `\n ${props.join("\n ")}`+ : "";return `import { Cursor } from "@/components/remocn/cursor";import { useCursorPath } from "@/components/remocn/use-cursor-path";diff --git a/components/docs/examples/cursor-example.tsx b/components/docs/examples/cursor-example.tsxindex 77a5efff..20b0cbad 100644--- a/components/docs/examples/cursor-example.tsx+++ b/components/docs/examples/cursor-example.tsx@@ -1,9 +1,9 @@"use client";-import { Cursor } from "@/registry/remocn-ui/cursor";-import { useCursorPath } from "@/registry/remocn-ui/cursor/use-cursor-path";import { Button } from "@/registry/remocn-ui/button";import { useButtonTransition } from "@/registry/remocn-ui/button/use-button-transition";+import { Cursor } from "@/registry/remocn-ui/cursor";+import { useCursorPath } from "@/registry/remocn-ui/cursor/use-cursor-path";const BTN_X = 620; // cursor tip target X (the pointer hotspot lands here)const BTN_Y = 360; // cursor tip target Ydiff --git a/components/docs/examples/dialog-example.tsx b/components/docs/examples/dialog-example.tsxindex 1b082a71..3d5b2032 100644--- a/components/docs/examples/dialog-example.tsx+++ b/components/docs/examples/dialog-example.tsx@@ -6,7 +6,10 @@ import { Dialog } from "@/registry/remocn-ui/dialog";import { useDialogTransition } from "@/registry/remocn-ui/dialog/use-dialog-transition";export const dialogExampleControls = [- "title", "description", "actionLabel", "cancelLabel",+ "title",+ "description",+ "actionLabel",+ "cancelLabel",] as const;export interface DialogExampleProps {@@ -33,7 +36,10 @@ export const DialogExampleScene = (p: DialogExampleProps = {}) => {<Button label="Edit profile" style={trigger} /><Dialogtitle={p.title ?? "Edit profile"}- description={p.description ?? "Make changes to your profile here. Click save when you're done."}+ description={+ p.description ??+ "Make changes to your profile here. Click save when you're done."+ }actionLabel={p.actionLabel ?? "Save changes"}cancelLabel={p.cancelLabel ?? "Cancel"}style={dialog}@@ -51,10 +57,18 @@ export const dialogExampleCode = (const cancelLabel = values.cancelLabel as string | undefined;const dialogProps: string[] = [];- if (title !== undefined && title !== "Edit profile") dialogProps.push(`title="${title}"`);- if (description !== undefined && description !== "Make changes to your profile here. Click save when you're done.") dialogProps.push(`description="${description}"`);- if (actionLabel !== undefined && actionLabel !== "Save changes") dialogProps.push(`actionLabel="${actionLabel}"`);- if (cancelLabel !== undefined && cancelLabel !== "Cancel") dialogProps.push(`cancelLabel="${cancelLabel}"`);+ if (title !== undefined && title !== "Edit profile")+ dialogProps.push(`title="${title}"`);+ if (+ description !== undefined &&+ description !==+ "Make changes to your profile here. Click save when you're done."+ )+ dialogProps.push(`description="${description}"`);+ if (actionLabel !== undefined && actionLabel !== "Save changes")+ dialogProps.push(`actionLabel="${actionLabel}"`);+ if (cancelLabel !== undefined && cancelLabel !== "Cancel")+ dialogProps.push(`cancelLabel="${cancelLabel}"`);const dialogPropsStr = dialogProps.length ? ` ${dialogProps.join(" ")}` : "";diff --git a/components/docs/examples/dither-dissolve-example.tsx b/components/docs/examples/dither-dissolve-example.tsxindex 4e396e1c..2c757098 100644--- a/components/docs/examples/dither-dissolve-example.tsx+++ b/components/docs/examples/dither-dissolve-example.tsx@@ -1,7 +1,7 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";import { ditherDissolve } from "@/registry/remocn/dither-dissolve";const FONT_FAMILY =diff --git a/components/docs/examples/drawer-example.tsx b/components/docs/examples/drawer-example.tsxindex 8ff63d12..957b7b37 100644--- a/components/docs/examples/drawer-example.tsx+++ b/components/docs/examples/drawer-example.tsx@@ -6,7 +6,10 @@ import { Drawer } from "@/registry/remocn-ui/drawer";import { useDrawerTransition } from "@/registry/remocn-ui/drawer/use-drawer-transition";export const drawerExampleControls = [- "title", "description", "actionLabel", "cancelLabel",+ "title",+ "description",+ "actionLabel",+ "cancelLabel",] as const;export interface DrawerExampleProps {@@ -33,7 +36,10 @@ export const DrawerExampleScene = (p: DrawerExampleProps = {}) => {<Button label="Edit profile" style={trigger} /><Drawertitle={p.title ?? "Edit profile"}- description={p.description ?? "Make changes to your profile here. Click save when you're done."}+ description={+ p.description ??+ "Make changes to your profile here. Click save when you're done."+ }actionLabel={p.actionLabel ?? "Save changes"}cancelLabel={p.cancelLabel ?? "Cancel"}style={drawer}@@ -51,10 +57,18 @@ export const drawerExampleCode = (const cancelLabel = values.cancelLabel as string | undefined;const drawerProps: string[] = [];- if (title !== undefined && title !== "Edit profile") drawerProps.push(`title="${title}"`);- if (description !== undefined && description !== "Make changes to your profile here. Click save when you're done.") drawerProps.push(`description="${description}"`);- if (actionLabel !== undefined && actionLabel !== "Save changes") drawerProps.push(`actionLabel="${actionLabel}"`);- if (cancelLabel !== undefined && cancelLabel !== "Cancel") drawerProps.push(`cancelLabel="${cancelLabel}"`);+ if (title !== undefined && title !== "Edit profile")+ drawerProps.push(`title="${title}"`);+ if (+ description !== undefined &&+ description !==+ "Make changes to your profile here. Click save when you're done."+ )+ drawerProps.push(`description="${description}"`);+ if (actionLabel !== undefined && actionLabel !== "Save changes")+ drawerProps.push(`actionLabel="${actionLabel}"`);+ if (cancelLabel !== undefined && cancelLabel !== "Cancel")+ drawerProps.push(`cancelLabel="${cancelLabel}"`);const drawerPropsStr = drawerProps.length ? ` ${drawerProps.join(" ")}` : "";diff --git a/components/docs/examples/dropdown-menu-example.tsx b/components/docs/examples/dropdown-menu-example.tsxindex 5e7b42a7..4cdad31f 100644--- a/components/docs/examples/dropdown-menu-example.tsx+++ b/components/docs/examples/dropdown-menu-example.tsx@@ -1,10 +1,10 @@"use client";+import { useCurrentState } from "@/lib/remocn-ui";+import { useButtonTransition } from "@/registry/remocn-ui/button/use-button-transition";import { DropdownMenu } from "@/registry/remocn-ui/dropdown-menu";import { useDropdownMenuTransition } from "@/registry/remocn-ui/dropdown-menu/use-dropdown-menu-transition";import { useDropdownMenuItemTransition } from "@/registry/remocn-ui/dropdown-menu-item/use-dropdown-menu-item-transition";-import { useButtonTransition } from "@/registry/remocn-ui/button/use-button-transition";-import { useCurrentState } from "@/lib/remocn-ui";export const dropdownMenuExampleControls = ["label"] as const;@@ -54,7 +54,8 @@ export const dropdownMenuExampleCode = (const label = values.label as string | undefined;const props: string[] = [];- if (label !== undefined && label !== "Options") props.push(`label="${label}"`);+ if (label !== undefined && label !== "Options")+ props.push(`label="${label}"`);const extraProps = props.length ? `\n ${props.join("\n ")}` : "";return `import { DropdownMenu } from "@/components/remocn/dropdown-menu";diff --git a/components/docs/examples/fade-through-example.tsx b/components/docs/examples/fade-through-example.tsxindex 2e41a829..801bac52 100644--- a/components/docs/examples/fade-through-example.tsx+++ b/components/docs/examples/fade-through-example.tsx@@ -6,7 +6,10 @@ import { FadeThrough } from "@/registry/remocn/fade-through";export const FadeThroughExampleScene = () => (<><Sequence durationInFrames={40}>- <FadeThrough fromText="Calm transitions." toText="Fade through content." />+ <FadeThrough+ fromText="Calm transitions."+ toText="Fade through content."+ /></Sequence><Sequence from={40} durationInFrames={40}><FadeThroughdiff --git a/components/docs/examples/focus-pull-example.tsx b/components/docs/examples/focus-pull-example.tsxindex 75bcfcc6..200607ad 100644--- a/components/docs/examples/focus-pull-example.tsx+++ b/components/docs/examples/focus-pull-example.tsx@@ -1,7 +1,7 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";import { focusPull } from "@/registry/remocn/focus-pull";const FONT_FAMILY =diff --git a/components/docs/examples/grain-dissolve-example.tsx b/components/docs/examples/grain-dissolve-example.tsxindex 4a6c9f7d..7e9b421d 100644--- a/components/docs/examples/grain-dissolve-example.tsx+++ b/components/docs/examples/grain-dissolve-example.tsx@@ -1,10 +1,10 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill, Sequence } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";import {- grainDissolve,type GrainDissolveProps,+ grainDissolve,} from "@/registry/remocn/grain-dissolve";import { SoftBlurIn } from "@/registry/remocn/soft-blur-in";diff --git a/components/docs/examples/index.tsx b/components/docs/examples/index.tsxindex 062b699b..a6697fcd 100644--- a/components/docs/examples/index.tsx+++ b/components/docs/examples/index.tsx@@ -9,79 +9,46 @@ import {AlertDialogExampleScene,alertDialogExampleCode,} from "./alert-dialog-example";-import { DialogExampleScene, dialogExampleCode } from "./dialog-example";-import { SheetExampleScene, sheetExampleCode } from "./sheet-example";-import { DrawerExampleScene, drawerExampleCode } from "./drawer-example";+import { BlurInExampleScene, blurInExampleCode } from "./blur-in-example";import { ButtonExampleScene, buttonExampleCode } from "./button-example";-import {- CheckboxExampleScene,- checkboxExampleCode,-} from "./checkbox-example";-import { RadioExampleScene, radioExampleCode } from "./radio-example";-import { SwitchExampleScene, switchExampleCode } from "./switch-example";-import { InputExampleScene, inputExampleCode } from "./input-example";-import { SelectExampleScene, selectExampleCode } from "./select-example";-import {- DropdownMenuExampleScene,- dropdownMenuExampleCode,-} from "./dropdown-menu-example";-import { TabsExampleScene, tabsExampleCode } from "./tabs-example";-import { CursorExampleScene, cursorExampleCode } from "./cursor-example";-import { ToastExampleScene, toastExampleCode } from "./toast-example";-import {- MessageBubbleExampleScene,- messageBubbleExampleCode,-} from "./message-bubble-example";-import {- TypingIndicatorExampleScene,- typingIndicatorExampleCode,-} from "./typing-indicator-example";+import { CheckboxExampleScene, checkboxExampleCode } from "./checkbox-example";+import { ComboboxExampleScene, comboboxExampleCode } from "./combobox-example";import {CommandMenuExampleScene,commandMenuExampleCode,} from "./command-menu-example";-import { TooltipExampleScene, tooltipExampleCode } from "./tooltip-example";-import {- ProgressExampleScene,- progressExampleCode,-} from "./progress-example";-import {- SkeletonExampleScene,- skeletonExampleCode,-} from "./skeleton-example";-import {- SliderExampleScene,- sliderExampleCode,-} from "./slider-example";-import {- ComboboxExampleScene,- comboboxExampleCode,-} from "./combobox-example";-import {- PopoverExampleScene,- popoverExampleCode,-} from "./popover-example";import {ContextMenuExampleScene,contextMenuExampleCode,} from "./context-menu-example";+import { CursorExampleScene, cursorExampleCode } from "./cursor-example";+import { DialogExampleScene, dialogExampleCode } from "./dialog-example";+import { DrawerExampleScene, drawerExampleCode } from "./drawer-example";import {- ToggleGroupExampleScene,- toggleGroupExampleCode,-} from "./toggle-group-example";+ DropdownMenuExampleScene,+ dropdownMenuExampleCode,+} from "./dropdown-menu-example";+import {+ FadeThroughExampleScene,+ fadeThroughExampleCode,+} from "./fade-through-example";+import { InputExampleScene, inputExampleCode } from "./input-example";+import {+ MessageBubbleExampleScene,+ messageBubbleExampleCode,+} from "./message-bubble-example";import {- StepperExampleScene,- stepperExampleCode,-} from "./stepper-example";+ PerWordCrossfadeExampleScene,+ perWordCrossfadeExampleCode,+} from "./per-word-crossfade-example";+import { PopoverExampleScene, popoverExampleCode } from "./popover-example";+import { ProgressExampleScene, progressExampleCode } from "./progress-example";+import { RadioExampleScene, radioExampleCode } from "./radio-example";import {ResizableExampleScene,resizableExampleCode,} from "./resizable-example";-import { BlurInExampleScene, blurInExampleCode } from "./blur-in-example";-import {- FadeThroughExampleScene,- fadeThroughExampleCode,-} from "./fade-through-example";+import { SelectExampleScene, selectExampleCode } from "./select-example";import {SharedAxisYExampleScene,sharedAxisYExampleCode,@@ -90,10 +57,22 @@ import {SharedAxisZExampleScene,sharedAxisZExampleCode,} from "./shared-axis-z-example";+import { SheetExampleScene, sheetExampleCode } from "./sheet-example";+import { SkeletonExampleScene, skeletonExampleCode } from "./skeleton-example";+import { SliderExampleScene, sliderExampleCode } from "./slider-example";+import { StepperExampleScene, stepperExampleCode } from "./stepper-example";+import { SwitchExampleScene, switchExampleCode } from "./switch-example";+import { TabsExampleScene, tabsExampleCode } from "./tabs-example";+import { ToastExampleScene, toastExampleCode } from "./toast-example";import {- PerWordCrossfadeExampleScene,- perWordCrossfadeExampleCode,-} from "./per-word-crossfade-example";+ ToggleGroupExampleScene,+ toggleGroupExampleCode,+} from "./toggle-group-example";+import { TooltipExampleScene, tooltipExampleCode } from "./tooltip-example";+import {+ TypingIndicatorExampleScene,+ typingIndicatorExampleCode,+} from "./typing-indicator-example";export interface ExampleEntry {Component: ComponentType;diff --git a/components/docs/examples/input-example.tsx b/components/docs/examples/input-example.tsxindex 1b4c9c8b..468eebbd 100644--- a/components/docs/examples/input-example.tsx+++ b/components/docs/examples/input-example.tsx@@ -4,7 +4,10 @@ import { Input } from "@/registry/remocn-ui/input";import { useInputTransition } from "@/registry/remocn-ui/input/use-input-transition";export const inputExampleControls = [- "placeholder", "value", "size", "primary",+ "placeholder",+ "value",+ "size",+ "primary",] as const;export interface InputExampleProps {@@ -15,12 +18,15 @@ export interface InputExampleProps {}export const InputExampleScene = (p: InputExampleProps = {}) => {- const style = useInputTransition([- { at: 10, state: "hover", duration: 8 },- { at: 24, state: "active", duration: 10 },- { at: 40, state: "typing", duration: 22 },- { at: 78, state: "invalid", duration: 12 },- ], { primary: p.primary });+ const style = useInputTransition(+ [+ { at: 10, state: "hover", duration: 8 },+ { at: 24, state: "active", duration: 10 },+ { at: 40, state: "typing", duration: 22 },+ { at: 78, state: "invalid", duration: 12 },+ ],+ { primary: p.primary },+ );return (<Inputplaceholder={p.placeholder ?? "[email protected]"}@@ -48,7 +54,9 @@ export const inputExampleCode = (if (size !== undefined && size !== "default") props.push(`size="${size}"`);if (primary !== undefined) props.push(`primary="${primary}"`);- const propsStr = props.length ? `\n ${props.join("\n ")}\n ` : "";+ const propsStr = props.length+ ? `\n ${props.join("\n ")}\n `+ : "";const hookOpts: string[] = [];if (primary !== undefined) hookOpts.push(`primary: "${primary}"`);diff --git a/components/docs/examples/message-bubble-example.tsx b/components/docs/examples/message-bubble-example.tsxindex 54be5073..5437f1dc 100644--- a/components/docs/examples/message-bubble-example.tsx+++ b/components/docs/examples/message-bubble-example.tsx@@ -11,7 +11,11 @@ import { useMessageBubbleTransition } from "@/registry/remocn-ui/message-bubble/const REVEAL_AT = 16;const REACT_AT = 44;-export const messageBubbleExampleControls = ["text", "variant", "reaction"] as const;+export const messageBubbleExampleControls = [+ "text",+ "variant",+ "reaction",+] as const;export interface MessageBubbleExampleProps {text?: string;@@ -26,7 +30,7 @@ export const MessageBubbleExampleScene = (const { fps } = useVideoConfig();const variant = p.variant ?? "incoming";const text = p.text ?? "Yep, pushing it live now";- const reaction = p.reaction === "" ? undefined : p.reaction ?? "🔥";+ const reaction = p.reaction === "" ? undefined : (p.reaction ?? "🔥");const bubbleStyle = useMessageBubbleTransition([{ at: REVEAL_AT, state: "visible", duration: 14 },@@ -76,11 +80,15 @@ export const MessageBubbleExampleScene = (export const messageBubbleExampleCode = (values: Record<string, unknown> = {},): string => {- const text = (values.text as string | undefined) ?? "Yep, pushing it live now";+ const text =+ (values.text as string | undefined) ?? "Yep, pushing it live now";const variant = (values.variant as string | undefined) ?? "incoming";const reaction = values.reaction as string | undefined;- const props: string[] = [` variant="${variant}"`, " style={bubbleStyle}"];+ const props: string[] = [+ ` variant="${variant}"`,+ " style={bubbleStyle}",+ ];if (reaction !== undefined && reaction !== "")props.push(` reaction="${reaction}"`);diff --git a/components/docs/examples/onboarding-stepper-flow-example.tsx b/components/docs/examples/onboarding-stepper-flow-example.tsxindex 3c6d2374..05362447 100644--- a/components/docs/examples/onboarding-stepper-flow-example.tsx+++ b/components/docs/examples/onboarding-stepper-flow-example.tsx@@ -14,7 +14,9 @@ import { OnboardingStepperFlow } from "@/registry/remocn-ui/onboarding-stepper-f* advance 64; plan radio 90; Next press 100 → stepper advance 104; switch 130;* Finish press 150 → success 156. durationInFrames 175 (~160 final ease + settle).*/-export const OnboardingStepperFlowExampleScene = () => <OnboardingStepperFlow />;+export const OnboardingStepperFlowExampleScene = () => (+ <OnboardingStepperFlow />+);export const onboardingStepperFlowExampleCode = (): string => {return `import { OnboardingStepperFlow } from "@/components/remocn/onboarding-stepper-flow";diff --git a/components/docs/examples/perlin-dissolve-example.tsx b/components/docs/examples/perlin-dissolve-example.tsxindex 9908da57..6870540b 100644--- a/components/docs/examples/perlin-dissolve-example.tsx+++ b/components/docs/examples/perlin-dissolve-example.tsx@@ -1,7 +1,7 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill, Sequence } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";import { perlinDissolve } from "@/registry/remocn/perlin-dissolve";import { SoftBlurIn } from "@/registry/remocn/soft-blur-in";@@ -52,7 +52,12 @@ export function PerlinDissolveExampleScene({</TransitionSeries.Sequence><TransitionSeries.Transitiontiming={linearTiming({ durationInFrames: 104 })}- presentation={perlinDissolve({ colorFront, colorBack, softness, speed })}+ presentation={perlinDissolve({+ colorFront,+ colorBack,+ softness,+ speed,+ })}/><TransitionSeries.Sequence durationInFrames={110}><Sequence from={52}>diff --git a/components/docs/examples/popover-example.tsx b/components/docs/examples/popover-example.tsxindex 83bf3174..10333ab7 100644--- a/components/docs/examples/popover-example.tsx+++ b/components/docs/examples/popover-example.tsx@@ -11,19 +11,19 @@ const CHIP_Y = 360;export const popoverExampleControls = [] as const;-export interface PopoverExampleProps {}+export type PopoverExampleProps = Record<string, never>;export const PopoverExampleScene = (_p: PopoverExampleProps = {}) => {// Cursor: park top-left → ease onto the chip → hover → leave.const cursorStyle = useCursorPath([- { at: 0, x: 80, y: 60 },- { at: 28, x: CHIP_X, y: CHIP_Y, duration: 24 },- { at: 110, x: 200, y: 200, duration: 20 },+ { at: 0, x: 80, y: 60 },+ { at: 28, x: CHIP_X, y: CHIP_Y, duration: 24 },+ { at: 110, x: 200, y: 200, duration: 20 },]);// Hover-card popover: opens shortly after the cursor arrives, closes as it leaves.const popoverStyle = usePopoverTransition([- { at: 36, state: "opened", duration: 10 },+ { at: 36, state: "opened", duration: 10 },{ at: 100, state: "closed", duration: 10 },]);@@ -51,7 +51,8 @@ export const PopoverExampleScene = (_p: PopoverExampleProps = {}) => {border: "1px solid oklch(0.87 0 0)",fontSize: 14,fontWeight: 500,- fontFamily: "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",+ fontFamily:+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",color: "oklch(0.3 0 0)",cursor: "default",}}@@ -68,11 +69,7 @@ export const PopoverExampleScene = (_p: PopoverExampleProps = {}) => {transform: "translateX(-50%)",}}>- <Popover- style={popoverStyle}- side="top"- width={240}- >+ <Popover style={popoverStyle} side="top" width={240}>{/* Hover-card content: avatar + name + bio */}<div style={{ display: "flex", gap: 12, alignItems: "flex-start" }}>{/* Avatar placeholder */}@@ -91,7 +88,8 @@ export const PopoverExampleScene = (_p: PopoverExampleProps = {}) => {fontSize: 14,fontWeight: 600,letterSpacing: "-0.01em",- fontFamily: "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",+ fontFamily:+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",}}>Alex Smith@@ -100,7 +98,8 @@ export const PopoverExampleScene = (_p: PopoverExampleProps = {}) => {style={{fontSize: 12,color: "oklch(0.55 0 0)",- fontFamily: "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",+ fontFamily:+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",}}>@alexsmith@@ -111,7 +110,8 @@ export const PopoverExampleScene = (_p: PopoverExampleProps = {}) => {lineHeight: 1.4,color: "oklch(0.4 0 0)",marginTop: 4,- fontFamily: "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",+ fontFamily:+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",}}>Product designer. Building in public.diff --git a/components/docs/examples/progress-example.tsx b/components/docs/examples/progress-example.tsxindex 3fd23148..9f32208f 100644--- a/components/docs/examples/progress-example.tsx+++ b/components/docs/examples/progress-example.tsx@@ -13,8 +13,8 @@ export const ProgressExampleScene = (p: ProgressExampleProps = {}) => {// Bar fills from 0 → 62 (arrives at frame 40), stalls for ~60 frames as if// waiting on a slow operation, then resumes to 100 (arrives at frame 130).const progressStyle = useProgressTransition([- { at: 0, value: 0 },- { at: 40, value: 62, duration: 36 },+ { at: 0, value: 0 },+ { at: 40, value: 62, duration: 36 },{ at: 130, value: 100, duration: 30 },]);@@ -28,7 +28,11 @@ export const ProgressExampleScene = (p: ProgressExampleProps = {}) => {justifyContent: "center",}}>- <Progress style={progressStyle} showLabel={p.showLabel ?? true} width={320} />+ <Progress+ style={progressStyle}+ showLabel={p.showLabel ?? true}+ width={320}+ /></div>);};diff --git a/components/docs/examples/push-through-example.tsx b/components/docs/examples/push-through-example.tsxindex addf9020..b5f3d556 100644--- a/components/docs/examples/push-through-example.tsx+++ b/components/docs/examples/push-through-example.tsx@@ -1,7 +1,7 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";import { pushThrough } from "@/registry/remocn/push-through";const FONT_FAMILY =diff --git a/components/docs/examples/radio-example.tsx b/components/docs/examples/radio-example.tsxindex b0eeddb6..055423a2 100644--- a/components/docs/examples/radio-example.tsx+++ b/components/docs/examples/radio-example.tsx@@ -12,10 +12,13 @@ export interface RadioExampleProps {}export const RadioExampleScene = (p: RadioExampleProps = {}) => {- const style = useRadioTransition([- { at: 18, state: "checked", duration: 14 },- { at: 78, state: "unchecked", duration: 12 },- ], { primary: p.primary });+ const style = useRadioTransition(+ [+ { at: 18, state: "checked", duration: 14 },+ { at: 78, state: "unchecked", duration: 12 },+ ],+ { primary: p.primary },+ );return (<Radiolabel={p.label ?? "Subscribe to updates"}diff --git a/components/docs/examples/resizable-example.tsx b/components/docs/examples/resizable-example.tsxindex 78d55421..bb961bf6 100644--- a/components/docs/examples/resizable-example.tsx+++ b/components/docs/examples/resizable-example.tsx@@ -2,9 +2,9 @@import { Cursor } from "@/registry/remocn-ui/cursor";import { useCursorPath } from "@/registry/remocn-ui/cursor/use-cursor-path";+import type { ResizableDirection } from "@/registry/remocn-ui/resizable";import { Resizable } from "@/registry/remocn-ui/resizable";import { useResizableTransition } from "@/registry/remocn-ui/resizable/use-resizable-transition";-import type { ResizableDirection } from "@/registry/remocn-ui/resizable";const X_CENTER = 640;const X_RIGHT = 750;@@ -56,8 +56,11 @@ export const resizableExampleCode = (const direction = values.direction as string | undefined;const props: string[] = [];- if (direction !== undefined && direction !== "horizontal") props.push(`direction="${direction}"`);- const resizableExtraProps = props.length ? `\n ${props.join("\n ")}\n ` : "";+ if (direction !== undefined && direction !== "horizontal")+ props.push(`direction="${direction}"`);+ const resizableExtraProps = props.length+ ? `\n ${props.join("\n ")}\n `+ : "";return `import { Cursor } from "@/components/remocn/cursor";import { useCursorPath } from "@/components/remocn/use-cursor-path";diff --git a/components/docs/examples/ripple-zoom-example.tsx b/components/docs/examples/ripple-zoom-example.tsxindex fbd3d844..cffd003f 100644--- a/components/docs/examples/ripple-zoom-example.tsx+++ b/components/docs/examples/ripple-zoom-example.tsx@@ -1,7 +1,7 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";import { rippleZoom } from "@/registry/remocn/ripple-zoom";const FONT_FAMILY =@@ -52,7 +52,13 @@ export function RippleZoomExampleScene({</TransitionSeries.Sequence><TransitionSeries.Transitiontiming={linearTiming({ durationInFrames: 88 })}- presentation={rippleZoom({ zoom, intensity, softness, colorBack, speed })}+ presentation={rippleZoom({+ zoom,+ intensity,+ softness,+ colorBack,+ speed,+ })}/><TransitionSeries.Sequence durationInFrames={102}><Scene label="Ripple Zoom" />diff --git a/components/docs/examples/shared-axis-y-example.tsx b/components/docs/examples/shared-axis-y-example.tsxindex 16cbb0dd..56eb7cf7 100644--- a/components/docs/examples/shared-axis-y-example.tsx+++ b/components/docs/examples/shared-axis-y-example.tsx@@ -6,7 +6,10 @@ import { SharedAxisY } from "@/registry/remocn/shared-axis-y";export const SharedAxisYExampleScene = () => (<><Sequence durationInFrames={40}>- <SharedAxisY fromText="Layered navigation." toText="Hierarchy made clear." />+ <SharedAxisY+ fromText="Layered navigation."+ toText="Hierarchy made clear."+ /></Sequence><Sequence from={40} durationInFrames={40}><SharedAxisYdiff --git a/components/docs/examples/shared-axis-z-example.tsx b/components/docs/examples/shared-axis-z-example.tsxindex 422c79a3..928200e9 100644--- a/components/docs/examples/shared-axis-z-example.tsx+++ b/components/docs/examples/shared-axis-z-example.tsx@@ -6,10 +6,16 @@ import { SharedAxisZ } from "@/registry/remocn/shared-axis-z";export const SharedAxisZExampleScene = () => (<><Sequence durationInFrames={40}>- <SharedAxisZ fromText="Zooming between states." toText="Elevate and settle." />+ <SharedAxisZ+ fromText="Zooming between states."+ toText="Elevate and settle."+ /></Sequence><Sequence from={40} durationInFrames={40}>- <SharedAxisZ fromText="Elevate and settle." toText="Scale with purpose." />+ <SharedAxisZ+ fromText="Elevate and settle."+ toText="Scale with purpose."+ /></Sequence></>);diff --git a/components/docs/examples/sheet-example.tsx b/components/docs/examples/sheet-example.tsxindex 5f9a48df..71594eb9 100644--- a/components/docs/examples/sheet-example.tsx+++ b/components/docs/examples/sheet-example.tsx@@ -6,7 +6,10 @@ import { Sheet } from "@/registry/remocn-ui/sheet";import { useSheetTransition } from "@/registry/remocn-ui/sheet/use-sheet-transition";export const sheetExampleControls = [- "title", "description", "actionLabel", "cancelLabel",+ "title",+ "description",+ "actionLabel",+ "cancelLabel",] as const;export interface SheetExampleProps {@@ -33,7 +36,10 @@ export const SheetExampleScene = (p: SheetExampleProps = {}) => {<Button label="Edit profile" style={trigger} /><Sheettitle={p.title ?? "Edit profile"}- description={p.description ?? "Make changes to your profile here. Click save when you're done."}+ description={+ p.description ??+ "Make changes to your profile here. Click save when you're done."+ }actionLabel={p.actionLabel ?? "Save changes"}cancelLabel={p.cancelLabel ?? "Cancel"}style={sheet}@@ -51,10 +57,18 @@ export const sheetExampleCode = (const cancelLabel = values.cancelLabel as string | undefined;const sheetProps: string[] = [];- if (title !== undefined && title !== "Edit profile") sheetProps.push(`title="${title}"`);- if (description !== undefined && description !== "Make changes to your profile here. Click save when you're done.") sheetProps.push(`description="${description}"`);- if (actionLabel !== undefined && actionLabel !== "Save changes") sheetProps.push(`actionLabel="${actionLabel}"`);- if (cancelLabel !== undefined && cancelLabel !== "Cancel") sheetProps.push(`cancelLabel="${cancelLabel}"`);+ if (title !== undefined && title !== "Edit profile")+ sheetProps.push(`title="${title}"`);+ if (+ description !== undefined &&+ description !==+ "Make changes to your profile here. Click save when you're done."+ )+ sheetProps.push(`description="${description}"`);+ if (actionLabel !== undefined && actionLabel !== "Save changes")+ sheetProps.push(`actionLabel="${actionLabel}"`);+ if (cancelLabel !== undefined && cancelLabel !== "Cancel")+ sheetProps.push(`cancelLabel="${cancelLabel}"`);const sheetPropsStr = sheetProps.length ? ` ${sheetProps.join(" ")}` : "";diff --git a/components/docs/examples/skeleton-example.tsx b/components/docs/examples/skeleton-example.tsxindex b1fb73bd..81c8412e 100644--- a/components/docs/examples/skeleton-example.tsx+++ b/components/docs/examples/skeleton-example.tsx@@ -1,8 +1,8 @@"use client";+import type { SkeletonLayout } from "@/registry/remocn-ui/skeleton";import { Skeleton } from "@/registry/remocn-ui/skeleton";import { useSkeletonTransition } from "@/registry/remocn-ui/skeleton/use-skeleton-transition";-import type { SkeletonLayout } from "@/registry/remocn-ui/skeleton";export interface SkeletonExampleProps {layout?: SkeletonLayout;@@ -27,10 +27,7 @@ export const SkeletonExampleScene = (p: SkeletonExampleProps = {}) => {justifyContent: "center",}}>- <Skeleton- style={skeletonStyle}- layout={p.layout ?? "card"}- >+ <Skeleton style={skeletonStyle} layout={p.layout ?? "card"}>{/* Real content — defines the box size; revealed on crossfade. */}<div style={{ display: "flex", gap: 14, alignItems: "center" }}><div@@ -72,8 +69,11 @@ export const skeletonExampleCode = (const layout = values.layout as string | undefined;const props: string[] = [];- if (layout !== undefined && layout !== "card") props.push(`layout="${layout}"`);- const extraProps = props.length ? `\n ${props.join("\n ")}\n ` : "";+ if (layout !== undefined && layout !== "card")+ props.push(`layout="${layout}"`);+ const extraProps = props.length+ ? `\n ${props.join("\n ")}\n `+ : "";const optsStr = "";diff --git a/components/docs/examples/slider-example.tsx b/components/docs/examples/slider-example.tsxindex 4f01c874..1b43fba5 100644--- a/components/docs/examples/slider-example.tsx+++ b/components/docs/examples/slider-example.tsx@@ -9,8 +9,8 @@ import { useSliderTransition } from "@/registry/remocn-ui/slider/use-slider-tran// Track left edge: (1280 - 320) / 2 = 480px. Track vertical center: 360px.// Value 20% → thumb x: 480 + 0.20 × 320 = 544. Value 80% → thumb x: 480 + 0.80 × 320 = 736.const THUMB_START_X = 544; // canvas x at value 20-const THUMB_END_X = 736; // canvas x at value 80-const THUMB_Y = 360; // canvas y of track center+const THUMB_END_X = 736; // canvas x at value 80+const THUMB_Y = 360; // canvas y of track centerexport const sliderExampleControls = ["showValue"] as const;@@ -21,22 +21,22 @@ export interface SliderExampleProps {export const SliderExampleScene = (p: SliderExampleProps = {}) => {// Cursor: park top-left → ease to thumb (arrives frame 30) → drag to end (arrives frame 100) → release.const cursorStyle = useCursorPath([- { at: 0, x: 80, y: 60, },- { at: 30, x: THUMB_START_X, y: THUMB_Y, duration: 26 },- { at: 44, x: THUMB_START_X, y: THUMB_Y, press: true, duration: 0 },- { at: 100, x: THUMB_END_X, y: THUMB_Y, press: true, duration: 56 },- { at: 108, x: THUMB_END_X, y: THUMB_Y, duration: 0 },+ { at: 0, x: 80, y: 60 },+ { at: 30, x: THUMB_START_X, y: THUMB_Y, duration: 26 },+ { at: 44, x: THUMB_START_X, y: THUMB_Y, press: true, duration: 0 },+ { at: 100, x: THUMB_END_X, y: THUMB_Y, press: true, duration: 56 },+ { at: 108, x: THUMB_END_X, y: THUMB_Y, duration: 0 },]);// Slider: dual-channel — value eases 20 → 80 during the drag; thumb idles → hover → press → idle.const sliderStyle = useSliderTransition([- { at: 0, value: 20, thumbState: "idle" },- { at: 30, thumbState: "hover", duration: 8 },- { at: 44, thumbState: "press", duration: 6 },- { at: 44, value: 20 },+ { at: 0, value: 20, thumbState: "idle" },+ { at: 30, thumbState: "hover", duration: 8 },+ { at: 44, thumbState: "press", duration: 6 },+ { at: 44, value: 20 },// Match the cursor's default inOut easing so the thumb tracks the cursor exactly.{ at: 100, value: 80, duration: 56, easing: "inOut" },- { at: 108, thumbState: "idle", duration: 8 },+ { at: 108, thumbState: "idle", duration: 8 },]);return (@@ -49,7 +49,11 @@ export const SliderExampleScene = (p: SliderExampleProps = {}) => {transform: "translate(-50%, -50%)",}}>- <Slider style={sliderStyle} width={320} showValue={p.showValue ?? true} />+ <Slider+ style={sliderStyle}+ width={320}+ showValue={p.showValue ?? true}+ /></div><Cursor style={cursorStyle} variant="pointer" /></div>diff --git a/components/docs/examples/smoke-dissolve-example.tsx b/components/docs/examples/smoke-dissolve-example.tsxindex 010e9193..0e6f0915 100644--- a/components/docs/examples/smoke-dissolve-example.tsx+++ b/components/docs/examples/smoke-dissolve-example.tsx@@ -1,7 +1,7 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";import { smokeDissolve } from "@/registry/remocn/smoke-dissolve";const FONT_FAMILY =diff --git a/components/docs/examples/stepper-example.tsx b/components/docs/examples/stepper-example.tsxindex f772cd92..a3f84e89 100644--- a/components/docs/examples/stepper-example.tsx+++ b/components/docs/examples/stepper-example.tsx@@ -14,8 +14,8 @@ export const StepperExampleScene = (p: StepperExampleProps = {}) => {// Start explicitly at index 0 (else the timeline holds the first step's index// before it fires); each step arrives at the end of a 24-frame ease.const stepperStyle = useStepperTransition([- { at: 0, index: 0 },- { at: 50, index: 1, duration: 24 },+ { at: 0, index: 0 },+ { at: 50, index: 1, duration: 24 },{ at: 110, index: 2, duration: 24 },]);@@ -37,7 +37,9 @@ export const stepperExampleCode = (const props: string[] = [];if (steps !== undefined) props.push(`steps={${JSON.stringify(steps)}}`);- const extraProps = props.length ? `\n ${props.join("\n ")}\n ` : "";+ const extraProps = props.length+ ? `\n ${props.join("\n ")}\n `+ : "";return `import { Stepper } from "@/components/remocn/stepper";import { useStepperTransition } from "@/components/remocn/use-stepper-transition";diff --git a/components/docs/examples/swirl-dissolve-example.tsx b/components/docs/examples/swirl-dissolve-example.tsxindex 0aec3ca3..0b13e8cc 100644--- a/components/docs/examples/swirl-dissolve-example.tsx+++ b/components/docs/examples/swirl-dissolve-example.tsx@@ -1,7 +1,7 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";import { swirlDissolve } from "@/registry/remocn/swirl-dissolve";const FONT_FAMILY =diff --git a/components/docs/examples/switch-example.tsx b/components/docs/examples/switch-example.tsxindex c27ff283..a9bc2516 100644--- a/components/docs/examples/switch-example.tsx+++ b/components/docs/examples/switch-example.tsx@@ -12,10 +12,13 @@ export interface SwitchExampleProps {}export const SwitchExampleScene = (p: SwitchExampleProps = {}) => {- const style = useSwitchTransition([- { at: 18, state: "checked", duration: 14 },- { at: 78, state: "unchecked", duration: 12 },- ], { primary: p.primary });+ const style = useSwitchTransition(+ [+ { at: 18, state: "checked", duration: 14 },+ { at: 78, state: "unchecked", duration: 12 },+ ],+ { primary: p.primary },+ );return (<Switchlabel={p.label ?? "Enable notifications"}diff --git a/components/docs/examples/tabs-example.tsx b/components/docs/examples/tabs-example.tsxindex a9c81a22..8175e52c 100644--- a/components/docs/examples/tabs-example.tsx+++ b/components/docs/examples/tabs-example.tsx@@ -10,17 +10,15 @@ export interface TabsExampleProps {export const tabsExampleControls = ["variant"] as const;export const TabsExampleScene = (p: TabsExampleProps = {}) => {- const style = useTabsTransition([- { at: 18, state: "Account", duration: 16 },- { at: 58, state: "Password", duration: 18 },- { at: 94, state: "Settings", duration: 12 },- ], { variant: p.variant });- return (- <Tabs- style={style}- variant={p.variant ?? "pill"}- />+ const style = useTabsTransition(+ [+ { at: 18, state: "Account", duration: 16 },+ { at: 58, state: "Password", duration: 18 },+ { at: 94, state: "Settings", duration: 12 },+ ],+ { variant: p.variant },);+ return <Tabs style={style} variant={p.variant ?? "pill"} />;};export const tabsExampleCode = (@@ -29,11 +27,13 @@ export const tabsExampleCode = (const variant = values.variant as string | undefined;const props: string[] = [];- if (variant !== undefined && variant !== "pill") props.push(`variant="${variant}"`);+ if (variant !== undefined && variant !== "pill")+ props.push(`variant="${variant}"`);const extraProps = props.length ? `\n ${props.join("\n ")}` : "";const hookOpts: string[] = [];- if (variant !== undefined && variant !== "pill") hookOpts.push(`variant: "${variant}"`);+ if (variant !== undefined && variant !== "pill")+ hookOpts.push(`variant: "${variant}"`);const optsStr = hookOpts.length ? `, { ${hookOpts.join(", ")} }` : "";return `import { Tabs } from "@/components/remocn/tabs";diff --git a/components/docs/examples/toast-example.tsx b/components/docs/examples/toast-example.tsxindex d22c520c..b460b4c7 100644--- a/components/docs/examples/toast-example.tsx+++ b/components/docs/examples/toast-example.tsx@@ -1,9 +1,9 @@"use client";-import { Cursor } from "@/registry/remocn-ui/cursor";-import { useCursorPath } from "@/registry/remocn-ui/cursor/use-cursor-path";import { Button } from "@/registry/remocn-ui/button";import { useButtonTransition } from "@/registry/remocn-ui/button/use-button-transition";+import { Cursor } from "@/registry/remocn-ui/cursor";+import { useCursorPath } from "@/registry/remocn-ui/cursor/use-cursor-path";import { Toast } from "@/registry/remocn-ui/toast";import { useToastTransition } from "@/registry/remocn-ui/toast/use-toast-transition";@@ -12,7 +12,9 @@ const BTN_X = 620; // cursor tip target X (the pointer hotspot lands here)const BTN_Y = 360; // cursor tip target Yexport const toastExampleControls = [- "title", "description", "variant",+ "title",+ "description",+ "variant",] as const;export interface ToastExampleProps {@@ -147,7 +149,7 @@ export const Scene = () => {</div><div style={{ position: "absolute", right: 24, bottom: 24 }}>- <Toast${toastPropsStr === "" ? "\n title=\"Changes saved\"\n description=\"Your profile has been updated.\"\n variant=\"success\"\n " : toastPropsStr}style={toastStyle} />+ <Toast${toastPropsStr === "" ? '\n title="Changes saved"\n description="Your profile has been updated."\n variant="success"\n ' : toastPropsStr}style={toastStyle} /></div><Cursor style={cursorStyle} variant="pointer" />diff --git a/components/docs/examples/toggle-group-example.tsx b/components/docs/examples/toggle-group-example.tsxindex e4d602c7..9f01b4f3 100644--- a/components/docs/examples/toggle-group-example.tsx+++ b/components/docs/examples/toggle-group-example.tsx@@ -10,26 +10,26 @@ import { useToggleGroupTransition } from "@/registry/remocn-ui/toggle-group/use-// left edge = (1280 - 184) / 2 = 548px.// "Monthly" center X: 548 + 4 + 44 = 596. "Yearly" center X: 548 + 4 + 88 + 44 = 684. Y = 360.const MONTHLY_X = 596;-const YEARLY_X = 684;-const TOGGLE_Y = 360;+const YEARLY_X = 684;+const TOGGLE_Y = 360;-export interface ToggleGroupExampleProps {}+export type ToggleGroupExampleProps = Record<string, never>;export const toggleGroupExampleControls = [] as const;export const ToggleGroupExampleScene = (_p: ToggleGroupExampleProps = {}) => {// Cursor: park → ease to "Yearly" → click → ease to "Monthly" → click.const cursorStyle = useCursorPath([- { at: 0, x: 80, y: 60 },- { at: 32, x: YEARLY_X, y: TOGGLE_Y, duration: 28 },- { at: 44, x: YEARLY_X, y: TOGGLE_Y, click: true, duration: 0 },+ { at: 0, x: 80, y: 60 },+ { at: 32, x: YEARLY_X, y: TOGGLE_Y, duration: 28 },+ { at: 44, x: YEARLY_X, y: TOGGLE_Y, click: true, duration: 0 },{ at: 80, x: MONTHLY_X, y: TOGGLE_Y, duration: 20 },{ at: 90, x: MONTHLY_X, y: TOGGLE_Y, click: true, duration: 0 },]);// Toggle: starts on "Monthly", slides to "Yearly" on first click, back on second.const toggleStyle = useToggleGroupTransition([- { at: 46, state: "Yearly", duration: 14 },+ { at: 46, state: "Yearly", duration: 14 },{ at: 92, state: "Monthly", duration: 14 },]);diff --git a/components/docs/examples/tooltip-example.tsx b/components/docs/examples/tooltip-example.tsxindex c95feddd..370ac477 100644--- a/components/docs/examples/tooltip-example.tsx+++ b/components/docs/examples/tooltip-example.tsx@@ -1,9 +1,9 @@"use client";-import { Cursor } from "@/registry/remocn-ui/cursor";-import { useCursorPath } from "@/registry/remocn-ui/cursor/use-cursor-path";import { Button } from "@/registry/remocn-ui/button";import { useButtonTransition } from "@/registry/remocn-ui/button/use-button-transition";+import { Cursor } from "@/registry/remocn-ui/cursor";+import { useCursorPath } from "@/registry/remocn-ui/cursor/use-cursor-path";import { Tooltip } from "@/registry/remocn-ui/tooltip";import { useTooltipTransition } from "@/registry/remocn-ui/tooltip/use-tooltip-transition";diff --git a/components/docs/examples/warp-dissolve-example.tsx b/components/docs/examples/warp-dissolve-example.tsxindex 8f596d1b..a132ac06 100644--- a/components/docs/examples/warp-dissolve-example.tsx+++ b/components/docs/examples/warp-dissolve-example.tsx@@ -1,9 +1,9 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill, Sequence } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";-import { warpDissolve } from "@/registry/remocn/warp-dissolve";import { SoftBlurIn } from "@/registry/remocn/soft-blur-in";+import { warpDissolve } from "@/registry/remocn/warp-dissolve";const FONT_FAMILY ="var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";diff --git a/components/docs/examples/wave-wipe-example.tsx b/components/docs/examples/wave-wipe-example.tsxindex a53d8ea7..4d6f770f 100644--- a/components/docs/examples/wave-wipe-example.tsx+++ b/components/docs/examples/wave-wipe-example.tsx@@ -1,9 +1,9 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill, Sequence } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";-import { waveWipe } from "@/registry/remocn/wave-wipe";import { SoftBlurIn } from "@/registry/remocn/soft-blur-in";+import { waveWipe } from "@/registry/remocn/wave-wipe";const FONT_FAMILY ="var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";@@ -53,7 +53,13 @@ export function WaveWipeExampleScene({</TransitionSeries.Sequence><TransitionSeries.Transitiontiming={linearTiming({ durationInFrames: 60 })}- presentation={waveWipe({ intensity, softness, noise, colorBack, speed })}+ presentation={waveWipe({+ intensity,+ softness,+ noise,+ colorBack,+ speed,+ })}/><TransitionSeries.Sequence durationInFrames={88}><AbsoluteFill>diff --git a/components/docs/examples/whip-pan-example.tsx b/components/docs/examples/whip-pan-example.tsxindex e0f4884b..fdd97a93 100644--- a/components/docs/examples/whip-pan-example.tsx+++ b/components/docs/examples/whip-pan-example.tsx@@ -1,8 +1,8 @@"use client";+import { linearTiming, TransitionSeries } from "@remotion/transitions";import { AbsoluteFill } from "remotion";-import { TransitionSeries, linearTiming } from "@remotion/transitions";-import { whipPan, type WhipPanProps } from "@/registry/remocn/whip-pan";+import { type WhipPanProps, whipPan } from "@/registry/remocn/whip-pan";const FONT_FAMILY ="var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";@@ -53,9 +53,7 @@ export function WhipPanExampleScene({ direction, blur }: WhipPanExampleProps) {);}-export const whipPanExampleCode = (- values: Record<string, unknown>,-): string => {+export const whipPanExampleCode = (values: Record<string, unknown>): string => {const direction = (values.direction as string) ?? "left";const blur = (values.blur as number) ?? 24;return `import { TransitionSeries, linearTiming } from "@remotion/transitions";diff --git a/components/docs/ui-component-preview.tsx b/components/docs/ui-component-preview.tsxindex 80d1d3ef..3319c744 100644--- a/components/docs/ui-component-preview.tsx+++ b/components/docs/ui-component-preview.tsx@@ -12,74 +12,119 @@ import { buildParsers, PreviewStage } from "@/lib/ui-preview-internals";import registry from "@/registry/__index__";import { ComponentCustomizer } from "./component-customizer";import { type ExampleEntry, examples } from "./examples";-import { buttonExampleCode, buttonExampleControls } from "./examples/button-example";-import { inputExampleCode, inputExampleControls } from "./examples/input-example";-import { toastExampleCode, toastExampleControls } from "./examples/toast-example";-import {- messageBubbleExampleCode,- messageBubbleExampleControls,-} from "./examples/message-bubble-example";-import {- typingIndicatorExampleCode,- typingIndicatorExampleControls,-} from "./examples/typing-indicator-example";-import { popoverExampleCode, popoverExampleControls } from "./examples/popover-example";import {accordionExampleCode,accordionExampleControls,} from "./examples/accordion-example";-import { tooltipExampleCode, tooltipExampleControls } from "./examples/tooltip-example";-import { dialogExampleCode, dialogExampleControls } from "./examples/dialog-example";-import { sheetExampleCode, sheetExampleControls } from "./examples/sheet-example";-import { drawerExampleCode, drawerExampleControls } from "./examples/drawer-example";import {alertDialogExampleCode,alertDialogExampleControls,} from "./examples/alert-dialog-example";+import {+ blurInExampleCode,+ blurInExampleControls,+} from "./examples/blur-in-example";+import {+ buttonExampleCode,+ buttonExampleControls,+} from "./examples/button-example";import {checkboxExampleCode,checkboxExampleControls,} from "./examples/checkbox-example";-import { radioExampleCode, radioExampleControls } from "./examples/radio-example";-import { switchExampleCode, switchExampleControls } from "./examples/switch-example";-import { sliderExampleCode, sliderExampleControls } from "./examples/slider-example";-import {- progressExampleCode,- progressExampleControls,-} from "./examples/progress-example";import {comboboxExampleCode,comboboxExampleControls,} from "./examples/combobox-example";-import { selectExampleCode, selectExampleControls } from "./examples/select-example";import {commandMenuExampleCode,commandMenuExampleControls,} from "./examples/command-menu-example";+import {+ contextMenuExampleCode,+ contextMenuExampleControls,+} from "./examples/context-menu-example";+import {+ cursorExampleCode,+ cursorExampleControls,+} from "./examples/cursor-example";+import {+ dialogExampleCode,+ dialogExampleControls,+} from "./examples/dialog-example";+import {+ drawerExampleCode,+ drawerExampleControls,+} from "./examples/drawer-example";import {dropdownMenuExampleCode,dropdownMenuExampleControls,} from "./examples/dropdown-menu-example";import {- contextMenuExampleCode,- contextMenuExampleControls,-} from "./examples/context-menu-example";-import { cursorExampleCode, cursorExampleControls } from "./examples/cursor-example";+ inputExampleCode,+ inputExampleControls,+} from "./examples/input-example";+import {+ messageBubbleExampleCode,+ messageBubbleExampleControls,+} from "./examples/message-bubble-example";+import {+ popoverExampleCode,+ popoverExampleControls,+} from "./examples/popover-example";+import {+ progressExampleCode,+ progressExampleControls,+} from "./examples/progress-example";+import {+ radioExampleCode,+ radioExampleControls,+} from "./examples/radio-example";import {resizableExampleCode,resizableExampleControls,} from "./examples/resizable-example";+import {+ selectExampleCode,+ selectExampleControls,+} from "./examples/select-example";+import {+ sheetExampleCode,+ sheetExampleControls,+} from "./examples/sheet-example";import {skeletonExampleCode,skeletonExampleControls,} from "./examples/skeleton-example";-import { stepperExampleCode, stepperExampleControls } from "./examples/stepper-example";+import {+ sliderExampleCode,+ sliderExampleControls,+} from "./examples/slider-example";+import {+ stepperExampleCode,+ stepperExampleControls,+} from "./examples/stepper-example";+import {+ switchExampleCode,+ switchExampleControls,+} from "./examples/switch-example";import { tabsExampleCode, tabsExampleControls } from "./examples/tabs-example";+import {+ toastExampleCode,+ toastExampleControls,+} from "./examples/toast-example";import {toggleGroupExampleCode,toggleGroupExampleControls,} from "./examples/toggle-group-example";-import { blurInExampleCode, blurInExampleControls } from "./examples/blur-in-example";+import {+ tooltipExampleCode,+ tooltipExampleControls,+} from "./examples/tooltip-example";+import {+ typingIndicatorExampleCode,+ typingIndicatorExampleControls,+} from "./examples/typing-indicator-example";/*** Per-component honored-key allowlist + code template, co-located with eachdiff --git a/components/shimmering-text.tsx b/components/shimmering-text.tsxindex f8c22b17..4e84208a 100644--- a/components/shimmering-text.tsx+++ b/components/shimmering-text.tsx@@ -1,26 +1,26 @@-"use client"+"use client";-import * as React from "react"-import type { Variants } from "motion/react"-import { motion } from "motion/react"+import type { Variants } from "motion/react";+import { motion } from "motion/react";+import * as React from "react";-import { cn } from "@/lib/utils"+import { cn } from "@/lib/utils";export type ShimmeringTextProps = Omit<React.ComponentProps<typeof motion.span>,"children"> & {/** The text to render with the shimmering effect. */- text: string+ text: string;/*** Duration in seconds for one shimmer cycle.* @defaultValue 1 */- duration?: number+ duration?: number;/*** Whether the shimmer animation is paused.* @defaultValue false */- isStopped?: boolean-}+ isStopped?: boolean;+};export function ShimmeringText({text,@@ -50,15 +50,15 @@ export function ShimmeringText({},},}),- [duration, text.length]- )+ [duration, text.length],+ );return (<motion.spanclassName={cn("inline-block select-none","[--color:var(--muted-foreground)] [--shimmering-color:var(--foreground)]",- className+ className,)}{...props}>@@ -76,5 +76,5 @@ export function ShimmeringText({))}<span className="sr-only">{text}</span></motion.span>- )+ );}diff --git a/components/spotlight-surface.tsx b/components/spotlight-surface.tsxindex 1d0f29e7..6021f5c2 100644--- a/components/spotlight-surface.tsx+++ b/components/spotlight-surface.tsx@@ -1,5 +1,10 @@"use client";-import { type CSSProperties, type HTMLAttributes, type ReactNode, useRef } from "react";+import {+ type CSSProperties,+ type HTMLAttributes,+ type ReactNode,+ useRef,+} from "react";import { cn } from "@/lib/utils";export function SpotlightSurface({diff --git a/components/ui/bubble.tsx b/components/ui/bubble.tsxindex 5e7a2908..7d8dfd59 100644--- a/components/ui/bubble.tsx+++ b/components/ui/bubble.tsx@@ -1,9 +1,9 @@-import * as React from "react"-import { mergeProps } from "@base-ui/react/merge-props"-import { useRender } from "@base-ui/react/use-render"-import { cva, type VariantProps } from "class-variance-authority"+import { mergeProps } from "@base-ui/react/merge-props";+import { useRender } from "@base-ui/react/use-render";+import { cva, type VariantProps } from "class-variance-authority";+import type * as React from "react";-import { cn } from "@/lib/utils"+import { cn } from "@/lib/utils";function BubbleGroup({ className, ...props }: React.ComponentProps<"div">) {return (@@ -12,7 +12,7 @@ function BubbleGroup({ className, ...props }: React.ComponentProps<"div">) {className={cn("flex min-w-0 flex-col gap-2", className)}{...props}/>- )+ );}const bubbleVariants = cva(@@ -39,8 +39,8 @@ const bubbleVariants = cva(defaultVariants: {variant: "default",},- }-)+ },+);function Bubble({variant = "default",@@ -49,7 +49,7 @@ function Bubble({...props}: React.ComponentProps<"div"> &VariantProps<typeof bubbleVariants> & {- align?: "start" | "end"+ align?: "start" | "end";}) {return (<div@@ -59,7 +59,7 @@ function Bubble({className={cn(bubbleVariants({ variant }), className)}{...props}/>- )+ );}function BubbleContent({@@ -73,16 +73,16 @@ function BubbleContent({{className: cn("w-fit max-w-full min-w-0 overflow-hidden rounded-3xl border border-transparent px-3.5 py-2.5 text-sm leading-relaxed wrap-break-word group-data-[align=end]/bubble:self-end [button]:text-left [button,a]:transition-colors [button,a]:outline-none [button,a]:focus-visible:border-ring [button,a]:focus-visible:ring-3 [button,a]:focus-visible:ring-ring/30",- className+ className,),},- props+ props,),render,state: {slot: "bubble-content",},- })+ });}const bubbleReactionsVariants = cva(@@ -102,8 +102,8 @@ const bubbleReactionsVariants = cva(side: "bottom",align: "end",},- }-)+ },+);function BubbleReactions({side = "bottom",@@ -111,8 +111,8 @@ function BubbleReactions({className,...props}: React.ComponentProps<"div"> & {- align?: "start" | "end"- side?: "top" | "bottom"+ align?: "start" | "end";+ side?: "top" | "bottom";}) {return (<div@@ -122,7 +122,7 @@ function BubbleReactions({className={cn(bubbleReactionsVariants({ side, align }), className)}{...props}/>- )+ );}-export { BubbleGroup, Bubble, BubbleContent, BubbleReactions }+export { BubbleGroup, Bubble, BubbleContent, BubbleReactions };diff --git a/components/ui/elastic-slider.tsx b/components/ui/elastic-slider.tsxindex cf74bb14..ce6ee89c 100644--- a/components/ui/elastic-slider.tsx+++ b/components/ui/elastic-slider.tsx@@ -493,7 +493,6 @@ export function ElasticSlider({>{Array.from({ length: hashMarkCount }, (_, i) => (<div- // biome-ignore lint/suspicious/noArrayIndexKey: hash marks are positional and statickey={i}className={cn("absolute top-1/2 h-2 w-px -translate-x-1/2 -translate-y-1/2 rounded-full transition-colors duration-200",diff --git a/components/ui/field.tsx b/components/ui/field.tsxindex 995b6512..0a958dcb 100644--- a/components/ui/field.tsx+++ b/components/ui/field.tsx@@ -193,7 +193,7 @@ function FieldError({...new Map(errors.map((error) => [error?.message, error])).values(),];- if (uniqueErrors?.length == 1) {+ if (uniqueErrors?.length === 1) {return uniqueErrors[0]?.message;}diff --git a/components/ui/message-scroller.tsx b/components/ui/message-scroller.tsxindex d7226a82..77b52c81 100644--- a/components/ui/message-scroller.tsx+++ b/components/ui/message-scroller.tsx@@ -1,21 +1,20 @@-"use client"+"use client";-import * as React from "react"import {MessageScroller as MessageScrollerPrimitive,useMessageScroller,useMessageScrollerScrollable,useMessageScrollerVisibility,-} from "@shadcn/react/message-scroller"--import { cn } from "@/lib/utils"-import { Button } from "@/components/ui/button"-import { ArrowDownIcon } from "lucide-react"+} from "@shadcn/react/message-scroller";+import { ArrowDownIcon } from "lucide-react";+import type * as React from "react";+import { Button } from "@/components/ui/button";+import { cn } from "@/lib/utils";function MessageScrollerProvider(- props: React.ComponentProps<typeof MessageScrollerPrimitive.Provider>+ props: React.ComponentProps<typeof MessageScrollerPrimitive.Provider>,) {- return <MessageScrollerPrimitive.Provider {...props} />+ return <MessageScrollerPrimitive.Provider {...props} />;}function MessageScroller({@@ -27,11 +26,11 @@ function MessageScroller({data-slot="message-scroller"className={cn("group/message-scroller relative flex size-full min-h-0 flex-col overflow-hidden",- className+ className,)}{...props}/>- )+ );}function MessageScrollerViewport({@@ -43,11 +42,11 @@ function MessageScrollerViewport({data-slot="message-scroller-viewport"className={cn("size-full min-h-0 min-w-0 scroll-fade-b scrollbar-thin scrollbar-gutter-stable overflow-y-auto overscroll-contain contain-content data-autoscrolling:scrollbar-none",- className+ className,)}{...props}/>- )+ );}function MessageScrollerContent({@@ -60,7 +59,7 @@ function MessageScrollerContent({className={cn("flex h-max min-h-full flex-col gap-8", className)}{...props}/>- )+ );}function MessageScrollerItem({@@ -74,11 +73,11 @@ function MessageScrollerItem({scrollAnchor={scrollAnchor}className={cn("min-w-0 shrink-0 [contain-intrinsic-size:auto_10rem] [content-visibility:auto]",- className+ className,)}{...props}/>- )+ );}function MessageScrollerButton({@@ -100,22 +99,21 @@ function MessageScrollerButton({direction={direction}className={cn("absolute inset-s-1/2 -translate-x-1/2 border-border bg-background text-foreground transition-[translate,scale,opacity] duration-200 hover:bg-muted hover:text-foreground data-[active=false]:pointer-events-none data-[active=false]:scale-95 data-[active=false]:opacity-0 data-[active=false]:duration-400 data-[active=false]:ease-[cubic-bezier(0.7,0,0.84,0)] data-[active=true]:translate-y-0 data-[active=true]:scale-100 data-[active=true]:opacity-100 data-[active=true]:ease-[cubic-bezier(0.23,1,0.32,1)] data-[direction=end]:bottom-4 data-[direction=end]:data-[active=false]:translate-y-full data-[direction=start]:top-4 data-[direction=start]:data-[active=false]:-translate-y-full rtl:translate-x-1/2 data-[direction=start]:[&_svg]:rotate-180",- className+ className,)}render={render ?? <Button variant={variant} size={size} />}{...props}>{children ?? (<>- <ArrowDownIcon- />+ <ArrowDownIcon /><span className="sr-only">{direction === "end" ? "Scroll to end" : "Scroll to start"}</span></>)}</MessageScrollerPrimitive.Button>- )+ );}export {@@ -128,4 +126,4 @@ export {useMessageScroller,useMessageScrollerScrollable,useMessageScrollerVisibility,-}+};diff --git a/components/ui/message.tsx b/components/ui/message.tsxindex fbc5e9fc..2480e683 100644--- a/components/ui/message.tsx+++ b/components/ui/message.tsx@@ -1,6 +1,6 @@-import * as React from "react"+import type * as React from "react";-import { cn } from "@/lib/utils"+import { cn } from "@/lib/utils";function MessageGroup({ className, ...props }: React.ComponentProps<"div">) {return (@@ -9,7 +9,7 @@ function MessageGroup({ className, ...props }: React.ComponentProps<"div">) {className={cn("flex min-w-0 flex-col gap-2", className)}{...props}/>- )+ );}function Message({@@ -23,11 +23,11 @@ function Message({data-align={align}className={cn("group/message relative flex w-full min-w-0 gap-2 text-sm data-[align=end]:flex-row-reverse",- className+ className,)}{...props}/>- )+ );}function MessageAvatar({ className, ...props }: React.ComponentProps<"div">) {@@ -36,11 +36,11 @@ function MessageAvatar({ className, ...props }: React.ComponentProps<"div">) {data-slot="message-avatar"className={cn("flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-8",- className+ className,)}{...props}/>- )+ );}function MessageContent({ className, ...props }: React.ComponentProps<"div">) {@@ -49,11 +49,11 @@ function MessageContent({ className, ...props }: React.ComponentProps<"div">) {data-slot="message-content"className={cn("flex w-full min-w-0 flex-col gap-2.5 wrap-break-word group-data-[align=end]/message:*:data-slot:self-end",- className+ className,)}{...props}/>- )+ );}function MessageHeader({ className, ...props }: React.ComponentProps<"div">) {@@ -62,11 +62,11 @@ function MessageHeader({ className, ...props }: React.ComponentProps<"div">) {data-slot="message-header"className={cn("flex max-w-full min-w-0 items-center px-3.5 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0",- className+ className,)}{...props}/>- )+ );}function MessageFooter({ className, ...props }: React.ComponentProps<"div">) {@@ -75,11 +75,11 @@ function MessageFooter({ className, ...props }: React.ComponentProps<"div">) {data-slot="message-footer"className={cn("flex max-w-full min-w-0 items-center px-3.5 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0 group-data-[align=end]/message:justify-end",- className+ className,)}{...props}/>- )+ );}export {@@ -89,4 +89,4 @@ export {MessageContent,MessageFooter,MessageHeader,-}+};diff --git a/components/ui/scroll-area.tsx b/components/ui/scroll-area.tsxindex 105a4ed7..817fd38f 100644--- a/components/ui/scroll-area.tsx+++ b/components/ui/scroll-area.tsx@@ -1,7 +1,6 @@"use client";import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";-import * as React from "react";import { cn } from "@/lib/utils";diff --git a/components/ui/svgs/nextjsIconDark.tsx b/components/ui/svgs/nextjsIconDark.tsxindex 586aa3b8..deadd8ef 100644--- a/components/ui/svgs/nextjsIconDark.tsx+++ b/components/ui/svgs/nextjsIconDark.tsx@@ -37,7 +37,10 @@ const NextjsIconDark = (props: SVGProps<SVGSVGElement>) => (y2="160.5"><stop style={{ stopColor: "var(--background)" }} />- <stop offset="1" style={{ stopColor: "var(--background)", stopOpacity: 0 }} />+ <stop+ offset="1"+ style={{ stopColor: "var(--background)", stopOpacity: 0 }}+ /></linearGradient><linearGradientgradientUnits="userSpaceOnUse"@@ -48,7 +51,10 @@ const NextjsIconDark = (props: SVGProps<SVGSVGElement>) => (y2="106.875"><stop style={{ stopColor: "var(--background)" }} />- <stop offset="1" style={{ stopColor: "var(--background)", stopOpacity: 0 }} />+ <stop+ offset="1"+ style={{ stopColor: "var(--background)", stopOpacity: 0 }}+ /></linearGradient></defs></svg>diff --git a/components/ui/svgs/reactDark.tsx b/components/ui/svgs/reactDark.tsxindex 9d1e3a65..29ce2ebf 100644--- a/components/ui/svgs/reactDark.tsx+++ b/components/ui/svgs/reactDark.tsx@@ -7,7 +7,11 @@ const ReactDark = (props: SVGProps<SVGSVGElement>) => (xmlnsXlink="http://www.w3.org/1999/xlink"><g fill="none" fillRule="evenodd">- <g transform="translate(-227, -256)" fill="currentColor" fillRule="nonzero">+ <g+ transform="translate(-227, -256)"+ fill="currentColor"+ fillRule="nonzero"+ ><g transform="translate(227, 256)"><pathd="M285.5,201 C255.400481,201 231,225.400481 231,255.5 C231,285.599519 255.400481,310 285.5,310 C315.599519,310 340,285.599519 340,255.5 C340,225.400481 315.599519,201 285.5,201"diff --git a/config/sponsors.ts b/config/sponsors.tsindex 58d15641..ee1c81b1 100644--- a/config/sponsors.ts+++ b/config/sponsors.ts@@ -19,123 +19,125 @@ export type Sponsor = {layout?: "row" | "col";};-export const sponsors: Sponsor[] = ([- {- id: "reactbits",- name: "React Bits",- logoUrl: "/sponsors/reactbits.svg",- website:- "https://pro.reactbits.dev/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "partner",- customStyles: "opacity-90 max-w-full",- isPaste: false,- },- {- id: "shadcnblocks",- name: "Shadcnblocks.com",- logoUrl: "/sponsors/shadcnblocks.svg",- website:- "https://shadcnblocks.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "partner",- logoScale: 1.2,- customStyles: "opacity-90",- isPaste: false,- },- // Paste:- {- id: "efferd",- name: "Efferd",- logoUrl: "/sponsors/efferd.svg",- website:- "https://efferd.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "partner",- logoScale: 1.2,- customStyles: "opacity-90",- isPaste: true,- },- {- id: "shadcnstudio",- name: "ShadcnStudio",- logoUrl:- "https://cdn.shadcnstudio.com/ss-assets/marketing/shadcn-studio-logos/shadcn-studio-light-full-logo.png",- website:- "https://shadcnstudio.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "builder",- logoScale: 1.2,- customStyles: "invert opacity-90 h-8",- isPaste: true,- },- {- id: "shadcnspace",- name: "ShadcnSpace",- logoUrl: "https://shadcnspace.com/images/logo/shadcnspace.svg",- website:- "https://shadcnspace.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "builder",- logoScale: 1.2,- customStyles: "grayscale invert opacity-90 h-8",- isPaste: true,- },- {- id: "ln",- name: "ln",- displayName: "LN",- logoUrl: "https://unavatar.io/x/ln_dev7",- website:- "https://pro.lndevui.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "builder",- customStyles: "rounded-full opacity-100 grayscale-0 dark:[filter:none]",- isPaste: false,- },- {- id: "shieldcn",- name: "Justin",- displayName: "Justin",- logoUrl: "https://unavatar.io/x/jalcowastaken",- website:- "https://shieldcn.dev/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "builder",- customStyles: "rounded-full opacity-100 grayscale-0 dark:[filter:none]",- isPaste: false,- },- {- id: "orcdev",- name: "OrcDev",- displayName: "OrcDev",- logoUrl: "https://unavatar.io/x/orcdev",- website:- "https://www.8bitcn.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "builder",- customStyles: "rounded-full opacity-100 grayscale-0 dark:[filter:none]",- isPaste: false,- },- {- id: "canadian-ai",- name: "Canadian AI",- displayName: "Canadian AI",- logoUrl: "https://www.canadian-ai.ca/icon-black.svg",- website:- "https://www.canadian-ai.ca/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "partner",- customStyles: "opacity-90 max-h-12",- isPaste: false,- hideFromFeatured: true,- layout: "row",- },- {- id: "shadcnuikit",- name: "Shadcn UI Kit",- displayName: "Shadcn UI Kit",- logoUrl: "https://shadcnuikit.com/logo.png",- website:- "https://shadcnuikit.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",- tier: "partner",- logoScale: 1,- customStyles: "rounded-sm opacity-100 grayscale-0 dark:[filter:none]",- isPaste: false,- layout: "row",- },-] satisfies Sponsor[]).filter((sponsor) => !sponsor.isPaste);+export const sponsors: Sponsor[] = (+ [+ {+ id: "reactbits",+ name: "React Bits",+ logoUrl: "/sponsors/reactbits.svg",+ website:+ "https://pro.reactbits.dev/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "partner",+ customStyles: "opacity-90 max-w-full",+ isPaste: false,+ },+ {+ id: "shadcnblocks",+ name: "Shadcnblocks.com",+ logoUrl: "/sponsors/shadcnblocks.svg",+ website:+ "https://shadcnblocks.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "partner",+ logoScale: 1.2,+ customStyles: "opacity-90",+ isPaste: false,+ },+ // Paste:+ {+ id: "efferd",+ name: "Efferd",+ logoUrl: "/sponsors/efferd.svg",+ website:+ "https://efferd.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "partner",+ logoScale: 1.2,+ customStyles: "opacity-90",+ isPaste: true,+ },+ {+ id: "shadcnstudio",+ name: "ShadcnStudio",+ logoUrl:+ "https://cdn.shadcnstudio.com/ss-assets/marketing/shadcn-studio-logos/shadcn-studio-light-full-logo.png",+ website:+ "https://shadcnstudio.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "builder",+ logoScale: 1.2,+ customStyles: "invert opacity-90 h-8",+ isPaste: true,+ },+ {+ id: "shadcnspace",+ name: "ShadcnSpace",+ logoUrl: "https://shadcnspace.com/images/logo/shadcnspace.svg",+ website:+ "https://shadcnspace.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "builder",+ logoScale: 1.2,+ customStyles: "grayscale invert opacity-90 h-8",+ isPaste: true,+ },+ {+ id: "ln",+ name: "ln",+ displayName: "LN",+ logoUrl: "https://unavatar.io/x/ln_dev7",+ website:+ "https://pro.lndevui.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "builder",+ customStyles: "rounded-full opacity-100 grayscale-0 dark:[filter:none]",+ isPaste: false,+ },+ {+ id: "shieldcn",+ name: "Justin",+ displayName: "Justin",+ logoUrl: "https://unavatar.io/x/jalcowastaken",+ website:+ "https://shieldcn.dev/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "builder",+ customStyles: "rounded-full opacity-100 grayscale-0 dark:[filter:none]",+ isPaste: false,+ },+ {+ id: "orcdev",+ name: "OrcDev",+ displayName: "OrcDev",+ logoUrl: "https://unavatar.io/x/orcdev",+ website:+ "https://www.8bitcn.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "builder",+ customStyles: "rounded-full opacity-100 grayscale-0 dark:[filter:none]",+ isPaste: false,+ },+ {+ id: "canadian-ai",+ name: "Canadian AI",+ displayName: "Canadian AI",+ logoUrl: "https://www.canadian-ai.ca/icon-black.svg",+ website:+ "https://www.canadian-ai.ca/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "partner",+ customStyles: "opacity-90 max-h-12",+ isPaste: false,+ hideFromFeatured: true,+ layout: "row",+ },+ {+ id: "shadcnuikit",+ name: "Shadcn UI Kit",+ displayName: "Shadcn UI Kit",+ logoUrl: "https://shadcnuikit.com/logo.png",+ website:+ "https://shadcnuikit.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",+ tier: "partner",+ logoScale: 1,+ customStyles: "rounded-sm opacity-100 grayscale-0 dark:[filter:none]",+ isPaste: false,+ layout: "row",+ },+ ] satisfies Sponsor[]+).filter((sponsor) => !sponsor.isPaste);export function getGoldSponsors(): Sponsor[] {return sponsors.filter(diff --git a/content/docs/environment/meta.json b/content/docs/environment/meta.jsonindex eb1fa917..aa895a43 100644--- a/content/docs/environment/meta.json+++ b/content/docs/environment/meta.json@@ -1,10 +1,5 @@{"title": "Environment & Lighting","collapsible": false,- "pages": [- "index",- "mesh-gradient-bg",- "dynamic-grid",- "spotlight-card"- ]+ "pages": ["index", "mesh-gradient-bg", "dynamic-grid", "spotlight-card"]}diff --git a/content/docs/ui/blocks/meta.json b/content/docs/ui/blocks/meta.jsonindex 4b418ddb..bf5d342a 100644--- a/content/docs/ui/blocks/meta.json+++ b/content/docs/ui/blocks/meta.json@@ -1,5 +1,13 @@{"title": "Blocks","collapsible": false,- "pages": ["index", "chat-flow", "telegram-chat-flow", "imessage-chat-flow", "signup-flow", "checkout-flow", "settings-toggle-flow"]+ "pages": [+ "index",+ "chat-flow",+ "telegram-chat-flow",+ "imessage-chat-flow",+ "signup-flow",+ "checkout-flow",+ "settings-toggle-flow"+ ]}diff --git a/content/docs/ui/components/meta.json b/content/docs/ui/components/meta.jsonindex 93027f3b..deccace4 100644--- a/content/docs/ui/components/meta.json+++ b/content/docs/ui/components/meta.json@@ -1,5 +1,37 @@{"title": "Components","collapsible": false,- "pages": ["accordion", "alert-dialog", "blur-in", "button", "caret", "checkbox", "combobox", "command-menu", "context-menu", "cursor", "dialog", "drawer", "sheet", "dropdown-menu", "input", "message-bubble", "popover", "progress", "radio", "resizable", "select", "skeleton", "slider", "spinner", "stepper", "switch", "tabs", "toast", "toggle-group", "tooltip", "typing-indicator"]+ "pages": [+ "accordion",+ "alert-dialog",+ "blur-in",+ "button",+ "caret",+ "checkbox",+ "combobox",+ "command-menu",+ "context-menu",+ "cursor",+ "dialog",+ "drawer",+ "sheet",+ "dropdown-menu",+ "input",+ "message-bubble",+ "popover",+ "progress",+ "radio",+ "resizable",+ "select",+ "skeleton",+ "slider",+ "spinner",+ "stepper",+ "switch",+ "tabs",+ "toast",+ "toggle-group",+ "tooltip",+ "typing-indicator"+ ]}diff --git a/hooks/use-scroll.ts b/hooks/use-scroll.tsindex f00d85c4..308cbe16 100644--- a/hooks/use-scroll.ts+++ b/hooks/use-scroll.ts@@ -1,15 +1,15 @@import { useEffect, useState } from "react";export const useScroll = () => {- const [scrolled, setScrolled] = useState(false);+ const [scrolled, setScrolled] = useState(false);- // Collapse the full-width bar into a floating, container-width pill on scroll.- useEffect(() => {- const onScroll = () => setScrolled(window.scrollY > 8);- onScroll();- window.addEventListener("scroll", onScroll, { passive: true });- return () => window.removeEventListener("scroll", onScroll);- }, []);+ // Collapse the full-width bar into a floating, container-width pill on scroll.+ useEffect(() => {+ const onScroll = () => setScrolled(window.scrollY > 8);+ onScroll();+ window.addEventListener("scroll", onScroll, { passive: true });+ return () => window.removeEventListener("scroll", onScroll);+ }, []);- return scrolled;-}\ No newline at end of file+ return scrolled;+};diff --git a/lib/__tests__/github-stargazers.test.ts b/lib/__tests__/github-stargazers.test.tsindex 7e67bfc6..ad1eb73c 100644--- a/lib/__tests__/github-stargazers.test.ts+++ b/lib/__tests__/github-stargazers.test.ts@@ -8,10 +8,9 @@import { afterEach, describe, expect, it, jest, mock } from "bun:test";import {- type Stargazer,- StargazersError,fetchStargazers,parseRepoInput,+ type Stargazer,} from "@/lib/github-stargazers";// ---------------------------------------------------------------------------@@ -78,9 +77,10 @@ describe("parseRepoInput", () => {});it("strips .git from https URL variant", () => {- expect(- parseRepoInput("https://github.com/facebook/react.git"),- ).toEqual({ owner: "facebook", repo: "react" });+ expect(parseRepoInput("https://github.com/facebook/react.git")).toEqual({+ owner: "facebook",+ repo: "react",+ });});});@@ -93,11 +93,11 @@ describe("parseRepoInput", () => {expect(parseRepoInput(" ")).toBeNull();});- it("rejects bare owner with no repo (\"owner\")", () => {+ it('rejects bare owner with no repo ("owner")', () => {expect(parseRepoInput("owner")).toBeNull();});- it("rejects leading-slash with repo only (\"/name\")", () => {+ it('rejects leading-slash with repo only ("/name")', () => {expect(parseRepoInput("/name")).toBeNull();});@@ -218,7 +218,10 @@ describe("fetchStargazers", () => {const repoBody = { stargazers_count: total };// Build 200 entries on a single pageconst starBody = Array.from({ length: total }, (_, i) =>- rawEntry(`user${i}`, `2021-01-${String(i + 1).padStart(2, "0")}T00:00:00Z`),+ rawEntry(+ `user${i}`,+ `2021-01-${String(i + 1).padStart(2, "0")}T00:00:00Z`,+ ),);global.fetch = mock()@@ -244,7 +247,10 @@ describe("fetchStargazers", () => {// Repo fetch + each sampled stargazer page returns the same one-entry body.global.fetch = mock().mockImplementation((url: string) => {- if (String(url).includes("/repos/test/repo") && !String(url).includes("stargazers")) {+ if (+ String(url).includes("/repos/test/repo") &&+ !String(url).includes("stargazers")+ ) {return Promise.resolve(mockResponse(repoBody));}return Promise.resolve(@@ -258,7 +264,7 @@ describe("fetchStargazers", () => {it("sets truncated=false when the repo is within the listing ceiling", async () => {const repoBody = { stargazers_count: 3 };- const linkHeader = null; // only one page+ const _linkHeader = null; // only one pageconst starBody = [rawEntry("alice", "2021-01-01T00:00:00Z")];global.fetch = mock()@@ -270,8 +276,9 @@ describe("fetchStargazers", () => {});it("maps 404 response to StargazersError with code 'not_found'", async () => {- global.fetch = mock()- .mockResolvedValueOnce(mockResponse({}, { status: 404 }));+ global.fetch = mock().mockResolvedValueOnce(+ mockResponse({}, { status: 404 }),+ );await expect(fetchStargazers({ owner: "test", repo: "nonexistent" }),@@ -292,8 +299,9 @@ describe("fetchStargazers", () => {});it("maps 429 response to code 'rate_limited'", async () => {- global.fetch = mock()- .mockResolvedValueOnce(mockResponse({}, { status: 429 }));+ global.fetch = mock().mockResolvedValueOnce(+ mockResponse({}, { status: 429 }),+ );await expect(fetchStargazers({ owner: "test", repo: "repo" }),@@ -303,8 +311,7 @@ describe("fetchStargazers", () => {it("handles 0-star repo: returns [] and totalStars 0 without throwing", async () => {const repoBody = { stargazers_count: 0 };- global.fetch = mock()- .mockResolvedValueOnce(mockResponse(repoBody));+ global.fetch = mock().mockResolvedValueOnce(mockResponse(repoBody));const result = await fetchStargazers({ owner: "test", repo: "repo" });expect(result.stargazers).toEqual([]);@@ -341,7 +348,7 @@ describe("fetchStargazers", () => {// Second call is the stargazers page fetchconst [_url, init] = fetchMock.mock.calls[1] as [string, RequestInit];const headers = init?.headers as Record<string, string>;- expect(headers["Accept"]).toBe("application/vnd.github.star+json");+ expect(headers.Accept).toBe("application/vnd.github.star+json");});it("filters out entries with missing login, avatarUrl, or starredAt", async () => {@@ -349,7 +356,10 @@ describe("fetchStargazers", () => {const starBody = [rawEntry("alice", "2021-01-01T00:00:00Z"),{ starred_at: "2021-01-02T00:00:00Z", user: null }, // no user- { starred_at: null, user: { login: "bob", avatar_url: "https://example.com/b.png" } }, // no date+ {+ starred_at: null,+ user: { login: "bob", avatar_url: "https://example.com/b.png" },+ }, // no date];global.fetch = mock()diff --git a/lib/docs-tabs.ts b/lib/docs-tabs.tsindex 55d9d8f9..85151787 100644--- a/lib/docs-tabs.ts+++ b/lib/docs-tabs.ts@@ -61,8 +61,7 @@ function isPrimitivesNode(node: Node): boolean {if (node.index?.url === PRIMITIVES_PREFIX) return true;return node.children.some((child) =>- child.type === "page" &&- child.url.startsWith(`${PRIMITIVES_PREFIX}/`),+ child.type === "page" && child.url.startsWith(`${PRIMITIVES_PREFIX}/`),);}diff --git a/lib/server/__tests__/cleanup.test.ts b/lib/server/__tests__/cleanup.test.tsindex 9fc19f74..eaf38108 100644--- a/lib/server/__tests__/cleanup.test.ts+++ b/lib/server/__tests__/cleanup.test.ts@@ -49,7 +49,8 @@ async function makeErrorJob(): Promise<string> {describe("cleanup — sweepOnce registry eviction", () => {it("removes an error-status job older than the TTL", async () => {const jobId = await makeErrorJob();- const job = listJobs().get(jobId)!;+ const job = listJobs().get(jobId);+ if (!job) throw new Error("job not found");expect(job.status).toBe("error");job.createdAt = Date.now() - 700_000;@@ -61,7 +62,7 @@ describe("cleanup — sweepOnce registry eviction", () => {it("keeps an error-status job younger than the TTL", async () => {const jobId = await makeErrorJob();- expect(listJobs().get(jobId)!.status).toBe("error");+ expect(listJobs().get(jobId)?.status).toBe("error");await sweepOnce();@@ -71,13 +72,17 @@ describe("cleanup — sweepOnce registry eviction", () => {it("never evicts a rendering-status entry regardless of age", async () => {let releaseRender!: (v: string) => void;mockRender.mockImplementationOnce(- () => new Promise<string>((resolve) => (releaseRender = resolve)),+ () =>+ new Promise<string>((resolve) => {+ releaseRender = resolve;+ }),);const jobId = enqueueRender(makeInput());await tick();- const job = listJobs().get(jobId)!;+ const job = listJobs().get(jobId);+ if (!job) throw new Error("job not found");expect(job.status).toBe("rendering");job.createdAt = Date.now() - 10_000_000;diff --git a/lib/server/__tests__/render-queue.test.ts b/lib/server/__tests__/render-queue.test.tsindex ecdbbf89..a89fe4b8 100644--- a/lib/server/__tests__/render-queue.test.ts+++ b/lib/server/__tests__/render-queue.test.ts@@ -83,7 +83,9 @@ const tick = () => new Promise<void>((r) => setTimeout(r, 0));// Import queue + mock render fn after all vi.mock() calls are hoisted.// ----------------------------------------------------------------------------const { enqueueRender, getJob, QueueFullError } = await import("@/lib/server/render-queue");+const { enqueueRender, getJob, QueueFullError } = await import(+ "@/lib/server/render-queue"+);// ---------------------------------------------------------------------------// Reset mock state between tests (the module singleton is shared across the@@ -112,8 +114,8 @@ describe("render-queue — status transitions", () => {// Synchronously the job is registered.expect(job).toBeDefined();- expect(job!.status).toBe("queued");- expect(job!.progress).toBe(0);+ expect(job?.status).toBe("queued");+ expect(job?.progress).toBe(0);// Clean up: let it resolve so the limiter slot is freed.d.resolve("/tmp/out.mp4");@@ -129,7 +131,7 @@ describe("render-queue — status transitions", () => {await tick();const job = getJob(jobId);- expect(job!.status).toBe("rendering");+ expect(job?.status).toBe("rendering");d.resolve("/tmp/out.mp4");await tick();@@ -146,15 +148,15 @@ describe("render-queue — status transitions", () => {await tick();const job = getJob(jobId);- expect(job!.status).toBe("done");- expect(job!.progress).toBe(1);- expect(job!.outputPath).toBeDefined();+ expect(job?.status).toBe("done");+ expect(job?.progress).toBe(1);+ expect(job?.outputPath).toBeDefined();});it("stores the correct repo on the job", () => {mockRender.mockResolvedValueOnce("/tmp/x.mp4");const jobId = enqueueRender(makeInput("my-org/my-repo"));- expect(getJob(jobId)!.repo).toBe("my-org/my-repo");+ expect(getJob(jobId)?.repo).toBe("my-org/my-repo");});it("returns a string jobId that differs between two calls", () => {@@ -179,8 +181,8 @@ describe("render-queue — error path", () => {await tick(); // extra tick for rejection propagationconst job = getJob(jobId);- expect(job!.status).toBe("error");- expect(job!.error).toContain("Chromium crashed");+ expect(job?.status).toBe("error");+ expect(job?.error).toContain("Chromium crashed");});it("captures a generic (non-Error) rejection as a fallback string", async () => {@@ -191,8 +193,8 @@ describe("render-queue — error path", () => {await tick();const job = getJob(jobId);- expect(job!.status).toBe("error");- expect(typeof job!.error).toBe("string");+ expect(job?.status).toBe("error");+ expect(typeof job?.error).toBe("string");});});@@ -219,7 +221,7 @@ describe("render-queue — concurrency semaphore", () => {await tick();// Only 2 should be rendering (default RENDER_MAX_CONCURRENT = 2).- const statuses = ids.map((id) => getJob(id)!.status);+ const statuses = ids.map((id) => getJob(id)?.status);const renderingCount = statuses.filter((s) => s === "rendering").length;const queuedCount = statuses.filter((s) => s === "queued").length;@@ -232,7 +234,7 @@ describe("render-queue — concurrency semaphore", () => {await tick();await tick();- const newStatuses = ids.map((id) => getJob(id)!.status);+ const newStatuses = ids.map((id) => getJob(id)?.status);// ids[0] and ids[1] should now be done.expect(newStatuses[0]).toBe("done");expect(newStatuses[1]).toBe("done");@@ -265,8 +267,7 @@ describe("render-queue — render timeout", () => {return new Promise<string>((_, reject) => {if (signal) {signal.addEventListener("abort", () => {- abortCallback = () =>- reject(new Error("Render aborted"));+ abortCallback = () => reject(new Error("Render aborted"));abortCallback();});}@@ -282,9 +283,9 @@ describe("render-queue — render timeout", () => {await tick();const job = getJob(jobId);- expect(job!.status).toBe("error");+ expect(job?.status).toBe("error");// The queue sets job.error to "Render timed out" when signal.aborted is true.- expect(job!.error).toMatch(/timed out/i);+ expect(job?.error).toMatch(/timed out/i);delete process.env.RENDER_TIMEOUT_MS;});diff --git a/lib/server/__tests__/validate-input.test.ts b/lib/server/__tests__/validate-input.test.tsindex acc9f7e2..b362ca95 100644--- a/lib/server/__tests__/validate-input.test.ts+++ b/lib/server/__tests__/validate-input.test.ts@@ -19,7 +19,9 @@ const { parseRenderInput, RenderInputError } = await import(// ---------------------------------------------------------------------------/** A minimal valid body that passes every rule. */-function validBody(overrides?: Record<string, unknown>): Record<string, unknown> {+function validBody(+ overrides?: Record<string, unknown>,+): Record<string, unknown> {return {repo: "vercel/next.js",totalStars: 120_000,@@ -188,9 +190,9 @@ describe("parseRenderInput — non-object body throws", () => {describe("parseRenderInput — orientation", () => {it("throws on unknown orientation", () => {- expect(() => parseRenderInput(validBody({ orientation: "diagonal" }))).toThrow(- RenderInputError,- );+ expect(() =>+ parseRenderInput(validBody({ orientation: "diagonal" })),+ ).toThrow(RenderInputError);});it("throws when orientation is missing", () => {@@ -246,7 +248,9 @@ describe("parseRenderInput — stargazer item shapes", () => {it("throws when login is missing", () => {expect(() =>- parseRenderInput(validBody({ stargazers: [stargazer({ login: undefined })] })),+ parseRenderInput(+ validBody({ stargazers: [stargazer({ login: undefined })] }),+ ),).toThrow(RenderInputError);});@@ -273,7 +277,7 @@ describe("parseRenderInput — stargazer item shapes", () => {});it("throws when avatarUrl exceeds 512 chars", () => {- const longUrl = "https://example.com/" + "a".repeat(494);+ const longUrl = `https://example.com/${"a".repeat(494)}`;expect(() =>parseRenderInput(validBody({ stargazers: [stargazer({ avatarUrl: longUrl })] }),@@ -306,7 +310,9 @@ describe("parseRenderInput — avatarUrl must be a GitHub avatar URL", () => {it("throws on a file:// avatarUrl", () => {expect(() =>parseRenderInput(- validBody({ stargazers: [stargazer({ avatarUrl: "file:///etc/passwd" })] }),+ validBody({+ stargazers: [stargazer({ avatarUrl: "file:///etc/passwd" })],+ }),),).toThrow(RenderInputError);});@@ -314,7 +320,9 @@ describe("parseRenderInput — avatarUrl must be a GitHub avatar URL", () => {it("throws on a javascript: avatarUrl", () => {expect(() =>parseRenderInput(- validBody({ stargazers: [stargazer({ avatarUrl: "javascript:alert(1)" })] }),+ validBody({+ stargazers: [stargazer({ avatarUrl: "javascript:alert(1)" })],+ }),),).toThrow(RenderInputError);});@@ -330,7 +338,11 @@ describe("parseRenderInput — avatarUrl must be a GitHub avatar URL", () => {it("accepts an https:// avatarUrl on the GitHub avatar host", () => {const result = parseRenderInput(validBody({- stargazers: [stargazer({ avatarUrl: "https://avatars.githubusercontent.com/u/99" })],+ stargazers: [+ stargazer({+ avatarUrl: "https://avatars.githubusercontent.com/u/99",+ }),+ ],}),);expect(result.stargazers[0].avatarUrl).toBe(@@ -342,7 +354,9 @@ describe("parseRenderInput — avatarUrl must be a GitHub avatar URL", () => {const result = parseRenderInput(validBody({stargazers: [- stargazer({ avatarUrl: "https://avatars.githubusercontent.com/u/1?v=4" }),+ stargazer({+ avatarUrl: "https://avatars.githubusercontent.com/u/1?v=4",+ }),],}),);@@ -355,7 +369,11 @@ describe("parseRenderInput — avatarUrl must be a GitHub avatar URL", () => {expect(() =>parseRenderInput(validBody({- stargazers: [stargazer({ avatarUrl: "http://avatars.githubusercontent.com/u/1" })],+ stargazers: [+ stargazer({+ avatarUrl: "http://avatars.githubusercontent.com/u/1",+ }),+ ],}),),).toThrow(RenderInputError);@@ -364,7 +382,11 @@ describe("parseRenderInput — avatarUrl must be a GitHub avatar URL", () => {it("rejects a non-GitHub https host", () => {expect(() =>parseRenderInput(- validBody({ stargazers: [stargazer({ avatarUrl: "https://evil.example.com/a.png" })] }),+ validBody({+ stargazers: [+ stargazer({ avatarUrl: "https://evil.example.com/a.png" }),+ ],+ }),),).toThrow(RenderInputError);});@@ -372,7 +394,9 @@ describe("parseRenderInput — avatarUrl must be a GitHub avatar URL", () => {it("rejects a loopback IP avatarUrl", () => {expect(() =>parseRenderInput(- validBody({ stargazers: [stargazer({ avatarUrl: "http://127.0.0.1:8080/x" })] }),+ validBody({+ stargazers: [stargazer({ avatarUrl: "http://127.0.0.1:8080/x" })],+ }),),).toThrow(RenderInputError);});@@ -392,20 +416,26 @@ describe("parseRenderInput — avatarUrl must be a GitHub avatar URL", () => {it("rejects an IPv6 loopback avatarUrl", () => {expect(() =>parseRenderInput(- validBody({ stargazers: [stargazer({ avatarUrl: "https://[::1]/x" })] }),+ validBody({+ stargazers: [stargazer({ avatarUrl: "https://[::1]/x" })],+ }),),).toThrow(RenderInputError);});it("throws a 400 RenderInputError on an unparseable URL", () => {expect(() =>- parseRenderInput(validBody({ stargazers: [stargazer({ avatarUrl: "not a url" })] })),+ parseRenderInput(+ validBody({ stargazers: [stargazer({ avatarUrl: "not a url" })] }),+ ),).toThrow(RenderInputError);});it("throws a 400 RenderInputError on a scheme-only URL", () => {expect(() =>- parseRenderInput(validBody({ stargazers: [stargazer({ avatarUrl: "https://" })] })),+ parseRenderInput(+ validBody({ stargazers: [stargazer({ avatarUrl: "https://" })] }),+ ),).toThrow(RenderInputError);});@@ -430,9 +460,9 @@ describe("parseRenderInput — avatarUrl must be a GitHub avatar URL", () => {describe("parseRenderInput — accentColor", () => {it("throws when accentColor is not a hex color", () => {- expect(() =>- parseRenderInput(validBody({ accentColor: "red" })),- ).toThrow(RenderInputError);+ expect(() => parseRenderInput(validBody({ accentColor: "red" }))).toThrow(+ RenderInputError,+ );});it("throws when accentColor lacks the leading #", () => {@@ -442,9 +472,9 @@ describe("parseRenderInput — accentColor", () => {});it("throws when accentColor has 2 hex digits (too short)", () => {- expect(() =>- parseRenderInput(validBody({ accentColor: "#ff" })),- ).toThrow(RenderInputError);+ expect(() => parseRenderInput(validBody({ accentColor: "#ff" }))).toThrow(+ RenderInputError,+ );});});@@ -460,7 +490,9 @@ describe("parseRenderInput — repo", () => {});it("throws when repo is empty string", () => {- expect(() => parseRenderInput(validBody({ repo: "" }))).toThrow(RenderInputError);+ expect(() => parseRenderInput(validBody({ repo: "" }))).toThrow(+ RenderInputError,+ );});it("throws when repo exceeds 200 chars", () => {@@ -482,14 +514,14 @@ describe("parseRenderInput — totalStars", () => {});it("throws when totalStars is Infinity", () => {- expect(() =>- parseRenderInput(validBody({ totalStars: Infinity })),- ).toThrow(RenderInputError);+ expect(() => parseRenderInput(validBody({ totalStars: Infinity }))).toThrow(+ RenderInputError,+ );});it("throws when totalStars is NaN", () => {- expect(() =>- parseRenderInput(validBody({ totalStars: NaN })),- ).toThrow(RenderInputError);+ expect(() => parseRenderInput(validBody({ totalStars: NaN }))).toThrow(+ RenderInputError,+ );});});diff --git a/lib/server/cleanup.ts b/lib/server/cleanup.tsindex db649bcf..33ddb6e7 100644--- a/lib/server/cleanup.ts+++ b/lib/server/cleanup.ts@@ -15,7 +15,9 @@ import { deleteJob, listJobs } from "./render-queue";/** How long a finished file may sit before the sweep reclaims it. */function ttlMs(): number {const parsed = Number(process.env.RENDER_FILE_TTL_MS);- return Number.isFinite(parsed) && parsed >= 1000 ? Math.floor(parsed) : 600_000;+ return Number.isFinite(parsed) && parsed >= 1000+ ? Math.floor(parsed)+ : 600_000;}/** How often the sweep runs — derived from the TTL (at least once a minute). */diff --git a/lib/server/render-queue.ts b/lib/server/render-queue.tsindex 9ff0051f..6dcdac8d 100644--- a/lib/server/render-queue.ts+++ b/lib/server/render-queue.ts@@ -3,9 +3,9 @@ import { randomUUID } from "node:crypto";import { mkdir } from "node:fs/promises";import path from "node:path";import pLimit from "p-limit";+import { RENDER_WORK_DIR } from "./paths";import { renderStarsVideo } from "./render";import type { RenderInput } from "./validate-input";-import { RENDER_WORK_DIR } from "./paths";/*** In-process render orchestration: a global concurrency semaphore plus a job@@ -42,7 +42,9 @@ function maxConcurrent(): number {/** Hard ceiling on a single render before it's aborted as stuck. */function renderTimeoutMs(): number {const parsed = Number(process.env.RENDER_TIMEOUT_MS);- return Number.isFinite(parsed) && parsed >= 1000 ? Math.floor(parsed) : 120_000;+ return Number.isFinite(parsed) && parsed >= 1000+ ? Math.floor(parsed)+ : 120_000;}/** Max jobs allowed in flight or waiting before new ones are rejected. */diff --git a/lib/server/validate-input.ts b/lib/server/validate-input.tsindex 4acbbcc1..ffd1467e 100644--- a/lib/server/validate-input.ts+++ b/lib/server/validate-input.ts@@ -91,7 +91,11 @@ function parseStargazer(value: unknown, index: number): RenderStargazer {if (!isPlainObject(value)) {throw new RenderInputError(`stargazers[${index}] must be an object`);}- const login = requireString(value.login, `stargazers[${index}].login`, MAX_LOGIN_LEN);+ const login = requireString(+ value.login,+ `stargazers[${index}].login`,+ MAX_LOGIN_LEN,+ );const avatarUrl = requireString(value.avatarUrl,`stargazers[${index}].avatarUrl`,@@ -136,7 +140,11 @@ export function parseRenderInput(body: unknown): RenderInput {const repo = requireString(body.repo, "repo", MAX_REPO_LEN);const totalStars = Math.floor(- clamp(requireFiniteNumber(body.totalStars, "totalStars"), 0, MAX_TOTAL_STARS),+ clamp(+ requireFiniteNumber(body.totalStars, "totalStars"),+ 0,+ MAX_TOTAL_STARS,+ ),);if (!Array.isArray(body.stargazers)) {@@ -150,7 +158,9 @@ export function parseRenderInput(body: unknown): RenderInput {const stargazers = body.stargazers.map(parseStargazer);if (body.orientation !== "horizontal" && body.orientation !== "vertical") {- throw new RenderInputError(`"orientation" must be "horizontal" or "vertical"`);+ throw new RenderInputError(+ `"orientation" must be "horizontal" or "vertical"`,+ );}const orientation: Orientation = body.orientation;@@ -158,13 +168,19 @@ export function parseRenderInput(body: unknown): RenderInput {if (body.accentColor !== undefined) {accentColor = requireString(body.accentColor, "accentColor", 32);if (!HEX_COLOR.test(accentColor)) {- throw new RenderInputError(`"accentColor" must be a hex color (e.g. #ffbb00)`);+ throw new RenderInputError(+ `"accentColor" must be a hex color (e.g. #ffbb00)`,+ );}}let speed = DEFAULT_SPEED;if (body.speed !== undefined) {- speed = clamp(requireFiniteNumber(body.speed, "speed"), MIN_SPEED, MAX_SPEED);+ speed = clamp(+ requireFiniteNumber(body.speed, "speed"),+ MIN_SPEED,+ MAX_SPEED,+ );}let theme: Theme = DEFAULT_THEME;@@ -175,5 +191,13 @@ export function parseRenderInput(body: unknown): RenderInput {theme = body.theme;}- return { repo, totalStars, stargazers, orientation, accentColor, speed, theme };+ return {+ repo,+ totalStars,+ stargazers,+ orientation,+ accentColor,+ speed,+ theme,+ };}diff --git a/lib/ui-preview-internals.tsx b/lib/ui-preview-internals.tsxindex 62964062..b055e39c 100644--- a/lib/ui-preview-internals.tsx+++ b/lib/ui-preview-internals.tsx@@ -9,11 +9,11 @@ import {parseAsStringLiteral,} from "nuqs";import { useEffect, useMemo, useRef, useState } from "react";-import type { BackdropFill } from "@/registry/remocn/backdrop";-import { Backdrop } from "@/registry/remocn/backdrop";import type { ControlConfig } from "@/lib/customizer-config";import { usePrefersReducedMotion } from "@/lib/use-prefers-reduced-motion";import { cn } from "@/lib/utils";+import type { BackdropFill } from "@/registry/remocn/backdrop";+import { Backdrop } from "@/registry/remocn/backdrop";/*** Shared internals for the docs preview widgets. Extracted verbatim from@@ -30,6 +30,7 @@ import { cn } from "@/lib/utils";* so multiple previews on one page never collide.*/export function buildParsers(name: string, controls: ControlConfig) {+ // biome-ignore lint/suspicious/noExplicitAny: holds nuqs parsers of differing generic types (string/number/boolean); no common narrower type existsconst parsers: Record<string, any> = {};const urlKeys: Record<string, string> = {};const prefix = name.replace(/-/g, "_");@@ -76,7 +77,9 @@ export function PreviewStage({previewBackdrop,}: {name: string;+ // biome-ignore lint/suspicious/noExplicitAny: dynamically-loaded Remotion composition, props shape varies per componentComponent?: React.ComponentType<any>;+ // biome-ignore lint/suspicious/noExplicitAny: dynamically-loaded Remotion composition, props shape varies per componentload?: () => Promise<{ default: React.ComponentType<any> }>;inputProps: Record<string, unknown>;durationInFrames: number;@@ -132,10 +135,13 @@ export function PreviewStage({}, [mounted]);const compProps = useMemo<+ // biome-ignore lint/suspicious/noExplicitAny: dynamically-loaded Remotion composition, props shape varies per component| { lazyComponent: () => Promise<{ default: React.ComponentType<any> }> }+ // biome-ignore lint/suspicious/noExplicitAny: dynamically-loaded Remotion composition, props shape varies per component| { component: React.ComponentType<any> }>(() => {const wrap =+ // biome-ignore lint/suspicious/noExplicitAny: dynamically-loaded Remotion composition, props shape varies per component(Inner: React.ComponentType<any>) => (p: Record<string, unknown>) =>previewBackdrop ? (<Backdrop fill={previewBackdrop} padding={0} radius={0} shadow="">diff --git a/mdx-components.tsx b/mdx-components.tsxindex 48f1221a..fd42fc13 100644--- a/mdx-components.tsx+++ b/mdx-components.tsx@@ -1,15 +1,15 @@import defaultMdxComponents from "fumadocs-ui/mdx";import type { MDXComponents } from "mdx/types";+import { BlockPreview } from "@/components/docs/block-preview";import { Note, Warning } from "@/components/docs/callout";import { ComponentCardGrid } from "@/components/docs/component-card-grid";import { ComponentExample } from "@/components/docs/component-example";import { ComponentPreview } from "@/components/docs/component-preview";-import { UiComponentPreview } from "@/components/docs/ui-component-preview";-import { BlockPreview } from "@/components/docs/block-preview";import { Dependencies } from "@/components/docs/dependencies";import { InstallAll } from "@/components/docs/install-all";import { InstallBlock } from "@/components/docs/install-block";import { PropsTable } from "@/components/docs/props-table";+import { UiComponentPreview } from "@/components/docs/ui-component-preview";/*** MDX prose mapping for remocn docs.diff --git a/public/r/accordion.json b/public/r/accordion.jsonindex 88c45dd4..66cc592f 100644--- a/public/r/accordion.json+++ b/public/r/accordion.json@@ -3,12 +3,8 @@"name": "accordion","title": "UI Accordion","description": "A disclosure whose opened/closed state is a pure function of the timeline; the panel reveal, chevron, and background are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/accordion/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/ai-prompt-flow.json b/public/r/ai-prompt-flow.jsonindex 5668549d..49cebdfe 100644--- a/public/r/ai-prompt-flow.json+++ b/public/r/ai-prompt-flow.json@@ -3,9 +3,7 @@"name": "ai-prompt-flow","title": "UI AI Prompt Flow","description": "An AI prompt composition: a prompt types into the field, the Generate button runs hover → press → loading, a skeleton shimmer reveals, then crossfades into the generated answer, and a ready toast slides in. A pure orchestrator — the shimmer is owned by the skeleton-block motion atom; every other channel comes from a composed primitive's hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/input",@@ -23,4 +21,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/alert-dialog.json b/public/r/alert-dialog.jsonindex cfcd5cb9..37d59d1d 100644--- a/public/r/alert-dialog.json+++ b/public/r/alert-dialog.json@@ -3,12 +3,8 @@"name": "alert-dialog","title": "UI Alert Dialog","description": "A modal alert dialog whose opened/closed state is a pure function of the timeline; the backdrop dim and popup zoom are keyframed presets. Self-contained — pair it with the Button as a trigger (see the example).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/alert-dialog/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/animated-bar-chart.json b/public/r/animated-bar-chart.jsonindex 528e7eb8..df6c6132 100644--- a/public/r/animated-bar-chart.json+++ b/public/r/animated-bar-chart.json@@ -3,9 +3,7 @@"name": "animated-bar-chart","title": "Animated Bar Chart","description": "Bars spring up from the baseline in a staggered cascade.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/animated-bar-chart/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/animated-line-chart.json b/public/r/animated-line-chart.jsonindex fcc6149b..c3b50f4b 100644--- a/public/r/animated-line-chart.json+++ b/public/r/animated-line-chart.json@@ -3,9 +3,7 @@"name": "animated-line-chart","title": "Animated Line Chart","description": "Line chart whose SVG path draws on from left to right with a leading dot.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/animated-line-chart/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/backdrop.json b/public/r/backdrop.jsonindex 678ef1b5..cc61f62f 100644--- a/public/r/backdrop.json+++ b/public/r/backdrop.json@@ -3,9 +3,7 @@"name": "backdrop","title": "Backdrop","description": "Configurable full-frame background (color / gradient / image / live component) with Screen Studio-style padding and a rounded, shadowed content frame.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/backdrop/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/blur-in.json b/public/r/blur-in.jsonindex 242b2cdc..395d2ffa 100644--- a/public/r/blur-in.json+++ b/public/r/blur-in.json@@ -3,12 +3,8 @@"name": "blur-in","title": "UI Blur In","description": "A wrapper that reveals a single child with blur + opacity + a directional offset; a pure state atom, theme-independent — its context is a motion config (blur/distance/axis), not a theme.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/blur-in/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/blur-out-up.json b/public/r/blur-out-up.jsonindex 8eddcc0d..d4532352 100644--- a/public/r/blur-out-up.json+++ b/public/r/blur-out-up.json@@ -3,9 +3,7 @@"name": "blur-out-up","title": "Blur Out Up","description": "Words arrive clean and depart upward with increasing blur for airy exits.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/blur-out-up/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/bottom-up-letters.json b/public/r/bottom-up-letters.jsonindex dc864950..6bba9629 100644--- a/public/r/bottom-up-letters.json+++ b/public/r/bottom-up-letters.json@@ -3,9 +3,7 @@"name": "bottom-up-letters","title": "Bottom-Up Letters","description": "Letters rise from below in a pronounced staircase, one symbol at a time, with zero blur.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/bottom-up-letters/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/button.json b/public/r/button.jsonindex 57595000..62166045 100644--- a/public/r/button.json+++ b/public/r/button.json@@ -3,13 +3,8 @@"name": "button","title": "UI Button","description": "A button whose idle/hover/press/loading/success state is a pure function of the timeline; the loading state composes the Spinner motion atom.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/spinner"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/spinner"],"files": [{"path": "registry/remocn-ui/button/index.tsx",@@ -25,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/caret.json b/public/r/caret.jsonindex 4ff1f77f..ef485b74 100644--- a/public/r/caret.json+++ b/public/r/caret.json@@ -3,9 +3,7 @@"name": "caret","title": "UI Caret","description": "A blinking text caret — a controlled vertical bar, or a pure motion atom that blinks deterministically from useCurrentFrame.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": [],"files": [{@@ -16,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/chat-flow.json b/public/r/chat-flow.jsonindex 84498c83..b3266ca3 100644--- a/public/r/chat-flow.json+++ b/public/r/chat-flow.json@@ -3,9 +3,7 @@"name": "chat-flow","title": "UI Chat Flow","description": "A messaging composition: an outgoing message types into the composer, the send button presses, and the bubble rises in; the other side shows a typing indicator that swaps into the reply, and reactions pop in. A pure orchestrator — every channel comes from a composed primitive's hook (Input, MessageBubble, TypingIndicator).",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/caret",@@ -21,4 +19,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/chat-gpt.json b/public/r/chat-gpt.jsonindex 45ae1fad..36f53599 100644--- a/public/r/chat-gpt.json+++ b/public/r/chat-gpt.json@@ -3,14 +3,8 @@"name": "chat-gpt","title": "ChatGPT","description": "Animated ChatGPT composer — types a prompt into the pill input, the blue voice button morphs into a send button, and the suggestion chips fade out. Light/dark themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/chat-gpt/index.tsx",@@ -20,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/chat-to-preview-layout.json b/public/r/chat-to-preview-layout.jsonindex 477bb63b..444c480b 100644--- a/public/r/chat-to-preview-layout.json+++ b/public/r/chat-to-preview-layout.json@@ -3,9 +3,7 @@"name": "chat-to-preview-layout","title": "Chat to Preview Layout","description": "Two-column layout where chat shrinks and preview expands.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/chat-to-preview-layout/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/checkbox.json b/public/r/checkbox.jsonindex ca2aa05f..17030893 100644--- a/public/r/checkbox.json+++ b/public/r/checkbox.json@@ -3,12 +3,8 @@"name": "checkbox","title": "UI Checkbox","description": "A checkbox whose checked/unchecked state is a pure function of the timeline; the box fill, border, and checkmark draw are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/checkbox/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/checkout-flow.json b/public/r/checkout-flow.jsonindex 43102491..f6a5c1a3 100644--- a/public/r/checkout-flow.json+++ b/public/r/checkout-flow.json@@ -3,9 +3,7 @@"name": "checkout-flow","title": "UI Checkout Flow","description": "A cursor-driven checkout card: the card and its fields blur-in, then the pointer flips a billing-cycle toggle, types a card number, ticks the terms checkbox, and presses Pay through to success, ending in a toast. A pure orchestrator — every channel comes from a composed primitive's transition hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/toggle-group",@@ -26,4 +24,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/claude-chat.json b/public/r/claude-chat.jsonindex e0fee3b0..db5703ba 100644--- a/public/r/claude-chat.json+++ b/public/r/claude-chat.json@@ -3,14 +3,8 @@"name": "claude-chat","title": "Claude Chat","description": "Animated Claude chat input — types a prompt character-by-character and the waveform button morphs into a terracotta send button the moment text appears. Warm light/dark themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/claude-chat/index.tsx",@@ -20,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/claude-code.json b/public/r/claude-code.jsonindex 2604a38f..d1d535c5 100644--- a/public/r/claude-code.json+++ b/public/r/claude-code.json@@ -3,14 +3,8 @@"name": "claude-code","title": "Claude Code","description": "Animated Claude Code CLI welcome screen — terminal window with a dashed welcome box, recent activity and what's new panels, and a prompt line that types a command with a block cursor. Dark/light themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/claude-code/index.tsx",@@ -20,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/combobox.json b/public/r/combobox.jsonindex 88f0584c..be5a7563 100644--- a/public/r/combobox.json+++ b/public/r/combobox.json@@ -3,9 +3,7 @@"name": "combobox","title": "UI Combobox","description": "A combobox whose opened/closed state is a pure function of the timeline; the panel fade/scale/lift are keyframed presets like select. The trigger reuses the Input presets (typed query + caret reveal via an injected inputStyle), the list is filtered by a pure case-insensitive substring on the visible query prefix, and rows reuse the SelectItem row.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/input",@@ -26,4 +24,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/command-menu-item.json b/public/r/command-menu-item.jsonindex 27c82fb5..1f7a647b 100644--- a/public/r/command-menu-item.json+++ b/public/r/command-menu-item.json@@ -3,12 +3,8 @@"name": "command-menu-item","title": "UI Command Menu Item","description": "A command-palette row whose idle/hover/press/selected state is a pure function of the timeline. Leading icon + label + trailing shortcut kbd. Exports an inline CommandMenuItemRow (reused by CommandMenu) and a standalone CommandMenuItem atom; the row background, label color, and icon color are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/command-menu-item/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/command-menu.json b/public/r/command-menu.jsonindex a21cbe2d..68c4ad16 100644--- a/public/r/command-menu.json+++ b/public/r/command-menu.json@@ -3,13 +3,8 @@"name": "command-menu","title": "UI Command Menu","description": "A ⌘K command palette whose opened/closed state is a pure function of the timeline; the panel zoom + backdrop dim are dialog-like keyframed presets. The search row reveals the typed query, the list is filtered by a pure case-insensitive substring on the visible query prefix, and rows reuse the CommandMenuItem row.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/command-menu-item"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/command-menu-item"],"files": [{"path": "registry/remocn-ui/command-menu/index.tsx",@@ -25,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/confetti.json b/public/r/confetti.jsonindex 9c22844e..9508421c 100644--- a/public/r/confetti.json+++ b/public/r/confetti.json@@ -3,9 +3,7 @@"name": "confetti","title": "Confetti","description": "Deterministic confetti burst for Remotion — seeded particles with gravity, spin, and flutter so every render is identical. Fire it on any frame as a celebratory overlay.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/confetti/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/context-menu.json b/public/r/context-menu.jsonindex 70d3128b..9547d5c1 100644--- a/public/r/context-menu.json+++ b/public/r/context-menu.json@@ -3,13 +3,8 @@"name": "context-menu","title": "UI Context Menu","description": "A right-click context menu whose opened/closed state is a pure function of the timeline; the panel scales from its top-left corner (the click point) with a fade + lift. No trigger — the caller positions it. Rows reuse the DropdownMenuItem row; items are plain string labels.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/dropdown-menu-item"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/dropdown-menu-item"],"files": [{"path": "registry/remocn-ui/context-menu/index.tsx",@@ -25,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/cursor.json b/public/r/cursor.jsonindex d2005862..f5985b06 100644--- a/public/r/cursor.json+++ b/public/r/cursor.json@@ -3,12 +3,8 @@"name": "cursor","title": "UI Cursor","description": "An animated cursor that moves between waypoints, clicks (ripple), and drags. The Cursor renderer is a pure function of a numeric CursorStyle channel; useCursorPath reads the frame and eases the path, ripple, and press phases.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/cursor/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/data-flow-pipes.json b/public/r/data-flow-pipes.jsonindex bc7c58b6..28318d38 100644--- a/public/r/data-flow-pipes.json+++ b/public/r/data-flow-pipes.json@@ -3,9 +3,7 @@"name": "data-flow-pipes","title": "Data Flow Pipes","description": "Glowing data packets travel along SVG bezier pipes between system nodes, leaving fading trails.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/data-flow-pipes/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/dialog.json b/public/r/dialog.jsonindex a7de8e52..1128ad50 100644--- a/public/r/dialog.json+++ b/public/r/dialog.json@@ -3,12 +3,8 @@"name": "dialog","title": "UI Dialog","description": "A modal dialog whose opened/closed state is a pure function of the timeline; the backdrop dim and popup zoom are keyframed presets, with a close button and a primary action. Self-contained — pair it with the Button as a trigger (see the example).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/dialog/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/dither-dissolve.json b/public/r/dither-dissolve.jsonindex c5350eb7..c5a65e46 100644--- a/public/r/dither-dissolve.json+++ b/public/r/dither-dissolve.json@@ -3,13 +3,8 @@"name": "dither-dissolve","title": "Dither Dissolve","description": "A dithering shader transition that dissolves one scene into the next.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-dithering"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-dithering"],"files": [{"path": "registry/remocn/dither-dissolve/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/drawer.json b/public/r/drawer.jsonindex ed46bec4..5c0634a3 100644--- a/public/r/drawer.json+++ b/public/r/drawer.json@@ -3,12 +3,8 @@"name": "drawer","title": "UI Drawer","description": "A bottom panel whose opened/closed state is a pure function of the timeline; the backdrop dim and bottom-edge slide-up are keyframed presets, with a drag handle and a primary action. Self-contained — pair it with the Button as a trigger (see the example).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/drawer/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/dropdown-menu-item.json b/public/r/dropdown-menu-item.jsonindex 834246af..e4244463 100644--- a/public/r/dropdown-menu-item.json+++ b/public/r/dropdown-menu-item.json@@ -3,12 +3,8 @@"name": "dropdown-menu-item","title": "UI Dropdown Menu Item","description": "A dropdown menu action row whose idle/hover/press state is a pure function of the timeline; the row background and label color are keyframed presets. Composed inside the DropdownMenu panel.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/dropdown-menu-item/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/dropdown-menu.json b/public/r/dropdown-menu.jsonindex 6a71863b..fcf10e1d 100644--- a/public/r/dropdown-menu.json+++ b/public/r/dropdown-menu.json@@ -3,9 +3,7 @@"name": "dropdown-menu","title": "UI Dropdown Menu","description": "A dropdown menu whose opened/closed state is a pure function of the timeline; the trigger reuses the Button primitive and the reveal panel composes DropdownMenuItem rows. The panel fade, scale, lift, and chevron are keyframed presets.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/button",@@ -26,4 +24,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/dynamic-grid.json b/public/r/dynamic-grid.jsonindex 274b74c2..bdeb4a25 100644--- a/public/r/dynamic-grid.json+++ b/public/r/dynamic-grid.json@@ -3,9 +3,7 @@"name": "dynamic-grid","title": "Dynamic Grid","description": "Subtle moving grid background with configurable cell size and direction.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/dynamic-grid/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/ecosystem-constellation.json b/public/r/ecosystem-constellation.jsonindex 4288c33d..9c97e315 100644--- a/public/r/ecosystem-constellation.json+++ b/public/r/ecosystem-constellation.json@@ -3,9 +3,7 @@"name": "ecosystem-constellation","title": "Ecosystem Constellation","description": "A central logo orbited by integration satellites with pulsing data lines.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/ecosystem-constellation/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/fade-through.json b/public/r/fade-through.jsonindex 91299c45..25e49259 100644--- a/public/r/fade-through.json+++ b/public/r/fade-through.json@@ -3,9 +3,7 @@"name": "fade-through","title": "Fade Through","description": "A Material-style content transition: old fades out, new fades in with a soft delay.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/fade-through/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/field.json b/public/r/field.jsonindex 31c29313..8d85c65b 100644--- a/public/r/field.json+++ b/public/r/field.json@@ -3,12 +3,8 @@"name": "field","title": "UI Field","description": "A static layout family for composing labeled form controls, modeled on shadcn's Field: FieldGroup ▸ Field ▸ FieldLabel / FieldControl / FieldDescription. Reads no frame and holds no state — colors come from the resolved theme. FieldControl is a relative fixed-height slot for the absolute remocn-ui controls (Input, Button).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/field/index.tsx",@@ -18,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/focus-blur-resolve.json b/public/r/focus-blur-resolve.jsonindex 287cc3fa..e6f08724 100644--- a/public/r/focus-blur-resolve.json+++ b/public/r/focus-blur-resolve.json@@ -3,9 +3,7 @@"name": "focus-blur-resolve","title": "Focus Blur Resolve","description": "A premium focus pull from heavy blur to crisp text, then a soft blur-out exit.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/focus-blur-resolve/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/focus-pull.json b/public/r/focus-pull.jsonindex 6f4f279a..dd7c8b4b 100644--- a/public/r/focus-pull.json+++ b/public/r/focus-pull.json@@ -3,10 +3,7 @@"name": "focus-pull","title": "Focus Pull","description": "A rack-focus transition that defocuses the outgoing scene into a bright blur and resolves the next one into focus.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],+ "dependencies": ["remotion", "@remotion/transitions"],"files": [{"path": "registry/remocn/focus-pull/index.tsx",@@ -16,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/github-sponsors.json b/public/r/github-sponsors.jsonindex 0227f6f7..8bb1343f 100644--- a/public/r/github-sponsors.json+++ b/public/r/github-sponsors.json@@ -3,14 +3,8 @@"name": "github-sponsors","title": "GitHub Sponsors","description": "Self-drawing Sponsors heart that docks to a header, every sponsor avatar blur-staggering into a grid, then a thank-you headline and a CTA. Single seek-safe timeline, 270 frames at 30fps.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/soft-blur-in",- "@remocn/blur-out-up"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/soft-blur-in", "@remocn/blur-out-up"],"files": [{"path": "registry/remocn/github-sponsors/index.tsx",@@ -20,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/github-stars.json b/public/r/github-stars.jsonindex 9f639348..3771025c 100644--- a/public/r/github-stars.json+++ b/public/r/github-stars.json@@ -3,14 +3,8 @@"name": "github-stars","title": "GitHub Stars","description": "Inertial fly-through of a repo's stargazers with a synced count-up odometer that locks on the total. Horizontal 16:9 or vertical 9:16.",- "dependencies": [- "remotion",- "date-fns",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/number-wheel"- ],+ "dependencies": ["remotion", "date-fns", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/number-wheel"],"files": [{"path": "registry/remocn/github-stars/index.tsx",@@ -20,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/glass-code-block.json b/public/r/glass-code-block.jsonindex eacadb41..967f4348 100644--- a/public/r/glass-code-block.json+++ b/public/r/glass-code-block.json@@ -3,9 +3,7 @@"name": "glass-code-block","title": "Glass Code Block","description": "A premium frosted-glass code editor window with a regex tokenizer and line-by-line stagger reveal.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/glass-code-block/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/glass-code-walk.json b/public/r/glass-code-walk.jsonindex 7bb98ac4..89432d32 100644--- a/public/r/glass-code-walk.json+++ b/public/r/glass-code-walk.json@@ -3,12 +3,8 @@"name": "glass-code-walk","title": "Glass Code Walk","description": "A camera that scans a glass code block top to bottom as it types, then pulls back to a centered hold.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/glass-code-block"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/glass-code-block"],"files": [{"path": "registry/remocn/glass-code-walk/index.tsx",@@ -18,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/grain-dissolve.json b/public/r/grain-dissolve.jsonindex 91c4b1c9..810e962a 100644--- a/public/r/grain-dissolve.json+++ b/public/r/grain-dissolve.json@@ -3,13 +3,8 @@"name": "grain-dissolve","title": "Grain Dissolve","description": "A grain-gradient shader transition that disintegrates the outgoing scene into soft grainy shapes and condenses the next scene out of the noise.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-grain-gradient"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-grain-gradient"],"files": [{"path": "registry/remocn/grain-dissolve/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/imessage-chat-flow.json b/public/r/imessage-chat-flow.jsonindex fccf51e8..25133cbb 100644--- a/public/r/imessage-chat-flow.json+++ b/public/r/imessage-chat-flow.json@@ -3,10 +3,7 @@"name": "imessage-chat-flow","title": "UI iMessage Chat Flow","description": "An iMessage-styled messaging composition: gray incoming and blue outgoing bubbles with tails, an in-thread typing bubble with dots, a Delivered label, and tapback-style reaction badges. The composer types the outgoing message before sending. Chrome icons come from lucide-react; self-contained otherwise, composing the caret and typing-indicator primitives.",- "dependencies": [- "remotion",- "lucide-react"- ],+ "dependencies": ["remotion", "lucide-react"],"registryDependencies": ["@remocn/remocn-ui","@remocn/caret",@@ -21,4 +18,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/infinite-bento-pan.json b/public/r/infinite-bento-pan.jsonindex b2fd4df1..be372579 100644--- a/public/r/infinite-bento-pan.json+++ b/public/r/infinite-bento-pan.json@@ -3,9 +3,7 @@"name": "infinite-bento-pan","title": "Infinite Bento Pan","description": "A camera diagonally drifts across an oversized bento grid behind a soft vignette.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/infinite-bento-pan/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/infinite-marquee.json b/public/r/infinite-marquee.jsonindex eb4bc012..feb96902 100644--- a/public/r/infinite-marquee.json+++ b/public/r/infinite-marquee.json@@ -3,9 +3,7 @@"name": "infinite-marquee","title": "Infinite Marquee","description": "Seamlessly looping horizontal text strip with optional stroke style.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/infinite-marquee/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/inline-highlight.json b/public/r/inline-highlight.jsonindex 4eaf410b..aa65b978 100644--- a/public/r/inline-highlight.json+++ b/public/r/inline-highlight.json@@ -3,9 +3,7 @@"name": "inline-highlight","title": "Inline Highlight","description": "Animates one word inside a sentence from a base color to a brand color.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/inline-highlight/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/input.json b/public/r/input.jsonindex af4fa9c0..1d03a7ff 100644--- a/public/r/input.json+++ b/public/r/input.json@@ -3,13 +3,8 @@"name": "input","title": "UI Input","description": "A text input whose idle/hover/active/typing/invalid state is a pure function of the timeline; the focus ring, border, caret, and value reveal are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/caret"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret"],"files": [{"path": "registry/remocn-ui/input/index.tsx",@@ -25,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/kinetic-center-build.json b/public/r/kinetic-center-build.jsonindex 795612e5..20a18f70 100644--- a/public/r/kinetic-center-build.json+++ b/public/r/kinetic-center-build.json@@ -3,9 +3,7 @@"name": "kinetic-center-build","title": "Kinetic Center Build","description": "A word appears in the center; each new word enters from the right and pushes the line until the full phrase locks centered.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/kinetic-center-build/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/line-by-line-slide.json b/public/r/line-by-line-slide.jsonindex c6044203..36070dfc 100644--- a/public/r/line-by-line-slide.json+++ b/public/r/line-by-line-slide.json@@ -3,9 +3,7 @@"name": "line-by-line-slide","title": "Line-by-Line Slide","description": "Each line enters from the left with a staggered slide and exits to the right for a flowing paragraph reveal.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/line-by-line-slide/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/live-code-compilation.json b/public/r/live-code-compilation.jsonindex ba168b72..843b49e7 100644--- a/public/r/live-code-compilation.json+++ b/public/r/live-code-compilation.json@@ -3,9 +3,7 @@"name": "live-code-compilation","title": "Live Code Compilation","description": "Split-screen where typed code on the left snaps a live UI preview on the right, HMR-style.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/live-code-compilation/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/logo-enter.json b/public/r/logo-enter.jsonindex c0723aef..b48361e6 100644--- a/public/r/logo-enter.json+++ b/public/r/logo-enter.json@@ -3,9 +3,7 @@"name": "logo-enter","title": "Logo Enter","description": "A stacked group of round brand chips that spring in one-by-one, then hold. Swap the logos to feature any set of marks. Horizontal or vertical stacking.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/logo-enter/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/marker-highlight.json b/public/r/marker-highlight.jsonindex 1d64040f..b0a7e9ed 100644--- a/public/r/marker-highlight.json+++ b/public/r/marker-highlight.json@@ -3,9 +3,7 @@"name": "marker-highlight","title": "Marker Highlight","description": "Colored marker block draws behind a phrase as the text color shifts.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/marker-highlight/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/mask-reveal-up.json b/public/r/mask-reveal-up.jsonindex 4ddf943f..3799bc8d 100644--- a/public/r/mask-reveal-up.json+++ b/public/r/mask-reveal-up.json@@ -3,9 +3,7 @@"name": "mask-reveal-up","title": "Mask Reveal Up","description": "Lines reveal upward with a soft masked feel and compact stagger.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/mask-reveal-up/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/matrix-decode.json b/public/r/matrix-decode.jsonindex 5f80b709..3c4f39ca 100644--- a/public/r/matrix-decode.json+++ b/public/r/matrix-decode.json@@ -3,9 +3,7 @@"name": "matrix-decode","title": "Matrix Decode","description": "Random scramble resolves left-to-right into the target text.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/matrix-decode/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/mesh-gradient-bg.json b/public/r/mesh-gradient-bg.jsonindex 79cf96e8..f6930f2f 100644--- a/public/r/mesh-gradient-bg.json+++ b/public/r/mesh-gradient-bg.json@@ -3,9 +3,7 @@"name": "mesh-gradient-bg","title": "Mesh Gradient Background","description": "Living gradient with amorphous color blobs slowly drifting across the frame.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/mesh-gradient-bg/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/message-bubble.json b/public/r/message-bubble.jsonindex 319d5be6..271714eb 100644--- a/public/r/message-bubble.json+++ b/public/r/message-bubble.json@@ -3,12 +3,8 @@"name": "message-bubble","title": "UI Message Bubble","description": "A chat message bubble whose hidden/visible state is a pure function of the timeline. The renderer is a pure function of a MessageBubbleStyle (opacity, translateY, scale); useMessageBubbleTransition eases the rise-in enter. The incoming/outgoing variant resolves bubble color and alignment from the theme, and an optional reaction badge pops in on its own channel.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/message-bubble/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/micro-scale-fade.json b/public/r/micro-scale-fade.jsonindex 7dc6a8ed..4c2782f3 100644--- a/public/r/micro-scale-fade.json+++ b/public/r/micro-scale-fade.json@@ -3,9 +3,7 @@"name": "micro-scale-fade","title": "Micro Scale Fade","description": "A calm, tiny scale pop used as subtle premium polish for labels and headings.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/micro-scale-fade/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/number-wheel.json b/public/r/number-wheel.jsonindex 6d542cf6..6baaf8a3 100644--- a/public/r/number-wheel.json+++ b/public/r/number-wheel.json@@ -3,10 +3,7 @@"name": "number-wheel","title": "Number Wheel","description": "Mechanical odometer that rolls an integer up or down to its target, direction inferred from the values.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],"files": [{"path": "registry/remocn/number-wheel/index.tsx",@@ -16,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/onboarding-stepper-flow.json b/public/r/onboarding-stepper-flow.jsonindex 571e3142..c16a10e9 100644--- a/public/r/onboarding-stepper-flow.json+++ b/public/r/onboarding-stepper-flow.json@@ -3,9 +3,7 @@"name": "onboarding-stepper-flow","title": "UI Onboarding Stepper Flow","description": "A multi-step onboarding composition: a horizontal stepper advances through panels of input, radio, and switch fields, finishing on a Finish button that runs to success. Panel crossfade derives linearly from the stepper's exposed position channel; every other channel comes from a composed primitive's hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/stepper",@@ -23,4 +21,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/opencode.json b/public/r/opencode.jsonindex 9cc5766b..27a1d3ac 100644--- a/public/r/opencode.json+++ b/public/r/opencode.json@@ -3,14 +3,8 @@"name": "opencode","title": "OpenCode","description": "Animated OpenCode TUI welcome screen — two-tone wordmark, an input box with a blue accent bar that types a query, a model status line, and command hints. Dark/light themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/opencode/index.tsx",@@ -20,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/per-character-rise.json b/public/r/per-character-rise.jsonindex 4f94f9d2..f8e23557 100644--- a/public/r/per-character-rise.json+++ b/public/r/per-character-rise.json@@ -3,9 +3,7 @@"name": "per-character-rise","title": "Per Character Rise","description": "Letters slide up from below with no blur — crisp, deliberate, kinetic.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/per-character-rise/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/per-word-crossfade.json b/public/r/per-word-crossfade.jsonindex 77a9c70b..c0723213 100644--- a/public/r/per-word-crossfade.json+++ b/public/r/per-word-crossfade.json@@ -3,9 +3,7 @@"name": "per-word-crossfade","title": "Per-Word Crossfade","description": "Words gently fade into place one after another, with a short vertical drift for a calm keynote rhythm.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/per-word-crossfade/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/perlin-dissolve.json b/public/r/perlin-dissolve.jsonindex 41940aec..3c7bf585 100644--- a/public/r/perlin-dissolve.json+++ b/public/r/perlin-dissolve.json@@ -3,13 +3,8 @@"name": "perlin-dissolve","title": "Perlin Dissolve","description": "A perlin-noise shader transition that sweeps its noise threshold to dissolve one scene into the next.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-perlin-noise"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-perlin-noise"],"files": [{"path": "registry/remocn/perlin-dissolve/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/perspective-marquee.json b/public/r/perspective-marquee.jsonindex 0cd04217..bd7eaef0 100644--- a/public/r/perspective-marquee.json+++ b/public/r/perspective-marquee.json@@ -3,9 +3,7 @@"name": "perspective-marquee","title": "Perspective Marquee","description": "A 3D-tilted infinite marquee with depth-of-field blur on items rolling toward the horizon.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/perspective-marquee/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/popover.json b/public/r/popover.jsonindex ed1eb580..8d787735 100644--- a/public/r/popover.json+++ b/public/r/popover.json@@ -3,12 +3,8 @@"name": "popover","title": "UI Popover","description": "A popover/hover-card whose opened/closed state is a pure function of the timeline. The Popover renderer is a pure function of a PopoverStyle (opacity, scale, translate); usePopoverTransition eases both the open and the close. The static `side` prop sets the enter translate axis; renders title + description and/or arbitrary children in a popover card.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/popover/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/progress-steps.json b/public/r/progress-steps.jsonindex c2883546..bb311d59 100644--- a/public/r/progress-steps.json+++ b/public/r/progress-steps.json@@ -3,9 +3,7 @@"name": "progress-steps","title": "Progress Steps","description": "Multi-step pipeline with sequentially activating nodes and filling lines.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/progress-steps/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/progress.json b/public/r/progress.jsonindex 04305031..055be794 100644--- a/public/r/progress.json+++ b/public/r/progress.json@@ -3,12 +3,8 @@"name": "progress","title": "UI Progress","description": "A progress bar whose fill is a pure function of a numeric value channel (value-channel deviation). The Progress renderer takes a clamped 0–100 value; useProgressTransition reads the frame and eases the fill between value steps. Muted track + primary indicator, optional floored percentage label.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/progress/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/push-through.json b/public/r/push-through.jsonindex 95b1f8b9..c773c3dc 100644--- a/public/r/push-through.json+++ b/public/r/push-through.json@@ -3,10 +3,7 @@"name": "push-through","title": "Push Through","description": "A dolly transition that blows the outgoing scene past the camera while the next one approaches from the depth.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],+ "dependencies": ["remotion", "@remotion/transitions"],"files": [{"path": "registry/remocn/push-through/index.tsx",@@ -16,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/radio.json b/public/r/radio.jsonindex 89c97d83..69d644f0 100644--- a/public/r/radio.json+++ b/public/r/radio.json@@ -3,12 +3,8 @@"name": "radio","title": "UI Radio","description": "A radio whose checked/unchecked state is a pure function of the timeline; the ring border and inner dot pop are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/radio/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/registry.json b/public/r/registry.jsonindex 36b7aff0..31242e5e 100644--- a/public/r/registry.json+++ b/public/r/registry.json@@ -7,9 +7,7 @@"name": "soft-blur-in","title": "Soft Blur In","description": "Per-character fade-in with a gentle blur and upward motion. Apple's signature hero-title reveal.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/soft-blur-in/index.tsx",@@ -23,9 +21,7 @@"name": "per-character-rise","title": "Per Character Rise","description": "Letters slide up from below with no blur — crisp, deliberate, kinetic.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/per-character-rise/index.tsx",@@ -39,9 +35,7 @@"name": "bottom-up-letters","title": "Bottom-Up Letters","description": "Letters rise from below in a pronounced staircase, one symbol at a time, with zero blur.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/bottom-up-letters/index.tsx",@@ -55,9 +49,7 @@"name": "top-down-letters","title": "Top-Down Letters","description": "Letters descend from above in a pronounced staircase, one symbol at a time, with zero blur.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/top-down-letters/index.tsx",@@ -71,9 +63,7 @@"name": "spring-scale-in","title": "Spring Scale In","description": "Words pop in with a soft overshoot scale, like a physical spring settling into place.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/spring-scale-in/index.tsx",@@ -87,9 +77,7 @@"name": "micro-scale-fade","title": "Micro Scale Fade","description": "A calm, tiny scale pop used as subtle premium polish for labels and headings.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/micro-scale-fade/index.tsx",@@ -103,9 +91,7 @@"name": "scale-down-fade","title": "Scale Down Fade","description": "Subtle premium settle-in with a restrained scale-down fade on exit.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/scale-down-fade/index.tsx",@@ -119,9 +105,7 @@"name": "blur-out-up","title": "Blur Out Up","description": "Words arrive clean and depart upward with increasing blur for airy exits.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/blur-out-up/index.tsx",@@ -135,9 +119,7 @@"name": "focus-blur-resolve","title": "Focus Blur Resolve","description": "A premium focus pull from heavy blur to crisp text, then a soft blur-out exit.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/focus-blur-resolve/index.tsx",@@ -151,9 +133,7 @@"name": "line-by-line-slide","title": "Line-by-Line Slide","description": "Each line enters from the left with a staggered slide and exits to the right for a flowing paragraph reveal.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/line-by-line-slide/index.tsx",@@ -167,9 +147,7 @@"name": "per-word-crossfade","title": "Per-Word Crossfade","description": "Words gently fade into place one after another, with a short vertical drift for a calm keynote rhythm.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/per-word-crossfade/index.tsx",@@ -183,9 +161,7 @@"name": "fade-through","title": "Fade Through","description": "A Material-style content transition: old fades out, new fades in with a soft delay.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/fade-through/index.tsx",@@ -199,9 +175,7 @@"name": "shared-axis-y","title": "Shared Axis Y","description": "Per-word hard-cut transition with staircase timing for sharp editorial swaps.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/shared-axis-y/index.tsx",@@ -215,9 +189,7 @@"name": "shared-axis-z","title": "Shared Axis Z","description": "Scale-based shared-axis transition for focus shifts and context depth.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/shared-axis-z/index.tsx",@@ -231,9 +203,7 @@"name": "short-slide-right","title": "Short Slide Right","description": "The whole phrase glides in from the left as one compact move while words reveal in sequence through opacity.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/short-slide-right/index.tsx",@@ -247,9 +217,7 @@"name": "kinetic-center-build","title": "Kinetic Center Build","description": "A word appears in the center; each new word enters from the right and pushes the line until the full phrase locks centered.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/kinetic-center-build/index.tsx",@@ -263,9 +231,7 @@"name": "short-slide-down","title": "Short Slide Down","description": "Each new word drops in from above into its own line and pushes the stack downward until a centered three-line composition locks in place.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/short-slide-down/index.tsx",@@ -279,13 +245,8 @@"name": "typewriter","title": "Typewriter","description": "Character-by-character text reveal with a deterministic blinking cursor.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/caret"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret"],"files": [{"path": "registry/remocn/typewriter/index.tsx",@@ -299,9 +260,7 @@"name": "inline-highlight","title": "Inline Highlight","description": "Animates one word inside a sentence from a base color to a brand color.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/inline-highlight/index.tsx",@@ -315,9 +274,7 @@"name": "strikethrough-replace","title": "Strikethrough Replace","description": "Draws a strike line across old text then reveals new text in its place.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/strikethrough-replace/index.tsx",@@ -331,9 +288,7 @@"name": "staggered-fade-up","title": "Staggered Fade Up","description": "Words fade in and slide up one after another with a configurable delay.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/staggered-fade-up/index.tsx",@@ -347,9 +302,7 @@"name": "mask-reveal-up","title": "Mask Reveal Up","description": "Lines reveal upward with a soft masked feel and compact stagger.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/mask-reveal-up/index.tsx",@@ -363,9 +316,7 @@"name": "tracking-in","title": "Tracking In","description": "Letter-spacing collapses and blur clears with a springy motion.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/tracking-in/index.tsx",@@ -379,9 +330,7 @@"name": "shimmer-sweep","title": "Shimmer Sweep","description": "Light shine sweeps across muted text via background-clip:text.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/shimmer-sweep/index.tsx",@@ -395,9 +344,7 @@"name": "marker-highlight","title": "Marker Highlight","description": "Colored marker block draws behind a phrase as the text color shifts.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/marker-highlight/index.tsx",@@ -411,9 +358,7 @@"name": "slot-machine-roll","title": "Slot Machine Roll","description": "Vertical reel scrolls characters from one value to another.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/slot-machine-roll/index.tsx",@@ -427,9 +372,7 @@"name": "matrix-decode","title": "Matrix Decode","description": "Random scramble resolves left-to-right into the target text.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/matrix-decode/index.tsx",@@ -443,9 +386,7 @@"name": "rgb-glitch-text","title": "RGB Glitch Text","description": "Three RGB-offset text copies jitter for a brief glitch window.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/rgb-glitch-text/index.tsx",@@ -459,9 +400,7 @@"name": "infinite-marquee","title": "Infinite Marquee","description": "Seamlessly looping horizontal text strip with optional stroke style.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/infinite-marquee/index.tsx",@@ -475,9 +414,7 @@"name": "mesh-gradient-bg","title": "Mesh Gradient Background","description": "Living gradient with amorphous color blobs slowly drifting across the frame.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/mesh-gradient-bg/index.tsx",@@ -491,9 +428,7 @@"name": "shader-mesh-gradient","title": "Shader Mesh Gradient","description": "WebGL mesh gradient backdrop driven per-frame for deterministic Remotion renders.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-mesh-gradient/index.tsx",@@ -507,9 +442,7 @@"name": "shader-grain-gradient","title": "Shader Grain Gradient","description": "Grainy multi-stop gradient that drifts slowly with film-grain texture over the blend.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-grain-gradient/index.tsx",@@ -523,9 +456,7 @@"name": "shader-warp","title": "Shader Warp","description": "Domain-warped color field that folds and stretches like liquid.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-warp/index.tsx",@@ -539,9 +470,7 @@"name": "shader-swirl","title": "Shader Swirl","description": "Concentric bands swirling around a center point.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-swirl/index.tsx",@@ -555,9 +484,7 @@"name": "shader-water","title": "Shader Water","description": "Caustic water-surface ripples with subtle refraction.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-water/index.tsx",@@ -571,9 +498,7 @@"name": "shader-spiral","title": "Shader Spiral","description": "Rotating spiral arms radiating from the center.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-spiral/index.tsx",@@ -587,9 +512,7 @@"name": "shader-liquid-metal","title": "Shader Liquid Metal","description": "Molten metallic surface with flowing specular highlights.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-liquid-metal/index.tsx",@@ -603,9 +526,7 @@"name": "shader-color-panels","title": "Shader Color Panels","description": "Overlapping translucent color panels sliding past each other.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-color-panels/index.tsx",@@ -619,9 +540,7 @@"name": "shader-neuro-noise","title": "Shader Neuro Noise","description": "Organic neural-web noise field that slowly morphs.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-neuro-noise/index.tsx",@@ -635,9 +554,7 @@"name": "shader-perlin-noise","title": "Shader Perlin Noise","description": "Classic Perlin noise clouds drifting across the frame.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-perlin-noise/index.tsx",@@ -651,9 +568,7 @@"name": "shader-simplex-noise","title": "Shader Simplex Noise","description": "Simplex noise flow field, smoother than Perlin.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-simplex-noise/index.tsx",@@ -667,9 +582,7 @@"name": "shader-voronoi","title": "Shader Voronoi","description": "Animated Voronoi cells shifting and re-tessellating.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-voronoi/index.tsx",@@ -683,9 +596,7 @@"name": "shader-dot-orbit","title": "Shader Dot Orbit","description": "Dots orbiting on concentric paths across the frame.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-dot-orbit/index.tsx",@@ -699,9 +610,7 @@"name": "shader-dithering","title": "Shader Dithering","description": "Ordered-dither shading over an animated gradient field.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-dithering/index.tsx",@@ -715,9 +624,7 @@"name": "shader-god-rays","title": "Shader God Rays","description": "Volumetric light rays radiating from an off-screen source.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-god-rays/index.tsx",@@ -731,9 +638,7 @@"name": "shader-smoke-ring","title": "Shader Smoke Ring","description": "Soft smoke ring curling and dissipating in place.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-smoke-ring/index.tsx",@@ -747,9 +652,7 @@"name": "shader-metaballs","title": "Shader Metaballs","description": "Organic blobs merging and splitting like lava.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-metaballs/index.tsx",@@ -763,9 +666,7 @@"name": "shader-pulsing-border","title": "Shader Pulsing Border","description": "Glowing border frame that pulses around the edges.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-pulsing-border/index.tsx",@@ -779,9 +680,7 @@"name": "dynamic-grid","title": "Dynamic Grid","description": "Subtle moving grid background with configurable cell size and direction.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/dynamic-grid/index.tsx",@@ -795,9 +694,7 @@"name": "simulated-cursor","title": "Simulated Cursor","description": "Animated mouse cursor moving between waypoints with click ripple feedback.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/simulated-cursor/index.tsx",@@ -811,13 +708,8 @@"name": "swirl-dissolve","title": "Swirl Dissolve","description": "A swirl shader transition that unwinds open and winds shut to reveal the next scene.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-swirl"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-swirl"],"files": [{"path": "registry/remocn/swirl-dissolve/index.tsx",@@ -831,13 +723,8 @@"name": "dither-dissolve","title": "Dither Dissolve","description": "A dithering shader transition that dissolves one scene into the next.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-dithering"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-dithering"],"files": [{"path": "registry/remocn/dither-dissolve/index.tsx",@@ -851,13 +738,8 @@"name": "perlin-dissolve","title": "Perlin Dissolve","description": "A perlin-noise shader transition that sweeps its noise threshold to dissolve one scene into the next.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-perlin-noise"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-perlin-noise"],"files": [{"path": "registry/remocn/perlin-dissolve/index.tsx",@@ -871,13 +753,8 @@"name": "smoke-dissolve","title": "Smoke Dissolve","description": "A smoke-ring shader transition that expands the ring outward to reveal the next scene.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-smoke-ring"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-smoke-ring"],"files": [{"path": "registry/remocn/smoke-dissolve/index.tsx",@@ -891,13 +768,8 @@"name": "wave-wipe","title": "Wave Wipe","description": "A grain-gradient wave that sweeps up across the frame, covering the outgoing scene and revealing the next one from below.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-grain-gradient"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-grain-gradient"],"files": [{"path": "registry/remocn/wave-wipe/index.tsx",@@ -911,13 +783,8 @@"name": "ripple-zoom","title": "Ripple Zoom","description": "A grain-gradient ripple transition that flies the camera through the center of the rings while the next scene approaches from the depth.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-grain-gradient"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-grain-gradient"],"files": [{"path": "registry/remocn/ripple-zoom/index.tsx",@@ -931,13 +798,8 @@"name": "grain-dissolve","title": "Grain Dissolve","description": "A grain-gradient shader transition that disintegrates the outgoing scene into soft grainy shapes and condenses the next scene out of the noise.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-grain-gradient"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-grain-gradient"],"files": [{"path": "registry/remocn/grain-dissolve/index.tsx",@@ -951,13 +813,8 @@"name": "warp-dissolve","title": "Warp Dissolve","description": "A domain-warp shader transition that melts the outgoing scene into a folding color field and straightens back out into the next.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-warp"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-warp"],"files": [{"path": "registry/remocn/warp-dissolve/index.tsx",@@ -971,10 +828,7 @@"name": "whip-pan","title": "Whip Pan","description": "A whip-pan transition that flies both scenes through the frame in one move with velocity-based motion blur.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],+ "dependencies": ["remotion", "@remotion/transitions"],"files": [{"path": "registry/remocn/whip-pan/index.tsx",@@ -988,10 +842,7 @@"name": "push-through","title": "Push Through","description": "A dolly transition that blows the outgoing scene past the camera while the next one approaches from the depth.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],+ "dependencies": ["remotion", "@remotion/transitions"],"files": [{"path": "registry/remocn/push-through/index.tsx",@@ -1005,10 +856,7 @@"name": "focus-pull","title": "Focus Pull","description": "A rack-focus transition that defocuses the outgoing scene into a bright blur and resolves the next one into focus.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],+ "dependencies": ["remotion", "@remotion/transitions"],"files": [{"path": "registry/remocn/focus-pull/index.tsx",@@ -1022,9 +870,7 @@"name": "chat-to-preview-layout","title": "Chat to Preview Layout","description": "Two-column layout where chat shrinks and preview expands.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/chat-to-preview-layout/index.tsx",@@ -1038,9 +884,7 @@"name": "animated-line-chart","title": "Animated Line Chart","description": "Line chart whose SVG path draws on from left to right with a leading dot.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/animated-line-chart/index.tsx",@@ -1054,9 +898,7 @@"name": "animated-bar-chart","title": "Animated Bar Chart","description": "Bars spring up from the baseline in a staggered cascade.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/animated-bar-chart/index.tsx",@@ -1070,9 +912,7 @@"name": "terminal-simulator","title": "Terminal Simulator","description": "Terminal window that types out commands and rolls old lines off the top.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/terminal-simulator/index.tsx",@@ -1086,12 +926,8 @@"name": "terminal-cursor-zoom","title": "Terminal Cursor Zoom","description": "Camera locked to the typing cursor, dollying across a terminal as a command types at high zoom.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/terminal-simulator"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/terminal-simulator"],"files": [{"path": "registry/remocn/terminal-cursor-zoom/index.tsx",@@ -1105,9 +941,7 @@"name": "progress-steps","title": "Progress Steps","description": "Multi-step pipeline with sequentially activating nodes and filling lines.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/progress-steps/index.tsx",@@ -1121,9 +955,7 @@"name": "data-flow-pipes","title": "Data Flow Pipes","description": "Glowing data packets travel along SVG bezier pipes between system nodes, leaving fading trails.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/data-flow-pipes/index.tsx",@@ -1137,9 +969,7 @@"name": "glass-code-block","title": "Glass Code Block","description": "A premium frosted-glass code editor window with a regex tokenizer and line-by-line stagger reveal.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/glass-code-block/index.tsx",@@ -1153,12 +983,8 @@"name": "glass-code-walk","title": "Glass Code Walk","description": "A camera that scans a glass code block top to bottom as it types, then pulls back to a centered hold.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/glass-code-block"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/glass-code-block"],"files": [{"path": "registry/remocn/glass-code-walk/index.tsx",@@ -1172,9 +998,7 @@"name": "spotlight-card","title": "Spotlight Card","description": "A card with a moonlight-cool radial spotlight that follows a synthetic cursor and lights up its microborder.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/spotlight-card/index.tsx",@@ -1188,9 +1012,7 @@"name": "perspective-marquee","title": "Perspective Marquee","description": "A 3D-tilted infinite marquee with depth-of-field blur on items rolling toward the horizon.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/perspective-marquee/index.tsx",@@ -1204,9 +1026,7 @@"name": "ecosystem-constellation","title": "Ecosystem Constellation","description": "A central logo orbited by integration satellites with pulsing data lines.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/ecosystem-constellation/index.tsx",@@ -1220,9 +1040,7 @@"name": "live-code-compilation","title": "Live Code Compilation","description": "Split-screen where typed code on the left snaps a live UI preview on the right, HMR-style.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/live-code-compilation/index.tsx",@@ -1236,9 +1054,7 @@"name": "infinite-bento-pan","title": "Infinite Bento Pan","description": "A camera diagonally drifts across an oversized bento grid behind a soft vignette.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/infinite-bento-pan/index.tsx",@@ -1252,14 +1068,8 @@"name": "github-sponsors","title": "GitHub Sponsors","description": "Self-drawing Sponsors heart that docks to a header, every sponsor avatar blur-staggering into a grid, then a thank-you headline and a CTA. Single seek-safe timeline, 270 frames at 30fps.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/soft-blur-in",- "@remocn/blur-out-up"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/soft-blur-in", "@remocn/blur-out-up"],"files": [{"path": "registry/remocn/github-sponsors/index.tsx",@@ -1273,14 +1083,8 @@"name": "github-stars","title": "GitHub Stars","description": "Inertial fly-through of a repo's stargazers with a synced count-up odometer that locks on the total. Horizontal 16:9 or vertical 9:16.",- "dependencies": [- "remotion",- "date-fns",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/number-wheel"- ],+ "dependencies": ["remotion", "date-fns", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/number-wheel"],"files": [{"path": "registry/remocn/github-stars/index.tsx",@@ -1294,10 +1098,7 @@"name": "number-wheel","title": "Number Wheel","description": "Mechanical odometer that rolls an integer up or down to its target, direction inferred from the values.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],"files": [{"path": "registry/remocn/number-wheel/index.tsx",@@ -1311,10 +1112,7 @@"name": "rolling-number","title": "Rolling Number","description": "Odometer where every place rolls at its own speed, new places rising into view, settling exactly on the target value.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],"files": [{"path": "registry/remocn/rolling-number/index.tsx",@@ -1328,13 +1126,8 @@"name": "x-follow-card","title": "X Follow Card","description": "Animated X profile follow card — spring bounce-in, staggered blur-in, a synthetic cursor that clicks Follow and flips it to Following. Light/dark, horizontal or vertical.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/cursor"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/cursor"],"files": [{"path": "registry/remocn/x-follow-card/index.tsx",@@ -1348,13 +1141,8 @@"name": "x-followers-overview","title": "X Followers Overview","description": "X follow notifications cycle through as 3D flipping text — '<name> followed you · 7h' — then the total follower count pops in with a confetti burst. Hardcoded sample list (X API ready). Light/dark, horizontal or vertical.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/confetti"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/confetti"],"files": [{"path": "registry/remocn/x-followers-overview/index.tsx",@@ -1368,14 +1156,8 @@"name": "claude-chat","title": "Claude Chat","description": "Animated Claude chat input — types a prompt character-by-character and the waveform button morphs into a terracotta send button the moment text appears. Warm light/dark themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/claude-chat/index.tsx",@@ -1389,14 +1171,8 @@"name": "chat-gpt","title": "ChatGPT","description": "Animated ChatGPT composer — types a prompt into the pill input, the blue voice button morphs into a send button, and the suggestion chips fade out. Light/dark themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/chat-gpt/index.tsx",@@ -1410,14 +1186,8 @@"name": "v0","title": "v0","description": "Animated Vercel v0 composer — types a prompt into the dark textarea and the mic button morphs into a send button. Dark/light themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/v0/index.tsx",@@ -1431,14 +1201,8 @@"name": "claude-code","title": "Claude Code","description": "Animated Claude Code CLI welcome screen — terminal window with a dashed welcome box, recent activity and what's new panels, and a prompt line that types a command with a block cursor. Dark/light themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/claude-code/index.tsx",@@ -1452,14 +1216,8 @@"name": "opencode","title": "OpenCode","description": "Animated OpenCode TUI welcome screen — two-tone wordmark, an input box with a blue accent bar that types a query, a model status line, and command hints. Dark/light themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/opencode/index.tsx",@@ -1473,9 +1231,7 @@"name": "confetti","title": "Confetti","description": "Deterministic confetti burst for Remotion — seeded particles with gravity, spin, and flutter so every render is identical. Fire it on any frame as a celebratory overlay.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/confetti/index.tsx",@@ -1489,9 +1245,7 @@"name": "backdrop","title": "Backdrop","description": "Configurable full-frame background (color / gradient / image / live component) with Screen Studio-style padding and a rounded, shadowed content frame.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/backdrop/index.tsx",@@ -1505,9 +1259,7 @@"name": "logo-enter","title": "Logo Enter","description": "A stacked group of round brand chips that spring in one-by-one, then hold. Swap the logos to feature any set of marks. Horizontal or vertical stacking.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/logo-enter/index.tsx",@@ -1521,10 +1273,7 @@"name": "remocn-ui","title": "remocn UI Core","description": "Shared timeline-fold hook, theme context, and color math for remocn UI primitives.",- "dependencies": [- "remotion",- "culori"- ],+ "dependencies": ["remotion", "culori"],"files": [{"path": "registry/remocn-ui/core/timeline.ts",@@ -1563,9 +1312,7 @@"name": "spinner","title": "UI Spinner","description": "A deterministic spinning arc that loops on the Remotion frame — a pure motion atom with no state.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": [],"files": [{@@ -1580,9 +1327,7 @@"name": "caret","title": "UI Caret","description": "A blinking text caret — a controlled vertical bar, or a pure motion atom that blinks deterministically from useCurrentFrame.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": [],"files": [{@@ -1597,13 +1342,8 @@"name": "button","title": "UI Button","description": "A button whose idle/hover/press/loading/success state is a pure function of the timeline; the loading state composes the Spinner motion atom.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/spinner"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/spinner"],"files": [{"path": "registry/remocn-ui/button/index.tsx",@@ -1622,12 +1362,8 @@"name": "accordion","title": "UI Accordion","description": "A disclosure whose opened/closed state is a pure function of the timeline; the panel reveal, chevron, and background are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/accordion/index.tsx",@@ -1646,12 +1382,8 @@"name": "alert-dialog","title": "UI Alert Dialog","description": "A modal alert dialog whose opened/closed state is a pure function of the timeline; the backdrop dim and popup zoom are keyframed presets. Self-contained — pair it with the Button as a trigger (see the example).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/alert-dialog/index.tsx",@@ -1670,12 +1402,8 @@"name": "dialog","title": "UI Dialog","description": "A modal dialog whose opened/closed state is a pure function of the timeline; the backdrop dim and popup zoom are keyframed presets, with a close button and a primary action. Self-contained — pair it with the Button as a trigger (see the example).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/dialog/index.tsx",@@ -1694,12 +1422,8 @@"name": "sheet","title": "UI Sheet","description": "A side panel whose opened/closed state is a pure function of the timeline; the backdrop dim and right-edge slide-in are keyframed presets, with a close button and a primary action. Self-contained — pair it with the Button as a trigger (see the example).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/sheet/index.tsx",@@ -1718,12 +1442,8 @@"name": "drawer","title": "UI Drawer","description": "A bottom panel whose opened/closed state is a pure function of the timeline; the backdrop dim and bottom-edge slide-up are keyframed presets, with a drag handle and a primary action. Self-contained — pair it with the Button as a trigger (see the example).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/drawer/index.tsx",@@ -1742,12 +1462,8 @@"name": "checkbox","title": "UI Checkbox","description": "A checkbox whose checked/unchecked state is a pure function of the timeline; the box fill, border, and checkmark draw are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/checkbox/index.tsx",@@ -1766,12 +1482,8 @@"name": "radio","title": "UI Radio","description": "A radio whose checked/unchecked state is a pure function of the timeline; the ring border and inner dot pop are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/radio/index.tsx",@@ -1790,12 +1502,8 @@"name": "switch","title": "UI Switch","description": "A switch whose checked/unchecked state is a pure function of the timeline; the track fill and sliding thumb are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/switch/index.tsx",@@ -1814,13 +1522,8 @@"name": "input","title": "UI Input","description": "A text input whose idle/hover/active/typing/invalid state is a pure function of the timeline; the focus ring, border, caret, and value reveal are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/caret"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret"],"files": [{"path": "registry/remocn-ui/input/index.tsx",@@ -1839,12 +1542,8 @@"name": "blur-in","title": "UI Blur In","description": "A wrapper that reveals a single child with blur + opacity + a directional offset; a pure state atom, theme-independent — its context is a motion config (blur/distance/axis), not a theme.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/blur-in/index.tsx",@@ -1863,12 +1562,8 @@"name": "field","title": "UI Field","description": "A static layout family for composing labeled form controls, modeled on shadcn's Field: FieldGroup ▸ Field ▸ FieldLabel / FieldControl / FieldDescription. Reads no frame and holds no state — colors come from the resolved theme. FieldControl is a relative fixed-height slot for the absolute remocn-ui controls (Input, Button).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/field/index.tsx",@@ -1882,12 +1577,8 @@"name": "select-item","title": "UI Select Item","description": "A select option row whose idle/hover/press/selected state is a pure function of the timeline; the row background, label color, and check icon are keyframed presets. Composed inside the Select panel.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/select-item/index.tsx",@@ -1906,9 +1597,7 @@"name": "select","title": "UI Select","description": "A select whose opened/closed state is a pure function of the timeline; the trigger reuses the Button primitive and the reveal panel composes SelectItem rows. The panel fade, scale, lift, and chevron are keyframed presets.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/button",@@ -1932,12 +1621,8 @@"name": "dropdown-menu-item","title": "UI Dropdown Menu Item","description": "A dropdown menu action row whose idle/hover/press state is a pure function of the timeline; the row background and label color are keyframed presets. Composed inside the DropdownMenu panel.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/dropdown-menu-item/index.tsx",@@ -1956,12 +1641,8 @@"name": "tabs","title": "UI Tabs","description": "A tabs widget whose active-tab state is a pure function of the timeline; the sliding indicator, label colors, and panel crossfade are keyframed/derived presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/tabs/index.tsx",@@ -1980,9 +1661,7 @@"name": "dropdown-menu","title": "UI Dropdown Menu","description": "A dropdown menu whose opened/closed state is a pure function of the timeline; the trigger reuses the Button primitive and the reveal panel composes DropdownMenuItem rows. The panel fade, scale, lift, and chevron are keyframed presets.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/button",@@ -2006,12 +1685,8 @@"name": "cursor","title": "UI Cursor","description": "An animated cursor that moves between waypoints, clicks (ripple), and drags. The Cursor renderer is a pure function of a numeric CursorStyle channel; useCursorPath reads the frame and eases the path, ripple, and press phases.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/cursor/index.tsx",@@ -2030,12 +1705,8 @@"name": "toast","title": "UI Toast","description": "A toast notification whose hidden/visible state is a pure function of the timeline. The Toast renderer is a pure function of a ToastStyle (opacity, translateY, scale); useToastTransition eases both the slide-in enter and the auto-dismiss exit. Variants default/success/error change the leading icon and its color.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/toast/index.tsx",@@ -2054,12 +1725,8 @@"name": "command-menu-item","title": "UI Command Menu Item","description": "A command-palette row whose idle/hover/press/selected state is a pure function of the timeline. Leading icon + label + trailing shortcut kbd. Exports an inline CommandMenuItemRow (reused by CommandMenu) and a standalone CommandMenuItem atom; the row background, label color, and icon color are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/command-menu-item/index.tsx",@@ -2078,9 +1745,7 @@"name": "command-menu","title": "UI Command Menu","description": "A ⌘K command palette whose opened/closed state is a pure function of the timeline; the panel zoom + backdrop dim are dialog-like keyframed presets. The search row reveals the typed query, the list is filtered by a pure case-insensitive substring on the visible query prefix, and rows reuse the CommandMenuItem row.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/command-menu-item"@@ -2103,12 +1768,8 @@"name": "tooltip","title": "UI Tooltip","description": "A tooltip whose hidden/visible state is a pure function of the timeline. The Tooltip renderer is a pure function of a TooltipStyle (opacity, scale, translate); useTooltipTransition eases both the show and the hide. The static `side` prop sets the enter translate axis and the arrow placement.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/tooltip/index.tsx",@@ -2127,12 +1788,8 @@"name": "progress","title": "UI Progress","description": "A progress bar whose fill is a pure function of a numeric value channel (value-channel deviation). The Progress renderer takes a clamped 0–100 value; useProgressTransition reads the frame and eases the fill between value steps. Muted track + primary indicator, optional floored percentage label.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/progress/index.tsx",@@ -2151,12 +1808,8 @@"name": "skeleton-block","title": "UI Skeleton Block","description": "A shimmer placeholder block — a motion atom (spinner pattern). A directional highlight gradient sweeps across deterministically from useCurrentFrame() and loops seamlessly. Configurable width/height/radius/speed and base/highlight colors.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/skeleton-block/index.tsx",@@ -2170,13 +1823,8 @@"name": "skeleton","title": "UI Skeleton","description": "A skeleton→content crossfade whose loading/loaded state is a pure function of the timeline. The Skeleton renderer is pure (reads no frame); only the composed SkeletonBlock shimmer reads it. SkeletonStyle opacities sum to 1 so the box never dims; real children sit in normal flow and the placeholder (a lines/card layout or a custom node) is an absolute overlay.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/skeleton-block"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/skeleton-block"],"files": [{"path": "registry/remocn-ui/skeleton/index.tsx",@@ -2195,12 +1843,8 @@"name": "slider","title": "UI Slider","description": "A slider whose fill is a numeric value channel plus a thumb idle/hover/press channel (dual-channel value-channel deviation). The Slider renderer is pure (clamped 0–100 value, thumb scale, grab-ring opacity); useSliderTransition reads the frame and eases both channels — value as a numeric lerp, the thumb visual from its state presets. Muted track + primary range + bordered thumb with a derived grab ring.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/slider/index.tsx",@@ -2219,9 +1863,7 @@"name": "combobox","title": "UI Combobox","description": "A combobox whose opened/closed state is a pure function of the timeline; the panel fade/scale/lift are keyframed presets like select. The trigger reuses the Input presets (typed query + caret reveal via an injected inputStyle), the list is filtered by a pure case-insensitive substring on the visible query prefix, and rows reuse the SelectItem row.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/input",@@ -2245,12 +1887,8 @@"name": "popover","title": "UI Popover","description": "A popover/hover-card whose opened/closed state is a pure function of the timeline. The Popover renderer is a pure function of a PopoverStyle (opacity, scale, translate); usePopoverTransition eases both the open and the close. The static `side` prop sets the enter translate axis; renders title + description and/or arbitrary children in a popover card.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/popover/index.tsx",@@ -2269,9 +1907,7 @@"name": "context-menu","title": "UI Context Menu","description": "A right-click context menu whose opened/closed state is a pure function of the timeline; the panel scales from its top-left corner (the click point) with a fade + lift. No trigger — the caller positions it. Rows reuse the DropdownMenuItem row; items are plain string labels.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/dropdown-menu-item"@@ -2294,12 +1930,8 @@"name": "toggle-group","title": "UI Toggle Group","description": "A segmented control whose active value is a pure function of the timeline; a raised thumb SLIDES between segments (position + width derived from a float indicator offset, no jumps) and the labels crossfade color via mixOklch. The tabs precedent without content panels.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/toggle-group/index.tsx",@@ -2318,12 +1950,8 @@"name": "stepper","title": "UI Stepper","description": "A horizontal onboarding stepper whose progress is a pure function of a continuous step index (value-channel deviation). Every circle (fill, number, stroke-dash check) and connector (primary fill fraction) derives purely from the float position; useStepperTransition reads the frame and eases position between step indices.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/stepper/index.tsx",@@ -2342,12 +1970,8 @@"name": "resizable","title": "UI Resizable","description": "Two panels split by a draggable handle, where the split ratio is a numeric channel plus a handle idle/hover/press channel (dual-channel value-channel deviation). The Resizable renderer is pure (clamped 0–1 ratio, handle scale, grab-ring opacity); useResizableTransition reads the frame and eases both channels — ratio as a numeric lerp, the handle visual from its state presets. Horizontal and vertical splits; 1px divider + centered grip pill with a derived grab ring.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/resizable/index.tsx",@@ -2366,9 +1990,7 @@"name": "signup-flow","title": "UI Signup Flow","description": "A signup card composition: a real shadcn-style card (header, labeled Full Name / Email / Password / Confirm fields, primary + Google-outline buttons, sign-in footer) whose cursor fills each field top-to-bottom, then clicks Create account (hover → press → loading → success) as a success toast slides in. A pure orchestrator — every channel comes from a composed primitive's transition hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/cursor",@@ -2391,9 +2013,7 @@"name": "ai-prompt-flow","title": "UI AI Prompt Flow","description": "An AI prompt composition: a prompt types into the field, the Generate button runs hover → press → loading, a skeleton shimmer reveals, then crossfades into the generated answer, and a ready toast slides in. A pure orchestrator — the shimmer is owned by the skeleton-block motion atom; every other channel comes from a composed primitive's hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/input",@@ -2415,9 +2035,7 @@"name": "checkout-flow","title": "UI Checkout Flow","description": "A cursor-driven checkout card: the card and its fields blur-in, then the pointer flips a billing-cycle toggle, types a card number, ticks the terms checkbox, and presses Pay through to success, ending in a toast. A pure orchestrator — every channel comes from a composed primitive's transition hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/toggle-group",@@ -2442,9 +2060,7 @@"name": "onboarding-stepper-flow","title": "UI Onboarding Stepper Flow","description": "A multi-step onboarding composition: a horizontal stepper advances through panels of input, radio, and switch fields, finishing on a Finish button that runs to success. Panel crossfade derives linearly from the stepper's exposed position channel; every other channel comes from a composed primitive's hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/stepper",@@ -2466,9 +2082,7 @@"name": "settings-toggle-flow","title": "UI Settings Toggle Flow","description": "A two-column settings card: the card and its controls blur-in, then the cursor flips a switch, opens a select, drags a labeled slider, and clicks Save, ending in a saved toast. A pure orchestrator — every channel comes from a composed primitive's transition hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/switch",@@ -2492,12 +2106,8 @@"name": "message-bubble","title": "UI Message Bubble","description": "A chat message bubble whose hidden/visible state is a pure function of the timeline. The renderer is a pure function of a MessageBubbleStyle (opacity, translateY, scale); useMessageBubbleTransition eases the rise-in enter. The incoming/outgoing variant resolves bubble color and alignment from the theme, and an optional reaction badge pops in on its own channel.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/message-bubble/index.tsx",@@ -2516,12 +2126,8 @@"name": "typing-indicator","title": "UI Typing Indicator","description": "A continuous typing animation: N dots bounce with a staggered sine wave. A motion atom — it reads the frame and takes color, size, gap, and speed props, defaulting to currentColor so it inherits the bubble it sits in.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/typing-indicator/index.tsx",@@ -2535,9 +2141,7 @@"name": "chat-flow","title": "UI Chat Flow","description": "A messaging composition: an outgoing message types into the composer, the send button presses, and the bubble rises in; the other side shows a typing indicator that swaps into the reply, and reactions pop in. A pure orchestrator — every channel comes from a composed primitive's hook (Input, MessageBubble, TypingIndicator).",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/caret",@@ -2557,13 +2161,8 @@"name": "telegram-chat-flow","title": "UI Telegram Chat Flow","description": "A Telegram-styled messaging composition: tailed bubbles (white incoming, blue outgoing) with in-bubble timestamps and delivery checks, a header that flips to 'typing…' while the other side replies, reaction chips, and a Telegram composer that types the outgoing message before sending. Self-contained — it owns its timeline and only composes the caret primitive.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/caret"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret"],"files": [{"path": "registry/remocn-ui/telegram-chat-flow/index.tsx",@@ -2577,10 +2176,7 @@"name": "imessage-chat-flow","title": "UI iMessage Chat Flow","description": "An iMessage-styled messaging composition: gray incoming and blue outgoing bubbles with tails, an in-thread typing bubble with dots, a Delivered label, and tapback-style reaction badges. The composer types the outgoing message before sending. Chrome icons come from lucide-react; self-contained otherwise, composing the caret and typing-indicator primitives.",- "dependencies": [- "remotion",- "lucide-react"- ],+ "dependencies": ["remotion", "lucide-react"],"registryDependencies": ["@remocn/remocn-ui","@remocn/caret",@@ -2596,4 +2192,4 @@"type": "registry:component"}]-}\ No newline at end of file+}diff --git a/public/r/remocn-ui.json b/public/r/remocn-ui.jsonindex 2de9ec73..a633daca 100644--- a/public/r/remocn-ui.json+++ b/public/r/remocn-ui.json@@ -3,10 +3,7 @@"name": "remocn-ui","title": "remocn UI Core","description": "Shared timeline-fold hook, theme context, and color math for remocn UI primitives.",- "dependencies": [- "remotion",- "culori"- ],+ "dependencies": ["remotion", "culori"],"files": [{"path": "registry/remocn-ui/core/timeline.ts",@@ -46,4 +43,4 @@}],"type": "registry:lib"-}\ No newline at end of file+}diff --git a/public/r/resizable.json b/public/r/resizable.jsonindex 492a3cdf..39e95595 100644--- a/public/r/resizable.json+++ b/public/r/resizable.json@@ -3,12 +3,8 @@"name": "resizable","title": "UI Resizable","description": "Two panels split by a draggable handle, where the split ratio is a numeric channel plus a handle idle/hover/press channel (dual-channel value-channel deviation). The Resizable renderer is pure (clamped 0–1 ratio, handle scale, grab-ring opacity); useResizableTransition reads the frame and eases both channels — ratio as a numeric lerp, the handle visual from its state presets. Horizontal and vertical splits; 1px divider + centered grip pill with a derived grab ring.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/resizable/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/rgb-glitch-text.json b/public/r/rgb-glitch-text.jsonindex 3aa5b2e6..f02faf8f 100644--- a/public/r/rgb-glitch-text.json+++ b/public/r/rgb-glitch-text.json@@ -3,9 +3,7 @@"name": "rgb-glitch-text","title": "RGB Glitch Text","description": "Three RGB-offset text copies jitter for a brief glitch window.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/rgb-glitch-text/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/ripple-zoom.json b/public/r/ripple-zoom.jsonindex 3fdae806..1f89d646 100644--- a/public/r/ripple-zoom.json+++ b/public/r/ripple-zoom.json@@ -3,13 +3,8 @@"name": "ripple-zoom","title": "Ripple Zoom","description": "A grain-gradient ripple transition that flies the camera through the center of the rings while the next scene approaches from the depth.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-grain-gradient"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-grain-gradient"],"files": [{"path": "registry/remocn/ripple-zoom/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/rolling-number.json b/public/r/rolling-number.jsonindex 54230216..3bc4efa5 100644--- a/public/r/rolling-number.json+++ b/public/r/rolling-number.json@@ -3,10 +3,7 @@"name": "rolling-number","title": "Rolling Number","description": "Odometer where every place rolls at its own speed, new places rising into view, settling exactly on the target value.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],"files": [{"path": "registry/remocn/rolling-number/index.tsx",@@ -16,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/scale-down-fade.json b/public/r/scale-down-fade.jsonindex b1e12f8c..35f5cc1f 100644--- a/public/r/scale-down-fade.json+++ b/public/r/scale-down-fade.json@@ -3,9 +3,7 @@"name": "scale-down-fade","title": "Scale Down Fade","description": "Subtle premium settle-in with a restrained scale-down fade on exit.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/scale-down-fade/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/select-item.json b/public/r/select-item.jsonindex 24e4df84..7d8aea5c 100644--- a/public/r/select-item.json+++ b/public/r/select-item.json@@ -3,12 +3,8 @@"name": "select-item","title": "UI Select Item","description": "A select option row whose idle/hover/press/selected state is a pure function of the timeline; the row background, label color, and check icon are keyframed presets. Composed inside the Select panel.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/select-item/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/select.json b/public/r/select.jsonindex 794e2f90..4b033bdf 100644--- a/public/r/select.json+++ b/public/r/select.json@@ -3,9 +3,7 @@"name": "select","title": "UI Select","description": "A select whose opened/closed state is a pure function of the timeline; the trigger reuses the Button primitive and the reveal panel composes SelectItem rows. The panel fade, scale, lift, and chevron are keyframed presets.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/button",@@ -26,4 +24,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/settings-toggle-flow.json b/public/r/settings-toggle-flow.jsonindex b69495f9..8e19ec5a 100644--- a/public/r/settings-toggle-flow.json+++ b/public/r/settings-toggle-flow.json@@ -3,9 +3,7 @@"name": "settings-toggle-flow","title": "UI Settings Toggle Flow","description": "A two-column settings card: the card and its controls blur-in, then the cursor flips a switch, opens a select, drags a labeled slider, and clicks Save, ending in a saved toast. A pure orchestrator — every channel comes from a composed primitive's transition hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/switch",@@ -25,4 +23,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-color-panels.json b/public/r/shader-color-panels.jsonindex d54d42b3..aab09645 100644--- a/public/r/shader-color-panels.json+++ b/public/r/shader-color-panels.json@@ -3,9 +3,7 @@"name": "shader-color-panels","title": "Shader Color Panels","description": "Overlapping translucent color panels sliding past each other.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-color-panels/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-dithering.json b/public/r/shader-dithering.jsonindex f22cc71d..b55e9d79 100644--- a/public/r/shader-dithering.json+++ b/public/r/shader-dithering.json@@ -3,9 +3,7 @@"name": "shader-dithering","title": "Shader Dithering","description": "Ordered-dither shading over an animated gradient field.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-dithering/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-dot-orbit.json b/public/r/shader-dot-orbit.jsonindex 8cac3a0a..fd1d5ffe 100644--- a/public/r/shader-dot-orbit.json+++ b/public/r/shader-dot-orbit.json@@ -3,9 +3,7 @@"name": "shader-dot-orbit","title": "Shader Dot Orbit","description": "Dots orbiting on concentric paths across the frame.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-dot-orbit/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-god-rays.json b/public/r/shader-god-rays.jsonindex b1ea4463..983a85ed 100644--- a/public/r/shader-god-rays.json+++ b/public/r/shader-god-rays.json@@ -3,9 +3,7 @@"name": "shader-god-rays","title": "Shader God Rays","description": "Volumetric light rays radiating from an off-screen source.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-god-rays/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-grain-gradient.json b/public/r/shader-grain-gradient.jsonindex 5238b733..b6a768f8 100644--- a/public/r/shader-grain-gradient.json+++ b/public/r/shader-grain-gradient.json@@ -3,9 +3,7 @@"name": "shader-grain-gradient","title": "Shader Grain Gradient","description": "Grainy multi-stop gradient that drifts slowly with film-grain texture over the blend.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-grain-gradient/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-liquid-metal.json b/public/r/shader-liquid-metal.jsonindex e321619f..9b260318 100644--- a/public/r/shader-liquid-metal.json+++ b/public/r/shader-liquid-metal.json@@ -3,9 +3,7 @@"name": "shader-liquid-metal","title": "Shader Liquid Metal","description": "Molten metallic surface with flowing specular highlights.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-liquid-metal/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-mesh-gradient.json b/public/r/shader-mesh-gradient.jsonindex be17f52e..789fcd9c 100644--- a/public/r/shader-mesh-gradient.json+++ b/public/r/shader-mesh-gradient.json@@ -3,9 +3,7 @@"name": "shader-mesh-gradient","title": "Shader Mesh Gradient","description": "WebGL mesh gradient backdrop driven per-frame for deterministic Remotion renders.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-mesh-gradient/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-metaballs.json b/public/r/shader-metaballs.jsonindex 91dda656..4a93db80 100644--- a/public/r/shader-metaballs.json+++ b/public/r/shader-metaballs.json@@ -3,9 +3,7 @@"name": "shader-metaballs","title": "Shader Metaballs","description": "Organic blobs merging and splitting like lava.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-metaballs/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-neuro-noise.json b/public/r/shader-neuro-noise.jsonindex 46be8af2..2c3a4d33 100644--- a/public/r/shader-neuro-noise.json+++ b/public/r/shader-neuro-noise.json@@ -3,9 +3,7 @@"name": "shader-neuro-noise","title": "Shader Neuro Noise","description": "Organic neural-web noise field that slowly morphs.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-neuro-noise/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-perlin-noise.json b/public/r/shader-perlin-noise.jsonindex da3ff9aa..6b358f53 100644--- a/public/r/shader-perlin-noise.json+++ b/public/r/shader-perlin-noise.json@@ -3,9 +3,7 @@"name": "shader-perlin-noise","title": "Shader Perlin Noise","description": "Classic Perlin noise clouds drifting across the frame.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-perlin-noise/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-pulsing-border.json b/public/r/shader-pulsing-border.jsonindex 2832d7ef..1244a958 100644--- a/public/r/shader-pulsing-border.json+++ b/public/r/shader-pulsing-border.json@@ -3,9 +3,7 @@"name": "shader-pulsing-border","title": "Shader Pulsing Border","description": "Glowing border frame that pulses around the edges.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-pulsing-border/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-simplex-noise.json b/public/r/shader-simplex-noise.jsonindex 73dd4115..f02aa981 100644--- a/public/r/shader-simplex-noise.json+++ b/public/r/shader-simplex-noise.json@@ -3,9 +3,7 @@"name": "shader-simplex-noise","title": "Shader Simplex Noise","description": "Simplex noise flow field, smoother than Perlin.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-simplex-noise/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-smoke-ring.json b/public/r/shader-smoke-ring.jsonindex 3b0f9378..9b9f0bf8 100644--- a/public/r/shader-smoke-ring.json+++ b/public/r/shader-smoke-ring.json@@ -3,9 +3,7 @@"name": "shader-smoke-ring","title": "Shader Smoke Ring","description": "Soft smoke ring curling and dissipating in place.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-smoke-ring/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-spiral.json b/public/r/shader-spiral.jsonindex 4d30dcf1..187bee1c 100644--- a/public/r/shader-spiral.json+++ b/public/r/shader-spiral.json@@ -3,9 +3,7 @@"name": "shader-spiral","title": "Shader Spiral","description": "Rotating spiral arms radiating from the center.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-spiral/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-swirl.json b/public/r/shader-swirl.jsonindex 3024de7c..e9103347 100644--- a/public/r/shader-swirl.json+++ b/public/r/shader-swirl.json@@ -3,9 +3,7 @@"name": "shader-swirl","title": "Shader Swirl","description": "Concentric bands swirling around a center point.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-swirl/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-voronoi.json b/public/r/shader-voronoi.jsonindex ca5a0a74..fc62ed92 100644--- a/public/r/shader-voronoi.json+++ b/public/r/shader-voronoi.json@@ -3,9 +3,7 @@"name": "shader-voronoi","title": "Shader Voronoi","description": "Animated Voronoi cells shifting and re-tessellating.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-voronoi/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-warp.json b/public/r/shader-warp.jsonindex c878f614..8ae1b977 100644--- a/public/r/shader-warp.json+++ b/public/r/shader-warp.json@@ -3,9 +3,7 @@"name": "shader-warp","title": "Shader Warp","description": "Domain-warped color field that folds and stretches like liquid.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-warp/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shader-water.json b/public/r/shader-water.jsonindex 878dfbbd..65783b3e 100644--- a/public/r/shader-water.json+++ b/public/r/shader-water.json@@ -3,9 +3,7 @@"name": "shader-water","title": "Shader Water","description": "Caustic water-surface ripples with subtle refraction.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "registry/remocn/shader-water/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shared-axis-y.json b/public/r/shared-axis-y.jsonindex c3c344d7..631a5c6d 100644--- a/public/r/shared-axis-y.json+++ b/public/r/shared-axis-y.json@@ -3,9 +3,7 @@"name": "shared-axis-y","title": "Shared Axis Y","description": "Per-word hard-cut transition with staircase timing for sharp editorial swaps.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/shared-axis-y/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shared-axis-z.json b/public/r/shared-axis-z.jsonindex 5ec3fc0a..ce24bd3b 100644--- a/public/r/shared-axis-z.json+++ b/public/r/shared-axis-z.json@@ -3,9 +3,7 @@"name": "shared-axis-z","title": "Shared Axis Z","description": "Scale-based shared-axis transition for focus shifts and context depth.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/shared-axis-z/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/sheet.json b/public/r/sheet.jsonindex 65988c00..11cebac1 100644--- a/public/r/sheet.json+++ b/public/r/sheet.json@@ -3,12 +3,8 @@"name": "sheet","title": "UI Sheet","description": "A side panel whose opened/closed state is a pure function of the timeline; the backdrop dim and right-edge slide-in are keyframed presets, with a close button and a primary action. Self-contained — pair it with the Button as a trigger (see the example).",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/sheet/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/shimmer-sweep.json b/public/r/shimmer-sweep.jsonindex 10631a6b..5d0bc77f 100644--- a/public/r/shimmer-sweep.json+++ b/public/r/shimmer-sweep.json@@ -3,9 +3,7 @@"name": "shimmer-sweep","title": "Shimmer Sweep","description": "Light shine sweeps across muted text via background-clip:text.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/shimmer-sweep/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/short-slide-down.json b/public/r/short-slide-down.jsonindex bae1a1e7..5da9ebdb 100644--- a/public/r/short-slide-down.json+++ b/public/r/short-slide-down.json@@ -3,9 +3,7 @@"name": "short-slide-down","title": "Short Slide Down","description": "Each new word drops in from above into its own line and pushes the stack downward until a centered three-line composition locks in place.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/short-slide-down/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/short-slide-right.json b/public/r/short-slide-right.jsonindex d38576c6..80da5a63 100644--- a/public/r/short-slide-right.json+++ b/public/r/short-slide-right.json@@ -3,9 +3,7 @@"name": "short-slide-right","title": "Short Slide Right","description": "The whole phrase glides in from the left as one compact move while words reveal in sequence through opacity.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/short-slide-right/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/signup-flow.json b/public/r/signup-flow.jsonindex 1e7ffab1..47b682b7 100644--- a/public/r/signup-flow.json+++ b/public/r/signup-flow.json@@ -3,9 +3,7 @@"name": "signup-flow","title": "UI Signup Flow","description": "A signup card composition: a real shadcn-style card (header, labeled Full Name / Email / Password / Confirm fields, primary + Google-outline buttons, sign-in footer) whose cursor fills each field top-to-bottom, then clicks Create account (hover → press → loading → success) as a success toast slides in. A pure orchestrator — every channel comes from a composed primitive's transition hook.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": ["@remocn/remocn-ui","@remocn/cursor",@@ -24,4 +22,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/simulated-cursor.json b/public/r/simulated-cursor.jsonindex f546d65b..574ed4c1 100644--- a/public/r/simulated-cursor.json+++ b/public/r/simulated-cursor.json@@ -3,9 +3,7 @@"name": "simulated-cursor","title": "Simulated Cursor","description": "Animated mouse cursor moving between waypoints with click ripple feedback.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/simulated-cursor/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/skeleton-block.json b/public/r/skeleton-block.jsonindex 227e9927..a7edb648 100644--- a/public/r/skeleton-block.json+++ b/public/r/skeleton-block.json@@ -3,12 +3,8 @@"name": "skeleton-block","title": "UI Skeleton Block","description": "A shimmer placeholder block — a motion atom (spinner pattern). A directional highlight gradient sweeps across deterministically from useCurrentFrame() and loops seamlessly. Configurable width/height/radius/speed and base/highlight colors.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/skeleton-block/index.tsx",@@ -18,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/skeleton.json b/public/r/skeleton.jsonindex 59109aaf..cc6c5843 100644--- a/public/r/skeleton.json+++ b/public/r/skeleton.json@@ -3,13 +3,8 @@"name": "skeleton","title": "UI Skeleton","description": "A skeleton→content crossfade whose loading/loaded state is a pure function of the timeline. The Skeleton renderer is pure (reads no frame); only the composed SkeletonBlock shimmer reads it. SkeletonStyle opacities sum to 1 so the box never dims; real children sit in normal flow and the placeholder (a lines/card layout or a custom node) is an absolute overlay.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/skeleton-block"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/skeleton-block"],"files": [{"path": "registry/remocn-ui/skeleton/index.tsx",@@ -25,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/slider.json b/public/r/slider.jsonindex 7173db6b..a607b706 100644--- a/public/r/slider.json+++ b/public/r/slider.json@@ -3,12 +3,8 @@"name": "slider","title": "UI Slider","description": "A slider whose fill is a numeric value channel plus a thumb idle/hover/press channel (dual-channel value-channel deviation). The Slider renderer is pure (clamped 0–100 value, thumb scale, grab-ring opacity); useSliderTransition reads the frame and eases both channels — value as a numeric lerp, the thumb visual from its state presets. Muted track + primary range + bordered thumb with a derived grab ring.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/slider/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/slot-machine-roll.json b/public/r/slot-machine-roll.jsonindex f53b69cc..ed2c0998 100644--- a/public/r/slot-machine-roll.json+++ b/public/r/slot-machine-roll.json@@ -3,9 +3,7 @@"name": "slot-machine-roll","title": "Slot Machine Roll","description": "Vertical reel scrolls characters from one value to another.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/slot-machine-roll/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/smoke-dissolve.json b/public/r/smoke-dissolve.jsonindex f9254260..ce0dfa79 100644--- a/public/r/smoke-dissolve.json+++ b/public/r/smoke-dissolve.json@@ -3,13 +3,8 @@"name": "smoke-dissolve","title": "Smoke Dissolve","description": "A smoke-ring shader transition that expands the ring outward to reveal the next scene.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-smoke-ring"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-smoke-ring"],"files": [{"path": "registry/remocn/smoke-dissolve/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/soft-blur-in.json b/public/r/soft-blur-in.jsonindex 5883abec..a4a772fd 100644--- a/public/r/soft-blur-in.json+++ b/public/r/soft-blur-in.json@@ -3,9 +3,7 @@"name": "soft-blur-in","title": "Soft Blur In","description": "Per-character fade-in with a gentle blur and upward motion. Apple's signature hero-title reveal.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/soft-blur-in/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/spinner.json b/public/r/spinner.jsonindex 6bdf4a5d..8257743f 100644--- a/public/r/spinner.json+++ b/public/r/spinner.json@@ -3,9 +3,7 @@"name": "spinner","title": "UI Spinner","description": "A deterministic spinning arc that loops on the Remotion frame — a pure motion atom with no state.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"registryDependencies": [],"files": [{@@ -16,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/spotlight-card.json b/public/r/spotlight-card.jsonindex 76a18fba..496649e8 100644--- a/public/r/spotlight-card.json+++ b/public/r/spotlight-card.json@@ -3,9 +3,7 @@"name": "spotlight-card","title": "Spotlight Card","description": "A card with a moonlight-cool radial spotlight that follows a synthetic cursor and lights up its microborder.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/spotlight-card/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/spring-scale-in.json b/public/r/spring-scale-in.jsonindex f1acb8e2..dc80d328 100644--- a/public/r/spring-scale-in.json+++ b/public/r/spring-scale-in.json@@ -3,9 +3,7 @@"name": "spring-scale-in","title": "Spring Scale In","description": "Words pop in with a soft overshoot scale, like a physical spring settling into place.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/spring-scale-in/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/staggered-fade-up.json b/public/r/staggered-fade-up.jsonindex 9140e386..109ac2f1 100644--- a/public/r/staggered-fade-up.json+++ b/public/r/staggered-fade-up.json@@ -3,9 +3,7 @@"name": "staggered-fade-up","title": "Staggered Fade Up","description": "Words fade in and slide up one after another with a configurable delay.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/staggered-fade-up/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/stepper.json b/public/r/stepper.jsonindex 222ccb3a..6ed4d211 100644--- a/public/r/stepper.json+++ b/public/r/stepper.json@@ -3,12 +3,8 @@"name": "stepper","title": "UI Stepper","description": "A horizontal onboarding stepper whose progress is a pure function of a continuous step index (value-channel deviation). Every circle (fill, number, stroke-dash check) and connector (primary fill fraction) derives purely from the float position; useStepperTransition reads the frame and eases position between step indices.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/stepper/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/strikethrough-replace.json b/public/r/strikethrough-replace.jsonindex 233874d0..dc47926d 100644--- a/public/r/strikethrough-replace.json+++ b/public/r/strikethrough-replace.json@@ -3,9 +3,7 @@"name": "strikethrough-replace","title": "Strikethrough Replace","description": "Draws a strike line across old text then reveals new text in its place.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/strikethrough-replace/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/swirl-dissolve.json b/public/r/swirl-dissolve.jsonindex 839c78db..6c325e88 100644--- a/public/r/swirl-dissolve.json+++ b/public/r/swirl-dissolve.json@@ -3,13 +3,8 @@"name": "swirl-dissolve","title": "Swirl Dissolve","description": "A swirl shader transition that unwinds open and winds shut to reveal the next scene.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-swirl"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-swirl"],"files": [{"path": "registry/remocn/swirl-dissolve/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/switch.json b/public/r/switch.jsonindex 9020f44e..8460b326 100644--- a/public/r/switch.json+++ b/public/r/switch.json@@ -3,12 +3,8 @@"name": "switch","title": "UI Switch","description": "A switch whose checked/unchecked state is a pure function of the timeline; the track fill and sliding thumb are keyframed presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/switch/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/tabs.json b/public/r/tabs.jsonindex 4f77b605..d291d352 100644--- a/public/r/tabs.json+++ b/public/r/tabs.json@@ -3,12 +3,8 @@"name": "tabs","title": "UI Tabs","description": "A tabs widget whose active-tab state is a pure function of the timeline; the sliding indicator, label colors, and panel crossfade are keyframed/derived presets.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/tabs/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/telegram-chat-flow.json b/public/r/telegram-chat-flow.jsonindex d7ca6f71..33c58763 100644--- a/public/r/telegram-chat-flow.json+++ b/public/r/telegram-chat-flow.json@@ -3,13 +3,8 @@"name": "telegram-chat-flow","title": "UI Telegram Chat Flow","description": "A Telegram-styled messaging composition: tailed bubbles (white incoming, blue outgoing) with in-bubble timestamps and delivery checks, a header that flips to 'typing…' while the other side replies, reaction chips, and a Telegram composer that types the outgoing message before sending. Self-contained — it owns its timeline and only composes the caret primitive.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/caret"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret"],"files": [{"path": "registry/remocn-ui/telegram-chat-flow/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/terminal-cursor-zoom.json b/public/r/terminal-cursor-zoom.jsonindex bc8f7afe..77dae215 100644--- a/public/r/terminal-cursor-zoom.json+++ b/public/r/terminal-cursor-zoom.json@@ -3,12 +3,8 @@"name": "terminal-cursor-zoom","title": "Terminal Cursor Zoom","description": "Camera locked to the typing cursor, dollying across a terminal as a command types at high zoom.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/terminal-simulator"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/terminal-simulator"],"files": [{"path": "registry/remocn/terminal-cursor-zoom/index.tsx",@@ -18,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/terminal-simulator.json b/public/r/terminal-simulator.jsonindex 5b8d242d..65703976 100644--- a/public/r/terminal-simulator.json+++ b/public/r/terminal-simulator.json@@ -3,9 +3,7 @@"name": "terminal-simulator","title": "Terminal Simulator","description": "Terminal window that types out commands and rolls old lines off the top.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/terminal-simulator/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/toast.json b/public/r/toast.jsonindex 2cce618e..b526d220 100644--- a/public/r/toast.json+++ b/public/r/toast.json@@ -3,12 +3,8 @@"name": "toast","title": "UI Toast","description": "A toast notification whose hidden/visible state is a pure function of the timeline. The Toast renderer is a pure function of a ToastStyle (opacity, translateY, scale); useToastTransition eases both the slide-in enter and the auto-dismiss exit. Variants default/success/error change the leading icon and its color.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/toast/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/toggle-group.json b/public/r/toggle-group.jsonindex 52d7301d..0968dc65 100644--- a/public/r/toggle-group.json+++ b/public/r/toggle-group.json@@ -3,12 +3,8 @@"name": "toggle-group","title": "UI Toggle Group","description": "A segmented control whose active value is a pure function of the timeline; a raised thumb SLIDES between segments (position + width derived from a float indicator offset, no jumps) and the labels crossfade color via mixOklch. The tabs precedent without content panels.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/toggle-group/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/tooltip.json b/public/r/tooltip.jsonindex 7d6e0149..610d5501 100644--- a/public/r/tooltip.json+++ b/public/r/tooltip.json@@ -3,12 +3,8 @@"name": "tooltip","title": "UI Tooltip","description": "A tooltip whose hidden/visible state is a pure function of the timeline. The Tooltip renderer is a pure function of a TooltipStyle (opacity, scale, translate); useTooltipTransition eases both the show and the hide. The static `side` prop sets the enter translate axis and the arrow placement.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/tooltip/index.tsx",@@ -24,4 +20,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/top-down-letters.json b/public/r/top-down-letters.jsonindex 2461cca2..ac1b82d1 100644--- a/public/r/top-down-letters.json+++ b/public/r/top-down-letters.json@@ -3,9 +3,7 @@"name": "top-down-letters","title": "Top-Down Letters","description": "Letters descend from above in a pronounced staircase, one symbol at a time, with zero blur.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/top-down-letters/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/tracking-in.json b/public/r/tracking-in.jsonindex 72fb8e17..dd3d2080 100644--- a/public/r/tracking-in.json+++ b/public/r/tracking-in.json@@ -3,9 +3,7 @@"name": "tracking-in","title": "Tracking In","description": "Letter-spacing collapses and blur clears with a springy motion.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "registry/remocn/tracking-in/index.tsx",@@ -15,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/typewriter.json b/public/r/typewriter.jsonindex 3ac18fe6..cb83cc97 100644--- a/public/r/typewriter.json+++ b/public/r/typewriter.json@@ -3,13 +3,8 @@"name": "typewriter","title": "Typewriter","description": "Character-by-character text reveal with a deterministic blinking cursor.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/caret"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret"],"files": [{"path": "registry/remocn/typewriter/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/typing-indicator.json b/public/r/typing-indicator.jsonindex da3fcc98..63e286ea 100644--- a/public/r/typing-indicator.json+++ b/public/r/typing-indicator.json@@ -3,12 +3,8 @@"name": "typing-indicator","title": "UI Typing Indicator","description": "A continuous typing animation: N dots bounce with a staggered sine wave. A motion atom — it reads the frame and takes color, size, gap, and speed props, defaulting to currentColor so it inherits the bubble it sits in.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui"],"files": [{"path": "registry/remocn-ui/typing-indicator/index.tsx",@@ -18,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/v0.json b/public/r/v0.jsonindex 1f7b440d..e8291e4d 100644--- a/public/r/v0.json+++ b/public/r/v0.json@@ -3,14 +3,8 @@"name": "v0","title": "v0","description": "Animated Vercel v0 composer — types a prompt into the dark textarea and the mic button morphs into a send button. Dark/light themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "registry/remocn/v0/index.tsx",@@ -20,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/warp-dissolve.json b/public/r/warp-dissolve.jsonindex 01621c95..88fc5f26 100644--- a/public/r/warp-dissolve.json+++ b/public/r/warp-dissolve.json@@ -3,13 +3,8 @@"name": "warp-dissolve","title": "Warp Dissolve","description": "A domain-warp shader transition that melts the outgoing scene into a folding color field and straightens back out into the next.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-warp"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-warp"],"files": [{"path": "registry/remocn/warp-dissolve/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/wave-wipe.json b/public/r/wave-wipe.jsonindex 09d098ef..ebe7b738 100644--- a/public/r/wave-wipe.json+++ b/public/r/wave-wipe.json@@ -3,13 +3,8 @@"name": "wave-wipe","title": "Wave Wipe","description": "A grain-gradient wave that sweeps up across the frame, covering the outgoing scene and revealing the next one from below.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-grain-gradient"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-grain-gradient"],"files": [{"path": "registry/remocn/wave-wipe/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/whip-pan.json b/public/r/whip-pan.jsonindex 67cf867b..245f3a5f 100644--- a/public/r/whip-pan.json+++ b/public/r/whip-pan.json@@ -3,10 +3,7 @@"name": "whip-pan","title": "Whip Pan","description": "A whip-pan transition that flies both scenes through the frame in one move with velocity-based motion blur.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],+ "dependencies": ["remotion", "@remotion/transitions"],"files": [{"path": "registry/remocn/whip-pan/index.tsx",@@ -16,4 +13,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/x-follow-card.json b/public/r/x-follow-card.jsonindex 85f86919..2473599e 100644--- a/public/r/x-follow-card.json+++ b/public/r/x-follow-card.json@@ -3,13 +3,8 @@"name": "x-follow-card","title": "X Follow Card","description": "Animated X profile follow card — spring bounce-in, staggered blur-in, a synthetic cursor that clicks Follow and flips it to Following. Light/dark, horizontal or vertical.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/cursor"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/cursor"],"files": [{"path": "registry/remocn/x-follow-card/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/public/r/x-followers-overview.json b/public/r/x-followers-overview.jsonindex 8d0a39db..6e5927ef 100644--- a/public/r/x-followers-overview.json+++ b/public/r/x-followers-overview.json@@ -3,13 +3,8 @@"name": "x-followers-overview","title": "X Followers Overview","description": "X follow notifications cycle through as 3D flipping text — '<name> followed you · 7h' — then the total follower count pops in with a confetti burst. Hardcoded sample list (X API ready). Light/dark, horizontal or vertical.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/confetti"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/confetti"],"files": [{"path": "registry/remocn/x-followers-overview/index.tsx",@@ -19,4 +14,4 @@}],"type": "registry:component"-}\ No newline at end of file+}diff --git a/registry/__index__.tsx b/registry/__index__.tsxindex 6ef2df6b..7ec36b92 100644--- a/registry/__index__.tsx+++ b/registry/__index__.tsx@@ -3,130 +3,131 @@ import { type ComponentConfig, SHARED_CONTROLS } from "@/lib/customizer-config";import { animatedBarChartConfig } from "@/registry/remocn/animated-bar-chart/config";import { animatedLineChartConfig } from "@/registry/remocn/animated-line-chart/config";-import { softBlurInConfig } from "@/registry/remocn/soft-blur-in/config";-import { perCharacterRiseConfig } from "@/registry/remocn/per-character-rise/config";-import { bottomUpLettersConfig } from "@/registry/remocn/bottom-up-letters/config";-import { topDownLettersConfig } from "@/registry/remocn/top-down-letters/config";-import { springScaleInConfig } from "@/registry/remocn/spring-scale-in/config";-import { microScaleFadeConfig } from "@/registry/remocn/micro-scale-fade/config";-import { scaleDownFadeConfig } from "@/registry/remocn/scale-down-fade/config";+import { backdropConfig } from "@/registry/remocn/backdrop/config";import { blurOutUpConfig } from "@/registry/remocn/blur-out-up/config";-import { focusBlurResolveConfig } from "@/registry/remocn/focus-blur-resolve/config";-import { lineByLineSlideConfig } from "@/registry/remocn/line-by-line-slide/config";-import { perWordCrossfadeConfig } from "@/registry/remocn/per-word-crossfade/config";-import { fadeThroughConfig } from "@/registry/remocn/fade-through/config";-import { sharedAxisYConfig } from "@/registry/remocn/shared-axis-y/config";-import { sharedAxisZConfig } from "@/registry/remocn/shared-axis-z/config";-import { shortSlideRightConfig } from "@/registry/remocn/short-slide-right/config";-import { kineticCenterBuildConfig } from "@/registry/remocn/kinetic-center-build/config";-import { shortSlideDownConfig } from "@/registry/remocn/short-slide-down/config";+import { bottomUpLettersConfig } from "@/registry/remocn/bottom-up-letters/config";+import { chatGptConfig } from "@/registry/remocn/chat-gpt/config";import { chatToPreviewLayoutConfig } from "@/registry/remocn/chat-to-preview-layout/config";+import { claudeChatConfig } from "@/registry/remocn/claude-chat/config";+import { claudeCodeConfig } from "@/registry/remocn/claude-code/config";+import { confettiConfig } from "@/registry/remocn/confetti/config";import { dataFlowPipesConfig } from "@/registry/remocn/data-flow-pipes/config";-import { swirlDissolveConfig } from "@/registry/remocn/swirl-dissolve/config";import { ditherDissolveConfig } from "@/registry/remocn/dither-dissolve/config";-import { perlinDissolveConfig } from "@/registry/remocn/perlin-dissolve/config";-import { smokeDissolveConfig } from "@/registry/remocn/smoke-dissolve/config";-import { grainDissolveConfig } from "@/registry/remocn/grain-dissolve/config";-import { waveWipeConfig } from "@/registry/remocn/wave-wipe/config";-import { rippleZoomConfig } from "@/registry/remocn/ripple-zoom/config";-import { warpDissolveConfig } from "@/registry/remocn/warp-dissolve/config";-import { whipPanConfig } from "@/registry/remocn/whip-pan/config";-import { pushThroughConfig } from "@/registry/remocn/push-through/config";-import { focusPullConfig } from "@/registry/remocn/focus-pull/config";import { dynamicGridConfig } from "@/registry/remocn/dynamic-grid/config";import { ecosystemConstellationConfig } from "@/registry/remocn/ecosystem-constellation/config";+import { fadeThroughConfig } from "@/registry/remocn/fade-through/config";+import { focusBlurResolveConfig } from "@/registry/remocn/focus-blur-resolve/config";+import { focusPullConfig } from "@/registry/remocn/focus-pull/config";import { githubSponsorsConfig } from "@/registry/remocn/github-sponsors/config";import { githubStarsConfig } from "@/registry/remocn/github-stars/config";-import { logoEnterConfig } from "@/registry/remocn/logo-enter/config";import { glassCodeBlockConfig } from "@/registry/remocn/glass-code-block/config";import { glassCodeWalkConfig } from "@/registry/remocn/glass-code-walk/config";+import { grainDissolveConfig } from "@/registry/remocn/grain-dissolve/config";import { infiniteBentoPanConfig } from "@/registry/remocn/infinite-bento-pan/config";import { infiniteMarqueeConfig } from "@/registry/remocn/infinite-marquee/config";import { inlineHighlightConfig } from "@/registry/remocn/inline-highlight/config";+import { kineticCenterBuildConfig } from "@/registry/remocn/kinetic-center-build/config";+import { lineByLineSlideConfig } from "@/registry/remocn/line-by-line-slide/config";import { liveCodeCompilationConfig } from "@/registry/remocn/live-code-compilation/config";+import { logoEnterConfig } from "@/registry/remocn/logo-enter/config";import { markerHighlightConfig } from "@/registry/remocn/marker-highlight/config";import { maskRevealUpConfig } from "@/registry/remocn/mask-reveal-up/config";import { matrixDecodeConfig } from "@/registry/remocn/matrix-decode/config";import { meshGradientBgConfig } from "@/registry/remocn/mesh-gradient-bg/config";-import { shaderGrainGradientConfig } from "@/registry/remocn/shader-grain-gradient/config";+import { microScaleFadeConfig } from "@/registry/remocn/micro-scale-fade/config";+import { numberWheelConfig } from "@/registry/remocn/number-wheel/config";+import { opencodeConfig } from "@/registry/remocn/opencode/config";+import { perCharacterRiseConfig } from "@/registry/remocn/per-character-rise/config";+import { perWordCrossfadeConfig } from "@/registry/remocn/per-word-crossfade/config";+import { perlinDissolveConfig } from "@/registry/remocn/perlin-dissolve/config";+import { perspectiveMarqueeConfig } from "@/registry/remocn/perspective-marquee/config";+import { progressStepsConfig } from "@/registry/remocn/progress-steps/config";+import { pushThroughConfig } from "@/registry/remocn/push-through/config";+import { rgbGlitchTextConfig } from "@/registry/remocn/rgb-glitch-text/config";+import { rippleZoomConfig } from "@/registry/remocn/ripple-zoom/config";+import { rollingNumberConfig } from "@/registry/remocn/rolling-number/config";+import { scaleDownFadeConfig } from "@/registry/remocn/scale-down-fade/config";import { shaderColorPanelsConfig } from "@/registry/remocn/shader-color-panels/config";import { shaderDitheringConfig } from "@/registry/remocn/shader-dithering/config";import { shaderDotOrbitConfig } from "@/registry/remocn/shader-dot-orbit/config";import { shaderGodRaysConfig } from "@/registry/remocn/shader-god-rays/config";-import { shaderSmokeRingConfig } from "@/registry/remocn/shader-smoke-ring/config";+import { shaderGrainGradientConfig } from "@/registry/remocn/shader-grain-gradient/config";import { shaderLiquidMetalConfig } from "@/registry/remocn/shader-liquid-metal/config";-import { shaderMetaballsConfig } from "@/registry/remocn/shader-metaballs/config";import { shaderMeshGradientConfig } from "@/registry/remocn/shader-mesh-gradient/config";+import { shaderMetaballsConfig } from "@/registry/remocn/shader-metaballs/config";import { shaderNeuroNoiseConfig } from "@/registry/remocn/shader-neuro-noise/config";import { shaderPerlinNoiseConfig } from "@/registry/remocn/shader-perlin-noise/config";import { shaderPulsingBorderConfig } from "@/registry/remocn/shader-pulsing-border/config";import { shaderSimplexNoiseConfig } from "@/registry/remocn/shader-simplex-noise/config";-import { shaderVoronoiConfig } from "@/registry/remocn/shader-voronoi/config";+import { shaderSmokeRingConfig } from "@/registry/remocn/shader-smoke-ring/config";import { shaderSpiralConfig } from "@/registry/remocn/shader-spiral/config";import { shaderSwirlConfig } from "@/registry/remocn/shader-swirl/config";-import { shaderWaterConfig } from "@/registry/remocn/shader-water/config";+import { shaderVoronoiConfig } from "@/registry/remocn/shader-voronoi/config";import { shaderWarpConfig } from "@/registry/remocn/shader-warp/config";-import { numberWheelConfig } from "@/registry/remocn/number-wheel/config";-import { perspectiveMarqueeConfig } from "@/registry/remocn/perspective-marquee/config";-import { progressStepsConfig } from "@/registry/remocn/progress-steps/config";-import { rgbGlitchTextConfig } from "@/registry/remocn/rgb-glitch-text/config";-import { rollingNumberConfig } from "@/registry/remocn/rolling-number/config";+import { shaderWaterConfig } from "@/registry/remocn/shader-water/config";+import { sharedAxisYConfig } from "@/registry/remocn/shared-axis-y/config";+import { sharedAxisZConfig } from "@/registry/remocn/shared-axis-z/config";import { shimmerSweepConfig } from "@/registry/remocn/shimmer-sweep/config";+import { shortSlideDownConfig } from "@/registry/remocn/short-slide-down/config";+import { shortSlideRightConfig } from "@/registry/remocn/short-slide-right/config";import { simulatedCursorConfig } from "@/registry/remocn/simulated-cursor/config";import { slotMachineRollConfig } from "@/registry/remocn/slot-machine-roll/config";+import { smokeDissolveConfig } from "@/registry/remocn/smoke-dissolve/config";+import { softBlurInConfig } from "@/registry/remocn/soft-blur-in/config";import { spotlightCardConfig } from "@/registry/remocn/spotlight-card/config";+import { springScaleInConfig } from "@/registry/remocn/spring-scale-in/config";import { staggeredFadeUpConfig } from "@/registry/remocn/staggered-fade-up/config";import { strikethroughReplaceConfig } from "@/registry/remocn/strikethrough-replace/config";+import { swirlDissolveConfig } from "@/registry/remocn/swirl-dissolve/config";import { terminalCursorZoomConfig } from "@/registry/remocn/terminal-cursor-zoom/config";import { terminalSimulatorConfig } from "@/registry/remocn/terminal-simulator/config";+import { topDownLettersConfig } from "@/registry/remocn/top-down-letters/config";import { trackingInConfig } from "@/registry/remocn/tracking-in/config";import { typewriterConfig } from "@/registry/remocn/typewriter/config";+import { v0Config } from "@/registry/remocn/v0/config";+import { warpDissolveConfig } from "@/registry/remocn/warp-dissolve/config";+import { waveWipeConfig } from "@/registry/remocn/wave-wipe/config";+import { whipPanConfig } from "@/registry/remocn/whip-pan/config";import { xFollowCardConfig } from "@/registry/remocn/x-follow-card/config";import { xFollowersOverviewConfig } from "@/registry/remocn/x-followers-overview/config";-import { confettiConfig } from "@/registry/remocn/confetti/config";-import { chatGptConfig } from "@/registry/remocn/chat-gpt/config";-import { v0Config } from "@/registry/remocn/v0/config";-import { claudeCodeConfig } from "@/registry/remocn/claude-code/config";-import { opencodeConfig } from "@/registry/remocn/opencode/config";-import { claudeChatConfig } from "@/registry/remocn/claude-chat/config";import { accordionConfig } from "@/registry/remocn-ui/accordion/config";import { alertDialogConfig } from "@/registry/remocn-ui/alert-dialog/config";-import { dialogConfig } from "@/registry/remocn-ui/dialog/config";-import { drawerConfig } from "@/registry/remocn-ui/drawer/config";-import { sheetConfig } from "@/registry/remocn-ui/sheet/config";-import { buttonConfig } from "@/registry/remocn-ui/button/config";-import { checkboxConfig } from "@/registry/remocn-ui/checkbox/config";-import { inputConfig } from "@/registry/remocn-ui/input/config";import { blurInConfig } from "@/registry/remocn-ui/blur-in/config";-import { radioConfig } from "@/registry/remocn-ui/radio/config";-import { spinnerConfig } from "@/registry/remocn-ui/spinner/config";+import { buttonConfig } from "@/registry/remocn-ui/button/config";import { caretConfig } from "@/registry/remocn-ui/caret/config";-import { switchConfig } from "@/registry/remocn-ui/switch/config";-import { selectConfig } from "@/registry/remocn-ui/select/config";-import { selectItemConfig } from "@/registry/remocn-ui/select-item/config";+import { checkboxConfig } from "@/registry/remocn-ui/checkbox/config";+import { comboboxConfig } from "@/registry/remocn-ui/combobox/config";+import { commandMenuConfig } from "@/registry/remocn-ui/command-menu/config";+import { commandMenuItemConfig } from "@/registry/remocn-ui/command-menu-item/config";+import { contextMenuConfig } from "@/registry/remocn-ui/context-menu/config";+import { cursorConfig } from "@/registry/remocn-ui/cursor/config";+import { dialogConfig } from "@/registry/remocn-ui/dialog/config";+import { drawerConfig } from "@/registry/remocn-ui/drawer/config";import { dropdownMenuConfig } from "@/registry/remocn-ui/dropdown-menu/config";import { dropdownMenuItemConfig } from "@/registry/remocn-ui/dropdown-menu-item/config";-import { tabsConfig } from "@/registry/remocn-ui/tabs/config";-import { cursorConfig } from "@/registry/remocn-ui/cursor/config";-import { toastConfig } from "@/registry/remocn-ui/toast/config";+import { inputConfig } from "@/registry/remocn-ui/input/config";import { messageBubbleConfig } from "@/registry/remocn-ui/message-bubble/config";-import { typingIndicatorConfig } from "@/registry/remocn-ui/typing-indicator/config";-import { commandMenuItemConfig } from "@/registry/remocn-ui/command-menu-item/config";-import { commandMenuConfig } from "@/registry/remocn-ui/command-menu/config";-import { tooltipConfig } from "@/registry/remocn-ui/tooltip/config";+import { popoverConfig } from "@/registry/remocn-ui/popover/config";import { progressConfig } from "@/registry/remocn-ui/progress/config";-import { skeletonBlockConfig } from "@/registry/remocn-ui/skeleton-block/config";+import { radioConfig } from "@/registry/remocn-ui/radio/config";+import { resizableConfig } from "@/registry/remocn-ui/resizable/config";+import { selectConfig } from "@/registry/remocn-ui/select/config";+import { selectItemConfig } from "@/registry/remocn-ui/select-item/config";+import { sheetConfig } from "@/registry/remocn-ui/sheet/config";import { skeletonConfig } from "@/registry/remocn-ui/skeleton/config";+import { skeletonBlockConfig } from "@/registry/remocn-ui/skeleton-block/config";import { sliderConfig } from "@/registry/remocn-ui/slider/config";-import { comboboxConfig } from "@/registry/remocn-ui/combobox/config";-import { popoverConfig } from "@/registry/remocn-ui/popover/config";-import { contextMenuConfig } from "@/registry/remocn-ui/context-menu/config";-import { toggleGroupConfig } from "@/registry/remocn-ui/toggle-group/config";+import { spinnerConfig } from "@/registry/remocn-ui/spinner/config";import { stepperConfig } from "@/registry/remocn-ui/stepper/config";-import { resizableConfig } from "@/registry/remocn-ui/resizable/config";-import { backdropConfig } from "@/registry/remocn/backdrop/config";+import { switchConfig } from "@/registry/remocn-ui/switch/config";+import { tabsConfig } from "@/registry/remocn-ui/tabs/config";+import { toastConfig } from "@/registry/remocn-ui/toast/config";+import { toggleGroupConfig } from "@/registry/remocn-ui/toggle-group/config";+import { tooltipConfig } from "@/registry/remocn-ui/tooltip/config";+import { typingIndicatorConfig } from "@/registry/remocn-ui/typing-indicator/config";export interface RegistryEntry {+ // biome-ignore lint/suspicious/noExplicitAny: dynamically-loaded Remotion composition, props shape varies per componentload: () => Promise<{ default: React.ComponentType<any> }>;config: ComponentConfig;}@@ -1029,7 +1030,7 @@ for (const { config } of Object.values(registry)) {config.controls = { ...config.controls, ...SHARED_CONTROLS };}-const backdrop = registry["backdrop"];+const backdrop = registry.backdrop;if (backdrop) {delete backdrop.config.controls.speed;}@@ -1140,7 +1141,7 @@ if (chatGpt) {};}-const v0 = registry["v0"];+const v0 = registry.v0;if (v0) {v0.config.controls.speed = {type: "number",@@ -1164,7 +1165,7 @@ if (claudeCode) {};}-const opencode = registry["opencode"];+const opencode = registry.opencode;if (opencode) {opencode.config.controls.speed = {type: "number",diff --git a/registry/remocn-ui/accordion/__tests__/accordion.test.ts b/registry/remocn-ui/accordion/__tests__/accordion.test.tsindex 20d2eb29..02059037 100644--- a/registry/remocn-ui/accordion/__tests__/accordion.test.ts+++ b/registry/remocn-ui/accordion/__tests__/accordion.test.ts@@ -1,13 +1,15 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme } from "@/lib/remocn-ui";+import { accordionConfig } from "../config";import {type AccordionState,accordionStyle,accordionStyleContext,} from "../index";-import { tweenAccordionStyle, DEFAULT_DURATION } from "../use-accordion-transition";-import { accordionConfig } from "../config";-import { defaultLightTheme } from "@/lib/remocn-ui";+import {+ DEFAULT_DURATION,+ tweenAccordionStyle,+} from "../use-accordion-transition";const VALID_STATES: readonly AccordionState[] = ["opened", "closed"];@@ -26,13 +28,15 @@ const ctx = accordionStyleContext("default", defaultLightTheme);describe("AccordionState union", () => {it("contains exactly the two documented states", () => {const control = accordionConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = accordionConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -47,7 +51,8 @@ describe("accordionConfig.controls.state", () => {it("has exactly the two AccordionState options in order", () => {const control = accordionConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});@@ -58,7 +63,8 @@ describe("accordionConfig.controls.state", () => {it("every option is a member of the AccordionState union", () => {const control = accordionConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as AccordionState);}@@ -72,7 +78,8 @@ describe("accordionConfig.controls.variant", () => {it("has exactly the two variant options in order", () => {const control = accordionConfig.controls.variant;- if (control.type !== "select") throw new Error("variant control must be a select");+ if (control.type !== "select")+ throw new Error("variant control must be a select");expect(control.options).toEqual(["default", "ghost"]);});@@ -82,17 +89,18 @@ describe("accordionConfig.controls.variant", () => {});describe("accordionConfig.snippet: state prop emission", () => {- it("emits state=\"opened\" for the opened option", () => {+ it('emits state="opened" for the opened option', () => {expect(snippet({ state: "opened" })).toContain('state="opened"');});- it("emits state=\"closed\" for the closed option", () => {+ it('emits state="closed" for the closed option', () => {expect(snippet({ state: "closed" })).toContain('state="closed"');});it("emits the correct state for every control option", () => {const control = accordionConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -117,7 +125,7 @@ describe("accordionConfig.snippet: NEVER emits steps or action", () => {describe("accordionConfig.snippet: import line", () => {it("includes `import { Accordion }` from the correct path", () => {const out = snippet({ state: "opened" });- expect(out).toContain('import { Accordion }');+ expect(out).toContain("import { Accordion }");expect(out).toContain('from "@/components/remocn/accordion"');});});@@ -141,23 +149,25 @@ describe("accordionConfig.snippet: default props are omitted", () => {it("omits variant when it equals the default 'default'", () => {expect(allDefaults).not.toContain("variant=");});-});describe("accordionConfig.snippet: non-default props are emitted", () => {it("emits a non-default title", () => {- expect(snippet({ state: "opened", title: "How do I reset my password?" }))- .toContain('title="How do I reset my password?"');+ expect(+ snippet({ state: "opened", title: "How do I reset my password?" }),+ ).toContain('title="How do I reset my password?"');});it("emits a non-default content", () => {- expect(snippet({ state: "opened", content: "Click the forgot password link." }))- .toContain('content="Click the forgot password link."');+ expect(+ snippet({ state: "opened", content: "Click the forgot password link." }),+ ).toContain('content="Click the forgot password link."');});it("emits a non-default variant", () => {- expect(snippet({ state: "opened", variant: "ghost" }))- .toContain('variant="ghost"');+ expect(snippet({ state: "opened", variant: "ghost" })).toContain(+ 'variant="ghost"',+ );});});@@ -165,7 +175,7 @@ describe("accordionConfig.snippet: structural round-trip", () => {const out = snippet({ state: "opened" });it("starts with the import line", () => {- expect(out.startsWith('import { Accordion }')).toBe(true);+ expect(out.startsWith("import { Accordion }")).toBe(true);});it("contains a <Accordion JSX opening", () => {diff --git a/registry/remocn-ui/accordion/use-accordion-transition.ts b/registry/remocn-ui/accordion/use-accordion-transition.tsindex 34c974e6..9452bff8 100644--- a/registry/remocn-ui/accordion/use-accordion-transition.ts+++ b/registry/remocn-ui/accordion/use-accordion-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type AccordionState,+ type AccordionStyle,+ accordionStyle,+ accordionStyleContext,+} from "@/components/remocn/accordion";import {easings,mixOklch,@@ -8,12 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- accordionStyle,- accordionStyleContext,- type AccordionState,- type AccordionStyle,-} from "@/components/remocn/accordion";export const DEFAULT_DURATION = 14;diff --git a/registry/remocn-ui/ai-prompt-flow/index.tsx b/registry/remocn-ui/ai-prompt-flow/index.tsxindex 6220f01b..55d18461 100644--- a/registry/remocn-ui/ai-prompt-flow/index.tsx+++ b/registry/remocn-ui/ai-prompt-flow/index.tsx@@ -1,15 +1,15 @@"use client";-import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";-import { Input } from "@/components/remocn/input";-import { useInputTransition } from "@/components/remocn/use-input-transition";import { Button } from "@/components/remocn/button";-import { useButtonTransition } from "@/components/remocn/use-button-transition";+import { Input } from "@/components/remocn/input";import { Skeleton } from "@/components/remocn/skeleton";import { SkeletonBlock } from "@/components/remocn/skeleton-block";-import { useSkeletonTransition } from "@/components/remocn/use-skeleton-transition";import { Toast } from "@/components/remocn/toast";+import { useButtonTransition } from "@/components/remocn/use-button-transition";+import { useInputTransition } from "@/components/remocn/use-input-transition";+import { useSkeletonTransition } from "@/components/remocn/use-skeleton-transition";import { useToastTransition } from "@/components/remocn/use-toast-transition";+import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";export interface AiPromptFlowProps {prompt?: string;@@ -122,11 +122,7 @@ export function AiPromptFlow({height: BTN_H,}}>- <Button- label={buttonLabel}- style={buttonStyle}- theme={theme}- />+ <Button label={buttonLabel} style={buttonStyle} theme={theme} /></div>{}diff --git a/registry/remocn-ui/alert-dialog/__tests__/alert-dialog.test.ts b/registry/remocn-ui/alert-dialog/__tests__/alert-dialog.test.tsindex 333196a4..52e89d47 100644--- a/registry/remocn-ui/alert-dialog/__tests__/alert-dialog.test.ts+++ b/registry/remocn-ui/alert-dialog/__tests__/alert-dialog.test.ts@@ -1,13 +1,15 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme } from "@/lib/remocn-ui";+import { alertDialogConfig } from "../config";import {type AlertDialogState,alertDialogStyle,alertDialogStyleContext,} from "../index";-import { tweenAlertDialogStyle, DEFAULT_DURATION } from "../use-alert-dialog-transition";-import { alertDialogConfig } from "../config";-import { defaultLightTheme } from "@/lib/remocn-ui";+import {+ DEFAULT_DURATION,+ tweenAlertDialogStyle,+} from "../use-alert-dialog-transition";const VALID_STATES: readonly AlertDialogState[] = ["opened", "closed"];@@ -27,13 +29,15 @@ const ctx = alertDialogStyleContext(defaultLightTheme);describe("AlertDialogState union", () => {it("contains exactly the two documented states", () => {const control = alertDialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = alertDialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -48,7 +52,8 @@ describe("alertDialogConfig.controls.state", () => {it("has exactly the two AlertDialogState options in order", () => {const control = alertDialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});@@ -59,7 +64,8 @@ describe("alertDialogConfig.controls.state", () => {it("every option is a member of the AlertDialogState union", () => {const control = alertDialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as AlertDialogState);}@@ -67,17 +73,18 @@ describe("alertDialogConfig.controls.state", () => {});describe("alertDialogConfig.snippet: state prop emission", () => {- it("emits state=\"opened\" for the opened option", () => {+ it('emits state="opened" for the opened option', () => {expect(snippet({ state: "opened" })).toContain('state="opened"');});- it("emits state=\"closed\" for the closed option", () => {+ it('emits state="closed" for the closed option', () => {expect(snippet({ state: "closed" })).toContain('state="closed"');});it("emits the correct state for every control option", () => {const control = alertDialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -96,7 +103,7 @@ describe("alertDialogConfig.snippet: NEVER emits steps", () => {describe("alertDialogConfig.snippet: import line", () => {it("includes `import { AlertDialog }` from the correct path", () => {const out = snippet({ state: "opened" });- expect(out).toContain('import { AlertDialog }');+ expect(out).toContain("import { AlertDialog }");expect(out).toContain('from "@/components/remocn/alert-dialog"');});});@@ -105,7 +112,8 @@ describe("alertDialogConfig.snippet: default props are omitted", () => {const allDefaults = snippet({state: "opened",title: "Delete account?",- description: "This action cannot be undone. This will permanently remove your data from our servers.",+ description:+ "This action cannot be undone. This will permanently remove your data from our servers.",actionLabel: "Delete",cancelLabel: "Cancel",});@@ -129,23 +137,27 @@ describe("alertDialogConfig.snippet: default props are omitted", () => {describe("alertDialogConfig.snippet: non-default props are emitted", () => {it("emits a non-default title", () => {- expect(snippet({ state: "opened", title: "Remove workspace?" }))- .toContain('title="Remove workspace?"');+ expect(snippet({ state: "opened", title: "Remove workspace?" })).toContain(+ 'title="Remove workspace?"',+ );});it("emits a non-default description", () => {- expect(snippet({ state: "opened", description: "This cannot be undone." }))- .toContain('description="This cannot be undone."');+ expect(+ snippet({ state: "opened", description: "This cannot be undone." }),+ ).toContain('description="This cannot be undone."');});it("emits a non-default actionLabel", () => {- expect(snippet({ state: "opened", actionLabel: "Confirm" }))- .toContain('actionLabel="Confirm"');+ expect(snippet({ state: "opened", actionLabel: "Confirm" })).toContain(+ 'actionLabel="Confirm"',+ );});it("emits a non-default cancelLabel", () => {- expect(snippet({ state: "opened", cancelLabel: "Go back" }))- .toContain('cancelLabel="Go back"');+ expect(snippet({ state: "opened", cancelLabel: "Go back" })).toContain(+ 'cancelLabel="Go back"',+ );});});@@ -153,7 +165,7 @@ describe("alertDialogConfig.snippet: structural round-trip", () => {const out = snippet({ state: "opened" });it("starts with the import line", () => {- expect(out.startsWith('import { AlertDialog }')).toBe(true);+ expect(out.startsWith("import { AlertDialog }")).toBe(true);});it("contains a <AlertDialog JSX opening", () => {diff --git a/registry/remocn-ui/alert-dialog/use-alert-dialog-transition.ts b/registry/remocn-ui/alert-dialog/use-alert-dialog-transition.tsindex 4adb3028..058df422 100644--- a/registry/remocn-ui/alert-dialog/use-alert-dialog-transition.ts+++ b/registry/remocn-ui/alert-dialog/use-alert-dialog-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type AlertDialogState,+ type AlertDialogStyle,+ alertDialogStyle,+ alertDialogStyleContext,+} from "@/components/remocn/alert-dialog";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- alertDialogStyle,- alertDialogStyleContext,- type AlertDialogState,- type AlertDialogStyle,-} from "@/components/remocn/alert-dialog";export const DEFAULT_DURATION = 12;@@ -22,7 +22,8 @@ export function tweenAlertDialogStyle(t: number,): AlertDialogStyle {return {- overlayOpacity: a.overlayOpacity + (b.overlayOpacity - a.overlayOpacity) * t,+ overlayOpacity:+ a.overlayOpacity + (b.overlayOpacity - a.overlayOpacity) * t,popupOpacity: a.popupOpacity + (b.popupOpacity - a.popupOpacity) * t,popupScale: a.popupScale + (b.popupScale - a.popupScale) * t,popupTranslateY:diff --git a/registry/remocn-ui/blur-in/__tests__/blur-in.test.ts b/registry/remocn-ui/blur-in/__tests__/blur-in.test.tsindex f31c33ec..f74dbbdc 100644--- a/registry/remocn-ui/blur-in/__tests__/blur-in.test.ts+++ b/registry/remocn-ui/blur-in/__tests__/blur-in.test.ts@@ -1,5 +1,5 @@-import { describe, expect, it } from "bun:test";+import { blurInConfig } from "../config";import {type BlurInDirection,type BlurInState,@@ -7,7 +7,6 @@ import {blurInStyleContext,} from "../index";import { tweenBlurInStyle } from "../use-blur-in-transition";-import { blurInConfig } from "../config";const VALID_STATES: readonly BlurInState[] = ["hidden", "revealed"];diff --git a/registry/remocn-ui/blur-in/index.tsx b/registry/remocn-ui/blur-in/index.tsxindex 6f79f71f..f1e2b2e3 100644--- a/registry/remocn-ui/blur-in/index.tsx+++ b/registry/remocn-ui/blur-in/index.tsx@@ -65,7 +65,8 @@ export function BlurIn({display = "inline-block",className,}: BlurInProps) {- const v = style ?? blurInStyle(state, blurInStyleContext(blur, direction, distance));+ const v =+ style ?? blurInStyle(state, blurInStyleContext(blur, direction, distance));return (<divclassName={className}diff --git a/registry/remocn-ui/blur-in/use-blur-in-transition.ts b/registry/remocn-ui/blur-in/use-blur-in-transition.tsindex 3fbb36db..ad909fb4 100644--- a/registry/remocn-ui/blur-in/use-blur-in-transition.ts+++ b/registry/remocn-ui/blur-in/use-blur-in-transition.ts@@ -1,17 +1,13 @@"use client";import {- easings,- type Step,- useStateTransition,-} from "@/lib/remocn-ui";-import {- blurInStyle,- blurInStyleContext,type BlurInDirection,type BlurInState,type BlurInStyle,+ blurInStyle,+ blurInStyleContext,} from "@/components/remocn/blur-in";+import { easings, type Step, useStateTransition } from "@/lib/remocn-ui";export const DEFAULT_DURATION = 18;diff --git a/registry/remocn-ui/button/__tests__/button.test.ts b/registry/remocn-ui/button/__tests__/button.test.tsindex b7594dd1..781fb2ea 100644--- a/registry/remocn-ui/button/__tests__/button.test.ts+++ b/registry/remocn-ui/button/__tests__/button.test.ts@@ -1,9 +1,8 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme } from "@/lib/remocn-ui";+import { buttonConfig } from "../config";import { type ButtonState, buttonStyle, buttonStyleContext } from "../index";import { tweenButtonStyle } from "../use-button-transition";-import { buttonConfig } from "../config";-import { defaultLightTheme } from "@/lib/remocn-ui";const VALID_STATES: readonly ButtonState[] = ["idle",@@ -27,7 +26,8 @@ const snippet = (values: SnippetValues): string =>describe("ButtonState union", () => {it("contains exactly the five documented states", () => {const control = buttonConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["idle","hover",@@ -39,7 +39,8 @@ describe("ButtonState union", () => {it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = buttonConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(5);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -54,7 +55,8 @@ describe("buttonConfig.controls.state", () => {it("has exactly the five ButtonState options in order", () => {const control = buttonConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["idle","hover",@@ -71,7 +73,8 @@ describe("buttonConfig.controls.state", () => {it("every option is a member of the ButtonState union", () => {const control = buttonConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as ButtonState);}@@ -79,29 +82,30 @@ describe("buttonConfig.controls.state", () => {});describe("buttonConfig.snippet: state prop emission", () => {- it("emits state=\"idle\" for the idle option", () => {+ it('emits state="idle" for the idle option', () => {expect(snippet({ state: "idle" })).toContain('state="idle"');});- it("emits state=\"hover\" for the hover option", () => {+ it('emits state="hover" for the hover option', () => {expect(snippet({ state: "hover" })).toContain('state="hover"');});- it("emits state=\"press\" for the press option", () => {+ it('emits state="press" for the press option', () => {expect(snippet({ state: "press" })).toContain('state="press"');});- it("emits state=\"loading\" for the loading option", () => {+ it('emits state="loading" for the loading option', () => {expect(snippet({ state: "loading" })).toContain('state="loading"');});- it("emits state=\"success\" for the success option", () => {+ it('emits state="success" for the success option', () => {expect(snippet({ state: "success" })).toContain('state="success"');});it("emits the correct state for every control option", () => {const control = buttonConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -126,7 +130,7 @@ describe("buttonConfig.snippet: NEVER emits steps or action", () => {describe("buttonConfig.snippet: import line", () => {it("includes `import { Button }` from the correct path", () => {const out = snippet({ state: "loading" });- expect(out).toContain('import { Button }');+ expect(out).toContain("import { Button }");expect(out).toContain('from "@/components/remocn/button"');});});@@ -159,11 +163,15 @@ describe("buttonConfig.snippet: default props are omitted", () => {describe("buttonConfig.snippet: non-default props are emitted", () => {it("emits a non-default label", () => {- expect(snippet({ state: "success", label: "Submit" })).toContain('label="Submit"');+ expect(snippet({ state: "success", label: "Submit" })).toContain(+ 'label="Submit"',+ );});it("emits a non-default variant", () => {- expect(snippet({ state: "success", variant: "destructive" })).toContain('variant="destructive"');+ expect(snippet({ state: "success", variant: "destructive" })).toContain(+ 'variant="destructive"',+ );});it("emits a non-default size", () => {@@ -171,7 +179,9 @@ describe("buttonConfig.snippet: non-default props are emitted", () => {});it("emits a non-default primary color", () => {- expect(snippet({ state: "success", primary: "#6366f1" })).toContain('primary="#6366f1"');+ expect(snippet({ state: "success", primary: "#6366f1" })).toContain(+ 'primary="#6366f1"',+ );});});@@ -179,7 +189,7 @@ describe("buttonConfig.snippet: structural round-trip", () => {const out = snippet({ state: "loading" });it("starts with the import line", () => {- expect(out.startsWith('import { Button }')).toBe(true);+ expect(out.startsWith("import { Button }")).toBe(true);});it("contains a <Button JSX opening", () => {@@ -323,7 +333,13 @@ describe("buttonStyle: success state", () => {});describe("buttonStyle: opacity invariant — exactly one of label/spinner/check is visible per non-idle state", () => {- const states: ButtonState[] = ["idle", "hover", "press", "loading", "success"];+ const states: ButtonState[] = [+ "idle",+ "hover",+ "press",+ "loading",+ "success",+ ];it("sum of label+spinner+check opacities equals 1 for every state (exactly one is shown)", () => {for (const state of states) {diff --git a/registry/remocn-ui/button/use-button-transition.ts b/registry/remocn-ui/button/use-button-transition.tsindex 74365898..52a0b1d9 100644--- a/registry/remocn-ui/button/use-button-transition.ts+++ b/registry/remocn-ui/button/use-button-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type ButtonState,+ type ButtonStyle,+ buttonStyle,+ buttonStyleContext,+} from "@/components/remocn/button";import {easings,mixOklch,@@ -8,12 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- buttonStyle,- buttonStyleContext,- type ButtonState,- type ButtonStyle,-} from "@/components/remocn/button";export const DEFAULT_DURATION = 8;diff --git a/registry/remocn-ui/caret/__tests__/caret.test.ts b/registry/remocn-ui/caret/__tests__/caret.test.tsindex 0e89f776..bc49f86e 100644--- a/registry/remocn-ui/caret/__tests__/caret.test.ts+++ b/registry/remocn-ui/caret/__tests__/caret.test.ts@@ -13,7 +13,9 @@ describe("caretBlinkOpacity", () => {});it("starts visible at frame 0", () => {- expect(caretBlinkOpacity(0, { fps: FPS, blinkPerSecond: 1, speed: 1 })).toBe(1);+ expect(+ caretBlinkOpacity(0, { fps: FPS, blinkPerSecond: 1, speed: 1 }),+ ).toBe(1);});it("toggles after one half-period for blinkPerSecond=1", () => {@@ -50,7 +52,11 @@ describe("caretBlinkOpacity", () => {it("speed=2 at frame f matches speed=1 at frame 2f", () => {for (let f = 0; f <= 120; f++) {- const fast = caretBlinkOpacity(f, { fps: FPS, blinkPerSecond: 1, speed: 2 });+ const fast = caretBlinkOpacity(f, {+ fps: FPS,+ blinkPerSecond: 1,+ speed: 2,+ });const normal = caretBlinkOpacity(2 * f, {fps: FPS,blinkPerSecond: 1,@@ -61,6 +67,8 @@ describe("caretBlinkOpacity", () => {});it("stays visible when blinkPerSecond is 0 or negative", () => {- expect(caretBlinkOpacity(13, { fps: FPS, blinkPerSecond: 0, speed: 1 })).toBe(1);+ expect(+ caretBlinkOpacity(13, { fps: FPS, blinkPerSecond: 0, speed: 1 }),+ ).toBe(1);});});diff --git a/registry/remocn-ui/caret/config.ts b/registry/remocn-ui/caret/config.tsindex 1c31dab6..095e6729 100644--- a/registry/remocn-ui/caret/config.ts+++ b/registry/remocn-ui/caret/config.ts@@ -4,9 +4,30 @@ export const caretConfig: ComponentConfig = {componentName: "Caret",importPath: "@/components/remocn/caret",controls: {- height: { type: "number", default: 28, min: 8, max: 80, step: 2, label: "Height" },- width: { type: "number", default: 3, min: 1, max: 8, step: 1, label: "Width" },- radius: { type: "number", default: 1, min: 0, max: 8, step: 1, label: "Radius" },+ height: {+ type: "number",+ default: 28,+ min: 8,+ max: 80,+ step: 2,+ label: "Height",+ },+ width: {+ type: "number",+ default: 3,+ min: 1,+ max: 8,+ step: 1,+ label: "Width",+ },+ radius: {+ type: "number",+ default: 1,+ min: 0,+ max: 8,+ step: 1,+ label: "Radius",+ },blink: { type: "boolean", default: true, label: "Blink" },blinkPerSecond: {type: "number",diff --git a/registry/remocn-ui/chat-flow/__tests__/chat-flow.test.ts b/registry/remocn-ui/chat-flow/__tests__/chat-flow.test.tsindex e06d8ee8..dffffe5d 100644--- a/registry/remocn-ui/chat-flow/__tests__/chat-flow.test.ts+++ b/registry/remocn-ui/chat-flow/__tests__/chat-flow.test.ts@@ -1,10 +1,9 @@-import { describe, expect, it } from "bun:test";import {- chatFlowSchedule,+ type ChatMessage,chatFlowDuration,+ chatFlowSchedule,sendPulse,- type ChatMessage,} from "../index";const MESSAGES: ChatMessage[] = [@@ -131,7 +130,9 @@ describe("chatFlowDuration", () => {});it("chatFlowDuration(messages) equals chatFlowSchedule(messages).duration", () => {- expect(chatFlowDuration(MESSAGES)).toBe(chatFlowSchedule(MESSAGES).duration);+ expect(chatFlowDuration(MESSAGES)).toBe(+ chatFlowSchedule(MESSAGES).duration,+ );});it("chatFlowDuration(messages, 2) equals Math.ceil(schedule.duration / 2)", () => {diff --git a/registry/remocn-ui/chat-flow/index.tsx b/registry/remocn-ui/chat-flow/index.tsxindex a973dd74..e6a75e4c 100644--- a/registry/remocn-ui/chat-flow/index.tsx+++ b/registry/remocn-ui/chat-flow/index.tsx@@ -1,20 +1,20 @@"use client";import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";-import {- type RemocnTheme,- mixOklch,- revealedText,- useRemocnTheme,-} from "@/lib/remocn-ui";import { Caret } from "@/components/remocn/caret";import {MessageBubble,type MessageBubbleReactionStyle,type MessageBubbleStyle,} from "@/components/remocn/message-bubble";-import { useMessageBubbleTransition } from "@/components/remocn/use-message-bubble-transition";import { TypingIndicator } from "@/components/remocn/typing-indicator";+import { useMessageBubbleTransition } from "@/components/remocn/use-message-bubble-transition";+import {+ mixOklch,+ type RemocnTheme,+ revealedText,+ useRemocnTheme,+} from "@/lib/remocn-ui";export interface ChatMessage {from: "me" | "them";@@ -211,6 +211,7 @@ function Avatar({}}>{contact.avatar !== undefined ? (+ // biome-ignore lint/performance/noImgElement: Remotion output, not a Next.js app — next/image isn't available where this component ships<imgsrc={contact.avatar}alt={contact.name}diff --git a/registry/remocn-ui/checkbox/__tests__/checkbox.test.ts b/registry/remocn-ui/checkbox/__tests__/checkbox.test.tsindex 88b119b2..4d13cc8c 100644--- a/registry/remocn-ui/checkbox/__tests__/checkbox.test.ts+++ b/registry/remocn-ui/checkbox/__tests__/checkbox.test.ts@@ -1,13 +1,12 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme } from "@/lib/remocn-ui";+import { checkboxConfig } from "../config";import {type CheckboxState,checkboxStyle,checkboxStyleContext,} from "../index";import { tweenCheckboxStyle } from "../use-checkbox-transition";-import { checkboxConfig } from "../config";-import { defaultLightTheme } from "@/lib/remocn-ui";const VALID_STATES: readonly CheckboxState[] = ["unchecked", "checked"];@@ -24,13 +23,15 @@ const snippet = (values: SnippetValues): string =>describe("CheckboxState union", () => {it("contains exactly the two documented states", () => {const control = checkboxConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["unchecked", "checked"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = checkboxConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -45,7 +46,8 @@ describe("checkboxConfig.controls.state", () => {it("has exactly the two CheckboxState options in order", () => {const control = checkboxConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["unchecked", "checked"]);});@@ -56,7 +58,8 @@ describe("checkboxConfig.controls.state", () => {it("every option is a member of the CheckboxState union", () => {const control = checkboxConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as CheckboxState);}@@ -64,17 +67,18 @@ describe("checkboxConfig.controls.state", () => {});describe("checkboxConfig.snippet: state prop emission", () => {- it("emits state=\"unchecked\" for the unchecked option", () => {+ it('emits state="unchecked" for the unchecked option', () => {expect(snippet({ state: "unchecked" })).toContain('state="unchecked"');});- it("emits state=\"checked\" for the checked option", () => {+ it('emits state="checked" for the checked option', () => {expect(snippet({ state: "checked" })).toContain('state="checked"');});it("emits the correct state for every control option", () => {const control = checkboxConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -99,7 +103,7 @@ describe("checkboxConfig.snippet: NEVER emits steps or action", () => {describe("checkboxConfig.snippet: import line", () => {it("includes `import { Checkbox }` from the correct path", () => {const out = snippet({ state: "checked" });- expect(out).toContain('import { Checkbox }');+ expect(out).toContain("import { Checkbox }");expect(out).toContain('from "@/components/remocn/checkbox"');});});@@ -127,7 +131,9 @@ describe("checkboxConfig.snippet: default props are omitted", () => {describe("checkboxConfig.snippet: non-default props are emitted", () => {it("emits a non-default label", () => {- expect(snippet({ state: "checked", label: "Accept terms" })).toContain('label="Accept terms"');+ expect(snippet({ state: "checked", label: "Accept terms" })).toContain(+ 'label="Accept terms"',+ );});it("emits a non-default size", () => {@@ -135,7 +141,9 @@ describe("checkboxConfig.snippet: non-default props are emitted", () => {});it("emits a non-default primary color", () => {- expect(snippet({ state: "checked", primary: "#6366f1" })).toContain('primary="#6366f1"');+ expect(snippet({ state: "checked", primary: "#6366f1" })).toContain(+ 'primary="#6366f1"',+ );});});@@ -143,7 +151,7 @@ describe("checkboxConfig.snippet: structural round-trip", () => {const out = snippet({ state: "checked" });it("starts with the import line", () => {- expect(out.startsWith('import { Checkbox }')).toBe(true);+ expect(out.startsWith("import { Checkbox }")).toBe(true);});it("contains a <Checkbox JSX opening", () => {diff --git a/registry/remocn-ui/checkbox/config.ts b/registry/remocn-ui/checkbox/config.tsindex 62c9809c..9b31ae4c 100644--- a/registry/remocn-ui/checkbox/config.ts+++ b/registry/remocn-ui/checkbox/config.ts@@ -32,8 +32,7 @@ export const checkboxConfig: ComponentConfig = {const primary = values.primary as string | undefined;const props: string[] = [` state="${state}"`];- if (label !== undefined && label !== "")- props.push(` label="${label}"`);+ if (label !== undefined && label !== "") props.push(` label="${label}"`);if (size !== undefined && size !== "default")props.push(` size="${size}"`);if (primary !== undefined && primary !== "#171717")diff --git a/registry/remocn-ui/checkbox/use-checkbox-transition.ts b/registry/remocn-ui/checkbox/use-checkbox-transition.tsindex 7be7dda5..adc57aaf 100644--- a/registry/remocn-ui/checkbox/use-checkbox-transition.ts+++ b/registry/remocn-ui/checkbox/use-checkbox-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type CheckboxState,+ type CheckboxStyle,+ checkboxStyle,+ checkboxStyleContext,+} from "@/components/remocn/checkbox";import {easings,mixOklch,@@ -8,12 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- checkboxStyle,- checkboxStyleContext,- type CheckboxState,- type CheckboxStyle,-} from "@/components/remocn/checkbox";export const DEFAULT_DURATION = 10;@@ -62,5 +62,9 @@ export function useCheckboxTransition(defaultDuration,);const t = easings.out(progress);- return tweenCheckboxStyle(checkboxStyle(from, ctx), checkboxStyle(to, ctx), t);+ return tweenCheckboxStyle(+ checkboxStyle(from, ctx),+ checkboxStyle(to, ctx),+ t,+ );}diff --git a/registry/remocn-ui/checkout-flow/index.tsx b/registry/remocn-ui/checkout-flow/index.tsxindex 529771ee..3cf9553c 100644--- a/registry/remocn-ui/checkout-flow/index.tsx+++ b/registry/remocn-ui/checkout-flow/index.tsx@@ -1,29 +1,29 @@"use client";-import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";-import { Cursor } from "@/components/remocn/cursor";-import { useCursorPath } from "@/components/remocn/use-cursor-path";-import { Input } from "@/components/remocn/input";-import { useInputTransition } from "@/components/remocn/use-input-transition";+import { BlurIn } from "@/components/remocn/blur-in";import { Button } from "@/components/remocn/button";-import { useButtonTransition } from "@/components/remocn/use-button-transition";import { Checkbox } from "@/components/remocn/checkbox";-import { useCheckboxTransition } from "@/components/remocn/use-checkbox-transition";-import {- ToggleGroup,- type ToggleGroupItem,-} from "@/components/remocn/toggle-group";-import { useToggleGroupTransition } from "@/components/remocn/use-toggle-group-transition";-import { Toast } from "@/components/remocn/toast";-import { useToastTransition } from "@/components/remocn/use-toast-transition";-import { BlurIn } from "@/components/remocn/blur-in";-import { useBlurInTransition } from "@/components/remocn/use-blur-in-transition";+import { Cursor } from "@/components/remocn/cursor";import {Field,FieldControl,FieldGroup,FieldLabel,} from "@/components/remocn/field";+import { Input } from "@/components/remocn/input";+import { Toast } from "@/components/remocn/toast";+import {+ ToggleGroup,+ type ToggleGroupItem,+} from "@/components/remocn/toggle-group";+import { useBlurInTransition } from "@/components/remocn/use-blur-in-transition";+import { useButtonTransition } from "@/components/remocn/use-button-transition";+import { useCheckboxTransition } from "@/components/remocn/use-checkbox-transition";+import { useCursorPath } from "@/components/remocn/use-cursor-path";+import { useInputTransition } from "@/components/remocn/use-input-transition";+import { useToastTransition } from "@/components/remocn/use-toast-transition";+import { useToggleGroupTransition } from "@/components/remocn/use-toggle-group-transition";+import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";const DEFAULT_PLANS: ToggleGroupItem[] = [{ value: "monthly", label: "Monthly" },@@ -210,9 +210,7 @@ export function CheckoutFlow({<FieldGroup gap={24}><BlurIn display="block" style={enterCard}><Field>- <FieldLabel theme={theme}>- {cardLabel}- </FieldLabel>+ <FieldLabel theme={theme}>{cardLabel}</FieldLabel><FieldControl><Inputplaceholder={cardPlaceholder}diff --git a/registry/remocn-ui/combobox/__tests__/combobox.test.ts b/registry/remocn-ui/combobox/__tests__/combobox.test.tsindex b581cb28..3f16011b 100644--- a/registry/remocn-ui/combobox/__tests__/combobox.test.ts+++ b/registry/remocn-ui/combobox/__tests__/combobox.test.ts@@ -1,19 +1,18 @@-import { describe, expect, it } from "bun:test";+import type { Step } from "@/lib/remocn-ui";+import { defaultLightTheme, easings } from "@/lib/remocn-ui";+import { comboboxConfig } from "../config";import {- filterComboboxItems,- comboboxStyle,- comboboxStyleContext,type ComboboxState,type ComboboxStyle,+ comboboxStyle,+ comboboxStyleContext,+ filterComboboxItems,} from "../index";import {- tweenComboboxStyle,DEFAULT_DURATION,+ tweenComboboxStyle,} from "../use-combobox-transition";-import { comboboxConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme, easings } from "@/lib/remocn-ui";-import type { Step } from "@/lib/remocn-ui";const VALID_STATES: readonly ComboboxState[] = ["opened", "closed"];@@ -93,18 +92,26 @@ describe("filterComboboxItems: no-match → empty array", () => {});it("returns empty array for a long non-matching query", () => {- expect(filterComboboxItems(SAMPLE_ITEMS, "zzzzzzzz", undefined)).toHaveLength(0);+ expect(+ filterComboboxItems(SAMPLE_ITEMS, "zzzzzzzz", undefined),+ ).toHaveLength(0);});});describe("filterComboboxItems: case-insensitivity", () => {it("uppercase query matches lowercase item chars", () => {- expect(filterComboboxItems(SAMPLE_ITEMS, "APPLE", undefined)).toHaveLength(1);- expect(filterComboboxItems(SAMPLE_ITEMS, "APPLE", undefined)[0]).toBe("Apple");+ expect(filterComboboxItems(SAMPLE_ITEMS, "APPLE", undefined)).toHaveLength(+ 1,+ );+ expect(filterComboboxItems(SAMPLE_ITEMS, "APPLE", undefined)[0]).toBe(+ "Apple",+ );});it("mixed case query matches item", () => {- expect(filterComboboxItems(SAMPLE_ITEMS, "gRaPe", undefined)).toHaveLength(1);+ expect(filterComboboxItems(SAMPLE_ITEMS, "gRaPe", undefined)).toHaveLength(+ 1,+ );});it("lowercase query matches mixed-case item ('orange')", () => {@@ -330,11 +337,15 @@ function resolveStateTransition<S extends string>(}function resolveComboboxTransition(- raw: number, // injected useCurrentFrame() — MIRROR line 59+ raw: number, // injected useCurrentFrame() — MIRROR line 59steps: Step<ComboboxState>[],speed = 1,defaultDuration = DEFAULT_DURATION,-): ComboboxStyle & { from: ComboboxState; to: ComboboxState; progress: number } {+): ComboboxStyle & {+ from: ComboboxState;+ to: ComboboxState;+ progress: number;+} {const { from, to, progress } = resolveStateTransition(raw,steps,@@ -348,7 +359,12 @@ function resolveComboboxTransition(comboboxStyle(to as ComboboxState, ctx),t,);- return { ...style, from: from as ComboboxState, to: to as ComboboxState, progress };+ return {+ ...style,+ from: from as ComboboxState,+ to: to as ComboboxState,+ progress,+ };}describe("resolveComboboxTransition: before any step — holds at closed", () => {@@ -404,7 +420,7 @@ describe("resolveComboboxTransition: mid-window uses easings.out (not linear)",it("panelTranslateY at raw=6 is -4*(1-out(0.5)) = -0.5", () => {const r = resolveComboboxTransition(6, steps, 1, 12);const t = easings.out(0.5);- const expected = -4 + (0 - (-4)) * t;+ const expected = -4 + (0 - -4) * t;expect(r.panelTranslateY).toBeCloseTo(expected, 8);});@@ -418,15 +434,21 @@ describe("resolveComboboxTransition: past the window → fully opened", () => {const steps: Step<ComboboxState>[] = [{ at: 0, state: "opened" }];it("panelOpacity is 1 after DEFAULT_DURATION frames", () => {- expect(resolveComboboxTransition(DEFAULT_DURATION, steps).panelOpacity).toBeCloseTo(1, 10);+ expect(+ resolveComboboxTransition(DEFAULT_DURATION, steps).panelOpacity,+ ).toBeCloseTo(1, 10);});it("panelScale is 1 after DEFAULT_DURATION frames", () => {- expect(resolveComboboxTransition(DEFAULT_DURATION, steps).panelScale).toBeCloseTo(1, 10);+ expect(+ resolveComboboxTransition(DEFAULT_DURATION, steps).panelScale,+ ).toBeCloseTo(1, 10);});it("panelTranslateY is 0 after DEFAULT_DURATION frames", () => {- expect(resolveComboboxTransition(DEFAULT_DURATION, steps).panelTranslateY).toBeCloseTo(0, 10);+ expect(+ resolveComboboxTransition(DEFAULT_DURATION, steps).panelTranslateY,+ ).toBeCloseTo(0, 10);});});@@ -534,46 +556,60 @@ describe("comboboxConfig.snippet: default props are omitted", () => {});it("omits revealCount when it equals 0 (default)", () => {- expect(snippet({ state: "opened", revealCount: 0 })).not.toContain("revealCount=");+ expect(snippet({ state: "opened", revealCount: 0 })).not.toContain(+ "revealCount=",+ );});it("omits placeholder when it equals the default value", () => {expect(- snippet({ state: "opened", placeholder: "Select a fruit…" })+ snippet({ state: "opened", placeholder: "Select a fruit…" }),).not.toContain("placeholder=");});it("omits selectedIndex when it equals -1 (default)", () => {- expect(snippet({ state: "opened", selectedIndex: -1 })).not.toContain("selectedIndex=");+ expect(snippet({ state: "opened", selectedIndex: -1 })).not.toContain(+ "selectedIndex=",+ );});it("omits highlightedIndex when it equals -1 (no highlight)", () => {- expect(snippet({ state: "opened", highlightedIndex: -1 })).not.toContain("highlightedIndex=");+ expect(snippet({ state: "opened", highlightedIndex: -1 })).not.toContain(+ "highlightedIndex=",+ );});-});describe("comboboxConfig.snippet: non-default props are emitted", () => {it("emits query when non-empty", () => {- expect(snippet({ state: "opened", query: "apple" })).toContain('query="apple"');+ expect(snippet({ state: "opened", query: "apple" })).toContain(+ 'query="apple"',+ );});it("emits revealCount when non-zero", () => {- expect(snippet({ state: "opened", revealCount: 3 })).toContain("revealCount={3}");+ expect(snippet({ state: "opened", revealCount: 3 })).toContain(+ "revealCount={3}",+ );});it("emits placeholder when non-default", () => {- expect(snippet({ state: "opened", placeholder: "Search…" })).toContain('placeholder="Search…"');+ expect(snippet({ state: "opened", placeholder: "Search…" })).toContain(+ 'placeholder="Search…"',+ );});it("emits selectedIndex when not -1", () => {- expect(snippet({ state: "opened", selectedIndex: 1 })).toContain("selectedIndex={1}");+ expect(snippet({ state: "opened", selectedIndex: 1 })).toContain(+ "selectedIndex={1}",+ );});it("emits highlightedIndex when not -1 (e.g. 0 means first row)", () => {- expect(snippet({ state: "opened", highlightedIndex: 0 })).toContain("highlightedIndex={0}");+ expect(snippet({ state: "opened", highlightedIndex: 0 })).toContain(+ "highlightedIndex={0}",+ );});-});describe("comboboxConfig.snippet: state options round-trip", () => {diff --git a/registry/remocn-ui/combobox/index.tsx b/registry/remocn-ui/combobox/index.tsxindex f4ec654f..46d25cd2 100644--- a/registry/remocn-ui/combobox/index.tsx+++ b/registry/remocn-ui/combobox/index.tsx@@ -1,20 +1,24 @@"use client";-import { type RemocnTheme, revealedText, useRemocnTheme } from "@/lib/remocn-ui";import {- inputStyle,- inputStyleContext,type InputStyle,type InputStyleContext,+ inputStyle,+ inputStyleContext,} from "@/components/remocn/input";import {SelectItemRow,- selectItemStyle,- selectItemStyleContext,type SelectItemState,type SelectItemStyle,type SelectItemStyleContext,+ selectItemStyle,+ selectItemStyleContext,} from "@/components/remocn/select-item";+import {+ type RemocnTheme,+ revealedText,+ useRemocnTheme,+} from "@/lib/remocn-ui";export type ComboboxState = "opened" | "closed";@@ -241,7 +245,12 @@ export function Combobox({style={override ??selectItemStyle(- rowState(i, selectedIndex, highlightedIndex, pressedIndex),+ rowState(+ i,+ selectedIndex,+ highlightedIndex,+ pressedIndex,+ ),ctx.itemCtx,)}diff --git a/registry/remocn-ui/combobox/use-combobox-transition.ts b/registry/remocn-ui/combobox/use-combobox-transition.tsindex 34f2b9f7..d15262e2 100644--- a/registry/remocn-ui/combobox/use-combobox-transition.ts+++ b/registry/remocn-ui/combobox/use-combobox-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type ComboboxState,+ type ComboboxStyle,+ comboboxStyle,+ comboboxStyleContext,+} from "@/components/remocn/combobox";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- comboboxStyle,- comboboxStyleContext,- type ComboboxState,- type ComboboxStyle,-} from "@/components/remocn/combobox";export const DEFAULT_DURATION = 12;diff --git a/registry/remocn-ui/command-menu-item/__tests__/command-menu-item.test.ts b/registry/remocn-ui/command-menu-item/__tests__/command-menu-item.test.tsindex 311ba8f1..c5776658 100644--- a/registry/remocn-ui/command-menu-item/__tests__/command-menu-item.test.ts+++ b/registry/remocn-ui/command-menu-item/__tests__/command-menu-item.test.ts@@ -1,16 +1,15 @@-import { describe, expect, it } from "bun:test";+import { defaultDarkTheme, defaultLightTheme } from "@/lib/remocn-ui";+import { commandMenuItemConfig } from "../config";import {+ type CommandMenuItemState,commandMenuItemStyle,commandMenuItemStyleContext,- type CommandMenuItemState,} from "../index";import {- tweenCommandMenuItemStyle,DEFAULT_DURATION,+ tweenCommandMenuItemStyle,} from "../use-command-menu-item-transition";-import { commandMenuItemConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme } from "@/lib/remocn-ui";const VALID_STATES: readonly CommandMenuItemState[] = ["idle",@@ -91,7 +90,7 @@ describe("commandMenuItemStyleContext: pressBg is a derived (non-empty) color stdescribe("commandMenuItemStyleContext: all fields are non-empty strings", () => {it("every field is a non-empty string", () => {- for (const [key, value] of Object.entries(ctx)) {+ for (const [_key, value] of Object.entries(ctx)) {expect(typeof value).toBe("string");expect((value as string).length).toBeGreaterThan(0);}@@ -317,8 +316,12 @@ describe("tweenCommandMenuItemStyle: identity (a === b, any t)", () => {});it("background is a non-empty string for identity case", () => {- expect(typeof tweenCommandMenuItemStyle(s, s, 0.5).background).toBe("string");- expect(tweenCommandMenuItemStyle(s, s, 0.5).background.length).toBeGreaterThan(0);+ expect(typeof tweenCommandMenuItemStyle(s, s, 0.5).background).toBe(+ "string",+ );+ expect(+ tweenCommandMenuItemStyle(s, s, 0.5).background.length,+ ).toBeGreaterThan(0);});});@@ -424,37 +427,53 @@ describe("commandMenuItemConfig.snippet: structural invariants", () => {describe("commandMenuItemConfig.snippet: default props are omitted", () => {it("omits label when it equals the default 'Settings'", () => {- expect(snippet({ state: "selected", label: "Settings" })).not.toContain("label=");+ expect(snippet({ state: "selected", label: "Settings" })).not.toContain(+ "label=",+ );});it("omits icon when it equals the default 'settings'", () => {- expect(snippet({ state: "selected", icon: "settings" })).not.toContain("icon=");+ expect(snippet({ state: "selected", icon: "settings" })).not.toContain(+ "icon=",+ );});it("omits shortcut when it is an empty string", () => {- expect(snippet({ state: "selected", shortcut: "" })).not.toContain("shortcut=");+ expect(snippet({ state: "selected", shortcut: "" })).not.toContain(+ "shortcut=",+ );});});describe("commandMenuItemConfig.snippet: non-default props are emitted", () => {it("emits a non-default label", () => {- expect(snippet({ state: "selected", label: "Profile" })).toContain('label="Profile"');+ expect(snippet({ state: "selected", label: "Profile" })).toContain(+ 'label="Profile"',+ );});it("emits icon='search' when non-default", () => {- expect(snippet({ state: "selected", icon: "search" })).toContain('icon="search"');+ expect(snippet({ state: "selected", icon: "search" })).toContain(+ 'icon="search"',+ );});it("emits icon='user' when non-default", () => {- expect(snippet({ state: "selected", icon: "user" })).toContain('icon="user"');+ expect(snippet({ state: "selected", icon: "user" })).toContain(+ 'icon="user"',+ );});it("emits icon='file' when non-default", () => {- expect(snippet({ state: "selected", icon: "file" })).toContain('icon="file"');+ expect(snippet({ state: "selected", icon: "file" })).toContain(+ 'icon="file"',+ );});it("emits shortcut when non-empty", () => {- expect(snippet({ state: "selected", shortcut: "⌘ S" })).toContain('shortcut="⌘ S"');+ expect(snippet({ state: "selected", shortcut: "⌘ S" })).toContain(+ 'shortcut="⌘ S"',+ );});});diff --git a/registry/remocn-ui/command-menu-item/use-command-menu-item-transition.ts b/registry/remocn-ui/command-menu-item/use-command-menu-item-transition.tsindex 5fa8e35e..f532d334 100644--- a/registry/remocn-ui/command-menu-item/use-command-menu-item-transition.ts+++ b/registry/remocn-ui/command-menu-item/use-command-menu-item-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type CommandMenuItemState,+ type CommandMenuItemStyle,+ commandMenuItemStyle,+ commandMenuItemStyleContext,+} from "@/components/remocn/command-menu-item";import {easings,mixOklch,@@ -8,12 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- commandMenuItemStyle,- commandMenuItemStyleContext,- type CommandMenuItemState,- type CommandMenuItemStyle,-} from "@/components/remocn/command-menu-item";export const DEFAULT_DURATION = 8;diff --git a/registry/remocn-ui/command-menu/__tests__/command-menu.test.ts b/registry/remocn-ui/command-menu/__tests__/command-menu.test.tsindex 42e874b7..50487065 100644--- a/registry/remocn-ui/command-menu/__tests__/command-menu.test.ts+++ b/registry/remocn-ui/command-menu/__tests__/command-menu.test.ts@@ -1,27 +1,26 @@-import { describe, expect, it } from "bun:test";+import type { Step } from "@/lib/remocn-ui";+import { defaultDarkTheme, defaultLightTheme, easings } from "@/lib/remocn-ui";+import { commandMenuConfig } from "../config";import {- filterCommandItems,+ type CommandMenuEntry,+ type CommandMenuState,commandMenuStyle,commandMenuStyleContext,- type CommandMenuState,- type CommandMenuEntry,+ filterCommandItems,} from "../index";import {- tweenCommandMenuStyle,DEFAULT_DURATION,+ tweenCommandMenuStyle,} from "../use-command-menu-transition";-import { commandMenuConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme, easings } from "@/lib/remocn-ui";-import type { Step } from "@/lib/remocn-ui";const VALID_STATES: readonly CommandMenuState[] = ["opened", "closed"];const SAMPLE_ITEMS: CommandMenuEntry[] = [- { icon: "user", label: "Profile", shortcut: "⌘ P" },- { icon: "settings", label: "Settings", shortcut: "⌘ S" },- { icon: "file", label: "New File", shortcut: "⌘ N" },- { icon: "search", label: "Search docs" },+ { icon: "user", label: "Profile", shortcut: "⌘ P" },+ { icon: "settings", label: "Settings", shortcut: "⌘ S" },+ { icon: "file", label: "New File", shortcut: "⌘ N" },+ { icon: "search", label: "Search docs" },];const ctx = commandMenuStyleContext(defaultLightTheme);@@ -99,17 +98,23 @@ describe("filterCommandItems: no-match → empty array", () => {});it("returns empty array for a long non-matching query", () => {- expect(filterCommandItems(SAMPLE_ITEMS, "zzzzzzz", undefined)).toHaveLength(0);+ expect(filterCommandItems(SAMPLE_ITEMS, "zzzzzzz", undefined)).toHaveLength(+ 0,+ );});});describe("filterCommandItems: case-insensitivity", () => {it("uppercase query matches lowercase label", () => {- expect(filterCommandItems(SAMPLE_ITEMS, "PROFILE", undefined)).toHaveLength(1);+ expect(filterCommandItems(SAMPLE_ITEMS, "PROFILE", undefined)).toHaveLength(+ 1,+ );});it("mixed case query matches label", () => {- expect(filterCommandItems(SAMPLE_ITEMS, "SeTtInGs", undefined)).toHaveLength(1);+ expect(+ filterCommandItems(SAMPLE_ITEMS, "SeTtInGs", undefined),+ ).toHaveLength(1);});it("lowercase query matches mixed-case label ('new file')", () => {@@ -419,11 +424,15 @@ function resolveStateTransition<S extends string>(}function resolveCommandMenuTransition(- raw: number, // injected useCurrentFrame() — MIRROR line 61+ raw: number, // injected useCurrentFrame() — MIRROR line 61steps: Step<CommandMenuState>[],speed = 1,defaultDuration = DEFAULT_DURATION,-): ReturnType<typeof tweenCommandMenuStyle> & { from: CommandMenuState; to: CommandMenuState; progress: number } {+): ReturnType<typeof tweenCommandMenuStyle> & {+ from: CommandMenuState;+ to: CommandMenuState;+ progress: number;+} {const { from, to, progress } = resolveStateTransition(raw,steps,@@ -437,7 +446,12 @@ function resolveCommandMenuTransition(commandMenuStyle(to as CommandMenuState, ctx),t,);- return { ...style, from: from as CommandMenuState, to: to as CommandMenuState, progress };+ return {+ ...style,+ from: from as CommandMenuState,+ to: to as CommandMenuState,+ progress,+ };}describe("resolveCommandMenuTransition: before any step — holds at closed", () => {@@ -503,19 +517,27 @@ describe("resolveCommandMenuTransition: past the window → fully opened", () =>const steps: Step<CommandMenuState>[] = [{ at: 0, state: "opened" }];it("backdropOpacity is 1 after DEFAULT_DURATION frames", () => {- expect(resolveCommandMenuTransition(DEFAULT_DURATION, steps).backdropOpacity).toBeCloseTo(1, 10);+ expect(+ resolveCommandMenuTransition(DEFAULT_DURATION, steps).backdropOpacity,+ ).toBeCloseTo(1, 10);});it("panelOpacity is 1 after DEFAULT_DURATION frames", () => {- expect(resolveCommandMenuTransition(DEFAULT_DURATION, steps).panelOpacity).toBeCloseTo(1, 10);+ expect(+ resolveCommandMenuTransition(DEFAULT_DURATION, steps).panelOpacity,+ ).toBeCloseTo(1, 10);});it("panelScale is 1 after DEFAULT_DURATION frames", () => {- expect(resolveCommandMenuTransition(DEFAULT_DURATION, steps).panelScale).toBeCloseTo(1, 10);+ expect(+ resolveCommandMenuTransition(DEFAULT_DURATION, steps).panelScale,+ ).toBeCloseTo(1, 10);});it("panelTranslateY is 0 after DEFAULT_DURATION frames", () => {- expect(resolveCommandMenuTransition(DEFAULT_DURATION, steps).panelTranslateY).toBeCloseTo(0, 10);+ expect(+ resolveCommandMenuTransition(DEFAULT_DURATION, steps).panelTranslateY,+ ).toBeCloseTo(0, 10);});});@@ -623,36 +645,48 @@ describe("commandMenuConfig.snippet: default props are omitted", () => {});it("omits revealCount when it equals 0 (default)", () => {- expect(snippet({ state: "opened", revealCount: 0 })).not.toContain("revealCount=");+ expect(snippet({ state: "opened", revealCount: 0 })).not.toContain(+ "revealCount=",+ );});it("omits selectedIndex when it equals -1 (default)", () => {- expect(snippet({ state: "opened", selectedIndex: -1 })).not.toContain("selectedIndex=");+ expect(snippet({ state: "opened", selectedIndex: -1 })).not.toContain(+ "selectedIndex=",+ );});it("omits highlightedIndex when it equals -1 (no highlight)", () => {- expect(snippet({ state: "opened", highlightedIndex: -1 })).not.toContain("highlightedIndex=");+ expect(snippet({ state: "opened", highlightedIndex: -1 })).not.toContain(+ "highlightedIndex=",+ );});-});describe("commandMenuConfig.snippet: non-default props are emitted", () => {it("emits query when non-empty", () => {- expect(snippet({ state: "opened", query: "settings" })).toContain('query="settings"');+ expect(snippet({ state: "opened", query: "settings" })).toContain(+ 'query="settings"',+ );});it("emits revealCount when non-zero", () => {- expect(snippet({ state: "opened", revealCount: 3 })).toContain("revealCount={3}");+ expect(snippet({ state: "opened", revealCount: 3 })).toContain(+ "revealCount={3}",+ );});it("emits selectedIndex when not -1", () => {- expect(snippet({ state: "opened", selectedIndex: 1 })).toContain("selectedIndex={1}");+ expect(snippet({ state: "opened", selectedIndex: 1 })).toContain(+ "selectedIndex={1}",+ );});it("emits highlightedIndex when not -1", () => {- expect(snippet({ state: "opened", highlightedIndex: 0 })).toContain("highlightedIndex={0}");+ expect(snippet({ state: "opened", highlightedIndex: 0 })).toContain(+ "highlightedIndex={0}",+ );});-});describe("commandMenuConfig.snippet: state options round-trip", () => {diff --git a/registry/remocn-ui/command-menu/index.tsx b/registry/remocn-ui/command-menu/index.tsxindex eef28487..7bf5ae2e 100644--- a/registry/remocn-ui/command-menu/index.tsx+++ b/registry/remocn-ui/command-menu/index.tsx@@ -1,15 +1,19 @@"use client";-import { type RemocnTheme, revealedText, useRemocnTheme } from "@/lib/remocn-ui";import {- CommandMenuItemRow,- commandMenuItemStyle,- commandMenuItemStyleContext,type CommandMenuIcon,+ CommandMenuItemRow,type CommandMenuItemState,type CommandMenuItemStyle,type CommandMenuItemStyleContext,+ commandMenuItemStyle,+ commandMenuItemStyleContext,} from "@/components/remocn/command-menu-item";+import {+ type RemocnTheme,+ revealedText,+ useRemocnTheme,+} from "@/lib/remocn-ui";export type CommandMenuState = "opened" | "closed";diff --git a/registry/remocn-ui/command-menu/use-command-menu-transition.ts b/registry/remocn-ui/command-menu/use-command-menu-transition.tsindex fd4c331c..adad94a7 100644--- a/registry/remocn-ui/command-menu/use-command-menu-transition.ts+++ b/registry/remocn-ui/command-menu/use-command-menu-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type CommandMenuState,+ type CommandMenuStyle,+ commandMenuStyle,+ commandMenuStyleContext,+} from "@/components/remocn/command-menu";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- commandMenuStyle,- commandMenuStyleContext,- type CommandMenuState,- type CommandMenuStyle,-} from "@/components/remocn/command-menu";export const DEFAULT_DURATION = 12;diff --git a/registry/remocn-ui/context-menu/__tests__/context-menu.test.ts b/registry/remocn-ui/context-menu/__tests__/context-menu.test.tsindex 479862ee..71fde256 100644--- a/registry/remocn-ui/context-menu/__tests__/context-menu.test.ts+++ b/registry/remocn-ui/context-menu/__tests__/context-menu.test.ts@@ -1,18 +1,17 @@-import { describe, expect, it } from "bun:test";+import type { Step } from "@/lib/remocn-ui";+import { defaultDarkTheme, defaultLightTheme, easings } from "@/lib/remocn-ui";+import { contextMenuConfig } from "../config";import {- contextMenuStyle,- contextMenuStyleContext,type ContextMenuState,type ContextMenuStyle,+ contextMenuStyle,+ contextMenuStyleContext,} from "../index";import {- tweenContextMenuStyle,DEFAULT_DURATION,+ tweenContextMenuStyle,} from "../use-context-menu-transition";-import { contextMenuConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme, easings } from "@/lib/remocn-ui";-import type { Step } from "@/lib/remocn-ui";const VALID_STATES: readonly ContextMenuState[] = ["opened", "closed"];@@ -251,11 +250,15 @@ function resolveStateTransition<S extends string>(}function resolveContextMenuTransition(- raw: number, // injected useCurrentFrame() — MIRROR line 58+ raw: number, // injected useCurrentFrame() — MIRROR line 58steps: Step<ContextMenuState>[],speed = 1,defaultDuration = DEFAULT_DURATION,-): ContextMenuStyle & { from: ContextMenuState; to: ContextMenuState; progress: number } {+): ContextMenuStyle & {+ from: ContextMenuState;+ to: ContextMenuState;+ progress: number;+} {const { from, to, progress } = resolveStateTransition(raw,steps,@@ -269,7 +272,12 @@ function resolveContextMenuTransition(contextMenuStyle(to as ContextMenuState, ctx),t,);- return { ...style, from: from as ContextMenuState, to: to as ContextMenuState, progress };+ return {+ ...style,+ from: from as ContextMenuState,+ to: to as ContextMenuState,+ progress,+ };}describe("resolveContextMenuTransition: before any step — holds at closed", () => {@@ -326,7 +334,7 @@ describe("resolveContextMenuTransition: mid-window uses easings.out (not linear)it("translateY at raw=5 is -4*(1-out(0.5)) = -0.5", () => {const r = resolveContextMenuTransition(5, steps, 1, 10);const t = easings.out(0.5);- const expected = -4 + (0 - (-4)) * t;+ const expected = -4 + (0 - -4) * t;expect(r.translateY).toBeCloseTo(expected, 8);});@@ -340,15 +348,21 @@ describe("resolveContextMenuTransition: past the window → fully opened", () =>const steps: Step<ContextMenuState>[] = [{ at: 0, state: "opened" }];it("opacity is 1 after DEFAULT_DURATION frames", () => {- expect(resolveContextMenuTransition(DEFAULT_DURATION, steps).opacity).toBeCloseTo(1, 10);+ expect(+ resolveContextMenuTransition(DEFAULT_DURATION, steps).opacity,+ ).toBeCloseTo(1, 10);});it("scale is 1 after DEFAULT_DURATION frames", () => {- expect(resolveContextMenuTransition(DEFAULT_DURATION, steps).scale).toBeCloseTo(1, 10);+ expect(+ resolveContextMenuTransition(DEFAULT_DURATION, steps).scale,+ ).toBeCloseTo(1, 10);});it("translateY is 0 after DEFAULT_DURATION frames", () => {- expect(resolveContextMenuTransition(DEFAULT_DURATION, steps).translateY).toBeCloseTo(0, 10);+ expect(+ resolveContextMenuTransition(DEFAULT_DURATION, steps).translateY,+ ).toBeCloseTo(0, 10);});});@@ -437,17 +451,23 @@ describe("contextMenuConfig.snippet: structural invariants", () => {describe("contextMenuConfig.snippet: default props are omitted", () => {it("omits highlightedIndex when it equals -1 (no highlight)", () => {- expect(snippet({ state: "opened", highlightedIndex: -1 })).not.toContain("highlightedIndex=");+ expect(snippet({ state: "opened", highlightedIndex: -1 })).not.toContain(+ "highlightedIndex=",+ );});});describe("contextMenuConfig.snippet: non-default props are emitted", () => {it("emits highlightedIndex when not -1 (e.g. 1 = second row)", () => {- expect(snippet({ state: "opened", highlightedIndex: 1 })).toContain("highlightedIndex={1}");+ expect(snippet({ state: "opened", highlightedIndex: 1 })).toContain(+ "highlightedIndex={1}",+ );});it("emits highlightedIndex=0 when first row is highlighted", () => {- expect(snippet({ state: "opened", highlightedIndex: 0 })).toContain("highlightedIndex={0}");+ expect(snippet({ state: "opened", highlightedIndex: 0 })).toContain(+ "highlightedIndex={0}",+ );});});diff --git a/registry/remocn-ui/context-menu/index.tsx b/registry/remocn-ui/context-menu/index.tsxindex b8f777c8..1417dab6 100644--- a/registry/remocn-ui/context-menu/index.tsx+++ b/registry/remocn-ui/context-menu/index.tsx@@ -1,14 +1,14 @@"use client";-import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";import {DropdownMenuItemRow,- dropdownMenuItemStyle,- dropdownMenuItemStyleContext,type DropdownMenuItemState,type DropdownMenuItemStyle,type DropdownMenuItemStyleContext,+ dropdownMenuItemStyle,+ dropdownMenuItemStyleContext,} from "@/components/remocn/dropdown-menu-item";+import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";export type ContextMenuState = "opened" | "closed";diff --git a/registry/remocn-ui/context-menu/preview.tsx b/registry/remocn-ui/context-menu/preview.tsxindex 96e5ae3e..03c74dca 100644--- a/registry/remocn-ui/context-menu/preview.tsx+++ b/registry/remocn-ui/context-menu/preview.tsx@@ -1,6 +1,9 @@"use client";-import { ContextMenu, type ContextMenuState } from "@/registry/remocn-ui/context-menu";+import {+ ContextMenu,+ type ContextMenuState,+} from "@/registry/remocn-ui/context-menu";export interface ContextMenuPreviewProps {state?: ContextMenuState;diff --git a/registry/remocn-ui/context-menu/use-context-menu-transition.ts b/registry/remocn-ui/context-menu/use-context-menu-transition.tsindex 2bd40e28..3f88b9dc 100644--- a/registry/remocn-ui/context-menu/use-context-menu-transition.ts+++ b/registry/remocn-ui/context-menu/use-context-menu-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type ContextMenuState,+ type ContextMenuStyle,+ contextMenuStyle,+ contextMenuStyleContext,+} from "@/components/remocn/context-menu";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- contextMenuStyle,- contextMenuStyleContext,- type ContextMenuState,- type ContextMenuStyle,-} from "@/components/remocn/context-menu";export const DEFAULT_DURATION = 10;diff --git a/registry/remocn-ui/core/__tests__/color.test.ts b/registry/remocn-ui/core/__tests__/color.test.tsindex 5d0a054f..999397e7 100644--- a/registry/remocn-ui/core/__tests__/color.test.ts+++ b/registry/remocn-ui/core/__tests__/color.test.ts@@ -1,14 +1,12 @@-import { describe, expect, it } from "bun:test";-import {- mixOklch,- oklchToRgb,- parseColor,- rgbToOklch,- toCss,-} from "../color";--function rgbOf(css: string): { r: number; g: number; b: number; alpha: number } {+import { mixOklch, oklchToRgb, parseColor, rgbToOklch, toCss } from "../color";++function rgbOf(css: string): {+ r: number;+ g: number;+ b: number;+ alpha: number;+} {const inner = css.slice(css.indexOf("(") + 1, css.lastIndexOf(")"));const parts = inner.replace(/\//g, " ")@@ -56,8 +54,12 @@ describe("mixOklch endpoints", () => {it("preserves alpha at the endpoints (within 0.01)", () => {const aa = "oklch(0.5 0.12 250 / 40%)";const bb = "oklch(0.7 0.15 140 / 80%)";- expect(Math.abs(rgbOf(mixOklch(aa, bb, 0)).alpha - 0.4)).toBeLessThanOrEqual(0.01);- expect(Math.abs(rgbOf(mixOklch(aa, bb, 1)).alpha - 0.8)).toBeLessThanOrEqual(0.01);+ expect(+ Math.abs(rgbOf(mixOklch(aa, bb, 0)).alpha - 0.4),+ ).toBeLessThanOrEqual(0.01);+ expect(+ Math.abs(rgbOf(mixOklch(aa, bb, 1)).alpha - 0.8),+ ).toBeLessThanOrEqual(0.01);});});@@ -70,7 +72,11 @@ describe("mixOklch midpoint (perceptual, not naive sRGB lerp)", () => {});it("matches the module's own oklchToRgb(0.5,0,0) (self-consistent, no magic number)", () => {- expectRgbClose(rgbOf(mixOklch(BLACK, WHITE, 0.5)), oklchToRgb(0.5, 0, 0), TOL);+ expectRgbClose(+ rgbOf(mixOklch(BLACK, WHITE, 0.5)),+ oklchToRgb(0.5, 0, 0),+ TOL,+ );});});@@ -201,7 +207,7 @@ describe("parseColor formats", () => {it("parses oklch() with a percent alpha (alpha ~= 0.10)", () => {const c = parseColor("oklch(1 0 0 / 10%)");- expect(Math.abs(c.alpha! - 0.1)).toBeLessThanOrEqual(0.01);+ expect(Math.abs((c.alpha ?? Number.NaN) - 0.1)).toBeLessThanOrEqual(0.01);});it("defaults alpha to 1 when no alpha is present", () => {@@ -238,13 +244,15 @@ describe("toCss (culori formatRgb output)", () => {});it("emits opaque rgb(...) when alpha is omitted", () => {- expect(toCss({ mode: "rgb", r: 0, g: 0, b: 0 } as never)).toBe("rgb(0, 0, 0)");+ expect(toCss({ mode: "rgb", r: 0, g: 0, b: 0 } as never)).toBe(+ "rgb(0, 0, 0)",+ );});it('emits legacy "rgba(r, g, b, a)" when alpha < 1', () => {- expect(toCss({ mode: "rgb", r: 10 / 255, g: 20 / 255, b: 30 / 255, alpha: 0.5 })).toBe(- "rgba(10, 20, 30, 0.5)",- );+ expect(+ toCss({ mode: "rgb", r: 10 / 255, g: 20 / 255, b: 30 / 255, alpha: 0.5 }),+ ).toBe("rgba(10, 20, 30, 0.5)");});it("round-trips through culori: toCss output re-parses to the same channels", () => {@@ -258,7 +266,9 @@ describe("toCss (culori formatRgb output)", () => {const reparsed = parseColor(toCss({ mode: "rgb", r: 10 / 255, g: 20 / 255, b: 30 / 255, alpha: 0.5 }),);- expect(Math.abs(reparsed.alpha! - 0.5)).toBeLessThanOrEqual(0.01);+ expect(Math.abs((reparsed.alpha ?? Number.NaN) - 0.5)).toBeLessThanOrEqual(+ 0.01,+ );});});diff --git a/registry/remocn-ui/core/__tests__/timeline.test.ts b/registry/remocn-ui/core/__tests__/timeline.test.tsindex 2ca0e4ac..9ac52820 100644--- a/registry/remocn-ui/core/__tests__/timeline.test.ts+++ b/registry/remocn-ui/core/__tests__/timeline.test.ts@@ -1,4 +1,3 @@-import { describe, expect, it } from "bun:test";function framesFor(d: number | { seconds: number }, fps: number): number {@@ -141,7 +140,7 @@ describe("resolveCurrentState: activates exactly at `at`", () => {describe("resolveCurrentState: latest started step wins", () => {type S = "idle" | "hover" | "press" | "loading";const steps: Step<S>[] = [- { at: 0, state: "hover" },+ { at: 0, state: "hover" },{ at: 10, state: "press" },{ at: 20, state: "loading" },];@@ -214,7 +213,7 @@ function clamp01(t: number): number {}function resolveStateTransition<S extends string>(- raw: number, // injected useCurrentFrame() — MIRROR of timeline.ts line 61+ raw: number, // injected useCurrentFrame() — MIRROR of timeline.ts line 61steps: Step<S>[],defaultState: S,speed = 1,@@ -339,7 +338,9 @@ describe("resolveStateTransition: per-step duration overrides defaultDuration",const withDefault = resolveStateTransition(14, stepsNoDur, "idle", 1, 8);expect(withDur.progress).toBeCloseTo(4 / 6, 10);expect(withDefault.progress).toBeCloseTo(4 / 8, 10);- expect(Math.abs(withDur.progress - withDefault.progress)).toBeGreaterThan(0.1);+ expect(Math.abs(withDur.progress - withDefault.progress)).toBeGreaterThan(+ 0.1,+ );});it("step with duration:6 completes (progress=1) at frame=to.at+6, not at to.at+8", () => {@@ -361,7 +362,7 @@ describe("resolveStateTransition: chained steps carry from=previous state", () =type S = "idle" | "hover" | "press" | "loading";const steps: Step<S>[] = [- { at: 0, state: "hover" },+ { at: 0, state: "hover" },{ at: 10, state: "press" },{ at: 20, state: "loading" },];@@ -417,7 +418,7 @@ describe("resolveStateTransition: same-`at` ties — later array entry wins", ()it("tie at second step: from=first step (different at), to=later-array winner", () => {const steps: Step<S>[] = [- { at: 0, state: "a" },+ { at: 0, state: "a" },{ at: 10, state: "b" },{ at: 10, state: "c" },];diff --git a/registry/remocn-ui/core/color.ts b/registry/remocn-ui/core/color.tsindex 676595fe..67a81a48 100644--- a/registry/remocn-ui/core/color.ts+++ b/registry/remocn-ui/core/color.ts@@ -1,11 +1,10 @@-import {clampChroma,converter,formatRgb,interpolate,- parse,type Oklch,+ parse,type Rgb,} from "culori";@@ -21,8 +20,8 @@ export function parseColor(c: string): Rgb {if (process.env.NODE_ENV !== "production") {console.warn(`[remocn-ui] parseColor cannot resolve CSS variable "${s}" under Remotion's per-frame render. ` +- "Animated colors must be concrete oklch/hex/rgb values supplied via the theme. " +- "Falling back to the JS default.",+ "Animated colors must be concrete oklch/hex/rgb values supplied via the theme. " ++ "Falling back to the JS default.",);}return { ...BLACK };@@ -31,7 +30,9 @@ export function parseColor(c: string): Rgb {const rgb = toRgb(parse(s));if (!rgb) {if (process.env.NODE_ENV !== "production") {- console.warn(`[remocn-ui] parseColor could not parse "${s}"; using black.`);+ console.warn(+ `[remocn-ui] parseColor could not parse "${s}"; using black.`,+ );}return { ...BLACK };}@@ -55,15 +56,17 @@ function resolveColorString(s: string): string {if (process.env.NODE_ENV !== "production") {console.warn(`[remocn-ui] mixOklch cannot resolve CSS variable "${trimmed}" under Remotion's per-frame render. ` +- "Animated colors must be concrete oklch/hex/rgb values supplied via the theme. " +- "Falling back to the JS default.",+ "Animated colors must be concrete oklch/hex/rgb values supplied via the theme. " ++ "Falling back to the JS default.",);}return "#000";}if (!parse(trimmed)) {if (process.env.NODE_ENV !== "production") {- console.warn(`[remocn-ui] mixOklch could not parse "${trimmed}"; using black.`);+ console.warn(+ `[remocn-ui] mixOklch could not parse "${trimmed}"; using black.`,+ );}return "#000";}diff --git a/registry/remocn-ui/core/index.ts b/registry/remocn-ui/core/index.tsindex dd0d6d70..ecaa3bd2 100644--- a/registry/remocn-ui/core/index.ts+++ b/registry/remocn-ui/core/index.ts@@ -1,14 +1,3 @@-export type { Step } from "./types";-export {- clamp01,- framesFor,- revealCount,- revealedText,- useCurrentState,- useStateTransition,- useTypewriter,-} from "./timeline";-export type { TypewriterOptions, TypewriterState } from "./timeline";export {mixOklch,oklchToRgb,@@ -16,12 +5,23 @@ export {rgbToOklch,toCss,} from "./color";+export type { EasingName, SpringName } from "./motion";+export { easings, springs } from "./motion";+export type { RemocnTheme, RemocnUIProviderProps } from "./theme";export {defaultDarkTheme,defaultLightTheme,RemocnUIProvider,useRemocnTheme,} from "./theme";-export type { RemocnTheme, RemocnUIProviderProps } from "./theme";-export { easings, springs } from "./motion";-export type { EasingName, SpringName } from "./motion";+export type { TypewriterOptions, TypewriterState } from "./timeline";+export {+ clamp01,+ framesFor,+ revealCount,+ revealedText,+ useCurrentState,+ useStateTransition,+ useTypewriter,+} from "./timeline";+export type { Step } from "./types";diff --git a/registry/remocn-ui/core/motion.ts b/registry/remocn-ui/core/motion.tsindex 04c628d7..e42e1356 100644--- a/registry/remocn-ui/core/motion.ts+++ b/registry/remocn-ui/core/motion.ts@@ -1,4 +1,3 @@-export const easings = {linear: (t: number): number => t,out: (t: number): number => 1 - (1 - t) ** 3,diff --git a/registry/remocn-ui/core/theme.ts b/registry/remocn-ui/core/theme.tsindex 91cedcea..40435f34 100644--- a/registry/remocn-ui/core/theme.ts+++ b/registry/remocn-ui/core/theme.ts@@ -1,7 +1,7 @@"use client";-import { createContext, createElement, useContext } from "react";import type { ReactNode } from "react";+import { createContext, createElement, useContext } from "react";export interface RemocnTheme {background: string;@@ -47,7 +47,7 @@ export const defaultLightTheme: RemocnTheme = {input: "oklch(0.922 0 0)",ring: "oklch(0.708 0 0)",radius: 10,-}+};export const defaultDarkTheme: RemocnTheme = {background: "oklch(0.145 0 0)",diff --git a/registry/remocn-ui/core/timeline.ts b/registry/remocn-ui/core/timeline.tsindex e584bfe8..f815976e 100644--- a/registry/remocn-ui/core/timeline.ts+++ b/registry/remocn-ui/core/timeline.ts@@ -1,7 +1,10 @@import { useCurrentFrame, useVideoConfig } from "remotion";import type { Step } from "./types";-export function framesFor(d: number | { seconds: number }, fps: number): number {+export function framesFor(+ d: number | { seconds: number },+ fps: number,+): number {return typeof d === "number" ? d : Math.round(d.seconds * fps);}diff --git a/registry/remocn-ui/cursor/__tests__/cursor.test.ts b/registry/remocn-ui/cursor/__tests__/cursor.test.tsindex a440c11d..fa23e35e 100644--- a/registry/remocn-ui/cursor/__tests__/cursor.test.ts+++ b/registry/remocn-ui/cursor/__tests__/cursor.test.ts@@ -1,15 +1,14 @@-import { describe, expect, it } from "bun:test";+import { cursorConfig } from "../config";import {- cursorPathAt,- ripplePhase,+ CLICK_FRAMES,+ type CursorWaypoint,clickPress,+ cursorPathAt,DEFAULT_DURATION,- CLICK_FRAMES,PRESS_FRAMES,- type CursorWaypoint,+ ripplePhase,} from "../use-cursor-path";-import { cursorConfig } from "../config";function pathAt(waypoints: CursorWaypoint[], raw: number, speed = 1) {return cursorPathAt(waypoints, raw, { speed });@@ -101,13 +100,17 @@ describe("ripplePhase: just before expiry (frame = CLICK_FRAMES - 1)", () => {describe("ripplePhase: monotonic invariants across the window", () => {it("opacity decreases monotonically across all frames in [0, CLICK_FRAMES)", () => {for (let f = 0; f < CLICK_FRAMES - 1; f++) {- expect(ripplePhase(f).rippleOpacity).toBeGreaterThan(ripplePhase(f + 1).rippleOpacity);+ expect(ripplePhase(f).rippleOpacity).toBeGreaterThan(+ ripplePhase(f + 1).rippleOpacity,+ );}});it("scale increases monotonically across all frames in [0, CLICK_FRAMES)", () => {for (let f = 0; f < CLICK_FRAMES - 1; f++) {- expect(ripplePhase(f).rippleScale).toBeLessThan(ripplePhase(f + 1).rippleScale);+ expect(ripplePhase(f).rippleScale).toBeLessThan(+ ripplePhase(f + 1).rippleScale,+ );}});});@@ -366,7 +369,7 @@ describe("cursorPathAt: click:true — ripple and press-dip fire at arrival", ()describe("cursorPathAt: multiple clicks — only the most recent active click fires", () => {const wps: CursorWaypoint[] = [- { at: 0, x: 0, y: 0, click: true },+ { at: 0, x: 0, y: 0, click: true },{ at: 48, x: 100, y: 100, click: true },];@@ -393,7 +396,7 @@ describe("cursorPathAt: multiple clicks — only the most recent active click fidescribe("cursorPathAt: press:true — held press look", () => {const wps: CursorWaypoint[] = [- { at: 0, x: 0, y: 0, press: true },+ { at: 0, x: 0, y: 0, press: true },{ at: 48, x: 100, y: 100 },];@@ -412,7 +415,7 @@ describe("cursorPathAt: press:true — held press look", () => {describe("cursorPathAt: no press flag — pressScale is always 1", () => {const wps: CursorWaypoint[] = [- { at: 0, x: 0, y: 0 },+ { at: 0, x: 0, y: 0 },{ at: 24, x: 100, y: 0 },];@@ -459,7 +462,7 @@ describe("cursorPathAt: speed contract", () => {describe("cursorPathAt: three waypoints — segment selection", () => {const wps: CursorWaypoint[] = [- { at: 0, x: 0, y: 0 },+ { at: 0, x: 0, y: 0 },{ at: 24, x: 100, y: 0 },{ at: 48, x: 200, y: 0 },];diff --git a/registry/remocn-ui/cursor/config.ts b/registry/remocn-ui/cursor/config.tsindex cb158c3d..8c9614ad 100644--- a/registry/remocn-ui/cursor/config.ts+++ b/registry/remocn-ui/cursor/config.ts@@ -10,7 +10,14 @@ export const cursorConfig: ComponentConfig = {options: ["arrow", "pointer"],label: "Variant",},- size: { type: "number", default: 28, min: 16, max: 64, step: 2, label: "Size" },+ size: {+ type: "number",+ default: 28,+ min: 16,+ max: 64,+ step: 2,+ label: "Size",+ },rippleColor: { type: "color", default: "#171717", label: "Ripple" },},durationInFrames: 120,diff --git a/registry/remocn-ui/cursor/use-cursor-path.ts b/registry/remocn-ui/cursor/use-cursor-path.tsindex 9a2a45a2..69a2f25e 100644--- a/registry/remocn-ui/cursor/use-cursor-path.ts+++ b/registry/remocn-ui/cursor/use-cursor-path.ts@@ -1,12 +1,8 @@"use client";import { useCurrentFrame } from "remotion";-import {- clamp01,- type EasingName,- easings,-} from "@/lib/remocn-ui";import type { CursorStyle } from "@/components/remocn/cursor";+import { clamp01, type EasingName, easings } from "@/lib/remocn-ui";export interface CursorWaypoint {at: number;diff --git a/registry/remocn-ui/dialog/__tests__/dialog.test.ts b/registry/remocn-ui/dialog/__tests__/dialog.test.tsindex f129925e..08c43e50 100644--- a/registry/remocn-ui/dialog/__tests__/dialog.test.ts+++ b/registry/remocn-ui/dialog/__tests__/dialog.test.ts@@ -1,13 +1,8 @@-import { describe, expect, it } from "bun:test";-import {- type DialogState,- dialogStyle,- dialogStyleContext,-} from "../index";-import { tweenDialogStyle, DEFAULT_DURATION } from "../use-dialog-transition";-import { dialogConfig } from "../config";import { defaultLightTheme } from "@/lib/remocn-ui";+import { dialogConfig } from "../config";+import { type DialogState, dialogStyle, dialogStyleContext } from "../index";+import { DEFAULT_DURATION, tweenDialogStyle } from "../use-dialog-transition";const VALID_STATES: readonly DialogState[] = ["opened", "closed"];@@ -27,13 +22,15 @@ const ctx = dialogStyleContext(defaultLightTheme);describe("DialogState union", () => {it("contains exactly the two documented states", () => {const control = dialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = dialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -48,7 +45,8 @@ describe("dialogConfig.controls.state", () => {it("has exactly the two DialogState options in order", () => {const control = dialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});@@ -59,7 +57,8 @@ describe("dialogConfig.controls.state", () => {it("every option is a member of the DialogState union", () => {const control = dialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as DialogState);}@@ -67,17 +66,18 @@ describe("dialogConfig.controls.state", () => {});describe("dialogConfig.snippet: state prop emission", () => {- it("emits state=\"opened\" for the opened option", () => {+ it('emits state="opened" for the opened option', () => {expect(snippet({ state: "opened" })).toContain('state="opened"');});- it("emits state=\"closed\" for the closed option", () => {+ it('emits state="closed" for the closed option', () => {expect(snippet({ state: "closed" })).toContain('state="closed"');});it("emits the correct state for every control option", () => {const control = dialogConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -96,7 +96,7 @@ describe("dialogConfig.snippet: NEVER emits steps", () => {describe("dialogConfig.snippet: import line", () => {it("includes `import { Dialog }` from the correct path", () => {const out = snippet({ state: "opened" });- expect(out).toContain('import { Dialog }');+ expect(out).toContain("import { Dialog }");expect(out).toContain('from "@/components/remocn/dialog"');});});@@ -105,7 +105,8 @@ describe("dialogConfig.snippet: default props are omitted", () => {const allDefaults = snippet({state: "opened",title: "Edit profile",- description: "Make changes to your profile here. Click save when you're done.",+ description:+ "Make changes to your profile here. Click save when you're done.",actionLabel: "Save changes",cancelLabel: "Cancel",});@@ -129,23 +130,30 @@ describe("dialogConfig.snippet: default props are omitted", () => {describe("dialogConfig.snippet: non-default props are emitted", () => {it("emits a non-default title", () => {- expect(snippet({ state: "opened", title: "Edit workspace settings" }))- .toContain('title="Edit workspace settings"');+ expect(+ snippet({ state: "opened", title: "Edit workspace settings" }),+ ).toContain('title="Edit workspace settings"');});it("emits a non-default description", () => {- expect(snippet({ state: "opened", description: "Update your workspace name and settings." }))- .toContain('description="Update your workspace name and settings."');+ expect(+ snippet({+ state: "opened",+ description: "Update your workspace name and settings.",+ }),+ ).toContain('description="Update your workspace name and settings."');});it("emits a non-default actionLabel", () => {- expect(snippet({ state: "opened", actionLabel: "Confirm" }))- .toContain('actionLabel="Confirm"');+ expect(snippet({ state: "opened", actionLabel: "Confirm" })).toContain(+ 'actionLabel="Confirm"',+ );});it("emits a non-default cancelLabel", () => {- expect(snippet({ state: "opened", cancelLabel: "Go back" }))- .toContain('cancelLabel="Go back"');+ expect(snippet({ state: "opened", cancelLabel: "Go back" })).toContain(+ 'cancelLabel="Go back"',+ );});});@@ -153,7 +161,7 @@ describe("dialogConfig.snippet: structural round-trip", () => {const out = snippet({ state: "opened" });it("starts with the import line", () => {- expect(out.startsWith('import { Dialog }')).toBe(true);+ expect(out.startsWith("import { Dialog }")).toBe(true);});it("contains a <Dialog JSX opening", () => {diff --git a/registry/remocn-ui/dialog/use-dialog-transition.ts b/registry/remocn-ui/dialog/use-dialog-transition.tsindex 688e7707..f172f807 100644--- a/registry/remocn-ui/dialog/use-dialog-transition.ts+++ b/registry/remocn-ui/dialog/use-dialog-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type DialogState,+ type DialogStyle,+ dialogStyle,+ dialogStyleContext,+} from "@/components/remocn/dialog";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- dialogStyle,- dialogStyleContext,- type DialogState,- type DialogStyle,-} from "@/components/remocn/dialog";export const DEFAULT_DURATION = 12;@@ -22,7 +22,8 @@ export function tweenDialogStyle(t: number,): DialogStyle {return {- overlayOpacity: a.overlayOpacity + (b.overlayOpacity - a.overlayOpacity) * t,+ overlayOpacity:+ a.overlayOpacity + (b.overlayOpacity - a.overlayOpacity) * t,popupOpacity: a.popupOpacity + (b.popupOpacity - a.popupOpacity) * t,popupScale: a.popupScale + (b.popupScale - a.popupScale) * t,popupTranslateY:diff --git a/registry/remocn-ui/drawer/__tests__/drawer.test.ts b/registry/remocn-ui/drawer/__tests__/drawer.test.tsindex f27ee650..76a1cdb5 100644--- a/registry/remocn-ui/drawer/__tests__/drawer.test.ts+++ b/registry/remocn-ui/drawer/__tests__/drawer.test.ts@@ -1,13 +1,8 @@-import { describe, expect, it } from "bun:test";-import {- type DrawerState,- drawerStyle,- drawerStyleContext,-} from "../index";-import { tweenDrawerStyle, DEFAULT_DURATION } from "../use-drawer-transition";-import { drawerConfig } from "../config";import { defaultLightTheme } from "@/lib/remocn-ui";+import { drawerConfig } from "../config";+import { type DrawerState, drawerStyle, drawerStyleContext } from "../index";+import { DEFAULT_DURATION, tweenDrawerStyle } from "../use-drawer-transition";const VALID_STATES: readonly DrawerState[] = ["opened", "closed"];@@ -27,13 +22,15 @@ const ctx = drawerStyleContext(defaultLightTheme);describe("DrawerState union", () => {it("contains exactly the two documented states", () => {const control = drawerConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = drawerConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -48,7 +45,8 @@ describe("drawerConfig.controls.state", () => {it("has exactly the two DrawerState options in order", () => {const control = drawerConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});@@ -59,7 +57,8 @@ describe("drawerConfig.controls.state", () => {it("every option is a member of the DrawerState union", () => {const control = drawerConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as DrawerState);}@@ -67,17 +66,18 @@ describe("drawerConfig.controls.state", () => {});describe("drawerConfig.snippet: state prop emission", () => {- it("emits state=\"opened\" for the opened option", () => {+ it('emits state="opened" for the opened option', () => {expect(snippet({ state: "opened" })).toContain('state="opened"');});- it("emits state=\"closed\" for the closed option", () => {+ it('emits state="closed" for the closed option', () => {expect(snippet({ state: "closed" })).toContain('state="closed"');});it("emits the correct state for every control option", () => {const control = drawerConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -96,7 +96,7 @@ describe("drawerConfig.snippet: NEVER emits steps", () => {describe("drawerConfig.snippet: import line", () => {it("includes `import { Drawer }` from the correct path", () => {const out = snippet({ state: "opened" });- expect(out).toContain('import { Drawer }');+ expect(out).toContain("import { Drawer }");expect(out).toContain('from "@/components/remocn/drawer"');});});@@ -105,7 +105,8 @@ describe("drawerConfig.snippet: default props are omitted", () => {const allDefaults = snippet({state: "opened",title: "Edit profile",- description: "Make changes to your profile here. Click save when you're done.",+ description:+ "Make changes to your profile here. Click save when you're done.",actionLabel: "Save changes",cancelLabel: "Cancel",});@@ -129,23 +130,30 @@ describe("drawerConfig.snippet: default props are omitted", () => {describe("drawerConfig.snippet: non-default props are emitted", () => {it("emits a non-default title", () => {- expect(snippet({ state: "opened", title: "Edit workspace settings" }))- .toContain('title="Edit workspace settings"');+ expect(+ snippet({ state: "opened", title: "Edit workspace settings" }),+ ).toContain('title="Edit workspace settings"');});it("emits a non-default description", () => {- expect(snippet({ state: "opened", description: "Update your workspace name and settings." }))- .toContain('description="Update your workspace name and settings."');+ expect(+ snippet({+ state: "opened",+ description: "Update your workspace name and settings.",+ }),+ ).toContain('description="Update your workspace name and settings."');});it("emits a non-default actionLabel", () => {- expect(snippet({ state: "opened", actionLabel: "Confirm" }))- .toContain('actionLabel="Confirm"');+ expect(snippet({ state: "opened", actionLabel: "Confirm" })).toContain(+ 'actionLabel="Confirm"',+ );});it("emits a non-default cancelLabel", () => {- expect(snippet({ state: "opened", cancelLabel: "Go back" }))- .toContain('cancelLabel="Go back"');+ expect(snippet({ state: "opened", cancelLabel: "Go back" })).toContain(+ 'cancelLabel="Go back"',+ );});});@@ -153,7 +161,7 @@ describe("drawerConfig.snippet: structural round-trip", () => {const out = snippet({ state: "opened" });it("starts with the import line", () => {- expect(out.startsWith('import { Drawer }')).toBe(true);+ expect(out.startsWith("import { Drawer }")).toBe(true);});it("contains a <Drawer JSX opening", () => {diff --git a/registry/remocn-ui/drawer/use-drawer-transition.ts b/registry/remocn-ui/drawer/use-drawer-transition.tsindex ab07343a..a38d6b67 100644--- a/registry/remocn-ui/drawer/use-drawer-transition.ts+++ b/registry/remocn-ui/drawer/use-drawer-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type DrawerState,+ type DrawerStyle,+ drawerStyle,+ drawerStyleContext,+} from "@/components/remocn/drawer";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- drawerStyle,- drawerStyleContext,- type DrawerState,- type DrawerStyle,-} from "@/components/remocn/drawer";export const DEFAULT_DURATION = 12;@@ -22,7 +22,8 @@ export function tweenDrawerStyle(t: number,): DrawerStyle {return {- overlayOpacity: a.overlayOpacity + (b.overlayOpacity - a.overlayOpacity) * t,+ overlayOpacity:+ a.overlayOpacity + (b.overlayOpacity - a.overlayOpacity) * t,panelOpacity: a.panelOpacity + (b.panelOpacity - a.panelOpacity) * t,panelTranslateY:a.panelTranslateY + (b.panelTranslateY - a.panelTranslateY) * t,diff --git a/registry/remocn-ui/dropdown-menu-item/__tests__/dropdown-menu-item.test.ts b/registry/remocn-ui/dropdown-menu-item/__tests__/dropdown-menu-item.test.tsindex 82a6730a..b2f8567c 100644--- a/registry/remocn-ui/dropdown-menu-item/__tests__/dropdown-menu-item.test.ts+++ b/registry/remocn-ui/dropdown-menu-item/__tests__/dropdown-menu-item.test.ts@@ -1,15 +1,21 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme } from "@/lib/remocn-ui";+import { dropdownMenuItemConfig } from "../config";import {type DropdownMenuItemState,dropdownMenuItemStyle,dropdownMenuItemStyleContext,} from "../index";-import { tweenDropdownMenuItemStyle, DEFAULT_DURATION } from "../use-dropdown-menu-item-transition";-import { dropdownMenuItemConfig } from "../config";-import { defaultLightTheme } from "@/lib/remocn-ui";+import {+ DEFAULT_DURATION,+ tweenDropdownMenuItemStyle,+} from "../use-dropdown-menu-item-transition";-const VALID_STATES: readonly DropdownMenuItemState[] = ["idle", "hover", "press"];+const VALID_STATES: readonly DropdownMenuItemState[] = [+ "idle",+ "hover",+ "press",+];type SnippetValues = {state?: string;@@ -24,13 +30,15 @@ const ctx = dropdownMenuItemStyleContext(defaultLightTheme);describe("DropdownMenuItemState union", () => {it("contains exactly the three documented states", () => {const control = dropdownMenuItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["idle", "hover", "press"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = dropdownMenuItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(3);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -45,7 +53,8 @@ describe("dropdownMenuItemConfig.controls.state", () => {it("has exactly the three DropdownMenuItemState options in order", () => {const control = dropdownMenuItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["idle", "hover", "press"]);});@@ -56,7 +65,8 @@ describe("dropdownMenuItemConfig.controls.state", () => {it("every option is a member of the DropdownMenuItemState union", () => {const control = dropdownMenuItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as DropdownMenuItemState);}@@ -64,21 +74,22 @@ describe("dropdownMenuItemConfig.controls.state", () => {});describe("dropdownMenuItemConfig.snippet: state prop emission", () => {- it("emits state=\"idle\" for the idle option", () => {+ it('emits state="idle" for the idle option', () => {expect(snippet({ state: "idle" })).toContain('state="idle"');});- it("emits state=\"hover\" for the hover option", () => {+ it('emits state="hover" for the hover option', () => {expect(snippet({ state: "hover" })).toContain('state="hover"');});- it("emits state=\"press\" for the press option", () => {+ it('emits state="press" for the press option', () => {expect(snippet({ state: "press" })).toContain('state="press"');});it("emits the correct state for every control option", () => {const control = dropdownMenuItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -89,7 +100,7 @@ describe("dropdownMenuItemConfig.snippet: state prop emission", () => {describe("dropdownMenuItemConfig.snippet: import line", () => {it("includes `import { DropdownMenuItem }` from the correct path", () => {const out = snippet({ state: "hover" });- expect(out).toContain('import { DropdownMenuItem }');+ expect(out).toContain("import { DropdownMenuItem }");expect(out).toContain('from "@/components/remocn/dropdown-menu-item"');});});@@ -107,8 +118,9 @@ describe("dropdownMenuItemConfig.snippet: default props are omitted", () => {describe("dropdownMenuItemConfig.snippet: non-default props are emitted", () => {it("emits a non-default label", () => {- expect(snippet({ state: "hover", label: "Settings" }))- .toContain('label="Settings"');+ expect(snippet({ state: "hover", label: "Settings" })).toContain(+ 'label="Settings"',+ );});});@@ -116,7 +128,7 @@ describe("dropdownMenuItemConfig.snippet: structural round-trip", () => {const out = snippet({ state: "hover" });it("starts with the import line", () => {- expect(out.startsWith('import { DropdownMenuItem }')).toBe(true);+ expect(out.startsWith("import { DropdownMenuItem }")).toBe(true);});it("contains a <DropdownMenuItem JSX opening", () => {diff --git a/registry/remocn-ui/dropdown-menu-item/use-dropdown-menu-item-transition.ts b/registry/remocn-ui/dropdown-menu-item/use-dropdown-menu-item-transition.tsindex 493bfb19..54154fef 100644--- a/registry/remocn-ui/dropdown-menu-item/use-dropdown-menu-item-transition.ts+++ b/registry/remocn-ui/dropdown-menu-item/use-dropdown-menu-item-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type DropdownMenuItemState,+ type DropdownMenuItemStyle,+ dropdownMenuItemStyle,+ dropdownMenuItemStyleContext,+} from "@/components/remocn/dropdown-menu-item";import {easings,mixOklch,@@ -8,12 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- dropdownMenuItemStyle,- dropdownMenuItemStyleContext,- type DropdownMenuItemState,- type DropdownMenuItemStyle,-} from "@/components/remocn/dropdown-menu-item";export const DEFAULT_DURATION = 8;diff --git a/registry/remocn-ui/dropdown-menu/__tests__/dropdown-menu.test.ts b/registry/remocn-ui/dropdown-menu/__tests__/dropdown-menu.test.tsindex 7e832e22..a3de48e8 100644--- a/registry/remocn-ui/dropdown-menu/__tests__/dropdown-menu.test.ts+++ b/registry/remocn-ui/dropdown-menu/__tests__/dropdown-menu.test.ts@@ -1,13 +1,15 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme } from "@/lib/remocn-ui";+import { dropdownMenuConfig } from "../config";import {type DropdownMenuState,dropdownMenuStyle,dropdownMenuStyleContext,} from "../index";-import { tweenDropdownMenuStyle, DEFAULT_DURATION } from "../use-dropdown-menu-transition";-import { dropdownMenuConfig } from "../config";-import { defaultLightTheme } from "@/lib/remocn-ui";+import {+ DEFAULT_DURATION,+ tweenDropdownMenuStyle,+} from "../use-dropdown-menu-transition";const VALID_STATES: readonly DropdownMenuState[] = ["opened", "closed"];@@ -25,13 +27,15 @@ const ctx = dropdownMenuStyleContext(defaultLightTheme);describe("DropdownMenuState union", () => {it("contains exactly the two documented states", () => {const control = dropdownMenuConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = dropdownMenuConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -46,7 +50,8 @@ describe("dropdownMenuConfig.controls.state", () => {it("has exactly the two DropdownMenuState options in order", () => {const control = dropdownMenuConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});@@ -57,7 +62,8 @@ describe("dropdownMenuConfig.controls.state", () => {it("every option is a member of the DropdownMenuState union", () => {const control = dropdownMenuConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as DropdownMenuState);}@@ -65,17 +71,18 @@ describe("dropdownMenuConfig.controls.state", () => {});describe("dropdownMenuConfig.snippet: state prop emission", () => {- it("emits state=\"opened\" for the opened option", () => {+ it('emits state="opened" for the opened option', () => {expect(snippet({ state: "opened" })).toContain('state="opened"');});- it("emits state=\"closed\" for the closed option", () => {+ it('emits state="closed" for the closed option', () => {expect(snippet({ state: "closed" })).toContain('state="closed"');});it("emits the correct state for every control option", () => {const control = dropdownMenuConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -86,7 +93,7 @@ describe("dropdownMenuConfig.snippet: state prop emission", () => {describe("dropdownMenuConfig.snippet: import line", () => {it("includes `import { DropdownMenu }` from the correct path", () => {const out = snippet({ state: "opened" });- expect(out).toContain('import { DropdownMenu }');+ expect(out).toContain("import { DropdownMenu }");expect(out).toContain('from "@/components/remocn/dropdown-menu"');});});@@ -109,13 +116,15 @@ describe("dropdownMenuConfig.snippet: default props are omitted", () => {describe("dropdownMenuConfig.snippet: non-default props are emitted", () => {it("emits a non-default label", () => {- expect(snippet({ state: "opened", label: "Account" }))- .toContain('label="Account"');+ expect(snippet({ state: "opened", label: "Account" })).toContain(+ 'label="Account"',+ );});it("emits a non-default highlightedIndex (0 is non-default, condition is !== -1)", () => {- expect(snippet({ state: "opened", highlightedIndex: 0 }))- .toContain("highlightedIndex={0}");+ expect(snippet({ state: "opened", highlightedIndex: 0 })).toContain(+ "highlightedIndex={0}",+ );});});@@ -123,7 +132,7 @@ describe("dropdownMenuConfig.snippet: structural round-trip", () => {const out = snippet({ state: "opened" });it("starts with the import line", () => {- expect(out.startsWith('import { DropdownMenu }')).toBe(true);+ expect(out.startsWith("import { DropdownMenu }")).toBe(true);});it("contains a <DropdownMenu JSX opening", () => {diff --git a/registry/remocn-ui/dropdown-menu/index.tsx b/registry/remocn-ui/dropdown-menu/index.tsxindex c3c5adc8..442e8419 100644--- a/registry/remocn-ui/dropdown-menu/index.tsx+++ b/registry/remocn-ui/dropdown-menu/index.tsx@@ -1,17 +1,17 @@"use client";import {- buttonStyle,- buttonStyleContext,type ButtonStyle,type ButtonStyleContext,+ buttonStyle,+ buttonStyleContext,} from "@/components/remocn/button";import {DropdownMenuItemRow,- dropdownMenuItemStyle,- dropdownMenuItemStyleContext,type DropdownMenuItemStyle,type DropdownMenuItemStyleContext,+ dropdownMenuItemStyle,+ dropdownMenuItemStyleContext,} from "@/components/remocn/dropdown-menu-item";import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";diff --git a/registry/remocn-ui/dropdown-menu/use-dropdown-menu-transition.ts b/registry/remocn-ui/dropdown-menu/use-dropdown-menu-transition.tsindex e2d9ffe5..54379bfa 100644--- a/registry/remocn-ui/dropdown-menu/use-dropdown-menu-transition.ts+++ b/registry/remocn-ui/dropdown-menu/use-dropdown-menu-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type DropdownMenuState,+ type DropdownMenuStyle,+ dropdownMenuStyle,+ dropdownMenuStyleContext,+} from "@/components/remocn/dropdown-menu";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- dropdownMenuStyle,- dropdownMenuStyleContext,- type DropdownMenuState,- type DropdownMenuStyle,-} from "@/components/remocn/dropdown-menu";export const DEFAULT_DURATION = 12;diff --git a/registry/remocn-ui/field/index.tsx b/registry/remocn-ui/field/index.tsxindex 20e5b48e..bd86de69 100644--- a/registry/remocn-ui/field/index.tsx+++ b/registry/remocn-ui/field/index.tsx@@ -90,7 +90,11 @@ export interface FieldControlProps {style?: CSSProperties;}-export function FieldControl({ children, height = 40, style }: FieldControlProps) {+export function FieldControl({+ children,+ height = 40,+ style,+}: FieldControlProps) {return (<div style={{ position: "relative", height, ...style }}>{children}</div>);diff --git a/registry/remocn-ui/imessage-chat-flow/__tests__/imessage-chat-flow.test.ts b/registry/remocn-ui/imessage-chat-flow/__tests__/imessage-chat-flow.test.tsindex 055bb1d9..dbbf1c7a 100644--- a/registry/remocn-ui/imessage-chat-flow/__tests__/imessage-chat-flow.test.ts+++ b/registry/remocn-ui/imessage-chat-flow/__tests__/imessage-chat-flow.test.ts@@ -1,10 +1,9 @@-import { describe, expect, it } from "bun:test";import {- imessageChatFlowSchedule,+ type ImessageMessage,imessageChatFlowDuration,+ imessageChatFlowSchedule,sendPulse,- type ImessageMessage,} from "../index";const MESSAGES: ImessageMessage[] = [diff --git a/registry/remocn-ui/imessage-chat-flow/index.tsx b/registry/remocn-ui/imessage-chat-flow/index.tsxindex 4894990a..b5010c61 100644--- a/registry/remocn-ui/imessage-chat-flow/index.tsx+++ b/registry/remocn-ui/imessage-chat-flow/index.tsx@@ -1,15 +1,10 @@"use client";-import {- interpolate,- spring,- useCurrentFrame,- useVideoConfig,-} from "remotion";import { ArrowUp, ChevronLeft, Plus, Video } from "lucide-react";-import { type RemocnTheme, revealedText } from "@/lib/remocn-ui";+import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";import { Caret } from "@/components/remocn/caret";import { TypingIndicator } from "@/components/remocn/typing-indicator";+import { type RemocnTheme, revealedText } from "@/lib/remocn-ui";export interface ImessageMessage {from: "me" | "them";@@ -87,7 +82,8 @@ export function imessageChatFlowSchedule(let cursor = LEAD_IN;messages.forEach((message, index) => {- const hasReaction = message.reaction !== undefined && message.reaction !== "";+ const hasReaction =+ message.reaction !== undefined && message.reaction !== "";if (message.from === "me") {const typeStart = cursor;const typeDur = clamp(@@ -110,7 +106,10 @@ export function imessageChatFlowSchedule(reactAt,});cursor =- revealAt + REVEAL + (hasReaction ? REACT_DELAY + REACT_DUR : 0) + MSG_GAP;+ revealAt ++ REVEAL ++ (hasReaction ? REACT_DELAY + REACT_DUR : 0) ++ MSG_GAP;} else {const typingStart = cursor;const typingDur = clamp(@@ -131,7 +130,10 @@ export function imessageChatFlowSchedule(reactAt,});cursor =- revealAt + REVEAL + (hasReaction ? REACT_DELAY + REACT_DUR : 0) + MSG_GAP;+ revealAt ++ REVEAL ++ (hasReaction ? REACT_DELAY + REACT_DUR : 0) ++ MSG_GAP;}});@@ -182,6 +184,7 @@ function Avatar({ contact, size }: { contact: ImessageContact; size: number }) {}}>{contact.avatar !== undefined ? (+ // biome-ignore lint/performance/noImgElement: Remotion output, not a Next.js app — next/image isn't available where this component ships<imgsrc={contact.avatar}alt={contact.name}@@ -194,7 +197,13 @@ function Avatar({ contact, size }: { contact: ImessageContact; size: number }) {);}-function BubbleTail({ side, color }: { side: "left" | "right"; color: string }) {+function BubbleTail({+ side,+ color,+}: {+ side: "left" | "right";+ color: string;+}) {const path =side === "right"? "M0 0 C2 8 6 12 12 13 C7 14 1 13 0 8 Z"@@ -243,7 +252,10 @@ export function ImessageChatFlow({activeMe.typeStart !== undefined &&activeMe.sendAt !== undefined) {- const typeDur = Math.max(activeMe.sendAt - SEND_GAP - activeMe.typeStart, 1);+ const typeDur = Math.max(+ activeMe.sendAt - SEND_GAP - activeMe.typeStart,+ 1,+ );const progress = clamp((eff - activeMe.typeStart) / typeDur, 0, 1);composerText = revealedText(activeMe.text,@@ -260,8 +272,7 @@ export function ImessageChatFlow({items.forEach((item) => {if (item.from === "me") lastMeIndex = item.index;});- const deliveredIndex =- lastMeIndex === messages.length - 1 ? lastMeIndex : -1;+ const deliveredIndex = lastMeIndex === messages.length - 1 ? lastMeIndex : -1;return (<div@@ -467,10 +478,15 @@ function ImessageRow({frame: eff - item.reactAt,config: { damping: 11, stiffness: 220, mass: 0.6 },});- reactionOpacity = interpolate(eff, [item.reactAt, item.reactAt + 5], [0, 1], {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- });+ reactionOpacity = interpolate(+ eff,+ [item.reactAt, item.reactAt + 5],+ [0, 1],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ },+ );}const bg = outgoing ? accent : INCOMING_BG;@@ -500,7 +516,9 @@ function ImessageRow({{item.text}</span>)}- {!showTyping && <BubbleTail side={outgoing ? "right" : "left"} color={bg} />}+ {!showTyping && (+ <BubbleTail side={outgoing ? "right" : "left"} color={bg} />+ )}{item.reaction !== undefined && (<divstyle={{diff --git a/registry/remocn-ui/input/__tests__/input.test.ts b/registry/remocn-ui/input/__tests__/input.test.tsindex 6e597f50..13cc7e77 100644--- a/registry/remocn-ui/input/__tests__/input.test.ts+++ b/registry/remocn-ui/input/__tests__/input.test.ts@@ -1,9 +1,8 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme } from "@/lib/remocn-ui";+import { inputConfig } from "../config";import { type InputState, inputStyle, inputStyleContext } from "../index";import { tweenInputStyle } from "../use-input-transition";-import { inputConfig } from "../config";-import { defaultLightTheme } from "@/lib/remocn-ui";const VALID_STATES: readonly InputState[] = ["idle",@@ -28,7 +27,8 @@ const snippet = (values: SnippetValues): string =>describe("InputState union", () => {it("contains exactly the six documented states", () => {const control = inputConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["idle","hover",@@ -41,7 +41,8 @@ describe("InputState union", () => {it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = inputConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(6);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -56,7 +57,8 @@ describe("inputConfig.controls.state", () => {it("has exactly the six InputState options in order", () => {const control = inputConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["idle","hover",@@ -74,7 +76,8 @@ describe("inputConfig.controls.state", () => {it("every option is a member of the InputState union", () => {const control = inputConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as InputState);}@@ -82,33 +85,34 @@ describe("inputConfig.controls.state", () => {});describe("inputConfig.snippet: state prop emission", () => {- it("emits state=\"idle\" for the idle option", () => {+ it('emits state="idle" for the idle option', () => {expect(snippet({ state: "idle" })).toContain('state="idle"');});- it("emits state=\"hover\" for the hover option", () => {+ it('emits state="hover" for the hover option', () => {expect(snippet({ state: "hover" })).toContain('state="hover"');});- it("emits state=\"active\" for the active option", () => {+ it('emits state="active" for the active option', () => {expect(snippet({ state: "active" })).toContain('state="active"');});- it("emits state=\"typing\" for the typing option", () => {+ it('emits state="typing" for the typing option', () => {expect(snippet({ state: "typing" })).toContain('state="typing"');});- it("emits state=\"blur\" for the blur option", () => {+ it('emits state="blur" for the blur option', () => {expect(snippet({ state: "blur" })).toContain('state="blur"');});- it("emits state=\"invalid\" for the invalid option", () => {+ it('emits state="invalid" for the invalid option', () => {expect(snippet({ state: "invalid" })).toContain('state="invalid"');});it("emits the correct state for every control option", () => {const control = inputConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -133,7 +137,7 @@ describe("inputConfig.snippet: NEVER emits steps or action", () => {describe("inputConfig.snippet: import line", () => {it("includes `import { Input }` from the correct path", () => {const out = snippet({ state: "typing" });- expect(out).toContain('import { Input }');+ expect(out).toContain("import { Input }");expect(out).toContain('from "@/components/remocn/input"');});});@@ -166,11 +170,15 @@ describe("inputConfig.snippet: default props are omitted", () => {describe("inputConfig.snippet: non-default props are emitted", () => {it("emits a non-default placeholder", () => {- expect(snippet({ state: "idle", placeholder: "[email protected]" })).toContain('placeholder="[email protected]"');+ expect(+ snippet({ state: "idle", placeholder: "[email protected]" }),+ ).toContain('placeholder="[email protected]"');});it("emits a non-default value", () => {- expect(snippet({ state: "typing", value: "[email protected]" })).toContain('value="[email protected]"');+ expect(snippet({ state: "typing", value: "[email protected]" })).toContain(+ 'value="[email protected]"',+ );});it("emits a non-default size", () => {@@ -178,7 +186,9 @@ describe("inputConfig.snippet: non-default props are emitted", () => {});it("emits a non-default primary color", () => {- expect(snippet({ state: "typing", primary: "#6366f1" })).toContain('primary="#6366f1"');+ expect(snippet({ state: "typing", primary: "#6366f1" })).toContain(+ 'primary="#6366f1"',+ );});});@@ -186,7 +196,7 @@ describe("inputConfig.snippet: structural round-trip", () => {const out = snippet({ state: "typing" });it("starts with the import line", () => {- expect(out.startsWith('import { Input }')).toBe(true);+ expect(out.startsWith("import { Input }")).toBe(true);});it("contains a <Input JSX opening", () => {diff --git a/registry/remocn-ui/input/index.tsx b/registry/remocn-ui/input/index.tsxindex d0c33e5d..c69da305 100644--- a/registry/remocn-ui/input/index.tsx+++ b/registry/remocn-ui/input/index.tsx@@ -1,12 +1,12 @@"use client";+import { Caret } from "@/components/remocn/caret";import {mixOklch,type RemocnTheme,revealedText,useRemocnTheme,} from "@/lib/remocn-ui";-import { Caret } from "@/components/remocn/caret";export type InputState =| "idle"@@ -166,7 +166,10 @@ export function Input({const sizeStyle = SIZE_STYLES[size];const ctx = inputStyleContext(theme);const v = style ?? inputStyle(state, ctx);- const revealed = revealedText(value, Math.round(value.length * v.valueReveal));+ const revealed = revealedText(+ value,+ Math.round(value.length * v.valueReveal),+ );return (<divdiff --git a/registry/remocn-ui/input/use-input-transition.ts b/registry/remocn-ui/input/use-input-transition.tsindex 403bfc71..b62c5c51 100644--- a/registry/remocn-ui/input/use-input-transition.ts+++ b/registry/remocn-ui/input/use-input-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type InputState,+ type InputStyle,+ inputStyle,+ inputStyleContext,+} from "@/components/remocn/input";import {easings,mixOklch,@@ -8,12 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- inputStyle,- inputStyleContext,- type InputState,- type InputStyle,-} from "@/components/remocn/input";export const DEFAULT_DURATION = 8;diff --git a/registry/remocn-ui/message-bubble/__tests__/message-bubble.test.ts b/registry/remocn-ui/message-bubble/__tests__/message-bubble.test.tsindex f94f7a3f..6ebcb591 100644--- a/registry/remocn-ui/message-bubble/__tests__/message-bubble.test.ts+++ b/registry/remocn-ui/message-bubble/__tests__/message-bubble.test.ts@@ -1,22 +1,24 @@-import { describe, expect, it } from "bun:test";+import type { Step } from "@/lib/remocn-ui";+import { defaultDarkTheme, defaultLightTheme } from "@/lib/remocn-ui";+import { messageBubbleConfig } from "../config";import {- messageBubbleStyle,- messageBubbleStyleContext,- messageBubbleReactionStyle,type MessageBubbleState,type MessageBubbleVariant,+ messageBubbleReactionStyle,+ messageBubbleStyle,+ messageBubbleStyleContext,} from "../index";import {- tweenMessageBubbleStyle,DEFAULT_DURATION,+ tweenMessageBubbleStyle,} from "../use-message-bubble-transition";-import { messageBubbleConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme, easings, clamp01 } from "@/lib/remocn-ui";-import type { Step } from "@/lib/remocn-ui";const VALID_STATES: readonly MessageBubbleState[] = ["hidden", "visible"];-const VALID_VARIANTS: readonly MessageBubbleVariant[] = ["incoming", "outgoing"];+const VALID_VARIANTS: readonly MessageBubbleVariant[] = [+ "incoming",+ "outgoing",+];type SnippetValues = {state?: string;@@ -261,11 +263,17 @@ describe("tweenMessageBubbleStyle: identity (a === b, any t)", () => {const s = messageBubbleStyle("visible");it("opacity is unchanged when both endpoints are the same", () => {- expect(tweenMessageBubbleStyle(s, s, 0.5).opacity).toBeCloseTo(s.opacity, 10);+ expect(tweenMessageBubbleStyle(s, s, 0.5).opacity).toBeCloseTo(+ s.opacity,+ 10,+ );});it("translateY is unchanged when both endpoints are the same", () => {- expect(tweenMessageBubbleStyle(s, s, 0.5).translateY).toBeCloseTo(s.translateY, 10);+ expect(tweenMessageBubbleStyle(s, s, 0.5).translateY).toBeCloseTo(+ s.translateY,+ 10,+ );});it("scale is unchanged when both endpoints are the same", () => {@@ -325,7 +333,12 @@ function resolveMessageBubbleTransition(steps: Step<MessageBubbleState>[],speed = 1,defaultDuration = DEFAULT_DURATION,-): { style: ReturnType<typeof tweenMessageBubbleStyle>; progress: number; from: MessageBubbleState; to: MessageBubbleState } {+): {+ style: ReturnType<typeof tweenMessageBubbleStyle>;+ progress: number;+ from: MessageBubbleState;+ to: MessageBubbleState;+} {const { from, to, progress } = resolveStateTransition(raw,steps,@@ -339,7 +352,12 @@ function resolveMessageBubbleTransition(messageBubbleStyle(to as MessageBubbleState),t,);- return { style, progress, from: from as MessageBubbleState, to: to as MessageBubbleState };+ return {+ style,+ progress,+ from: from as MessageBubbleState,+ to: to as MessageBubbleState,+ };}describe("resolveMessageBubbleTransition: before any step — holds at hidden", () => {@@ -502,35 +520,57 @@ describe("messageBubbleConfig.snippet: import line", () => {describe("messageBubbleConfig.snippet: structural invariants", () => {it("contains a <MessageBubble JSX element", () => {- expect(snippet({ state: "visible", variant: "incoming" })).toContain("<MessageBubble");+ expect(snippet({ state: "visible", variant: "incoming" })).toContain(+ "<MessageBubble",+ );});it("state prop is always emitted", () => {- expect(snippet({ state: "visible", variant: "incoming" })).toContain('state="visible"');- expect(snippet({ state: "hidden", variant: "outgoing" })).toContain('state="hidden"');+ expect(snippet({ state: "visible", variant: "incoming" })).toContain(+ 'state="visible"',+ );+ expect(snippet({ state: "hidden", variant: "outgoing" })).toContain(+ 'state="hidden"',+ );});it("variant prop is always emitted", () => {- expect(snippet({ state: "visible", variant: "incoming" })).toContain('variant="incoming"');- expect(snippet({ state: "visible", variant: "outgoing" })).toContain('variant="outgoing"');+ expect(snippet({ state: "visible", variant: "incoming" })).toContain(+ 'variant="incoming"',+ );+ expect(snippet({ state: "visible", variant: "outgoing" })).toContain(+ 'variant="outgoing"',+ );});});describe("messageBubbleConfig.snippet: reaction omitted when empty string", () => {it("does not emit reaction prop when reaction is empty string", () => {- const out = snippet({ state: "visible", variant: "incoming", reaction: "" });+ const out = snippet({+ state: "visible",+ variant: "incoming",+ reaction: "",+ });expect(out).not.toContain("reaction=");});});describe("messageBubbleConfig.snippet: reaction emitted when provided", () => {it("emits reaction prop when reaction is a non-empty string", () => {- const out = snippet({ state: "visible", variant: "incoming", reaction: "🔥" });+ const out = snippet({+ state: "visible",+ variant: "incoming",+ reaction: "🔥",+ });expect(out).toContain('reaction="🔥"');});it("emits reaction prop for any non-empty value", () => {- const out = snippet({ state: "visible", variant: "outgoing", reaction: "👍" });+ const out = snippet({+ state: "visible",+ variant: "outgoing",+ reaction: "👍",+ });expect(out).toContain('reaction="👍"');});});diff --git a/registry/remocn-ui/message-bubble/index.tsx b/registry/remocn-ui/message-bubble/index.tsxindex 568f0d2c..d4274d0d 100644--- a/registry/remocn-ui/message-bubble/index.tsx+++ b/registry/remocn-ui/message-bubble/index.tsx@@ -67,7 +67,9 @@ export function messageBubbleStyleContext(};}-export function messageBubbleStyle(state: MessageBubbleState): MessageBubbleStyle {+export function messageBubbleStyle(+ state: MessageBubbleState,+): MessageBubbleStyle {switch (state) {case "visible":return { opacity: 1, translateY: 0, scale: 1 };@@ -109,7 +111,8 @@ export function MessageBubble({width: "100%",opacity: v.opacity,transform: `translateY(${v.translateY}px) scale(${v.scale})`,- transformOrigin: ctx.align === "flex-end" ? "bottom right" : "bottom left",+ transformOrigin:+ ctx.align === "flex-end" ? "bottom right" : "bottom left",}}><div style={{ position: "relative", maxWidth, minWidth: 0 }}>diff --git a/registry/remocn-ui/message-bubble/use-message-bubble-transition.ts b/registry/remocn-ui/message-bubble/use-message-bubble-transition.tsindex 3b92c138..2f754685 100644--- a/registry/remocn-ui/message-bubble/use-message-bubble-transition.ts+++ b/registry/remocn-ui/message-bubble/use-message-bubble-transition.ts@@ -1,11 +1,11 @@"use client";-import { easings, type Step, useStateTransition } from "@/lib/remocn-ui";import {- messageBubbleStyle,type MessageBubbleState,type MessageBubbleStyle,+ messageBubbleStyle,} from "@/components/remocn/message-bubble";+import { easings, type Step, useStateTransition } from "@/lib/remocn-ui";export const DEFAULT_DURATION = 14;@@ -38,5 +38,9 @@ export function useMessageBubbleTransition(defaultDuration,);const t = easings.out(progress);- return tweenMessageBubbleStyle(messageBubbleStyle(from), messageBubbleStyle(to), t);+ return tweenMessageBubbleStyle(+ messageBubbleStyle(from),+ messageBubbleStyle(to),+ t,+ );}diff --git a/registry/remocn-ui/onboarding-stepper-flow/index.tsx b/registry/remocn-ui/onboarding-stepper-flow/index.tsxindex 9e994b71..92b80142 100644--- a/registry/remocn-ui/onboarding-stepper-flow/index.tsx+++ b/registry/remocn-ui/onboarding-stepper-flow/index.tsx@@ -1,14 +1,14 @@"use client";import { Button } from "@/components/remocn/button";-import { useButtonTransition } from "@/components/remocn/use-button-transition";import { Input } from "@/components/remocn/input";-import { useInputTransition } from "@/components/remocn/use-input-transition";import { Radio } from "@/components/remocn/radio";-import { useRadioTransition } from "@/components/remocn/use-radio-transition";import { Stepper } from "@/components/remocn/stepper";-import { useStepperTransition } from "@/components/remocn/use-stepper-transition";import { Switch } from "@/components/remocn/switch";+import { useButtonTransition } from "@/components/remocn/use-button-transition";+import { useInputTransition } from "@/components/remocn/use-input-transition";+import { useRadioTransition } from "@/components/remocn/use-radio-transition";+import { useStepperTransition } from "@/components/remocn/use-stepper-transition";import { useSwitchTransition } from "@/components/remocn/use-switch-transition";import { clamp01, type RemocnTheme } from "@/lib/remocn-ui";@@ -83,7 +83,13 @@ export function OnboardingStepperFlow({<div style={{ position: "relative", width: "100%", height: "100%" }}>{}<div- style={{ position: "absolute", left: 0, right: 0, top: 96, height: 100 }}+ style={{+ position: "absolute",+ left: 0,+ right: 0,+ top: 96,+ height: 100,+ }}><Stepper style={stepperStyle} steps={steps} theme={theme} /></div>@@ -99,7 +105,9 @@ export function OnboardingStepperFlow({}}>{}- <div style={{ position: "absolute", inset: 0, opacity: panelOpacity(0) }}>+ <div+ style={{ position: "absolute", inset: 0, opacity: panelOpacity(0) }}+ ><Inputstyle={nameStyle}placeholder={name}@@ -109,16 +117,16 @@ export function OnboardingStepperFlow({</div>{}- <div style={{ position: "absolute", inset: 0, opacity: panelOpacity(1) }}>- <Radio- style={planStyle}- label={plans[1] ?? "Pro"}- theme={theme}- />+ <div+ style={{ position: "absolute", inset: 0, opacity: panelOpacity(1) }}+ >+ <Radio style={planStyle} label={plans[1] ?? "Pro"} theme={theme} /></div>{}- <div style={{ position: "absolute", inset: 0, opacity: panelOpacity(2) }}>+ <div+ style={{ position: "absolute", inset: 0, opacity: panelOpacity(2) }}+ ><Switchstyle={settingsStyle}label="Email notifications"@@ -129,7 +137,13 @@ export function OnboardingStepperFlow({{}<div- style={{ position: "absolute", left: 0, right: 0, top: NAV_TOP, height: 64 }}+ style={{+ position: "absolute",+ left: 0,+ right: 0,+ top: NAV_TOP,+ height: 64,+ }}><Button label={navLabel} style={navStyle} theme={theme} /></div>diff --git a/registry/remocn-ui/popover/__tests__/popover.test.ts b/registry/remocn-ui/popover/__tests__/popover.test.tsindex 909f9f16..fa2dfda1 100644--- a/registry/remocn-ui/popover/__tests__/popover.test.ts+++ b/registry/remocn-ui/popover/__tests__/popover.test.ts@@ -1,17 +1,9 @@-import { describe, expect, it } from "bun:test";-import {- popoverStyle,- type PopoverState,- type PopoverSide,-} from "../index";-import {- tweenPopoverStyle,- DEFAULT_DURATION,-} from "../use-popover-transition";-import { popoverConfig } from "../config";-import { easings } from "@/lib/remocn-ui";import type { Step } from "@/lib/remocn-ui";+import { easings } from "@/lib/remocn-ui";+import { popoverConfig } from "../config";+import { type PopoverSide, type PopoverState, popoverStyle } from "../index";+import { DEFAULT_DURATION, tweenPopoverStyle } from "../use-popover-transition";const VALID_STATES: readonly PopoverState[] = ["opened", "closed"];const VALID_SIDES: readonly PopoverSide[] = ["top", "bottom", "left", "right"];@@ -223,11 +215,18 @@ function resolveStateTransition<S extends string>(}function resolvePopoverTransition(- raw: number, // injected useCurrentFrame() — MIRROR line 49+ raw: number, // injected useCurrentFrame() — MIRROR line 49steps: Step<PopoverState>[],speed = 1,defaultDuration = DEFAULT_DURATION,-): { opacity: number; scale: number; translate: number; from: PopoverState; to: PopoverState; progress: number } {+): {+ opacity: number;+ scale: number;+ translate: number;+ from: PopoverState;+ to: PopoverState;+ progress: number;+} {const { from, to, progress } = resolveStateTransition(raw,steps,@@ -241,7 +240,12 @@ function resolvePopoverTransition(popoverStyle(to as PopoverState),t,);- return { ...style, from: from as PopoverState, to: to as PopoverState, progress };+ return {+ ...style,+ from: from as PopoverState,+ to: to as PopoverState,+ progress,+ };}describe("resolvePopoverTransition: before any step — holds at closed", () => {@@ -312,15 +316,22 @@ describe("resolvePopoverTransition: past the window → fully opened", () => {const steps: Step<PopoverState>[] = [{ at: 0, state: "opened" }];it("opacity is 1 after DEFAULT_DURATION frames", () => {- expect(resolvePopoverTransition(DEFAULT_DURATION, steps).opacity).toBeCloseTo(1, 10);+ expect(+ resolvePopoverTransition(DEFAULT_DURATION, steps).opacity,+ ).toBeCloseTo(1, 10);});it("scale is 1 after DEFAULT_DURATION frames", () => {- expect(resolvePopoverTransition(DEFAULT_DURATION, steps).scale).toBeCloseTo(1, 10);+ expect(resolvePopoverTransition(DEFAULT_DURATION, steps).scale).toBeCloseTo(+ 1,+ 10,+ );});it("translate is 0 after DEFAULT_DURATION frames", () => {- expect(resolvePopoverTransition(DEFAULT_DURATION, steps).translate).toBeCloseTo(0, 10);+ expect(+ resolvePopoverTransition(DEFAULT_DURATION, steps).translate,+ ).toBeCloseTo(0, 10);});});@@ -452,7 +463,9 @@ describe("popoverConfig.snippet: default props are omitted", () => {});it("omits description when it is empty string", () => {- expect(snippet({ state: "opened", description: "" })).not.toContain("description=");+ expect(snippet({ state: "opened", description: "" })).not.toContain(+ "description=",+ );});it("omits side when it equals the default 'bottom'", () => {@@ -466,12 +479,17 @@ describe("popoverConfig.snippet: default props are omitted", () => {describe("popoverConfig.snippet: non-default props are emitted", () => {it("emits title when non-empty", () => {- expect(snippet({ state: "opened", title: "Dimensions" })).toContain('title="Dimensions"');+ expect(snippet({ state: "opened", title: "Dimensions" })).toContain(+ 'title="Dimensions"',+ );});it("emits description when non-empty", () => {expect(- snippet({ state: "opened", description: "Set the dimensions for the layer." })+ snippet({+ state: "opened",+ description: "Set the dimensions for the layer.",+ }),).toContain('description="Set the dimensions for the layer."');});@@ -484,7 +502,9 @@ describe("popoverConfig.snippet: non-default props are emitted", () => {});it("emits side='right' when non-default", () => {- expect(snippet({ state: "opened", side: "right" })).toContain('side="right"');+ expect(snippet({ state: "opened", side: "right" })).toContain(+ 'side="right"',+ );});it("emits width when non-default", () => {diff --git a/registry/remocn-ui/popover/config.ts b/registry/remocn-ui/popover/config.tsindex cab0a4d9..5d7ff77d 100644--- a/registry/remocn-ui/popover/config.ts+++ b/registry/remocn-ui/popover/config.ts@@ -48,14 +48,11 @@ export const popoverConfig: ComponentConfig = {const width = values.width as number | undefined;const props: string[] = [` state="${state}"`];- if (title !== undefined && title !== "")- props.push(` title="${title}"`);+ if (title !== undefined && title !== "") props.push(` title="${title}"`);if (description !== undefined && description !== "")props.push(` description="${description}"`);- if (side !== undefined && side !== "bottom")- props.push(` side="${side}"`);- if (width !== undefined && width !== 288)- props.push(` width={${width}}`);+ if (side !== undefined && side !== "bottom") props.push(` side="${side}"`);+ if (width !== undefined && width !== 288) props.push(` width={${width}}`);return `import { Popover } from "@/components/remocn/popover";diff --git a/registry/remocn-ui/popover/index.tsx b/registry/remocn-ui/popover/index.tsxindex f5b630a6..3f354032 100644--- a/registry/remocn-ui/popover/index.tsx+++ b/registry/remocn-ui/popover/index.tsx@@ -34,7 +34,10 @@ export function popoverStyle(state: PopoverState): PopoverStyle {}}-function offsetFor(side: PopoverSide, translate: number): { x: number; y: number } {+function offsetFor(+ side: PopoverSide,+ translate: number,+): { x: number; y: number } {switch (side) {case "bottom":return { x: 0, y: -translate };diff --git a/registry/remocn-ui/popover/use-popover-transition.ts b/registry/remocn-ui/popover/use-popover-transition.tsindex e55bfab8..c3fbbe2c 100644--- a/registry/remocn-ui/popover/use-popover-transition.ts+++ b/registry/remocn-ui/popover/use-popover-transition.ts@@ -1,11 +1,11 @@"use client";-import { easings, type Step, useStateTransition } from "@/lib/remocn-ui";import {- popoverStyle,type PopoverState,type PopoverStyle,+ popoverStyle,} from "@/components/remocn/popover";+import { easings, type Step, useStateTransition } from "@/lib/remocn-ui";export const DEFAULT_DURATION = 10;diff --git a/registry/remocn-ui/progress/__tests__/progress.test.ts b/registry/remocn-ui/progress/__tests__/progress.test.tsindex cc3d417d..f1e6734b 100644--- a/registry/remocn-ui/progress/__tests__/progress.test.ts+++ b/registry/remocn-ui/progress/__tests__/progress.test.ts@@ -1,13 +1,12 @@-import { describe, expect, it } from "bun:test";+import { clamp01, easings } from "@/lib/remocn-ui";+import { progressConfig } from "../config";import {- tweenProgressStyle,- progressValueAt,DEFAULT_DURATION,type ProgressStep,+ progressValueAt,+ tweenProgressStyle,} from "../use-progress-transition";-import { progressConfig } from "../config";-import { easings, clamp01 } from "@/lib/remocn-ui";type SnippetValues = {value?: number;@@ -181,7 +180,10 @@ describe("progressValueAt: past last step — rests at last.value", () => {});describe("progressValueAt: mid-window uses easings.out (not linear)", () => {- const steps: ProgressStep[] = [{ at: 0, value: 0 }, { at: 24, value: 100 }];+ const steps: ProgressStep[] = [+ { at: 0, value: 0 },+ { at: 24, value: 100 },+ ];it("raw=12 gives value=87.5 (out-eased, not linear 50)", () => {const r = progressValueAt(steps, 12);@@ -194,7 +196,10 @@ describe("progressValueAt: mid-window uses easings.out (not linear)", () => {});describe("progressValueAt: exactly at a step boundary — progress=0", () => {- const steps: ProgressStep[] = [{ at: 0, value: 0 }, { at: 24, value: 100 }];+ const steps: ProgressStep[] = [+ { at: 0, value: 0 },+ { at: 24, value: 100 },+ ];it("raw=24 exactly (at last step boundary) → pastLast=true → value=100", () => {expect(progressValueAt(steps, 24).value).toBeCloseTo(100, 10);@@ -222,7 +227,10 @@ describe("progressValueAt: two-step timeline mid-second segment", () => {});describe("progressValueAt: custom duration on a step", () => {- const steps: ProgressStep[] = [{ at: 0, value: 0 }, { at: 12, value: 100, duration: 12 }];+ const steps: ProgressStep[] = [+ { at: 0, value: 0 },+ { at: 12, value: 100, duration: 12 },+ ];it("custom duration=12: raw=6 gives value=87.5", () => {expect(progressValueAt(steps, 6).value).toBeCloseTo(87.5, 8);@@ -230,7 +238,10 @@ describe("progressValueAt: custom duration on a step", () => {});describe("progressValueAt: easing applied before lerp (default 'out')", () => {- const steps: ProgressStep[] = [{ at: 0, value: 0 }, { at: 24, value: 100 }];+ const steps: ProgressStep[] = [+ { at: 0, value: 0 },+ { at: 24, value: 100 },+ ];it("value at raw=12 (linear 0.5) is 87.5, not 50", () => {const r = progressValueAt(steps, 12);@@ -336,7 +347,6 @@ describe("progressConfig.snippet: value is always emitted", () => {});describe("progressConfig.snippet: default props are omitted", () => {-it("omits width when it equals the default 320", () => {const out = snippet({ value: 50, width: 320 });expect(out).not.toContain("width=");diff --git a/registry/remocn-ui/progress/config.ts b/registry/remocn-ui/progress/config.tsindex b0a670a8..d421227b 100644--- a/registry/remocn-ui/progress/config.ts+++ b/registry/remocn-ui/progress/config.ts@@ -4,7 +4,14 @@ export const progressConfig: ComponentConfig = {componentName: "Progress",importPath: "@/components/remocn/progress",controls: {- value: { type: "number", default: 62, min: 0, max: 100, step: 1, label: "Value" },+ value: {+ type: "number",+ default: 62,+ min: 0,+ max: 100,+ step: 1,+ label: "Value",+ },width: {type: "number",default: 320,diff --git a/registry/remocn-ui/progress/use-progress-transition.ts b/registry/remocn-ui/progress/use-progress-transition.tsindex 23bc9d66..820cee53 100644--- a/registry/remocn-ui/progress/use-progress-transition.ts+++ b/registry/remocn-ui/progress/use-progress-transition.ts@@ -1,8 +1,8 @@"use client";import { useCurrentFrame } from "remotion";-import { clamp01, type EasingName, easings } from "@/lib/remocn-ui";import type { ProgressStyle } from "@/components/remocn/progress";+import { clamp01, type EasingName, easings } from "@/lib/remocn-ui";export interface ProgressStep {at: number;diff --git a/registry/remocn-ui/radio/__tests__/radio.test.ts b/registry/remocn-ui/radio/__tests__/radio.test.tsindex 55193527..48013a63 100644--- a/registry/remocn-ui/radio/__tests__/radio.test.ts+++ b/registry/remocn-ui/radio/__tests__/radio.test.ts@@ -1,13 +1,8 @@-import { describe, expect, it } from "bun:test";-import {- type RadioState,- radioStyle,- radioStyleContext,-} from "../index";-import { tweenRadioStyle } from "../use-radio-transition";-import { radioConfig } from "../config";import { defaultLightTheme } from "@/lib/remocn-ui";+import { radioConfig } from "../config";+import { type RadioState, radioStyle, radioStyleContext } from "../index";+import { tweenRadioStyle } from "../use-radio-transition";const VALID_STATES: readonly RadioState[] = ["unchecked", "checked"];@@ -24,13 +19,15 @@ const snippet = (values: SnippetValues): string =>describe("RadioState union", () => {it("contains exactly the two documented states", () => {const control = radioConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["unchecked", "checked"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = radioConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -45,7 +42,8 @@ describe("radioConfig.controls.state", () => {it("has exactly the two RadioState options in order", () => {const control = radioConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["unchecked", "checked"]);});@@ -56,7 +54,8 @@ describe("radioConfig.controls.state", () => {it("every option is a member of the RadioState union", () => {const control = radioConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as RadioState);}@@ -64,17 +63,18 @@ describe("radioConfig.controls.state", () => {});describe("radioConfig.snippet: state prop emission", () => {- it("emits state=\"unchecked\" for the unchecked option", () => {+ it('emits state="unchecked" for the unchecked option', () => {expect(snippet({ state: "unchecked" })).toContain('state="unchecked"');});- it("emits state=\"checked\" for the checked option", () => {+ it('emits state="checked" for the checked option', () => {expect(snippet({ state: "checked" })).toContain('state="checked"');});it("emits the correct state for every control option", () => {const control = radioConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -99,7 +99,7 @@ describe("radioConfig.snippet: NEVER emits steps or action", () => {describe("radioConfig.snippet: import line", () => {it("includes `import { Radio }` from the correct path", () => {const out = snippet({ state: "checked" });- expect(out).toContain('import { Radio }');+ expect(out).toContain("import { Radio }");expect(out).toContain('from "@/components/remocn/radio"');});});@@ -127,7 +127,9 @@ describe("radioConfig.snippet: default props are omitted", () => {describe("radioConfig.snippet: non-default props are emitted", () => {it("emits a non-default label", () => {- expect(snippet({ state: "checked", label: "Option A" })).toContain('label="Option A"');+ expect(snippet({ state: "checked", label: "Option A" })).toContain(+ 'label="Option A"',+ );});it("emits a non-default size", () => {@@ -135,7 +137,9 @@ describe("radioConfig.snippet: non-default props are emitted", () => {});it("emits a non-default primary color", () => {- expect(snippet({ state: "checked", primary: "#6366f1" })).toContain('primary="#6366f1"');+ expect(snippet({ state: "checked", primary: "#6366f1" })).toContain(+ 'primary="#6366f1"',+ );});});@@ -143,7 +147,7 @@ describe("radioConfig.snippet: structural round-trip", () => {const out = snippet({ state: "checked" });it("starts with the import line", () => {- expect(out.startsWith('import { Radio }')).toBe(true);+ expect(out.startsWith("import { Radio }")).toBe(true);});it("contains a <Radio JSX opening", () => {diff --git a/registry/remocn-ui/radio/config.ts b/registry/remocn-ui/radio/config.tsindex 5f8e6295..c2d3ffe8 100644--- a/registry/remocn-ui/radio/config.ts+++ b/registry/remocn-ui/radio/config.ts@@ -32,8 +32,7 @@ export const radioConfig: ComponentConfig = {const primary = values.primary as string | undefined;const props: string[] = [` state="${state}"`];- if (label !== undefined && label !== "")- props.push(` label="${label}"`);+ if (label !== undefined && label !== "") props.push(` label="${label}"`);if (size !== undefined && size !== "default")props.push(` size="${size}"`);if (primary !== undefined && primary !== "#171717")diff --git a/registry/remocn-ui/radio/use-radio-transition.ts b/registry/remocn-ui/radio/use-radio-transition.tsindex 5cbea448..73036e30 100644--- a/registry/remocn-ui/radio/use-radio-transition.ts+++ b/registry/remocn-ui/radio/use-radio-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type RadioState,+ type RadioStyle,+ radioStyle,+ radioStyleContext,+} from "@/components/remocn/radio";import {easings,mixOklch,@@ -8,12 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- radioStyle,- radioStyleContext,- type RadioState,- type RadioStyle,-} from "@/components/remocn/radio";export const DEFAULT_DURATION = 10;diff --git a/registry/remocn-ui/registry.json b/registry/remocn-ui/registry.jsonindex 9b2e2eaf..0c83c9ce 100644--- a/registry/remocn-ui/registry.json+++ b/registry/remocn-ui/registry.json@@ -333,7 +333,11 @@"title": "UI Select","description": "A select whose opened/closed state is a pure function of the timeline; the trigger reuses the Button primitive and the reveal panel composes SelectItem rows. The panel fade, scale, lift, and chevron are keyframed presets.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/button", "@remocn/select-item"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/button",+ "@remocn/select-item"+ ],"files": [{"path": "select/index.tsx",@@ -393,7 +397,11 @@"title": "UI Dropdown Menu","description": "A dropdown menu whose opened/closed state is a pure function of the timeline; the trigger reuses the Button primitive and the reveal panel composes DropdownMenuItem rows. The panel fade, scale, lift, and chevron are keyframed presets.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/button", "@remocn/dropdown-menu-item"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/button",+ "@remocn/dropdown-menu-item"+ ],"files": [{"path": "dropdown-menu/index.tsx",@@ -473,7 +481,10 @@"title": "UI Command Menu","description": "A ⌘K command palette whose opened/closed state is a pure function of the timeline; the panel zoom + backdrop dim are dialog-like keyframed presets. The search row reveals the typed query, the list is filtered by a pure case-insensitive substring on the visible query prefix, and rows reuse the CommandMenuItem row.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/command-menu-item"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/command-menu-item"+ ],"files": [{"path": "command-menu/index.tsx",@@ -588,7 +599,11 @@"title": "UI Combobox","description": "A combobox whose opened/closed state is a pure function of the timeline; the panel fade/scale/lift are keyframed presets like select. The trigger reuses the Input presets (typed query + caret reveal via an injected inputStyle), the list is filtered by a pure case-insensitive substring on the visible query prefix, and rows reuse the SelectItem row.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/input", "@remocn/select-item"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/input",+ "@remocn/select-item"+ ],"files": [{"path": "combobox/index.tsx",@@ -628,7 +643,10 @@"title": "UI Context Menu","description": "A right-click context menu whose opened/closed state is a pure function of the timeline; the panel scales from its top-left corner (the click point) with a fade + lift. No trigger — the caller positions it. Rows reuse the DropdownMenuItem row; items are plain string labels.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/dropdown-menu-item"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/dropdown-menu-item"+ ],"files": [{"path": "context-menu/index.tsx",@@ -708,7 +726,15 @@"title": "UI Signup Flow","description": "A signup card composition: a real shadcn-style card (header, labeled Full Name / Email / Password / Confirm fields, primary + Google-outline buttons, sign-in footer) whose cursor fills each field top-to-bottom, then clicks Create account (hover → press → loading → success) as a success toast slides in. A pure orchestrator — every channel comes from a composed primitive's transition hook.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/cursor", "@remocn/input", "@remocn/button", "@remocn/toast", "@remocn/field", "@remocn/blur-in"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/cursor",+ "@remocn/input",+ "@remocn/button",+ "@remocn/toast",+ "@remocn/field",+ "@remocn/blur-in"+ ],"files": [{"path": "signup-flow/index.tsx",@@ -723,7 +749,14 @@"title": "UI AI Prompt Flow","description": "An AI prompt composition: a prompt types into the field, the Generate button runs hover → press → loading, a skeleton shimmer reveals, then crossfades into the generated answer, and a ready toast slides in. A pure orchestrator — the shimmer is owned by the skeleton-block motion atom; every other channel comes from a composed primitive's hook.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/input", "@remocn/button", "@remocn/skeleton", "@remocn/skeleton-block", "@remocn/toast"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/input",+ "@remocn/button",+ "@remocn/skeleton",+ "@remocn/skeleton-block",+ "@remocn/toast"+ ],"files": [{"path": "ai-prompt-flow/index.tsx",@@ -738,7 +771,17 @@"title": "UI Checkout Flow","description": "A cursor-driven checkout card: the card and its fields blur-in, then the pointer flips a billing-cycle toggle, types a card number, ticks the terms checkbox, and presses Pay through to success, ending in a toast. A pure orchestrator — every channel comes from a composed primitive's transition hook.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/toggle-group", "@remocn/input", "@remocn/checkbox", "@remocn/button", "@remocn/field", "@remocn/blur-in", "@remocn/cursor", "@remocn/toast"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/toggle-group",+ "@remocn/input",+ "@remocn/checkbox",+ "@remocn/button",+ "@remocn/field",+ "@remocn/blur-in",+ "@remocn/cursor",+ "@remocn/toast"+ ],"files": [{"path": "checkout-flow/index.tsx",@@ -753,7 +796,14 @@"title": "UI Onboarding Stepper Flow","description": "A multi-step onboarding composition: a horizontal stepper advances through panels of input, radio, and switch fields, finishing on a Finish button that runs to success. Panel crossfade derives linearly from the stepper's exposed position channel; every other channel comes from a composed primitive's hook.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/stepper", "@remocn/input", "@remocn/radio", "@remocn/switch", "@remocn/button"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/stepper",+ "@remocn/input",+ "@remocn/radio",+ "@remocn/switch",+ "@remocn/button"+ ],"files": [{"path": "onboarding-stepper-flow/index.tsx",@@ -768,7 +818,16 @@"title": "UI Settings Toggle Flow","description": "A two-column settings card: the card and its controls blur-in, then the cursor flips a switch, opens a select, drags a labeled slider, and clicks Save, ending in a saved toast. A pure orchestrator — every channel comes from a composed primitive's transition hook.","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/switch", "@remocn/select", "@remocn/slider", "@remocn/button", "@remocn/blur-in", "@remocn/cursor", "@remocn/toast"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/switch",+ "@remocn/select",+ "@remocn/slider",+ "@remocn/button",+ "@remocn/blur-in",+ "@remocn/cursor",+ "@remocn/toast"+ ],"files": [{"path": "settings-toggle-flow/index.tsx",@@ -818,7 +877,12 @@"title": "UI Chat Flow","description": "A messaging composition: an outgoing message types into the composer, the send button presses, and the bubble rises in; the other side shows a typing indicator that swaps into the reply, and reactions pop in. A pure orchestrator — every channel comes from a composed primitive's hook (Input, MessageBubble, TypingIndicator).","dependencies": ["remotion"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret", "@remocn/message-bubble", "@remocn/typing-indicator"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/caret",+ "@remocn/message-bubble",+ "@remocn/typing-indicator"+ ],"files": [{"path": "chat-flow/index.tsx",@@ -848,7 +912,11 @@"title": "UI iMessage Chat Flow","description": "An iMessage-styled messaging composition: gray incoming and blue outgoing bubbles with tails, an in-thread typing bubble with dots, a Delivered label, and tapback-style reaction badges. The composer types the outgoing message before sending. Chrome icons come from lucide-react; self-contained otherwise, composing the caret and typing-indicator primitives.","dependencies": ["remotion", "lucide-react"],- "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret", "@remocn/typing-indicator"],+ "registryDependencies": [+ "@remocn/remocn-ui",+ "@remocn/caret",+ "@remocn/typing-indicator"+ ],"files": [{"path": "imessage-chat-flow/index.tsx",diff --git a/registry/remocn-ui/resizable/__tests__/resizable.test.ts b/registry/remocn-ui/resizable/__tests__/resizable.test.tsindex 9c8d22c3..38c15471 100644--- a/registry/remocn-ui/resizable/__tests__/resizable.test.ts+++ b/registry/remocn-ui/resizable/__tests__/resizable.test.ts@@ -1,19 +1,18 @@-import { describe, expect, it } from "bun:test";+import { defaultDarkTheme, defaultLightTheme } from "@/lib/remocn-ui";+import { resizableConfig } from "../config";import {+ type ResizableHandleState,resizableHandleStyle,- resizableStyleContext,resizableStyle,- type ResizableHandleState,+ resizableStyleContext,} from "../index";import {- tweenResizableStyle,- resizableStyleAt,DEFAULT_DURATION,type ResizableStep,+ resizableStyleAt,+ tweenResizableStyle,} from "../use-resizable-transition";-import { resizableConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme } from "@/lib/remocn-ui";const VALID_HANDLE_STATES: readonly ResizableHandleState[] = ["idle",@@ -99,11 +98,7 @@ describe("resizableHandleStyle: every state returns numeric fields", () => {});});-function clampRatio(- ratio: number,- minRatio: number,- maxRatio: number,-): number {+function clampRatio(ratio: number, minRatio: number, maxRatio: number): number {return Math.min(maxRatio, Math.max(minRatio, ratio));}@@ -383,7 +378,9 @@ describe("resizableStyleAt: empty steps → ratio=0.5, handle=idle", () => {const r = resizableStyleAt([], 0);expect(r.ratio).toBe(0.5);expect(r.handleScale).toBe(resizableHandleStyle("idle").handleScale);- expect(r.handleRingOpacity).toBe(resizableHandleStyle("idle").handleRingOpacity);+ expect(r.handleRingOpacity).toBe(+ resizableHandleStyle("idle").handleRingOpacity,+ );});});@@ -489,7 +486,10 @@ describe("resizableStyleAt: dual-channel steps fold independently", () => {it("handle channel at raw=18 (past last) → hover preset values", () => {const r = resizableStyleAt(steps, 18);- expect(r.handleScale).toBeCloseTo(resizableHandleStyle("hover").handleScale, 10);+ expect(r.handleScale).toBeCloseTo(+ resizableHandleStyle("hover").handleScale,+ 10,+ );expect(r.handleRingOpacity).toBeCloseTo(resizableHandleStyle("hover").handleRingOpacity,10,@@ -506,7 +506,9 @@ describe("resizableStyleAt: channels can have different step counts", () => {it("handle is idle when no handle steps are present", () => {const r = resizableStyleAt(ratioOnlySteps, 9);expect(r.handleScale).toBe(resizableHandleStyle("idle").handleScale);- expect(r.handleRingOpacity).toBe(resizableHandleStyle("idle").handleRingOpacity);+ expect(r.handleRingOpacity).toBe(+ resizableHandleStyle("idle").handleRingOpacity,+ );});const handleOnlySteps: ResizableStep[] = [@@ -520,12 +522,17 @@ describe("resizableStyleAt: channels can have different step counts", () => {});describe("resizableStyleAt: past last with both channels — single-step timeline", () => {- const steps: ResizableStep[] = [{ at: 18, ratio: 0.75, handleState: "press" }];+ const steps: ResizableStep[] = [+ { at: 18, ratio: 0.75, handleState: "press" },+ ];it("raw=50 → ratio=0.75, handle=press preset", () => {const r = resizableStyleAt(steps, 50);expect(r.ratio).toBeCloseTo(0.75, 10);- expect(r.handleScale).toBeCloseTo(resizableHandleStyle("press").handleScale, 10);+ expect(r.handleScale).toBeCloseTo(+ resizableHandleStyle("press").handleScale,+ 10,+ );expect(r.handleRingOpacity).toBeCloseTo(resizableHandleStyle("press").handleRingOpacity,10,diff --git a/registry/remocn-ui/resizable/index.tsx b/registry/remocn-ui/resizable/index.tsxindex d36e106d..b9f3796d 100644--- a/registry/remocn-ui/resizable/index.tsx+++ b/registry/remocn-ui/resizable/index.tsx@@ -1,7 +1,7 @@"use client";import type { ReactNode } from "react";-import { clamp01, mixOklch, type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";+import { mixOklch, type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";export type ResizableHandleState = "idle" | "hover" | "press";@@ -61,7 +61,9 @@ export interface ResizableStyleContext {radius: number;}-export function resizableStyleContext(theme: RemocnTheme): ResizableStyleContext {+export function resizableStyleContext(+ theme: RemocnTheme,+): ResizableStyleContext {return {containerBg: theme.background,border: theme.border,@@ -213,7 +215,9 @@ export function Resizable({overflow: "hidden",}}>- {second ?? <Placeholder label="Panel two" color={ctx.placeholderFg} />}+ {second ?? (+ <Placeholder label="Panel two" color={ctx.placeholderFg} />+ )}</div></div></div>diff --git a/registry/remocn-ui/resizable/use-resizable-transition.ts b/registry/remocn-ui/resizable/use-resizable-transition.tsindex 2e9f3167..d32695e2 100644--- a/registry/remocn-ui/resizable/use-resizable-transition.ts+++ b/registry/remocn-ui/resizable/use-resizable-transition.ts@@ -1,12 +1,12 @@"use client";import { useCurrentFrame } from "remotion";-import { clamp01, type EasingName, easings } from "@/lib/remocn-ui";import {- resizableHandleStyle,type ResizableHandleState,type ResizableStyle,+ resizableHandleStyle,} from "@/components/remocn/resizable";+import { clamp01, type EasingName, easings } from "@/lib/remocn-ui";export interface ResizableStep {at: number;diff --git a/registry/remocn-ui/select-item/__tests__/select-item.test.ts b/registry/remocn-ui/select-item/__tests__/select-item.test.tsindex fc9ed852..2ee11a78 100644--- a/registry/remocn-ui/select-item/__tests__/select-item.test.ts+++ b/registry/remocn-ui/select-item/__tests__/select-item.test.ts@@ -1,15 +1,22 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme } from "@/lib/remocn-ui";+import { selectItemConfig } from "../config";import {type SelectItemState,selectItemStyle,selectItemStyleContext,} from "../index";-import { tweenSelectItemStyle, DEFAULT_DURATION } from "../use-select-item-transition";-import { selectItemConfig } from "../config";-import { defaultLightTheme } from "@/lib/remocn-ui";+import {+ DEFAULT_DURATION,+ tweenSelectItemStyle,+} from "../use-select-item-transition";-const VALID_STATES: readonly SelectItemState[] = ["idle", "hover", "press", "selected"];+const VALID_STATES: readonly SelectItemState[] = [+ "idle",+ "hover",+ "press",+ "selected",+];type SnippetValues = {state?: string;@@ -24,13 +31,15 @@ const ctx = selectItemStyleContext(defaultLightTheme);describe("SelectItemState union", () => {it("contains exactly the four documented states", () => {const control = selectItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["idle", "hover", "press", "selected"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = selectItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(4);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -45,7 +54,8 @@ describe("selectItemConfig.controls.state", () => {it("has exactly the four SelectItemState options in order", () => {const control = selectItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["idle", "hover", "press", "selected"]);});@@ -56,7 +66,8 @@ describe("selectItemConfig.controls.state", () => {it("every option is a member of the SelectItemState union", () => {const control = selectItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as SelectItemState);}@@ -64,25 +75,26 @@ describe("selectItemConfig.controls.state", () => {});describe("selectItemConfig.snippet: state prop emission", () => {- it("emits state=\"idle\" for the idle option", () => {+ it('emits state="idle" for the idle option', () => {expect(snippet({ state: "idle" })).toContain('state="idle"');});- it("emits state=\"hover\" for the hover option", () => {+ it('emits state="hover" for the hover option', () => {expect(snippet({ state: "hover" })).toContain('state="hover"');});- it("emits state=\"press\" for the press option", () => {+ it('emits state="press" for the press option', () => {expect(snippet({ state: "press" })).toContain('state="press"');});- it("emits state=\"selected\" for the selected option", () => {+ it('emits state="selected" for the selected option', () => {expect(snippet({ state: "selected" })).toContain('state="selected"');});it("emits the correct state for every control option", () => {const control = selectItemConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -93,7 +105,7 @@ describe("selectItemConfig.snippet: state prop emission", () => {describe("selectItemConfig.snippet: import line", () => {it("includes `import { SelectItem }` from the correct path", () => {const out = snippet({ state: "selected" });- expect(out).toContain('import { SelectItem }');+ expect(out).toContain("import { SelectItem }");expect(out).toContain('from "@/components/remocn/select-item"');});});@@ -111,8 +123,9 @@ describe("selectItemConfig.snippet: default props are omitted", () => {describe("selectItemConfig.snippet: non-default props are emitted", () => {it("emits a non-default label", () => {- expect(snippet({ state: "selected", label: "Mango" }))- .toContain('label="Mango"');+ expect(snippet({ state: "selected", label: "Mango" })).toContain(+ 'label="Mango"',+ );});});@@ -120,7 +133,7 @@ describe("selectItemConfig.snippet: structural round-trip", () => {const out = snippet({ state: "selected" });it("starts with the import line", () => {- expect(out.startsWith('import { SelectItem }')).toBe(true);+ expect(out.startsWith("import { SelectItem }")).toBe(true);});it("contains a <SelectItem JSX opening", () => {diff --git a/registry/remocn-ui/select-item/use-select-item-transition.ts b/registry/remocn-ui/select-item/use-select-item-transition.tsindex 3a2abd40..938acbbb 100644--- a/registry/remocn-ui/select-item/use-select-item-transition.ts+++ b/registry/remocn-ui/select-item/use-select-item-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type SelectItemState,+ type SelectItemStyle,+ selectItemStyle,+ selectItemStyleContext,+} from "@/components/remocn/select-item";import {easings,mixOklch,@@ -8,12 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- selectItemStyle,- selectItemStyleContext,- type SelectItemState,- type SelectItemStyle,-} from "@/components/remocn/select-item";export const DEFAULT_DURATION = 8;@@ -41,8 +41,12 @@ export function useSelectItemTransition(steps: Step<SelectItemState>[],opts: SelectItemTransitionOptions = {},): SelectItemStyle {- const { theme: themeOverride, mode, speed = 1, defaultDuration = DEFAULT_DURATION } =- opts;+ const {+ theme: themeOverride,+ mode,+ speed = 1,+ defaultDuration = DEFAULT_DURATION,+ } = opts;const theme = useRemocnTheme(themeOverride, mode);const ctx = selectItemStyleContext(theme);const { from, to, progress } = useStateTransition(diff --git a/registry/remocn-ui/select/__tests__/select.test.ts b/registry/remocn-ui/select/__tests__/select.test.tsindex 2d587a40..5e5aebbc 100644--- a/registry/remocn-ui/select/__tests__/select.test.ts+++ b/registry/remocn-ui/select/__tests__/select.test.ts@@ -1,13 +1,8 @@-import { describe, expect, it } from "bun:test";-import {- type SelectState,- selectStyle,- selectStyleContext,-} from "../index";-import { tweenSelectStyle, DEFAULT_DURATION } from "../use-select-transition";-import { selectConfig } from "../config";import { defaultLightTheme } from "@/lib/remocn-ui";+import { selectConfig } from "../config";+import { type SelectState, selectStyle, selectStyleContext } from "../index";+import { DEFAULT_DURATION, tweenSelectStyle } from "../use-select-transition";const VALID_STATES: readonly SelectState[] = ["opened", "closed"];@@ -26,13 +21,15 @@ const ctx = selectStyleContext(defaultLightTheme);describe("SelectState union", () => {it("contains exactly the two documented states", () => {const control = selectConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = selectConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -47,7 +44,8 @@ describe("selectConfig.controls.state", () => {it("has exactly the two SelectState options in order", () => {const control = selectConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});@@ -58,7 +56,8 @@ describe("selectConfig.controls.state", () => {it("every option is a member of the SelectState union", () => {const control = selectConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as SelectState);}@@ -66,17 +65,18 @@ describe("selectConfig.controls.state", () => {});describe("selectConfig.snippet: state prop emission", () => {- it("emits state=\"opened\" for the opened option", () => {+ it('emits state="opened" for the opened option', () => {expect(snippet({ state: "opened" })).toContain('state="opened"');});- it("emits state=\"closed\" for the closed option", () => {+ it('emits state="closed" for the closed option', () => {expect(snippet({ state: "closed" })).toContain('state="closed"');});it("emits the correct state for every control option", () => {const control = selectConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -87,7 +87,7 @@ describe("selectConfig.snippet: state prop emission", () => {describe("selectConfig.snippet: import line", () => {it("includes `import { Select }` from the correct path", () => {const out = snippet({ state: "opened" });- expect(out).toContain('import { Select }');+ expect(out).toContain("import { Select }");expect(out).toContain('from "@/components/remocn/select"');});});@@ -111,23 +111,25 @@ describe("selectConfig.snippet: default props are omitted", () => {it("omits highlightedIndex when it equals the default -1", () => {expect(allDefaults).not.toContain("highlightedIndex=");});-});describe("selectConfig.snippet: non-default props are emitted", () => {it("emits a non-default label", () => {- expect(snippet({ state: "opened", label: "Choose a color" }))- .toContain('label="Choose a color"');+ expect(snippet({ state: "opened", label: "Choose a color" })).toContain(+ 'label="Choose a color"',+ );});it("emits a non-default selectedIndex", () => {- expect(snippet({ state: "opened", selectedIndex: 2 }))- .toContain("selectedIndex={2}");+ expect(snippet({ state: "opened", selectedIndex: 2 })).toContain(+ "selectedIndex={2}",+ );});it("emits a non-default highlightedIndex", () => {- expect(snippet({ state: "opened", highlightedIndex: 1 }))- .toContain("highlightedIndex={1}");+ expect(snippet({ state: "opened", highlightedIndex: 1 })).toContain(+ "highlightedIndex={1}",+ );});});@@ -135,7 +137,7 @@ describe("selectConfig.snippet: structural round-trip", () => {const out = snippet({ state: "opened" });it("starts with the import line", () => {- expect(out.startsWith('import { Select }')).toBe(true);+ expect(out.startsWith("import { Select }")).toBe(true);});it("contains a <Select JSX opening", () => {diff --git a/registry/remocn-ui/select/index.tsx b/registry/remocn-ui/select/index.tsxindex 976b0c04..9ebbec55 100644--- a/registry/remocn-ui/select/index.tsx+++ b/registry/remocn-ui/select/index.tsx@@ -1,20 +1,20 @@"use client";-import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";import {- buttonStyle,- buttonStyleContext,type ButtonStyle,type ButtonStyleContext,+ buttonStyle,+ buttonStyleContext,} from "@/components/remocn/button";import {SelectItemRow,- selectItemStyle,- selectItemStyleContext,type SelectItemState,type SelectItemStyle,type SelectItemStyleContext,+ selectItemStyle,+ selectItemStyleContext,} from "@/components/remocn/select-item";+import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";export type SelectState = "opened" | "closed";diff --git a/registry/remocn-ui/select/use-select-transition.ts b/registry/remocn-ui/select/use-select-transition.tsindex 87d97baa..9a748387 100644--- a/registry/remocn-ui/select/use-select-transition.ts+++ b/registry/remocn-ui/select/use-select-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type SelectState,+ type SelectStyle,+ selectStyle,+ selectStyleContext,+} from "@/components/remocn/select";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- selectStyle,- selectStyleContext,- type SelectState,- type SelectStyle,-} from "@/components/remocn/select";export const DEFAULT_DURATION = 12;@@ -42,8 +42,12 @@ export function useSelectTransition(steps: Step<SelectState>[],opts: SelectTransitionOptions = {},): SelectStyle {- const { theme: themeOverride, mode, speed = 1, defaultDuration = DEFAULT_DURATION } =- opts;+ const {+ theme: themeOverride,+ mode,+ speed = 1,+ defaultDuration = DEFAULT_DURATION,+ } = opts;const theme = useRemocnTheme(themeOverride, mode);const ctx = selectStyleContext(theme);const { from, to, progress } = useStateTransition(diff --git a/registry/remocn-ui/settings-toggle-flow/index.tsx b/registry/remocn-ui/settings-toggle-flow/index.tsxindex 99da39e2..7c0ec818 100644--- a/registry/remocn-ui/settings-toggle-flow/index.tsx+++ b/registry/remocn-ui/settings-toggle-flow/index.tsx@@ -1,19 +1,19 @@"use client";import { Button } from "@/components/remocn/button";-import { useButtonTransition } from "@/components/remocn/use-button-transition";import { Cursor } from "@/components/remocn/cursor";-import { useCursorPath } from "@/components/remocn/use-cursor-path";import { Select } from "@/components/remocn/select";-import { useSelectTransition } from "@/components/remocn/use-select-transition";-import { useSelectItemTransition } from "@/components/remocn/use-select-item-transition";import { Slider } from "@/components/remocn/slider";-import { useSliderTransition } from "@/components/remocn/use-slider-transition";import { Switch } from "@/components/remocn/switch";-import { useSwitchTransition } from "@/components/remocn/use-switch-transition";import { Toast } from "@/components/remocn/toast";-import { useToastTransition } from "@/components/remocn/use-toast-transition";import { useBlurInTransition } from "@/components/remocn/use-blur-in-transition";+import { useButtonTransition } from "@/components/remocn/use-button-transition";+import { useCursorPath } from "@/components/remocn/use-cursor-path";+import { useSelectItemTransition } from "@/components/remocn/use-select-item-transition";+import { useSelectTransition } from "@/components/remocn/use-select-transition";+import { useSliderTransition } from "@/components/remocn/use-slider-transition";+import { useSwitchTransition } from "@/components/remocn/use-switch-transition";+import { useToastTransition } from "@/components/remocn/use-toast-transition";import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";const DEFAULT_ROWS = [@@ -116,7 +116,12 @@ export function SettingsToggleFlow({{ at: 42, state: "revealed", duration: 16 },]);- const reveal = (e: { opacity: number; blur: number; translateX: number; translateY: number }) => ({+ const reveal = (e: {+ opacity: number;+ blur: number;+ translateX: number;+ translateY: number;+ }) => ({opacity: e.opacity,filter: e.blur > 0 ? `blur(${e.blur}px)` : "none",transform: `translate(${e.translateX}px, ${e.translateY}px)`,@@ -131,8 +136,20 @@ export function SettingsToggleFlow({{ at: 80 + DEMO, x: ITEM_CX, y: ITEM_CY, duration: 18 },{ at: 80 + DEMO, x: ITEM_CX, y: ITEM_CY, click: true, duration: 0 },{ at: 105 + DEMO, x: THUMB_X_AT_20, y: SLIDER_CY, duration: 18 },- { at: 105 + DEMO, x: THUMB_X_AT_20, y: SLIDER_CY, press: true, duration: 0 },- { at: 150 + DEMO, x: THUMB_X_AT_80, y: SLIDER_CY, press: true, duration: 45 },+ {+ at: 105 + DEMO,+ x: THUMB_X_AT_20,+ y: SLIDER_CY,+ press: true,+ duration: 0,+ },+ {+ at: 150 + DEMO,+ x: THUMB_X_AT_80,+ y: SLIDER_CY,+ press: true,+ duration: 45,+ },{ at: 158 + DEMO, x: THUMB_X_AT_80, y: SLIDER_CY, duration: 0 },{ at: 180 + DEMO, x: SAVE_CX, y: SAVE_CY, duration: 18 },{ at: 180 + DEMO, x: SAVE_CX, y: SAVE_CY, click: true, duration: 0 },diff --git a/registry/remocn-ui/sheet/__tests__/sheet.test.ts b/registry/remocn-ui/sheet/__tests__/sheet.test.tsindex f850412a..704328d0 100644--- a/registry/remocn-ui/sheet/__tests__/sheet.test.ts+++ b/registry/remocn-ui/sheet/__tests__/sheet.test.ts@@ -1,13 +1,8 @@-import { describe, expect, it } from "bun:test";-import {- type SheetState,- sheetStyle,- sheetStyleContext,-} from "../index";-import { tweenSheetStyle, DEFAULT_DURATION } from "../use-sheet-transition";-import { sheetConfig } from "../config";import { defaultLightTheme } from "@/lib/remocn-ui";+import { sheetConfig } from "../config";+import { type SheetState, sheetStyle, sheetStyleContext } from "../index";+import { DEFAULT_DURATION, tweenSheetStyle } from "../use-sheet-transition";const VALID_STATES: readonly SheetState[] = ["opened", "closed"];@@ -27,13 +22,15 @@ const ctx = sheetStyleContext(defaultLightTheme);describe("SheetState union", () => {it("contains exactly the two documented states", () => {const control = sheetConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = sheetConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -48,7 +45,8 @@ describe("sheetConfig.controls.state", () => {it("has exactly the two SheetState options in order", () => {const control = sheetConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["opened", "closed"]);});@@ -59,7 +57,8 @@ describe("sheetConfig.controls.state", () => {it("every option is a member of the SheetState union", () => {const control = sheetConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as SheetState);}@@ -67,17 +66,18 @@ describe("sheetConfig.controls.state", () => {});describe("sheetConfig.snippet: state prop emission", () => {- it("emits state=\"opened\" for the opened option", () => {+ it('emits state="opened" for the opened option', () => {expect(snippet({ state: "opened" })).toContain('state="opened"');});- it("emits state=\"closed\" for the closed option", () => {+ it('emits state="closed" for the closed option', () => {expect(snippet({ state: "closed" })).toContain('state="closed"');});it("emits the correct state for every control option", () => {const control = sheetConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -96,7 +96,7 @@ describe("sheetConfig.snippet: NEVER emits steps", () => {describe("sheetConfig.snippet: import line", () => {it("includes `import { Sheet }` from the correct path", () => {const out = snippet({ state: "opened" });- expect(out).toContain('import { Sheet }');+ expect(out).toContain("import { Sheet }");expect(out).toContain('from "@/components/remocn/sheet"');});});@@ -105,7 +105,8 @@ describe("sheetConfig.snippet: default props are omitted", () => {const allDefaults = snippet({state: "opened",title: "Edit profile",- description: "Make changes to your profile here. Click save when you're done.",+ description:+ "Make changes to your profile here. Click save when you're done.",actionLabel: "Save changes",cancelLabel: "Cancel",});@@ -129,23 +130,30 @@ describe("sheetConfig.snippet: default props are omitted", () => {describe("sheetConfig.snippet: non-default props are emitted", () => {it("emits a non-default title", () => {- expect(snippet({ state: "opened", title: "Edit workspace settings" }))- .toContain('title="Edit workspace settings"');+ expect(+ snippet({ state: "opened", title: "Edit workspace settings" }),+ ).toContain('title="Edit workspace settings"');});it("emits a non-default description", () => {- expect(snippet({ state: "opened", description: "Update your workspace name and settings." }))- .toContain('description="Update your workspace name and settings."');+ expect(+ snippet({+ state: "opened",+ description: "Update your workspace name and settings.",+ }),+ ).toContain('description="Update your workspace name and settings."');});it("emits a non-default actionLabel", () => {- expect(snippet({ state: "opened", actionLabel: "Confirm" }))- .toContain('actionLabel="Confirm"');+ expect(snippet({ state: "opened", actionLabel: "Confirm" })).toContain(+ 'actionLabel="Confirm"',+ );});it("emits a non-default cancelLabel", () => {- expect(snippet({ state: "opened", cancelLabel: "Go back" }))- .toContain('cancelLabel="Go back"');+ expect(snippet({ state: "opened", cancelLabel: "Go back" })).toContain(+ 'cancelLabel="Go back"',+ );});});@@ -153,7 +161,7 @@ describe("sheetConfig.snippet: structural round-trip", () => {const out = snippet({ state: "opened" });it("starts with the import line", () => {- expect(out.startsWith('import { Sheet }')).toBe(true);+ expect(out.startsWith("import { Sheet }")).toBe(true);});it("contains a <Sheet JSX opening", () => {diff --git a/registry/remocn-ui/sheet/use-sheet-transition.ts b/registry/remocn-ui/sheet/use-sheet-transition.tsindex 586678dc..a0ea9e56 100644--- a/registry/remocn-ui/sheet/use-sheet-transition.ts+++ b/registry/remocn-ui/sheet/use-sheet-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type SheetState,+ type SheetStyle,+ sheetStyle,+ sheetStyleContext,+} from "@/components/remocn/sheet";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- sheetStyle,- sheetStyleContext,- type SheetState,- type SheetStyle,-} from "@/components/remocn/sheet";export const DEFAULT_DURATION = 12;@@ -22,7 +22,8 @@ export function tweenSheetStyle(t: number,): SheetStyle {return {- overlayOpacity: a.overlayOpacity + (b.overlayOpacity - a.overlayOpacity) * t,+ overlayOpacity:+ a.overlayOpacity + (b.overlayOpacity - a.overlayOpacity) * t,panelOpacity: a.panelOpacity + (b.panelOpacity - a.panelOpacity) * t,panelTranslateX:a.panelTranslateX + (b.panelTranslateX - a.panelTranslateX) * t,diff --git a/registry/remocn-ui/signup-flow/index.tsx b/registry/remocn-ui/signup-flow/index.tsxindex da092509..fb4959af 100644--- a/registry/remocn-ui/signup-flow/index.tsx+++ b/registry/remocn-ui/signup-flow/index.tsx@@ -1,16 +1,8 @@"use client";-import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";-import { Cursor } from "@/components/remocn/cursor";-import { useCursorPath } from "@/components/remocn/use-cursor-path";-import { Input } from "@/components/remocn/input";-import { useInputTransition } from "@/components/remocn/use-input-transition";-import { Button } from "@/components/remocn/button";-import { useButtonTransition } from "@/components/remocn/use-button-transition";-import { Toast } from "@/components/remocn/toast";-import { useToastTransition } from "@/components/remocn/use-toast-transition";import { BlurIn } from "@/components/remocn/blur-in";-import { useBlurInTransition } from "@/components/remocn/use-blur-in-transition";+import { Button } from "@/components/remocn/button";+import { Cursor } from "@/components/remocn/cursor";import {Field,FieldControl,@@ -18,6 +10,14 @@ import {FieldGroup,FieldLabel,} from "@/components/remocn/field";+import { Input } from "@/components/remocn/input";+import { Toast } from "@/components/remocn/toast";+import { useBlurInTransition } from "@/components/remocn/use-blur-in-transition";+import { useButtonTransition } from "@/components/remocn/use-button-transition";+import { useCursorPath } from "@/components/remocn/use-cursor-path";+import { useInputTransition } from "@/components/remocn/use-input-transition";+import { useToastTransition } from "@/components/remocn/use-toast-transition";+import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";export interface SignupFlowProps {title?: string;@@ -202,9 +202,7 @@ export function SignupFlow({<FieldGroup gap={16}><BlurIn display="block" style={enterName}><Field>- <FieldLabel theme={theme}>- Full Name- </FieldLabel>+ <FieldLabel theme={theme}>Full Name</FieldLabel><FieldControl><Inputplaceholder={fullName}@@ -218,9 +216,7 @@ export function SignupFlow({<BlurIn display="block" style={enterEmail}><Field>- <FieldLabel theme={theme}>- </FieldLabel>+ <FieldLabel theme={theme}>Email</FieldLabel><FieldControl><Inputplaceholder={email}@@ -237,9 +233,7 @@ export function SignupFlow({<BlurIn display="block" style={enterPass}><Field>- <FieldLabel theme={theme}>- Password- </FieldLabel>+ <FieldLabel theme={theme}>Password</FieldLabel><FieldControl><Inputplaceholder={password}@@ -256,9 +250,7 @@ export function SignupFlow({<BlurIn display="block" style={enterConfirm}><Field>- <FieldLabel theme={theme}>- Confirm Password- </FieldLabel>+ <FieldLabel theme={theme}>Confirm Password</FieldLabel><FieldControl><Inputplaceholder={password}@@ -274,11 +266,7 @@ export function SignupFlow({<BlurIn display="block" style={enterButton}><Field gap={10}><FieldControl>- <Button- label={createLabel}- style={buttonStyle}- theme={theme}- />+ <Button label={createLabel} style={buttonStyle} theme={theme} /></FieldControl></Field></BlurIn>diff --git a/registry/remocn-ui/skeleton-block/__tests__/skeleton-block.test.ts b/registry/remocn-ui/skeleton-block/__tests__/skeleton-block.test.tsindex da27b441..5a2ace9d 100644--- a/registry/remocn-ui/skeleton-block/__tests__/skeleton-block.test.ts+++ b/registry/remocn-ui/skeleton-block/__tests__/skeleton-block.test.ts@@ -1,4 +1,3 @@-import { describe, expect, it } from "bun:test";import { skeletonBlockConfig } from "../config";@@ -80,7 +79,6 @@ describe("skeletonBlockConfig.snippet: structural invariants", () => {});describe("skeletonBlockConfig.snippet: default props are omitted", () => {-it("omits width when it equals the default 240", () => {const out = snippet({ width: 240 });expect(out).not.toContain("width=");diff --git a/registry/remocn-ui/skeleton-block/config.ts b/registry/remocn-ui/skeleton-block/config.tsindex 381bab36..ee420f5d 100644--- a/registry/remocn-ui/skeleton-block/config.ts+++ b/registry/remocn-ui/skeleton-block/config.ts@@ -4,9 +4,30 @@ export const skeletonBlockConfig: ComponentConfig = {componentName: "SkeletonBlock",importPath: "@/components/remocn/skeleton-block",controls: {- width: { type: "number", default: 240, min: 40, max: 600, step: 10, label: "Width" },- height: { type: "number", default: 20, min: 8, max: 120, step: 2, label: "Height" },- radius: { type: "number", default: 6, min: 0, max: 60, step: 1, label: "Radius" },+ width: {+ type: "number",+ default: 240,+ min: 40,+ max: 600,+ step: 10,+ label: "Width",+ },+ height: {+ type: "number",+ default: 20,+ min: 8,+ max: 120,+ step: 2,+ label: "Height",+ },+ radius: {+ type: "number",+ default: 6,+ min: 0,+ max: 60,+ step: 1,+ label: "Radius",+ },},durationInFrames: 120,fps: FPS,@@ -19,8 +40,10 @@ export const skeletonBlockConfig: ComponentConfig = {const props: string[] = [];if (width !== undefined && width !== 240) props.push(` width={${width}}`);- if (height !== undefined && height !== 20) props.push(` height={${height}}`);- if (radius !== undefined && radius !== 6) props.push(` radius={${radius}}`);+ if (height !== undefined && height !== 20)+ props.push(` height={${height}}`);+ if (radius !== undefined && radius !== 6)+ props.push(` radius={${radius}}`);const propsBlock = props.length ? `\n${props.join("\n")}\n` : "";return `import { SkeletonBlock } from "@/components/remocn/skeleton-block";diff --git a/registry/remocn-ui/skeleton-block/preview.tsx b/registry/remocn-ui/skeleton-block/preview.tsxindex 618d7f31..497b1017 100644--- a/registry/remocn-ui/skeleton-block/preview.tsx+++ b/registry/remocn-ui/skeleton-block/preview.tsx@@ -29,7 +29,12 @@ export function SkeletonBlockPreview({background: theme.background,}}>- <SkeletonBlock width={width} height={height} radius={radius} speed={speed} />+ <SkeletonBlock+ width={width}+ height={height}+ radius={radius}+ speed={speed}+ /></div>);}diff --git a/registry/remocn-ui/skeleton/__tests__/skeleton.test.ts b/registry/remocn-ui/skeleton/__tests__/skeleton.test.tsindex fbed18b1..486037d8 100644--- a/registry/remocn-ui/skeleton/__tests__/skeleton.test.ts+++ b/registry/remocn-ui/skeleton/__tests__/skeleton.test.ts@@ -1,17 +1,15 @@-import { describe, expect, it } from "bun:test";+import type { Step } from "@/lib/remocn-ui";+import { skeletonConfig } from "../config";import {- skeletonStyle,- type SkeletonState,type SkeletonLayout,+ type SkeletonState,+ skeletonStyle,} from "../index";import {- tweenSkeletonStyle,DEFAULT_DURATION,+ tweenSkeletonStyle,} from "../use-skeleton-transition";-import { skeletonConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme, easings } from "@/lib/remocn-ui";-import type { Step } from "@/lib/remocn-ui";const VALID_STATES: readonly SkeletonState[] = ["loading", "loaded"];const VALID_LAYOUTS: readonly SkeletonLayout[] = ["lines", "card"];@@ -168,11 +166,17 @@ describe("tweenSkeletonStyle: identity (a === b, any t)", () => {const s = skeletonStyle("loading");it("skeletonOpacity is unchanged when both endpoints are the same", () => {- expect(tweenSkeletonStyle(s, s, 0.5).skeletonOpacity).toBeCloseTo(s.skeletonOpacity, 10);+ expect(tweenSkeletonStyle(s, s, 0.5).skeletonOpacity).toBeCloseTo(+ s.skeletonOpacity,+ 10,+ );});it("contentOpacity is unchanged when both endpoints are the same", () => {- expect(tweenSkeletonStyle(s, s, 0.5).contentOpacity).toBeCloseTo(s.contentOpacity, 10);+ expect(tweenSkeletonStyle(s, s, 0.5).contentOpacity).toBeCloseTo(+ s.contentOpacity,+ 10,+ );});it("crossfade invariant preserved for identity tween", () => {@@ -209,7 +213,7 @@ describe("tweenSkeletonStyle: crossfade invariant holds at any arbitrary t", ()});it("sum === 1 at t=0.333", () => {- const r = tweenSkeletonStyle(a, b, 1/3);+ const r = tweenSkeletonStyle(a, b, 1 / 3);expect(r.skeletonOpacity + r.contentOpacity).toBeCloseTo(1, 10);});@@ -249,11 +253,16 @@ function resolveStateTransition<S extends string>(}function resolveSkeletonTransition(- raw: number, // injected useCurrentFrame() — MIRROR line 52+ raw: number, // injected useCurrentFrame() — MIRROR line 52steps: Step<SkeletonState>[],speed = 1,defaultDuration = DEFAULT_DURATION,-): { style: ReturnType<typeof tweenSkeletonStyle>; progress: number; from: SkeletonState; to: SkeletonState } {+): {+ style: ReturnType<typeof tweenSkeletonStyle>;+ progress: number;+ from: SkeletonState;+ to: SkeletonState;+} {const { from, to, progress } = resolveStateTransition(raw,steps,@@ -267,7 +276,12 @@ function resolveSkeletonTransition(skeletonStyle(to as SkeletonState),t,);- return { style, progress, from: from as SkeletonState, to: to as SkeletonState };+ return {+ style,+ progress,+ from: from as SkeletonState,+ to: to as SkeletonState,+ };}describe("resolveSkeletonTransition: before any step — holds at loading", () => {@@ -426,7 +440,9 @@ describe("skeletonConfig.snippet: structural invariants", () => {});it("includes a placeholder comment for real content", () => {- expect(snippet({ state: "loading" })).toContain("{/* your real content */}");+ expect(snippet({ state: "loading" })).toContain(+ "{/* your real content */}",+ );});it("state prop is always emitted", () => {@@ -440,7 +456,6 @@ describe("skeletonConfig.snippet: default props are omitted", () => {const out = snippet({ state: "loading", layout: "lines" });expect(out).not.toContain("layout=");});-});describe("skeletonConfig.snippet: non-default props are emitted", () => {@@ -467,7 +482,9 @@ describe("skeletonConfig.snippet: layout options round-trip", () => {if (ctrl.type !== "select") throw new Error("expected select");const nonDefault = ctrl.options.filter((o) => o !== "lines");for (const layout of nonDefault) {- expect(snippet({ state: "loading", layout })).toContain(`layout="${layout}"`);+ expect(snippet({ state: "loading", layout })).toContain(+ `layout="${layout}"`,+ );}});});diff --git a/registry/remocn-ui/skeleton/index.tsx b/registry/remocn-ui/skeleton/index.tsxindex 7bf805e2..3af89209 100644--- a/registry/remocn-ui/skeleton/index.tsx+++ b/registry/remocn-ui/skeleton/index.tsx@@ -1,8 +1,8 @@"use client";import type { ReactNode } from "react";-import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";import { SkeletonBlock } from "@/components/remocn/skeleton-block";+import { type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";export type SkeletonState = "loading" | "loaded";diff --git a/registry/remocn-ui/skeleton/preview.tsx b/registry/remocn-ui/skeleton/preview.tsxindex a05f8f3f..048f2508 100644--- a/registry/remocn-ui/skeleton/preview.tsx+++ b/registry/remocn-ui/skeleton/preview.tsx@@ -41,7 +41,9 @@ function DemoContent({width: 180,}}>- <span style={{ fontSize: 15, fontWeight: 600, color: theme.foreground }}>+ <span+ style={{ fontSize: 15, fontWeight: 600, color: theme.foreground }}+ >Ada Lovelace</span><span style={{ fontSize: 13, color: theme.mutedForeground }}>diff --git a/registry/remocn-ui/skeleton/use-skeleton-transition.ts b/registry/remocn-ui/skeleton/use-skeleton-transition.tsindex 45217e0f..02e3cade 100644--- a/registry/remocn-ui/skeleton/use-skeleton-transition.ts+++ b/registry/remocn-ui/skeleton/use-skeleton-transition.ts@@ -1,15 +1,11 @@"use client";import {- easings,- type Step,- useStateTransition,-} from "@/lib/remocn-ui";-import {- skeletonStyle,type SkeletonState,type SkeletonStyle,+ skeletonStyle,} from "@/components/remocn/skeleton";+import { easings, type Step, useStateTransition } from "@/lib/remocn-ui";export const DEFAULT_DURATION = 12;diff --git a/registry/remocn-ui/slider/__tests__/slider.test.ts b/registry/remocn-ui/slider/__tests__/slider.test.tsindex f19f6d07..2d398487 100644--- a/registry/remocn-ui/slider/__tests__/slider.test.ts+++ b/registry/remocn-ui/slider/__tests__/slider.test.ts@@ -1,20 +1,23 @@-import { describe, expect, it } from "bun:test";+import { clamp01, defaultDarkTheme, defaultLightTheme } from "@/lib/remocn-ui";+import { sliderConfig } from "../config";import {- sliderThumbStyle,- sliderStyleContext,type SliderThumbState,+ sliderStyleContext,+ sliderThumbStyle,} from "../index";import {- tweenSliderStyle,- sliderStyleAt,DEFAULT_DURATION,type SliderStep,+ sliderStyleAt,+ tweenSliderStyle,} from "../use-slider-transition";-import { sliderConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme, easings, clamp01 } from "@/lib/remocn-ui";-const VALID_THUMB_STATES: readonly SliderThumbState[] = ["idle", "hover", "press"];+const VALID_THUMB_STATES: readonly SliderThumbState[] = [+ "idle",+ "hover",+ "press",+];type SnippetValues = {value?: number;@@ -129,8 +132,12 @@ describe("sliderThumbStyle: press state — larger thumb + visible ring", () =>describe("sliderThumbStyle: press thumbScale > hover thumbScale > idle", () => {it("press > hover > idle thumbScale ordering", () => {- expect(sliderThumbStyle("press").thumbScale).toBeGreaterThan(sliderThumbStyle("hover").thumbScale);- expect(sliderThumbStyle("hover").thumbScale).toBeGreaterThan(sliderThumbStyle("idle").thumbScale);+ expect(sliderThumbStyle("press").thumbScale).toBeGreaterThan(+ sliderThumbStyle("hover").thumbScale,+ );+ expect(sliderThumbStyle("hover").thumbScale).toBeGreaterThan(+ sliderThumbStyle("idle").thumbScale,+ );});});@@ -212,7 +219,14 @@ describe("sliderStyleContext: dark theme differs from light on theme-derived fiedescribe("sliderStyleContext: all fields are non-empty strings", () => {it("every SliderStyleContext field is a non-empty string for light theme", () => {const ctx = sliderStyleContext(defaultLightTheme);- for (const key of ["track", "range", "thumbBg", "thumbRing", "ring", "valueText"] as const) {+ for (const key of [+ "track",+ "range",+ "thumbBg",+ "thumbRing",+ "ring",+ "valueText",+ ] as const) {expect(typeof ctx[key]).toBe("string");expect(ctx[key].length).toBeGreaterThan(0);}@@ -220,7 +234,7 @@ describe("sliderStyleContext: all fields are non-empty strings", () => {});describe("tweenSliderStyle: t=0 returns values equal to `a`", () => {- const a = { value: 0, thumbScale: 1, ringOpacity: 0 };+ const a = { value: 0, thumbScale: 1, ringOpacity: 0 };const b = { value: 100, thumbScale: 1.1, ringOpacity: 1 };const r = tweenSliderStyle(a, b, 0);@@ -236,7 +250,7 @@ describe("tweenSliderStyle: t=0 returns values equal to `a`", () => {});describe("tweenSliderStyle: t=1 returns values equal to `b`", () => {- const a = { value: 0, thumbScale: 1, ringOpacity: 0 };+ const a = { value: 0, thumbScale: 1, ringOpacity: 0 };const b = { value: 100, thumbScale: 1.1, ringOpacity: 1 };const r = tweenSliderStyle(a, b, 1);@@ -252,7 +266,7 @@ describe("tweenSliderStyle: t=1 returns values equal to `b`", () => {});describe("tweenSliderStyle: t=0.5 midpoint", () => {- const a = { value: 0, thumbScale: 1, ringOpacity: 0 };+ const a = { value: 0, thumbScale: 1, ringOpacity: 0 };const b = { value: 100, thumbScale: 1.1, ringOpacity: 1 };const r = tweenSliderStyle(a, b, 0.5);@@ -321,7 +335,10 @@ describe("sliderStyleAt: before first thumb step — holds at first.thumbState p});describe("sliderStyleAt: past last value step — rests at last.value", () => {- const steps: SliderStep[] = [{ at: 0, value: 0 }, { at: 18, value: 75 }];+ const steps: SliderStep[] = [+ { at: 0, value: 0 },+ { at: 18, value: 75 },+ ];it("raw=50 → value=75 (rests at last)", () => {expect(sliderStyleAt(steps, 50).value).toBeCloseTo(75, 10);@@ -329,7 +346,10 @@ describe("sliderStyleAt: past last value step — rests at last.value", () => {});describe("sliderStyleAt: value channel mid-window uses easings.out", () => {- const steps: SliderStep[] = [{ at: 0, value: 0 }, { at: 18, value: 100 }];+ const steps: SliderStep[] = [+ { at: 0, value: 0 },+ { at: 18, value: 100 },+ ];it("value at raw=9 is 87.5 (out-eased, not linear 50)", () => {expect(sliderStyleAt(steps, 9).value).toBeCloseTo(87.5, 8);@@ -342,7 +362,10 @@ describe("sliderStyleAt: value channel mid-window uses easings.out", () => {});describe("sliderStyleAt: thumb channel mid-window uses easings.out", () => {- const steps: SliderStep[] = [{ at: 0, thumbState: "idle" }, { at: 18, thumbState: "hover" }];+ const steps: SliderStep[] = [+ { at: 0, thumbState: "idle" },+ { at: 18, thumbState: "hover" },+ ];it("thumbScale at raw=9 is 1.0875 (out-eased)", () => {expect(sliderStyleAt(steps, 9).thumbScale).toBeCloseTo(1.0875, 8);@@ -371,7 +394,10 @@ describe("sliderStyleAt: dual-channel steps fold independently", () => {});describe("sliderStyleAt: channels can have different step counts", () => {- const valueOnlySteps: SliderStep[] = [{ at: 0, value: 0 }, { at: 18, value: 100 }];+ const valueOnlySteps: SliderStep[] = [+ { at: 0, value: 0 },+ { at: 18, value: 100 },+ ];it("thumb is idle when no thumb steps are present", () => {const r = sliderStyleAt(valueOnlySteps, 9);@@ -379,7 +405,10 @@ describe("sliderStyleAt: channels can have different step counts", () => {expect(r.ringOpacity).toBe(sliderThumbStyle("idle").ringOpacity);});- const thumbOnlySteps: SliderStep[] = [{ at: 0, thumbState: "idle" }, { at: 18, thumbState: "hover" }];+ const thumbOnlySteps: SliderStep[] = [+ { at: 0, thumbState: "idle" },+ { at: 18, thumbState: "hover" },+ ];it("value is 0 when no value steps are present", () => {expect(sliderStyleAt(thumbOnlySteps, 9).value).toBe(0);@@ -393,7 +422,10 @@ describe("sliderStyleAt: past last with both channels", () => {const r = sliderStyleAt(steps, 50);expect(r.value).toBeCloseTo(75, 10);expect(r.thumbScale).toBeCloseTo(sliderThumbStyle("press").thumbScale, 10);- expect(r.ringOpacity).toBeCloseTo(sliderThumbStyle("press").ringOpacity, 10);+ expect(r.ringOpacity).toBeCloseTo(+ sliderThumbStyle("press").ringOpacity,+ 10,+ );});});@@ -491,10 +523,14 @@ describe("sliderConfig.snippet: default props are omitted", () => {describe("sliderConfig.snippet: non-default props are emitted", () => {it("emits thumbState='hover' when non-default", () => {- expect(snippet({ value: 40, thumbState: "hover" })).toContain('thumbState="hover"');+ expect(snippet({ value: 40, thumbState: "hover" })).toContain(+ 'thumbState="hover"',+ );});it("emits thumbState='press' when non-default", () => {- expect(snippet({ value: 40, thumbState: "press" })).toContain('thumbState="press"');+ expect(snippet({ value: 40, thumbState: "press" })).toContain(+ 'thumbState="press"',+ );});it("emits width={480} when non-default", () => {expect(snippet({ value: 40, width: 480 })).toContain("width={480}");@@ -512,7 +548,9 @@ describe("sliderConfig.snippet: thumbState options round-trip", () => {if (ctrl.type !== "select") throw new Error("expected select");const nonDefault = ctrl.options.filter((o) => o !== "idle");for (const thumbState of nonDefault) {- expect(snippet({ value: 40, thumbState })).toContain(`thumbState="${thumbState}"`);+ expect(snippet({ value: 40, thumbState })).toContain(+ `thumbState="${thumbState}"`,+ );}});});diff --git a/registry/remocn-ui/slider/config.ts b/registry/remocn-ui/slider/config.tsindex a698cd8b..f0aeb97d 100644--- a/registry/remocn-ui/slider/config.ts+++ b/registry/remocn-ui/slider/config.ts@@ -5,7 +5,14 @@ export const sliderConfig: ComponentConfig = {componentName: "Slider",importPath: "@/components/remocn/slider",controls: {- value: { type: "number", default: 40, min: 0, max: 100, step: 1, label: "Value" },+ value: {+ type: "number",+ default: 40,+ min: 0,+ max: 100,+ step: 1,+ label: "Value",+ },thumbState: {type: "select",default: "idle",diff --git a/registry/remocn-ui/slider/index.tsx b/registry/remocn-ui/slider/index.tsxindex 889660c1..6fa48da1 100644--- a/registry/remocn-ui/slider/index.tsx+++ b/registry/remocn-ui/slider/index.tsx@@ -1,6 +1,11 @@"use client";-import { clamp01, mixOklch, type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";+import {+ clamp01,+ mixOklch,+ type RemocnTheme,+ useRemocnTheme,+} from "@/lib/remocn-ui";export type SliderThumbState = "idle" | "hover" | "press";diff --git a/registry/remocn-ui/slider/use-slider-transition.ts b/registry/remocn-ui/slider/use-slider-transition.tsindex 9c3cfde0..9c973864 100644--- a/registry/remocn-ui/slider/use-slider-transition.ts+++ b/registry/remocn-ui/slider/use-slider-transition.ts@@ -1,12 +1,12 @@"use client";import { useCurrentFrame } from "remotion";-import { clamp01, type EasingName, easings } from "@/lib/remocn-ui";import {- sliderThumbStyle,type SliderStyle,type SliderThumbState,+ sliderThumbStyle,} from "@/components/remocn/slider";+import { clamp01, type EasingName, easings } from "@/lib/remocn-ui";export interface SliderStep {at: number;diff --git a/registry/remocn-ui/spinner/config.ts b/registry/remocn-ui/spinner/config.tsindex d644f874..55ab0669 100644--- a/registry/remocn-ui/spinner/config.ts+++ b/registry/remocn-ui/spinner/config.ts@@ -4,7 +4,14 @@ export const spinnerConfig: ComponentConfig = {componentName: "Spinner",importPath: "@/components/remocn/spinner",controls: {- size: { type: "number", default: 20, min: 8, max: 64, step: 2, label: "Size" },+ size: {+ type: "number",+ default: 20,+ min: 8,+ max: 64,+ step: 2,+ label: "Size",+ },strokeWidth: {type: "number",default: 2.5,diff --git a/registry/remocn-ui/stepper/__tests__/stepper.test.ts b/registry/remocn-ui/stepper/__tests__/stepper.test.tsindex 43cac555..93f6f43e 100644--- a/registry/remocn-ui/stepper/__tests__/stepper.test.ts+++ b/registry/remocn-ui/stepper/__tests__/stepper.test.ts@@ -1,19 +1,18 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme, easings } from "@/lib/remocn-ui";+import { stepperConfig } from "../config";import {+ connectorFillAt,+ stepCircleAt,stepperStyle,stepperStyleContext,- stepCircleAt,- connectorFillAt,} from "../index";import {- tweenStepperStyle,- stepperStyleAt,DEFAULT_DURATION,type StepperStep,+ stepperStyleAt,+ tweenStepperStyle,} from "../use-stepper-transition";-import { stepperConfig } from "../config";-import { defaultLightTheme, easings } from "@/lib/remocn-ui";type SnippetValues = {activeIndex?: number;@@ -204,7 +203,13 @@ describe("stepCircleAt: fill clamps at 0 for negative (position - i)", () => {});describe("stepCircleAt: fill and checkDraw are always equal", () => {- for (const [i, pos] of [[0, 0], [0, 0.5], [0, 1], [1, 1.5], [2, 2]] as [number, number][]) {+ for (const [i, pos] of [+ [0, 0],+ [0, 0.5],+ [0, 1],+ [1, 1.5],+ [2, 2],+ ] as [number, number][]) {it(`i=${i} pos=${pos}: fill === checkDraw`, () => {const r = stepCircleAt(i, pos);expect(r.fill).toBeCloseTo(r.checkDraw, 10);@@ -316,7 +321,10 @@ describe("stepperStyleAt: before first step — holds at first.index", () => {});describe("stepperStyleAt: past last step — rests at last.index", () => {- const steps: StepperStep[] = [{ at: 0, index: 0 }, { at: 24, index: 1 }];+ const steps: StepperStep[] = [+ { at: 0, index: 0 },+ { at: 24, index: 1 },+ ];it("raw=50 past last.at=24 → position=1 (last index)", () => {expect(stepperStyleAt(steps, 50).position).toBeCloseTo(1, 10);@@ -328,7 +336,10 @@ describe("stepperStyleAt: past last step — rests at last.index", () => {});describe("stepperStyleAt: mid-window uses easings.out (non-linear)", () => {- const steps: StepperStep[] = [{ at: 0, index: 0 }, { at: 24, index: 1 }];+ const steps: StepperStep[] = [+ { at: 0, index: 0 },+ { at: 24, index: 1 },+ ];it("raw=12 gives position=0.875 (out-eased, not linear 0.5)", () => {expect(stepperStyleAt(steps, 12).position).toBeCloseTo(0.875, 8);@@ -346,7 +357,10 @@ describe("stepperStyleAt: mid-window uses easings.out (non-linear)", () => {});describe("stepperStyleAt: at last step boundary — pastLast → t=1", () => {- const steps: StepperStep[] = [{ at: 0, index: 0 }, { at: 24, index: 1 }];+ const steps: StepperStep[] = [+ { at: 0, index: 0 },+ { at: 24, index: 1 },+ ];it("raw=24 exactly at last step → position=1", () => {expect(stepperStyleAt(steps, 24).position).toBeCloseTo(1, 10);@@ -370,7 +384,10 @@ describe("stepperStyleAt: two-step multi-segment timeline", () => {});describe("stepperStyleAt: custom duration on a step", () => {- const steps: StepperStep[] = [{ at: 0, index: 0 }, { at: 12, index: 1, duration: 12 }];+ const steps: StepperStep[] = [+ { at: 0, index: 0 },+ { at: 12, index: 1, duration: 12 },+ ];it("custom duration=12: raw=6 gives position=0.875", () => {expect(stepperStyleAt(steps, 6).position).toBeCloseTo(0.875, 8);@@ -447,7 +464,9 @@ describe("stepperConfig.snippet: structural invariants", () => {});it("starts with the import line", () => {- expect(snippet({ activeIndex: 1 }).startsWith('import { Stepper }')).toBe(true);+ expect(snippet({ activeIndex: 1 }).startsWith("import { Stepper }")).toBe(+ true,+ );});});diff --git a/registry/remocn-ui/stepper/index.tsx b/registry/remocn-ui/stepper/index.tsxindex b477adbf..3ab697d0 100644--- a/registry/remocn-ui/stepper/index.tsx+++ b/registry/remocn-ui/stepper/index.tsx@@ -1,6 +1,11 @@"use client";-import { clamp01, mixOklch, type RemocnTheme, useRemocnTheme } from "@/lib/remocn-ui";+import {+ clamp01,+ mixOklch,+ type RemocnTheme,+ useRemocnTheme,+} from "@/lib/remocn-ui";export interface StepperStyle {position: number;@@ -46,7 +51,10 @@ export function stepperStyle(activeIndex: number): StepperStyle {return { position: activeIndex };}-export function stepCircleAt(i: number, position: number): {+export function stepCircleAt(+ i: number,+ position: number,+): {fill: number;checkDraw: number;active: boolean;@@ -95,7 +103,8 @@ export function Stepper({const circleBg = mixOklch(ctx.mutedBg, ctx.primary, fill);const circleBorder = mixOklch(ctx.border, ctx.primary, fill);const numberOpacity = 1 - checkDraw;- const numberColor = active || completed ? ctx.foreground : ctx.mutedFg;+ const numberColor =+ active || completed ? ctx.foreground : ctx.mutedFg;const isLast = i === steps.length - 1;return (<div@@ -139,7 +148,12 @@ export function Stepper({{i + 1}</span>{}- <svg width={CIRCLE} height={CIRCLE} viewBox="0 0 24 24" fill="none">+ <svg+ width={CIRCLE}+ height={CIRCLE}+ viewBox="0 0 24 24"+ fill="none"+ ><pathd="M5 12.5l4.5 4.5L19 7"stroke={ctx.primaryFg}diff --git a/registry/remocn-ui/stepper/use-stepper-transition.ts b/registry/remocn-ui/stepper/use-stepper-transition.tsindex 06f83931..05822572 100644--- a/registry/remocn-ui/stepper/use-stepper-transition.ts+++ b/registry/remocn-ui/stepper/use-stepper-transition.ts@@ -1,8 +1,8 @@"use client";import { useCurrentFrame } from "remotion";-import { clamp01, type EasingName, easings } from "@/lib/remocn-ui";import type { StepperStyle } from "@/components/remocn/stepper";+import { clamp01, type EasingName, easings } from "@/lib/remocn-ui";export interface StepperStep {at: number;diff --git a/registry/remocn-ui/switch/__tests__/switch.test.ts b/registry/remocn-ui/switch/__tests__/switch.test.tsindex 562b0110..071a20fb 100644--- a/registry/remocn-ui/switch/__tests__/switch.test.ts+++ b/registry/remocn-ui/switch/__tests__/switch.test.ts@@ -1,13 +1,8 @@-import { describe, expect, it } from "bun:test";-import {- type SwitchState,- switchStyle,- switchStyleContext,-} from "../index";-import { tweenSwitchStyle } from "../use-switch-transition";-import { switchConfig } from "../config";import { defaultLightTheme } from "@/lib/remocn-ui";+import { switchConfig } from "../config";+import { type SwitchState, switchStyle, switchStyleContext } from "../index";+import { tweenSwitchStyle } from "../use-switch-transition";const VALID_STATES: readonly SwitchState[] = ["unchecked", "checked"];@@ -24,13 +19,15 @@ const snippet = (values: SnippetValues): string =>describe("SwitchState union", () => {it("contains exactly the two documented states", () => {const control = switchConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["unchecked", "checked"]);});it("every VALID_STATES entry is assignable (no typos in the fixture)", () => {const control = switchConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(2);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -45,7 +42,8 @@ describe("switchConfig.controls.state", () => {it("has exactly the two SwitchState options in order", () => {const control = switchConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["unchecked", "checked"]);});@@ -56,7 +54,8 @@ describe("switchConfig.controls.state", () => {it("every option is a member of the SwitchState union", () => {const control = switchConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const option of control.options) {expect(VALID_STATES).toContain(option as SwitchState);}@@ -64,17 +63,18 @@ describe("switchConfig.controls.state", () => {});describe("switchConfig.snippet: state prop emission", () => {- it("emits state=\"unchecked\" for the unchecked option", () => {+ it('emits state="unchecked" for the unchecked option', () => {expect(snippet({ state: "unchecked" })).toContain('state="unchecked"');});- it("emits state=\"checked\" for the checked option", () => {+ it('emits state="checked" for the checked option', () => {expect(snippet({ state: "checked" })).toContain('state="checked"');});it("emits the correct state for every control option", () => {const control = switchConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -99,7 +99,7 @@ describe("switchConfig.snippet: NEVER emits steps or action", () => {describe("switchConfig.snippet: import line", () => {it("includes `import { Switch }` from the correct path", () => {const out = snippet({ state: "checked" });- expect(out).toContain('import { Switch }');+ expect(out).toContain("import { Switch }");expect(out).toContain('from "@/components/remocn/switch"');});});@@ -127,7 +127,9 @@ describe("switchConfig.snippet: default props are omitted", () => {describe("switchConfig.snippet: non-default props are emitted", () => {it("emits a non-default label", () => {- expect(snippet({ state: "checked", label: "Enable notifications" })).toContain('label="Enable notifications"');+ expect(+ snippet({ state: "checked", label: "Enable notifications" }),+ ).toContain('label="Enable notifications"');});it("emits a non-default size", () => {@@ -135,7 +137,9 @@ describe("switchConfig.snippet: non-default props are emitted", () => {});it("emits a non-default primary color", () => {- expect(snippet({ state: "checked", primary: "#6366f1" })).toContain('primary="#6366f1"');+ expect(snippet({ state: "checked", primary: "#6366f1" })).toContain(+ 'primary="#6366f1"',+ );});});@@ -143,7 +147,7 @@ describe("switchConfig.snippet: structural round-trip", () => {const out = snippet({ state: "checked" });it("starts with the import line", () => {- expect(out.startsWith('import { Switch }')).toBe(true);+ expect(out.startsWith("import { Switch }")).toBe(true);});it("contains a <Switch JSX opening", () => {diff --git a/registry/remocn-ui/switch/config.ts b/registry/remocn-ui/switch/config.tsindex 7afb08e3..a189713b 100644--- a/registry/remocn-ui/switch/config.ts+++ b/registry/remocn-ui/switch/config.ts@@ -32,8 +32,7 @@ export const switchConfig: ComponentConfig = {const primary = values.primary as string | undefined;const props: string[] = [` state="${state}"`];- if (label !== undefined && label !== "")- props.push(` label="${label}"`);+ if (label !== undefined && label !== "") props.push(` label="${label}"`);if (size !== undefined && size !== "default")props.push(` size="${size}"`);if (primary !== undefined && primary !== "#171717")diff --git a/registry/remocn-ui/switch/index.tsx b/registry/remocn-ui/switch/index.tsxindex 7a34a188..a2d2bcf4 100644--- a/registry/remocn-ui/switch/index.tsx+++ b/registry/remocn-ui/switch/index.tsx@@ -18,11 +18,18 @@ export interface SwitchProps {const SIZE_STYLES: Record<SwitchSize,- { trackW: number; trackH: number; thumb: number; pad: number; fontSize: number; gap: number }+ {+ trackW: number;+ trackH: number;+ thumb: number;+ pad: number;+ fontSize: number;+ gap: number;+ }> = {- sm: { trackW: 36, trackH: 20, thumb: 16, pad: 2, fontSize: 13, gap: 8 },+ sm: { trackW: 36, trackH: 20, thumb: 16, pad: 2, fontSize: 13, gap: 8 },default: { trackW: 44, trackH: 24, thumb: 20, pad: 2, fontSize: 15, gap: 10 },- lg: { trackW: 52, trackH: 28, thumb: 24, pad: 2, fontSize: 17, gap: 12 },+ lg: { trackW: 52, trackH: 28, thumb: 24, pad: 2, fontSize: 17, gap: 12 },};export interface SwitchStyle {diff --git a/registry/remocn-ui/switch/use-switch-transition.ts b/registry/remocn-ui/switch/use-switch-transition.tsindex ac86fc64..5f6b9415 100644--- a/registry/remocn-ui/switch/use-switch-transition.ts+++ b/registry/remocn-ui/switch/use-switch-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type SwitchState,+ type SwitchStyle,+ switchStyle,+ switchStyleContext,+} from "@/components/remocn/switch";import {easings,mixOklch,@@ -8,12 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- switchStyle,- switchStyleContext,- type SwitchState,- type SwitchStyle,-} from "@/components/remocn/switch";export const DEFAULT_DURATION = 10;diff --git a/registry/remocn-ui/tabs/__tests__/tabs.test.ts b/registry/remocn-ui/tabs/__tests__/tabs.test.tsindex 851f908f..2a708072 100644--- a/registry/remocn-ui/tabs/__tests__/tabs.test.ts+++ b/registry/remocn-ui/tabs/__tests__/tabs.test.ts@@ -1,13 +1,8 @@-import { describe, expect, it } from "bun:test";-import {- type TabsState,- tabsStyle,- tabsStyleContext,-} from "../index";-import { tweenTabsStyle, DEFAULT_DURATION } from "../use-tabs-transition";-import { tabsConfig } from "../config";import { defaultLightTheme } from "@/lib/remocn-ui";+import { tabsConfig } from "../config";+import { type TabsState, tabsStyle, tabsStyleContext } from "../index";+import { DEFAULT_DURATION, tweenTabsStyle } from "../use-tabs-transition";const VALID_STATES: readonly TabsState[] = ["Account", "Password", "Settings"];@@ -19,7 +14,11 @@ type SnippetValues = {const snippet = (values: SnippetValues): string =>tabsConfig.snippet(values as Record<string, unknown>);-const ctx = tabsStyleContext(["Account", "Password", "Settings"], "pill", defaultLightTheme);+const ctx = tabsStyleContext(+ ["Account", "Password", "Settings"],+ "pill",+ defaultLightTheme,+);describe("TabsState / state options", () => {it("controls.state is a select control", () => {@@ -28,7 +27,8 @@ describe("TabsState / state options", () => {it("contains exactly the three documented states", () => {const control = tabsConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["Account", "Password", "Settings"]);});@@ -38,7 +38,8 @@ describe("TabsState / state options", () => {it("every VALID_STATES entry is present in the options list (no typos in fixture)", () => {const control = tabsConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(VALID_STATES).toHaveLength(3);for (const s of VALID_STATES) {expect(control.options).toContain(s);@@ -53,7 +54,8 @@ describe("tabsConfig.controls.variant", () => {it("has exactly the two variant options in order", () => {const control = tabsConfig.controls.variant;- if (control.type !== "select") throw new Error("variant control must be a select");+ if (control.type !== "select")+ throw new Error("variant control must be a select");expect(control.options).toEqual(["pill", "underline"]);});@@ -63,21 +65,22 @@ describe("tabsConfig.controls.variant", () => {});describe("tabsConfig.snippet: state prop emission", () => {- it("emits state=\"Account\" for the Account option", () => {+ it('emits state="Account" for the Account option', () => {expect(snippet({ state: "Account" })).toContain('state="Account"');});- it("emits state=\"Password\" for the Password option", () => {+ it('emits state="Password" for the Password option', () => {expect(snippet({ state: "Password" })).toContain('state="Password"');});- it("emits state=\"Settings\" for the Settings option", () => {+ it('emits state="Settings" for the Settings option', () => {expect(snippet({ state: "Settings" })).toContain('state="Settings"');});it("emits the correct state for every control option", () => {const control = tabsConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {const out = snippet({ state });expect(out).toContain(`state="${state}"`);@@ -96,7 +99,7 @@ describe("tabsConfig.snippet: NEVER emits steps", () => {describe("tabsConfig.snippet: import line", () => {it("includes `import { Tabs }` from the correct path", () => {const out = snippet({ state: "Account" });- expect(out).toContain('import { Tabs }');+ expect(out).toContain("import { Tabs }");expect(out).toContain('from "@/components/remocn/tabs"');});});@@ -114,8 +117,9 @@ describe("tabsConfig.snippet: default props are omitted", () => {describe("tabsConfig.snippet: non-default props are emitted", () => {it("emits a non-default variant='underline'", () => {- expect(snippet({ state: "Account", variant: "underline" }))- .toContain('variant="underline"');+ expect(snippet({ state: "Account", variant: "underline" })).toContain(+ 'variant="underline"',+ );});});@@ -123,7 +127,7 @@ describe("tabsConfig.snippet: structural round-trip", () => {const out = snippet({ state: "Account" });it("starts with the import line", () => {- expect(out.startsWith('import { Tabs }')).toBe(true);+ expect(out.startsWith("import { Tabs }")).toBe(true);});it("contains a <Tabs JSX opening", () => {diff --git a/registry/remocn-ui/tabs/use-tabs-transition.ts b/registry/remocn-ui/tabs/use-tabs-transition.tsindex 4c5716fb..0ce0f269 100644--- a/registry/remocn-ui/tabs/use-tabs-transition.ts+++ b/registry/remocn-ui/tabs/use-tabs-transition.ts@@ -1,5 +1,11 @@"use client";+import {+ type TabsState,+ type TabsStyle,+ tabsStyle,+ tabsStyleContext,+} from "@/components/remocn/tabs";import {easings,type RemocnTheme,@@ -7,12 +13,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- tabsStyle,- tabsStyleContext,- type TabsState,- type TabsStyle,-} from "@/components/remocn/tabs";const DEFAULT_ITEMS = ["Account", "Password", "Settings"];diff --git a/registry/remocn-ui/telegram-chat-flow/__tests__/telegram-chat-flow.test.ts b/registry/remocn-ui/telegram-chat-flow/__tests__/telegram-chat-flow.test.tsindex fec49a5e..ab57ef38 100644--- a/registry/remocn-ui/telegram-chat-flow/__tests__/telegram-chat-flow.test.ts+++ b/registry/remocn-ui/telegram-chat-flow/__tests__/telegram-chat-flow.test.ts@@ -1,6 +1,10 @@-import { describe, expect, it } from "bun:test";-import { telegramChatFlowSchedule, telegramChatFlowDuration, sendPulse, type TelegramMessage } from "../index";+import {+ sendPulse,+ type TelegramMessage,+ telegramChatFlowDuration,+ telegramChatFlowSchedule,+} from "../index";const MESSAGES: TelegramMessage[] = [{ from: "me", text: "hi" },@@ -126,7 +130,9 @@ describe("telegramChatFlowDuration", () => {});it("telegramChatFlowDuration(messages) equals telegramChatFlowSchedule(messages).duration", () => {- expect(telegramChatFlowDuration(MESSAGES)).toBe(telegramChatFlowSchedule(MESSAGES).duration);+ expect(telegramChatFlowDuration(MESSAGES)).toBe(+ telegramChatFlowSchedule(MESSAGES).duration,+ );});it("telegramChatFlowDuration(messages, 2) equals Math.ceil(schedule.duration / 2)", () => {diff --git a/registry/remocn-ui/telegram-chat-flow/index.tsx b/registry/remocn-ui/telegram-chat-flow/index.tsxindex 54cec9a0..b18afcd7 100644--- a/registry/remocn-ui/telegram-chat-flow/index.tsx+++ b/registry/remocn-ui/telegram-chat-flow/index.tsx@@ -1,13 +1,8 @@"use client";-import {- interpolate,- spring,- useCurrentFrame,- useVideoConfig,-} from "remotion";-import { type RemocnTheme, revealedText } from "@/lib/remocn-ui";+import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";import { Caret } from "@/components/remocn/caret";+import { type RemocnTheme, revealedText } from "@/lib/remocn-ui";export interface TelegramMessage {from: "me" | "them";@@ -53,8 +48,18 @@ const OUTGOING_META = "rgba(255,255,255,0.82)";const DEFAULT_MESSAGES: TelegramMessage[] = [{ from: "me", text: "Hey — ready for the demo?", time: "9:40" },- { from: "them", text: "Yep, pushing it live now", reaction: "🔥", time: "9:41" },- { from: "me", text: "Perfect, sending the link over", reaction: "👍", time: "9:41" },+ {+ from: "them",+ text: "Yep, pushing it live now",+ reaction: "🔥",+ time: "9:41",+ },+ {+ from: "me",+ text: "Perfect, sending the link over",+ reaction: "👍",+ time: "9:41",+ },];function clamp(value: number, lo: number, hi: number): number {@@ -87,7 +92,8 @@ export function telegramChatFlowSchedule(let cursor = LEAD_IN;messages.forEach((message, index) => {- const hasReaction = message.reaction !== undefined && message.reaction !== "";+ const hasReaction =+ message.reaction !== undefined && message.reaction !== "";if (message.from === "me") {const typeStart = cursor;const typeDur = clamp(@@ -111,7 +117,10 @@ export function telegramChatFlowSchedule(reactAt,});cursor =- revealAt + REVEAL + (hasReaction ? REACT_DELAY + REACT_DUR : 0) + MSG_GAP;+ revealAt ++ REVEAL ++ (hasReaction ? REACT_DELAY + REACT_DUR : 0) ++ MSG_GAP;} else {const typingStart = cursor;const typingDur = clamp(@@ -133,7 +142,10 @@ export function telegramChatFlowSchedule(reactAt,});cursor =- revealAt + REVEAL + (hasReaction ? REACT_DELAY + REACT_DUR : 0) + MSG_GAP;+ revealAt ++ REVEAL ++ (hasReaction ? REACT_DELAY + REACT_DUR : 0) ++ MSG_GAP;}});@@ -184,6 +196,7 @@ function Avatar({ contact, size }: { contact: TelegramContact; size: number }) {}}>{contact.avatar !== undefined ? (+ // biome-ignore lint/performance/noImgElement: Remotion output, not a Next.js app — next/image isn't available where this component ships<imgsrc={contact.avatar}alt={contact.name}@@ -324,7 +337,13 @@ function MoreIcon({ color }: { color: string }) {);}-function BubbleTail({ side, color }: { side: "left" | "right"; color: string }) {+function BubbleTail({+ side,+ color,+}: {+ side: "left" | "right";+ color: string;+}) {const path =side === "right"? "M0 0 H4 C4 7 7 12 13 13 C6 13 0 9 0 0 Z"@@ -373,7 +392,10 @@ export function TelegramChatFlow({activeMe.typeStart !== undefined &&activeMe.sendAt !== undefined) {- const typeDur = Math.max(activeMe.sendAt - SEND_GAP - activeMe.typeStart, 1);+ const typeDur = Math.max(+ activeMe.sendAt - SEND_GAP - activeMe.typeStart,+ 1,+ );const progress = clamp((eff - activeMe.typeStart) / typeDur, 0, 1);composerText = revealedText(activeMe.text,@@ -427,10 +449,15 @@ export function TelegramChatFlow({boxShadow: "0 1px 0 rgba(0,0,0,0.06)",}}>- {contact !== undefined && (- <Avatar contact={contact} size={38} />- )}- <div style={{ display: "flex", flexDirection: "column", gap: 0, flex: 1 }}>+ {contact !== undefined && <Avatar contact={contact} size={38} />}+ <div+ style={{+ display: "flex",+ flexDirection: "column",+ gap: 0,+ flex: 1,+ }}+ ><spanstyle={{fontSize: 15,@@ -477,7 +504,13 @@ export function TelegramChatFlow({padding: "16px 12px 14px",}}>- <div style={{ display: "flex", justifyContent: "center", marginBottom: 8 }}>+ <div+ style={{+ display: "flex",+ justifyContent: "center",+ marginBottom: 8,+ }}+ ><spanstyle={{padding: "3px 11px",@@ -606,10 +639,15 @@ function TelegramRow({frame: eff - item.reactAt,config: { damping: 11, stiffness: 220, mass: 0.6 },});- reactionOpacity = interpolate(eff, [item.reactAt, item.reactAt + 5], [0, 1], {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- });+ reactionOpacity = interpolate(+ eff,+ [item.reactAt, item.reactAt + 5],+ [0, 1],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ },+ );}const bg = outgoing ? accent : INCOMING_BG;@@ -640,7 +678,8 @@ function TelegramRow({style={{display: "flex",alignItems: "center",- justifyContent: item.reaction !== undefined ? "space-between" : "flex-end",+ justifyContent:+ item.reaction !== undefined ? "space-between" : "flex-end",gap: 8,marginTop: 2,}}@@ -653,7 +692,9 @@ function TelegramRow({gap: 4,padding: "1px 7px",borderRadius: 11,- background: outgoing ? "rgba(255,255,255,0.22)" : "rgba(51,144,236,0.12)",+ background: outgoing+ ? "rgba(255,255,255,0.22)"+ : "rgba(51,144,236,0.12)",color: outgoing ? "#ffffff" : accent,fontSize: 13,fontWeight: 600,diff --git a/registry/remocn-ui/toast/__tests__/toast.test.ts b/registry/remocn-ui/toast/__tests__/toast.test.tsindex b2be84a6..a972ab05 100644--- a/registry/remocn-ui/toast/__tests__/toast.test.ts+++ b/registry/remocn-ui/toast/__tests__/toast.test.ts@@ -1,18 +1,14 @@-import { describe, expect, it } from "bun:test";+import type { Step } from "@/lib/remocn-ui";+import { defaultDarkTheme, defaultLightTheme } from "@/lib/remocn-ui";+import { toastConfig } from "../config";import {- toastStyle,- toastStyleContext,type ToastState,type ToastVariant,+ toastStyle,+ toastStyleContext,} from "../index";-import {- tweenToastStyle,- DEFAULT_DURATION,-} from "../use-toast-transition";-import { toastConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme, easings, clamp01 } from "@/lib/remocn-ui";-import type { Step } from "@/lib/remocn-ui";+import { DEFAULT_DURATION, tweenToastStyle } from "../use-toast-transition";const VALID_STATES: readonly ToastState[] = ["hidden", "visible"];const VALID_VARIANTS: readonly ToastVariant[] = ["default", "success", "error"];@@ -279,11 +275,16 @@ function resolveStateTransition<S extends string>(}function resolveToastTransition(- raw: number, // injected useCurrentFrame() — MIRROR line 52+ raw: number, // injected useCurrentFrame() — MIRROR line 52steps: Step<ToastState>[],speed = 1,defaultDuration = DEFAULT_DURATION,-): { style: ReturnType<typeof tweenToastStyle>; progress: number; from: ToastState; to: ToastState } {+): {+ style: ReturnType<typeof tweenToastStyle>;+ progress: number;+ from: ToastState;+ to: ToastState;+} {const { from, to, progress } = resolveStateTransition(raw,steps,@@ -292,7 +293,11 @@ function resolveToastTransition(defaultDuration,);const t = easingOut(progress);- const style = tweenToastStyle(toastStyle(from as ToastState), toastStyle(to as ToastState), t);+ const style = tweenToastStyle(+ toastStyle(from as ToastState),+ toastStyle(to as ToastState),+ t,+ );return { style, progress, from: from as ToastState, to: to as ToastState };}@@ -491,7 +496,6 @@ describe("toastConfig.snippet: title is always emitted", () => {});describe("toastConfig.snippet: default props are omitted", () => {-it("omits variant when it equals the default 'success'", () => {const out = snippet({ state: "visible", variant: "success" });expect(out).not.toContain("variant=");diff --git a/registry/remocn-ui/toast/use-toast-transition.ts b/registry/remocn-ui/toast/use-toast-transition.tsindex d23c07a3..56a76ba3 100644--- a/registry/remocn-ui/toast/use-toast-transition.ts+++ b/registry/remocn-ui/toast/use-toast-transition.ts@@ -1,15 +1,11 @@"use client";import {- easings,- type Step,- useStateTransition,-} from "@/lib/remocn-ui";-import {- toastStyle,type ToastState,type ToastStyle,+ toastStyle,} from "@/components/remocn/toast";+import { easings, type Step, useStateTransition } from "@/lib/remocn-ui";export const DEFAULT_DURATION = 12;diff --git a/registry/remocn-ui/toggle-group/__tests__/toggle-group.test.ts b/registry/remocn-ui/toggle-group/__tests__/toggle-group.test.tsindex cda04a7a..7109035a 100644--- a/registry/remocn-ui/toggle-group/__tests__/toggle-group.test.ts+++ b/registry/remocn-ui/toggle-group/__tests__/toggle-group.test.ts@@ -1,17 +1,16 @@-import { describe, expect, it } from "bun:test";+import { defaultLightTheme } from "@/lib/remocn-ui";+import { toggleGroupConfig } from "../config";import {- type ToggleGroupState,type ToggleGroupItem,+ type ToggleGroupState,toggleGroupStyle,toggleGroupStyleContext,} from "../index";import {- tweenToggleGroupStyle,DEFAULT_DURATION,+ tweenToggleGroupStyle,} from "../use-toggle-group-transition";-import { toggleGroupConfig } from "../config";-import { defaultLightTheme } from "@/lib/remocn-ui";const DEFAULT_ITEMS: ToggleGroupItem[] = [{ value: "Monthly", label: "Monthly" },@@ -271,7 +270,9 @@ describe("resolveToggleGroupTransition: before first step", () => {});describe("resolveToggleGroupTransition: at boundary (progress=0, t=0)", () => {- const steps = [{ from: 10, state: "Yearly" as ToggleGroupState, duration: 14 }];+ const steps = [+ { from: 10, state: "Yearly" as ToggleGroupState, duration: 14 },+ ];const r = resolveToggleGroupTransition(steps, 10);it("indicatorOffset is 0 at the step boundary (progress=0, eased=0)", () => {@@ -308,7 +309,12 @@ describe("resolveToggleGroupTransition: speed contract", () => {{ from: 0, state: "Monthly" as ToggleGroupState, duration: 14 },{ from: 7, state: "Yearly" as ToggleGroupState },];- const r = resolveToggleGroupTransition(steps, 3, /* items */ DEFAULT_ITEMS, /* speed */ 2);+ const r = resolveToggleGroupTransition(+ steps,+ 3,+ /* items */ DEFAULT_ITEMS,+ /* speed */ 2,+ );it("speed=2 accelerates transition: indicatorOffset is closer to 1 at frame 3", () => {expect(r.indicatorOffset).toBeGreaterThan(0.6);@@ -326,7 +332,8 @@ describe("toggleGroupConfig.controls.state", () => {it("has exactly the two documented state options in order", () => {const control = toggleGroupConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");expect(control.options).toEqual(["Monthly", "Yearly"]);});});@@ -342,7 +349,8 @@ describe("toggleGroupConfig.controls.size", () => {it("has exactly the two size options in order", () => {const control = toggleGroupConfig.controls.size;- if (control.type !== "select") throw new Error("size control must be a select");+ if (control.type !== "select")+ throw new Error("size control must be a select");expect(control.options).toEqual(["default", "sm"]);});});@@ -356,17 +364,18 @@ describe("toggleGroupConfig.snippet: import line", () => {});describe("toggleGroupConfig.snippet: state prop always emitted", () => {- it("emits state=\"Monthly\" for the Monthly option", () => {+ it('emits state="Monthly" for the Monthly option', () => {expect(snippet({ state: "Monthly" })).toContain('state="Monthly"');});- it("emits state=\"Yearly\" for the Yearly option", () => {+ it('emits state="Yearly" for the Yearly option', () => {expect(snippet({ state: "Yearly" })).toContain('state="Yearly"');});it("emits the correct state for every control option", () => {const control = toggleGroupConfig.controls.state;- if (control.type !== "select") throw new Error("state control must be a select");+ if (control.type !== "select")+ throw new Error("state control must be a select");for (const state of control.options) {expect(snippet({ state })).toContain(`state="${state}"`);}@@ -398,7 +407,7 @@ describe("toggleGroupConfig.snippet: default props are omitted", () => {});describe("toggleGroupConfig.snippet: non-default props are emitted", () => {- it("emits size=\"sm\" when size is non-default", () => {+ it('emits size="sm" when size is non-default', () => {expect(snippet({ state: "Monthly", size: "sm" })).toContain('size="sm"');});diff --git a/registry/remocn-ui/toggle-group/index.tsx b/registry/remocn-ui/toggle-group/index.tsxindex 84d5e883..e09363df 100644--- a/registry/remocn-ui/toggle-group/index.tsx+++ b/registry/remocn-ui/toggle-group/index.tsx@@ -38,7 +38,13 @@ const DEFAULT_ITEMS: ToggleGroupItem[] = [const SIZE_STYLES: Record<ToggleGroupSize,- { height: number; segMinWidth: number; fontSize: number; pad: number; gap: number }+ {+ height: number;+ segMinWidth: number;+ fontSize: number;+ pad: number;+ gap: number;+ }> = {sm: { height: 32, segMinWidth: 72, fontSize: 13, pad: 3, gap: 6 },default: { height: 36, segMinWidth: 88, fontSize: 14, pad: 4, gap: 8 },diff --git a/registry/remocn-ui/toggle-group/use-toggle-group-transition.ts b/registry/remocn-ui/toggle-group/use-toggle-group-transition.tsindex f41dc600..306166e2 100644--- a/registry/remocn-ui/toggle-group/use-toggle-group-transition.ts+++ b/registry/remocn-ui/toggle-group/use-toggle-group-transition.ts@@ -1,5 +1,12 @@"use client";+import {+ type ToggleGroupItem,+ type ToggleGroupState,+ type ToggleGroupStyle,+ toggleGroupStyle,+ toggleGroupStyleContext,+} from "@/components/remocn/toggle-group";import {easings,type RemocnTheme,@@ -7,13 +14,6 @@ import {useRemocnTheme,useStateTransition,} from "@/lib/remocn-ui";-import {- toggleGroupStyle,- toggleGroupStyleContext,- type ToggleGroupItem,- type ToggleGroupState,- type ToggleGroupStyle,-} from "@/components/remocn/toggle-group";const DEFAULT_ITEMS: ToggleGroupItem[] = [{ value: "Monthly", label: "Monthly" },diff --git a/registry/remocn-ui/tooltip/__tests__/tooltip.test.ts b/registry/remocn-ui/tooltip/__tests__/tooltip.test.tsindex 5acac498..9c0e03bf 100644--- a/registry/remocn-ui/tooltip/__tests__/tooltip.test.ts+++ b/registry/remocn-ui/tooltip/__tests__/tooltip.test.ts@@ -1,17 +1,8 @@-import { describe, expect, it } from "bun:test";-import {- tooltipStyle,- type TooltipState,- type TooltipSide,-} from "../index";-import {- tweenTooltipStyle,- DEFAULT_DURATION,-} from "../use-tooltip-transition";-import { tooltipConfig } from "../config";-import { defaultLightTheme, defaultDarkTheme, easings } from "@/lib/remocn-ui";import type { Step } from "@/lib/remocn-ui";+import { tooltipConfig } from "../config";+import { type TooltipSide, type TooltipState, tooltipStyle } from "../index";+import { DEFAULT_DURATION, tweenTooltipStyle } from "../use-tooltip-transition";const VALID_STATES: readonly TooltipState[] = ["hidden", "visible"];const VALID_SIDES: readonly TooltipSide[] = ["top", "bottom", "left", "right"];@@ -230,11 +221,16 @@ function resolveStateTransition<S extends string>(}function resolveTooltipTransition(- raw: number, // injected useCurrentFrame() — MIRROR line 53+ raw: number, // injected useCurrentFrame() — MIRROR line 53steps: Step<TooltipState>[],speed = 1,defaultDuration = DEFAULT_DURATION,-): { style: ReturnType<typeof tweenTooltipStyle>; progress: number; from: TooltipState; to: TooltipState } {+): {+ style: ReturnType<typeof tweenTooltipStyle>;+ progress: number;+ from: TooltipState;+ to: TooltipState;+} {const { from, to, progress } = resolveStateTransition(raw,steps,@@ -243,8 +239,17 @@ function resolveTooltipTransition(defaultDuration,);const t = easingOut(progress);- const style = tweenTooltipStyle(tooltipStyle(from as TooltipState), tooltipStyle(to as TooltipState), t);- return { style, progress, from: from as TooltipState, to: to as TooltipState };+ const style = tweenTooltipStyle(+ tooltipStyle(from as TooltipState),+ tooltipStyle(to as TooltipState),+ t,+ );+ return {+ style,+ progress,+ from: from as TooltipState,+ to: to as TooltipState,+ };}describe("resolveTooltipTransition: before any step — holds at hidden", () => {@@ -442,7 +447,6 @@ describe("tooltipConfig.snippet: label is always emitted", () => {});describe("tooltipConfig.snippet: default props are omitted", () => {-it("omits side when it equals the default 'top'", () => {const out = snippet({ state: "visible", side: "top" });expect(out).not.toContain("side=");diff --git a/registry/remocn-ui/tooltip/use-tooltip-transition.ts b/registry/remocn-ui/tooltip/use-tooltip-transition.tsindex 341a83a3..9fe8463e 100644--- a/registry/remocn-ui/tooltip/use-tooltip-transition.ts+++ b/registry/remocn-ui/tooltip/use-tooltip-transition.ts@@ -1,15 +1,11 @@"use client";import {- easings,- type Step,- useStateTransition,-} from "@/lib/remocn-ui";-import {- tooltipStyle,type TooltipState,type TooltipStyle,+ tooltipStyle,} from "@/components/remocn/tooltip";+import { easings, type Step, useStateTransition } from "@/lib/remocn-ui";export const DEFAULT_DURATION = 8;diff --git a/registry/remocn-ui/typing-indicator/__tests__/typing-indicator.test.ts b/registry/remocn-ui/typing-indicator/__tests__/typing-indicator.test.tsindex 2d8857fb..9b9694c6 100644--- a/registry/remocn-ui/typing-indicator/__tests__/typing-indicator.test.ts+++ b/registry/remocn-ui/typing-indicator/__tests__/typing-indicator.test.ts@@ -1,7 +1,6 @@-import { describe, expect, it } from "bun:test";-import { typingDotOffset, type TypingDotOptions } from "../index";import { typingIndicatorConfig } from "../config";+import { type TypingDotOptions, typingDotOffset } from "../index";const BASE_OPTS: TypingDotOptions = {fps: 30,diff --git a/registry/remocn/a1-product-demo/__tests__/a1-product-demo.test.ts b/registry/remocn/a1-product-demo/__tests__/a1-product-demo.test.tsindex 6d064b25..634c5448 100644--- a/registry/remocn/a1-product-demo/__tests__/a1-product-demo.test.ts+++ b/registry/remocn/a1-product-demo/__tests__/a1-product-demo.test.ts@@ -1,8 +1,5 @@import { describe, expect, it } from "bun:test";-import {- getProductDemoDuration,- planTransitionTiming,-} from "../duration";+import { getProductDemoDuration, planTransitionTiming } from "../duration";import type { ProductDemoConfig } from "../foundation";const exampleConfig: ProductDemoConfig = {@@ -22,12 +19,20 @@ const exampleConfig: ProductDemoConfig = {{type: "feature-frame",durationInFrames: 180,- content: { title: "Unified inbox", bullet: "Email, chat and SMS", side: "left" },+ content: {+ title: "Unified inbox",+ bullet: "Email, chat and SMS",+ side: "left",+ },},{type: "feature-frame",durationInFrames: 180,- content: { title: "Auto routing", bullet: "The right person", side: "right" },+ content: {+ title: "Auto routing",+ bullet: "The right person",+ side: "right",+ },},{type: "cta-scene",diff --git a/registry/remocn/a1-product-demo/acts/ai-planning.tsx b/registry/remocn/a1-product-demo/acts/ai-planning.tsxindex acd2af6b..4c6179cc 100644--- a/registry/remocn/a1-product-demo/acts/ai-planning.tsx+++ b/registry/remocn/a1-product-demo/acts/ai-planning.tsx@@ -13,7 +13,16 @@ import {const EASE = Easing.out(Easing.cubic);-const TIMES = ["9 AM", "10 AM", "11 AM", "12 PM", "1 PM", "2 PM", "3 PM", "4 PM"];+const TIMES = [+ "9 AM",+ "10 AM",+ "11 AM",+ "12 PM",+ "1 PM",+ "2 PM",+ "3 PM",+ "4 PM",+];const CARD_W = 1200;const PAD = 40;@@ -330,11 +339,7 @@ export function AIPlanning({ speed = 1 }: { speed?: number }) {top: i * ROW_H - 7,fontSize: 12,color: FLOW_MUTED,- opacity: clampInterp(- f,- [28 + i * 2, 40 + i * 2],- [0, 1],- ),+ opacity: clampInterp(f, [28 + i * 2, 40 + i * 2], [0, 1]),}}>{t}diff --git a/registry/remocn/a1-product-demo/acts/features-swap.tsx b/registry/remocn/a1-product-demo/acts/features-swap.tsxindex 3545b81c..e30542d8 100644--- a/registry/remocn/a1-product-demo/acts/features-swap.tsx+++ b/registry/remocn/a1-product-demo/acts/features-swap.tsx@@ -1,10 +1,6 @@"use client";-import {- AbsoluteFill,- interpolate,- useCurrentFrame,-} from "remotion";+import { AbsoluteFill, interpolate, useCurrentFrame } from "remotion";import { FLOW_BG, FLOW_INK, FLOW_YELLOW, FONT_SERIF } from "../foundation";const clamp = {diff --git a/registry/remocn/a1-product-demo/acts/icon-cloud.tsx b/registry/remocn/a1-product-demo/acts/icon-cloud.tsxindex 28868621..d6b08ec6 100644--- a/registry/remocn/a1-product-demo/acts/icon-cloud.tsx+++ b/registry/remocn/a1-product-demo/acts/icon-cloud.tsx@@ -48,7 +48,13 @@ const RAW_CHIPS: RawChip[] = [{ label: "Goals", kind: "goals", color: "#D2487A", dx: 540, dy: 140 },{ label: "Time Tracking", kind: "time", color: "#2E9CB0", dx: 280, dy: 282 },{ label: "Reports", kind: "reports", color: "#D69A2A", dx: -40, dy: 304 },- { label: "Automations", kind: "automations", color: "#2BA38C", dx: -330, dy: 250 },+ {+ label: "Automations",+ kind: "automations",+ color: "#2BA38C",+ dx: -330,+ dy: 250,+ },{ label: "AI Assistant", kind: "ai", color: "#9A55D6", dx: -540, dy: 130 },];@@ -282,7 +288,13 @@ function HeadWord({const color = interpolateColors(reveal, [0, 1], [FLOW_MUTED, FLOW_INK]);return (- <span style={{ display: "inline-block", overflow: "hidden", paddingBottom: "0.06em" }}>+ <span+ style={{+ display: "inline-block",+ overflow: "hidden",+ paddingBottom: "0.06em",+ }}+ ><spanstyle={{display: "inline-block",diff --git a/registry/remocn/a1-product-demo/acts/integrations.tsx b/registry/remocn/a1-product-demo/acts/integrations.tsxindex 59dec897..1ed43e88 100644--- a/registry/remocn/a1-product-demo/acts/integrations.tsx+++ b/registry/remocn/a1-product-demo/acts/integrations.tsx@@ -75,13 +75,7 @@ export function Integrations({ speed = 1 }: { speed?: number }) {);}-function Glyph({- kind,- size,-}: {- kind: (typeof ICONS)[number];- size: number;-}) {+function Glyph({ kind, size }: { kind: (typeof ICONS)[number]; size: number }) {if (kind === "github") return <GithubMark size={size} />;if (kind === "figma") return <FigmaMark size={size} />;if (kind === "flowith") return <FlowithMark size={size} />;diff --git a/registry/remocn/a1-product-demo/acts/positioning.tsx b/registry/remocn/a1-product-demo/acts/positioning.tsxindex 5dcb3c49..f6226f7a 100644--- a/registry/remocn/a1-product-demo/acts/positioning.tsx+++ b/registry/remocn/a1-product-demo/acts/positioning.tsx@@ -76,7 +76,13 @@ function WordReveal({: FLOW_INK;return (- <span style={{ display: "inline-block", overflow: "hidden", paddingBottom: "0.06em" }}>+ <span+ style={{+ display: "inline-block",+ overflow: "hidden",+ paddingBottom: "0.06em",+ }}+ ><spanstyle={{display: "inline-block",diff --git a/registry/remocn/a1-product-demo/acts/social-proof.tsx b/registry/remocn/a1-product-demo/acts/social-proof.tsxindex 1d47d29f..a7ade567 100644--- a/registry/remocn/a1-product-demo/acts/social-proof.tsx+++ b/registry/remocn/a1-product-demo/acts/social-proof.tsx@@ -122,9 +122,7 @@ function TestimonialCard({>{item.name}</span>- <span- style={{ fontFamily: FONT, fontSize: 17, color: FLOW_MUTED }}- >+ <span style={{ fontFamily: FONT, fontSize: 17, color: FLOW_MUTED }}>{item.role}</span></div>diff --git a/registry/remocn/a1-product-demo/acts/task-mgmt.tsx b/registry/remocn/a1-product-demo/acts/task-mgmt.tsxindex f9ac6231..238640ba 100644--- a/registry/remocn/a1-product-demo/acts/task-mgmt.tsx+++ b/registry/remocn/a1-product-demo/acts/task-mgmt.tsx@@ -45,16 +45,8 @@ const CARD_SHADOW = "0 18px 44px rgba(30, 28, 22, 0.10)";function FlagIcon({ color }: { color: string }) {return (<svg width={22} height={22} viewBox="0 0 24 24" fill="none" aria-hidden>- <path- d="M6 3v18"- stroke={color}- strokeWidth={2}- strokeLinecap="round"- />- <path- d="M6 4h11l-2.2 3.3L17 11H6V4Z"- fill={color}- />+ <path d="M6 3v18" stroke={color} strokeWidth={2} strokeLinecap="round" />+ <path d="M6 4h11l-2.2 3.3L17 11H6V4Z" fill={color} /></svg>);}diff --git a/registry/remocn/a1-product-demo/acts/workflow-auto.tsx b/registry/remocn/a1-product-demo/acts/workflow-auto.tsxindex ff61975e..ae281e77 100644--- a/registry/remocn/a1-product-demo/acts/workflow-auto.tsx+++ b/registry/remocn/a1-product-demo/acts/workflow-auto.tsx@@ -52,7 +52,14 @@ const NODES: NodeSpec[] = [{ key: "deps", label: "Dependencies", x: 1128, y: BOTTOM_Y, delay: 27 },];-type Connector = { key: string; x1: number; y1: number; x2: number; y2: number; delay: number };+type Connector = {+ key: string;+ x1: number;+ y1: number;+ x2: number;+ y2: number;+ delay: number;+};const CONNECTORS: Connector[] = [{ key: "c-todo", x1: 660, y1: TOP_Y, x2: AI_X, y2: AI_Y, delay: 34 },@@ -62,7 +69,13 @@ const CONNECTORS: Connector[] = [{ key: "c-deps", x1: AI_X, y1: AI_Y, x2: 1128, y2: BOTTOM_Y, delay: 47 },];-function Sparkle({ size = 18, color = FLOW_YELLOW }: { size?: number; color?: string }) {+function Sparkle({+ size = 18,+ color = FLOW_YELLOW,+}: {+ size?: number;+ color?: string;+}) {return (<svg width={size} height={size} viewBox="0 0 24 24" aria-hidden><pathdiff --git a/registry/remocn/a1-product-demo/example.ts b/registry/remocn/a1-product-demo/example.tsindex 4c7ce418..15e80d7d 100644--- a/registry/remocn/a1-product-demo/example.ts+++ b/registry/remocn/a1-product-demo/example.ts@@ -1,3 +1,4 @@import { DEFAULT_PRODUCT_DEMO_CONFIG, type ProductDemoConfig } from "./index";-export const a1ProductDemoExample: ProductDemoConfig = DEFAULT_PRODUCT_DEMO_CONFIG;+export const a1ProductDemoExample: ProductDemoConfig =+ DEFAULT_PRODUCT_DEMO_CONFIG;diff --git a/registry/remocn/a1-product-demo/feature-frame.tsx b/registry/remocn/a1-product-demo/feature-frame.tsxindex 6a111fdd..7b3ef7b8 100644--- a/registry/remocn/a1-product-demo/feature-frame.tsx+++ b/registry/remocn/a1-product-demo/feature-frame.tsx@@ -1,12 +1,7 @@"use client";import type { ReactNode } from "react";-import {- AbsoluteFill,- Easing,- interpolate,- useCurrentFrame,-} from "remotion";+import { AbsoluteFill, Easing, interpolate, useCurrentFrame } from "remotion";import type { TemplateTheme } from "./foundation";import { UiSnapshotCard } from "./ui-snapshot-card";@@ -80,7 +75,12 @@ export function FeatureFrame({gap: 26,}}>- <TitleBlock title={title} accent={accent} color={theme.foreground} f={f} />+ <TitleBlock+ title={title}+ accent={accent}+ color={theme.foreground}+ f={f}+ /><BulletLine bullet={bullet} color={theme.muted} f={f} /></div>);diff --git a/registry/remocn/a1-product-demo/flowith-demo.tsx b/registry/remocn/a1-product-demo/flowith-demo.tsxindex 30d117fe..c6e71c46 100644--- a/registry/remocn/a1-product-demo/flowith-demo.tsx+++ b/registry/remocn/a1-product-demo/flowith-demo.tsx@@ -8,8 +8,8 @@ import { IconCloud } from "./acts/icon-cloud";import { Integrations } from "./acts/integrations";import { LogoOutro } from "./acts/logo-outro";import { MetricsCards } from "./acts/metrics-cards";-import { ProblemHook } from "./acts/problem-hook";import { Positioning } from "./acts/positioning";+import { ProblemHook } from "./acts/problem-hook";import { SocialProof } from "./acts/social-proof";import { TaskMgmt } from "./acts/task-mgmt";import { WorkflowAuto } from "./acts/workflow-auto";diff --git a/registry/remocn/a1-product-demo/foundation.tsx b/registry/remocn/a1-product-demo/foundation.tsxindex b11f79a8..80b8205e 100644--- a/registry/remocn/a1-product-demo/foundation.tsx+++ b/registry/remocn/a1-product-demo/foundation.tsx@@ -168,7 +168,12 @@ type SpatialPushProps = { direction: "up" | "down" | "left" | "right" };const SpatialPushPresentation: FC<TransitionPresentationComponentProps<SpatialPushProps>-> = ({ children, presentationProgress, presentationDirection, passedProps }) => {+> = ({+ children,+ presentationProgress,+ presentationDirection,+ passedProps,+}) => {const p = presentationProgress;const { direction } = passedProps;const blur = interpolate(p, [0, 0.5, 1], [0, 5, 0]);@@ -231,7 +236,13 @@ export function CtaScene({ line, domain, theme, speed = 1 }: CtaSceneProps) {}}><div- style={{ position: "absolute", left: 0, right: 0, top: 24, height: 150 }}+ style={{+ position: "absolute",+ left: 0,+ right: 0,+ top: 24,+ height: 150,+ }}><MaskRevealUptext={line}diff --git a/registry/remocn/a1-product-demo/index.tsx b/registry/remocn/a1-product-demo/index.tsxindex ccf31d26..4c230a24 100644--- a/registry/remocn/a1-product-demo/index.tsx+++ b/registry/remocn/a1-product-demo/index.tsx@@ -4,17 +4,17 @@ import { TransitionSeries } from "@remotion/transitions";import type { ReactNode } from "react";import { AbsoluteFill, interpolate, useCurrentFrame } from "remotion";import { DynamicGrid } from "@/components/remocn/dynamic-grid";-import { FlowithDemo } from "./flowith-demo";import { planTransitionTiming } from "./duration";import { FeatureFrame } from "./feature-frame";+import { FlowithDemo } from "./flowith-demo";import {CtaScene,cameraCraneUp,type ProductDemoConfig,type ProductDemoScene,- type TemplateTheme,resolveTiming,spatialPush,+ type TemplateTheme,} from "./foundation";import { ProductHero } from "./product-hero";diff --git a/registry/remocn/a1-product-demo/product-hero.tsx b/registry/remocn/a1-product-demo/product-hero.tsxindex 06df5a4e..3720462c 100644--- a/registry/remocn/a1-product-demo/product-hero.tsx+++ b/registry/remocn/a1-product-demo/product-hero.tsx@@ -2,8 +2,8 @@import { AbsoluteFill, interpolate, Sequence, useCurrentFrame } from "remotion";import { SoftBlurIn } from "@/components/remocn/soft-blur-in";-import { Camera, CAMERA_TRAVEL_EASE } from "./foundation";import type { ProductHeroContent, TemplateTheme } from "./foundation";+import { CAMERA_TRAVEL_EASE, Camera } from "./foundation";export interface ProductHeroProps {content: ProductHeroContent;diff --git a/registry/remocn/a1-product-demo/ui-snapshot-card.tsx b/registry/remocn/a1-product-demo/ui-snapshot-card.tsxindex 6991cbc4..4ee3157b 100644--- a/registry/remocn/a1-product-demo/ui-snapshot-card.tsx+++ b/registry/remocn/a1-product-demo/ui-snapshot-card.tsx@@ -58,7 +58,9 @@ export function UiSnapshotCard({) : null}</div>) : null}- <div style={{ position: "relative", flex: 1, padding: 22 }}>{children}</div>+ <div style={{ position: "relative", flex: 1, padding: 22 }}>+ {children}+ </div></div>);}diff --git a/registry/remocn/animated-bar-chart/index.tsx b/registry/remocn/animated-bar-chart/index.tsxindex 77b7d5d7..f1867c27 100644--- a/registry/remocn/animated-bar-chart/index.tsx+++ b/registry/remocn/animated-bar-chart/index.tsx@@ -89,7 +89,7 @@ export function AnimatedBarChart({filter: `drop-shadow(0 4px 16px ${barColor}55)`,}}/>- {labels && labels[index] && (+ {labels?.[index] && (<textx={x + barWidth / 2}y={baseY + 28}diff --git a/registry/remocn/blur-out-up/index.tsx b/registry/remocn/blur-out-up/index.tsxindex 5b3b343f..988953e5 100644--- a/registry/remocn/blur-out-up/index.tsx+++ b/registry/remocn/blur-out-up/index.tsx@@ -33,7 +33,10 @@ export function BlurOutUp({const exitEasing = Easing.bezier(0.64, 0, 0.78, 0);const enterEnd = enterDur + (words.length - 1) * staggerDelay;- const exitStart = Math.max(enterEnd, durationInFrames - exitDur - (words.length - 1) * staggerDelay);+ const exitStart = Math.max(+ enterEnd,+ durationInFrames - exitDur - (words.length - 1) * staggerDelay,+ );return (<divdiff --git a/registry/remocn/bottom-up-letters/index.tsx b/registry/remocn/bottom-up-letters/index.tsxindex c0a70d42..937cd383 100644--- a/registry/remocn/bottom-up-letters/index.tsx+++ b/registry/remocn/bottom-up-letters/index.tsx@@ -53,18 +53,16 @@ export function BottomUpLetters({{chars.map((char, i) => {const local = frame - i * staggerDelay;const easing = Easing.bezier(0.18, 1, 0.32, 1);- const opacity = interpolate(- local,- [0, charDurationFrames],- [0, 1],- { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing },- );- const y = interpolate(- local,- [0, charDurationFrames],- [distance, 0],- { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing },- );+ const opacity = interpolate(local, [0, charDurationFrames], [0, 1], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ });+ const y = interpolate(local, [0, charDurationFrames], [distance, 0], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ });return (<spankey={i}diff --git a/registry/remocn/chat-gpt/__tests__/chat-gpt.test.ts b/registry/remocn/chat-gpt/__tests__/chat-gpt.test.tsindex f9ecc6cd..a63c1c1c 100644--- a/registry/remocn/chat-gpt/__tests__/chat-gpt.test.ts+++ b/registry/remocn/chat-gpt/__tests__/chat-gpt.test.ts@@ -1,6 +1,6 @@import { describe, expect, it } from "bun:test";-import { TYPING_CPS, TYPING_START_FRAME, morphProgressAt } from "../index";+import { morphProgressAt, TYPING_CPS, TYPING_START_FRAME } from "../index";const FPS = 30;diff --git a/registry/remocn/chat-gpt/config.ts b/registry/remocn/chat-gpt/config.tsindex 49495cbc..1352e1ba 100644--- a/registry/remocn/chat-gpt/config.ts+++ b/registry/remocn/chat-gpt/config.ts@@ -9,7 +9,11 @@ export const chatGptConfig: ComponentConfig = {default: "What's on your mind today?",label: "Greeting",},- placeholder: { type: "text", default: "Ask anything", label: "Placeholder" },+ placeholder: {+ type: "text",+ default: "Ask anything",+ label: "Placeholder",+ },prompt: {type: "text",default: "Make a sunset over a calm ocean",diff --git a/registry/remocn/chat-gpt/index.tsx b/registry/remocn/chat-gpt/index.tsxindex f1fdea66..d55daaf0 100644--- a/registry/remocn/chat-gpt/index.tsx+++ b/registry/remocn/chat-gpt/index.tsx@@ -307,7 +307,6 @@ export function ChatGpt({const pillFade = fadeUpAt(frame * speed, [10, 26]);const chipsFade = fadeUpAt(frame * speed, [16, 32]);-const pillWidth = 820;const pillLeft = (refW - pillWidth) / 2;const pillTop = 300;@@ -407,7 +406,12 @@ export function ChatGpt({alignItems: "center",}}>- <Caret color={t.fg} blink={!tw.typing} speed={speed} height={22} />+ <Caret+ color={t.fg}+ blink={!tw.typing}+ speed={speed}+ height={22}+ /><span style={{ marginLeft: 6 }}>{placeholder}</span></span>)}diff --git a/registry/remocn/claude-chat/__tests__/claude-chat.test.ts b/registry/remocn/claude-chat/__tests__/claude-chat.test.tsindex f9ecc6cd..a63c1c1c 100644--- a/registry/remocn/claude-chat/__tests__/claude-chat.test.ts+++ b/registry/remocn/claude-chat/__tests__/claude-chat.test.ts@@ -1,6 +1,6 @@import { describe, expect, it } from "bun:test";-import { TYPING_CPS, TYPING_START_FRAME, morphProgressAt } from "../index";+import { morphProgressAt, TYPING_CPS, TYPING_START_FRAME } from "../index";const FPS = 30;diff --git a/registry/remocn/claude-chat/index.tsx b/registry/remocn/claude-chat/index.tsxindex 4f6510c3..67c25773 100644--- a/registry/remocn/claude-chat/index.tsx+++ b/registry/remocn/claude-chat/index.tsx@@ -1,6 +1,5 @@"use client";-import { loadFont as loadHeadingFont } from "@remotion/google-fonts/Fraunces";import { loadFont as loadBodyFont } from "@remotion/google-fonts/Inter";import {AbsoluteFill,diff --git a/registry/remocn/confetti/index.tsx b/registry/remocn/confetti/index.tsxindex fc88d05b..5df508f8 100644--- a/registry/remocn/confetti/index.tsx+++ b/registry/remocn/confetti/index.tsx@@ -1,6 +1,11 @@"use client";-import { AbsoluteFill, interpolate, useCurrentFrame, useVideoConfig } from "remotion";+import {+ AbsoluteFill,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from "remotion";export interface ConfettiProps {/** Number of confetti pieces. */diff --git a/registry/remocn/data-flow-pipes/index.tsx b/registry/remocn/data-flow-pipes/index.tsxindex dfa5a07f..fdff6ca2 100644--- a/registry/remocn/data-flow-pipes/index.tsx+++ b/registry/remocn/data-flow-pipes/index.tsx@@ -57,7 +57,7 @@ const DEFAULT_EDGES: DataFlowEdge[] = [*/function bezierPath(a: { x: number; y: number }, b: { x: number; y: number }) {const dx = b.x - a.x;- const dy = b.y - a.y;+ const _dy = b.y - a.y;// Stronger horizontal handles → routes look like API/DB diagrams.const handle = Math.max(60, Math.abs(dx) * 0.5);const c1x = a.x + handle;diff --git a/registry/remocn/dither-dissolve/index.tsx b/registry/remocn/dither-dissolve/index.tsxindex dfea7324..9c10d522 100644--- a/registry/remocn/dither-dissolve/index.tsx+++ b/registry/remocn/dither-dissolve/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, interpolate } from "remotion";import { ShaderDithering } from "@/components/remocn/shader-dithering";const clampOpts = {diff --git a/registry/remocn/fade-through/config.ts b/registry/remocn/fade-through/config.tsindex ec3fa15b..08463cbe 100644--- a/registry/remocn/fade-through/config.ts+++ b/registry/remocn/fade-through/config.ts@@ -10,8 +10,16 @@ export const fadeThroughConfig: ComponentConfig = {componentName: "FadeThrough",importPath: "@/components/remocn/fade-through",controls: {- fromText: { type: "text", default: "Calm transitions.", label: "From text" },- toText: { type: "text", default: "Fade through content.", label: "To text" },+ fromText: {+ type: "text",+ default: "Calm transitions.",+ label: "From text",+ },+ toText: {+ type: "text",+ default: "Fade through content.",+ label: "To text",+ },fontSize: {type: "number",default: 72,diff --git a/registry/remocn/focus-pull/index.tsx b/registry/remocn/focus-pull/index.tsxindex 6d879ce5..cb220e9e 100644--- a/registry/remocn/focus-pull/index.tsx+++ b/registry/remocn/focus-pull/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";const clampOpts = {extrapolateLeft: "clamp" as const,diff --git a/registry/remocn/github-sponsors/__tests__/github-sponsors.test.ts b/registry/remocn/github-sponsors/__tests__/github-sponsors.test.tsindex 16b40ff0..14ade824 100644--- a/registry/remocn/github-sponsors/__tests__/github-sponsors.test.ts+++ b/registry/remocn/github-sponsors/__tests__/github-sponsors.test.ts@@ -1,11 +1,11 @@import { describe, expect, it } from "bun:test";import {- SAMPLE_SPONSORS,gridColumns,gridLayout,heartDrawProgress,heartPulseScale,+ SAMPLE_SPONSORS,} from "../index";describe("gridColumns", () => {diff --git a/registry/remocn/github-sponsors/index.tsx b/registry/remocn/github-sponsors/index.tsxindex 9002976c..cf6c4d86 100644--- a/registry/remocn/github-sponsors/index.tsx+++ b/registry/remocn/github-sponsors/index.tsx@@ -1,7 +1,7 @@"use client";-import { memo, useMemo, useState } from "react";import { loadFont as loadSans } from "@remotion/google-fonts/Manrope";+import { memo, useMemo, useState } from "react";import {AbsoluteFill,Easing,@@ -11,9 +11,8 @@ import {useCurrentFrame,useVideoConfig,} from "remotion";--import { SoftBlurIn } from "@/components/remocn/soft-blur-in";import { BlurOutUp } from "@/components/remocn/blur-out-up";+import { SoftBlurIn } from "@/components/remocn/soft-blur-in";export interface Sponsor {login: string;diff --git a/registry/remocn/github-stars/__tests__/github-stars.test.ts b/registry/remocn/github-stars/__tests__/github-stars.test.tsindex 9a8c48b0..939a3fd0 100644--- a/registry/remocn/github-stars/__tests__/github-stars.test.ts+++ b/registry/remocn/github-stars/__tests__/github-stars.test.ts@@ -12,13 +12,13 @@import { describe, expect, it } from "bun:test";import {- SAMPLE_STARGAZERS,computeCounterProgress,computeScrollProgress,computeSpacerRows,downsampleStargazers,getStarCount,isScrollContained,+ SAMPLE_STARGAZERS,type Stargazer,} from "../index";@@ -213,7 +213,11 @@ describe("maxScrollOvershoot / elastic peak", () => {let max = -Infinity;let maxFrame = -1;for (let f = 0; f <= dur; f++) {- const val = computeScrollProgress({ frame: f, speed: 1, durationInFrames: dur });+ const val = computeScrollProgress({+ frame: f,+ speed: 1,+ durationInFrames: dur,+ });if (val > max) {max = val;maxFrame = f;@@ -323,7 +327,9 @@ describe("SAMPLE_STARGAZERS", () => {it("avatarUrls are HTTPS GitHub avatar URLs", () => {for (const sg of SAMPLE_STARGAZERS) {- expect(sg.avatarUrl).toMatch(/^https:\/\/avatars\.githubusercontent\.com\//);+ expect(sg.avatarUrl).toMatch(+ /^https:\/\/avatars\.githubusercontent\.com\//,+ );}});diff --git a/registry/remocn/github-stars/config.ts b/registry/remocn/github-stars/config.tsindex 5f1c88f5..ebc92d63 100644--- a/registry/remocn/github-stars/config.ts+++ b/registry/remocn/github-stars/config.ts@@ -1,9 +1,4 @@-import {- type ComponentConfig,- FPS,- H,- W,-} from "@/lib/customizer-config";+import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";export const githubStarsConfig: ComponentConfig = {componentName: "GitHubStars",diff --git a/registry/remocn/github-stars/index.tsx b/registry/remocn/github-stars/index.tsxindex 08d310c7..49b9d16f 100644--- a/registry/remocn/github-stars/index.tsx+++ b/registry/remocn/github-stars/index.tsx@@ -1,9 +1,9 @@"use client";+import { loadFont as loadMono } from "@remotion/google-fonts/GeistMono";+import { loadFont as loadSans } from "@remotion/google-fonts/Manrope";import { format, parseISO } from "date-fns";import { memo, useMemo, useState } from "react";-import { loadFont as loadSans } from "@remotion/google-fonts/Manrope";-import { loadFont as loadMono } from "@remotion/google-fonts/GeistMono";import {AbsoluteFill,Easing,diff --git a/registry/remocn/glass-code-block/index.tsx b/registry/remocn/glass-code-block/index.tsxindex 3aa8addc..a58daf14 100644--- a/registry/remocn/glass-code-block/index.tsx+++ b/registry/remocn/glass-code-block/index.tsx@@ -1,6 +1,6 @@"use client";-import { Sequence, interpolate, useCurrentFrame } from "remotion";+import { interpolate, Sequence, useCurrentFrame } from "remotion";export interface GlassCodeBlockProps {code?: string;@@ -68,8 +68,8 @@ function tokenizeLine(line: string): Token[] {const tokens: Token[] = [];// Split keeping delimiters: words, strings, numbers, everything else.const re = /("[^"]*"|'[^']*'|`[^`]*`|\b\d+\b|\b[A-Za-z_$][\w$]*\b|[^\w"']+)/g;- let match: RegExpExecArray | null;- while ((match = re.exec(line)) !== null) {+ let match: RegExpExecArray | null = re.exec(line);+ while (match !== null) {const t = match[0];const first = t[0];if (first === '"' || first === "'" || first === "`") {@@ -81,6 +81,7 @@ function tokenizeLine(line: string): Token[] {} else {tokens.push({ text: t, kind: "code" });}+ match = re.exec(line);}return tokens;}diff --git a/registry/remocn/grain-dissolve/config.ts b/registry/remocn/grain-dissolve/config.tsindex fdcc46d2..b0220ecc 100644--- a/registry/remocn/grain-dissolve/config.ts+++ b/registry/remocn/grain-dissolve/config.ts@@ -8,7 +8,15 @@ export const grainDissolveConfig: ComponentConfig = {shape: {type: "select",default: "blob",- options: ["wave", "dots", "truchet", "corners", "ripple", "blob", "sphere"],+ options: [+ "wave",+ "dots",+ "truchet",+ "corners",+ "ripple",+ "blob",+ "sphere",+ ],label: "Shape",},noise: {diff --git a/registry/remocn/grain-dissolve/index.tsx b/registry/remocn/grain-dissolve/index.tsxindex 4c7708c4..90c8d423 100644--- a/registry/remocn/grain-dissolve/index.tsx+++ b/registry/remocn/grain-dissolve/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";import {ShaderGrainGradient,type ShaderGrainGradientProps,@@ -66,8 +66,7 @@ const GrainDissolvePresentation: React.FC<...clampOpts,easing: Easing.bezier(0.42, 0, 0.58, 1),});- const fieldScale =- zoom * interpolate(p, [0, 1], [0.9, 1.15], clampOpts);+ const fieldScale = zoom * interpolate(p, [0, 1], [0.9, 1.15], clampOpts);const childStyle: React.CSSProperties = {opacity: interpolate(p, [0.7, 0.86], [0, 1], clampOpts),diff --git a/registry/remocn/line-by-line-slide/config.ts b/registry/remocn/line-by-line-slide/config.tsindex ad177b32..57280776 100644--- a/registry/remocn/line-by-line-slide/config.ts+++ b/registry/remocn/line-by-line-slide/config.ts@@ -10,7 +10,11 @@ export const lineByLineSlideConfig: ComponentConfig = {componentName: "LineByLineSlide",importPath: "@/components/remocn/line-by-line-slide",controls: {- text: { type: "text", default: "Think different.\nDo more.", label: "Text" },+ text: {+ type: "text",+ default: "Think different.\nDo more.",+ label: "Text",+ },distance: {type: "number",default: 48,diff --git a/registry/remocn/line-by-line-slide/index.tsx b/registry/remocn/line-by-line-slide/index.tsxindex 6748c8b5..10904f36 100644--- a/registry/remocn/line-by-line-slide/index.tsx+++ b/registry/remocn/line-by-line-slide/index.tsx@@ -35,7 +35,10 @@ export function LineByLineSlide({const exitEasing = Easing.bezier(0.64, 0, 0.78, 0);const enterEnd = enterDur + (lines.length - 1) * enterStagger;- const exitStart = Math.max(enterEnd, durationInFrames - exitDur - (lines.length - 1) * exitStagger);+ const exitStart = Math.max(+ enterEnd,+ durationInFrames - exitDur - (lines.length - 1) * exitStagger,+ );return (<div@@ -79,11 +82,16 @@ export function LineByLineSlide({const opacity = enterP * (1 - exitP);- const xEnter = interpolate(enterLocal, [0, enterDur], [-distance, 0], {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- easing: enterEasing,- });+ const xEnter = interpolate(+ enterLocal,+ [0, enterDur],+ [-distance, 0],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing: enterEasing,+ },+ );const xExit = interpolate(exitLocal, [0, exitDur], [0, distance], {extrapolateLeft: "clamp",diff --git a/registry/remocn/logo-enter/index.tsx b/registry/remocn/logo-enter/index.tsxindex c2770061..f9bf9fbd 100644--- a/registry/remocn/logo-enter/index.tsx+++ b/registry/remocn/logo-enter/index.tsx@@ -1,6 +1,6 @@"use client";-import { type ReactNode } from "react";+import type { ReactNode } from "react";import {AbsoluteFill,interpolate,diff --git a/registry/remocn/mask-reveal-up/config.ts b/registry/remocn/mask-reveal-up/config.tsindex f72679be..1bca3daa 100644--- a/registry/remocn/mask-reveal-up/config.ts+++ b/registry/remocn/mask-reveal-up/config.ts@@ -10,7 +10,11 @@ export const maskRevealUpConfig: ComponentConfig = {componentName: "MaskRevealUp",importPath: "@/components/remocn/mask-reveal-up",controls: {- text: { type: "text", default: "Designed to move.\nBuilt to focus.", label: "Text" },+ text: {+ type: "text",+ default: "Designed to move.\nBuilt to focus.",+ label: "Text",+ },distance: {type: "number",default: 30,diff --git a/registry/remocn/mask-reveal-up/index.tsx b/registry/remocn/mask-reveal-up/index.tsxindex 14fe3bce..10764214 100644--- a/registry/remocn/mask-reveal-up/index.tsx+++ b/registry/remocn/mask-reveal-up/index.tsx@@ -35,7 +35,10 @@ export function MaskRevealUp({const exitEasing = Easing.bezier(0.64, 0, 0.78, 0);const enterEnd = enterDur + (lines.length - 1) * enterStagger;- const exitStart = Math.max(enterEnd, durationInFrames - exitDur - (lines.length - 1) * exitStagger);+ const exitStart = Math.max(+ enterEnd,+ durationInFrames - exitDur - (lines.length - 1) * exitStagger,+ );return (<divdiff --git a/registry/remocn/number-wheel/index.tsx b/registry/remocn/number-wheel/index.tsxindex 0c8de122..071dc991 100644--- a/registry/remocn/number-wheel/index.tsx+++ b/registry/remocn/number-wheel/index.tsx@@ -1,7 +1,7 @@"use client";-import type React from "react";import { loadFont as loadMono } from "@remotion/google-fonts/JetBrainsMono";+import type React from "react";import {AbsoluteFill,Easing,diff --git a/registry/remocn/opencode/index.tsx b/registry/remocn/opencode/index.tsxindex 0a819e19..ee2edad5 100644--- a/registry/remocn/opencode/index.tsx+++ b/registry/remocn/opencode/index.tsx@@ -114,7 +114,6 @@ export function OpenCode({const boxFade = fadeUpAt(frame * speed, [12, 30]);const hintsFade = fadeUpAt(frame * speed, [20, 38]);-const boxWidth = 1000;return (@@ -170,10 +169,7 @@ export function OpenCode({fill="#B7B1B1"/><path d="M144 30H126V18H144V30Z" fill="#4B4646" />- <path- d="M144 12H126V30H144V36H120V6H144V12Z"- fill="#F1ECEC"- />+ <path d="M144 12H126V30H144V36H120V6H144V12Z" fill="#F1ECEC" /><path d="M168 30H156V18H168V30Z" fill="#4B4646" /><pathd="M168 12H156V30H168V12ZM174 36H150V6H174V36Z"diff --git a/registry/remocn/per-character-rise/index.tsx b/registry/remocn/per-character-rise/index.tsxindex 0ca4859f..06cf86f8 100644--- a/registry/remocn/per-character-rise/index.tsx+++ b/registry/remocn/per-character-rise/index.tsx@@ -52,18 +52,16 @@ export function PerCharacterRise({{chars.map((char, i) => {const local = frame - i * staggerFrames;const easing = Easing.bezier(0.2, 0.8, 0.2, 1);- const opacity = interpolate(- local,- [0, charDurationFrames],- [0, 1],- { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing },- );- const y = interpolate(- local,- [0, charDurationFrames],- [distance, 0],- { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing },- );+ const opacity = interpolate(local, [0, charDurationFrames], [0, 1], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ });+ const y = interpolate(local, [0, charDurationFrames], [distance, 0], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ });return (<spankey={i}diff --git a/registry/remocn/per-word-crossfade/config.ts b/registry/remocn/per-word-crossfade/config.tsindex b392137a..4e7ffa75 100644--- a/registry/remocn/per-word-crossfade/config.ts+++ b/registry/remocn/per-word-crossfade/config.ts@@ -10,7 +10,11 @@ export const perWordCrossfadeConfig: ComponentConfig = {componentName: "PerWordCrossfade",importPath: "@/components/remocn/per-word-crossfade",controls: {- fromText: { type: "text", default: "Beautifully simple.", label: "From text" },+ fromText: {+ type: "text",+ default: "Beautifully simple.",+ label: "From text",+ },toText: { type: "text", default: "Designed for focus.", label: "To text" },fontSize: {type: "number",diff --git a/registry/remocn/perlin-dissolve/index.tsx b/registry/remocn/perlin-dissolve/index.tsxindex 593f2071..8c033e71 100644--- a/registry/remocn/perlin-dissolve/index.tsx+++ b/registry/remocn/perlin-dissolve/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";import { ShaderPerlinNoise } from "@/components/remocn/shader-perlin-noise";const clampOpts = {diff --git a/registry/remocn/push-through/index.tsx b/registry/remocn/push-through/index.tsxindex e77e2b1c..7a5d918f 100644--- a/registry/remocn/push-through/index.tsx+++ b/registry/remocn/push-through/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";const clampOpts = {extrapolateLeft: "clamp" as const,diff --git a/registry/remocn/registry.json b/registry/remocn/registry.jsonindex 096cf05d..c1250ed7 100644--- a/registry/remocn/registry.json+++ b/registry/remocn/registry.json@@ -8,9 +8,7 @@"type": "registry:component","title": "Soft Blur In","description": "Per-character fade-in with a gentle blur and upward motion. Apple's signature hero-title reveal.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "soft-blur-in/index.tsx",@@ -24,9 +22,7 @@"type": "registry:component","title": "Per Character Rise","description": "Letters slide up from below with no blur — crisp, deliberate, kinetic.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "per-character-rise/index.tsx",@@ -40,9 +36,7 @@"type": "registry:component","title": "Bottom-Up Letters","description": "Letters rise from below in a pronounced staircase, one symbol at a time, with zero blur.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "bottom-up-letters/index.tsx",@@ -56,9 +50,7 @@"type": "registry:component","title": "Top-Down Letters","description": "Letters descend from above in a pronounced staircase, one symbol at a time, with zero blur.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "top-down-letters/index.tsx",@@ -72,9 +64,7 @@"type": "registry:component","title": "Spring Scale In","description": "Words pop in with a soft overshoot scale, like a physical spring settling into place.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "spring-scale-in/index.tsx",@@ -88,9 +78,7 @@"type": "registry:component","title": "Micro Scale Fade","description": "A calm, tiny scale pop used as subtle premium polish for labels and headings.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "micro-scale-fade/index.tsx",@@ -104,9 +92,7 @@"type": "registry:component","title": "Scale Down Fade","description": "Subtle premium settle-in with a restrained scale-down fade on exit.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "scale-down-fade/index.tsx",@@ -120,9 +106,7 @@"type": "registry:component","title": "Blur Out Up","description": "Words arrive clean and depart upward with increasing blur for airy exits.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "blur-out-up/index.tsx",@@ -136,9 +120,7 @@"type": "registry:component","title": "Focus Blur Resolve","description": "A premium focus pull from heavy blur to crisp text, then a soft blur-out exit.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "focus-blur-resolve/index.tsx",@@ -152,9 +134,7 @@"type": "registry:component","title": "Line-by-Line Slide","description": "Each line enters from the left with a staggered slide and exits to the right for a flowing paragraph reveal.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "line-by-line-slide/index.tsx",@@ -168,9 +148,7 @@"type": "registry:component","title": "Per-Word Crossfade","description": "Words gently fade into place one after another, with a short vertical drift for a calm keynote rhythm.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "per-word-crossfade/index.tsx",@@ -184,9 +162,7 @@"type": "registry:component","title": "Fade Through","description": "A Material-style content transition: old fades out, new fades in with a soft delay.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "fade-through/index.tsx",@@ -200,9 +176,7 @@"type": "registry:component","title": "Shared Axis Y","description": "Per-word hard-cut transition with staircase timing for sharp editorial swaps.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "shared-axis-y/index.tsx",@@ -216,9 +190,7 @@"type": "registry:component","title": "Shared Axis Z","description": "Scale-based shared-axis transition for focus shifts and context depth.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "shared-axis-z/index.tsx",@@ -232,9 +204,7 @@"type": "registry:component","title": "Short Slide Right","description": "The whole phrase glides in from the left as one compact move while words reveal in sequence through opacity.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "short-slide-right/index.tsx",@@ -248,9 +218,7 @@"type": "registry:component","title": "Kinetic Center Build","description": "A word appears in the center; each new word enters from the right and pushes the line until the full phrase locks centered.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "kinetic-center-build/index.tsx",@@ -264,9 +232,7 @@"type": "registry:component","title": "Short Slide Down","description": "Each new word drops in from above into its own line and pushes the stack downward until a centered three-line composition locks in place.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "short-slide-down/index.tsx",@@ -280,13 +246,8 @@"type": "registry:component","title": "Typewriter","description": "Character-by-character text reveal with a deterministic blinking cursor.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/remocn-ui",- "@remocn/caret"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret"],"files": [{"path": "typewriter/index.tsx",@@ -300,9 +261,7 @@"type": "registry:component","title": "Inline Highlight","description": "Animates one word inside a sentence from a base color to a brand color.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "inline-highlight/index.tsx",@@ -316,9 +275,7 @@"type": "registry:component","title": "Strikethrough Replace","description": "Draws a strike line across old text then reveals new text in its place.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "strikethrough-replace/index.tsx",@@ -332,9 +289,7 @@"type": "registry:component","title": "Staggered Fade Up","description": "Words fade in and slide up one after another with a configurable delay.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "staggered-fade-up/index.tsx",@@ -348,9 +303,7 @@"type": "registry:component","title": "Mask Reveal Up","description": "Lines reveal upward with a soft masked feel and compact stagger.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "mask-reveal-up/index.tsx",@@ -364,9 +317,7 @@"type": "registry:component","title": "Tracking In","description": "Letter-spacing collapses and blur clears with a springy motion.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "tracking-in/index.tsx",@@ -380,9 +331,7 @@"type": "registry:component","title": "Shimmer Sweep","description": "Light shine sweeps across muted text via background-clip:text.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "shimmer-sweep/index.tsx",@@ -396,9 +345,7 @@"type": "registry:component","title": "Marker Highlight","description": "Colored marker block draws behind a phrase as the text color shifts.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "marker-highlight/index.tsx",@@ -412,9 +359,7 @@"type": "registry:component","title": "Slot Machine Roll","description": "Vertical reel scrolls characters from one value to another.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "slot-machine-roll/index.tsx",@@ -428,9 +373,7 @@"type": "registry:component","title": "Matrix Decode","description": "Random scramble resolves left-to-right into the target text.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "matrix-decode/index.tsx",@@ -444,9 +387,7 @@"type": "registry:component","title": "RGB Glitch Text","description": "Three RGB-offset text copies jitter for a brief glitch window.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "rgb-glitch-text/index.tsx",@@ -460,9 +401,7 @@"type": "registry:component","title": "Infinite Marquee","description": "Seamlessly looping horizontal text strip with optional stroke style.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "infinite-marquee/index.tsx",@@ -476,9 +415,7 @@"type": "registry:component","title": "Mesh Gradient Background","description": "Living gradient with amorphous color blobs slowly drifting across the frame.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "mesh-gradient-bg/index.tsx",@@ -492,9 +429,7 @@"type": "registry:component","title": "Shader Mesh Gradient","description": "WebGL mesh gradient backdrop driven per-frame for deterministic Remotion renders.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-mesh-gradient/index.tsx",@@ -508,9 +443,7 @@"type": "registry:component","title": "Shader Grain Gradient","description": "Grainy multi-stop gradient that drifts slowly with film-grain texture over the blend.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-grain-gradient/index.tsx",@@ -524,9 +457,7 @@"type": "registry:component","title": "Shader Warp","description": "Domain-warped color field that folds and stretches like liquid.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-warp/index.tsx",@@ -540,9 +471,7 @@"type": "registry:component","title": "Shader Swirl","description": "Concentric bands swirling around a center point.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-swirl/index.tsx",@@ -556,9 +485,7 @@"type": "registry:component","title": "Shader Water","description": "Caustic water-surface ripples with subtle refraction.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-water/index.tsx",@@ -572,9 +499,7 @@"type": "registry:component","title": "Shader Spiral","description": "Rotating spiral arms radiating from the center.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-spiral/index.tsx",@@ -588,9 +513,7 @@"type": "registry:component","title": "Shader Liquid Metal","description": "Molten metallic surface with flowing specular highlights.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-liquid-metal/index.tsx",@@ -604,9 +527,7 @@"type": "registry:component","title": "Shader Color Panels","description": "Overlapping translucent color panels sliding past each other.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-color-panels/index.tsx",@@ -620,9 +541,7 @@"type": "registry:component","title": "Shader Neuro Noise","description": "Organic neural-web noise field that slowly morphs.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-neuro-noise/index.tsx",@@ -636,9 +555,7 @@"type": "registry:component","title": "Shader Perlin Noise","description": "Classic Perlin noise clouds drifting across the frame.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-perlin-noise/index.tsx",@@ -652,9 +569,7 @@"type": "registry:component","title": "Shader Simplex Noise","description": "Simplex noise flow field, smoother than Perlin.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-simplex-noise/index.tsx",@@ -668,9 +583,7 @@"type": "registry:component","title": "Shader Voronoi","description": "Animated Voronoi cells shifting and re-tessellating.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-voronoi/index.tsx",@@ -684,9 +597,7 @@"type": "registry:component","title": "Shader Dot Orbit","description": "Dots orbiting on concentric paths across the frame.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-dot-orbit/index.tsx",@@ -700,9 +611,7 @@"type": "registry:component","title": "Shader Dithering","description": "Ordered-dither shading over an animated gradient field.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-dithering/index.tsx",@@ -716,9 +625,7 @@"type": "registry:component","title": "Shader God Rays","description": "Volumetric light rays radiating from an off-screen source.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-god-rays/index.tsx",@@ -732,9 +639,7 @@"type": "registry:component","title": "Shader Smoke Ring","description": "Soft smoke ring curling and dissipating in place.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-smoke-ring/index.tsx",@@ -748,9 +653,7 @@"type": "registry:component","title": "Shader Metaballs","description": "Organic blobs merging and splitting like lava.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-metaballs/index.tsx",@@ -764,9 +667,7 @@"type": "registry:component","title": "Shader Pulsing Border","description": "Glowing border frame that pulses around the edges.",- "dependencies": [- "@paper-design/shaders-react"- ],+ "dependencies": ["@paper-design/shaders-react"],"files": [{"path": "shader-pulsing-border/index.tsx",@@ -780,9 +681,7 @@"type": "registry:component","title": "Dynamic Grid","description": "Subtle moving grid background with configurable cell size and direction.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "dynamic-grid/index.tsx",@@ -796,9 +695,7 @@"type": "registry:component","title": "Simulated Cursor","description": "Animated mouse cursor moving between waypoints with click ripple feedback.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "simulated-cursor/index.tsx",@@ -812,13 +709,8 @@"type": "registry:component","title": "Swirl Dissolve","description": "A swirl shader transition that unwinds open and winds shut to reveal the next scene.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-swirl"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-swirl"],"files": [{"path": "swirl-dissolve/index.tsx",@@ -832,13 +724,8 @@"type": "registry:component","title": "Dither Dissolve","description": "A dithering shader transition that dissolves one scene into the next.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-dithering"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-dithering"],"files": [{"path": "dither-dissolve/index.tsx",@@ -852,13 +739,8 @@"type": "registry:component","title": "Perlin Dissolve","description": "A perlin-noise shader transition that sweeps its noise threshold to dissolve one scene into the next.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-perlin-noise"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-perlin-noise"],"files": [{"path": "perlin-dissolve/index.tsx",@@ -872,13 +754,8 @@"type": "registry:component","title": "Smoke Dissolve","description": "A smoke-ring shader transition that expands the ring outward to reveal the next scene.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-smoke-ring"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-smoke-ring"],"files": [{"path": "smoke-dissolve/index.tsx",@@ -892,13 +769,8 @@"type": "registry:component","title": "Wave Wipe","description": "A grain-gradient wave that sweeps up across the frame, covering the outgoing scene and revealing the next one from below.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-grain-gradient"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-grain-gradient"],"files": [{"path": "wave-wipe/index.tsx",@@ -912,13 +784,8 @@"type": "registry:component","title": "Ripple Zoom","description": "A grain-gradient ripple transition that flies the camera through the center of the rings while the next scene approaches from the depth.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-grain-gradient"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-grain-gradient"],"files": [{"path": "ripple-zoom/index.tsx",@@ -932,13 +799,8 @@"type": "registry:component","title": "Grain Dissolve","description": "A grain-gradient shader transition that disintegrates the outgoing scene into soft grainy shapes and condenses the next scene out of the noise.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-grain-gradient"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-grain-gradient"],"files": [{"path": "grain-dissolve/index.tsx",@@ -952,13 +814,8 @@"type": "registry:component","title": "Warp Dissolve","description": "A domain-warp shader transition that melts the outgoing scene into a folding color field and straightens back out into the next.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],- "registryDependencies": [- "@remocn/shader-warp"- ],+ "dependencies": ["remotion", "@remotion/transitions"],+ "registryDependencies": ["@remocn/shader-warp"],"files": [{"path": "warp-dissolve/index.tsx",@@ -972,10 +829,7 @@"type": "registry:component","title": "Whip Pan","description": "A whip-pan transition that flies both scenes through the frame in one move with velocity-based motion blur.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],+ "dependencies": ["remotion", "@remotion/transitions"],"files": [{"path": "whip-pan/index.tsx",@@ -989,10 +843,7 @@"type": "registry:component","title": "Push Through","description": "A dolly transition that blows the outgoing scene past the camera while the next one approaches from the depth.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],+ "dependencies": ["remotion", "@remotion/transitions"],"files": [{"path": "push-through/index.tsx",@@ -1006,10 +857,7 @@"type": "registry:component","title": "Focus Pull","description": "A rack-focus transition that defocuses the outgoing scene into a bright blur and resolves the next one into focus.",- "dependencies": [- "remotion",- "@remotion/transitions"- ],+ "dependencies": ["remotion", "@remotion/transitions"],"files": [{"path": "focus-pull/index.tsx",@@ -1023,9 +871,7 @@"type": "registry:component","title": "Chat to Preview Layout","description": "Two-column layout where chat shrinks and preview expands.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "chat-to-preview-layout/index.tsx",@@ -1039,9 +885,7 @@"type": "registry:component","title": "Animated Line Chart","description": "Line chart whose SVG path draws on from left to right with a leading dot.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "animated-line-chart/index.tsx",@@ -1055,9 +899,7 @@"type": "registry:component","title": "Animated Bar Chart","description": "Bars spring up from the baseline in a staggered cascade.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "animated-bar-chart/index.tsx",@@ -1071,9 +913,7 @@"type": "registry:component","title": "Terminal Simulator","description": "Terminal window that types out commands and rolls old lines off the top.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "terminal-simulator/index.tsx",@@ -1087,12 +927,8 @@"type": "registry:component","title": "Terminal Cursor Zoom","description": "Camera locked to the typing cursor, dollying across a terminal as a command types at high zoom.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/terminal-simulator"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/terminal-simulator"],"files": [{"path": "terminal-cursor-zoom/index.tsx",@@ -1106,9 +942,7 @@"type": "registry:component","title": "Progress Steps","description": "Multi-step pipeline with sequentially activating nodes and filling lines.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "progress-steps/index.tsx",@@ -1122,9 +956,7 @@"type": "registry:component","title": "Data Flow Pipes","description": "Glowing data packets travel along SVG bezier pipes between system nodes, leaving fading trails.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "data-flow-pipes/index.tsx",@@ -1138,9 +970,7 @@"type": "registry:component","title": "Glass Code Block","description": "A premium frosted-glass code editor window with a regex tokenizer and line-by-line stagger reveal.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "glass-code-block/index.tsx",@@ -1154,12 +984,8 @@"type": "registry:component","title": "Glass Code Walk","description": "A camera that scans a glass code block top to bottom as it types, then pulls back to a centered hold.",- "dependencies": [- "remotion"- ],- "registryDependencies": [- "@remocn/glass-code-block"- ],+ "dependencies": ["remotion"],+ "registryDependencies": ["@remocn/glass-code-block"],"files": [{"path": "glass-code-walk/index.tsx",@@ -1173,9 +999,7 @@"type": "registry:component","title": "Spotlight Card","description": "A card with a moonlight-cool radial spotlight that follows a synthetic cursor and lights up its microborder.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "spotlight-card/index.tsx",@@ -1189,9 +1013,7 @@"type": "registry:component","title": "Perspective Marquee","description": "A 3D-tilted infinite marquee with depth-of-field blur on items rolling toward the horizon.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "perspective-marquee/index.tsx",@@ -1205,9 +1027,7 @@"type": "registry:component","title": "Ecosystem Constellation","description": "A central logo orbited by integration satellites with pulsing data lines.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "ecosystem-constellation/index.tsx",@@ -1221,9 +1041,7 @@"type": "registry:component","title": "Live Code Compilation","description": "Split-screen where typed code on the left snaps a live UI preview on the right, HMR-style.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "live-code-compilation/index.tsx",@@ -1237,9 +1055,7 @@"type": "registry:component","title": "Infinite Bento Pan","description": "A camera diagonally drifts across an oversized bento grid behind a soft vignette.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "infinite-bento-pan/index.tsx",@@ -1253,14 +1069,8 @@"type": "registry:component","title": "GitHub Sponsors","description": "Self-drawing Sponsors heart that docks to a header, every sponsor avatar blur-staggering into a grid, then a thank-you headline and a CTA. Single seek-safe timeline, 270 frames at 30fps.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/soft-blur-in",- "@remocn/blur-out-up"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/soft-blur-in", "@remocn/blur-out-up"],"files": [{"path": "github-sponsors/index.tsx",@@ -1274,14 +1084,8 @@"type": "registry:component","title": "GitHub Stars","description": "Inertial fly-through of a repo's stargazers with a synced count-up odometer that locks on the total. Horizontal 16:9 or vertical 9:16.",- "dependencies": [- "remotion",- "date-fns",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/number-wheel"- ],+ "dependencies": ["remotion", "date-fns", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/number-wheel"],"files": [{"path": "github-stars/index.tsx",@@ -1295,10 +1099,7 @@"type": "registry:component","title": "Number Wheel","description": "Mechanical odometer that rolls an integer up or down to its target, direction inferred from the values.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],"files": [{"path": "number-wheel/index.tsx",@@ -1312,10 +1113,7 @@"type": "registry:component","title": "Rolling Number","description": "Odometer where every place rolls at its own speed, new places rising into view, settling exactly on the target value.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],"files": [{"path": "rolling-number/index.tsx",@@ -1329,13 +1127,8 @@"type": "registry:component","title": "X Follow Card","description": "Animated X profile follow card — spring bounce-in, staggered blur-in, a synthetic cursor that clicks Follow and flips it to Following. Light/dark, horizontal or vertical.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/cursor"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/cursor"],"files": [{"path": "x-follow-card/index.tsx",@@ -1349,13 +1142,8 @@"type": "registry:component","title": "X Followers Overview","description": "X follow notifications cycle through as 3D flipping text — '<name> followed you · 7h' — then the total follower count pops in with a confetti burst. Hardcoded sample list (X API ready). Light/dark, horizontal or vertical.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/confetti"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/confetti"],"files": [{"path": "x-followers-overview/index.tsx",@@ -1369,14 +1157,8 @@"type": "registry:component","title": "Claude Chat","description": "Animated Claude chat input — types a prompt character-by-character and the waveform button morphs into a terracotta send button the moment text appears. Warm light/dark themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "claude-chat/index.tsx",@@ -1390,14 +1172,8 @@"type": "registry:component","title": "ChatGPT","description": "Animated ChatGPT composer — types a prompt into the pill input, the blue voice button morphs into a send button, and the suggestion chips fade out. Light/dark themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "chat-gpt/index.tsx",@@ -1411,14 +1187,8 @@"type": "registry:component","title": "v0","description": "Animated Vercel v0 composer — types a prompt into the dark textarea and the mic button morphs into a send button. Dark/light themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "v0/index.tsx",@@ -1432,14 +1202,8 @@"type": "registry:component","title": "Claude Code","description": "Animated Claude Code CLI welcome screen — terminal window with a dashed welcome box, recent activity and what's new panels, and a prompt line that types a command with a block cursor. Dark/light themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "claude-code/index.tsx",@@ -1453,14 +1217,8 @@"type": "registry:component","title": "OpenCode","description": "Animated OpenCode TUI welcome screen — two-tone wordmark, an input box with a blue accent bar that types a query, a model status line, and command hints. Dark/light themes.",- "dependencies": [- "remotion",- "@remotion/google-fonts"- ],- "registryDependencies": [- "@remocn/caret",- "@remocn/remocn-ui"- ],+ "dependencies": ["remotion", "@remotion/google-fonts"],+ "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],"files": [{"path": "opencode/index.tsx",@@ -1474,9 +1232,7 @@"type": "registry:component","title": "Confetti","description": "Deterministic confetti burst for Remotion — seeded particles with gravity, spin, and flutter so every render is identical. Fire it on any frame as a celebratory overlay.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "confetti/index.tsx",@@ -1490,9 +1246,7 @@"type": "registry:component","title": "Backdrop","description": "Configurable full-frame background (color / gradient / image / live component) with Screen Studio-style padding and a rounded, shadowed content frame.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "backdrop/index.tsx",@@ -1506,9 +1260,7 @@"type": "registry:component","title": "Logo Enter","description": "A stacked group of round brand chips that spring in one-by-one, then hold. Swap the logos to feature any set of marks. Horizontal or vertical stacking.",- "dependencies": [- "remotion"- ],+ "dependencies": ["remotion"],"files": [{"path": "logo-enter/index.tsx",diff --git a/registry/remocn/ripple-zoom/index.tsx b/registry/remocn/ripple-zoom/index.tsxindex 78a43043..30c0d760 100644--- a/registry/remocn/ripple-zoom/index.tsx+++ b/registry/remocn/ripple-zoom/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";import { ShaderGrainGradient } from "@/components/remocn/shader-grain-gradient";const clampOpts = {diff --git a/registry/remocn/rolling-number/index.tsx b/registry/remocn/rolling-number/index.tsxindex 56ffceec..86a0e393 100644--- a/registry/remocn/rolling-number/index.tsx+++ b/registry/remocn/rolling-number/index.tsx@@ -1,7 +1,7 @@"use client";-import type React from "react";import { loadFont as loadMono } from "@remotion/google-fonts/JetBrainsMono";+import type React from "react";import {AbsoluteFill,Easing,diff --git a/registry/remocn/scale-down-fade/index.tsx b/registry/remocn/scale-down-fade/index.tsxindex 335d1c47..0ed5eb3b 100644--- a/registry/remocn/scale-down-fade/index.tsx+++ b/registry/remocn/scale-down-fade/index.tsx@@ -71,7 +71,7 @@ export function ScaleDownFade({extrapolateLeft: "clamp",extrapolateRight: "clamp",easing: exitEasing,- }+ },);const scale = scaleEnter + scaleExitDelta;diff --git a/registry/remocn/shared-axis-y/config.ts b/registry/remocn/shared-axis-y/config.tsindex b61dab4f..621000c4 100644--- a/registry/remocn/shared-axis-y/config.ts+++ b/registry/remocn/shared-axis-y/config.ts@@ -10,8 +10,16 @@ export const sharedAxisYConfig: ComponentConfig = {componentName: "SharedAxisY",importPath: "@/components/remocn/shared-axis-y",controls: {- fromText: { type: "text", default: "Layered navigation.", label: "From text" },- toText: { type: "text", default: "Hierarchy made clear.", label: "To text" },+ fromText: {+ type: "text",+ default: "Layered navigation.",+ label: "From text",+ },+ toText: {+ type: "text",+ default: "Hierarchy made clear.",+ label: "To text",+ },fontSize: {type: "number",default: 72,diff --git a/registry/remocn/shared-axis-z/config.ts b/registry/remocn/shared-axis-z/config.tsindex 5c966268..75805447 100644--- a/registry/remocn/shared-axis-z/config.ts+++ b/registry/remocn/shared-axis-z/config.ts@@ -10,7 +10,11 @@ export const sharedAxisZConfig: ComponentConfig = {componentName: "SharedAxisZ",importPath: "@/components/remocn/shared-axis-z",controls: {- fromText: { type: "text", default: "Zooming between states.", label: "From text" },+ fromText: {+ type: "text",+ default: "Zooming between states.",+ label: "From text",+ },toText: { type: "text", default: "Elevate and settle.", label: "To text" },fontSize: {type: "number",diff --git a/registry/remocn/short-slide-right/index.tsx b/registry/remocn/short-slide-right/index.tsxindex b725cae6..d9783d1a 100644--- a/registry/remocn/short-slide-right/index.tsx+++ b/registry/remocn/short-slide-right/index.tsx@@ -77,7 +77,7 @@ export function ShortSlideRight({extrapolateLeft: "clamp",extrapolateRight: "clamp",easing,- }+ },);return (<spandiff --git a/registry/remocn/smoke-dissolve/index.tsx b/registry/remocn/smoke-dissolve/index.tsxindex b6910c08..59317686 100644--- a/registry/remocn/smoke-dissolve/index.tsx+++ b/registry/remocn/smoke-dissolve/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";import { ShaderSmokeRing } from "@/components/remocn/shader-smoke-ring";const clampOpts = {diff --git a/registry/remocn/soft-blur-in/index.tsx b/registry/remocn/soft-blur-in/index.tsxindex cba3888e..f26850d0 100644--- a/registry/remocn/soft-blur-in/index.tsx+++ b/registry/remocn/soft-blur-in/index.tsx@@ -52,18 +52,16 @@ export function SoftBlurIn({{chars.map((char, i) => {const local = frame - i * staggerFrames;const easing = Easing.bezier(0.22, 1, 0.36, 1);- const opacity = interpolate(- local,- [0, charDurationFrames],- [0, 1],- { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing },- );- const y = interpolate(- local,- [0, charDurationFrames],- [16, 0],- { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing },- );+ const opacity = interpolate(local, [0, charDurationFrames], [0, 1], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ });+ const y = interpolate(local, [0, charDurationFrames], [16, 0], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ });const blurAmount = interpolate(local,[0, charDurationFrames],diff --git a/registry/remocn/spring-scale-in/index.tsx b/registry/remocn/spring-scale-in/index.tsxindex 0c877e00..8987fe1a 100644--- a/registry/remocn/spring-scale-in/index.tsx+++ b/registry/remocn/spring-scale-in/index.tsx@@ -58,11 +58,16 @@ export function SpringScaleIn({extrapolateRight: "clamp",easing,});- const scale = interpolate(local, [0, wordDurationFrames], [scaleFrom, 1], {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- easing,- });+ const scale = interpolate(+ local,+ [0, wordDurationFrames],+ [scaleFrom, 1],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ },+ );return (<spankey={i}diff --git a/registry/remocn/swirl-dissolve/index.tsx b/registry/remocn/swirl-dissolve/index.tsxindex 25e513d2..2d03a326 100644--- a/registry/remocn/swirl-dissolve/index.tsx+++ b/registry/remocn/swirl-dissolve/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";import { ShaderSwirl } from "@/components/remocn/shader-swirl";const clampOpts = {diff --git a/registry/remocn/terminal-cursor-zoom/index.tsx b/registry/remocn/terminal-cursor-zoom/index.tsxindex 20b813ab..93934a46 100644--- a/registry/remocn/terminal-cursor-zoom/index.tsx+++ b/registry/remocn/terminal-cursor-zoom/index.tsx@@ -49,10 +49,15 @@ export function TerminalCursorZoom({const lineStart = Math.round(FIRST_LINE_FRAME / speed);const localFrame = (frame - lineStart) * speed;const linearRevealed = Math.floor(- interpolate(localFrame, [0, command.length / charsPerFrame], [0, command.length], {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- }),+ interpolate(+ localFrame,+ [0, command.length / charsPerFrame],+ [0, command.length],+ {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ },+ ),);const revealed = Math.min(command.length,diff --git a/registry/remocn/terminal-simulator/index.tsx b/registry/remocn/terminal-simulator/index.tsxindex 35b39d85..3927653b 100644--- a/registry/remocn/terminal-simulator/index.tsx+++ b/registry/remocn/terminal-simulator/index.tsx@@ -1,8 +1,8 @@"use client";import {- Sequence,interpolate,+ Sequence,useCurrentFrame,useVideoConfig,} from "remotion";diff --git a/registry/remocn/top-down-letters/index.tsx b/registry/remocn/top-down-letters/index.tsxindex a28c248e..6e7e90da 100644--- a/registry/remocn/top-down-letters/index.tsx+++ b/registry/remocn/top-down-letters/index.tsx@@ -53,12 +53,11 @@ export function TopDownLetters({{chars.map((char, i) => {const local = frame - i * staggerDelay;const easing = Easing.bezier(0.18, 1, 0.32, 1);- const opacity = interpolate(- local,- [0, charDurationFrames],- [0, 1],- { extrapolateLeft: "clamp", extrapolateRight: "clamp", easing },- );+ const opacity = interpolate(local, [0, charDurationFrames], [0, 1], {+ extrapolateLeft: "clamp",+ extrapolateRight: "clamp",+ easing,+ });const y = interpolate(local,[0, charDurationFrames],diff --git a/registry/remocn/tracking-in/index.tsx b/registry/remocn/tracking-in/index.tsxindex 3a558c86..41850996 100644--- a/registry/remocn/tracking-in/index.tsx+++ b/registry/remocn/tracking-in/index.tsx@@ -32,7 +32,7 @@ export function TrackingIn({config: { damping: 18, stiffness: 90 },});- const letterSpacing = interpolate(t, [0, 1], [startTracking, -0.03]) + "em";+ const letterSpacing = `${interpolate(t, [0, 1], [startTracking, -0.03])}em`;const blurAmount = interpolate(t, [0, 1], [startBlur, 0]);const opacity = interpolate(frame, [0, 15], [0, 1], {extrapolateLeft: "clamp",diff --git a/registry/remocn/v0/__tests__/v0.test.ts b/registry/remocn/v0/__tests__/v0.test.tsindex f9ecc6cd..a63c1c1c 100644--- a/registry/remocn/v0/__tests__/v0.test.ts+++ b/registry/remocn/v0/__tests__/v0.test.ts@@ -1,6 +1,6 @@import { describe, expect, it } from "bun:test";-import { TYPING_CPS, TYPING_START_FRAME, morphProgressAt } from "../index";+import { morphProgressAt, TYPING_CPS, TYPING_START_FRAME } from "../index";const FPS = 30;diff --git a/registry/remocn/v0/index.tsx b/registry/remocn/v0/index.tsxindex 3b913121..87704dcd 100644--- a/registry/remocn/v0/index.tsx+++ b/registry/remocn/v0/index.tsx@@ -224,7 +224,6 @@ export function V0({const headingFade = fadeUpAt(frame * speed, [4, 20]);const boxFade = fadeUpAt(frame * speed, [10, 26]);-const boxWidth = 880;const boxLeft = (refW - boxWidth) / 2;const boxTop = 270;@@ -316,7 +315,12 @@ export function V0({alignItems: "center",}}>- <Caret color={t.fg} blink={!tw.typing} speed={speed} height={20} />+ <Caret+ color={t.fg}+ blink={!tw.typing}+ speed={speed}+ height={20}+ /><span style={{ marginLeft: 6 }}>{placeholder}</span></span>)}diff --git a/registry/remocn/warp-dissolve/index.tsx b/registry/remocn/warp-dissolve/index.tsxindex 8a87619f..91019ade 100644--- a/registry/remocn/warp-dissolve/index.tsx+++ b/registry/remocn/warp-dissolve/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";import { ShaderWarp } from "@/components/remocn/shader-warp";const clampOpts = {diff --git a/registry/remocn/wave-wipe/index.tsx b/registry/remocn/wave-wipe/index.tsxindex c8f1646c..9994b468 100644--- a/registry/remocn/wave-wipe/index.tsx+++ b/registry/remocn/wave-wipe/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";import { ShaderGrainGradient } from "@/components/remocn/shader-grain-gradient";const clampOpts = {diff --git a/registry/remocn/whip-pan/index.tsx b/registry/remocn/whip-pan/index.tsxindex 0b8dd195..d563f68d 100644--- a/registry/remocn/whip-pan/index.tsx+++ b/registry/remocn/whip-pan/index.tsx@@ -1,11 +1,11 @@"use client";-import type React from "react";-import { AbsoluteFill, Easing, interpolate } from "remotion";import type {TransitionPresentation,TransitionPresentationComponentProps,} from "@remotion/transitions";+import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";const clampOpts = {extrapolateLeft: "clamp" as const,@@ -39,9 +39,7 @@ const WhipPanPresentation: React.FC<direction === "left" || direction === "right" ? "x" : "y";const sign = direction === "left" || direction === "up" ? -1 : 1;- const offset = entering- ? (travel - 1) * 110 * sign- : travel * 110 * sign;+ const offset = entering ? (travel - 1) * 110 * sign : travel * 110 * sign;const stretch = 1 + velocity * 0.12;const translate =diff --git a/registry/remocn/x-follow-card/index.tsx b/registry/remocn/x-follow-card/index.tsxindex 8fc05f67..58a8efa3 100644--- a/registry/remocn/x-follow-card/index.tsx+++ b/registry/remocn/x-follow-card/index.tsx@@ -1,7 +1,7 @@"use client";-import { useState } from "react";import { loadFont } from "@remotion/google-fonts/Inter";+import { useState } from "react";import {AbsoluteFill,Img,@@ -419,7 +419,7 @@ function FollowButton({layout: { x: number; y: number; w: number; h: number };pressScale: number;}) {- const followed = followStateAt(frame, speed);+ const _followed = followStateAt(frame, speed);const flip = interpolate(frame * speed,[CLICK_FRAME, CLICK_FRAME + 10],@@ -651,11 +651,9 @@ function SamplePost({}function CursorLayer({- theme,accent,style,}: {- theme: "light" | "dark";accent: string;style: CursorStyle;}) {@@ -667,11 +665,7 @@ function CursorLayer({pointerEvents: "none",}}>- <Cursor- variant="pointer"- rippleColor={accent}- style={style}- />+ <Cursor variant="pointer" rippleColor={accent} style={style} /></div>);}@@ -736,7 +730,6 @@ export function XFollowCard({};};-return (<AbsoluteFill style={{ background: "transparent" }}><div@@ -865,7 +858,7 @@ export function XFollowCard({</div></div>- <CursorLayer theme="light" accent={accentColor} style={cursorStyle} />+ <CursorLayer accent={accentColor} style={cursorStyle} /></div></AbsoluteFill>);diff --git a/registry/remocn/x-followers-overview/index.tsx b/registry/remocn/x-followers-overview/index.tsxindex 274d64ec..19d0bcc2 100644--- a/registry/remocn/x-followers-overview/index.tsx+++ b/registry/remocn/x-followers-overview/index.tsx@@ -1,10 +1,9 @@"use client";-import { useState } from "react";import { loadFont as loadSans } from "@remotion/google-fonts/Manrope";+import { useState } from "react";import {AbsoluteFill,- Easing,Img,interpolate,spring,@@ -352,7 +351,6 @@ export function XFollowersOverview({"#a855f7",];-return (<AbsoluteFill style={{ background: "transparent" }}><divdiff --git a/scripts/render-demos.mts b/scripts/render-demos.mtsindex 0f578d62..56bfb475 100644--- a/scripts/render-demos.mts+++ b/scripts/render-demos.mts@@ -119,7 +119,9 @@ async function main() {process.stdout.write(`\r${tag} ✓ \n`);}- console.log(`Done. ${comps.length} file(s) in ${path.relative(root, outDir)}`);+ console.log(+ `Done. ${comps.length} file(s) in ${path.relative(root, outDir)}`,+ );}main().catch((err) => {diff --git a/scripts/tsconfig-webpack-alias.mts b/scripts/tsconfig-webpack-alias.mtsindex f2f93dc8..71ca7a68 100644--- a/scripts/tsconfig-webpack-alias.mts+++ b/scripts/tsconfig-webpack-alias.mts@@ -32,8 +32,7 @@ export function tsconfigWebpackAlias(root: string): AliasItem[] {const tsconfig = JSON.parse(readFileSync(path.join(root, "tsconfig.json"), "utf8"),);- const paths: Record<string, string[]> =- tsconfig.compilerOptions?.paths ?? {};+ const paths: Record<string, string[]> = tsconfig.compilerOptions?.paths ?? {};const baseUrl: string = tsconfig.compilerOptions?.baseUrl ?? ".";const base = path.resolve(root, baseUrl);diff --git a/src/remotion/demos-root.tsx b/src/remotion/demos-root.tsxindex dba7f174..fc239635 100644--- a/src/remotion/demos-root.tsx+++ b/src/remotion/demos-root.tsx@@ -1,8 +1,8 @@-import type { ComponentType } from "react";import { loadFont } from "@remotion/google-fonts/Geist";+import type { ComponentType } from "react";import { AbsoluteFill, Composition, Loop, registerRoot } from "remotion";-import { aiExamples } from "@/components/docs/examples/ai";import { examples } from "@/components/docs/examples";+import { aiExamples } from "@/components/docs/examples/ai";import { blockExamples } from "@/components/docs/examples/blocks";/**diff --git a/tsconfig.json b/tsconfig.jsonindex f772098a..07009988 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -16,124 +16,124 @@"incremental": true,"plugins": [{- "name": "next",- },+ "name": "next"+ }],"paths": {"@/lib/remocn-ui": ["./registry/remocn-ui/core/index.ts"],"@/lib/remocn-ui/*": ["./registry/remocn-ui/core/*"],"@/components/remocn/use-cursor-path": [- "./registry/remocn-ui/cursor/use-cursor-path.ts",+ "./registry/remocn-ui/cursor/use-cursor-path.ts"],"@/components/remocn/use-button-transition": [- "./registry/remocn-ui/button/use-button-transition.ts",+ "./registry/remocn-ui/button/use-button-transition.ts"],"@/components/remocn/use-input-transition": [- "./registry/remocn-ui/input/use-input-transition.ts",+ "./registry/remocn-ui/input/use-input-transition.ts"],"@/components/remocn/use-checkbox-transition": [- "./registry/remocn-ui/checkbox/use-checkbox-transition.ts",+ "./registry/remocn-ui/checkbox/use-checkbox-transition.ts"],"@/components/remocn/use-toast-transition": [- "./registry/remocn-ui/toast/use-toast-transition.ts",+ "./registry/remocn-ui/toast/use-toast-transition.ts"],"@/components/remocn/use-skeleton-transition": [- "./registry/remocn-ui/skeleton/use-skeleton-transition.ts",+ "./registry/remocn-ui/skeleton/use-skeleton-transition.ts"],"@/components/remocn/use-toggle-group-transition": [- "./registry/remocn-ui/toggle-group/use-toggle-group-transition.ts",+ "./registry/remocn-ui/toggle-group/use-toggle-group-transition.ts"],"@/components/remocn/use-dialog-transition": [- "./registry/remocn-ui/dialog/use-dialog-transition.ts",+ "./registry/remocn-ui/dialog/use-dialog-transition.ts"],"@/components/remocn/use-radio-transition": [- "./registry/remocn-ui/radio/use-radio-transition.ts",+ "./registry/remocn-ui/radio/use-radio-transition.ts"],"@/components/remocn/use-stepper-transition": [- "./registry/remocn-ui/stepper/use-stepper-transition.ts",+ "./registry/remocn-ui/stepper/use-stepper-transition.ts"],"@/components/remocn/use-switch-transition": [- "./registry/remocn-ui/switch/use-switch-transition.ts",+ "./registry/remocn-ui/switch/use-switch-transition.ts"],"@/components/remocn/use-select-transition": [- "./registry/remocn-ui/select/use-select-transition.ts",+ "./registry/remocn-ui/select/use-select-transition.ts"],"@/components/remocn/use-select-item-transition": [- "./registry/remocn-ui/select-item/use-select-item-transition.ts",+ "./registry/remocn-ui/select-item/use-select-item-transition.ts"],"@/components/remocn/use-slider-transition": [- "./registry/remocn-ui/slider/use-slider-transition.ts",+ "./registry/remocn-ui/slider/use-slider-transition.ts"],"@/components/remocn/use-blur-in-transition": [- "./registry/remocn-ui/blur-in/use-blur-in-transition.ts",+ "./registry/remocn-ui/blur-in/use-blur-in-transition.ts"],"@/components/remocn/use-message-bubble-transition": [- "./registry/remocn-ui/message-bubble/use-message-bubble-transition.ts",+ "./registry/remocn-ui/message-bubble/use-message-bubble-transition.ts"],"@/components/remocn/confetti": ["./registry/remocn/confetti/index.tsx"],"@/components/remocn/glass-code-block": [- "./registry/remocn/glass-code-block/index.tsx",+ "./registry/remocn/glass-code-block/index.tsx"],"@/components/remocn/number-wheel": [- "./registry/remocn/number-wheel/index.tsx",+ "./registry/remocn/number-wheel/index.tsx"],"@/components/remocn/terminal-simulator": [- "./registry/remocn/terminal-simulator/index.tsx",+ "./registry/remocn/terminal-simulator/index.tsx"],"@/components/remocn/soft-blur-in": [- "./registry/remocn/soft-blur-in/index.tsx",+ "./registry/remocn/soft-blur-in/index.tsx"],"@/components/remocn/blur-out-up": [- "./registry/remocn/blur-out-up/index.tsx",+ "./registry/remocn/blur-out-up/index.tsx"],"@/components/remocn/kinetic-center-build": [- "./registry/remocn/kinetic-center-build/index.tsx",+ "./registry/remocn/kinetic-center-build/index.tsx"],"@/components/remocn/per-character-rise": [- "./registry/remocn/per-character-rise/index.tsx",+ "./registry/remocn/per-character-rise/index.tsx"],"@/components/remocn/per-word-crossfade": [- "./registry/remocn/per-word-crossfade/index.tsx",+ "./registry/remocn/per-word-crossfade/index.tsx"],"@/components/remocn/staggered-fade-up": [- "./registry/remocn/staggered-fade-up/index.tsx",+ "./registry/remocn/staggered-fade-up/index.tsx"],"@/components/remocn/marker-highlight": [- "./registry/remocn/marker-highlight/index.tsx",+ "./registry/remocn/marker-highlight/index.tsx"],"@/components/remocn/micro-scale-fade": [- "./registry/remocn/micro-scale-fade/index.tsx",+ "./registry/remocn/micro-scale-fade/index.tsx"],"@/components/remocn/mask-reveal-up": [- "./registry/remocn/mask-reveal-up/index.tsx",+ "./registry/remocn/mask-reveal-up/index.tsx"],"@/components/remocn/tracking-in": [- "./registry/remocn/tracking-in/index.tsx",+ "./registry/remocn/tracking-in/index.tsx"],"@/components/remocn/dynamic-grid": [- "./registry/remocn/dynamic-grid/index.tsx",+ "./registry/remocn/dynamic-grid/index.tsx"],"@/components/remocn/shader-swirl": [- "./registry/remocn/shader-swirl/index.tsx",+ "./registry/remocn/shader-swirl/index.tsx"],"@/components/remocn/shader-dithering": [- "./registry/remocn/shader-dithering/index.tsx",+ "./registry/remocn/shader-dithering/index.tsx"],"@/components/remocn/shader-perlin-noise": [- "./registry/remocn/shader-perlin-noise/index.tsx",+ "./registry/remocn/shader-perlin-noise/index.tsx"],"@/components/remocn/shader-smoke-ring": [- "./registry/remocn/shader-smoke-ring/index.tsx",+ "./registry/remocn/shader-smoke-ring/index.tsx"],"@/components/remocn/shader-grain-gradient": [- "./registry/remocn/shader-grain-gradient/index.tsx",+ "./registry/remocn/shader-grain-gradient/index.tsx"],"@/components/remocn/shader-warp": [- "./registry/remocn/shader-warp/index.tsx",+ "./registry/remocn/shader-warp/index.tsx"],"@/components/remocn/*": ["./registry/remocn-ui/*/index.tsx"],- "@/*": ["./*"],- },+ "@/*": ["./*"]+ }},"include": ["next-env.d.ts",@@ -141,7 +141,7 @@"**/*.tsx",".next/types/**/*.ts",".next/dev/types/**/*.ts",- "**/*.mts",+ "**/*.mts"],- "exclude": ["node_modules", "**/__tests__/**"],+ "exclude": ["node_modules", "**/__tests__/**"]}