Skip to content

Releases: tobyzerner/inclusive-elements

0.1.0

28 Jan 09:25
224a6f3
Compare
Choose a tag to compare

Fixed

  • Menu: Ensure that Arrow keys only navigate to items that are focusable.
  • Modal: Fix focus not being placed correctly when modal is open on creation.

Release 0.1.0-beta.9

27 Jan 01:30
d65b752
Compare
Choose a tag to compare
Release 0.1.0-beta.9 Pre-release
Pre-release

Added

  • New element: Toolbar.
  • Support for tree-shaking so unused elements won't be included in the bundle.
  • Use prefers-reduced-motion media queries for transition CSS examples.
  • Alerts: New clear method to dismiss all alerts.
  • Popup: Additional discussion and demonstration of use-cases.
  • Tooltip: Support for hovering over tooltip contents (opt-out with pointer-events: none).

Changed

  • External dependencies are no longer included in the bundle, meaning a bundler is required for use.
  • Modal: Use focus-trap instead of inert so that modals do not have to be placed as a direct child of the <body>.
  • Popup, Tooltip: Use Floating UI instead of Placement.js for element positioning.

Fixed

  • Set various ARIA attributes less aggressively – only if they haven't already been set.
  • Alerts: Export the AlertOptions type definition.
  • Menu: Attach event listeners to menu element rather than document.
  • Popup: Only add aria-haspopup="true" if the content has the menu role.
  • Popup: Close the popup if the user tabs away from it.
  • Tooltip: Hide the tooltip when the page is scrolled.

Release 0.1.0-beta.8

12 Sep 06:44
Compare
Choose a tag to compare
Release 0.1.0-beta.8 Pre-release
Pre-release

Added

  • Tooltip: Hide tooltip when Escape key is pressed. (3bcdfcc)

Removed

  • Tooltip: Remove support for touch devices. (7e1c0e6)

Fixed

  • Tooltip: Fix parent event listeners not being removed properly on disconnect. (a75b699)

Release 0.1.0-beta.7

26 May 23:12
Compare
Choose a tag to compare
Release 0.1.0-beta.7 Pre-release
Pre-release

Fixed

  • Tooltip: Only remove event listeners on disconnection if parent still exists.

Release 0.1.0-beta.6

20 May 07:54
Compare
Choose a tag to compare
Release 0.1.0-beta.6 Pre-release
Pre-release

Changed

  • Alerts: Increase default alert duration to 10 seconds.

Fixed

  • Tooltip: Fix behavior on touch devices.
  • Update Placement.js to fix incorrect positions when horizontally scrolled.

Release 0.1.0-beta.5

18 May 06:45
Compare
Choose a tag to compare
Release 0.1.0-beta.5 Pre-release
Pre-release

Changed

  • Update hello-goodbye dependency.

Release 0.1.0-beta.4

09 May 01:06
Compare
Choose a tag to compare
Release 0.1.0-beta.4 Pre-release
Pre-release

Changed

  • Popup: Don't close when a menuitemcheckbox is clicked.
  • Popup: Only return focus to button when Escape key is used to close popup.

Fixed

  • Tooltip: Hide tooltip on click, or if parent becomes disabled.
  • Implemented disconnect callbacks to properly clean up element side effects.

Removed

  • Popup: Don't set z-index - leave this to the userspace.

0.1.0-beta.3

05 Mar 00:38
Compare
Choose a tag to compare
0.1.0-beta.3 Pre-release
Pre-release

Fixed

  • Recompile dist file.

0.1.0-beta.2

05 Mar 00:38
Compare
Choose a tag to compare
0.1.0-beta.2 Pre-release
Pre-release

Fixed

  • Update hello-goodbye version.
  • Mark package as side-effect free.

0.1.0-beta.1

04 Mar 22:05
Compare
Choose a tag to compare
0.1.0-beta.1 Pre-release
Pre-release

Initial version