Skip to content

Releases: rafgraph/react-interactive

v0.5.1

02 Apr 22:19
Compare
Choose a tag to compare
  • Fix focus on hover after window blur

v0.5.0

01 Apr 18:32
Compare
Choose a tag to compare
  • Show the keyActive state before calling click on an enter keydown event
  • Have keyActive state style take priority over focus state style

v0.4.1

18 Jan 04:05
Compare
Choose a tag to compare
  • Fix class name issue for Interactive child components

v0.4.0

30 Nov 01:15
Compare
Choose a tag to compare
  • Add Interactive Children API

v0.3.1

28 Nov 20:50
Compare
Choose a tag to compare
  • Fix focus state issue for nested Interactive components

v0.3.0

24 Nov 05:12
Compare
Choose a tag to compare
  • Make focusFromTab, focusFromMouse and focusFromTouch their own states in the state machine and remove the focusFrom API.
  • Remove the focusFrom key from the state object, and make the value of the focus key one of false, 'tab', 'mouse', or 'touch'.
  • Change to allow taps while touching some place else on the screen.
  • Add extraTouchNoTap option to prevent taps while touching someplace else on the screen.

v0.2.0

21 Nov 17:57
Compare
Choose a tag to compare
  • Implement input tracker and notifier to fix several bugs caused by the browser not firing the necessary events.
  • Remove onMouseClick, onTap and onEnterKey callbacks in favor of passing in a second argument with the click type to the onClick callback, e.g. onClick={(event, clickType) => {...}}, where clickType is one of 'mouseClick', 'tapClick' or 'keyClick'.
  • Remove individual state onEnter and onLeave callbacks (use onStateChange instead).
  • Remove focusFromOnly option from the focusFrom API.
  • Remove useBrowserWebkitTapHighlightColor option in favor of letting the browser fully manage what it considers to be a click from a touch interaction when there's no active and touchActive prop.
  • Add touchActiveTapOnly option to only remain in the touchActive state while a tap is possible.
  • Add stylePriority option to specify what iState styles take precedence over focus state styles when merged.
  • Add focusToggleOff option to turn off focus toggling.
  • Add role="button" if there is an onClick prop without a role prop, and it's not clear what the role of the element is (i.e. it's not for user input, a link, or an area tag).

v0.1.0

18 Nov 23:37
Compare
Choose a tag to compare

Initial release