Skip to content

Commit f7ae83f

Browse files
committed
docs: update changesets
1 parent cd55e46 commit f7ae83f

File tree

3 files changed

+23
-38
lines changed

3 files changed

+23
-38
lines changed

.changeset/breezy-bikes-smell.md

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

.changeset/pf-clipboard-copy.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
"@patternfly/elements": major
3+
---
4+
5+
Removed `<pfe-clipboard>` and added `<pf-clipboard-copy>`.
6+
7+
- Removed `--pfe-*` CSS custom properties in favour of `--pf-*` ones. See [PFv4][PFv4] docs.
8+
9+
### Breaking Changes
10+
11+
- `role="button"` and `tabindex=0` attributes must *no longer* be applied to
12+
`<pf-clipboard-copy>`, make sure all instances on your page are updated
13+
```diff
14+
- <pfe-clipboard role="button" tabindex="0"></pfe-clipboard>
15+
+ <pf-clipboard-copy>Copy this</pf-clipboard-copy>
16+
```
17+
18+
There are more changes than these, including breaking changes. See the [docs][docs] for more info.
19+
20+
[docs]: https://patternflyelements.org/components/clipboard-copy/
21+
[PFv4]: https://patternfly.org/v4/
22+

.changeset/pre.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"pf-avatar",
5555
"pf-badge",
5656
"blue-emus-draw",
57-
"breezy-bikes-smell",
57+
"pf-clipboard-copy",
5858
"breezy-melons-sell",
5959
"breezy-steaks-melt",
6060
"brown-goats-pay",

0 commit comments

Comments
 (0)