Skip to content

Releases: Q42/floating-focus-a11y

Improvements floater outline styling

19 Nov 12:22
a0bf355
Compare
Choose a tag to compare

Changes

  • #32: support outline-style property for the floater
  • #34: bugfix, makes it possible again to define outline offset as 0

Fix TS declaration of /dist/unstyled

17 Nov 16:58
92f2674
Compare
Choose a tag to compare

Required actions

Update @q42/floating-focus-a11y to 1.3.2

Changes
The /dist/unstyled directory now works well with typescript when importing from it.

Include index.d.ts in NPM publish

13 Nov 18:31
212f59f
Compare
Choose a tag to compare

Required actions

Update @q42/floating-focus-a11y to 1.3.1

Changes

index.d.ts was not included in release 1.3.0 => this patch fixes that file not being included.

Unstyled import option, and various fixes

13 Nov 18:07
Compare
Choose a tag to compare

Required actions

Update @q42/floating-focus-a11y to 1.3.0

Changes

Package clean-up and maintenance

22 Jun 12:24
c242012
Compare
Choose a tag to compare

Required actions

Update @q42/floating-focus-a11y to 1.2.5

Changes

  • Clean-up NPM package files
  • Allows setting negative outline-offset

Allow negative outline offsets

02 Mar 15:03
Compare
Choose a tag to compare

Required actions

Update @q42/floating-focus-a11y to 1.2.4

Changes

  • Allows setting negative outline-offset

Type definitions and Internet Explorer fixes

30 Jan 12:08
347acad
Compare
Choose a tag to compare

Required actions

Update @q42/floating-focus-a11y to 1.2.2

Changes

  • Added type definition file for easier Typescript implementation
  • Bugfixes for better Internet Explorer 11 support

Documentation update

16 Sep 14:18
Compare
Choose a tag to compare

Required actions

Update @q42/floating-focus-a11y to 1.1.1

Changes

  • Updating documentation on NPM to give more clear example module usage

Container element support

16 Sep 10:20
Compare
Choose a tag to compare

Required actions

Update @q42/floating-focus-a11y to 1.1.0

Changes

  • Added parameter to support a container element. (#1)

Initial Release

16 Sep 10:06
Compare
Choose a tag to compare

This is the initial release for floating focus tool. This tool has a couple of advantages compared to implementing custom CSS focus states:

  • Simple to implement focus states on all elements
  • Focus states automatically only show when using keyboard navigation
  • States hide when going back to using mouse for navigation
  • Border-radius is supported and used for outline highlighting
  • Initial focus states show a background to further increase contrast of the current highlighted element
  • Uses computed styling to determine the color that should be used for the overlay
  • Focus states float from one element to the next, making it easier to follow the flow of the webpage
  • Very easy to only change overlay color based on default CSS properties that you already know