@patternfly/elements@5.0.0
·
2 commits
to main
since this release
Major Changes
-
73b2389: Removed the bundled entrypoint (
pfe.min.js). Import individual
elements directly instead, e.g.import '@patternfly/elements/pf-button/pf-button.js'.The bundled entrypoint caused custom element double-registration issues
and is not recommended for production use. -
bd4397a:
<pf-popover>: theclose-labelattribute andcloseButtonLabelproperty are removed. Useaccessible-close-labelinstead.Before:
<pf-popover close-label="close"></pf-popover>
After:
<pf-v5-popover accessible-close-label="close"></pf-v5-popover>
-
73b2389: All elements are now versioned with a
pf-v5-prefix.This is a breaking change. Update your HTML to use the new element names,
e.g.<pf-button>becomes<pf-v5-button>,<pf-accordion>becomes
<pf-v5-accordion>, etc.CSS custom properties are also renamed from
--pf-c-*to--pf-v5-c-*.
Global tokens (--pf-global--*) are unchanged.