Skip to content

Commit 205eb07

Browse files
committed
chore(helper-text): add changeset
1 parent 3b3815d commit 205eb07

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.changeset/kind-lions-help.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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)

0 commit comments

Comments
 (0)