Skip to content

Releases: patternfly/patternfly-elements

@patternfly/[email protected]

19 Aug 09:53
1ed25fb
Compare
Choose a tag to compare

Patch Changes

  • f35d4fa: Adjust dev server for new cem output

@patternfly/[email protected]

19 Aug 09:53
1ed25fb
Compare
Choose a tag to compare

Minor Changes

  • bd40a73: ✨ Added <pf-search-input>.

    A search input consists of a text field where users can type to find specific content or items. Unlike selects or dropdowns, which offer predefined options, a search input lets users enter their own keywords to filter or locate results. It includes a clear (×) button to easily remove the current input, allowing users to start a new search quickly.

    Use this when users need to search freely using their own terms — ideal for large or frequently changing sets of content.
    Do not use when the options are limited and known ahead of time — consider a dropdown or select instead

    <pf-search-input>
      <pf-option value="Alabama"> Alabama </pf-option>
      <pf-option value="New Jersey"> New Jersey </pf-option>
      <pf-option value="New York"> New York </pf-option>
      <pf-option value="New Mexico"> New Mexico </pf-option>
      <pf-option value="North Carolina"> North Carolina </pf-option>
    </pf-search-input>

Patch Changes

  • f35d4fa: Use inline slot documentation instead of JSDoc
  • d36adee: <pf-tooltip>: hide content when copy/pasting tooltip elements

@patternfly/[email protected]

20 Jul 06:16
c658b80
Compare
Choose a tag to compare

Patch Changes

  • b2747c0: Dev Server: trailing slashes for demo paths

@patternfly/[email protected]

18 Jul 06:17
49de365
Compare
Choose a tag to compare

Patch Changes

  • 9066f4a: Fix the manifest helper's demo filePath field.

@patternfly/[email protected]

16 Jul 12:07
6c1eba7
Compare
Choose a tag to compare

Patch Changes

  • 0b2d895: Restored custom-elements-manifest/custom-elements-manifest.js export, which was mistakenly removed

@patternfly/[email protected]

16 Jul 11:27
ef900df
Compare
Choose a tag to compare

Major Changes

  • 2cf37ca: Removes the (previously deprecated) @custom-elements-manifest/analyzer config. Instead, use @pwrs/cem. See PR #2912 for an example of how to migrate an npm monorepo.

@patternfly/[email protected]

16 Jul 11:27
ef900df
Compare
Choose a tag to compare

Patch Changes

  • 2cf37ca: InternalsController: add ariaRelevant property

@patternfly/[email protected]

25 May 04:44
4920a43
Compare
Choose a tag to compare

Patch Changes

  • ce5b27b: SlotController: correctly report the state of the default slot in isEmpty() calls with no arguments

@patternfly/[email protected]

10 Apr 20:45
8020937
Compare
Choose a tag to compare

Patch Changes

  • fefd8bb: SlotController: correctly report slot content after updating

@patternfly/[email protected]

07 Apr 14:43
61ead0f
Compare
Choose a tag to compare

Major Changes

  • 0277045: Enable connectedCallback() and context protocol in SSR scenarios.

    BREAKING CHANGE
    This change affects any element which is expected to execute in node JS when
    lit-ssr shims are present. By enabling the connectedCallback() to execute
    server side. Elements must ensure that their connectedCallbacks do not try to
    access the DOM.

    Before:

    connectedCallback() {
      super.connectedCallback();
      this.items = [...this.querySelectorAll('my-item')];
    }

    After:

    connectedCallback() {
      super.connectedCallback();
      if (!isServer) {
        this.items = isServer ? [] : [...this.querySelectorAll('my-item')];
      }
    }

Minor Changes

  • 8b5b699: SSR: added ssr-hint-has-slotted and ssr-hint-has-slotted-default attributes to elements that use slot controller.

    When running SSR on elements with slots, add these attributes to ensure they render correctly.

    <pf-card ssr-hint-has-slotted-default
             ssr-hint-has-slotted="header,footer">
      <h2 slot="header">Header Content</h2>
      <p>Default content</p>
      <span slot="footer">Footer Content</span>
    </pf-card>

Patch Changes

  • a2f3254: ScrollSpyController: respond to hashchange events