File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @patternfly/elements " : major
3+ ---
4+
5+ ✨ Added ` <pf-v6-helper-text> ` replacing ` <pf-v5-helper-text> ` . Helper text now follows
6+ PatternFly v6 design specs.
7+
8+ ``` html
9+ <pf-v6-helper-text variant =" error" has-icon >Password is too short</pf-v6-helper-text >
10+ ```
11+
12+ ** Breaking Changes from v5**
13+
14+ - Renamed tag from ` <pf-v5-helper-text> ` to ` <pf-v6-helper-text> `
15+ - Update bare module import to point to v6: ` import '@patternfly/elements/pf-v6-helper-text/pf-v6-helper-text.js' `
16+ - ✨ Added ` has-icon ` boolean attribute for opt-in default variant icons
17+ - ✨ Added ` dynamic ` boolean attribute for dynamic validation contexts
18+ - ✨ Added ` screen-reader-text ` attribute for custom assistive announcements
19+ - ✨ Added ` icon ` slot for custom icon markup (replaces ` icon ` and ` icon-set ` attributes)
20+ - ✨ Added ` icon ` and ` text ` CSS parts
21+ - ✨ Added ` color-scheme ` support via ` light-dark() `
22+ - ✨ Added v6 design tokens
23+ - CSS custom properties renamed from ` --pf-v5-c-helper-text--* ` to ` --pf-v6-c-helper-text--* `
24+ - Removed ` icon ` attribute (use ` has-icon ` for default icons or ` icon ` slot for custom)
25+ - Removed ` icon-set ` attribute
26+ - Removed dependency on ` <pf-v5-icon> ` (uses inline SVG icons)
You can’t perform that action at this time.
0 commit comments