| @patternfly/elements | major |
|---|
<pf-v6-banner>: replaces <pf-v5-banner> with PatternFly v6 design specs.
<pf-v6-banner status="info">
<span class="pf-v6-screen-reader">Info alert:</span>
Info banner content
</pf-v6-banner>Breaking Changes from v5
- Renamed tag from
<pf-v5-banner>to<pf-v6-banner> variantattribute split into separatecolorandstatusattributes- CSS custom properties renamed from
--pf-v5-c-banner--*to--pf-v6-c-banner--* - Removed
iconattribute andiconslot (compose icons in default slot) - Removed
containerandiconCSS parts
New features
colorattribute for decorative colors (red, orangered, orange, yellow, green, teal, blue, purple)statusattribute for semantic statuses (success, warning, danger, info, custom)