Skip to content

Commit d446c5d

Browse files
committed
chore(background-image): add changeset
1 parent 61f2463 commit d446c5d

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.changeset/humble-cycles-rest.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"@patternfly/elements": major
3+
---
4+
5+
✨ Added `<pf-v6-background-image>` replacing `<pf-v5-background-image>`. Background image now follows
6+
PatternFly v6 design specs.
7+
8+
```html
9+
<pf-v6-background-image src="/path/to/image.jpg"></pf-v6-background-image>
10+
```
11+
12+
** Breaking Changes from v5 **
13+
14+
- Renamed tag from `<pf-v5-background-image>` to `<pf-v6-background-image>`
15+
- ✨ Added v6 design tokens and RTL support via :dir(rtl)
16+
- ✨ Added `aria-hidden` for screen reader compliance
17+
- CSS custom properties renamed from `--pf-v5-c-background-image--*` to `--pf-v6-c-background-image--*`
18+
- Removed `src-2x`, `src-sm`, `src-sm-2x`, `src-lg` responsive source attributes (use CSS custom properties or media queries instead)
19+
- Removed `filter` boolean attribute
20+
- `src` no longer reflects to attribute

0 commit comments

Comments
 (0)