Skip to content

Commit 8a916d6

Browse files
authored
Merge 400cdc4 into 8fedd86
2 parents 8fedd86 + 400cdc4 commit 8a916d6

18 files changed

Lines changed: 427 additions & 526 deletions

.changeset/smooth-webs-travel.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-banner>` replacing `<pf-v5-banner>`. Banner now follows
6+
PatternFly v6 design specs.
7+
8+
```html
9+
<pf-v6-banner status="info" screen-reader-text="Info banner">
10+
Info banner content
11+
</pf-v6-banner>
12+
```
13+
14+
** Breaking Changes from v5 **
15+
16+
- Renamed tag from `<pf-v5-banner>` to `<pf-v6-banner>`
17+
- `variant` attribute split into separate color and status attributes
18+
- CSS custom properties renamed from `--pf-v5-c-banner--*` to `--pf-v6-c-banner--*`
19+
- ✨ Added `color` attribute for decorative colors (red, orangered, orange, yellow,
20+
green, teal, blue, purple)
21+
- ✨ Added `status `attribute for semantic statuses (success, warning, danger, info,
22+
custom)
23+
- ✨ Added `screen-reader-text` attribute for visually-hidden accessible text
24+
- Removed `variant` attribute (use color or status instead)
25+
- Removed `icon` attribute and icon slot (compose icons in default slot)
26+
- Removed container and icon CSS parts

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ core/pfe-core/demo/*
105105

106106
# AI
107107
.claude/settings.local.json
108+
.claude/worktrees
108109

109110
# Temp files
110111
*~

elements/pf-v5-banner/README.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

elements/pf-v5-banner/demo/index.html

Lines changed: 0 additions & 15 deletions
This file was deleted.

elements/pf-v5-banner/demo/status-banners.html

Lines changed: 0 additions & 40 deletions
This file was deleted.

elements/pf-v5-banner/demo/sticky.html

Lines changed: 0 additions & 55 deletions
This file was deleted.

elements/pf-v5-banner/docs/pf-v5-banner.md

Lines changed: 0 additions & 59 deletions
This file was deleted.
-11.2 KB
Binary file not shown.

elements/pf-v5-banner/pf-v5-banner.css

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)