This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
[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"
withbackdrop="off"
- For React/JSX, replace
backdrop={true/false}
withbackdrop={'off'}
- core-dialog will print a
console.warn
when a custom ID is passed tobackdrop
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