-
Notifications
You must be signed in to change notification settings - Fork 106
[feat]: Create <pf-v6-description-list> element #2931
Copy link
Copy link
Open
Labels
1:1Aligning components with PatternFly v4Aligning components with PatternFly v4good 1st issueGood for newcomers to the project; requires at least an introductory knowledge of the languageGood for newcomers to the project; requires at least an introductory knowledge of the languagepriority: lowSeverity level: 3Severity level: 3
Milestone
Metadata
Metadata
Assignees
Labels
1:1Aligning components with PatternFly v4Aligning components with PatternFly v4good 1st issueGood for newcomers to the project; requires at least an introductory knowledge of the languageGood for newcomers to the project; requires at least an introductory knowledge of the languagepriority: lowSeverity level: 3Severity level: 3
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
Create `` to implement the PatternFly v6 Description list component.
Semantic `
` pattern for displaying term/value pairs with layout variants.
Source
Element
Status
PFE v4
--
--
cem
--
--
cockpit
--
--
chickadee
--
--
- MUST implement PFv6 visual designs
- MUST provide end-user feature parity with `@patternfly/react-core` DescriptionList
- MAY adjust element API to leverage web platform strengths
- SHOULD maintain CSS custom property theming compatibility
- SHOULD expose useful CSS shadow parts
- Must render as native `
- React `isHorizontal` - term and value side-by-side; map to `horizontal` attribute
- React `isAutoColumnWidths` - CSS grid auto column sizing
- React `isAutoFit` - auto-fit grid columns for responsive
- React `isCompact` - reduced spacing
- React `isFluid` - term width grows with content
- React `isFillColumns` - fill CSS grid columns vertically
- React `columnModifier`: `1Col`, `2Col`, `3Col` (+ responsive breakpoint variants) - CSS grid columns
- `DescriptionListTermHelpText` - term with help icon and tooltip; consider slot pattern
- `pf-v6-description-list-group` renders `
`, `pf-v6-description-list-term` renders `- `, `pf-v6-description-list-description` renders `
- ` - or slot-based
- API per `.claude/ADVICE.md`
- CSS uses v6 tokens, logical properties, nesting
- `@summary` and JSDoc on element class
- Renders semantic `
- Demos match patternfly.org naming/structure
- CSS custom properties match computed styles from patternfly.org (Chrome MCP)
- Visual parity verified via Chrome MCP
- Public API covered (attributes, properties, events, slots)
- `a11ySnapshot` assertions
- `/review-api` passes
- `/review-demos` passes
- `/review-a11y` passes
- `eslint` and `stylelint` pass
- Add changeset
- PR targets `staging/pfv6` (NOT `main`)
Prior Art
Requirements
Proposed API
Element-specific considerations
`/`- `/`
- ` for semantic correctness
Checklist
Implementation
`/`- `/`
- ` structure
Demos
Tests
Reviews
Ship