{
  "name": "CitationListItem",
  "source": "src/components/Citation.tsx",
  "propsType": "CitationListItemProps",
  "import": "import { CitationListItem } from 'ionbase-ui';",
  "status": "stable",
  "summary": "One source row: its number, what it is, and the passage it supports.",
  "useWhen": [
    "a child of CitationList"
  ],
  "useInstead": [
    {
      "when": "it is the inline marker in the prose",
      "use": "Citation"
    }
  ],
  "slots": {
    "children": {
      "accepts": "text",
      "note": "the quoted or summarised passage this source supports"
    }
  },
  "a11y": {
    "guarantees": [
      "the visible number is `aria-hidden`; the row is named by its source text, which is what a reader needs to hear",
      "without `href` the source renders as text rather than a dead link"
    ],
    "requires": [
      "`source` naming what is being cited"
    ]
  },
  "antiPatterns": [
    {
      "dont": "a bare URL as the `source`",
      "why": "a screen reader spells it out character by character, and it names nothing"
    }
  ],
  "stylesheet": "src/styles/citation.css",
  "tokens": [
    "--border-focus",
    "--border-width-thick",
    "--font-family-sans",
    "--font-weight-medium",
    "--font-weight-semibold",
    "--ion-duration-base",
    "--ion-ease-out",
    "--radius-xs",
    "--spacing-16",
    "--spacing-2",
    "--spacing-4",
    "--spacing-8",
    "--surface-primary-subtle",
    "--surface-primary-subtle-hover",
    "--text-link",
    "--text-tertiary",
    "--type-body-sm",
    "--type-body-sm-line-height",
    "--type-caption",
    "--type-caption-line-height"
  ],
  "props": {
    "index": {
      "type": "string | number",
      "required": true,
      "origin": "own"
    },
    "source": {
      "type": "string",
      "required": true,
      "origin": "own"
    },
    "href": {
      "type": "string | undefined",
      "required": false,
      "origin": "own"
    },
    "children": {
      "type": "React.ReactNode",
      "required": false,
      "origin": "own",
      "description": "The quoted or summarised passage this citation supports."
    }
  },
  "propCounts": {
    "own": 4,
    "aria": 0,
    "dom": 278,
    "other": 0
  }
}
