| @patternfly/elements | major |
|---|
✨ Added <pf-v6-helper-text> replacing <pf-v5-helper-text>. Helper text now follows
PatternFly v6 design specs.
<pf-v6-helper-text variant="error" has-icon>Password is too short</pf-v6-helper-text>Breaking Changes from v5
- Renamed tag from
<pf-v5-helper-text>to<pf-v6-helper-text> - Update bare module import to point to v6:
import '@patternfly/elements/pf-v6-helper-text/pf-v6-helper-text.js' - ✨ Added
has-iconboolean attribute for opt-in default variant icons - ✨ Added
dynamicboolean attribute for dynamic validation contexts - ✨ Added
screen-reader-textattribute for custom assistive announcements - ✨ Added
iconslot for custom icon markup (replacesiconandicon-setattributes) - ✨ Added
iconandtextCSS parts - ✨ Added
color-schemesupport vialight-dark() - ✨ Added v6 design tokens
- CSS custom properties renamed from
--pf-v5-c-helper-text--*to--pf-v6-c-helper-text--* - Removed
iconattribute (usehas-iconfor default icons oriconslot for custom) - Removed
icon-setattribute - Removed dependency on
<pf-v5-icon>(uses inline SVG icons)