sp-overlay

Overview API Changelog

Changelog

Minor Changes

Section titled Minor Changes
  • #5477 a646ae8 Thanks @Rajdeepc! - Fixed : Overlays (like pickers and action menus) were incorrectly closing when scrolling occurred within components. The fix ensures the handleScroll method in OverlayStack only responds to document/body scrolling events and ignores component-level scrolling events, which was the original intention.

Patch Changes

Section titled Patch Changes
  • Updated dependencies [c1669d2]:
    • @spectrum-web-components/action-button@1.7.0
    • @spectrum-web-components/theme@1.7.0
    • @spectrum-web-components/base@1.7.0
    • @spectrum-web-components/reactive-controllers@1.7.0
    • @spectrum-web-components/shared@1.7.0

1.6.0

Section titled 1.6.0

Patch Changes

Section titled Patch Changes
  • #5392 53f3769 Thanks @TarunAdobe! - Fixed layout issues in Safari when an sp-tray is nested inside a dialog-type sp-overlay.

  • Updated dependencies []:

    • @spectrum-web-components/action-button@1.6.0
    • @spectrum-web-components/theme@1.6.0
    • @spectrum-web-components/base@1.6.0
    • @spectrum-web-components/reactive-controllers@1.6.0
    • @spectrum-web-components/shared@1.6.0

1.5.0

Section titled 1.5.0

Minor Changes

Section titled Minor Changes
  • #5308 8f8735c Thanks @Rajdeepc! - prevent overlay close on document scroll

Patch Changes

Section titled Patch Changes
  • Updated dependencies [6c58f50]:
    • @spectrum-web-components/action-button@1.5.0
    • @spectrum-web-components/theme@1.5.0
    • @spectrum-web-components/base@1.5.0
    • @spectrum-web-components/reactive-controllers@1.5.0
    • @spectrum-web-components/shared@1.5.0

1.4.0

Section titled 1.4.0

Minor Changes

Section titled Minor Changes
  • #5223 46cd782 Thanks @Rajdeepc! - Removed pointer-events:none from the slot-trigger under overlay-trigger to disable the overlay content and not the trigger element.

  • #5248 70f5f6f Thanks @Rajdeepc! - overlay type auto stays open when interacting with elements inside

Patch Changes

Section titled Patch Changes
  • Updated dependencies [72dbe62]:
    • @spectrum-web-components/action-button@1.4.0
    • @spectrum-web-components/theme@1.4.0
    • @spectrum-web-components/base@1.4.0
    • @spectrum-web-components/reactive-controllers@1.4.0
    • @spectrum-web-components/shared@1.4.0

1.3.0

Section titled 1.3.0

Patch Changes

Section titled Patch Changes
  • #5176 468314f Thanks @TarunAdobe! - 1. chore(checkbox): updated to latest css v10.1.1 for s2 fast follow

    1. chore(dialog): The error property was not properly deprecated with a full migration plan in place. This has caused confusion and false sense of urgency for consumers to migrate. We are removing it to eliminate those pain points for consumers while we take a deep look at our dialogs and patterns.
    2. chore(menu): updated to latest css v9.1.1 for s2 fast follow
    3. fix(overlay): sp-overlay with type="manual" should close on pressing ESC key. When the last item is on overlay stack we are triggering the close method on esc key event.
  • Updated dependencies [ea38ef0]:

    • @spectrum-web-components/reactive-controllers@1.3.0
    • @spectrum-web-components/action-button@1.3.0
    • @spectrum-web-components/base@1.3.0
    • @spectrum-web-components/shared@1.3.0
    • @spectrum-web-components/theme@1.3.0

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.2.0 (2025-02-27)

Section titled

Bug Fixes

Section titled Bug Fixes
  • action menu: keyboard accessibility omnibus (#5031) (ea38ef0), closes #4623

Features

Section titled Features
  • overlay: add triggeredBy property to overlay-trigger for performance optimization (#5046) (fd504aa)

1.1.2 (2025-02-12)

Section titled

Bug Fixes

Section titled Bug Fixes
  • picker: stop the click events from reaching the elements below picker-tray (#5060) (7e4fdbf)

1.1.1 (2025-01-29)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: make :focus-visible consistent when using overlay type modal (#4912) (7a5f786), closes #5021

1.1.0 (2025-01-29)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: make :focus-visible consistent when using overlay type modal (#4912) (7a5f786), closes #5021

Features

Section titled Features
  • add an optional chromatic vrt action (7d2f840)
  • picker: add forcePopover property (#5041) (3651e57)

1.0.3 (2024-12-09)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: overlay scroll in safari and firefox (#4969) (05d24ff)

1.0.1 (2024-11-11)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: ensure smooth animation when opening modal overlays (#4879) (cd8dad7)
  • overlay: overlay closing another overlay (#4880) (30434fa)
  • overlay: remove flex display for dialog (#4902) (48448ea)

1.0.0 (2024-10-31)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.49.0 (2024-10-15)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.48.1 (2024-10-01)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.48.0 (2024-09-17)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.47.2 (2024-09-03)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.47.1 (2024-08-27)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.47.0 (2024-08-20)

Section titled

Features

Section titled Features
  • breadcrumbs: add Breadcrumbs component (#4578) (acd4b5e)

0.46.0 (2024-08-08)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.45.0 (2024-07-30)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay replace at() polyfill (#4628) (8cef2c6) Note: Version bump only for package @spectrum-web-components/overlay

0.44.0 (2024-07-15)

Section titled

0.43.0 (2024-06-11)

Section titled

0.42.5 (2024-05-24)

Section titled

Bug Fixes

Section titled Bug Fixes
  • coachmark,overlay: adjust imports of overlay and coachmark (#4455) (39706da)
  • overlay: ensure hint Overlays within shadow roots open as expected (#4443) (7dd64b9)
  • overlay: ensure that passing "open" to the directive manages a single strategy (#4474) (15d6ac7)
  • overlay: persist "host" in directive rendered Overlay content (#4475) (5d189c2)

0.42.4 (2024-05-14)

Section titled

Bug Fixes

Section titled Bug Fixes
  • action-menu: allow menu groups to handle their own selections (#4397) (5a19051)
  • base: move lit imports to base (#4416) (b7cb07e)
  • overlay: prevent "receivesFocus=false" overlays from returning focus (607819f)
  • slider,overlay: ensure that pointer events in Slider are handled as expected in Overlay (#4438) (db193e8)
  • styles,theme: add S2 tokens and theme (#4241) (a29e4a2), closes #4232 #4228
  • theme: deprecate theme property for system (#4230) (ac26168)

0.42.3 (2024-05-01)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: prevent "receivesFocus=false" overlays from returning focus (607819f)
  • theme: deprecate theme property for system (#4230) (ac26168)

0.42.2 (2024-04-03)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.42.1 (2024-04-02)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.42.0 (2024-03-19)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: prevent focus based hover interaction without :focus-visible (79337ff)
  • overlay: prioritize non-"hint" Overlays on the same trigger (b9833f3)
  • picker: add loading state to the picker (#3110) (d91e2c9)
  • styles, theme: surface exports that omit Spectrum Vars proactively (#4142) (5b524c1)

0.41.2 (2024-03-05)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: ensure "manual" Overlays ignore "light dismiss" when [popover] is not supported (#4121) (eb5e1ad)
  • overlay: leverage "transition-behavior" to persist top-layer content while closing (#4050) (e3dea14)
  • slider: double click on slider handle to reset slider position (#3991) (64c594a)

0.41.1 (2024-02-22)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.41.0 (2024-02-13)

Section titled

Bug Fixes

Section titled Bug Fixes
  • support generating random IDs outside of secure contexts (485a67c)

0.40.5 (2024-02-05)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.40.4 (2024-01-29)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: clean position data on close (edac590)

0.40.3 (2024-01-11)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: automatically reposition overlay when the contents resize (83be807)
  • overlay: move closed overlays to "display: none" (fc0278b)
  • overlay: normalize popover toggling between native and synthetic [popover] usage (26fa692)
  • overlay: support positioning overlays within parents leveraging container-type rules (21044b3)
  • overlay: surface "overlay" property to "sp-opened" and "sp-closed" events (957f8e9)

0.40.2 (2023-12-18)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.40.1 (2023-12-05)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: ensure events are only bound once (abe57ce)

0.40.0 (2023-11-16)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: ensure manual overlays persist through interactions outside of their subtree (#3788) (ef5617f)

0.39.4 (2023-11-02)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: add delay resolution from overlaid content (#3748) (5c4f1f6)
  • overlay: calculate more transforms (6538a45)
  • overlay: place longpress helper content in a more accessible, less layout affecting location (dd12c23)

0.39.3 (2023-10-18)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.39.2 (2023-10-13)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: allow overlay to persist on hover (#3706) (7707040)

0.39.1 (2023-10-06)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.39.0 (2023-09-25)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: allow "receives-focus" to target the root of an overlay (#3658) (0db1025)
  • overlay: ensure position when closing overlays over the top-layer (55fab0d)
  • overlay: reduce circular dependencies (25eeb71)

0.38.0 (2023-09-05)

Section titled

Bug Fixes

Section titled Bug Fixes
  • action-menu: added static attribute support (#3573) (25889a8)
  • overlay: position for transformed and contained parents (ca8fd8a)

0.37.0 (2023-08-18)

Section titled

Bug Fixes

Section titled Bug Fixes
  • address margin effected positioning (38c8cf2)
  • ensure submenus stay open when root it clicked again (83ced1c)
  • handle longpress and over filter overlays (483e52d)

Features

Section titled Features
  • overlay: ship Overlay API v2 (67b5d1b)

Performance Improvements

Section titled Performance Improvements
  • make lots of things lazy (b8fa3ad)
  • open/close timing update (d4ebcd3)

0.36.0 (2023-08-18)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.35.0 (2023-07-31)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.34.0 (2023-07-11)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.33.2 (2023-06-14)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.33.0 (2023-06-08)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.32.0 (2023-06-01)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: ensure CSS calcs resolve to the expected measurement value (51a3feb)

Features

Section titled Features
  • popover: use core tokens (68328cc)

0.31.0 (2023-05-17)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: address review comments (dd8b985)
  • overlay: removes use of px units in overlay stack (122f96c)
  • overlay: stop the tab trapping if shadow root is not found (4f0ec46)

0.30.0 (2023-05-03)

Section titled 0.30.0 (2023-05-03)

Bug Fixes

Section titled Bug Fixes
  • abstract "hasVisibleFocusInTree" functionality and return trigger focus after close (4f39f2c)
  • add content flow fallbacks to the position manager (c008957)
  • allow "updateComplete" to resolve to a boolean like the LitElement default (6127946)
  • allow contextmenu event passing to pierce shadow roots (05b69e9)
  • allow detached elements to be used as content for an overlay (3ad8383)
  • allow Picker to be reparented (39e7309)
  • centralize updated first focusable selector (300e84c)
  • close modal overlays with contextmenu events and pass those to the underlying page (9e83f3c)
  • constrain overlay to available window size (9729b55)
  • correct @element jsDoc listing across library (c97a632)
  • correct add/remove timing of overlay events (474ec6e)
  • correct overlay closure order or operations for manual override (0b7a8c4)
  • correct the relationship between overlayWillCloseCallback and phased animations (c63db8d)
  • delete the used cleanup method (942ef0f)
  • describe longpress button to screen readers (acdcaf4)
  • dialog: updates for delivering dialog content accessibly (f0ed33c)
  • dropdown: correct conditional check (a3a790f)
  • ensure browser understandable extensions (f4e59f7)
  • ensure focus is managed when tabbing out of a menu (9bfa81d)
  • ensure Overlay.update bypasses the auto close mechanism (8f2aa2e)
  • ensure that an overlay can be released even if it does not complete its fade in animation (4cbb36f)
  • ensure that entering an ancestor Menu Item without a submen closes related submenus (efe5fa1)
  • expand sync offering for elements with overlay content (0195843)
  • include default export in the "exports" fields (f32407d)
  • include sync builds in publication configuration (e731673)
  • include the "types" entry in package.json files (b432f59)
  • keep parent overlays open when not closing child hover overlays (643fcff)
  • leverage "dvh" rather than measured screen height (84b9df0)
  • manage "lang" via context provided by "sp-theme" (b1e3457)
  • menu: add support for submenu interactions (68399af)
  • overlay: add overlay lifecycle methods to stack management (9361527)
  • overlay: allow [type="modal"] hover overlays to be closed (5a6802b)
  • overlay: allow external style access to "sp-theme" elements in overlays as a CSS part (a107f66)
  • overlay: allow overlay-trigger to declaratively open overlay content (194a44e)
  • overlay: close when overlay-trigger becomes [disabled] (6f27e25)
  • overlay: correct overlay content sizing (d9bcd6f)
  • overlay: do not focus the trigger when closing an overlay, unless expected (21d7dfe)
  • overlay: enforce the full frame (63628e9)
  • overlay: ensure overlay addition occurs after closing previous (7d2b102)
  • overlay: ensure undefined data is not passed into theme (3e2e1ca)
  • overlay: export OverlayTriggerInteractions type (4caec7f)
  • overlay: extend state machine to manage disposal process (f0f26af)
  • overlay: focus closure action on ancestor scroll, not participant resize (925af0a)
  • overlay: handle hover/longpress more directly via the "open" attribute (7b2b64b)
  • overlay: init tab trapping on OverlayStack construction (a3121e3)
  • overlay: measure initial overlay data offscreen (fecda5a)
  • overlay: move "escape" listener to "keydown" (813b341)
  • overlay: new popper version tracks scroll through assigned slots (ea2bac4)
  • overlay: only "tab trap" when you mean to (74e1bd2)
  • overlay: override SpectrumCSS tip rules and process usage in popper (aad3dec)
  • overlay: persist hover overlay when there is not click content (27111a9)
  • overlay: place return focus element on demand (d262237)
  • overlay: reduce DOM and use of "display: contents" for simplicity and accessibility (2e02075)
  • overlay: reduce the control active-overlay places on its content (9d12571)
  • overlay: remove trapped content from a11y tree, manage focus, open projected content (6c496c0)
  • overlay: remove unused dependency (a3f3a72)
  • overlay: reset cached values and applied CSS before "updating" overlays (b871e52)
  • overlay: resolve async races with closeOverlays and manageOpen (ff3738e)
  • overlay: track "modalRoots" for expanded overlay management (dceccb1)
  • overlay: traverse up through shadow roots when determining parent overlay (27f232c)
  • overlay: use esm build from popper and point through to types (078ca0f)
  • overlay: use isolatedModules in tsconfig (48d6069)
  • overlay: use tabindex=-1 but always remove it on open (6047003)
  • overlay: vend a VirtualTrigger for overlays with no element trigger (a359c60)
  • picker: use "modal" as the menu overlay interaction (c8fbbe2)
  • prevent "hover" overlays from receiving focus (7bd5ac2)
  • prevent "hover" overlays from returning focus to the root of a parent modal (ceb8fa7)
  • prevent leaving multiple submenus open at a time (d2bfbb2)
  • prevent longpress when interacting with context menu (f8b0732)
  • prevent touch scolling on non-modal content (e471feb)
  • special case the possibility of leaving an overlay trigger by entering its overlay content (c32a075)
  • theme: track default theme values dynamically (a0c306c)
  • tooltip: correct arrow orientation, remove popper-arrow-rotate (fcd6ea2)
  • update "reparentChildren" types for flexibility (2d358be)
  • update presence confirmation so popper is available on update (24f8380)
  • update screen reader interface with menu items list (16756b5)
  • update when events are added to manage overlays (60cddac)
  • use "fixed" strategy to prevent unexpected overlay placement (e39e108)
  • use height: 100% to avoid layout breaks (1498129)
  • use latest @spectrum-css/* versions (c35eb86)
  • use less restrictive overlay sizing (f6917aa)
  • use typescript@^4.5 for "native" document.fonts typings (a3e4aea)
  • wait for fonts ready before positioning overlays (cb8026a)

Features

Section titled Features
  • add open/close events for some menus and overlays (17f0a58)
  • add support for Spectrum Express (12bfe99)
  • adopt DNA@7 base Spectrum CSS (e08cafd)
  • allow activation of longpress content (55e71fd)
  • delivery dev mode messages in various packages (62370a1)
  • dropdown: open menu UI with overlay system (9811eeb)
  • field-group: add field-group pattern (f8d265c)
  • include all Dev Mode files in side effects (f70817c)
  • join overlay-root and overlay-trigger as overlay (dcde42c)
  • leverage "exports" field in package.json (321abd7)
  • leverage latest Spectrum button API (9caf2f6)
  • overlay: manage focus throwing and tab trapping (27a0b53)
  • overlay: move entire package behind dynamic import by default (9b0a74d)
  • picker: process field-label content for more accurate a11y tree (dc9df54)
  • picker: support responsive delivery of menu (20031d1)
  • progress-bar: use core tokens (540552e)
  • reparentChildren - refactored arguments - breaking change (dea2bc5)
  • rework overlays to use popper (e17d1bb)
  • shared pkg versions, devmode define warning, registry-conflicts docs (6e49565)
  • sidenav: add keyboard accessibility (6ff622b)
  • split-button: add split-button pattern (4833a59)
  • story-decorator: add story decorator to replace knobs for theme application (7c0c6be)
  • update lit-* dependencies, wip (377f3c8)
  • use latest exports specification (a7ecf4b)

Performance Improvements

Section titled Performance Improvements
  • use "sideEffects" listing in package.json (7271614)

Reverts

Section titled Reverts
  • Revert "chore: release new versions" (a6d655d)

0.19.5 (2023-04-24)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.19.4 (2023-04-05)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.19.3 (2023-03-22)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.19.2 (2023-03-08)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.19.1 (2023-02-13)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.19.0 (2023-02-08)

Section titled

Features

Section titled Features
  • progress-bar: use core tokens (540552e)

0.18.11 (2023-01-23)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: reset cached values and applied CSS before "updating" overlays (b871e52)

0.18.10 (2023-01-09)

Section titled

Bug Fixes

Section titled Bug Fixes
  • use "fixed" strategy to prevent unexpected overlay placement (e39e108)

0.18.9 (2022-12-08)

Section titled

Bug Fixes

Section titled Bug Fixes
  • ensure Overlay.update bypasses the auto close mechanism (8f2aa2e)
  • leverage "dvh" rather than measured screen height (84b9df0)

0.18.8 (2022-11-21)

Section titled

Bug Fixes

Section titled Bug Fixes
  • ensure that an overlay can be released even if it does not complete its fade in animation (4cbb36f)
  • overlay: focus closure action on ancestor scroll, not participant resize (925af0a)

0.18.7 (2022-11-14)

Section titled

Bug Fixes

Section titled Bug Fixes
  • keep parent overlays open when not closing child hover overlays (643fcff)

0.18.6 (2022-10-28)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.18.5 (2022-10-17)

Section titled

Bug Fixes

Section titled Bug Fixes
  • correct the relationship between overlayWillCloseCallback and phased animations (c63db8d)
  • overlay: init tab trapping on OverlayStack construction (a3121e3)

0.18.4 (2022-10-10)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.18.3 (2022-09-15)

Section titled

Bug Fixes

Section titled Bug Fixes
  • special case the possibility of leaving an overlay trigger by entering its overlay content (c32a075)

0.18.2 (2022-09-14)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: move "escape" listener to "keydown" (813b341)

0.18.1 (2022-08-24)

Section titled

Bug Fixes

Section titled Bug Fixes
  • prevent "hover" overlays from returning focus to the root of a parent modal (ceb8fa7)
  • prevent longpress when interacting with context menu (f8b0732)

0.18.0 (2022-08-09)

Section titled

Features

Section titled Features
  • include all Dev Mode files in side effects (f70817c)

0.17.0 (2022-08-04)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: export OverlayTriggerInteractions type (4caec7f)

Features

Section titled Features
  • delivery dev mode messages in various packages (62370a1)

0.16.5 (2022-07-18)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.16.4 (2022-06-29)

Section titled

Bug Fixes

Section titled Bug Fixes
  • ensure that entering an ancestor Menu Item without a submen closes related submenus (efe5fa1)

0.16.3 (2022-06-07)

Section titled

Bug Fixes

Section titled Bug Fixes
  • prevent leaving multiple submenus open at a time (d2bfbb2)

0.16.2 (2022-05-27)

Section titled

Bug Fixes

Section titled Bug Fixes
  • add content flow fallbacks to the position manager (c008957)
  • prevent "hover" overlays from receiving focus (7bd5ac2)

0.16.1 (2022-05-12)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.16.0 (2022-04-21)

Section titled

Bug Fixes

Section titled Bug Fixes
  • allow Picker to be reparented (39e7309)
  • use less restrictive overlay sizing (f6917aa)

Features

Section titled Features
  • add support for Spectrum Express (12bfe99)
  • reparentChildren - refactored arguments - breaking change (dea2bc5)

0.15.3 (2022-03-30)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.15.2 (2022-03-08)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.15.1 (2022-03-08)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.15.0 (2022-03-04)

Section titled

Bug Fixes

Section titled Bug Fixes
  • menu: add support for submenu interactions (68399af)

Features

Section titled Features
  • leverage latest Spectrum button API (9caf2f6)

0.14.1 (2022-02-22)

Section titled

Bug Fixes

Section titled Bug Fixes
  • dialog: updates for delivering dialog content accessibly (f0ed33c)
  • overlay: measure initial overlay data offscreen (fecda5a)

0.14.0 (2022-02-02)

Section titled

Features

Section titled Features
  • picker: support responsive delivery of menu (20031d1)

0.13.4 (2022-01-26)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: remove unused dependency (a3f3a72)

0.13.3 (2022-01-26)

Section titled

Bug Fixes

Section titled Bug Fixes
  • describe longpress button to screen readers (acdcaf4)

0.13.2 (2022-01-07)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: reduce DOM and use of "display: contents" for simplicity and accessibility (2e02075)

0.13.1 (2021-12-13)

Section titled

Bug Fixes

Section titled Bug Fixes
  • use typescript@^4.5 for "native" document.fonts typings (a3e4aea)

0.13.0 (2021-11-08)

Section titled

Features

Section titled Features
  • update lit-* dependencies, wip (377f3c8)

0.12.1 (2021-11-08)

Section titled

Bug Fixes

Section titled Bug Fixes
  • abstract "hasVisibleFocusInTree" functionality and return trigger focus after close (4f39f2c)
  • prevent touch scolling on non-modal content (e471feb)

0.12.0 (2021-11-02)

Section titled

Bug Fixes

Section titled Bug Fixes
  • centralize updated first focusable selector (300e84c)
  • update screen reader interface with menu items list (16756b5)
  • picker: use "modal" as the menu overlay interaction (c8fbbe2)

Features

Section titled Features
  • adopt DNA@7 base Spectrum CSS (e08cafd)

0.11.16 (2021-10-12)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: allow [type="modal"] hover overlays to be closed (5a6802b)
  • overlay: resolve async races with closeOverlays and manageOpen (ff3738e)
  • overlay: traverse up through shadow roots when determining parent overlay (27f232c)

0.11.15 (2021-09-20)

Section titled

Bug Fixes

Section titled Bug Fixes
  • allow contextmenu event passing to pierce shadow roots (05b69e9)
  • correct add/remove timing of overlay events (474ec6e)

0.11.14 (2021-09-13)

Section titled

Bug Fixes

Section titled Bug Fixes
  • close modal overlays with contextmenu events and pass those to the underlying page (9e83f3c)

0.11.13 (2021-08-24)

Section titled

Bug Fixes

Section titled Bug Fixes
  • correct @element jsDoc listing across library (c97a632)

0.11.12 (2021-08-17)

Section titled

Bug Fixes

Section titled Bug Fixes
  • update when events are added to manage overlays (60cddac)

0.11.11 (2021-08-03)

Section titled

Bug Fixes

Section titled Bug Fixes
  • allow "updateComplete" to resolve to a boolean like the LitElement default (6127946)
  • expand sync offering for elements with overlay content (0195843)

0.11.10 (2021-07-22)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: allow external style access to "sp-theme" elements in overlays as a CSS part (a107f66)
  • delete the used cleanup method (942ef0f)

0.11.9 (2021-07-01)

Section titled

Bug Fixes

Section titled Bug Fixes
  • allow detached elements to be used as content for an overlay (3ad8383)
  • manage "lang" via context provided by "sp-theme" (b1e3457)

0.11.8 (2021-06-16)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.11.7 (2021-06-07)

Section titled

Bug Fixes

Section titled Bug Fixes
  • ensure focus is managed when tabbing out of a menu (9bfa81d)
  • overlay: vend a VirtualTrigger for overlays with no element trigger (a359c60)

0.11.6 (2021-05-24)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: add overlay lifecycle methods to stack management (9361527)
  • overlay: use tabindex=-1 but always remove it on open (6047003)

0.11.5 (2021-05-12)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: reduce the control active-overlay places on its content (9d12571)
  • update "reparentChildren" types for flexibility (2d358be)
  • update presence confirmation so popper is available on update (24f8380)

0.11.4 (2021-04-15)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.11.3 (2021-04-09)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.11.2 (2021-03-29)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.11.1 (2021-03-22)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: handle hover/longpress more directly via the "open" attribute (7b2b64b)

0.11.0 (2021-03-22)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: allow overlay-trigger to declaratively open overlay content (194a44e)
  • overlay: persist hover overlay when there is not click content (27111a9)

Features

Section titled Features
  • picker: process field-label content for more accurate a11y tree (dc9df54)

0.10.1 (2021-03-05)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.10.0 (2021-03-04)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: correct overlay content sizing (d9bcd6f)
  • overlay: track "modalRoots" for expanded overlay management (dceccb1)
  • wait for fonts ready before positioning overlays (cb8026a)

Features

Section titled Features
  • use latest exports specification (a7ecf4b)

0.9.0 (2021-02-11)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: place return focus element on demand (d262237)

Features

Section titled Features
  • allow activation of longpress content (55e71fd)

0.8.2 (2021-02-02)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.8.1 (2021-01-28)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: remove trapped content from a11y tree, manage focus, open projected content (6c496c0)
  • tooltip: correct arrow orientation, remove popper-arrow-rotate (fcd6ea2)

0.8.0 (2021-01-21)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: do not focus the trigger when closing an overlay, unless expected (21d7dfe)
  • include the "types" entry in package.json files (b432f59)
  • overlay: use esm build from popper and point through to types (078ca0f)
  • overlay: use isolatedModules in tsconfig (48d6069)
  • use latest @spectrum-css/* versions (c35eb86)

Features

Section titled Features
  • add open/close events for some menus and overlays (17f0a58)
  • field-group: add field-group pattern (f8d265c)
  • story-decorator: add story decorator to replace knobs for theme application (7c0c6be)

0.7.0 (2021-01-13)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: do not focus the trigger when closing an overlay, unless expected (21d7dfe)
  • include the "types" entry in package.json files (b432f59)
  • overlay: use esm build from popper and point through to types (078ca0f)
  • overlay: use isolatedModules in tsconfig (48d6069)
  • use latest @spectrum-css/* versions (c35eb86)

Features

Section titled Features
  • add open/close events for some menus and overlays (17f0a58)
  • field-group: add field-group pattern (f8d265c)
  • story-decorator: add story decorator to replace knobs for theme application (7c0c6be)

0.6.4 (2020-10-12)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.6.3 (2020-10-12)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: close when overlay-trigger becomes disabled
  • include default export in the "exports" fields (f32407d)

0.6.2 (2020-09-25)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.6.1 (2020-09-15)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: only "tab trap" when you mean to (74e1bd2)

0.6.0 (2020-08-31)

Section titled

Bug Fixes

Section titled Bug Fixes
  • correct overlay closure order or operations for manual override (0b7a8c4)

Features

Section titled Features
  • split-button: add split-button pattern (4833a59)

0.5.2 (2020-08-19)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.5.1 (2020-08-13)

Section titled

Bug Fixes

Section titled Bug Fixes
  • include sync builds in publication configuration (e731673)

0.5.0 (2020-08-13)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: enforce the full frame (63628e9)
  • overlay: ensure overlay addition occurs after closing previous (7d2b102)

Features

Section titled Features
  • overlay: move entire package behind dynamic import by default (9b0a74d)

0.4.3 (2020-08-05)

Section titled

Bug Fixes

Section titled Bug Fixes
  • use height: 100% to avoid layout breaks (1498129)

0.4.2 (2020-07-24)

Section titled

Bug Fixes

Section titled Bug Fixes
  • ensure browser understandable extensions (f4e59f7)

0.4.1 (2020-07-22)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.4.0 (2020-07-17)

Section titled

Features

Section titled Features
  • overlay: manage focus throwing and tab trapping (27a0b53)
  • leverage "exports" field in package.json (321abd7)

0.3.8 (2020-06-08)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: ensure undefined data is not passed into theme (3e2e1ca)

0.3.7 (2020-05-08)

Section titled

Bug Fixes

Section titled Bug Fixes
  • dropdown: correct conditional check (a3a790f)

0.3.6 (2020-05-08)

Section titled

Bug Fixes

Section titled Bug Fixes
  • constrain overlay to available window size (9729b55)

0.3.5 (2020-04-16)

Section titled

Performance Improvements

Section titled Performance Improvements
  • use "sideEffects" listing in package.json (7271614)

0.3.4 (2020-04-10)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: new popper version tracks scroll through assigned slots (ea2bac4)

0.3.3 (2020-04-07)

Section titled

Note: Version bump only for package @spectrum-web-components/overlay

0.3.2 (2020-03-16)

Section titled

Bug Fixes

Section titled Bug Fixes
  • theme: track default theme values dynamically (a0c306c)

0.3.1 (2020-03-11)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: extend state machine to manage disposal process (f0f26af)

0.3.0 (2020-02-24)

Section titled

Features

Section titled Features
  • dropdown: open menu UI with overlay system (9811eeb)

0.2.1 (2020-02-05)

Section titled

Bug Fixes

Section titled Bug Fixes
  • overlay: override SpectrumCSS tip rules and process usage in popper (aad3dec)

0.2.0 (2020-01-30)

Section titled

Features

Section titled Features
  • rework overlays to use popper (e17d1bb)

0.1.0 (2020-01-06)

Section titled 0.1.0 (2020-01-06)

Features

Section titled Features
  • join overlay-root and overlay-trigger as overlay (dcde42c)
  • sidenav: add keyboard accessibility (6ff622b)