{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "boards-03",
  "title": "Board with limits and swimlanes",
  "description": "Columns that count against their limits, where a column past its limit tints its header and rolls its count to Over by 1; cards move with the pointer, touch or the keyboard, gather into one lane per person and glide back onto the board, and a quick add at the foot of a column takes Enter and leaves on Escape.",
  "dependencies": [
    "@dnd-kit/core",
    "motion"
  ],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/avatar.json",
    "https://ui.ndekocode.dev/r/demonstration.json",
    "https://ui.ndekocode.dev/r/icons.json",
    "https://ui.ndekocode.dev/r/input.json",
    "https://ui.ndekocode.dev/r/kbd.json",
    "https://ui.ndekocode.dev/r/live-duration.json",
    "https://ui.ndekocode.dev/r/live-region.json",
    "https://ui.ndekocode.dev/r/motion-number.json",
    "https://ui.ndekocode.dev/r/motion-presets.json",
    "https://ui.ndekocode.dev/r/motion-word-roll.json",
    "https://ui.ndekocode.dev/r/replay-button.json",
    "https://ui.ndekocode.dev/r/segments.json",
    "https://ui.ndekocode.dev/r/theme.json",
    "https://ui.ndekocode.dev/r/use-prefers-reduced-motion.json",
    "https://ui.ndekocode.dev/r/use-session.json",
    "https://ui.ndekocode.dev/r/utils.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/blocks/boards/boards-03/index.tsx",
      "content": "'use client';\n\nimport {\n  DndContext,\n  DragOverlay,\n  KeyboardSensor,\n  MouseSensor,\n  TouchSensor,\n  useSensor,\n  useSensors,\n  type Announcements,\n  type DragEndEvent,\n  type DragStartEvent,\n  type UniqueIdentifier,\n} from '@dnd-kit/core';\nimport { LayoutGroup } from 'motion/react';\nimport { useId, useState } from 'react';\n\nimport { usePrefersReducedMotion } from '@/registry/ndeko/hooks/use-prefers-reduced-motion';\nimport { useSession } from '@/registry/ndeko/hooks/use-session';\nimport { spokenUnless } from '@/registry/ndeko/lib/demonstration';\nimport { springOf } from '@/registry/ndeko/lib/motion-presets';\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { ClockGate } from '@/registry/ndeko/ui/live-duration';\nimport { LiveRegion } from '@/registry/ndeko/ui/live-region';\nimport { ReplayButton } from '@/registry/ndeko/ui/replay-button';\nimport { Segments, type Segment } from '@/registry/ndeko/ui/segments';\n\nimport {\n  boardCollision,\n  boardKeyboardCoordinates,\n  targetOf,\n  type DropTarget,\n} from './board-dnd';\nimport { BoardColumns, ColumnHeaders, Swimlanes } from './board-grid';\nimport { BOARD_NAME, COLUMNS, type Card, type ColumnId } from './data';\nimport {\n  cardsIn,\n  columnOf,\n  INITIAL,\n  laneNameOf,\n  LOOP_AFTER_MS,\n  placementOf,\n  reducer,\n  RESTING,\n  SCRIPT,\n  type View,\n} from './session';\nimport { OverlayCard } from './task-card';\n\nconst SESSION = {\n  reducer,\n  initial: INITIAL,\n  resting: RESTING,\n  script: SCRIPT,\n  loopAfter: LOOP_AFTER_MS,\n};\n\nconst MOUSE = { activationConstraint: { distance: 4 } };\n\nconst TOUCH = { activationConstraint: { delay: 180, tolerance: 6 } };\n\nconst KEYBOARD = { coordinateGetter: boardKeyboardCoordinates };\n\nconst INSTRUCTIONS = {\n  draggable:\n    'To pick up a card, press Space or Enter. The arrow keys move it to another column, or to another lane when the cards are grouped by person. Space or Enter drops it, Escape puts it back.',\n};\n\nconst VIEWS: Segment<View>[] = [\n  { value: 'board', label: 'Board' },\n  { value: 'lanes', label: 'By person' },\n];\n\nfunction cardsWordOf(count: number) {\n  if (count === 1) {\n    return '1 card';\n  }\n  return `${count} cards`;\n}\n\nfunction limitsLineOf() {\n  const limited = COLUMNS.filter((column) => column.limit !== null);\n  const parts = limited.map((column) => `${column.name} ${column.limit}`);\n  const list = parts.join(', ');\n  return `Limits: ${list}`;\n}\n\nconst LIMITS_LINE = limitsLineOf();\n\n/** The drop glides the card to its new place; reduced motion puts it there at once. */\nfunction dropAnimationOf(shouldReduceMotion: boolean) {\n  if (shouldReduceMotion) {\n    return null;\n  }\n  return undefined;\n}\n\n/** On the board the headers cap their columns; above the lanes they stand apart. */\nfunction bodyGapOf(view: View) {\n  if (view === 'board') {\n    return 'gap-0';\n  }\n  return 'gap-3';\n}\n\nfunction placeLineOf(target: DropTarget) {\n  const column = columnOf(target.column).name;\n  if (target.lane === undefined) {\n    return column;\n  }\n  const lane = laneNameOf(target.lane);\n  return `${column}, lane of ${lane}`;\n}\n\n/** Would one more card take the column past its limit? Said while the card hovers there. */\nfunction limitHintOf(cards: Card[], cardId: string, column: ColumnId) {\n  const target = columnOf(column);\n  if (target.limit === null) {\n    return '';\n  }\n  const inColumn = cardsIn(cards, column);\n  const others = inColumn.filter((card) => card.id !== cardId);\n  const countAfter = others.length + 1;\n  if (countAfter <= target.limit) {\n    return '';\n  }\n  return `, past its limit of ${target.limit}`;\n}\n\nexport default function Boards03() {\n  const { ref, isInView, isAutoplaying, state, act, isFinished, restart } =\n    useSession(SESSION);\n  const shouldReduceMotion = usePrefersReducedMotion();\n  const travel = springOf(shouldReduceMotion);\n  const groupId = useId();\n  const dndId = useId();\n  const [draggedId, setDraggedId] = useState<string | null>(null);\n  const sensors = useSensors(\n    useSensor(MouseSensor, MOUSE),\n    useSensor(TouchSensor, TOUCH),\n    useSensor(KeyboardSensor, KEYBOARD)\n  );\n  const placement = placementOf(state);\n  const draggedCard = state.cards.find((card) => card.id === draggedId);\n  const isBoard = state.view === 'board';\n  const isLanes = state.view === 'lanes';\n  const meta = `${cardsWordOf(state.cards.length)} · ${LIMITS_LINE}`;\n  const message = spokenUnless(isAutoplaying, state.spoken);\n  const canReplay = isFinished && !isAutoplaying;\n\n  function titleOf(id: UniqueIdentifier) {\n    const card = state.cards.find((candidate) => candidate.id === id);\n    return card?.title ?? 'The card';\n  }\n\n  function currentPlaceOf(id: UniqueIdentifier) {\n    const card = state.cards.find((candidate) => candidate.id === id);\n    if (!card) {\n      return 'its column';\n    }\n    return columnOf(card.column).name;\n  }\n\n  const announcements: Announcements = {\n    onDragStart({ active }) {\n      return `Picked up ${titleOf(active.id)}, in ${currentPlaceOf(active.id)}`;\n    },\n    onDragOver({ active, over }) {\n      const target = targetOf(over?.id);\n      const title = titleOf(active.id);\n      if (!target) {\n        return `${title} is not over a column`;\n      }\n      const hint = limitHintOf(state.cards, String(active.id), target.column);\n      return `${title} is over ${placeLineOf(target)}${hint}`;\n    },\n    onDragEnd({ active, over }) {\n      const target = targetOf(over?.id);\n      const title = titleOf(active.id);\n      if (!target) {\n        return `${title} went back to ${currentPlaceOf(active.id)}`;\n      }\n      return `${title} dropped in ${placeLineOf(target)}`;\n    },\n    onDragCancel({ active }) {\n      return `Moving ${titleOf(active.id)} was cancelled. It is back in ${currentPlaceOf(active.id)}`;\n    },\n  };\n\n  function focusLater(selector: string) {\n    requestAnimationFrame(() => {\n      const target = ref.current?.querySelector<HTMLElement>(selector);\n      target?.focus();\n    });\n  }\n\n  function startDrag({ active }: DragStartEvent) {\n    setDraggedId(String(active.id));\n  }\n\n  function endDrag({ active, over }: DragEndEvent) {\n    setDraggedId(null);\n    const target = targetOf(over?.id);\n    if (!target) {\n      return;\n    }\n    act({\n      type: 'moved',\n      id: String(active.id),\n      column: target.column,\n      lane: target.lane,\n      isDrop: true,\n    });\n  }\n\n  function cancelDrag() {\n    setDraggedId(null);\n  }\n\n  function changeView(view: View) {\n    act({ type: 'viewChanged', view });\n  }\n\n  function openComposer(column: ColumnId) {\n    act({ type: 'composerOpened', column });\n    focusLater(`[data-composer=\"${column}\"]`);\n  }\n\n  function closeComposer() {\n    const column = state.composerColumn;\n    act({ type: 'composerClosed' });\n    if (column) {\n      focusLater(`[data-add=\"${column}\"]`);\n    }\n  }\n\n  function typeComposer(value: string) {\n    act({ type: 'composerTyped', value });\n  }\n\n  function addCard() {\n    act({ type: 'cardAdded' });\n  }\n\n  return (\n    <ClockGate isActive={isInView}>\n      <div\n        ref={ref}\n        className='bg-background text-foreground @container min-h-dvh w-full'\n      >\n        <div className='mx-auto flex max-w-6xl flex-col gap-4 p-4 @3xl:gap-5 @3xl:p-6'>\n          <header className='flex flex-wrap items-center gap-x-3 gap-y-2'>\n            <div className='flex min-w-0 flex-1 basis-56 flex-col gap-0.5'>\n              <h1 className='text-lg font-semibold text-balance'>\n                {BOARD_NAME}\n              </h1>\n              <p className='text-muted-foreground text-xs tabular-nums'>\n                {meta}\n              </p>\n            </div>\n            <ReplayButton\n              isShown={canReplay}\n              onReplay={restart}\n              label='Replay'\n            />\n            <Segments\n              value={state.view}\n              segments={VIEWS}\n              label='Arrange the cards'\n              onValueChange={changeView}\n            />\n          </header>\n\n          <DndContext\n            id={dndId}\n            sensors={sensors}\n            collisionDetection={boardCollision}\n            accessibility={{\n              announcements,\n              screenReaderInstructions: INSTRUCTIONS,\n            }}\n            onDragStart={startDrag}\n            onDragEnd={endDrag}\n            onDragCancel={cancelDrag}\n          >\n            <div className='relative -mx-4 overflow-x-auto overscroll-x-contain px-4 pb-2 @3xl:mx-0 @3xl:px-0'>\n              <div\n                className={cn(\n                  'flex min-w-[44rem] flex-col',\n                  bodyGapOf(state.view)\n                )}\n              >\n                <ColumnHeaders cards={state.cards} view={state.view} />\n                <LayoutGroup id={groupId}>\n                  {isBoard && (\n                    <BoardColumns\n                      state={state}\n                      placement={placement}\n                      travel={travel}\n                      onOpenComposer={openComposer}\n                      onCloseComposer={closeComposer}\n                      onTypeComposer={typeComposer}\n                      onAddCard={addCard}\n                    />\n                  )}\n                  {isLanes && (\n                    <Swimlanes\n                      state={state}\n                      placement={placement}\n                      travel={travel}\n                    />\n                  )}\n                </LayoutGroup>\n              </div>\n            </div>\n            <DragOverlay dropAnimation={dropAnimationOf(shouldReduceMotion)}>\n              {draggedCard && <OverlayCard card={draggedCard} />}\n            </DragOverlay>\n          </DndContext>\n        </div>\n        <LiveRegion message={message} />\n      </div>\n    </ClockGate>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/blocks/boards-03/index.tsx"
    },
    {
      "path": "registry/ndeko/blocks/boards/boards-03/board-grid.tsx",
      "content": "'use client';\n\nimport { useDroppable } from '@dnd-kit/core';\nimport { AnimatePresence, motion, type Transition } from 'motion/react';\nimport { useId } from 'react';\n\nimport { MotionNumber } from '@/components/core/motion-number';\nimport { WordRoll } from '@/components/core/word-roll';\nimport { usePrefersReducedMotion } from '@/registry/ndeko/hooks/use-prefers-reduced-motion';\nimport { PlusIcon, TriangleAlertIcon } from '@/registry/ndeko/lib/icons';\nimport { fadePresence } from '@/registry/ndeko/lib/motion-presets';\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { Avatar } from '@/registry/ndeko/ui/avatar';\nimport { Input } from '@/registry/ndeko/ui/input';\nimport { Kbd } from '@/registry/ndeko/ui/kbd';\n\nimport { dropIdOf } from './board-dnd';\nimport {\n  COLUMNS,\n  TITLE_MAX_LENGTH,\n  type Card,\n  type Column,\n  type ColumnId,\n  type LaneId,\n} from './data';\nimport {\n  cardsIn,\n  cardsInCell,\n  cardsOfLane,\n  laneNameOf,\n  lanesOf,\n  overByOf,\n  type BoardState,\n  type View,\n} from './session';\nimport { TaskCard } from './task-card';\n\nconst ALERT_IN = {\n  initial: { opacity: 0, scale: 0.6 },\n  animate: { opacity: 1, scale: 1 },\n  exit: { opacity: 0, scale: 0.6 },\n};\n\nconst ALERT_FADE = {\n  initial: { opacity: 0 },\n  animate: { opacity: 1 },\n  exit: { opacity: 0 },\n};\n\nfunction alertMotionOf(shouldReduceMotion: boolean) {\n  if (shouldReduceMotion) {\n    return ALERT_FADE;\n  }\n  return ALERT_IN;\n}\n\nfunction cardsWordOf(count: number) {\n  if (count === 1) {\n    return '1 card';\n  }\n  return `${count} cards`;\n}\n\nfunction phraseOf(column: Column, count: number) {\n  const over = overByOf(column, count);\n  if (over > 0) {\n    return `Over by ${over}`;\n  }\n  return `${count} of ${column.limit}`;\n}\n\nfunction spokenCountOf(column: Column, count: number) {\n  const cards = cardsWordOf(count);\n  const over = overByOf(column, count);\n  if (over > 0) {\n    return `${cards}, over its limit of ${column.limit} by ${over}`;\n  }\n  return `${cards}, limit ${column.limit}`;\n}\n\n/** On the board the header caps its column; above the lanes it stands alone. */\nfunction headerShapeOf(view: View) {\n  if (view === 'board') {\n    return 'rounded-t-xl';\n  }\n  return 'rounded-xl';\n}\n\nfunction headerToneOf(isOver: boolean) {\n  if (isOver) {\n    return 'bg-warning/15';\n  }\n  return 'bg-foreground/[0.03]';\n}\n\nfunction countToneOf(isOver: boolean) {\n  if (isOver) {\n    return 'text-warning-foreground font-medium';\n  }\n  return 'text-muted-foreground';\n}\n\ntype ColumnHeaderProps = {\n  column: Column;\n  count: number;\n  view: View;\n};\n\n/** The signature of the board: past its limit, the header tints and its count rolls to Over by. */\nfunction ColumnHeader({ column, count, view }: ColumnHeaderProps) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n  const alertMotion = alertMotionOf(shouldReduceMotion);\n  const hasLimit = column.limit !== null;\n  const overBy = overByOf(column, count);\n  const isOver = overBy > 0;\n\n  return (\n    <div\n      className={cn(\n        'flex h-10 min-w-0 items-center gap-2 px-3 transition-colors duration-300 ease-(--ease-out-strong)',\n        headerShapeOf(view),\n        headerToneOf(isOver)\n      )}\n    >\n      <span\n        aria-hidden='true'\n        className={cn('size-2 shrink-0 rounded-full', column.dot)}\n      />\n      <h2 className='min-w-0 truncate text-[13px] font-medium'>\n        {column.name}\n      </h2>\n      <span\n        className={cn(\n          'ms-auto flex shrink-0 items-center gap-1 text-xs tabular-nums transition-colors duration-300',\n          countToneOf(isOver)\n        )}\n      >\n        <AnimatePresence initial={false}>\n          {isOver && (\n            <motion.span key='alert' className='flex' {...alertMotion}>\n              <TriangleAlertIcon className='size-3.5' />\n            </motion.span>\n          )}\n        </AnimatePresence>\n        {hasLimit && (\n          <WordRoll\n            text={phraseOf(column, count)}\n            value={count}\n            accessibleText={spokenCountOf(column, count)}\n          />\n        )}\n        {!hasLimit && (\n          <span>\n            <MotionNumber value={count} />\n            <span className='sr-only'> cards</span>\n          </span>\n        )}\n      </span>\n    </div>\n  );\n}\n\nfunction countIn(cards: Card[], column: ColumnId) {\n  const inColumn = cardsIn(cards, column);\n  return inColumn.length;\n}\n\nexport function ColumnHeaders({ cards, view }: { cards: Card[]; view: View }) {\n  return (\n    <div className='grid grid-cols-4 gap-3'>\n      {COLUMNS.map((column) => (\n        <ColumnHeader\n          key={column.id}\n          column={column}\n          count={countIn(cards, column.id)}\n          view={view}\n        />\n      ))}\n    </div>\n  );\n}\n\nfunction targetToneOf(isOver: boolean) {\n  if (isOver) {\n    return 'bg-primary/[0.06] ring-2 ring-primary/25';\n  }\n  return undefined;\n}\n\ntype DropAreaProps = {\n  id: string;\n  label: string;\n  className: string;\n  children: React.ReactNode;\n};\n\n/** A column or a cell takes a drop anywhere, even when it is empty. */\nfunction DropArea({ id, label, className, children }: DropAreaProps) {\n  const { setNodeRef, isOver } = useDroppable({ id });\n\n  return (\n    <div\n      ref={setNodeRef}\n      role='group'\n      aria-label={label}\n      className={cn(\n        'transition-[background-color,box-shadow] duration-150',\n        className,\n        targetToneOf(isOver)\n      )}\n    >\n      {children}\n    </div>\n  );\n}\n\ntype CardListProps = {\n  cards: Card[];\n  state: BoardState;\n  placement: string;\n  travel: Transition;\n};\n\nfunction CardList({ cards, state, placement, travel }: CardListProps) {\n  return (\n    <ul className='flex flex-col gap-2'>\n      {cards.map((card) => (\n        <li key={card.id}>\n          <TaskCard\n            card={card}\n            placement={placement}\n            travel={travel}\n            isFresh={state.freshId === card.id}\n          />\n        </li>\n      ))}\n    </ul>\n  );\n}\n\ntype QuickAddProps = {\n  column: Column;\n  isOpen: boolean;\n  text: string;\n  onOpen: (column: ColumnId) => void;\n  onClose: () => void;\n  onType: (value: string) => void;\n  onAdd: () => void;\n};\n\n/** Enter adds the card and keeps the field for the next one; Escape leaves. */\nfunction QuickAdd({\n  column,\n  isOpen,\n  text,\n  onOpen,\n  onClose,\n  onType,\n  onAdd,\n}: QuickAddProps) {\n  const hintId = useId();\n  const fade = fadePresence();\n\n  function submit(event: React.FormEvent<HTMLFormElement>) {\n    event.preventDefault();\n    onAdd();\n  }\n\n  function leaveOnEscape(event: React.KeyboardEvent<HTMLInputElement>) {\n    if (event.key !== 'Escape') {\n      return;\n    }\n    event.preventDefault();\n    onClose();\n  }\n\n  return (\n    <AnimatePresence mode='popLayout' initial={false}>\n      {isOpen && (\n        <motion.form\n          key='composer'\n          noValidate\n          onSubmit={submit}\n          className='flex flex-col gap-1.5'\n          {...fade}\n        >\n          <Input\n            size='sm'\n            data-composer={column.id}\n            value={text}\n            maxLength={TITLE_MAX_LENGTH}\n            autoComplete='off'\n            placeholder='Card title'\n            aria-label={`New card in ${column.name}`}\n            aria-describedby={hintId}\n            onKeyDown={leaveOnEscape}\n            onChange={(event) => onType(event.target.value)}\n          />\n          <p\n            id={hintId}\n            className='text-muted-foreground flex flex-wrap items-center gap-1 px-0.5 text-[11px]'\n          >\n            <Kbd>Enter</Kbd> adds <Kbd>Esc</Kbd> leaves\n          </p>\n        </motion.form>\n      )}\n      {!isOpen && (\n        <motion.div key='add' {...fade}>\n          <button\n            type='button'\n            data-add={column.id}\n            onClick={() => onOpen(column.id)}\n            className='text-muted-foreground hover:text-foreground hover:bg-foreground/5 focus-visible:ring-ring/25 flex h-8 w-full shrink-0 cursor-pointer items-center gap-2 rounded-md px-2 text-[13px] transition-colors duration-150 outline-none focus-visible:ring-[3px]'\n          >\n            <PlusIcon className='size-4' />\n            Add card\n          </button>\n        </motion.div>\n      )}\n    </AnimatePresence>\n  );\n}\n\ntype BoardColumnsProps = {\n  state: BoardState;\n  placement: string;\n  travel: Transition;\n  onOpenComposer: (column: ColumnId) => void;\n  onCloseComposer: () => void;\n  onTypeComposer: (value: string) => void;\n  onAddCard: () => void;\n};\n\nexport function BoardColumns({\n  state,\n  placement,\n  travel,\n  onOpenComposer,\n  onCloseComposer,\n  onTypeComposer,\n  onAddCard,\n}: BoardColumnsProps) {\n  return (\n    <div className='grid grid-cols-4 gap-3'>\n      {COLUMNS.map((column) => {\n        const cards = cardsIn(state.cards, column.id);\n        const isEmpty = cards.length === 0;\n\n        return (\n          <DropArea\n            key={column.id}\n            id={dropIdOf(column.id)}\n            label={column.name}\n            className='bg-foreground/[0.03] relative flex min-h-48 flex-col gap-2 rounded-b-xl p-2'\n          >\n            <CardList\n              cards={cards}\n              state={state}\n              placement={placement}\n              travel={travel}\n            />\n            {isEmpty && (\n              <p className='hairline-border border-foreground/20 text-muted-foreground flex h-16 items-center justify-center rounded-lg border-dashed px-3 text-center text-xs'>\n                Drop a card here\n              </p>\n            )}\n            <QuickAdd\n              column={column}\n              isOpen={state.composerColumn === column.id}\n              text={state.composerText}\n              onOpen={onOpenComposer}\n              onClose={onCloseComposer}\n              onType={onTypeComposer}\n              onAdd={onAddCard}\n            />\n          </DropArea>\n        );\n      })}\n    </div>\n  );\n}\n\nfunction laneCountOf(cards: Card[], lane: LaneId) {\n  const inLane = cardsOfLane(cards, lane);\n  return inLane.length;\n}\n\n/** Nobody holds these cards yet: an empty dashed seat, since no one is there. */\nfunction LaneMark({ lane }: { lane: LaneId }) {\n  if (lane === 'unassigned') {\n    return (\n      <span\n        aria-hidden='true'\n        className='border-foreground/25 size-5 shrink-0 rounded-full border border-dashed'\n      />\n    );\n  }\n  return <Avatar seed={laneNameOf(lane)} className='size-5' />;\n}\n\ntype SwimlanesProps = {\n  state: BoardState;\n  placement: string;\n  travel: Transition;\n};\n\n/** One lane per person: a card dropped in another lane changes hands. */\nexport function Swimlanes({ state, placement, travel }: SwimlanesProps) {\n  const lanes = lanesOf(state.cards);\n\n  return (\n    <div className='flex flex-col gap-4'>\n      {lanes.map((lane) => {\n        const laneName = laneNameOf(lane);\n        const laneCount = laneCountOf(state.cards, lane);\n\n        return (\n          <section\n            key={lane}\n            aria-label={laneName}\n            className='flex flex-col gap-2'\n          >\n            <h3 className='flex items-center gap-2 px-1 text-[13px] font-medium'>\n              <LaneMark lane={lane} />\n              {laneName}\n              <span className='text-muted-foreground text-xs font-normal tabular-nums'>\n                {cardsWordOf(laneCount)}\n              </span>\n            </h3>\n            <div className='grid grid-cols-4 gap-3'>\n              {COLUMNS.map((column) => (\n                <DropArea\n                  key={column.id}\n                  id={dropIdOf(column.id, lane)}\n                  label={`${column.name}, ${laneName}`}\n                  className='bg-foreground/[0.03] flex min-h-16 flex-col rounded-xl p-2'\n                >\n                  <CardList\n                    cards={cardsInCell(state.cards, column.id, lane)}\n                    state={state}\n                    placement={placement}\n                    travel={travel}\n                  />\n                </DropArea>\n              ))}\n            </div>\n          </section>\n        );\n      })}\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/blocks/boards-03/board-grid.tsx"
    },
    {
      "path": "registry/ndeko/blocks/boards/boards-03/task-card.tsx",
      "content": "'use client';\n\nimport { useDraggable } from '@dnd-kit/core';\nimport { motion, type Transition } from 'motion/react';\nimport { memo } from 'react';\n\nimport { usePrefersReducedMotion } from '@/registry/ndeko/hooks/use-prefers-reduced-motion';\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { Avatar } from '@/registry/ndeko/ui/avatar';\n\nimport type { Card } from './data';\nimport { columnOf, personOf } from './session';\n\nexport const CARD_SURFACE =\n  'bg-card hairline-ring ring-border rounded-lg shadow-[0_1px_2px_rgb(0_0_0/0.04)] dark:bg-foreground/[0.04]';\n\nconst ARRIVAL = { opacity: 0, y: 4 };\n\nconst ARRIVAL_FADE = { opacity: 0 };\n\nconst SHOWN = { opacity: 1, y: 0 };\n\nconst LIFT: Transition = { type: 'spring', bounce: 0, duration: 0.25 };\n\nconst INSTANT: Transition = { duration: 0 };\n\nfunction firstNameOf(name: string) {\n  const [first] = name.split(' ');\n  return first;\n}\n\nfunction holderOf(card: Card) {\n  const person = personOf(card.assignee);\n  if (person) {\n    return person.name;\n  }\n  return 'Unassigned';\n}\n\nexport function cardLabelOf(card: Card) {\n  const column = columnOf(card.column).name;\n  const holder = holderOf(card);\n  return `${card.number} ${card.title}, ${holder}, in ${column}`;\n}\n\n/** A card added here arrives once; every other card is already there, whatever the view. */\nfunction arrivalOf(isFresh: boolean, shouldReduceMotion: boolean) {\n  if (!isFresh) {\n    return false;\n  }\n  if (shouldReduceMotion) {\n    return ARRIVAL_FADE;\n  }\n  return ARRIVAL;\n}\n\ntype CardBodyProps = {\n  card: Card;\n};\n\n/** The content of a card. Memoised, so a drag re-renders only the thin wrapper around it. */\nexport const CardBody = memo(function CardBody({ card }: CardBodyProps) {\n  const person = personOf(card.assignee);\n  const holder = holderOf(card);\n  const firstName = firstNameOf(holder);\n\n  return (\n    <div className='flex flex-col gap-2 p-2.5'>\n      <p className='line-clamp-2 text-[13px] leading-snug font-medium text-pretty'>\n        {card.title}\n      </p>\n      <div className='flex items-center gap-2'>\n        <span className='text-muted-foreground font-mono text-[11px] tabular-nums'>\n          {card.number}\n        </span>\n        <span className='ms-auto flex min-w-0 items-center gap-1.5'>\n          {person && <Avatar seed={person.name} className='size-5' />}\n          {!person && (\n            <span\n              aria-hidden='true'\n              className='border-foreground/25 size-5 shrink-0 rounded-full border border-dashed'\n            />\n          )}\n          <span className='text-muted-foreground truncate text-xs'>\n            {firstName}\n          </span>\n        </span>\n      </div>\n    </div>\n  );\n});\n\ntype TaskCardProps = {\n  card: Card;\n  /** Where every card sits: the card measures itself again only when it changes. */\n  placement: string;\n  travel: Transition;\n  isFresh: boolean;\n};\n\n/**\n * A card keeps its layout id across columns, lanes and views, so it glides to its new place. A\n * card a person dropped takes a new one: it is already where it was let go.\n */\nexport function TaskCard({ card, placement, travel, isFresh }: TaskCardProps) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n  const { attributes, listeners, setNodeRef, isDragging } = useDraggable({\n    id: card.id,\n  });\n\n  return (\n    <motion.div\n      layout='position'\n      layoutId={`${card.id}:${card.drops}`}\n      layoutDependency={placement}\n      transition={{ layout: travel }}\n      initial={arrivalOf(isFresh, shouldReduceMotion)}\n      animate={SHOWN}\n    >\n      <div\n        ref={setNodeRef}\n        {...attributes}\n        {...listeners}\n        aria-label={cardLabelOf(card)}\n        className={cn(\n          CARD_SURFACE,\n          'focus-visible:ring-ring/25 cursor-grab touch-manipulation outline-none select-none focus-visible:ring-[3px] active:cursor-grabbing',\n          isDragging && 'opacity-40'\n        )}\n      >\n        <CardBody card={card} />\n      </div>\n    </motion.div>\n  );\n}\n\n/** The card under the pointer: lifted on a raised surface while it travels. */\nexport function OverlayCard({ card }: { card: Card }) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n  const lift = liftOf(shouldReduceMotion);\n\n  return (\n    <motion.div\n      initial={{ scale: 1 }}\n      animate={{ scale: lift.scale }}\n      transition={lift.transition}\n      className='surface-raised cursor-grabbing rounded-lg'\n    >\n      <CardBody card={card} />\n    </motion.div>\n  );\n}\n\nfunction liftOf(shouldReduceMotion: boolean) {\n  if (shouldReduceMotion) {\n    return { scale: 1, transition: INSTANT };\n  }\n  return { scale: 1.02, transition: LIFT };\n}\n",
      "type": "registry:component",
      "target": "components/blocks/boards-03/task-card.tsx"
    },
    {
      "path": "registry/ndeko/blocks/boards/boards-03/board-dnd.ts",
      "content": "import {\n  pointerWithin,\n  rectIntersection,\n  type ClientRect,\n  type CollisionDetection,\n  type KeyboardCoordinateGetter,\n  type UniqueIdentifier,\n} from '@dnd-kit/core';\n\nimport { COLUMNS, PEOPLE, type ColumnId, type LaneId } from './data';\n\ntype Direction = 'up' | 'down' | 'left' | 'right';\n\ntype Point = { x: number; y: number };\n\ntype Choice = { rect: ClientRect; cost: number };\n\nexport type DropTarget = { column: ColumnId; lane?: LaneId };\n\nconst DIRECTION_OF_KEY: Partial<Record<string, Direction>> = {\n  ArrowUp: 'up',\n  ArrowDown: 'down',\n  ArrowLeft: 'left',\n  ArrowRight: 'right',\n};\n\n/** A move across rows or columns costs this much more than a move along them. */\nconst ACROSS_WEIGHT = 3;\n\n/** The dragged card lands this far inside the top of the place it goes to. */\nconst LANDING_INSET_PX = 8;\n\nconst LANE_SEPARATOR = '/';\n\nexport function dropIdOf(column: ColumnId, lane?: LaneId) {\n  if (lane === undefined) {\n    return column;\n  }\n  return `${lane}${LANE_SEPARATOR}${column}`;\n}\n\nfunction columnIdOf(value: string) {\n  const column = COLUMNS.find((candidate) => candidate.id === value);\n  return column?.id;\n}\n\nfunction laneIdOf(value: string): LaneId | undefined {\n  if (value === 'unassigned') {\n    return 'unassigned';\n  }\n  const person = PEOPLE.find((candidate) => candidate.id === value);\n  return person?.id;\n}\n\nexport function targetOf(id: UniqueIdentifier | undefined): DropTarget | null {\n  if (id === undefined) {\n    return null;\n  }\n  const parts = String(id).split(LANE_SEPARATOR);\n  if (parts.length === 1) {\n    const column = columnIdOf(parts[0]);\n    if (!column) {\n      return null;\n    }\n    return { column };\n  }\n  const lane = laneIdOf(parts[0]);\n  const column = columnIdOf(parts[1]);\n  if (!lane || !column) {\n    return null;\n  }\n  return { column, lane };\n}\n\n/** A pointer drops where it is; the keyboard, which has none, drops where the card overlaps most. */\nexport const boardCollision: CollisionDetection = (args) => {\n  if (args.pointerCoordinates) {\n    return pointerWithin(args);\n  }\n  return rectIntersection(args);\n};\n\nfunction centerOf(rect: ClientRect): Point {\n  const halfWidth = rect.width / 2;\n  const halfHeight = rect.height / 2;\n  const x = rect.left + halfWidth;\n  const y = rect.top + halfHeight;\n  return { x, y };\n}\n\nfunction isAhead(direction: Direction, from: Point, to: Point) {\n  const dx = to.x - from.x;\n  const dy = to.y - from.y;\n  if (direction === 'right') {\n    return dx > 1;\n  }\n  if (direction === 'left') {\n    return dx < -1;\n  }\n  if (direction === 'down') {\n    return dy > 1;\n  }\n  return dy < -1;\n}\n\nfunction costOf(direction: Direction, from: Point, to: Point) {\n  const dx = to.x - from.x;\n  const dy = to.y - from.y;\n  const width = Math.abs(dx);\n  const height = Math.abs(dy);\n  const isHorizontal = direction === 'left' || direction === 'right';\n  if (isHorizontal) {\n    const sideways = height * ACROSS_WEIGHT;\n    return width + sideways;\n  }\n  const sideways = width * ACROSS_WEIGHT;\n  return height + sideways;\n}\n\nfunction cheaperOf(best: Choice | null, candidate: Choice) {\n  if (best === null) {\n    return candidate;\n  }\n  if (candidate.cost < best.cost) {\n    return candidate;\n  }\n  return best;\n}\n\nfunction landingOf(target: ClientRect, dragged: ClientRect) {\n  const spare = target.width - dragged.width;\n  const offset = spare / 2;\n  const x = target.left + offset;\n  const y = target.top + LANDING_INSET_PX;\n  return { x, y };\n}\n\n/**\n * The arrows move a picked card from place to place: a column on the board, a cell of the\n * swimlanes. Each press goes to the nearest place in that direction.\n */\nexport const boardKeyboardCoordinates: KeyboardCoordinateGetter = (\n  event,\n  { context }\n) => {\n  const direction = DIRECTION_OF_KEY[event.code];\n  if (!direction) {\n    return undefined;\n  }\n  event.preventDefault();\n  const { collisionRect, droppableRects, droppableContainers, over } = context;\n  if (!collisionRect) {\n    return undefined;\n  }\n  const fromRect = over?.rect ?? collisionRect;\n  const from = centerOf(fromRect);\n  let best: Choice | null = null;\n  for (const container of droppableContainers.getEnabled()) {\n    const rect = droppableRects.get(container.id);\n    if (!rect) {\n      continue;\n    }\n    const to = centerOf(rect);\n    if (!isAhead(direction, from, to)) {\n      continue;\n    }\n    const cost = costOf(direction, from, to);\n    best = cheaperOf(best, { rect, cost });\n  }\n  if (!best) {\n    return undefined;\n  }\n  return landingOf(best.rect, collisionRect);\n};\n",
      "type": "registry:component",
      "target": "components/blocks/boards-03/board-dnd.ts"
    },
    {
      "path": "registry/ndeko/blocks/boards/boards-03/session.ts",
      "content": "import type { SessionStep } from '@/registry/ndeko/hooks/use-session';\n\nimport {\n  CARD_PREFIX,\n  CARDS,\n  COLUMNS,\n  PEOPLE,\n  type Card,\n  type Column,\n  type ColumnId,\n  type LaneId,\n  type PersonId,\n} from './data';\n\nexport type View = 'board' | 'lanes';\n\nexport type BoardState = {\n  /** In the order they show in their column: a card that moves goes to the end, or to the place it is given. */\n  cards: Card[];\n  view: View;\n  composerColumn: ColumnId | null;\n  composerText: string;\n  /** The card just added: it fades in once, in the view it was added in. */\n  freshId: string | null;\n  nextNumber: number;\n  spoken: string;\n};\n\nexport type BoardAction =\n  | {\n      type: 'moved';\n      id: string;\n      column: ColumnId;\n      /** The lane it was dropped in; left out, the card keeps its person. */\n      lane?: LaneId;\n      /** Its place among the cards of the column; left out, it goes last. */\n      index?: number;\n      isDrop: boolean;\n    }\n  | { type: 'viewChanged'; view: View }\n  | { type: 'composerOpened'; column: ColumnId }\n  | { type: 'composerClosed' }\n  | { type: 'composerTyped'; value: string }\n  | { type: 'cardAdded' };\n\ntype Step = SessionStep<BoardState, BoardAction>;\n\nfunction highestNumberOf(cards: Card[]) {\n  let highest = 0;\n  for (const card of cards) {\n    const digits = card.number.replace(/\\D/g, '');\n    const value = Number(digits);\n    highest = Math.max(highest, value);\n  }\n  return highest;\n}\n\nexport const INITIAL: BoardState = {\n  cards: CARDS,\n  view: 'board',\n  composerColumn: null,\n  composerText: '',\n  freshId: null,\n  nextNumber: highestNumberOf(CARDS) + 1,\n  spoken: '',\n};\n\nexport function columnOf(id: ColumnId) {\n  const column = COLUMNS.find((candidate) => candidate.id === id);\n  return column ?? COLUMNS[0];\n}\n\nexport function personOf(id: PersonId | null) {\n  return PEOPLE.find((person) => person.id === id);\n}\n\nexport function laneNameOf(lane: LaneId) {\n  if (lane === 'unassigned') {\n    return 'Unassigned';\n  }\n  const person = personOf(lane);\n  if (person) {\n    return person.name;\n  }\n  return lane;\n}\n\nfunction isInLane(card: Card, lane: LaneId) {\n  if (lane === 'unassigned') {\n    return card.assignee === null;\n  }\n  return card.assignee === lane;\n}\n\nexport function cardsIn(cards: Card[], column: ColumnId) {\n  return cards.filter((card) => card.column === column);\n}\n\nexport function cardsInCell(cards: Card[], column: ColumnId, lane: LaneId) {\n  const inColumn = cardsIn(cards, column);\n  return inColumn.filter((card) => isInLane(card, lane));\n}\n\nexport function cardsOfLane(cards: Card[], lane: LaneId) {\n  return cards.filter((card) => isInLane(card, lane));\n}\n\n/** One lane per person, and one for the cards nobody holds, only while there are some. */\nexport function lanesOf(cards: Card[]): LaneId[] {\n  const people: LaneId[] = PEOPLE.map((person) => person.id);\n  const hasUnassigned = cards.some((card) => card.assignee === null);\n  if (hasUnassigned) {\n    return [...people, 'unassigned'];\n  }\n  return people;\n}\n\nexport function overByOf(column: Column, count: number) {\n  if (column.limit === null) {\n    return 0;\n  }\n  const extra = count - column.limit;\n  return Math.max(extra, 0);\n}\n\n/** Where every card sits and how the board is arranged: cards measure themselves again only when it changes. */\nexport function placementOf(state: BoardState) {\n  const places = state.cards.map(\n    (card) => `${card.id}:${card.column}:${card.assignee}:${card.drops}`\n  );\n  places.push(state.view);\n  return places.join(' ');\n}\n\nfunction overByIn(cards: Card[], id: ColumnId) {\n  const column = columnOf(id);\n  const count = cardsIn(cards, id).length;\n  return overByOf(column, count);\n}\n\n/** What a move changes about the limits, said once: over a limit, or back within it. */\nfunction limitNoteOf(\n  before: Card[],\n  after: Card[],\n  from: ColumnId | null,\n  to: ColumnId\n) {\n  const toBefore = overByIn(before, to);\n  const toAfter = overByIn(after, to);\n  if (toAfter > toBefore) {\n    const toName = columnOf(to).name;\n    return `${toName} is over its limit by ${toAfter}`;\n  }\n  if (from === null) {\n    return '';\n  }\n  const fromBefore = overByIn(before, from);\n  const fromAfter = overByIn(after, from);\n  const isBackWithin = fromBefore > 0 && fromAfter === 0;\n  if (isBackWithin) {\n    const fromName = columnOf(from).name;\n    return `${fromName} is back within its limit`;\n  }\n  return '';\n}\n\nfunction assigneeAfterOf(card: Card, lane: LaneId | undefined) {\n  if (lane === undefined) {\n    return card.assignee;\n  }\n  if (lane === 'unassigned') {\n    return null;\n  }\n  return lane;\n}\n\n/** Puts the card before the card that holds its place in the column, or after the last one. */\nfunction placedAmong(others: Card[], card: Card, index: number | undefined) {\n  if (index === undefined) {\n    return [...others, card];\n  }\n  const column = cardsIn(others, card.column);\n  const holder = column[index];\n  if (!holder) {\n    return [...others, card];\n  }\n  const at = others.indexOf(holder);\n  return [...others.slice(0, at), card, ...others.slice(at)];\n}\n\ntype Move = Extract<BoardAction, { type: 'moved' }>;\n\nfunction moved(state: BoardState, action: Move): BoardState {\n  const card = state.cards.find((candidate) => candidate.id === action.id);\n  if (!card) {\n    return state;\n  }\n  const assignee = assigneeAfterOf(card, action.lane);\n  const isSameColumn = card.column === action.column;\n  const isSamePerson = card.assignee === assignee;\n  if (isSameColumn && isSamePerson) {\n    return state;\n  }\n  let drops = card.drops;\n  if (action.isDrop) {\n    drops += 1;\n  }\n  const next: Card = { ...card, column: action.column, assignee, drops };\n  const others = state.cards.filter((candidate) => candidate.id !== card.id);\n  const cards = placedAmong(others, next, action.index);\n  const spoken = limitNoteOf(state.cards, cards, card.column, action.column);\n  return { ...state, cards, freshId: null, spoken };\n}\n\nfunction viewLineOf(view: View) {\n  if (view === 'lanes') {\n    return 'Cards grouped by person';\n  }\n  return 'All cards on one board';\n}\n\nfunction withNoteOf(line: string, note: string) {\n  if (note === '') {\n    return line;\n  }\n  return `${line}. ${note}`;\n}\n\nfunction cardAdded(state: BoardState): BoardState {\n  const column = state.composerColumn;\n  const title = state.composerText.trim();\n  const isEmpty = title === '';\n  if (!column || isEmpty) {\n    return state;\n  }\n  const number = state.nextNumber;\n  const card: Card = {\n    id: `tw-${number}`,\n    number: `${CARD_PREFIX}-${number}`,\n    title,\n    column,\n    assignee: null,\n    drops: 0,\n  };\n  const cards = [...state.cards, card];\n  const note = limitNoteOf(state.cards, cards, null, column);\n  const columnName = columnOf(column).name;\n  const added = `${title} added to ${columnName}`;\n  const spoken = withNoteOf(added, note);\n  return {\n    ...state,\n    cards,\n    composerText: '',\n    freshId: card.id,\n    nextNumber: number + 1,\n    spoken,\n  };\n}\n\nexport function reducer(state: BoardState, action: BoardAction): BoardState {\n  switch (action.type) {\n    case 'moved':\n      return moved(state, action);\n    case 'viewChanged':\n      return {\n        ...state,\n        view: action.view,\n        composerColumn: null,\n        freshId: null,\n        spoken: viewLineOf(action.view),\n      };\n    case 'composerOpened':\n      return { ...state, composerColumn: action.column, composerText: '' };\n    case 'composerClosed':\n      return { ...state, composerColumn: null, composerText: '' };\n    case 'composerTyped':\n      return { ...state, composerText: action.value };\n    case 'cardAdded':\n      return cardAdded(state);\n  }\n}\n\nconst OVER_THE_LIMIT: Step = {\n  after: 1500,\n  by: 'demo',\n  action: { type: 'moved', id: 'tw-131', column: 'doing', isDrop: false },\n};\n\n/**\n * A card goes into In progress, one more than its limit, and the header answers; it comes back\n * to the top of Todo, then the cards gather by person and spread back onto one board.\n */\nexport const SCRIPT: Step[] = [\n  OVER_THE_LIMIT,\n  {\n    after: 2600,\n    by: 'demo',\n    action: {\n      type: 'moved',\n      id: 'tw-131',\n      column: 'todo',\n      index: 0,\n      isDrop: false,\n    },\n  },\n  {\n    after: 1500,\n    by: 'demo',\n    action: { type: 'viewChanged', view: 'lanes' },\n  },\n  {\n    after: 3200,\n    by: 'demo',\n    action: { type: 'viewChanged', view: 'board' },\n  },\n];\n\n/** Under reduced motion In progress rests over its limit, its header saying so. */\nexport const RESTING: BoardState = {\n  ...reducer(INITIAL, OVER_THE_LIMIT.action),\n  spoken: '',\n};\n\nexport const LOOP_AFTER_MS = 2200;\n",
      "type": "registry:component",
      "target": "components/blocks/boards-03/session.ts"
    },
    {
      "path": "registry/ndeko/blocks/boards/boards-03/data.ts",
      "content": "export type ColumnId = 'todo' | 'doing' | 'review' | 'done';\n\nexport type PersonId = 'amara' | 'lucas' | 'priya';\n\n/** A lane of the swimlanes: a person, or the cards nobody holds yet. */\nexport type LaneId = PersonId | 'unassigned';\n\nexport type Column = {\n  id: ColumnId;\n  name: string;\n  /** How many cards the column should hold at most, or null when it has no limit. */\n  limit: number | null;\n  /** The dot before the name: what the column means, never how full it is. */\n  dot: string;\n};\n\nexport type Person = {\n  id: PersonId;\n  name: string;\n};\n\nexport type Card = {\n  id: string;\n  number: string;\n  title: string;\n  column: ColumnId;\n  assignee: PersonId | null;\n  /** Counts the drops: a dropped card lands where it was let go, it does not travel from its column. */\n  drops: number;\n};\n\nexport const BOARD_NAME = 'Product board';\n\nexport const CARD_PREFIX = 'TW';\n\nexport const TITLE_MAX_LENGTH = 80;\n\nexport const COLUMNS: Column[] = [\n  { id: 'todo', name: 'Todo', limit: null, dot: 'bg-muted-foreground' },\n  { id: 'doing', name: 'In progress', limit: 3, dot: 'bg-info' },\n  { id: 'review', name: 'In review', limit: 2, dot: 'bg-primary' },\n  { id: 'done', name: 'Done', limit: null, dot: 'bg-success' },\n];\n\nexport const PEOPLE: Person[] = [\n  { id: 'amara', name: 'Amara Okafor' },\n  { id: 'lucas', name: 'Lucas Moreau' },\n  { id: 'priya', name: 'Priya Raman' },\n];\n\nexport const CARDS: Card[] = [\n  {\n    id: 'tw-131',\n    number: 'TW-131',\n    title: 'Write the release notes for 2.4',\n    column: 'todo',\n    assignee: 'priya',\n    drops: 0,\n  },\n  {\n    id: 'tw-129',\n    number: 'TW-129',\n    title: 'Fix the focus ring of the date picker',\n    column: 'todo',\n    assignee: 'lucas',\n    drops: 0,\n  },\n  {\n    id: 'tw-127',\n    number: 'TW-127',\n    title: 'Interview two pilot teams about planning',\n    column: 'todo',\n    assignee: 'amara',\n    drops: 0,\n  },\n  {\n    id: 'tw-124',\n    number: 'TW-124',\n    title: 'Export timesheets as CSV',\n    column: 'doing',\n    assignee: 'lucas',\n    drops: 0,\n  },\n  {\n    id: 'tw-122',\n    number: 'TW-122',\n    title: 'Redraw the onboarding checklist for phones',\n    column: 'doing',\n    assignee: 'amara',\n    drops: 0,\n  },\n  {\n    id: 'tw-121',\n    number: 'TW-121',\n    title: 'Paginate the invoices endpoint',\n    column: 'doing',\n    assignee: 'priya',\n    drops: 0,\n  },\n  {\n    id: 'tw-118',\n    number: 'TW-118',\n    title: 'Empty state for a project without tasks',\n    column: 'review',\n    assignee: 'amara',\n    drops: 0,\n  },\n  {\n    id: 'tw-115',\n    number: 'TW-115',\n    title: 'Audit the contrast of the status chips',\n    column: 'done',\n    assignee: 'priya',\n    drops: 0,\n  },\n  {\n    id: 'tw-112',\n    number: 'TW-112',\n    title: 'Plan the reports beta with two customers',\n    column: 'done',\n    assignee: 'lucas',\n    drops: 0,\n  },\n];\n",
      "type": "registry:component",
      "target": "components/blocks/boards-03/data.ts"
    }
  ],
  "categories": [
    "blocks",
    "boards"
  ],
  "type": "registry:block"
}