Skip to content

Releases: huozhi/react-overlay-trigger

v3.0.0

02 Nov 01:34
Compare
Choose a tag to compare

V3

Redesign the API usePopover to a hook with much simpler usage which has easier mindset of usage

import { usePopover } from 'react-overlay-trigger'

const App = () => {
  const { popover, triggerProps } = usePopover({
    placement: 'top',
    hoverToggle: true,
  })

  return (
    <div>
      {popover}
      <button {...triggerProps}>hover me</button>
    </div>
  )
}

Checkout the readme and website for more details

v2.0.1

22 Sep 00:34
Compare
Choose a tag to compare

Patch

  • Remove unnecessary deps

Full Changelog: v2.0.0...v2.0.1

v2.0.0

25 Jun 21:21
Compare
Choose a tag to compare

Core changes

  • Upgrade bundler to output assets from es5 to es2018
  • Remove unused utils

Document changes

  • Use next.js for docs

Full Changelog: v1.2.0...v2.0.0

v1.2.0

25 Jun 21:20
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v1.2.0

v1.1.1

16 Jan 13:43
Compare
Choose a tag to compare

Pathes

v1.1.0

15 Jan 00:35
Compare
Choose a tag to compare

Changelog

  • feat: support central positioning, dialog example by @huozhi in #41

Checkout website for more examples!

v1.0.7

08 Oct 10:08
Compare
Choose a tag to compare
  • chore: upgrade bundler and remove ts devdep (#40)
  • feat: close on click outside (#39)