Releases: patternfly/patternfly-elements
@patternfly/pfe-tools@7.0.0
@patternfly/pfe-core@6.0.0
Major Changes
- bd4397a:
CascadeControllerand@cascadesdecorator are removed. Use@lit/contextinstead for sharing data between parent and child elements.
SlotController.anonymousis removed. UseSlotController.defaultinstead.
Patch Changes
@patternfly/elements@5.0.0
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.
Patch Changes
@patternfly/pfe-core@5.0.8
Patch Changes
- 7e31427:
SlotController: fixedgetSlotted()returning empty arrays in
certain timing scenarios.
@patternfly/elements@4.4.0
Minor Changes
-
c3cef09:
pf-label: added link variant. Set thehrefattribute to render the
label text as a clickable link. On hover, the label border thickens
and changes color to indicate interactivity. -
1377f14: Added
<pf-label-group>.A label group is a collection of labels that can be grouped by category
and used to represent one or more values assigned to a single attribute.
When the number of labels exceeds the configured limit, additional labels
are hidden under an overflow indicator.<pf-label-group> <span slot="category">Filters</span> <pf-label removable>Security</pf-label> <pf-label removable>Performance</pf-label> <pf-label removable>Networking</pf-label> </pf-label-group>
Patch Changes
- cc84a12:
<pf-back-to-top>: fixed background color during hover and focus. - a060b8b:
<pf-popover>: clicking outside a popover no longer fires spurious
hide events on other closed popovers. - 2d894f1:
<pf-select>: replaced Red Hat Design System color tokens with PatternFly v4 global tokens. - b057f87:
npm run startno longer fails when TypeScript build artifacts
are present in the working tree. - 2a45088:
<pf-switch>: the switch now has a proper static accessible label
independent of its on/off state text. - 783686a:
<pf-table>: fix accessibility features: column header role, accessible label for row toggle button, etc. - 6b3031b:
<pf-jump-links>: improve screen reader accessibility by labeling the navigation landmark element - 6614695:
<pf-tabs>: scroll event listeners are now passive for better performance. - Updated dependencies [7e31427]
- @patternfly/pfe-core@5.0.8
@patternfly/create-element@1.0.6
@patternfly/pfe-core@5.0.7
Patch Changes
-
ca65338:
ScrollSpyController: fix race conditions on rapid and smooth scroll navigation- Fix rapid clicks leaving stale force-release listeners that caused the active
state to fall "one click behind" - Release force on
scrollendinstead of first IntersectionObserver callback,
preventing intermediate sections from stealing active state during smooth scroll - Sort passed links by DOM order instead of Set insertion order, fixing incorrect
active state with non-contiguous content sections
- Fix rapid clicks leaving stale force-release listeners that caused the active
@patternfly/pfe-core@5.0.6
Patch Changes
-
ec6b358:
ATFocusController: fix keyboard focus wrapping and dynamic item support- Fix arrow up/down focus wrapping when a non-focusable placeholder occupies
index 0 (e.g. a disabled "Select a value" option) - Fix dynamically added options not receiving keyboard focus until the listbox
is reopened
- Fix arrow up/down focus wrapping when a non-focusable placeholder occupies
@patternfly/elements@4.3.1
@patternfly/pfe-tools@6.0.1
Patch Changes
- 135ecf6: React Wrappers Generator: skip module that have no exports