- 📝 DOCS: Add favicon, sponsor text, and new demo page URL -- #230
- 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Fix setting
el.popover = null
-- #229 - 🏠 INTERNAL: Upgrade dependencies
- 💥 BREAKING:
main
entry point (used byrequire("@oddbird/popover-polyfill")
) now points to the default build, which automatically applies the polyfill -- #223 - 🚀 NEW: Add CommonJS build -- #223
- 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Add support for slotting elements into popovers -- #215
- 📝 DOCS: Expand and style the demo page -- #187
- 🏠 INTERNAL: Add issue templates, Code of Conduct, and Security policies -- #206 and #207
- 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Check for
window
before applying polyfill -- #201 - 🐛 BUGFIX: Expose
injectStyles
function -- #200
- 🐛 BUGFIX: Fix support for
dialog
popovers -- #199 - 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Add
isPolyfilled
method to check if polyfill is applied -- #193 - 🐛 BUGFIX: Support environments (e.g. SSR) that don't have
window
-- #194 - 🐛 BUGFIX: Support nested popovers inside shadow DOM -- #190
- 📝 DOCS: Add note about FOUC workarounds -- #182
- 🏠 INTERNAL: Switch to Dependabot for dependency updates
- 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Add support for CSS cascade layers -- #178
- 🐛 BUGFIX: Ensure click events correctly cross out of shadow DOM -- #177
- 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Allow synthetic click events to target popovers -- #170
- 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Fix crash in Firefox with shadowed popovers -- #160
- 📝 DOCS: Add better ESM use examples -- #161
- 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Fix incorrect
isFocusable
result forShadowRoot
-- #155 - 🚀 NEW: Prepend default styles to lower specificity in the cascade -- #156
- 🚀 NEW: Wrap styles in
:where()
to lower specificity in the cascade -- #153
- 🐛 BUGFIX: Check slotted content for autofocus delegate -- #150
- 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Update TypeScript definitions to be compatible with v5 -- #146
- 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Assign to
adoptedStyleSheets
rather than usingpush
-- #141 - 🏠 INTERNAL: Upgrade dependencies
- 💥 BREAKING: Automatically inject styles from JS -- #137
- 🏠 INTERNAL: Upgrade dependencies
- 💥 BREAKING: Drop
:open
styles -- #128 - 📝 DOCS: Fix link in README -- #108
- 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Add support for older browsers, e.g. Firefox 91, Chrome ~80 -- #103
- 🐛 BUGFIX: Do not error if
querySelector
APIs are invoked withnull
orundefined
-- #105 - 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Fix infinite loop for removed popovers -- #99
- 🐛 BUGFIX: Expose CSS entry point as
@oddbird/popover-polyfill/css
and@oddbird/popover-polyfill/dist/popover.css
- 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Support for
:popover-open
pseudo selector, including a polyfill for JavaScript API methods (querySelector
,querySelectorAll
,matches
, andclosest
) -- #84 - 🐛 BUGFIX: Return
null
for disconnected elements -- #90 - 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Fix regression when targets have nested elements -- #88
- 📝 DOCS: Add demo site: https://popover.oddbird.net/
- 💥 BREAKING: Drop support for
popovertoggletarget
,popovershowtarget
andpopoverhidetarget
. These are nowpopovertarget
andpopovertargetaction
. - 💥 BREAKING: Invalid popover attribute values now default to manual, meaning
popover=invalid
is, in fact, a valid popover. - The old
BeforeToggleEvent
has been replaced withToggleEvent
which has a type of'beforetoggle'
or'toggle'
, and the oldcurrentState
is nowoldState
.newState
remains the same. - 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Add support for Escape to dismiss auto popovers -- #82
- 🚀 NEW: Showing an
auto
popover closes otherauto
popovers -- #83 - 🚀 NEW: Add support for focus restoration on popover close -- #81
- 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Add support for
aria-expanded
on invokers -- #77 - 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Add support for JavaScript (IDL) reflections (e.g.
popoverToggleTargetElement
) -- #70 - 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Add support for new
beforetoggle
event -- #68 - 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Fix display issue with native popups -- #64
- 🐛 BUGFIX: Remove
stopPropagation
to allow handlers -- #63 - 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Update CSS to align closer to Chrome's user-agent CSS -- #60
- 🏠 INTERNAL: Upgrade dependencies
- 🚀 NEW: Support popovers in shadow roots -- #49
- 🚀 NEW: Use system text and background colors -- #55, #56
- 📝 DOCS: Include CSS in CDN section -- #52
- 🏠 INTERNAL: Upgrade dependencies
- 🐛 BUGFIX: Fix event handling of buttons -- #40
- 🏠 INTERNAL: Upgrade dependencies
- 💥 BREAKING: Drop support for
hint
anddefaultopen
- 📝 DOCS: Improve documentation
- 🏠 INTERNAL: Rename popup to popover
- 🏠 INTERNAL: Upgrade dependencies
- 📝 DOCS: Fix links in documentation
- 🎉 Initial release