Détail du package

devongovett-react-overlays

react-bootstrap35MIT0.8.3

Utilities for creating robust overlay components

react-overlays, react-component, react, overlay

readme

react-overlays

Travis Build Status

Utilities for creating robust overlay components

demos and docs at: https://react-bootstrap.github.io/react-overlays/

Install

npm install --save react-overlays

All of these utilities have been abstracted out of react-bootstrap in order to provide better access to the generic implementations of these commonly needed components. The included components are building blocks for creating more polished components. Everything is bring-your-own-styles, css or otherwise.

If you are looking for more complete overlays, modals, or tooltips--something you can use right out of the box--check out react-bootstrap, which is (or soon will be) built on using these components.

note: we are still in the process of abstracting out these components so the API's will probably change until we are sure that all of the bootstrap components can cleanly be implemented on top of them.

Pre 1.0.0 breaking changes happen on the minor bump while feature and patches accompany a patch bump.

changelog

v0.8.1

2017-09-13

  • Bugfix: Use keydown instead of incorrect keyup for <Modal> close keyboard event (#195)

v0.8.0

2017-07-03

  • Feature: Remove <Transition> and depend on react-transition-group@2.0.0 (#184)

v0.7.0

2017-04-22

  • Chore: Update depedencies to avoid React deprecation warnings
  • Chore: Use function refs (#159)

v0.6.12

2017-03-06

  • Feature: Add mountOnEnter to <Transition> (#144)
  • Feature: Add restoreFocus to <Modal> (#145)

v0.6.11

2017-02-13

  • Feature: Allow accessibility attributes on <Modal> root element (#114)
  • Feature: Expose triggering event in onRootClose callback (#142)

v0.6.10

2016-10-03

  • Bugfix: Don't fire onRootClose in capture phase to avoid race conditions with React events (#118)

v0.6.9

2016-10-01

  • Bugfix: Don't spuriously trigger onRootClose when React event handler unmounts event target (#117)

v0.6.8

2016-09-30

  • Feature: Remove wrapping DOM element in <RootCloseWrapper> (#116)
  • Bugfix: Do not bind listeners for <RootCloseWrapper> when disabled is set (#116)

v0.6.7

2016-09-29

  • Feature: Allow opt-out of <Modal> container styling (#113)
  • Feature: Add renderBackdrop to <Modal> (#113)

v0.6.6

2016-08-01

  • Bugfix: Don't trigger PropTypes warning (#105)

v0.6.5

2016-07-13

  • Bugfix: Make target on <Portal> work like container (#102)

v0.6.4

2016-07-11

  • Feature: Add disabled prop to <RootCloseWrapper> (#93)
  • Feature: Add event prop to <RootCloseWrapper> to control mouse event that triggers root close behavior (#95)
  • Bugfix: Fix restoring focus on closing <Modal> (#82)
  • Bugfix: Do not pass unknown props to children (#99)
  • Chore: Upgrade to Babel 6 (#100)

v0.6.3

2016-04-07

  • Minor: Update React peer dependency (#76)

v0.6.2

2016-04-03

  • Bugfix: Fix unmounting <Portal> when parent is unmounted (#74)

v0.6.1

2016-03-28

  • Bugfix: Flush new props to DOM before initiating transitions (#60)
  • Bugfix: Update <Portal> container node when container prop changes (#66)
  • Bugfix: Don't invoke close in <RootCloseWrapper> on right clicks (#69)

v0.6.0 - Fri, 15 Jan 2016 16:15:50 GMT

  • c0b5890 [fixed] Don't forward own props from <Position>
  • 742c3c1 [fixed] Modal does not fire show callback

v0.5.4 - Tue, 17 Nov 2015 20:03:06 GMT

  • 4eabbfc [added] affix state callbacks

v0.5.3 - Mon, 16 Nov 2015 19:52:03 GMT

  • d064667 [fixed] AutoAffix nnot passing width or updating

v0.5.2 - Mon, 16 Nov 2015 17:32:27 GMT

  • 823d0f8 [fixed] fix missing warning dep
  • 1857449 [changed] Friendlier default for AutoAffix
  • f633476 [fixed] clean up modal styles if unmounted during exit transition

v0.5.1 - Mon, 02 Nov 2015 16:07:44 GMT

  • e965152 [added] Affix and AutoAffix

v0.5.0 - Wed, 07 Oct 2015 19:40:23 GMT

  • 044100b [added] React 0.14 support
  • edd316a [added] aria-hidden, by default, to modal container siblings.

v0.4.4 - Mon, 24 Aug 2015 18:34:19 GMT

v0.4.3 - Sun, 23 Aug 2015 22:54:52 GMT

  • 4f7823e [changed] focus target of the modal to its content

v0.4.2 - Mon, 10 Aug 2015 19:04:31 GMT

v0.4.1 - Tue, 04 Aug 2015 23:48:08 GMT