@pulld/sort-headerloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. IndexBM25 + vectors

Public log. Prompts, raw model errors and costs stay on the admin side.

Log
Demo source
src/demo.tsx · from an earlier run
import * as React from "react"import { SortHeader, sortRows, type SortState } from "@/components/ui/sort-header"type Person = { id: number; name: string; orders: number; spent: number | null }const people: Person[] = [  { id: 1, name: "Olivia Martin", orders: 12, spent: 540 },  { id: 2, name: "Jackson Lee", orders: 3, spent: 120 },  { id: 3, name: "Isabella Nguyen", orders: 27, spent: 1310 },  { id: 4, name: "William Kim", orders: 8, spent: null },]export default function SortHeaderDemo() {  const [sort, setSort] = React.useState<SortState | null>({ column: "name", direction: "ascending" })  const rows = React.useMemo(    () => sortRows(people, sort, (person, column) => person[column as keyof Person]),    [sort]  )  return (    <div className="w-full max-w-lg overflow-hidden rounded-md border">      <table className="w-full text-sm">        <thead className="border-b bg-muted/50">          <tr>            <SortHeader column="name" sort={sort} onSortChange={setSort}>Name</SortHeader>            <SortHeader column="orders" sort={sort} onSortChange={setSort} align="end" firstDirection="descending">Orders</SortHeader>            <SortHeader column="spent" sort={sort} onSortChange={setSort} align="end" firstDirection="descending">Spent</SortHeader>          </tr>        </thead>        <tbody>          {rows.map((person) => (            <tr key={person.id} className="border-b last:border-0">              <td className="px-4 py-3">{person.name}</td>              <td className="px-4 py-3 text-right tabular-nums">{person.orders}</td>              <td className="px-4 py-3 text-right tabular-nums">{person.spent ?? "-"}</td>            </tr>          ))}        </tbody>      </table>    </div>  )}