Skip to content

Releases: tobyzerner/inclusive-elements

v0.6.1

23 Mar 01:52
e665551

Choose a tag to compare

0.6.1 (2026-03-23)

Bug Fixes

  • demo: hide reactions menu (df0afa8)
  • menu: return focus to root trigger on Escape and Tab (9c9b28a)
  • tabs: prevent attribute observer loop (48e2043)

v0.6.0

23 Mar 00:49
d89e28a

Choose a tag to compare

Overview

This release moves the library further toward a platform-native shape. Instead of treating every pattern as a runtime widget, inclusive-elements now combines:

  • native-first pattern guidance where the platform already provides the right primitives
  • focused custom elements for the patterns that still need runtime coordination

The runtime surface is now centered on ui-alerts, ui-menu, ui-tabs, ui-toolbar, and ui-tooltip, while the other patterns are documented as native recommendations.

Breaking Changes

  • modal has been removed as a runtime custom element. Use the native <dialog> pattern instead.
  • popup has been removed as a runtime custom element. Use the native Popover API pattern instead.
  • accordion is now documented as a native pattern based on grouped <details name>, not shipped as a runtime custom element.
  • disclosure is now documented as a native pattern based on <details> and <summary>, not shipped as a runtime custom element.

Component Changes

  • alerts: clarified and simplified the alert stack behavior around announcement politeness, timing, replacement by key, and styling hooks for enter, leave, and move transitions.
  • menu: rebuilt around native popovers with managed menu semantics, root-trigger keyboard opening, submenu coordination, typeahead, horizontal menu support, and clearer trigger ownership rules.
  • tabs: simplified the internal structure syncing, kept selection and panel relationships normalized from the DOM, and tightened keyboard, panel visibility, and managed tabindex behavior.
  • toolbar: aligned the toolbar around a single-tab-stop roving focus model with automatic syncing when controls are added, removed, hidden, or disabled.
  • tooltip: moved to a native hint-popover model with explicit or adjacent-sibling owner resolution, managed aria-describedby, disabled-owner handling, and cleaner focus and hover interaction rules.

Documentation

  • Reworked the component READMEs into a more consistent format with clearer behavior sections, platform requirement notes, and updated examples.
  • Added native-first guidance for accordion, disclosure, dialog, and popover.

Tooling

  • Add automated test suites around core functionality for alerts, menu, tabs, toolbar, and tooltip.

v0.5.5

16 Mar 04:29
3a28fce

Choose a tag to compare

0.5.5 (2026-03-16)

Features

  • menu: add support for horizontal menus (ec720f9)
  • tooltip: handle arrow keys as tooltip focus triggers (b50b49b)

v0.5.4

20 Feb 01:32
9346238

Choose a tag to compare

0.5.4 (2026-02-20)

Features

  • tabs: add selectTab() to programmatically select tabs (f9599c8)

v0.5.3

19 Feb 22:50
13025b9

Choose a tag to compare

0.5.3 (2026-02-19)

Bug Fixes

  • tabs: ensure correct initial tab is selected when none are aria-selected (c127943)

v0.5.2

18 Feb 22:21
60bf829

Choose a tag to compare

0.5.2 (2026-02-18)

Features

  • tabs: dispatch change event on tab selection changes (a1ba27b)
  • tabs: select initial tab based on aria-selected attribute (9b4639a)

v0.5.1

25 Jan 11:05
53207bc

Choose a tag to compare

0.5.1 (2026-01-25)

Bug Fixes

  • popup: remove stopPropagation from menuitem clicks (7cbe32a)

v0.5.0

18 Jan 00:55
f401f13

Choose a tag to compare

0.5.0 (2026-01-18)

Bug Fixes

  • tooltip: prevent tooltips showing due to mouse emulation events on touch devices (0582447)

v0.5.0-beta.3

27 Sep 09:27
1e9e5f4

Choose a tag to compare

v0.5.0-beta.3 Pre-release
Pre-release

0.5.0-beta.3 (2025-09-27)

Features

  • popup: allow popup to initialize with open attribute (e2e8483)

Bug Fixes

  • popup: don't hide popup if losing focus to nothing (6a72581)
  • popup: prevent menuitem click from bubbling up to any parent popups (bebd0fb)
  • tooltip: prevent error if tooltip element no longer exists (eb69dd2)

v0.5.0-beta.2

10 Jan 11:13
908840f

Choose a tag to compare

v0.5.0-beta.2 Pre-release
Pre-release

0.5.0-beta.2 (2024-01-10)

⚠ BREAKING CHANGES

  • alerts: alerts can no longer be added by appending to the container

Features

  • tooltip: add open and close events (d2800e7)
  • tooltip: expose show and hide methods (987d933)

Bug Fixes

  • alerts: alerts can no longer be added by appending to the container (4c2c433)
  • tooltip: keep tooltip class updated (cb19f93)