Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .changeset/smooth-webs-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
"@patternfly/elements": major
---

✨ Added `<pf-v6-banner>` replacing `<pf-v5-banner>`. Banner now follows
PatternFly v6 design specs.

```html
<pf-v6-banner status="info" screen-reader-text="Info banner">
Info banner content
</pf-v6-banner>
```

** Breaking Changes from v5 **

- Renamed tag from `<pf-v5-banner>` to `<pf-v6-banner>`
- `variant` attribute split into separate color and status attributes
- CSS custom properties renamed from `--pf-v5-c-banner--*` to `--pf-v6-c-banner--*`
- ✨ Added `color` attribute for decorative colors (red, orangered, orange, yellow,
green, teal, blue, purple)
- ✨ Added `status `attribute for semantic statuses (success, warning, danger, info,
custom)
- ✨ Added `screen-reader-text` attribute for visually-hidden accessible text
- Removed `variant` attribute (use color or status instead)
- Removed `icon` attribute and icon slot (compose icons in default slot)
- Removed container and icon CSS parts
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ core/pfe-core/demo/*

# AI
.claude/settings.local.json
.claude/worktrees

# Temp files
*~
Expand Down
60 changes: 0 additions & 60 deletions elements/pf-v5-banner/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions elements/pf-v5-banner/demo/index.html

This file was deleted.

40 changes: 0 additions & 40 deletions elements/pf-v5-banner/demo/status-banners.html

This file was deleted.

55 changes: 0 additions & 55 deletions elements/pf-v5-banner/demo/sticky.html

This file was deleted.

59 changes: 0 additions & 59 deletions elements/pf-v5-banner/docs/pf-v5-banner.md

This file was deleted.

Binary file removed elements/pf-v5-banner/docs/screenshot.png
Binary file not shown.
117 changes: 0 additions & 117 deletions elements/pf-v5-banner/pf-v5-banner.css

This file was deleted.

Loading
Loading