Minor Changes
- bd21d91: Add
focusable()
for getting all focusable nodes.
Patch Changes
- 3665d0b: The TypeScript return type of
tabbable
has been fixed: WasArray<Element>
(anElement
is technically not focusable), is nowArray<HTMLElement | SVGElement>
(which are both still/alsoElement
instances). - 8a25135: Fixed: Tabbable elements in fixed-position (
position: fixed
) containers should now be consistently found in supported browsers. - 9544de2: Replace
prepublishOnly
script withprepare
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 aspackage.json#module
to avoid dropping the comments (including existing#__PURE__
annotations).