{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "data-table",
  "title": "Data table",
  "description": "Rows with selection, sortable columns, status badges and a menu per row.",
  "dependencies": [
    "@ui-sdk/react@0.1.0-beta.5",
    "lucide-react@1.73.0"
  ],
  "registryDependencies": [
    "https://www.cyberspec.dev/r/cyber.json",
    "https://www.cyberspec.dev/r/checkbox.json",
    "https://www.cyberspec.dev/r/menu.json"
  ],
  "files": [
    {
      "path": "registry/cyber/ui/data-table.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { CheckboxGroup } from \"@ui-sdk/react/checkbox\"\nimport { ArrowDown, ArrowUp, ChevronsUpDown, Ellipsis } from \"lucide-react\"\nimport { Checkbox } from \"@/registry/cyber/ui/checkbox\"\nimport { Menu, type MenuEntry } from \"@/registry/cyber/ui/menu\"\nimport \"@/registry/cyber/ui/cyber/data-table.css\"\n\ntype DataTableColumn<Row> = {\n  id: string\n  header: string\n  /** What the cell shows: text, a Badge, a number written out. */\n  cell: (row: Row) => React.ReactNode\n  /** What the column orders by. Giving one makes its heading a sort key. */\n  sort?: (row: Row) => string | number\n  /** Figures: set in the mono, in the signal color, against the trailing edge. */\n  numeric?: boolean\n  /** The column that names the row. Its cells are row headers. */\n  rowHeader?: boolean\n}\n\ntype DataTableSort = { column: string; direction: \"ascending\" | \"descending\" }\n\nconst order = (a: string | number, b: string | number) =>\n  typeof a === \"number\" && typeof b === \"number\"\n    ? a - b\n    : String(a).localeCompare(String(b), undefined, {\n        numeric: true,\n        sensitivity: \"base\",\n      })\n\n// A ledger: a real table in a cut frame, with rows that can be picked,\n// ordered and acted on.\n//\n// - `caption` names the table. `code` is micro-print beside it.\n// - `columns` say what each cell shows (see DataTableColumn). `rows` are\n//   your records; each needs a unique `id`. `rowLabel` says what a row is\n//   called, which names its checkbox and its menu.\n// - Selection is a list of row ids: `selected` / `defaultSelected` /\n//   `onSelectedChange`. The box in the heading takes or clears every row,\n//   and shows a bar while only some are taken.\n// - `defaultSort` orders the rows at first; pressing a sortable heading\n//   orders by it, and again reverses it. `onSortChange` reports it.\n// - `actions` is a menu for each row, as data (see MenuEntry), or a\n//   function of the row; `onAction` runs with the action's value and the\n//   row.\n// - `maxHeight` caps the table; the rows scroll under the headings.\n//\n// A picked row is lit, its ink brightens, and its box is ticked. Too wide\n// for its column, the table scrolls sideways inside the frame, and the\n// scrolling part becomes a named tab stop so the arrow keys can move it.\n// The rest goes to ui-sdk's CheckboxGroup: `disabled`, `name`, `controller`.\nfunction DataTable<Row extends { id: string }>({\n  caption,\n  code,\n  columns,\n  rows,\n  rowLabel,\n  selected,\n  defaultSelected,\n  onSelectedChange,\n  defaultSort,\n  onSortChange,\n  actions,\n  onAction,\n  maxHeight,\n  style,\n  ...props\n}: Omit<\n  React.ComponentProps<typeof CheckboxGroup<string>>,\n  \"children\" | \"value\" | \"defaultValue\" | \"onValueChange\" | \"allValues\" | \"style\"\n> & {\n  caption: string\n  code?: string\n  columns: DataTableColumn<Row>[]\n  rows: Row[]\n  rowLabel: (row: Row) => string\n  selected?: string[]\n  defaultSelected?: string[]\n  onSelectedChange?: (selected: string[]) => void\n  defaultSort?: DataTableSort\n  onSortChange?: (sort: DataTableSort) => void\n  actions?: MenuEntry[] | ((row: Row) => MenuEntry[])\n  onAction?: (action: string, row: Row) => void\n  maxHeight?: number | string\n  style?: React.CSSProperties\n}) {\n  const titleId = React.useId()\n  const [picked, setPicked] = React.useState(defaultSelected ?? [])\n  const [sort, setSort] = React.useState<DataTableSort | undefined>(defaultSort)\n  const value = selected ?? picked\n  const lit = new Set(value)\n  const count = rows.reduce((n, row) => n + (lit.has(row.id) ? 1 : 0), 0)\n\n  const by = columns.find((column) => column.id === sort?.column)?.sort\n  const ordered = React.useMemo(() => {\n    if (!by || !sort) return rows\n    const turn = sort.direction === \"ascending\" ? 1 : -1\n    return [...rows].sort((a, b) => turn * order(by(a), by(b)))\n  }, [rows, by, sort])\n\n  // The scrolling part is a tab stop, and a region, only while there's\n  // something to scroll: otherwise it would be a stop that does nothing.\n  // `more` names the sides (\"start\", \"end\") with columns still out of view,\n  // which the frame marks.\n  const scroller = React.useRef<HTMLDivElement>(null)\n  const [scrolls, setScrolls] = React.useState(false)\n  const [more, setMore] = React.useState(\"\")\n  React.useEffect(() => {\n    const element = scroller.current\n    if (!element) return\n    const measure = () => {\n      const over = element.scrollWidth - element.clientWidth\n      // Negative in a right-to-left page; the distance is what matters.\n      const gone = Math.abs(element.scrollLeft)\n      setScrolls(over > 0 || element.scrollHeight > element.clientHeight)\n      setMore([gone > 1 && \"start\", gone < over - 1 && \"end\"].filter(Boolean).join(\" \"))\n    }\n    measure()\n    const observer = new ResizeObserver(measure)\n    observer.observe(element)\n    if (element.firstElementChild) observer.observe(element.firstElementChild)\n    element.addEventListener(\"scroll\", measure, { passive: true })\n    return () => {\n      observer.disconnect()\n      element.removeEventListener(\"scroll\", measure)\n    }\n  }, [])\n\n  const size = {\n    \"--data-table-max\": typeof maxHeight === \"number\" ? `${maxHeight}px` : maxHeight,\n    ...style,\n  } as React.CSSProperties\n\n  return (\n    <CheckboxGroup<string>\n      data-kit=\"data-table\"\n      data-frame=\"tr bl\"\n      aria-labelledby={titleId}\n      style={size}\n      {...props}\n      value={value}\n      allValues={rows.map((row) => row.id)}\n      onValueChange={(next) => {\n        setPicked(next)\n        onSelectedChange?.(next)\n      }}\n    >\n      <div data-kit=\"data-table-view\" data-more={more || undefined}>\n        {/* The frame would cut an outer ring off, so the view draws the\n          scroller's focus inside itself and the scroller keeps quiet. */}\n        <div\n          data-kit=\"data-table-scroller\"\n          data-focus-quiet=\"\"\n          ref={scroller}\n          role={scrolls ? \"region\" : undefined}\n          aria-labelledby={scrolls ? titleId : undefined}\n          tabIndex={scrolls ? 0 : undefined}\n        >\n          <table data-kit=\"data-table-grid\">\n            <caption data-kit=\"data-table-caption\">\n              <span data-kit=\"data-table-caption-bar\">\n                <span data-kit=\"data-table-title\" id={titleId}>\n                  {caption}\n                </span>\n                {code && (\n                  <span data-micro aria-hidden>\n                    {code}\n                  </span>\n                )}\n              </span>\n            </caption>\n            <thead>\n              <tr>\n                <th scope=\"col\" data-kit=\"data-table-head\" data-col=\"select\" onClick={pressBox}>\n                  <Box>\n                    <Checkbox parent label={`Select all in ${caption}`} />\n                  </Box>\n                </th>\n                {columns.map((column) => {\n                  const direction = sort?.column === column.id ? sort.direction : undefined\n                  const Glyph = direction === \"ascending\" ? ArrowUp : direction === \"descending\" ? ArrowDown : ChevronsUpDown\n                  return (\n                    <th\n                      key={column.id}\n                      scope=\"col\"\n                      data-kit=\"data-table-head\"\n                      data-numeric={column.numeric ? \"\" : undefined}\n                      aria-sort={direction}\n                    >\n                      {column.sort ? (\n                        <button\n                          type=\"button\"\n                          data-kit=\"data-table-sort\"\n                          data-sorted={direction}\n                          onClick={() => {\n                            const next: DataTableSort = {\n                              column: column.id,\n                              direction: direction === \"ascending\" ? \"descending\" : \"ascending\",\n                            }\n                            setSort(next)\n                            onSortChange?.(next)\n                          }}\n                        >\n                          {column.header}\n                          <Glyph data-kit=\"data-table-sort-glyph\" aria-hidden />\n                        </button>\n                      ) : (\n                        <span data-kit=\"data-table-heading\">{column.header}</span>\n                      )}\n                    </th>\n                  )\n                })}\n                {actions && (\n                  <th scope=\"col\" data-kit=\"data-table-head\" data-col=\"actions\">\n                    <span data-sr-only>Actions</span>\n                  </th>\n                )}\n              </tr>\n            </thead>\n            <tbody>\n              {ordered.map((row) => {\n                const name = rowLabel(row)\n                return (\n                  <tr key={row.id} data-kit=\"data-table-row\" data-selected={lit.has(row.id) ? \"\" : undefined}>\n                    <td data-kit=\"data-table-cell\" data-col=\"select\" onClick={pressBox}>\n                      <Box>\n                        <Checkbox value={row.id} label={`Select ${name}`} />\n                      </Box>\n                    </td>\n                    {columns.map((column) => {\n                      const Cell = column.rowHeader ? \"th\" : \"td\"\n                      return (\n                        <Cell\n                          key={column.id}\n                          scope={column.rowHeader ? \"row\" : undefined}\n                          data-kit=\"data-table-cell\"\n                          data-numeric={column.numeric ? \"\" : undefined}\n                          data-name={column.rowHeader ? \"\" : undefined}\n                        >\n                          {column.cell(row)}\n                        </Cell>\n                      )\n                    })}\n                    {actions && (\n                      <td data-kit=\"data-table-cell\" data-col=\"actions\">\n                        <Menu\n                          label={`Actions for ${name}`}\n                          items={typeof actions === \"function\" ? actions(row) : actions}\n                          icon={<Ellipsis aria-hidden />}\n                          compact\n                          tone=\"ghost\"\n                          size=\"sm\"\n                          align=\"end\"\n                          onAction={(action) => onAction?.(action, row)}\n                        />\n                      </td>\n                    )}\n                  </tr>\n                )\n              })}\n            </tbody>\n          </table>\n        </div>\n        <span data-kit=\"data-table-edge\" data-edge=\"start\" aria-hidden />\n        <span data-kit=\"data-table-edge\" data-edge=\"end\" aria-hidden />\n      </div>\n      <p data-kit=\"data-table-foot\" role=\"status\">\n        <span data-kit=\"data-table-count\" data-none={count === 0 ? \"\" : undefined}>\n          {count}\n        </span>{\" \"}\n        of {rows.length} selected\n      </p>\n    </CheckboxGroup>\n  )\n}\n\n// The kit's Checkbox prints its label beside the box. In a table the label\n// is still the box's name, but there's no room to print it: this is a\n// window the size of the box, and the label sits outside it.\nfunction Box({ children }: { children: React.ReactNode }) {\n  return (\n    <span data-kit=\"data-table-box\">\n      <span data-kit=\"data-table-box-row\">{children}</span>\n    </span>\n  )\n}\n\n// A pointer anywhere in the selection cell presses its box, so the target\n// is the cell rather than the 18px box. The keyboard and assistive\n// technology already have the box itself.\nfunction pressBox(event: React.MouseEvent<HTMLTableCellElement>) {\n  if (event.target !== event.currentTarget) return\n  event.currentTarget.querySelector<HTMLElement>('[role=\"checkbox\"]')?.click()\n}\n\nexport { DataTable }\nexport type { DataTableColumn, DataTableSort }\n",
      "type": "registry:ui",
      "target": "@ui/data-table.tsx"
    },
    {
      "path": "registry/cyber/ui/cyber/data-table.css",
      "content": "@layer ui-sdk, cyber.tokens, cyber.base, cyber.ui, cyber.blocks, cyber.fx, cyber.a11y;\n\n@layer cyber.ui {\n  /* The frame: the scrolling table, then a foot line. The table can be\n     wider than the frame; the frame never is wider than its column. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table\"] {\n    --frame-cut: var(--cy-cut);\n    --frame-line: var(--cy-line-deco);\n    --frame-fill: var(--cy-panel);\n    /* Frame variables inherit, and a surface behind may have set one. */\n    --frame-image: none;\n    --row: calc(var(--cy-h) + 4px);\n    --pad: 12px;\n    --rule: color-mix(in srgb, var(--cy-accent) 16%, var(--cy-panel));\n\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    min-width: 0;\n    text-align: start;\n  }\n\n  /* What's visible of the table: the scroller, with a mark over each side\n     that has columns out of view, and the scroller's focus ring. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-view\"] {\n    position: relative;\n    flex: 1 1 auto;\n    display: flex;\n    flex-direction: column;\n    min-height: 0;\n\n    /* The frame clips anything outside it, so the ring is drawn here,\n       inside, over the cells. A border, so forced colors keep it. */\n    &:has(> [data-kit=\"data-table-scroller\"]:focus-visible)::after {\n      content: \"\";\n      position: absolute;\n      inset: 0;\n      border: 2px solid var(--cy-signal);\n      pointer-events: none;\n    }\n  }\n\n  /* The scroller, in both directions. It's measured so the caption can\n     stay the width of what's visible while the table runs on past it. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-scroller\"] {\n    flex: 1 1 auto;\n    min-height: 0;\n    max-height: var(--data-table-max, none);\n    overflow: auto;\n    /* Sideways only: reaching the end of the columns shouldn't swipe the\n       page away, but the page still scrolls under a pointer over the rows. */\n    overscroll-behavior-x: contain;\n    container-type: inline-size;\n    /* The headings stick above the rows, and stay under anything outside. */\n    isolation: isolate;\n  }\n\n  /* More columns this way: a shade over the edge, and an arrow pointing\n     out of it, so the edge isn't told by the shade alone. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-edge\"] {\n    --shade: color-mix(in srgb, var(--cy-void) 88%, transparent);\n\n    position: absolute;\n    inset-block: 0;\n    width: 22px;\n    pointer-events: none;\n    opacity: 0;\n    transition: opacity var(--cy-t-fast) linear;\n\n    &::after {\n      content: \"\";\n      position: absolute;\n      inset-block-start: calc(50% - 5px);\n      width: 5px;\n      height: 10px;\n      background: var(--cy-line-hot);\n    }\n\n    &[data-edge=\"start\"] {\n      inset-inline-start: 0;\n      background: linear-gradient(to right, var(--shade), transparent);\n\n      &::after {\n        inset-inline-start: 0;\n        clip-path: polygon(100% 0, 0 50%, 100% 100%);\n      }\n    }\n\n    &[data-edge=\"end\"] {\n      inset-inline-end: 0;\n      background: linear-gradient(to left, var(--shade), transparent);\n\n      &::after {\n        inset-inline-end: 0;\n        clip-path: polygon(0 0, 100% 50%, 0 100%);\n      }\n    }\n\n    &:dir(rtl) {\n      scale: -1 1;\n    }\n\n    [data-more~=\"start\"] > &[data-edge=\"start\"],\n    [data-more~=\"end\"] > &[data-edge=\"end\"] {\n      opacity: 1;\n    }\n  }\n\n  [data-skin=\"cyber\"] [data-kit=\"data-table-grid\"] {\n    width: 100%;\n    border-collapse: separate;\n    border-spacing: 0;\n  }\n\n  /* The caption is as wide as the table. Its bar is as wide as the frame\n     and holds to the leading edge, so the name stays put while the columns\n     scroll sideways. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-caption\"] {\n    padding: 0;\n    text-align: start;\n  }\n\n  [data-skin=\"cyber\"] [data-kit=\"data-table-caption-bar\"] {\n    position: sticky;\n    inset-inline-start: 0;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 12px;\n    width: 100cqi;\n    min-height: 34px;\n    /* Clear of the cut corner at the trailing end. */\n    padding-inline: var(--pad) calc(var(--pad) + var(--cy-cut));\n\n    /* A hot tick under the start of the name, on the rule the headings\n       draw below. */\n    &::after {\n      content: \"\";\n      position: absolute;\n      inset-block-end: -1px;\n      inset-inline-start: 0;\n      width: 28px;\n      height: 3px;\n      background: var(--cy-accent);\n    }\n\n    /* The print gives way before it would be cut mid-word. */\n    @container (max-width: 340px) {\n      & [data-micro] {\n        display: none;\n      }\n    }\n  }\n\n  [data-skin=\"cyber\"] [data-kit=\"data-table-title\"] {\n    flex: none;\n    font-size: var(--cy-text-md);\n    font-weight: 700;\n    letter-spacing: var(--cy-track);\n    text-transform: uppercase;\n    color: var(--cy-ink);\n  }\n\n  /* Headings: a raised strip that stays at the top while the rows scroll\n     under it. Opaque, so nothing shows through. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-head\"] {\n    position: sticky;\n    inset-block-start: 0;\n    z-index: 1;\n    height: var(--cy-h-sm);\n    padding: 0;\n    font-size: var(--cy-text-xs);\n    font-weight: 700;\n    letter-spacing: 0.08em;\n    text-align: start;\n    text-transform: uppercase;\n    white-space: nowrap;\n    color: var(--cy-ink-mute);\n    background: var(--cy-panel-2);\n    border-block: 1px solid var(--cy-line-deco);\n\n    &[data-numeric] {\n      text-align: end;\n    }\n\n    &[data-col=\"select\"] {\n      width: 1px;\n      padding-inline: var(--pad);\n      cursor: pointer;\n    }\n\n    &[data-col=\"actions\"] {\n      width: 1px;\n    }\n  }\n\n  /* A plain heading starts where its column's text does. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-heading\"] {\n    display: block;\n    padding-inline: var(--pad);\n  }\n\n  /* A heading that orders its column is a key the size of its cell. At\n     rest it shows it can sort; pressed, it's lit and an arrow in the signal\n     color says which way. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-sort\"] {\n    display: flex;\n    align-items: center;\n    gap: 6px;\n    /* Inset from the cell by the reach of a focus ring, which the cells\n       either side would otherwise cover; the text still starts on the\n       column's line. */\n    width: calc(100% - 8px);\n    height: calc(var(--cy-h-sm) - 2px);\n    margin-inline: 4px;\n    padding: 0 calc(var(--pad) - 4px);\n    font: inherit;\n    letter-spacing: inherit;\n    text-transform: inherit;\n    color: inherit;\n    background: none;\n    border: 0;\n    cursor: pointer;\n    transition:\n      background-color var(--cy-t-fast) linear,\n      color var(--cy-t-fast) linear;\n\n    /* Figures sit against the trailing edge, and so does their heading:\n       the arrow goes on the inside. */\n    [data-numeric] > & {\n      flex-direction: row-reverse;\n    }\n\n    @media (hover: hover) {\n      &:hover {\n        color: var(--cy-ink);\n        background: var(--cy-fill-hover);\n      }\n    }\n\n    &:active {\n      color: var(--cy-ink-hi);\n      background: var(--cy-fill-active);\n    }\n\n    &[data-sorted] {\n      color: var(--cy-ink-hi);\n    }\n  }\n\n  [data-skin=\"cyber\"] [data-kit=\"data-table-sort-glyph\"] {\n    width: 12px;\n    height: 12px;\n    color: var(--cy-line-ctl);\n\n    [data-sorted] > & {\n      color: var(--cy-signal);\n      stroke-width: 2.5;\n    }\n  }\n\n  /* Cells. Nothing wraps: a table too wide for its frame scrolls. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-cell\"] {\n    height: var(--row);\n    padding: 0 var(--pad);\n    font-size: var(--cy-text-md);\n    font-weight: 500;\n    text-align: start;\n    white-space: nowrap;\n    vertical-align: middle;\n    color: var(--cy-ink-mute);\n    border-block-end: 1px solid var(--rule);\n    transition:\n      background-color var(--cy-t-fast) linear,\n      border-color var(--cy-t-fast) linear,\n      color var(--cy-t-fast) linear;\n\n    tr:last-child > & {\n      border-block-end-color: transparent;\n    }\n\n    /* The row's name: a label. */\n    &[data-name] {\n      font-weight: 600;\n      letter-spacing: var(--cy-track);\n      text-transform: uppercase;\n      color: var(--cy-ink);\n    }\n\n    /* Figures are values: the mono, the signal color, the trailing edge. */\n    &[data-numeric] {\n      font-family: var(--cy-mono);\n      font-size: var(--cy-text-sm);\n      font-variant-numeric: tabular-nums;\n      /* A mono space is a whole figure wide: too much between the groups\n         of a number such as 12 600. */\n      word-spacing: -0.3em;\n      text-align: end;\n      color: var(--cy-signal);\n    }\n\n    &[data-col=\"select\"] {\n      cursor: pointer;\n    }\n\n    &[data-col=\"actions\"] {\n      padding-inline: 4px 8px;\n      text-align: end;\n    }\n\n    @media (hover: hover) {\n      [data-kit=\"data-table-row\"]:hover > & {\n        background: var(--cy-fill-hover);\n      }\n    }\n\n    /* A picked row is on: the lit fill between hot rules, brighter ink,\n       and the ticked box in its first cell. */\n    [data-kit=\"data-table-row\"][data-selected] > & {\n      background: var(--cy-fill-active);\n      border-block-end-color: var(--cy-line-hot);\n      box-shadow: 0 -1px 0 var(--cy-line-hot);\n    }\n\n    /* On the lit fill, accent ink is only 3:1, so ink of either weight\n       becomes the bright one. Re-pointing the tokens, rather than setting a\n       color, lets whatever the cell holds (a Badge, a link) follow. The\n       actions cell is left alone: its menu opens inside it, on a panel. */\n    [data-kit=\"data-table-row\"][data-selected] > &:not([data-col=\"actions\"]) {\n      --cy-ink: var(--cy-ink-hi);\n      --cy-ink-mute: var(--cy-ink-hi);\n    }\n\n    @media (hover: hover) {\n      [data-kit=\"data-table-row\"][data-selected]:hover > & {\n        background: color-mix(in srgb, var(--cy-accent) 48%, var(--cy-panel));\n      }\n    }\n  }\n\n  /* A window onto the box of a Checkbox. The checkbox lays out at its own\n     width behind it, so its label keeps to one line, out of view, and the\n     row stays one line tall. 18px is the kit's box. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-box\"] {\n    display: block;\n    width: 18px;\n    height: var(--cy-h);\n    overflow: clip;\n  }\n\n  [data-skin=\"cyber\"] [data-kit=\"data-table-box-row\"] {\n    display: block;\n    width: max-content;\n  }\n\n  /* The foot: how many rows are picked, the number in the signal color. */\n  [data-skin=\"cyber\"] [data-kit=\"data-table-foot\"] {\n    flex: none;\n    margin: 0;\n    /* Clear of the cut corner at the leading end. */\n    padding: 6px var(--pad) 6px calc(var(--pad) + var(--cy-cut));\n    font-size: var(--cy-text-xs);\n    font-weight: 600;\n    letter-spacing: 0.08em;\n    text-transform: uppercase;\n    color: var(--cy-ink-mute);\n    border-block-start: 1px solid var(--cy-line-deco);\n  }\n\n  [data-skin=\"cyber\"] [data-kit=\"data-table-count\"] {\n    font-family: var(--cy-mono);\n    font-size: var(--cy-text-sm);\n    font-weight: 600;\n    letter-spacing: 0;\n    color: var(--cy-signal);\n\n    &[data-none] {\n      color: var(--cy-ink-mute);\n    }\n  }\n}\n",
      "type": "registry:file",
      "target": "@ui/cyber/data-table.css"
    }
  ],
  "type": "registry:ui"
}
