@patternfly/pfe-core | @patternfly/pfe-sass | @patternfly/pfe-styles | @patternfly/pfe-accordion | @patternfly/pfe-band | @patternfly/pfe-button | @patternfly/pfe-card | @patternfly/pfe-clipboard | @patternfly/pfe-collapse | @patternfly/pfe-cta | @patternfly/pfe-datetime | @patternfly/pfe-dropdown | @patternfly/pfe-health-index | @patternfly/pfe-icon-panel | @patternfly/pfe-icon | @patternfly/pfe-jump-links | @patternfly/pfe-label | @patternfly/pfe-markdown | @patternfly/pfe-modal | @patternfly/pfe-number | @patternfly/pfe-page-status | @patternfly/pfe-progress-indicator | @patternfly/pfe-readtime | @patternfly/pfe-select | @patternfly/pfe-tabs | @patternfly/pfe-toast |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
major |
major |
minor |
major |
major |
patch |
major |
patch |
minor |
major |
patch |
patch |
patch |
patch |
patch |
major |
patch |
patch |
major |
patch |
patch |
patch |
patch |
patch |
patch |
patch |
-
Renames
ContextTheme
type toColorTheme
-
Renames
ColorTheme
type toColorPalette
-
Moves both of the above from
core.ts
tocontrollers/color-context.ts
-
Moves
controllers/color-context-controller.ts
tocontrollers/color-context.ts
-
Removes
ColorContextController
(see below) -
Deprecates
color
attribute in favour ofcolor-palette
. usecolor-palette
instead or set--context
css custom propertycolor
will still be supported inpfe-card
andpfe-band
, but they are deprecated, and a warning will print to the console whencolor
is used. Explicitly affectspfe-band
,pfe-card
,pfe-jump-links
, andpfe-modal
(see below)
Before:<pfe-band color="darkest">...</pfe-band>
After:
<pfe-band color-palette="darkest">...</pfe-band>
-
Removes
pfe-contexts
mixin frompfe-sass
, use controllers or decorators instead -
Removes
pfe-accordion--expanded
mixin frompfe-sass
, and inlines it -
Removes
context
attribute, Before;<pfe-modal context="dark"> <pfe-card color="lightest">...</pfe-card> </pfe-modal>
After:
<pfe-modal color-palette="darkest"> <pfe-card color-palette="lightest">...</pfe-card> </pfe-modal> <pfe-modal style="--context: dark;"> <strong>🚨 Warning!</strong> May cause accessibility problems! </pfe-modal>
- Fixes animation timings in pfe-accordion on browsers which don't support
computedStyleMap
- Fixes context styles for slotted CTAs (provided
pfe.min.css
is loaded) - Fixes padding in
pfe-band
and simplifies the CSS - Restores reload-on-save function to dev server
- Makes
pfe-clipboard
strictly a colour context consumer - Makes
pfe-button
strictly a colour context consumer - Makes
pfe-accordion
both a colour context consumer and provider, but makespfe-accordion-header
andpfe-accordion-panel
strictly consumers
- Adds
ColorContextProvider
andColorContextConsumer
controllers - Adds
@colorContextProvider
and@colorContextConsumer
decorators - Adds
@deprecation
decorator - Adds
className
andattribute
options to@pfelement
decorator - Adds global (light DOM) link styling to
pfe.min.css
- Adds
color-palette
support to<pfe-modal>
- Adds preliminary color context support to
<pfe-button>