Skip to content

Releases: greena13/react-ref-manager

v1.2.0

Choose a tag to compare

@greena13 greena13 released this 10 Feb 13:31

Improvements

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

v1.0.0

Choose a tag to compare

@greena13 greena13 released this 30 Jan 18:30

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

Choose a tag to compare

@greena13 greena13 released this 30 Jan 08:07

Bugfixes

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

v0.0.8

Choose a tag to compare

@greena13 greena13 released this 29 Jan 06:33

Bug fixes

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

v0.0.7

Choose a tag to compare

@greena13 greena13 released this 29 Jan 06:32

Features

  • Add TypeScript definitions

v0.0.5

Choose a tag to compare

@greena13 greena13 released this 24 Jan 18:37

Bugfixes

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

v0.0.4

Choose a tag to compare

@greena13 greena13 released this 24 Jan 18:36

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

Choose a tag to compare

@greena13 greena13 released this 24 Jan 18:31

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