8000
Skip to content

Latest commit

Β 

History

History
299 lines (221 loc) Β· 11 KB

File metadata and controls

299 lines (221 loc) Β· 11 KB

Popover Attribute Polyfill Changelog

0.7.2: 2026-08-18

  • πŸ› BUGFIX: Improve compatibility with jsdom and happydom -- #291
  • 🏠 INTERNAL: Upgrade dependencies

0.7.1: 2026-07-09

  • πŸ› BUGFIX: Allow dot notation in layerName option -- #286
  • 🏠 INTERNAL: Upgrade dependencies

0.7.0: 2026-06-29

  • πŸš€ NEW: Add layerName option (see documentation) -- #283
  • πŸ“ DOCS: Document :where selector option -- #276
  • 🏠 INTERNAL: Pin node for Playwright support -- #284
  • 🏠 INTERNAL: Upgrade dependencies

0.6.1: 2025-06-26

  • πŸ› BUGFIX: Respect defaultPrevented in popovertarget click handler -- #251
  • πŸ“ DOCS: Add position notes -- #252
  • πŸ“ DOCS: Add example for backdrop -- #247
  • πŸ“ DOCS: Document browser support -- #250
  • 🏠 INTERNAL: Upgrade dependencies

0.6.0: 2025-05-02

  • πŸš€ NEW: Support for popover=hint -- #240
  • πŸš€ NEW: Support object options syntax for togglePopover and showPopover -- #243
  • πŸš€ NEW: Return showing status from togglePopover by @jamesnw -- #246
  • πŸ“ DOCS: Clean up styles for older browsers -- #236
  • 🏠 INTERNAL: Upgrade dependencies

0.5.2: 2024-11-20

  • πŸ“ DOCS: Add favicon, sponsor text, and new demo page URL -- #230
  • 🏠 INTERNAL: Upgrade dependencies

0.5.1: 2024-11-11

  • πŸ› BUGFIX: Fix setting el.popover = null -- #229
  • 🏠 INTERNAL: Upgrade dependencies

0.5.0: 2024-10-08

  • πŸ’₯ BREAKING: main entry point (used by require("@oddbird/popover-polyfill")) now points to the default build, which automatically applies the polyfill -- #223
  • πŸš€ NEW: Add CommonJS build -- #223
  • 🏠 INTERNAL: Upgrade dependencies

0.4.4: 2024-07-22

  • πŸ› 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

0.4.3: 2024-04-26

  • πŸ› BUGFIX: Check for window before applying polyfill -- #201
  • πŸ› BUGFIX: Expose injectStyles function -- #200

0.4.2: 2024-04-25

  • πŸ› BUGFIX: Fix support for dialog popovers -- #199
  • 🏠 INTERNAL: Upgrade dependencies

0.4.1: 2024-03-27

  • πŸš€ 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

0.4.0: 2024-02-08

  • πŸš€ NEW: Add support for CSS cascade layers -- #178
  • πŸ› BUGFIX: Ensure click events correctly cross out of shadow DOM -- #177
  • 🏠 INTERNAL: Upgrade dependencies

0.3.8: 2024-01-16

  • πŸ› BUGFIX: Allow synthetic click events to target popovers -- #170
  • 🏠 INTERNAL: Upgrade dependencies

0.3.7: 2023-12-07

  • πŸ› BUGFIX: Fix crash in Firefox with shadowed popovers -- #160
  • πŸ“ DOCS: Add better ESM use examples -- #161
  • 🏠 INTERNAL: Upgrade dependencies

0.3.6: 2023-12-01

  • πŸ› BUGFIX: Allow Esc to be preventable -- #158
  • πŸ“ DOCS: Add caveat about :host styles -- #157

0.3.5: 2023-11-29

  • πŸ› BUGFIX: Fix incorrect isFocusable result for ShadowRoot -- #155
  • πŸš€ NEW: Prepend default styles to lower specificity in the cascade -- #156

0.3.4: 2023-11-28

  • πŸš€ NEW: Wrap styles in :where() to lower specificity in the cascade -- #153

0.3.3: 2023-11-28

  • π 98DD Ÿ› BUGFIX: Check slotted content for autofocus delegate -- #150
  • 🏠 INTERNAL: Upgrade dependencies

0.3.2: 2023-11-13

  • πŸš€ NEW: Update TypeScript definitions to be compatible with v5 -- #146
  • 🏠 INTERNAL: Upgrade dependencies

0.3.1: 2023-10-28

  • πŸ› BUGFIX: Assign to adoptedStyleSheets rather than using push -- #141
  • 🏠 INTERNAL: Upgrade dependencies

0.3.0: 2023-10-19

  • πŸ’₯ BREAKING: Automatically inject styles from JS -- #137
  • 🏠 INTERNAL: Upgrade dependencies

0.2.3: 2023-09-18

  • πŸ’₯ BREAKING: Drop :open styles -- #128
  • πŸ“ DOCS: Fix link in README -- #108
  • 🏠 INTERNAL: Upgrade dependencies

0.2.2: 2023-06-06

  • πŸš€ NEW: Add support for older browsers, e.g. Firefox 91, Chrome ~80 -- #103
  • πŸ› BUGFIX: Do not error if querySelector APIs are invoked with null or undefined -- #105
  • 🏠 INTERNAL: Upgrade dependencies

0.2.1: 2023-05-17

  • πŸ› 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

0.2.0: 2023-04-04

  • πŸš€ NEW: Support for :popover-open pseudo selector, including a polyfill for JavaScript API methods (querySelector, querySelectorAll, matches, and closest) -- #84
  • πŸ› BUGFIX: Return null for disconnected elements -- #90
  • 🏠 INTERNAL: Upgrade dependencies

0.1.1: 2023-03-24

0.1.0: 2023-03-24

  • πŸ’₯ BREAKING: Drop support for popovertoggletarget, popovershowtarget and popoverhidetarget. These are now popovertarget and popovertargetaction.
  • πŸ’₯ BREAKING: Invalid popover attribute values now default to manual, meaning popover=invalid is, in fact, a valid popover.
  • The old BeforeToggleEvent has been replaced with ToggleEvent which has a type of 'beforetoggle' or 'toggle', and the old currentState is now oldState. newState remains the same.
  • 🏠 INTERNAL: Upgrade dependencies

0.0.11: 2023-03-15

  • πŸš€ NEW: Add support for Escape to dismiss auto popovers -- #82
  • πŸš€ NEW: Showing an auto popover closes other auto popovers -- #83
  • πŸš€ NEW: Add support for focus restoration on popover close -- #81
  • 🏠 INTERNAL: Upgrade dependencies

0.0.10: 2023-03-03

  • πŸš€ NEW: Add support for aria-expanded on invokers -- #77
  • 🏠 INTERNAL: Upgrade dependencies

0.0.9: 2023-02-03

  • πŸš€ NEW: Add support for JavaScript (IDL) reflections (e.g. popoverToggleTargetElement) -- #70
  • 🏠 INTERNAL: Upgrade dependencies

0.0.8: 2023-01-26

0.0.7: 2023-01-19

  • πŸ› BUGFIX: Fix display issue with native popups -- #64
  • πŸ› BUGFIX: Remove stopPropagation to allow handlers -- #63
  • 🏠 INTERNAL: Upgrade dependencies

0.0.6: 2023-01-17

0.0.5: 2023-01-14

  • πŸš€ 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

0.0.4: 2022-12-16

  • πŸ› BUGFIX: Fix event handling of buttons -- #40
  • 🏠 INTERNAL: Upgrade dependencies

0.0.3: 2022-11-15

  • πŸ’₯ BREAKING: Drop support for hint and defaultopen
  • πŸ“ DOCS: Improve documentation
  • 🏠 INTERNAL: Rename popup to popover
  • 🏠 INTERNAL: Upgrade dependencies

0.0.2: 2022-10-28

  • πŸ“ DOCS: Fix links in documentation

0.0.1: 2022-10-26

  • πŸŽ‰ Initial release
0