Skip to content

Releases: greena13/react-ref-manager

v1.2.0

10 Feb 13:31
Compare
Choose a tag to compare

Improvements

  • Switched to using rollup to produce separate bundles for development and productions
  • Added license file and header comment

v1.0.0

30 Jan 18:30
Compare
Choose a tag to compare

Breaking Changes

  • Move RefManager to the package's default export:

i.e. The previous way of importing the packages:

import { RefManager, FocusDirection } from 'react-ref-manager';

Becomes

import RefManager, { FocusDirection } from 'react-ref-manager';

v0.0.9

30 Jan 08:07
Compare
Choose a tag to compare

Bugfixes

  • Fixes #2: Stop implicit conversion of item id when using focusNextById()

v0.0.8

29 Jan 06:33
Compare
Choose a tag to compare

Bug fixes

  • Fix #1: focusNextById now works correctly with number item ids.

v0.0.7

29 Jan 06:32
Compare
Choose a tag to compare

Features

  • Add TypeScript definitions

v0.0.5

24 Jan 18:37
Compare
Choose a tag to compare

Bugfixes

  • Remove a console.warn statement overlooked when releasing the previous version

v0.0.4

24 Jan 18:36
Compare
Choose a tag to compare

Breaking Changes

  • Removed the requirement that refs must have a parentNode attribute. This effectively allows custom React components that define .focus() or .scrollIntoView() methods, to have those methods called instead of react-ref-manager attempting to find the corresponding element in the DOM and calling the respective methods on them, instead.

v0.0.3

24 Jan 18:31
Compare
Choose a tag to compare

Breaking changes

  • Focus methods now return Focus Objects instead of instances of ReactClassComponent.
  • Scroll methods now return Scroll Objects instead of instances of ReactClassComponent.

Documentation

  • Completed Readme to cover the full public API
  • Added JSDoc comments to the public API methods