Summary
Update `` to implement the PatternFly v6 Popover component.
Rich content popup triggered by click, with header, body, footer, and close button. Supports multiple positions and auto-positioning.
Prior Art
| Source |
Element |
Status |
| PFE v4 |
`` |
Exists |
| cem |
`` |
Exists |
| cockpit |
`` |
Exists |
| chickadee |
-- |
-- |
Requirements
- MUST implement PFv6 visual designs
- MUST provide end-user feature parity with `@patternfly/react-core` Popover
- MAY adjust element API to leverage web platform strengths
- SHOULD maintain CSS custom property theming compatibility
- SHOULD expose useful CSS shadow parts
Element-specific considerations
- Uses Floating UI for positioning (shared dep with tooltip)
- React `position`: 12 values (`top`, `top-start`, `top-end`, `bottom`, `bottom-start`, `bottom-end`, `left`, `left-start`, `left-end`, `right`, `right-start`, `right-end`, `auto`)
- React `headerContent`, `bodyContent`, `footerContent` - use named slots
- React `headerComponent`: `h1`-`h6` - heading level in header slot
- React `hasAutoWidth` - removes max-width constraint; map to `auto-width` attribute
- React `showClose` (default true) - whether to render close button; map to `no-close` attribute (opt-out)
- React `distance`, `minWidth`, `maxWidth` - CSS custom properties preferred
- React `flipBehavior` - Floating UI flip fallback positions
- React `alertSeverityVariant` - adds alert icon to header for status popovers; map to `alert` attribute
- Focus management: focus moves into popover on open; Escape closes and returns focus to trigger
- Trigger element: use `for` attribute or wrap trigger in slot
Checklist
Rename
Implementation
Demos
Tests
Reviews
Ship
Summary
Update `` to implement the PatternFly v6 Popover component.
Rich content popup triggered by click, with header, body, footer, and close button. Supports multiple positions and auto-positioning.
Prior Art
Requirements
Element-specific considerations
Checklist
Rename
Implementation
Demos
Tests
Reviews
Ship