Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
Compare
Choose a tag to compare
@skjalgepalg skjalgepalg released this 29 Sep 13:45
· 293 commits to master since this release

[email protected]

Breaking

  • Changed signature on backdrop-attribute
    • Replaces boolean true/false or "custom-ID" with "on", "off" or "custom-ID"

Migration guide

  • For plain JS, replace use of backdrop="false" with backdrop="off"
  • For React/JSX, replace backdrop={true/false} with backdrop={'off'}
  • core-dialog will print a console.warn when a custom ID is passed to backdrop and no matching element is found

Fixes

  • backdrop now renders as an HTML-attribute on the underlying custom-element for more consistent behavior.

Docs

  • Simplified examples by removing bloat
  • Added matching examples for plain JS and React/JSX
  • Examples now use type="button" in buttons

Full Changelog: v7.3.0...v8.0.0