Skip to content

Commit 4c88241

Browse files
heyMPbennypowers
authored andcommitted
chore: temporary fix for release pipeline
1 parent f66ba58 commit 4c88241

File tree

1 file changed

+1
-60
lines changed

1 file changed

+1
-60
lines changed

.changeset/context-controller-cavalcade.md

Lines changed: 1 addition & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -27,63 +27,4 @@
2727
"@patternfly/pfe-toast": patch
2828
---
2929

30-
### BREAKING CHANGES:
31-
- Renames `ContextTheme` type to `ColorTheme`
32-
- Renames `ColorTheme` type to `ColorPalette`
33-
- Moves both of the above from `core.ts` to `controllers/color-context.ts`
34-
- Moves `controllers/color-context-controller.ts` to `controllers/color-context.ts`
35-
- Removes `ColorContextController` (see below)
36-
- Deprecates `color` attribute in favour of `color-palette`.
37-
use `color-palette` instead or set `--context` css custom property
38-
`color` will still be supported in `pfe-card` and `pfe-band`, but they are deprecated,
39-
and a warning will print to the console when `color` is used.
40-
Explicitly affects `pfe-band`, `pfe-card`, `pfe-jump-links`, and `pfe-modal` (see below)
41-
Before:
42-
```html
43-
<pfe-band color="darkest">...</pfe-band>
44-
```
45-
46-
After:
47-
```html
48-
<pfe-band color-palette="darkest">...</pfe-band>
49-
```
50-
- Removes `pfe-contexts` mixin from `pfe-sass`, use controllers or decorators instead
51-
- Removes `pfe-accordion--expanded` mixin from `pfe-sass`, and inlines it
52-
- Removes `context` attribute,
53-
Before;
54-
```html
55-
<pfe-modal context="dark">
56-
<pfe-card color="lightest">...</pfe-card>
57-
</pfe-modal>
58-
```
59-
60-
After:
61-
```html
62-
<pfe-modal color-palette="darkest">
63-
<pfe-card color-palette="lightest">...</pfe-card>
64-
</pfe-modal>
65-
66-
<pfe-modal style="--context: dark;">
67-
<strong>🚨 Warning!</strong> May cause accessibility problems!
68-
</pfe-modal>
69-
```
70-
71-
### Fixes
72-
- Fixes animation timings in pfe-accordion on browsers which don't support `computedStyleMap`
73-
- Fixes context styles for slotted CTAs (provided `pfe.min.css` is loaded)
74-
- Fixes padding in `pfe-band` and simplifies the CSS
75-
- Restores reload-on-save function to dev server
76-
- Makes `pfe-clipboard` strictly a colour context consumer
77-
- Makes `pfe-button` strictly a colour context consumer
78-
- Makes `pfe-accordion` both a colour context consumer and provider,
79-
but makes `pfe-accordion-header` and `pfe-accordion-panel` strictly consumers
80-
81-
### New Features:
82-
83-
- Adds `ColorContextProvider` and `ColorContextConsumer` controllers
84-
- Adds `@colorContextProvider` and `@colorContextConsumer` decorators
85-
- Adds `@deprecation` decorator
86-
- Adds `className` and `attribute` options to `@pfelement` decorator
87-
- Adds global (light DOM) link styling to `pfe.min.css`
88-
- Adds `color-palette` support to `<pfe-modal>`
89-
- Adds preliminary color context support to `<pfe-button>`
30+
[View commit message here](https://gist.github.com/heyMP/200fc0b840690541475923facba393ab)

0 commit comments

Comments
 (0)