Skip to content

Releases: patternfly/patternfly-elements

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Patch Changes

  • 6369ee0: load elementinternals polyfill in dev server
  • fb96c92: Added disabled property to a11y snapshot type
  • b841afe: tools: made a11ySnapshot helper a bit more ergonomic
  • 0fe6c52: Added constructible stylesheets polyfill to dev server
  • b841afe: tools: fixed demo server hamburger buttons

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Major Changes

  • 0f8e031: Implemented <pfe-tile> aligned with PatternFly v4

    <pfe-tile selected stacked="lg">
      <h3 slot="title">Selected</h3>
      <pfe-icon slot="icon" icon="plus"></pfe-icon>
      <p>
        Selected tiles use colour, borders, & position to indicate their state
      </p>
    </pfe-tile>

    Read more in the docs.

Patch Changes

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Major Changes

  • fb96c92: Makes some BaseTab properties abstract, simplifies shadow DOM

Patch Changes

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Major Changes

  • 0575288: Added <pfe-panel>, removing <pfe-band>.

Patch Changes

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Minor Changes

  • af005e2: Made abstract props color, icon, and variant optional, removed classes protected property in favour of composition, refactored shadow CSS

Patch Changes

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Major Changes

  • b841afe: FloatingDOMController: Removed popperjs dependency and replaced it with
    floating-ui dependency.

    • removed the initialized property
    • removed the create method
    • added show(options) method with placement and offset options.
    • added arrow, flip, padding, and shift options
    • added read-only alignment, anchor, placement, and styles properties.
    • made open property read-only.

    Now, FloatingDOMControllers constructor requires certain options, at least content, which is an HTMLElement or a function returning an HTMLElement.

    Before:

    class MyElement extends LitElement {
      #floating = new FloatingDOMController(this);
    }

    After:

    class MyElement extends LitElement {
      #floating = new FloatingDOMController(this, {
        content: () => this.shadowRoot.getElementById('content');
      });
    }

Minor Changes

  • 0fe6c52: Added options to InternalsController. Use them to initialize ARIA
    properties.

      role: 'listbox',
    });
  • 0fe6c52: InternalsController: hook into host's formDisabledCallback

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Major Changes

  • 0af091a: Renamed <pfe-codeblock> to <pfe-code-block> and brought it into line with PatternFly v4 specs.

Patch Changes

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Major Changes

  • e101980: Renamed <pfe-clipboard> to <pfe-clipboard-copy>. See the docs for more info.

Patch Changes

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Patch Changes

@patternfly/[email protected]

05 Jan 19:57
3a65adf

Choose a tag to compare

Pre-release

Patch Changes