close
Skip to content

Releases: patternfly/patternfly-elements

@patternfly/pfe-tools@7.0.0

03 May 11:52
029229c

Choose a tag to compare

Major Changes

  • 74318a1: Test Runner: migrate config from playwright-backed to puppeteer.

    Transitive dependencies have changed, so if your test files relied on playwright imports,
    you'll need to update them.

Patch Changes

  • 73b2389: Corrected usage of config for tagPrefix in DocsPage for alias

@patternfly/pfe-core@6.0.0

03 May 11:52
029229c

Choose a tag to compare

Major Changes

  • bd4397a: CascadeController and @cascades decorator are removed. Use @lit/context instead for sharing data between parent and child elements.
    SlotController.anonymous is removed. Use SlotController.default instead.

Patch Changes

  • 6d1520a: FloatingDOMController: support usage within iframes
  • 3a64fd3: InternalsController: allows accessibility auditing tools to access element internals.

@patternfly/elements@5.0.0

03 May 11:52
029229c

Choose a tag to compare

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>: the close-label attribute and closeButtonLabel property are removed. Use accessible-close-label instead.

    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

  • Updated dependencies [bd4397a]
  • Updated dependencies [6d1520a]
  • Updated dependencies [3a64fd3]
    • @patternfly/pfe-core@6.0.0

@patternfly/pfe-core@5.0.8

16 Apr 16:20
282a01a

Choose a tag to compare

Patch Changes

  • 7e31427: SlotController: fixed getSlotted() returning empty arrays in
    certain timing scenarios.

@patternfly/elements@4.4.0

16 Apr 16:20
282a01a

Choose a tag to compare

Minor Changes

  • c3cef09: pf-label: added link variant. Set the href attribute 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 start no 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

16 Apr 16:20
282a01a

Choose a tag to compare

Patch Changes

  • 3935154: Fixed missing files in published package that prevented npm run new from working
  • 5e1764b: Fixed missing entry point in published package.

@patternfly/pfe-core@5.0.7

08 Mar 23:53
cb10fea

Choose a tag to compare

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 scrollend instead 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

@patternfly/pfe-core@5.0.6

10 Feb 19:27
8b88e14

Choose a tag to compare

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

@patternfly/elements@4.3.1

10 Feb 19:27
8b88e14

Choose a tag to compare

Patch Changes

  • ec6b358: <pf-select>: don't steal browser focus on page load, and improve keyboard accessibility of the listbox.
  • Updated dependencies [ec6b358]
    • @patternfly/pfe-core@5.0.6

@patternfly/pfe-tools@6.0.1

07 Jan 14:14
f43c1bc

Choose a tag to compare

Patch Changes

  • 135ecf6: React Wrappers Generator: skip module that have no exports