npm tabbable 5.1.0

latest releases: 6.2.0, 6.1.2, 6.1.1...
4 years ago

Minor Changes

  • bd21d91: Add focusable() for getting all focusable nodes.

Patch Changes

  • 3665d0b: The TypeScript return type of tabbable has been fixed: Was Array<Element> (an Element is technically not focusable), is now Array<HTMLElement | SVGElement> (which are both still/also Element instances).
  • 8a25135: Fixed: Tabbable elements in fixed-position (position: fixed) containers should now be consistently found in supported browsers.
  • 9544de2: Replace prepublishOnly script with prepare script. This has the added benefit of running automatically when installing the package from GitHub (as supported by NPM) where the published ./dist directory is not automatically included.
  • 672f4a2: Add focusable() type definition.
  • 2424c0f: Small improvements for improving tree-shakeability of this package. A missing #__PURE__ annotation has been added to allow dropping one of the top-level calls (if its result stays unused) and removed minification of the file referenced as package.json#module to avoid dropping the comments (including existing #__PURE__ annotations).

Don't miss a new tabbable release

NewReleases is sending notifications on new releases.