{
  "id": "popover",
  "name": "Popover",
  "level": "molecule",
  "status": "stable",
  "purpose": "A small floating surface anchored to what opened it.",
  "description": "Floating panel that appears on click / keyboard activation. Composes `@radix-ui/react-popover` so the ARIA contract (`role=\"dialog\"`, focus return, escape-to-close, outside-click-to-close, portal isolation) is right by construction. Use Popover for short, contained content; reach for Dialog for richer modal interactions.",
  "role": "feedback",
  "import": "@rrios-forge/ui/molecules/popover",
  "exports": [
    "Popover",
    "PopoverAnchor",
    "PopoverClose",
    "PopoverContent",
    "PopoverTrigger",
    "popoverContentVariants",
    "POPOVER_SIZES"
  ],
  "source": "packages/ui/src/molecules/popover",
  "axes": [
    {
      "axis": "size",
      "part": null,
      "values": [
        "sm",
        "md",
        "lg"
      ],
      "default": "md",
      "meaning": "Ergonomic scale, in three families (control, text, container)."
    }
  ],
  "needs": [
    {
      "need": "Tooltip / popover / contextual menu",
      "answer": "`Tooltip` / `Popover` / `DropdownMenu`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [
    {
      "id": "ADR-007",
      "title": "Material highlight on raised surfaces"
    },
    {
      "id": "ADR-015",
      "title": "Drawer molecule on top of Radix Dialog"
    },
    {
      "id": "ADR-016",
      "title": "NotificationCenter v2: Popover → Drawer + Provider/Hooks"
    },
    {
      "id": "ADR-024",
      "title": "`LocaleSelector` is a new molecule, not an extension of `Combobox`"
    }
  ],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-popover--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-popover--playground",
      "frame": "/iframe.html?id=components-molecules-popover--playground&viewMode=story"
    },
    {
      "name": "Sizes",
      "id": "components-molecules-popover--sizes",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-popover--sizes",
      "frame": "/iframe.html?id=components-molecules-popover--sizes&viewMode=story"
    },
    {
      "name": "With form",
      "id": "components-molecules-popover--with-form",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-popover--with-form",
      "frame": "/iframe.html?id=components-molecules-popover--with-form&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/popover.stories.tsx"
}
