{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "subtask-07",
  "title": "Convert a note line",
  "description": "A note line that travels into the sub-task list and takes a task number when you convert it",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/avatar.json",
    "https://ui.ndekocode.dev/r/icons.json",
    "https://ui.ndekocode.dev/r/theme.json",
    "https://ui.ndekocode.dev/r/use-prefers-reduced-motion.json",
    "https://ui.ndekocode.dev/r/utils.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/components/subtask/subtask-07.tsx",
      "content": "'use client';\n\nimport {\n  AnimatePresence,\n  LayoutGroup,\n  motion,\n  type Transition,\n} from 'motion/react';\nimport { useEffect, useRef, useState } from 'react';\n\nimport { usePrefersReducedMotion } from '@/registry/ndeko/hooks/use-prefers-reduced-motion';\nimport { ArrowRightToLineIcon } from '@/registry/ndeko/lib/icons';\n\nimport { RollingCount } from './_parts/motion-parts';\nimport { keyOf } from './_parts/subtask-data';\nimport { StatusGlyph } from './_parts/subtask-parts';\n\ntype NoteLine = {\n  id: string;\n  text: string;\n};\n\ntype ConvertedLine = NoteLine & {\n  number: number;\n};\n\nconst NOTES: NoteLine[] = [\n  { id: 'n1', text: 'Finance wants the invoice number as the first column' },\n  { id: 'n2', text: 'Amounts keep two decimals, with a dot' },\n  { id: 'n3', text: 'Empty exports still download a header row' },\n  { id: 'n4', text: 'Name the file after the date range' },\n];\n\nconst FIRST_NUMBER = 231;\n\nconst TRAVEL: Transition = { type: 'spring', bounce: 0, duration: 0.35 };\n\nconst INSTANT: Transition = { duration: 0 };\n\nfunction travelOf(shouldReduceMotion: boolean | null) {\n  if (shouldReduceMotion) {\n    return INSTANT;\n  }\n  return TRAVEL;\n}\n\nfunction layoutIdOf(line: NoteLine, shouldReduceMotion: boolean | null) {\n  if (shouldReduceMotion) {\n    return undefined;\n  }\n  return `line-${line.id}`;\n}\n\nfunction NoteRow({\n  line,\n  onConvert,\n}: {\n  line: NoteLine;\n  onConvert: (isFromKeyboard: boolean) => void;\n}) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n\n  return (\n    <motion.li\n      layout='position'\n      layoutId={layoutIdOf(line, shouldReduceMotion)}\n      transition={travelOf(shouldReduceMotion)}\n      className='group/row hover:bg-foreground/[0.03] flex min-h-9 items-center gap-3 rounded-lg ps-2.5 pe-1'\n    >\n      <span\n        aria-hidden='true'\n        className='bg-foreground/30 size-1 shrink-0 rounded-full'\n      />\n      <span className='min-w-0 flex-1 text-[13px] leading-5'>{line.text}</span>\n      <button\n        type='button'\n        onClick={(event) => onConvert(event.detail === 0)}\n        aria-label={`Make \"${line.text}\" a sub-task`}\n        className='text-muted-foreground hover:bg-foreground/5 hover:text-foreground focus-visible:ring-ring/25 inline-flex h-7 shrink-0 cursor-pointer items-center gap-1.5 rounded-md px-2 text-xs font-medium opacity-0 transition-[opacity,background-color,color] outline-none group-focus-within/row:opacity-100 group-hover/row:opacity-100 focus-visible:ring-[3px] pointer-coarse:opacity-100'\n      >\n        <ArrowRightToLineIcon className='size-3.5 rotate-90' />\n        Sub-task\n      </button>\n    </motion.li>\n  );\n}\n\nfunction SubtaskRow({ line }: { line: ConvertedLine }) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n\n  return (\n    <motion.li\n      layout='position'\n      layoutId={layoutIdOf(line, shouldReduceMotion)}\n      transition={travelOf(shouldReduceMotion)}\n      className='flex min-h-9 items-center gap-3 rounded-lg px-2.5'\n    >\n      <StatusGlyph status='todo' />\n      <span className='text-muted-foreground w-16 shrink-0 text-xs tabular-nums'>\n        {keyOf(line.number)}\n      </span>\n      <span className='min-w-0 flex-1 text-[13px] leading-5'>{line.text}</span>\n    </motion.li>\n  );\n}\n\nexport default function Subtask07() {\n  const shouldReduceMotion = usePrefersReducedMotion();\n  const [notes, setNotes] = useState(NOTES);\n  const [converted, setConverted] = useState<ConvertedLine[]>([]);\n  const [announcement, setAnnouncement] = useState('');\n  const [focusIndex, setFocusIndex] = useState<number | null>(null);\n  const notesRef = useRef<HTMLUListElement>(null);\n  const hasNotes = notes.length > 0;\n  const hasConverted = converted.length > 0;\n\n  useEffect(() => {\n    if (focusIndex === null) {\n      return;\n    }\n    const buttons = notesRef.current?.querySelectorAll('button');\n    if (!buttons) {\n      return;\n    }\n    const lastIndex = buttons.length - 1;\n    const target = buttons[Math.min(focusIndex, lastIndex)];\n    target?.focus();\n  }, [focusIndex, notes]);\n\n  function convert(line: NoteLine, isFromKeyboard: boolean) {\n    const number = FIRST_NUMBER + converted.length;\n    if (isFromKeyboard) {\n      const index = notes.findIndex((item) => item.id === line.id);\n      setFocusIndex(index);\n    }\n    setNotes((current) => current.filter((item) => item.id !== line.id));\n    setConverted((current) => [...current, { ...line, number }]);\n    setAnnouncement(`${line.text} is now sub-task ${keyOf(number)}`);\n  }\n\n  return (\n    <LayoutGroup>\n      <section aria-label='Notes and sub-tasks' className='w-full max-w-md'>\n        <motion.h3\n          layout='position'\n          transition={travelOf(shouldReduceMotion)}\n          className='px-2.5 text-sm font-medium'\n        >\n          Notes\n        </motion.h3>\n        <ul ref={notesRef} className='mt-1.5'>\n          {notes.map((line) => (\n            <NoteRow\n              key={line.id}\n              line={line}\n              onConvert={(isFromKeyboard) => convert(line, isFromKeyboard)}\n            />\n          ))}\n        </ul>\n        <AnimatePresence initial={false}>\n          {!hasNotes && (\n            <motion.p\n              layout='position'\n              initial={{ opacity: 0 }}\n              animate={{ opacity: 1 }}\n              exit={{ opacity: 0 }}\n              className='text-muted-foreground px-2.5 py-2 text-[13px]'\n            >\n              Every note is a sub-task now\n            </motion.p>\n          )}\n        </AnimatePresence>\n        <motion.div\n          layout='position'\n          transition={travelOf(shouldReduceMotion)}\n          className='mt-5 flex items-baseline justify-between gap-3 px-2.5'\n        >\n          <h3 className='text-sm font-medium'>Sub-tasks</h3>\n          <span className='text-muted-foreground text-xs'>\n            <RollingCount value={converted.length} /> created from notes\n          </span>\n        </motion.div>\n        <ul className='mt-1.5'>\n          {converted.map((line) => (\n            <SubtaskRow key={line.id} line={line} />\n          ))}\n        </ul>\n        {!hasConverted && (\n          <p className='hairline-border border-foreground/20 text-muted-foreground mt-1.5 rounded-lg border-dashed px-3 py-2.5 text-[13px]'>\n            Turn a note into a sub-task with the button on its line\n          </p>\n        )}\n        <p aria-live='polite' className='sr-only'>\n          {announcement}\n        </p>\n      </section>\n    </LayoutGroup>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/subtask/subtask-07.tsx"
    },
    {
      "path": "registry/ndeko/components/subtask/_parts/motion-parts.tsx",
      "content": "'use client';\n\nimport {\n  AnimatePresence,\n  motion,\n  type MotionProps,\n  type Transition,\n  type Variants,\n} from 'motion/react';\nimport { useState } from 'react';\n\nimport { usePrefersReducedMotion } from '@/registry/ndeko/hooks/use-prefers-reduced-motion';\nimport { cn } from '@/registry/ndeko/lib/utils';\n\nexport const EASE_OUT_STRONG: [number, number, number, number] = [\n  0.23, 1, 0.32, 1,\n];\n\nexport const ENTER: Transition = { duration: 0.2, ease: EASE_OUT_STRONG };\n\nexport const EXIT: Transition = { duration: 0.15, ease: EASE_OUT_STRONG };\n\nexport type PresenceProps = Pick<\n  MotionProps,\n  'initial' | 'animate' | 'exit' | 'transition'\n>;\n\nconst HEIGHT_PRESENCE: PresenceProps = {\n  initial: { height: 0, opacity: 0 },\n  animate: { height: 'auto', opacity: 1 },\n  exit: { height: 0, opacity: 0, transition: EXIT },\n  transition: ENTER,\n};\n\nconst FADE_PRESENCE: PresenceProps = {\n  initial: { opacity: 0 },\n  animate: { opacity: 1 },\n  exit: { opacity: 0, transition: EXIT },\n  transition: ENTER,\n};\n\n/** Rows that arrive or leave a list: their height opens and closes so the rows after them slide. */\nexport function heightPresenceOf(shouldReduceMotion: boolean | null) {\n  if (shouldReduceMotion) {\n    return FADE_PRESENCE;\n  }\n  return HEIGHT_PRESENCE;\n}\n\nconst SWAP_TRANSITION: Transition = { duration: 0.15, ease: EASE_OUT_STRONG };\n\nconst SWAP_VARIANTS: Variants = {\n  hidden: { opacity: 0, scale: 0.6, filter: 'blur(2px)' },\n  shown: { opacity: 1, scale: 1, filter: 'blur(0px)' },\n};\n\nconst FADE_VARIANTS: Variants = {\n  hidden: { opacity: 0 },\n  shown: { opacity: 1 },\n};\n\nfunction swapVariantsOf(shouldReduceMotion: boolean | null) {\n  if (shouldReduceMotion) {\n    return FADE_VARIANTS;\n  }\n  return SWAP_VARIANTS;\n}\n\ntype SwapProps = {\n  swapKey: string;\n  children: React.ReactNode;\n  className?: string;\n};\n\n/** An icon or a short label that becomes another one in place. */\nexport function Swap({ swapKey, children, className }: SwapProps) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n\n  return (\n    <span className={cn('relative inline-flex', className)}>\n      <AnimatePresence mode='popLayout' initial={false}>\n        <motion.span\n          key={swapKey}\n          variants={swapVariantsOf(shouldReduceMotion)}\n          initial='hidden'\n          animate='shown'\n          exit='hidden'\n          transition={SWAP_TRANSITION}\n          className='inline-flex'\n        >\n          {children}\n        </motion.span>\n      </AnimatePresence>\n    </span>\n  );\n}\n\nconst COUNT_SLIDE = 8;\n\nconst COUNT_TRANSITION: Transition = { duration: 0.18, ease: EASE_OUT_STRONG };\n\nconst COUNT_VARIANTS: Variants = {\n  enter: (offset: number) => ({ y: offset, opacity: 0 }),\n  center: { y: 0, opacity: 1 },\n  leave: (offset: number) => ({ y: -offset, opacity: 0 }),\n};\n\nfunction directionOf(previous: number, next: number) {\n  if (next < previous) {\n    return -1;\n  }\n  return 1;\n}\n\nfunction offsetOf(direction: number, shouldReduceMotion: boolean | null) {\n  if (shouldReduceMotion) {\n    return 0;\n  }\n  return direction * COUNT_SLIDE;\n}\n\ntype RollingCountProps = {\n  value: number;\n  /** Writes the value, such as a duration; the digits still roll on the number. */\n  format?: (value: number) => string;\n  className?: string;\n};\n\nfunction plainNumber(value: number) {\n  return String(value);\n}\n\n/** A figure the person just changed: the new digits slide in from the side of the change. */\nexport function RollingCount({\n  value,\n  format = plainNumber,\n  className,\n}: RollingCountProps) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n  const [previous, setPrevious] = useState(value);\n  const [direction, setDirection] = useState(1);\n\n  if (previous !== value) {\n    setDirection(directionOf(previous, value));\n    setPrevious(value);\n  }\n\n  const offset = offsetOf(direction, shouldReduceMotion);\n\n  return (\n    <span\n      className={cn(\n        'relative inline-flex overflow-hidden tabular-nums',\n        className\n      )}\n    >\n      <AnimatePresence mode='popLayout' initial={false} custom={offset}>\n        <motion.span\n          key={value}\n          custom={offset}\n          variants={COUNT_VARIANTS}\n          initial='enter'\n          animate='center'\n          exit='leave'\n          transition={COUNT_TRANSITION}\n          className='inline-block'\n        >\n          {format(value)}\n        </motion.span>\n      </AnimatePresence>\n    </span>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/subtask/_parts/motion-parts.tsx"
    },
    {
      "path": "registry/ndeko/components/subtask/_parts/people.ts",
      "content": "export type Person = {\n  id: string;\n  name: string;\n  firstName: string;\n};\n\nexport const CURRENT_USER_ID = 'amara';\n\nexport const PEOPLE: Person[] = [\n  {\n    id: 'amara',\n    name: 'Amara Okafor',\n    firstName: 'Amara',\n  },\n  {\n    id: 'leo',\n    name: 'Léo Martin',\n    firstName: 'Léo',\n  },\n  {\n    id: 'sana',\n    name: 'Sana Iqbal',\n    firstName: 'Sana',\n  },\n  {\n    id: 'tomas',\n    name: 'Tomás Rivera',\n    firstName: 'Tomás',\n  },\n  {\n    id: 'mei',\n    name: 'Mei Lin',\n    firstName: 'Mei',\n  },\n  {\n    id: 'jonah',\n    name: 'Jonah Brandt',\n    firstName: 'Jonah',\n  },\n];\n\nexport function personOf(id: string) {\n  const found = PEOPLE.find((person) => person.id === id);\n  if (found) {\n    return found;\n  }\n  return PEOPLE[0];\n}\n\nexport function isCurrentUser(id: string) {\n  return id === CURRENT_USER_ID;\n}\n\nexport function actorNameOf(id: string) {\n  if (isCurrentUser(id)) {\n    return 'You';\n  }\n  return personOf(id).name;\n}\n",
      "type": "registry:component",
      "target": "components/subtask/_parts/people.ts"
    },
    {
      "path": "registry/ndeko/components/subtask/_parts/subtask-data.ts",
      "content": "import type { StatusId } from './subtask-parts';\n\nexport type Subtask = {\n  id: string;\n  number: number;\n  title: string;\n  status: StatusId;\n  assigneeId?: string;\n};\n\nexport const TEAM_KEY = 'MOS';\n\nexport const SUBTASKS: Subtask[] = [\n  {\n    id: 'mos-215',\n    number: 215,\n    title: 'Pick the columns finance needs',\n    status: 'done',\n    assigneeId: 'leo',\n  },\n  {\n    id: 'mos-216',\n    number: 216,\n    title: 'Write the CSV writer with escaped fields',\n    status: 'done',\n    assigneeId: 'leo',\n  },\n  {\n    id: 'mos-218',\n    number: 218,\n    title: 'Add the totals row',\n    status: 'in_progress',\n    assigneeId: 'leo',\n  },\n  {\n    id: 'mos-219',\n    number: 219,\n    title: 'Respect the account time zone in dates',\n    status: 'in_review',\n    assigneeId: 'tomas',\n  },\n  {\n    id: 'mos-220',\n    number: 220,\n    title: 'Download button on the invoices page',\n    status: 'todo',\n    assigneeId: 'mei',\n  },\n  {\n    id: 'mos-222',\n    number: 222,\n    title: 'Test with ten thousand invoices',\n    status: 'done',\n    assigneeId: 'sana',\n  },\n  {\n    id: 'mos-223',\n    number: 223,\n    title: 'Note the export in the changelog',\n    status: 'backlog',\n  },\n];\n\nexport function keyOf(number: number) {\n  return `${TEAM_KEY}-${number}`;\n}\n\nexport function isDone(subtask: Subtask) {\n  return subtask.status === 'done';\n}\n\nexport function doneCountOf(subtasks: Subtask[]) {\n  return subtasks.filter(isDone).length;\n}\n\nexport function withToggled(subtasks: Subtask[], subtaskId: string) {\n  return subtasks.map((subtask) => {\n    if (subtask.id !== subtaskId) {\n      return subtask;\n    }\n    return { ...subtask, status: toggledStatusOf(subtask.status) };\n  });\n}\n\nfunction toggledStatusOf(status: StatusId): StatusId {\n  if (status === 'done') {\n    return 'todo';\n  }\n  return 'done';\n}\n\nexport function countLabel(count: number, singular: string, plural: string) {\n  if (count === 1) {\n    return `${count} ${singular}`;\n  }\n  return `${count} ${plural}`;\n}\n",
      "type": "registry:component",
      "target": "components/subtask/_parts/subtask-data.ts"
    },
    {
      "path": "registry/ndeko/components/subtask/_parts/subtask-parts.tsx",
      "content": "'use client';\n\nimport { CheckIcon } from '@/registry/ndeko/lib/icons';\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { Avatar } from '@/registry/ndeko/ui/avatar';\n\nimport { Swap } from './motion-parts';\nimport type { Person } from './people';\n\nexport type StatusId =\n  'backlog' | 'todo' | 'in_progress' | 'in_review' | 'done';\n\nexport const STATUSES: { id: StatusId; name: string; color: string }[] = [\n  { id: 'backlog', name: 'Backlog', color: 'var(--muted-foreground)' },\n  { id: 'todo', name: 'Todo', color: 'var(--muted-foreground)' },\n  { id: 'in_progress', name: 'In progress', color: 'var(--warning)' },\n  { id: 'in_review', name: 'In review', color: 'var(--primary)' },\n  { id: 'done', name: 'Done', color: 'var(--success)' },\n];\n\nexport function statusOf(id: StatusId) {\n  const found = STATUSES.find((status) => status.id === id);\n  if (found) {\n    return found;\n  }\n  return STATUSES[0];\n}\n\nexport function isStatusId(value: unknown): value is StatusId {\n  return STATUSES.some((status) => status.id === value);\n}\n\nconst PIE_RADIUS = 2;\n\nconst PIE_CIRCUMFERENCE = 2 * Math.PI * PIE_RADIUS;\n\nfunction StartedShape({ share }: { share: number }) {\n  const filled = share * PIE_CIRCUMFERENCE;\n  return (\n    <>\n      <circle cx='7' cy='7' r='6' stroke='currentColor' strokeWidth='1.5' />\n      <circle\n        cx='7'\n        cy='7'\n        r={PIE_RADIUS}\n        stroke='currentColor'\n        strokeWidth={PIE_RADIUS * 2}\n        strokeDasharray={`${filled} ${PIE_CIRCUMFERENCE}`}\n        transform='rotate(-90 7 7)'\n      />\n    </>\n  );\n}\n\nfunction statusShapeOf(status: StatusId) {\n  if (status === 'backlog') {\n    return (\n      <circle\n        cx='7'\n        cy='7'\n        r='6'\n        stroke='currentColor'\n        strokeWidth='1.5'\n        strokeDasharray='1.6 1.9'\n      />\n    );\n  }\n  if (status === 'todo') {\n    return (\n      <circle cx='7' cy='7' r='6' stroke='currentColor' strokeWidth='1.5' />\n    );\n  }\n  if (status === 'in_progress') {\n    return <StartedShape share={0.5} />;\n  }\n  if (status === 'in_review') {\n    return <StartedShape share={0.75} />;\n  }\n  return (\n    <>\n      <circle cx='7' cy='7' r='7' fill='currentColor' />\n      <path\n        d='M4.4 7.2 6.2 9l3.4-3.8'\n        stroke='var(--card)'\n        strokeWidth='1.6'\n        strokeLinecap='round'\n        strokeLinejoin='round'\n      />\n    </>\n  );\n}\n\nexport function StatusGlyph({\n  status,\n  className,\n}: {\n  status: StatusId;\n  className?: string;\n}) {\n  const glyphStyle = { color: statusOf(status).color } as React.CSSProperties;\n  return (\n    <svg\n      viewBox='0 0 14 14'\n      fill='none'\n      aria-hidden='true'\n      style={glyphStyle}\n      className={cn('size-3.5 shrink-0', className)}\n    >\n      {statusShapeOf(status)}\n    </svg>\n  );\n}\n\nexport function PersonAvatar({\n  person,\n  className,\n}: {\n  person: Person;\n  className?: string;\n}) {\n  return (\n    <Avatar className={cn('size-5 text-[9px]', className)} seed={person.name} />\n  );\n}\n\nconst RING_RADIUS = 6.5;\n\nconst RING_LENGTH = 2 * Math.PI * RING_RADIUS;\n\nfunction shareOf(done: number, total: number) {\n  if (total === 0) {\n    return 0;\n  }\n  return done / total;\n}\n\nfunction ringKeyOf(isComplete: boolean) {\n  if (isComplete) {\n    return 'complete';\n  }\n  return 'ring';\n}\n\n/** The share of sub-tasks done; the arc travels on each check and becomes a check mark once all are done. */\nexport function ProgressRing({\n  done,\n  total,\n  className,\n}: {\n  done: number;\n  total: number;\n  className?: string;\n}) {\n  const share = shareOf(done, total);\n  const isComplete = total > 0 && done === total;\n  const dashOffset = RING_LENGTH * (1 - share);\n\n  return (\n    <Swap swapKey={ringKeyOf(isComplete)} className={className}>\n      {isComplete && (\n        <span className='bg-success/15 text-success-foreground flex size-4 items-center justify-center rounded-full'>\n          <CheckIcon strokeWidth={3} className='size-2.5' />\n        </span>\n      )}\n      {!isComplete && (\n        <svg\n          viewBox='0 0 16 16'\n          aria-hidden='true'\n          className='size-4 -rotate-90'\n        >\n          <circle\n            cx='8'\n            cy='8'\n            r={RING_RADIUS}\n            fill='none'\n            strokeWidth='2'\n            className='stroke-foreground/10'\n          />\n          <circle\n            cx='8'\n            cy='8'\n            r={RING_RADIUS}\n            fill='none'\n            strokeWidth='2'\n            strokeLinecap='round'\n            strokeDasharray={RING_LENGTH}\n            strokeDashoffset={dashOffset}\n            className='stroke-primary transition-[stroke-dashoffset] duration-300 ease-(--ease-out-strong)'\n          />\n        </svg>\n      )}\n    </Swap>\n  );\n}\n\n/** A title that gets struck through from left to right when its sub-task is done. */\nexport function StrikeTitle({\n  title,\n  isDone,\n  className,\n}: {\n  title: string;\n  isDone: boolean;\n  className?: string;\n}) {\n  return (\n    <span\n      className={cn(\n        'relative min-w-0 truncate text-[13px] transition-colors duration-200',\n        isDone && 'text-muted-foreground',\n        className\n      )}\n    >\n      {title}\n      <span\n        aria-hidden='true'\n        className={cn(\n          'bg-foreground/35 pointer-events-none absolute inset-x-0 top-1/2 h-px origin-left scale-x-0 transition-transform duration-200 ease-(--ease-out-strong)',\n          isDone && 'scale-x-100'\n        )}\n      />\n    </span>\n  );\n}\n\n/** One segment per sub-task, filled from the left when it is done. */\nexport function SegmentMeter({\n  states,\n  className,\n}: {\n  states: boolean[];\n  className?: string;\n}) {\n  return (\n    <span aria-hidden='true' className={cn('flex gap-0.5', className)}>\n      {states.map((isDone, index) => (\n        <span\n          key={index}\n          className='bg-foreground/10 relative h-1.5 min-w-1 flex-1 overflow-hidden rounded-full'\n        >\n          <span\n            className={cn(\n              'bg-success absolute inset-0 origin-left scale-x-0 rounded-full transition-transform duration-200 ease-(--ease-out-strong)',\n              isDone && 'scale-x-100'\n            )}\n          />\n        </span>\n      ))}\n    </span>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/subtask/_parts/subtask-parts.tsx"
    }
  ],
  "categories": [
    "components",
    "subtask"
  ],
  "type": "registry:component"
}