{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "color-swatches",
  "type": "registry:component",
  "title": "Colour swatches",
  "description": "Pick one or more colours.",
  "author": "Eugen Eşanu <https://eugenesanu.com>",
  "dependencies": [
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/filters/color-swatches.tsx",
      "type": "registry:component",
      "target": "@components/filters-ui/filters/color-swatches.tsx",
      "content": "\"use client\";\n\nimport { useState, type HTMLAttributes } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { resultsLabel } from \"../lib/format\";\nimport { foldOptions, ShowAllButton } from \"../ui/show-all\";\nimport { ARRIVING, placeholderLabels, SKELETON_FILL, SkeletonText, useLoading } from \"../ui/skeleton\";\nimport { StatusFrame, type StateProps } from \"../ui/status-frame\";\n\nexport type ColorSwatchOption<V extends string> = {\n  value: V;\n  label: string;\n  /** Any CSS colour for the dot. */\n  color: string;\n  count: number;\n};\n\nexport type ColorSwatchesProps<V extends string> = Omit<HTMLAttributes<HTMLDivElement>, \"onChange\" | \"defaultValue\"> &\n  StateProps & {\n    options: readonly ColorSwatchOption<V>[];\n    value: readonly V[];\n    onChange: (value: V[]) => void;\n    /** Accessible name of the group. */\n    label: string;\n    /** Screen-reader words for a count: \"6 results\". */\n    countLabel?: (n: number) => string;\n    /** Formats the counts and their spoken words by default, e.g. \"de-DE\". Default \"en-US\". */\n    locale?: string;\n    /** How many swatches show before \"Show all N\". Swatches that are on always show. Default 12. */\n    collapsedCount?: number;\n  };\n\nconst SWATCH = \"flex min-w-0 flex-col items-center gap-1 rounded-[12px] pt-3 pb-1 font-[inherit] text-[13px] leading-[18px] text-[var(--fu-swatch-text,#EDEAE6)]\";\n// A long name wraps at its spaces under the dot, centred; a single word too long for the column ends in an ellipsis\n// (the swatch's accessible name keeps it whole), so a word is never broken in two.\nconst NAME = \"max-w-full overflow-hidden px-1 text-center text-ellipsis\";\n// Forced colours drop fills, so a chosen swatch takes the system highlight. Its colours stay as given: left to the\n// browser, its name would sit on a backplate in the page colour.\nconst FORCED_ON =\n  \"forced-colors:bg-[Highlight] forced-colors:text-[HighlightText] forced-colors:[forced-color-adjust:none] forced-colors:focus-visible:outline-offset-2 forced-colors:focus-visible:outline-[CanvasText]\";\n\n/** Placeholder swatches while the options are on their way. */\nconst LOADING_SWATCHES = 8;\n\n/**\n * A four-column grid of colour dots with their names. Several can be on. A long list shows its first collapsedCount\n * swatches, the ones that are on, and \"Show all N\" for the rest.\n */\nexport function ColorSwatches<V extends string>({\n  options,\n  value,\n  onChange,\n  label,\n  countLabel: countLabelProp,\n  locale,\n  collapsedCount = 12,\n  status = \"ready\",\n  onRetry,\n  errorText,\n  emptyText,\n  disabled = false,\n  className,\n  ...props\n}: ColorSwatchesProps<V>) {\n  const countLabel = countLabelProp ?? ((n: number) => resultsLabel(n, locale));\n  // An option turned off under the pointer or keyboard would become disabled at 0, or leave a folded list, and drop\n  // focus; it stays as it is until focus and the pointer have both left it.\n  const [kept, setKept] = useState<V | null>(null);\n  const toggle = (v: V, button: HTMLButtonElement) => {\n    const on = value.includes(v);\n    setKept(on && (document.activeElement === button || button.matches(\":hover\")) ? v : null);\n    onChange(on ? value.filter((x) => x !== v) : [...value, v]);\n  };\n\n  const [all, setAll] = useState(false);\n\n  // Its own status, or the loading frame of an item around it, such as a block's card.\n  const loading = useLoading().loading || status === \"loading\";\n  const { folds, shown } = foldOptions(options, {\n    collapsedCount,\n    expanded: all,\n    isOn: (o) => value.includes(o.value),\n    isKept: (o) => kept === o.value,\n    loading,\n  });\n\n  return (\n    <div role=\"group\" aria-label={label} aria-disabled={disabled || undefined} className={className} {...props}>\n      <StatusFrame status={status} onRetry={onRetry} errorText={errorText} empty={options.length === 0} emptyText={emptyText} disabled={disabled}>\n        <div className=\"grid grid-cols-4 gap-2\">\n          {loading && options.length === 0\n            ? placeholderLabels(LOADING_SWATCHES).map((name, i) => (\n                <span key={i} className={SWATCH}>\n                  <Dot color=\"\" on={false} />\n                  <span className={NAME}>\n                    <SkeletonText>{name.slice(0, 6)}</SkeletonText>\n                  </span>\n                </span>\n              ))\n            : shown.map((option) => {\n                const on = value.includes(option.value);\n                // Nothing has this colour with the other filters as they are.\n                const none = option.count === 0 && !on && !loading;\n                return (\n                  <button\n                    key={option.value}\n                    type=\"button\"\n                    aria-pressed={on}\n                    aria-label={`${option.label}, ${countLabel(option.count)}`}\n                    disabled={option.count === 0 && !on && kept !== option.value}\n                    onBlur={(event) => kept === option.value && !event.currentTarget.matches(\":hover\") && setKept(null)}\n                    onPointerLeave={(event) => kept === option.value && document.activeElement !== event.currentTarget && setKept(null)}\n                    onClick={(event) => toggle(option.value, event.currentTarget)}\n                    data-state={on ? \"on\" : \"off\"}\n                    className={cn(\n                      SWATCH,\n                      \"group/swatch relative cursor-pointer\",\n                      \"transition-[background-color,scale,opacity] duration-[260ms] ease-[cubic-bezier(0.22,1,0.36,1)] active:scale-[0.97] active:duration-75 motion-reduce:transition-none\",\n                      \"outline-none focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-[var(--fu-accent-soft,#8FAAFF)]\",\n                      on ? \"bg-[var(--fu-wash,rgb(255_255_255/0.08))]\" : \"enabled:hover:bg-[var(--fu-wash,rgb(255_255_255/0.08))]\",\n                      \"disabled:cursor-not-allowed\",\n                      none && \"opacity-40 disabled:hover:opacity-80\",\n                      on && FORCED_ON,\n                    )}\n                  >\n                    <Dot color={option.color} on={on} />\n                    <span\n                      aria-hidden=\"true\"\n                      className={cn(NAME, none && \"transition-opacity duration-150 motion-reduce:transition-none group-disabled/swatch:group-hover/swatch:opacity-0\")}\n                    >\n                      <SkeletonText>{option.label}</SkeletonText>\n                    </span>\n                    {/* A swatch shows no count, so pointing at one that is off says why, on its name's first line. */}\n                    {none && (\n                      <span\n                        aria-hidden=\"true\"\n                        className=\"absolute inset-x-0 top-11 truncate px-1 text-center opacity-0 transition-opacity duration-150 motion-reduce:transition-none group-disabled/swatch:group-hover/swatch:opacity-100\"\n                      >\n                        {countLabel(0)}\n                      </span>\n                    )}\n                  </button>\n                );\n              })}\n          {folds && <ShowAllButton total={options.length} expanded={all} onToggle={() => setAll(!all)} locale={locale} className=\"col-span-4 justify-self-start\" />}\n        </div>\n      </StatusFrame>\n    </div>\n  );\n}\n\n/**\n * The 28px dot. While loading it is a round placeholder with no paint (a chosen one keeps its ring); the paint fades in\n * once when it arrives.\n */\nfunction Dot({ color, on }: { color: string; on: boolean }) {\n  const { loading, arriving } = useLoading();\n  return (\n    <span\n      key={loading ? \"skeleton\" : \"paint\"}\n      aria-hidden=\"true\"\n      className={cn(\n        \"size-7 shrink-0 rounded-full border-2\",\n        \"transition-[border-color,box-shadow] duration-[260ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none\",\n        on\n          ? \"border-[var(--fu-text,#F8F5F1)] shadow-[0_0_0_3px_color-mix(in_srgb,var(--fu-text,#F8F5F1)_18%,transparent)] forced-colors:border-[HighlightText]\"\n          : loading\n            ? \"border-transparent\"\n            : \"border-[var(--fu-control-border,#737373)] shadow-[0_0_0_0_color-mix(in_srgb,var(--fu-text,#F8F5F1)_18%,transparent)] group-enabled/swatch:group-hover/swatch:border-[color-mix(in_srgb,var(--fu-control-border,#737373),var(--fu-text,#F8F5F1))]\",\n        // A swatch's paint is its meaning, so forced colours keep it.\n        loading ? SKELETON_FILL : \"forced-colors:[forced-color-adjust:none]\",\n        arriving && ARRIVING,\n      )}\n      style={loading ? undefined : { backgroundColor: color }}\n    />\n  );\n}\n"
    },
    {
      "path": "registry/lib/cn.ts",
      "type": "registry:lib",
      "target": "@components/filters-ui/lib/cn.ts",
      "content": "import { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n"
    },
    {
      "path": "registry/lib/format.ts",
      "type": "registry:lib",
      "target": "@components/filters-ui/lib/format.ts",
      "content": "// Numbers, prices, distances, percents and dates for one locale, built on Intl with no dependency. Pass any BCP 47\n// tag (\"de-DE\", \"ar-EG\"); a tag Intl cannot read falls back to en-US instead of throwing. The default is en-US, never\n// the browser's own locale, so the server and the browser always print the same text. UI words stay English.\n\nexport const DEFAULT_LOCALE = \"en-US\";\n\nexport type FormatOptions = {\n  /** ISO 4217 code for price and priceShort. Default \"USD\". */\n  currency?: string;\n  /** The unit of distance. Default \"kilometer\". */\n  unit?: \"kilometer\" | \"mile\";\n};\n\n/** Every formatter takes the value alone, so any of them can be passed straight to a format prop. */\nexport type Formats = {\n  /** The locale these formatters use, after any fallback. */\n  locale: string;\n  /** \"1,234\" in en-US, \"1.234\" in de-DE, up to three decimals. */\n  number: (value: number) => string;\n  /** A number with no group marks, such as a year: \"2026\", or \"٢٠٢٦\" in ar-EG. */\n  plain: (value: number) => string;\n  /** \"45k\", \"1.2M\". */\n  compact: (value: number) => string;\n  /** \"$45,000\" in en-US, \"45.000 $\" in de-DE: whole units of the currency. */\n  price: (value: number) => string;\n  /** \"$45k\" and \"$97.5k\" from a thousand up, \"$950\" below. */\n  priceShort: (value: number) => string;\n  /** \"50,000 km\" or \"31,069 mi\". */\n  distance: (value: number) => string;\n  /** A percentage given in percent, up to two decimals: 6.5 gives \"6.5%\" in en-US and \"6,5 %\" in de-DE. */\n  percent: (value: number) => string;\n  /** A day given as \"YYYY-MM-DD\", in words. Read in UTC, so it never shifts by a time zone. */\n  day: (iso: string, options: Intl.DateTimeFormatOptions) => string;\n  /** The name of a month, 0 for January. */\n  month: (index: number, style?: \"long\" | \"short\") => string;\n  /** The name of a weekday, 0 for Sunday. */\n  weekday: (index: number, style?: \"long\" | \"short\") => string;\n  /** The day weeks start on: 0 for Sunday, 1 for Monday, 6 for Saturday. */\n  firstDay: 0 | 1 | 5 | 6;\n  /** The locale's digits, 0 to 9: \"0123456789\", or \"٠١٢٣٤٥٦٧٨٩\" in ar-EG. */\n  digits: string;\n  /**\n   * Reads a number typed the locale's way, with an optional k or m: \"45,000\", \"$45k\" and \"1.2m\" in en-US, \"45.000\"\n   * and \"1,2m\" in de-DE. A unit such as \"km\" is not a suffix. Returns null when the text holds no number.\n   */\n  readNumber: (text: string) => number | null;\n};\n\n/**\n * A locale Intl has data for, or en-US. A well-formed tag with no data (\"zz\") would otherwise print in the\n * runtime's own locale, which differs between server and browser.\n */\nexport function safeLocale(locale?: string): string {\n  if (!locale) return DEFAULT_LOCALE;\n  try {\n    const [tag] = Intl.getCanonicalLocales(locale);\n    if (!tag) return DEFAULT_LOCALE;\n    if (!Intl.NumberFormat.supportedLocalesOf(tag).length || !Intl.DateTimeFormat.supportedLocalesOf(tag).length) return DEFAULT_LOCALE;\n    return tag;\n  } catch {\n    return DEFAULT_LOCALE;\n  }\n}\n\n/** A currency code Intl can read, or USD. */\nfunction safeCurrency(currency?: string): string {\n  if (!currency) return \"USD\";\n  try {\n    new Intl.NumberFormat(DEFAULT_LOCALE, { style: \"currency\", currency });\n    return currency.toUpperCase();\n  } catch {\n    return \"USD\";\n  }\n}\n\n// Where weeks start, by region, as CLDR 48 has it; every other region starts on Monday. A table rather than\n// Intl.Locale weekInfo, which not every browser has, so the server and every browser agree.\nconst SUNDAY = new Set(\n  \"AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN IS JM JP KE KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PT PY SA SG SV TH TT TW UM US VE VI WS YE ZA ZW\".split(\" \"),\n);\nconst SATURDAY = new Set(\"AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY\".split(\" \"));\n\nfunction firstDayOf(locale: string): 0 | 1 | 5 | 6 {\n  let region: string | undefined;\n  try {\n    region = new Intl.Locale(locale).maximize().region;\n  } catch {}\n  if (!region) return 0;\n  if (region === \"MV\") return 5;\n  if (SATURDAY.has(region)) return 6;\n  return SUNDAY.has(region) ? 0 : 1;\n}\n\nconst cache = new Map<string, Formats>();\n\n/** Formatters for one locale. Cheap to call on every render: each locale and option set is built once. */\nexport function formatsFor(locale?: string, options: FormatOptions = {}): Formats {\n  const tag = safeLocale(locale);\n  const currency = safeCurrency(options.currency);\n  const unit = options.unit === \"mile\" ? \"mile\" : \"kilometer\";\n  const key = `${tag}|${currency}|${unit}`;\n  const known = cache.get(key);\n  if (known) return known;\n\n  const nf = (o: Intl.NumberFormatOptions) => new Intl.NumberFormat(tag, o);\n  const dates = new Map<string, Intl.DateTimeFormat>();\n  const df = (o: Intl.DateTimeFormatOptions) => {\n    const id = JSON.stringify(o);\n    let format = dates.get(id);\n    if (!format) {\n      format = new Intl.DateTimeFormat(tag, { ...o, timeZone: \"UTC\" });\n      dates.set(id, format);\n    }\n    return format;\n  };\n  // English writes thousands with a small k, as the filters always have.\n  const english = tag === \"en\" || tag.startsWith(\"en-\");\n  const smallK = (text: string) => (english ? text.replace(/K\\b/, \"k\") : text);\n\n  const number = nf({});\n  const plain = nf({ useGrouping: false, maximumFractionDigits: 20 });\n  const compact = nf({ notation: \"compact\", maximumFractionDigits: 1 });\n  const price = nf({ style: \"currency\", currency, minimumFractionDigits: 0, maximumFractionDigits: 0 });\n  // One decimal is exact for a 1,000 unit (\"$97.5k\"); a 10,000 unit such as 万 takes two (\"$9.75万\").\n  const unitDigits = nf({ notation: \"compact\", useGrouping: false }).formatToParts(10000).filter((p) => p.type === \"integer\").map((p) => p.value).join(\"\").length;\n  const priceShort = nf({ style: \"currency\", currency, notation: \"compact\", minimumFractionDigits: 0, maximumFractionDigits: Math.max(1, 3 - unitDigits) });\n  const distance = nf({ style: \"unit\", unit, maximumFractionDigits: 0 });\n  const percent = nf({ style: \"percent\", maximumFractionDigits: 2 });\n\n  const digits = plain.format(1234567890).replace(/^(.*)(.)$/, \"$2$1\");\n  const parts = number.formatToParts(12345.6);\n  const group = parts.find((p) => p.type === \"group\")?.value ?? \",\";\n  const decimal = parts.find((p) => p.type === \"decimal\")?.value ?? \".\";\n\n  const formats: Formats = {\n    locale: tag,\n    number: (value) => number.format(value),\n    plain: (value) => plain.format(value),\n    compact: (value) => smallK(compact.format(value)),\n    price: (value) => price.format(value),\n    priceShort: (value) => (Math.abs(value) >= 1000 ? smallK(priceShort.format(value)) : price.format(value)),\n    distance: (value) => distance.format(value),\n    percent: (value) => percent.format(value / 100),\n    day: (iso, o) => df(o).format(Date.UTC(Number(iso.slice(0, 4)), Number(iso.slice(5, 7)) - 1, Number(iso.slice(8, 10)))),\n    month: (index, style = \"long\") => df({ month: style }).format(Date.UTC(2021, index, 1)),\n    // 3 January 2021 was a Sunday.\n    weekday: (index, style = \"long\") => df({ weekday: style }).format(Date.UTC(2021, 0, 3 + index)),\n    firstDay: firstDayOf(tag),\n    digits,\n    readNumber: (text) => {\n      let t = text.replace(/[\\s  ‎‏؜]/g, \"\");\n      for (let i = 0; i < 10; i++) t = t.split(digits[i]).join(String(i));\n      if (!/\\s/.test(group)) t = t.split(group).join(\"\");\n      // Marks typed in place of the locale's own: a Latin or Arabic comma where both marks are Arabic, a curly apostrophe for a straight one.\n      if (!/[.,]/.test(group + decimal)) t = t.replace(/[,\\u060c]/g, \"\");\n      if (group === \"'\") t = t.split(\"\\u2019\").join(\"\");\n      if (decimal !== \".\") t = t.split(decimal).join(\".\");\n      const match = t.match(/(\\d*\\.?\\d+)([km](?![a-z]))?/i);\n      if (!match) return null;\n      const scale = match[2] ? (match[2].toLowerCase() === \"k\" ? 1e3 : 1e6) : 1;\n      return Number(match[1]) * scale;\n    },\n  };\n  cache.set(key, formats);\n  return formats;\n}\n\n/** \"1 result\", \"1,204 results\": the default words for a count, with the number in the locale. */\nexport const resultsLabel = (n: number, locale?: string) => `${formatsFor(locale).number(n)} ${n === 1 ? \"result\" : \"results\"}`;\n"
    },
    {
      "path": "registry/ui/show-all.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/show-all.tsx",
      "content": "\"use client\";\n\nimport type { ButtonHTMLAttributes } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { formatsFor } from \"../lib/format\";\n\n/**\n * What a long list shows while folded: its first `collapsedCount` options and any that are on. Two hidden options are\n * not worth a button, so the list folds only when it would hide three or more, and never while it is loading.\n * `isKept` marks an option past the fold that was just turned off while it held focus or the pointer: it stays until\n * both have left it, so focus is never dropped and nothing moves under the pointer.\n */\nexport function foldOptions<T>(\n  options: readonly T[],\n  {\n    collapsedCount,\n    expanded,\n    isOn,\n    isKept,\n    loading = false,\n  }: { collapsedCount: number; expanded: boolean; isOn: (option: T) => boolean; isKept?: (option: T) => boolean; loading?: boolean },\n): { folds: boolean; shown: readonly T[] } {\n  const folds = !loading && options.length > collapsedCount + 2;\n  return {\n    folds,\n    shown: folds && !expanded ? options.filter((option, i) => i < collapsedCount || isOn(option) || isKept?.(option)) : options,\n  };\n}\n\nexport type ShowAllButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, \"children\" | \"onClick\" | \"type\"> & {\n  /** How many options the whole list holds: \"Show all 24\". */\n  total: number;\n  /** The whole list shows; the button then reads \"Show fewer\". */\n  expanded: boolean;\n  onToggle: () => void;\n  /** Formats the number, e.g. \"de-DE\". Default \"en-US\". */\n  locale?: string;\n};\n\n/**\n * The text button that opens a folded list, in the accent colour: \"Show all N\", then \"Show fewer\". A 1px line draws in\n * under the words from the start edge while it is hovered or focused. It carries aria-expanded.\n */\nexport function ShowAllButton({ total, expanded, onToggle, locale, className, ...props }: ShowAllButtonProps) {\n  return (\n    <button\n      type=\"button\"\n      aria-expanded={expanded}\n      onClick={onToggle}\n      className={cn(\n        \"group/more relative inline-flex h-8 cursor-pointer items-center rounded-[6px] px-1 text-[14px] leading-5 font-medium text-[var(--fu-accent-soft,#8FAAFF)]\",\n        \"transition-[color,scale] duration-200 hover:text-[var(--fu-accent-pale,#D1DDFF)] active:scale-[0.97] active:duration-75 motion-reduce:transition-none\",\n        \"outline-none focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-[var(--fu-accent-soft,#8FAAFF)]\",\n        className,\n      )}\n      {...props}\n    >\n      <span\n        className={cn(\n          \"bg-[linear-gradient(currentColor,currentColor)] bg-[length:0%_1px] bg-[position:0_100%] rtl:bg-[position:100%_100%] bg-no-repeat pb-px\",\n          \"transition-[background-size] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none\",\n          \"[@media(hover:hover)]:group-hover/more:bg-[length:100%_1px] group-focus-visible/more:bg-[length:100%_1px]\",\n        )}\n      >\n        {expanded ? \"Show fewer\" : `Show all ${formatsFor(locale).number(total)}`}\n      </span>\n    </button>\n  );\n}\n"
    },
    {
      "path": "registry/ui/skeleton.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/skeleton.tsx",
      "content": "\"use client\";\n\nimport { createContext, useContext, type HTMLAttributes, type ReactNode } from \"react\";\nimport { cn } from \"../lib/cn\";\n\n/** What StatusFrame tells the pieces under it: draw placeholders, or the data has just arrived and fades in once. */\nexport type LoadingState = { loading: boolean; arriving: boolean };\n\nexport const LoadingContext = createContext<LoadingState>({ loading: false, arriving: false });\n\n/** The loading state of the nearest StatusFrame. Outside one, nothing is loading. */\nexport const useLoading = () => useContext(LoadingContext);\n\n/**\n * The placeholder fill: --fu-skeleton, pulsing to half of it every 2s (Tailwind's animate-pulse). It holds still when\n * reduced motion is asked for, and turns to the system's grey text colour in forced colours, so it never vanishes.\n */\nexport const SKELETON_FILL =\n  \"animate-pulse bg-[var(--fu-skeleton,rgb(255_255_255/0.12))] in-data-[state=on]:bg-[var(--fu-skeleton-on,rgb(143_170_255/0.3))] motion-reduce:animate-none forced-colors:bg-[GrayText] forced-colors:[forced-color-adjust:none]\";\n\n/** Content that has just replaced a placeholder: it fades in once over 300ms as it is inserted, and never again. */\nexport const ARRIVING = \"transition-opacity duration-300 ease-out starting:opacity-0 motion-reduce:transition-none\";\n\nexport type SkeletonProps = HTMLAttributes<HTMLSpanElement>;\n\n/**\n * A pulsing placeholder block with no size of its own: give it the size and corners of what it stands for, from the\n * same classes, e.g. \"h-5 min-w-[22px] rounded-[6px]\" for a count pill. Hidden from screen readers; the StatusFrame\n * around it says \"Loading\" once.\n */\nexport function Skeleton({ className, ...props }: SkeletonProps) {\n  return <span aria-hidden=\"true\" data-skeleton=\"\" className={cn(\"block rounded-[6px]\", SKELETON_FILL, className)} {...props} />;\n}\n\nexport type SkeletonTextProps = {\n  children: ReactNode;\n  /** Draws the placeholder. Default: the nearest StatusFrame's loading state. */\n  loading?: boolean;\n  /** Classes for the placeholder's box while loading. */\n  className?: string;\n};\n\n/**\n * Words that draw as a rounded bar while loading. The words stay in the layout, unseen, so the bar is exactly as wide\n * and as many lines tall as they are, and nothing moves when they arrive; then they fade in once.\n */\nexport function SkeletonText({ children, loading, className }: SkeletonTextProps) {\n  const state = useLoading();\n  if (loading ?? state.loading) {\n    return (\n      <span key=\"skeleton\" className={cn(\"relative inline-block max-w-full align-top\", className)}>\n        <span className=\"invisible\">{children}</span>\n        <Skeleton className=\"absolute inset-x-0 inset-y-[0.22lh] rounded-[4px]\" />\n      </span>\n    );\n  }\n  if (state.arriving) {\n    return (\n      <span key=\"arrived\" className={ARRIVING}>\n        {children}\n      </span>\n    );\n  }\n  return <>{children}</>;\n}\n\n/**\n * Stand-in names for a list whose options have not come yet: a mix of lengths, so the placeholders do not read as a\n * grid. Never shown; only their widths are.\n */\nexport function placeholderLabels(count: number): string[] {\n  const words = [\"Placeholder\", \"Short\", \"A longer name\", \"Medium one\", \"Tiny\", \"Another name\", \"Middle\", \"Fairly long one\"];\n  return Array.from({ length: count }, (_, i) => words[i % words.length]);\n}\n"
    },
    {
      "path": "registry/ui/status-frame.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/status-frame.tsx",
      "content": "\"use client\";\n\nimport { createContext, useContext, useEffect, useLayoutEffect, useRef, useState, type HTMLAttributes, type ReactNode, type RefObject } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { SEARCH_ART } from \"./art-search\";\nimport { EmptyNote } from \"./empty-note\";\nimport { EmptyState } from \"./empty-state\";\nimport { ERROR_LINE, ERROR_TEXT, ErrorGlyph, RetryButton } from \"./inline-error\";\nimport { LoadingContext, useLoading } from \"./skeleton\";\n\n/** Where the data stands: shown, on its way, or failed. */\nexport type Status = \"ready\" | \"loading\" | \"error\";\n\n/**\n * The state props every item takes, with the same names and meanings everywhere, so a person who has learned one\n * filter knows them all. Spread them into an item's own props type.\n */\nexport type StateProps = {\n  /** \"loading\" draws placeholders the size of the content; \"error\" shows errorText with a Retry. Default \"ready\". */\n  status?: Status;\n  /** Called by the Retry button. Without it the error line has no button. */\n  onRetry?: () => void;\n  /** The error line. Default \"Couldn't load the options.\" */\n  errorText?: string;\n  /** The line shown in place of the options when there are none. Default \"No options to show\" */\n  emptyText?: string;\n  /** Dims the whole filter, blocks pointer and keyboard input and says so to screen readers. Default false. */\n  disabled?: boolean;\n};\n\nexport const DEFAULT_ERROR_TEXT = \"Couldn't load the options.\";\nexport const DEFAULT_EMPTY_TEXT = \"No options to show\";\nexport const DEFAULT_LOADING_TEXT = \"Loading\";\n\n/** How long arriving content keeps its fade-in class: a little more than the 300ms fade. */\nconst ARRIVAL_MS = 400;\n\ntype Mode = \"ready\" | \"loading\" | \"error\" | \"empty\";\n\n/** A frame around this one is loading and has said \"Loading\": this one then draws its placeholders without saying it again. */\nconst SaidLoading = createContext(false);\n\nexport type StatusFrameProps = Omit<HTMLAttributes<HTMLDivElement>, \"children\"> &\n  Omit<StateProps, \"emptyText\"> & {\n    /** There are no options: emptyText shows in place of the content. */\n    empty?: boolean;\n    emptyText?: ReactNode;\n    /** The picture above emptyText: an image address or a node. Default: the search picture. null draws the words alone as one quiet line, for a tight place. */\n    emptyArt?: string | ReactNode | null;\n    /** Words read once while loading. Default \"Loading\". */\n    loadingText?: string;\n    /** Reads loading and errors out. A block that holds several filters turns it off on each and says it once itself. Default true. */\n    announce?: boolean;\n    retryLabel?: string;\n    children: ReactNode;\n  };\n\n/**\n * Wraps an item's content and gives it the shared states.\n * - loading: the content stays drawn, inert and busy, and its Skeleton, SkeletonText and CountPill pieces draw as\n *   placeholders of their real size, so nothing moves when the data arrives; the data then fades in once.\n * - error: one calm line and a Retry in place of the content. Loading and errors are read out through one polite\n *   status region that stays on the page.\n * - empty: a picture and one line in place of the content (or the line alone, with emptyArt null).\n * - disabled: dimmed, no pointer or keyboard input (a disabled fieldset turns off every native control inside), and\n *   read as unavailable. Custom focusable parts, such as a grid's cells, also need tabIndex -1 and aria-disabled.\n * When a state change takes away the control that had focus, the frame takes focus, so it is never lost.\n * A frame inside a loading frame draws its placeholders too, and does not say \"Loading\" again when that frame has said\n * it. So a block can load every filter in it with one quiet frame per card (announce false) and say it once in its head\n * with StatusLine; and a filter whose error must leave its title in place can take loading and disabled on a quiet outer\n * frame and let an inner frame around the part that fails speak.\n */\nexport function StatusFrame({\n  status = \"ready\",\n  onRetry,\n  errorText = DEFAULT_ERROR_TEXT,\n  empty = false,\n  emptyText = DEFAULT_EMPTY_TEXT,\n  emptyArt,\n  disabled = false,\n  loadingText = DEFAULT_LOADING_TEXT,\n  announce = true,\n  retryLabel,\n  className,\n  children,\n  ...props\n}: StatusFrameProps) {\n  const frame = useRef<HTMLDivElement>(null);\n  const outer = useLoading();\n  const saidAbove = useContext(SaidLoading);\n  const mode: Mode = status === \"loading\" ? \"loading\" : status === \"error\" ? \"error\" : empty ? \"empty\" : \"ready\";\n\n  // The data arrives when loading turns to ready: its pieces fade in once, then go back to plain content.\n  const [lastStatus, setLastStatus] = useState(status);\n  const [arriving, setArriving] = useState(false);\n  if (status !== lastStatus) {\n    setLastStatus(status);\n    setArriving(lastStatus === \"loading\" && status === \"ready\");\n  }\n  useEffect(() => {\n    if (!arriving) return;\n    const timer = setTimeout(() => setArriving(false), ARRIVAL_MS);\n    return () => clearTimeout(timer);\n  }, [arriving]);\n\n  // Whether focus sat on a control inside, read just before a change of state is drawn.\n  const key = `${mode}|${disabled}`;\n  const drawnKey = useRef(key);\n  const focusWasInside = useRef(false);\n  if (key !== drawnKey.current && typeof document !== \"undefined\") {\n    const active = document.activeElement;\n    focusWasInside.current = !!frame.current && !!active && active !== frame.current && frame.current.contains(active);\n  }\n  useLayoutEffect(() => {\n    if (drawnKey.current === key) return;\n    drawnKey.current = key;\n    if (!focusWasInside.current) return;\n    focusWasInside.current = false;\n    const node = frame.current;\n    // The focused control was removed, made inert or disabled: the frame keeps focus instead of the page.\n    if (node && (mode !== \"ready\" || disabled || !node.contains(document.activeElement))) node.focus({ preventScroll: true });\n  });\n\n  return (\n    <div\n      ref={frame}\n      tabIndex={-1}\n      data-status-frame=\"\"\n      data-status={mode}\n      aria-busy={mode === \"loading\" || undefined}\n      className={cn(\n        \"min-w-0 rounded-[12px] outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-solid focus-visible:outline-[var(--fu-accent-soft,#8FAAFF)]\",\n        disabled && \"pointer-events-none opacity-50 select-none\",\n        className,\n      )}\n      {...props}\n    >\n      <SaidLoading.Provider value={saidAbove || (mode === \"loading\" && announce)}>\n        <LoadingContext.Provider value={{ loading: mode === \"loading\" || outer.loading, arriving: arriving || outer.arriving }}>\n          {mode === \"empty\" ? (\n            emptyArt === null ? (\n              <EmptyNote>{emptyText}</EmptyNote>\n            ) : (\n              <EmptyState art={emptyArt ?? SEARCH_ART} title={emptyText} className=\"py-5\" />\n            )\n          ) : mode === \"error\" ? null : (\n            // display: contents, so the fieldset adds no box; while disabled it turns off every native control inside.\n            <fieldset role=\"none\" disabled={disabled} inert={mode === \"loading\"} className=\"contents\">\n              {children}\n            </fieldset>\n          )}\n        </LoadingContext.Provider>\n      </SaidLoading.Provider>\n      <StatusLine\n        status={mode === \"loading\" || mode === \"error\" ? mode : \"ready\"}\n        onRetry={onRetry}\n        errorText={errorText}\n        loadingText={saidAbove ? \"\" : loadingText}\n        announce={announce}\n        retryLabel={retryLabel}\n      />\n    </div>\n  );\n}\n\nexport type StatusLineProps = {\n  status?: Status;\n  /** Called by Retry. Without it the error line has no button. */\n  onRetry?: () => void;\n  errorText?: string;\n  loadingText?: string;\n  /** Reads loading and errors out. Off, it leaves \"Loading\" out and still shows an error. Default true. */\n  announce?: boolean;\n  retryLabel?: string;\n  /** Classes for the line while it shows an error, e.g. its margins. */\n  className?: string;\n};\n\n/**\n * What a StatusFrame says, on its own: one polite region, on the page in every state so each change is read out.\n * Loading is read as \"Loading\" and not shown; an error shows as one calm line with Retry; ready says nothing and takes\n * no space. A block that keeps its cards in every state puts it in its head, to say the state once for all of them.\n * Retry hands focus to the nearest element marked data-status-frame (with tabIndex -1) around it.\n */\nexport function StatusLine({\n  status = \"ready\",\n  onRetry,\n  errorText = DEFAULT_ERROR_TEXT,\n  loadingText = DEFAULT_LOADING_TEXT,\n  announce = true,\n  retryLabel,\n  className,\n}: StatusLineProps) {\n  const error = status === \"error\";\n  const said = status === \"loading\" ? (announce ? loadingText : \"\") : error ? errorText : \"\";\n  return (\n    // The words take their own direction, so an English sentence keeps its full stop at its end on a right-to-left page.\n    <div className={error ? cn(ERROR_LINE, className) : \"contents\"}>\n      <p role={announce ? \"status\" : undefined} className={error ? ERROR_TEXT : \"sr-only\"}>\n        {error && <ErrorGlyph />}\n        {said && <span dir=\"auto\">{said}</span>}\n      </p>\n      {error && onRetry && <RetryButton onRetry={onRetry} label={retryLabel} />}\n    </div>\n  );\n}\n\n/**\n * For a block that leaves controls out by state, such as Clear all while it is disabled: when a change of `key` takes\n * away the control that had focus inside `scope`, `target` (default `scope`, with tabIndex -1) takes focus, so it is\n * never dropped to the page.\n */\nexport function useFocusKept(scope: RefObject<HTMLElement | null>, key: string, target: RefObject<HTMLElement | null> = scope) {\n  const drawn = useRef(key);\n  const had = useRef(false);\n  if (key !== drawn.current && typeof document !== \"undefined\") {\n    const active = document.activeElement;\n    had.current = !!scope.current && !!active && scope.current.contains(active);\n  }\n  useLayoutEffect(() => {\n    if (drawn.current === key) return;\n    drawn.current = key;\n    if (!had.current) return;\n    had.current = false;\n    const node = scope.current;\n    if (node && !node.contains(document.activeElement)) target.current?.focus({ preventScroll: true });\n  });\n}\n"
    },
    {
      "path": "registry/ui/art-search.ts",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/art-search.ts",
      "content": "/**\n * The picture for \"nothing matches\" and \"nothing here\": a glass magnifier on a clear background, drawn 56px.\n * It is a file, not code: the shadcn install saves it as public/filters-ui/search.svg. Copying by hand, save\n * https://filtersui.com/filters-ui/search.svg there, or point this at a picture of your own. With no file the empty\n * states show their words alone.\n */\nexport const SEARCH_ART = \"/filters-ui/search.svg\";\n"
    },
    {
      "path": "registry/ui/empty-note.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/empty-note.tsx",
      "content": "import type { HTMLAttributes, ReactNode } from \"react\";\nimport { cn } from \"../lib/cn\";\n\nexport type EmptyNoteProps = HTMLAttributes<HTMLDivElement> & {\n  /** A 16px glyph in currentColor before the words. */\n  icon?: ReactNode;\n  /** A button or link after the words, e.g. \"Clear search\". */\n  action?: ReactNode;\n};\n\n/**\n * A quiet one-line note in place of a list that has nothing in it: dim 14px words, an optional glyph and an optional\n * action. No illustration and no box, so it sits in the space the options would take.\n */\nexport function EmptyNote({ icon, action, className, children, ...props }: EmptyNoteProps) {\n  return (\n    <div className={cn(\"flex min-w-0 flex-wrap items-center justify-between gap-x-3 gap-y-2\", className)} {...props}>\n      <p className=\"flex min-w-0 items-start gap-2 text-[14px] leading-5 text-[var(--fu-dim,#929292)]\">\n        {icon && (\n          <span aria-hidden=\"true\" className=\"mt-0.5 shrink-0 [&_svg]:size-4\">\n            {icon}\n          </span>\n        )}\n        <span dir=\"auto\">{children}</span>\n      </p>\n      {action}\n    </div>\n  );\n}\n"
    },
    {
      "path": "registry/ui/empty-state.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/empty-state.tsx",
      "content": "import type { HTMLAttributes, ReactNode } from \"react\";\nimport { cn } from \"../lib/cn\";\n\nexport type EmptyStateProps = Omit<HTMLAttributes<HTMLDivElement>, \"title\"> & {\n  /** The picture above the words: an image address, drawn 56px square, or any node of that size. */\n  art?: string | ReactNode;\n  /** The one line that says what is missing. */\n  title: ReactNode;\n  /** A link or button under the words, such as \"Clear search\". */\n  action?: ReactNode;\n  /** A second, quieter line under the title. */\n  children?: ReactNode;\n};\n\n// Each part arrives once, a beat after the one above it: the picture comes into focus, the words rise into place.\nconst ENTER =\n  \"transition-[opacity,filter,translate,scale] duration-[480ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none starting:opacity-0\";\n\n/**\n * What a list shows in the room its options would take when it has none: a picture, one line and an action, stacked\n * in the middle. For a single quiet line with no picture, use EmptyNote.\n */\nexport function EmptyState({ art, title, action, className, children, ...props }: EmptyStateProps) {\n  return (\n    <div className={cn(\"flex min-w-0 max-w-full flex-col items-center text-center\", className)} {...props}>\n      {art && (\n        <span aria-hidden=\"true\" className={cn(\"mb-3 block size-14 shrink-0\", ENTER, \"starting:scale-[0.82] starting:blur-[6px]\")}>\n          {typeof art === \"string\" ? (\n            // eslint-disable-next-line @next/next/no-img-element\n            <img src={art} alt=\"\" width={56} height={56} loading=\"lazy\" decoding=\"async\" draggable={false} className=\"size-full object-contain select-none\" />\n          ) : (\n            art\n          )}\n        </span>\n      )}\n      <p dir=\"auto\" className={cn(\"max-w-full text-[15px] leading-5 font-medium text-[var(--fu-text,#F8F5F1)]\", ENTER, \"delay-[60ms] starting:translate-y-1.5 starting:blur-[2px]\")}>\n        {title}\n      </p>\n      {children && (\n        <p dir=\"auto\" className={cn(\"mt-1 max-w-full text-[14px] leading-5 text-[var(--fu-mute,#BDBDBD)]\", ENTER, \"delay-[90ms] starting:translate-y-1.5 starting:blur-[2px]\")}>\n          {children}\n        </p>\n      )}\n      {action && <div className={cn(\"mt-2 max-w-full\", ENTER, \"delay-[120ms] starting:translate-y-1.5\")}>{action}</div>}\n    </div>\n  );\n}\n"
    },
    {
      "path": "registry/ui/inline-error.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/inline-error.tsx",
      "content": "\"use client\";\n\nimport type { HTMLAttributes } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { buttonClasses } from \"./button-classes\";\nimport { CircleAlertIcon } from \"./icons\";\n\nexport const DEFAULT_RETRY_LABEL = \"Retry\";\n\n/** The error line's layout: the words at the start, Retry at the end, wrapping under them when space runs out. */\nexport const ERROR_LINE = \"flex min-w-0 flex-wrap items-center justify-between gap-x-3 gap-y-2\";\n/** The words: 14px, muted, with a 16px dim alert glyph before them. */\nexport const ERROR_TEXT = \"flex min-w-0 items-start gap-2 text-[14px] leading-5 text-[var(--fu-mute,#BDBDBD)]\";\n\n/** The alert glyph that leads the words. Hidden from screen readers. */\nexport function ErrorGlyph() {\n  return <CircleAlertIcon size={16} className=\"mt-0.5 shrink-0 text-[var(--fu-dim,#929292)]\" />;\n}\n\nexport type RetryButtonProps = {\n  onRetry: () => void;\n  label?: string;\n  className?: string;\n};\n\n/**\n * A small grey button that is never shown disabled. Before it calls onRetry it hands focus to the StatusFrame around\n * it, which stays on the page while the content reloads, so focus is never lost with the button.\n */\nexport function RetryButton({ onRetry, label = DEFAULT_RETRY_LABEL, className }: RetryButtonProps) {\n  return (\n    <button\n      type=\"button\"\n      onClick={(event) => {\n        event.currentTarget.closest<HTMLElement>(\"[data-status-frame]\")?.focus({ preventScroll: true });\n        onRetry();\n      }}\n      className={buttonClasses({ variant: \"secondary\", size: \"sm\", className })}\n    >\n      {label}\n    </button>\n  );\n}\n\nexport type InlineErrorProps = Omit<HTMLAttributes<HTMLDivElement>, \"children\"> & {\n  /** One short line in plain words, e.g. \"Couldn't load the options.\" */\n  text: string;\n  /** Shows Retry. Without it the line stands alone. */\n  onRetry?: () => void;\n  retryLabel?: string;\n};\n\n/**\n * A calm error in the component's own area: one muted line and a Retry button. The line is a polite status region, so\n * it is read out when it appears. Inside a StatusFrame use the frame's status=\"error\" instead: it keeps one region on\n * the page for loading and errors alike.\n */\nexport function InlineError({ text, onRetry, retryLabel, className, ...props }: InlineErrorProps) {\n  return (\n    <div className={cn(ERROR_LINE, className)} {...props}>\n      <p role=\"status\" className={ERROR_TEXT}>\n        <ErrorGlyph />\n        <span dir=\"auto\">{text}</span>\n      </p>\n      {onRetry && <RetryButton onRetry={onRetry} label={retryLabel} />}\n    </div>\n  );\n}\n"
    },
    {
      "path": "registry/ui/button-classes.ts",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/button-classes.ts",
      "content": "import { cn } from \"../lib/cn\";\n\n// The button looks as class names. Kept apart from button.tsx, a client module, so server pages can call them too.\n\nexport type ButtonVariant = \"primary\" | \"secondary\" | \"ghost\" | \"quiet\" | \"quiet-accent\";\nexport type ButtonSize = \"sm\" | \"md\" | \"lg\";\n\nexport const BUTTON_BASE = cn(\n  \"relative inline-flex shrink-0 cursor-pointer items-center justify-center rounded-[10px] font-[inherit] font-medium whitespace-nowrap no-underline select-none\",\n  \"[-webkit-tap-highlight-color:transparent] transition-[background-color,color,scale] duration-200 ease-[cubic-bezier(0.22,1,0.36,1)]\",\n  \"active:scale-[0.97] active:duration-75 motion-reduce:transition-none motion-reduce:active:scale-100\",\n  \"outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-solid focus-visible:outline-[var(--fu-accent-soft,#8FAAFF)]\",\n  \"aria-busy:cursor-progress aria-busy:active:scale-100\",\n);\n\nconst VARIANTS: Record<ButtonVariant, string> = {\n  primary:\n    \"bg-[var(--fu-accent,#3B57E6)] text-[var(--fu-on-accent,#FFFFFF)] hover:bg-[var(--fu-accent-hover,#3450D4)] forced-colors:border forced-colors:border-[ButtonText]\",\n  secondary:\n    \"bg-[var(--fu-surface-3,#2A2A2A)] text-[var(--fu-text,#F8F5F1)] hover:bg-[var(--fu-hover,#333333)] forced-colors:border forced-colors:border-[ButtonText]\",\n  ghost: \"bg-transparent text-[var(--fu-text,#F8F5F1)] hover:bg-[var(--fu-hover-wash,rgb(255_255_255/0.14))]\",\n  quiet: \"bg-transparent text-[var(--fu-mute,#BDBDBD)] hover:text-[var(--fu-text,#F8F5F1)]\",\n  \"quiet-accent\":\n    \"bg-transparent text-[var(--fu-accent-soft,#8FAAFF)] decoration-1 underline-offset-[5px] hover:text-[var(--fu-accent-pale,#D1DDFF)] [@media(hover:hover)]:hover:underline\",\n};\n\n// Below 44px a touch screen gets a taller invisible target through ::after.\nconst TAP = \"pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:content-['']\";\n\nconst SIZES: Record<ButtonSize, { box: string; before: string; after: string }> = {\n  sm: { box: cn(\"h-8 gap-1.5 px-3 text-[13px] leading-5 [&_svg]:size-4\", TAP, \"pointer-coarse:after:-inset-y-1.5\"), before: \"ps-2.5\", after: \"pe-2.5\" },\n  md: { box: cn(\"h-10 gap-2 px-3.5 text-[15px] leading-5 [&_svg]:size-4\", TAP, \"pointer-coarse:after:-inset-y-0.5\"), before: \"ps-3\", after: \"pe-3\" },\n  lg: { box: \"h-11 gap-2 px-4 text-[15px] leading-5 [&_svg]:size-[18px]\", before: \"ps-3.5\", after: \"pe-3.5\" },\n};\n\n/** The classes of a button, for a link or a router link that should look like one. */\nexport function buttonClasses({\n  variant = \"primary\",\n  size = \"md\",\n  before = false,\n  after = false,\n  className,\n}: { variant?: ButtonVariant; size?: ButtonSize; before?: boolean; after?: boolean; className?: string } = {}) {\n  return cn(BUTTON_BASE, VARIANTS[variant], SIZES[size].box, before && SIZES[size].before, after && SIZES[size].after, className);\n}\n"
    },
    {
      "path": "registry/ui/icons.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/icons.tsx",
      "content": "import type { ReactNode, SVGProps } from \"react\";\n\n/*\n * Icon paths from Lucide (https://lucide.dev), ISC License.\n * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT).\n * All other copyright (c) for Lucide are held by Lucide Contributors 2022.\n * Permission to use, copy, modify, and/or distribute this software for any purpose with or\n * without fee is hereby granted, provided that the above copyright notice and this permission\n * notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS\n * SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\n * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n * PERFORMANCE OF THIS SOFTWARE.\n */\n\nexport type IconProps = Omit<SVGProps<SVGSVGElement>, \"children\"> & { size?: number };\n\nfunction Icon({ size = 20, strokeWidth = 2, children, ...props }: IconProps & { children: ReactNode }) {\n  return (\n    <svg\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      strokeWidth={strokeWidth}\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      aria-hidden=\"true\"\n      focusable=\"false\"\n      {...props}\n    >\n      {children}\n    </svg>\n  );\n}\n\nexport function ChevronDownIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"m6 9 6 6 6-6\" />\n    </Icon>\n  );\n}\n\nexport function XIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M18 6 6 18\" />\n      <path d=\"m6 6 12 12\" />\n    </Icon>\n  );\n}\n\nexport function CheckIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M20 6 9 17l-5-5\" />\n    </Icon>\n  );\n}\n\nexport function SearchIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <circle cx=\"11\" cy=\"11\" r=\"8\" />\n      <path d=\"m21 21-4.3-4.3\" />\n    </Icon>\n  );\n}\n\nexport function ArrowUpRightIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M7 7h10v10\" />\n      <path d=\"M7 17 17 7\" />\n    </Icon>\n  );\n}\n\nexport function PlusIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M5 12h14\" />\n      <path d=\"M12 5v14\" />\n    </Icon>\n  );\n}\n\nexport function CopyIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\" />\n      <path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\" />\n    </Icon>\n  );\n}\n\nexport function SlidersIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M21 4h-7\" />\n      <path d=\"M10 4H3\" />\n      <path d=\"M21 12h-9\" />\n      <path d=\"M8 12H3\" />\n      <path d=\"M21 20h-5\" />\n      <path d=\"M12 20H3\" />\n      <path d=\"M14 2v4\" />\n      <path d=\"M8 10v4\" />\n      <path d=\"M16 18v4\" />\n    </Icon>\n  );\n}\n\nexport function ArrowRightIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M5 12h14\" />\n      <path d=\"m12 5 7 7-7 7\" />\n    </Icon>\n  );\n}\n\nexport function SearchXIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"m13.5 8.5-5 5\" />\n      <path d=\"m8.5 8.5 5 5\" />\n      <circle cx=\"11\" cy=\"11\" r=\"8\" />\n      <path d=\"m21 21-4.3-4.3\" />\n    </Icon>\n  );\n}\n\nexport function StarIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z\" />\n    </Icon>\n  );\n}\n\nexport function HistoryIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\" />\n      <path d=\"M3 3v5h5\" />\n      <path d=\"M12 7v5l4 2\" />\n    </Icon>\n  );\n}\n\nexport function ListTreeIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <path d=\"M21 12h-8\" />\n      <path d=\"M21 6H8\" />\n      <path d=\"M21 18h-8\" />\n      <path d=\"M3 6v4c0 1.1.9 2 2 2h3\" />\n      <path d=\"M3 10v6c0 1.1.9 2 2 2h3\" />\n    </Icon>\n  );\n}\n\nexport function CircleAlertIcon(props: IconProps) {\n  return (\n    <Icon {...props}>\n      <circle cx=\"12\" cy=\"12\" r=\"10\" />\n      <path d=\"M12 8v4\" />\n      <path d=\"M12 16h.01\" />\n    </Icon>\n  );\n}\n"
    },
    {
      "path": "registry/ui/filter-card.tsx",
      "type": "registry:ui",
      "target": "@components/filters-ui/ui/filter-card.tsx",
      "content": "\"use client\";\n\nimport { useId, useRef, useState, type HTMLAttributes, type ReactNode } from \"react\";\nimport { cn } from \"../lib/cn\";\nimport { ChevronDownIcon } from \"./icons\";\n\nexport type FilterCardProps = Omit<HTMLAttributes<HTMLElement>, \"title\" | \"children\"> & {\n  title: string;\n  /** The value in words (\"Under $45k\"). Shown on the closed card; null or empty means the filter is unset. */\n  summary?: string | null;\n  /** Clears this one filter. When given, a Clear button takes the summary's place while open or hovered. */\n  onClear?: () => void;\n  /** Controlled open state. Leave undefined to let the card manage it. */\n  open?: boolean;\n  defaultOpen?: boolean;\n  onOpenChange?: (open: boolean) => void;\n  /** Looks like a closed card but cannot be opened or focused, e.g. a filter whose body is not ready. */\n  disabled?: boolean;\n  /** Accessible name of the Clear button. Default \"Clear {title}\". */\n  clearLabel?: string;\n  /** Heading level wrapping the head button. Default 3. */\n  headingLevel?: 2 | 3 | 4 | 5 | 6;\n  bodyClassName?: string;\n  children?: ReactNode;\n};\n\nconst SMOOTH = \"ease-[cubic-bezier(0.22,1,0.36,1)]\";\n\n// The summary and Clear share one slot and trade places over 150ms through a 2px blur and 4px shift.\nconst SUMMARY_HIDDEN = \"opacity-0 blur-[2px] -translate-y-1\";\nconst SUMMARY_HIDES_WHEN = [\n  \"group-data-[state=open]/card:opacity-0 group-data-[state=open]/card:blur-[2px] group-data-[state=open]/card:-translate-y-1\",\n  \"group-hover/slot:opacity-0 group-hover/slot:blur-[2px] group-hover/slot:-translate-y-1\",\n  \"group-focus-within/slot:opacity-0 group-focus-within/slot:blur-[2px] group-focus-within/slot:-translate-y-1\",\n].join(\" \");\n// Hovering anywhere on a closed card offers Clear in the summary's place.\nconst SUMMARY_HIDES_ON_CARD_HOVER = \"group-hover/card:opacity-0 group-hover/card:blur-[2px] group-hover/card:-translate-y-1\";\nconst CLEAR_SHOWS_ON_CARD_HOVER = \"group-hover/card:opacity-100 group-hover/card:blur-none group-hover/card:translate-y-0\";\n// A hidden Clear takes no taps: only a pointer that can hover reveals it before a click.\nconst CLEAR_HIDDEN = \"pointer-events-none opacity-0 blur-[2px] translate-y-1 [@media(hover:hover)]:pointer-events-auto\";\nconst CLEAR_SHOWS_WHEN = [\n  \"group-data-[state=open]/card:pointer-events-auto group-data-[state=open]/card:opacity-100 group-data-[state=open]/card:blur-none group-data-[state=open]/card:translate-y-0\",\n  \"group-hover/slot:opacity-100 group-hover/slot:blur-none group-hover/slot:translate-y-0\",\n  \"group-focus-within/slot:opacity-100 group-focus-within/slot:blur-none group-focus-within/slot:translate-y-0\",\n].join(\" \");\n\nconst FOCUS_RING =\n  \"outline-none focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-[var(--fu-accent-soft,#8FAAFF)]\";\n\n/**\n * One filter in a rounded card: a 52px head (title, value summary or Clear, chevron) that opens a body.\n * Opening animates the height over 480ms and reveals the content from a 6px blur, 6px lower.\n */\nexport function FilterCard({\n  title,\n  summary,\n  onClear,\n  open: openProp,\n  defaultOpen = false,\n  onOpenChange,\n  disabled = false,\n  clearLabel,\n  headingLevel = 3,\n  className,\n  bodyClassName,\n  children,\n  ...props\n}: FilterCardProps) {\n  const id = useId();\n  const headId = `${id}-head`;\n  const bodyId = `${id}-body`;\n  const head = useRef<HTMLButtonElement>(null);\n  const [innerOpen, setInnerOpen] = useState(defaultOpen);\n  const open = !disabled && (openProp ?? innerOpen);\n  const set = Boolean(summary);\n\n  // The last summary stays in place while it fades out after a clear.\n  const [lastSummary, setLastSummary] = useState(summary ?? \"\");\n  if (summary && summary !== lastSummary) setLastSummary(summary);\n\n  const setOpen = (next: boolean) => {\n    if (openProp === undefined) setInnerOpen(next);\n    onOpenChange?.(next);\n  };\n\n  const Heading = `h${headingLevel}` as const;\n  const swap = cn(\n    \"transition-[opacity,filter,translate] duration-150 ease-in-out motion-reduce:transition-none\",\n    \"group-data-[state=open]/card:duration-[480ms] group-data-[state=open]/card:ease-[cubic-bezier(0.22,1,0.36,1)]\",\n  );\n\n  return (\n    <section\n      data-state={open ? \"open\" : \"closed\"}\n      data-set={set ? \"true\" : \"false\"}\n      className={cn(\n        \"not-prose group/card relative overflow-hidden rounded-[24px] border border-[var(--fu-card-border,#2A2A2A)] bg-[var(--fu-card,#1F1F1F)] text-[var(--fu-text,#F8F5F1)]\",\n        \"transition-[background-color,border-color,opacity] duration-200 motion-reduce:transition-none\",\n        \"[@media(hover:hover)]:data-[state=closed]:has-[[data-filter-card-head]:enabled:hover,[data-filter-card-slot]:hover]:border-[var(--fu-line,#404040)] [@media(hover:hover)]:data-[state=closed]:has-[[data-filter-card-head]:enabled:hover,[data-filter-card-slot]:hover]:bg-[var(--fu-card-hover,#262626)]\",\n        // The head button sits flush in a clipped card, so its focus ring is drawn around the card.\n        \"has-[[data-filter-card-head]:focus-visible]:outline-2 has-[[data-filter-card-head]:focus-visible]:outline-offset-2 has-[[data-filter-card-head]:focus-visible]:outline-solid has-[[data-filter-card-head]:focus-visible]:outline-[var(--fu-accent-soft,#8FAAFF)]\",\n        className,\n      )}\n      {...props}\n    >\n      <Heading className=\"m-0 -mb-0.5 text-[15px] font-semibold leading-5 text-[var(--fu-text,#F8F5F1)]\">\n        <button\n          ref={head}\n          type=\"button\"\n          id={headId}\n          data-filter-card-head=\"\"\n          aria-expanded={open}\n          aria-controls={bodyId}\n          disabled={disabled}\n          onClick={() => setOpen(!open)}\n          className={cn(\n            \"flex h-[52px] w-full cursor-pointer items-center gap-3 rounded-[23px] px-4 text-start font-[inherit] text-inherit disabled:cursor-default\",\n            \"outline-none\",\n          )}\n        >\n          <span className=\"min-w-0 truncate\">{title}</span>\n          {set && <span className=\"sr-only\">, {summary}</span>}\n          {set && (\n            <span aria-hidden=\"true\" className=\"invisible min-w-0 max-w-[calc((100%+32px)*0.55)] shrink-0 truncate text-[14px] font-normal\">\n              {summary}\n            </span>\n          )}\n          <ChevronDownIcon\n            size={20}\n            className={cn(\n              \"ms-auto shrink-0 text-[var(--fu-mute,#BDBDBD)] group-has-[[data-filter-card-head]:disabled]/card:opacity-40 transition-[rotate] duration-[480ms] motion-reduce:transition-none\",\n              SMOOTH,\n              \"group-data-[state=open]/card:rotate-180\",\n            )}\n          />\n        </button>\n      </Heading>\n\n      {onClear && (\n        <div\n          inert={!set}\n          data-filter-card-slot=\"\"\n          className=\"group/slot pointer-events-none absolute inset-e-[46px] top-4 grid h-5 max-w-[55%] justify-items-end text-[14px] leading-5 text-[var(--fu-accent-soft,#8FAAFF)]\"\n        >\n          <span aria-hidden=\"true\" className={cn(\"pointer-events-none max-w-full truncate font-normal [grid-area:1/1]\", swap, set ? SUMMARY_HIDES_WHEN : SUMMARY_HIDDEN, set && !disabled && SUMMARY_HIDES_ON_CARD_HOVER)}>\n            {summary || lastSummary}\n          </span>\n          <button\n            type=\"button\"\n            tabIndex={set ? 0 : -1}\n            aria-label={clearLabel ?? `Clear ${title.toLowerCase()}`}\n            onClick={() => {\n              onClear();\n              head.current?.focus();\n            }}\n            className={cn(\n              \"relative -my-0.5 cursor-pointer rounded-[6px] py-0.5 font-medium [grid-area:1/1] before:absolute before:inset-x-0 before:-inset-y-2 before:content-['']\",\n              FOCUS_RING,\n              \"focus-visible:outline-offset-2\",\n              swap,\n              CLEAR_HIDDEN,\n              set && CLEAR_SHOWS_WHEN,\n              set && !disabled && CLEAR_SHOWS_ON_CARD_HOVER,\n            )}\n          >\n            Clear\n          </button>\n        </div>\n      )}\n      {!onClear && set && (\n        <span\n          aria-hidden=\"true\"\n          className={cn(\n            \"pointer-events-none absolute inset-e-[46px] top-4 max-w-[55%] truncate text-[14px] leading-5 text-[var(--fu-accent-soft,#8FAAFF)]\",\n            swap,\n            \"group-data-[state=open]/card:opacity-0\",\n          )}\n        >\n          {summary}\n        </span>\n      )}\n\n      <div\n        id={bodyId}\n        role=\"region\"\n        aria-labelledby={headId}\n        inert={!open}\n        className={cn(\n          \"grid grid-rows-[0fr] transition-[grid-template-rows] duration-[480ms] motion-reduce:transition-none\",\n          SMOOTH,\n          \"group-data-[state=open]/card:grid-rows-[1fr]\",\n        )}\n      >\n        <div className=\"min-h-0 overflow-hidden\">\n          <div\n            className={cn(\n              // pt-0.5 makes up the head's -2px margin, so content starts right under the 52px head.\n              \"px-4 pt-0.5 pb-4\",\n              \"translate-y-1.5 opacity-0 blur-[6px] transition-[opacity,filter,translate] duration-[480ms] motion-reduce:transition-none\",\n              SMOOTH,\n              \"group-data-[state=open]/card:translate-y-0 group-data-[state=open]/card:opacity-100 group-data-[state=open]/card:blur-none\",\n              \"group-data-[state=open]/card:delay-[120ms] group-data-[state=open]/card:duration-[460ms] group-data-[state=open]/card:ease-[cubic-bezier(0.16,1,0.3,1)]\",\n              bodyClassName,\n            )}\n          >\n            {children}\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    },
    {
      "path": "public/filters-ui/search.svg",
      "type": "registry:file",
      "target": "~/public/filters-ui/search.svg",
      "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"128\" height=\"128\" viewBox=\"0 0 128 128\"><image width=\"128\" height=\"128\" href=\"data:image/webp;base64,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