postel

tiny react library for building tooltips, flyovers, menus and more

MIT License

Downloads
3K
Stars
81
Committers
3
postel - Latest Release

Published by timc1 over 3 years ago

Dependabot

postel - v0.1.4

Published by timc1 about 4 years ago

postel - v0.1.3

Published by timc1 over 4 years ago

Enhancements

  • auto placement will now reposition items dynamically as content flows around the page

Bug fixes

  • preferredAutoPlacement now respects top-start/end and bottom-start/end
  • fixed an issue where transitioning out would sometimes cause React's unmount warning
postel - v0.1.1

Published by timc1 over 4 years ago

Enhancements

  • Added a preferredPlacement that auto will default to #30
  • Postel will automatically reposition the content while scrolling #28
postel - v0.0.9

Published by timc1 over 4 years ago

Bug fixes

  • Fixed an issue where mousing in and out of a toggle sometimes causes the content to not display.
postel - v0.0.8-1

Published by timc1 over 4 years ago

Enhancements

  • Transparent underlay now leaves immediately even when there is a transition out duration.
postel - v0.0.8

Published by timc1 over 4 years ago

Enhancements

  • Added an option to display a transparent underlay
  • Added a prettier config

Bug fixes

  • Fixed an issue where show/hiding quickly causes sizing issues.
postel - v0.0.7

Published by timc1 over 4 years ago

Enhancements

  • A new package name, Postel, for more generic use case 🎉
  • Simplified API
postel - v0.0.6-1

Published by timc1 over 4 years ago

Enhancements

  • Removed noCaret as a prop – simply pass a custom caret component.
  • Added an option to display a transparent overlay to prevent outer clicks from triggering when tooltip is opened.

Bug fixes

  • Fixed a type error due to a missing module declaration.
postel - v0.0.5

Published by timc1 over 4 years ago

Enhancements

  • Added the ability to animate out both content and caret.
  • Removed noCaret – simply pass a prop caret if you want to render one.
  • Tooltip gets focus when displayed, and focus is set back to what was previously focused prior to tooltip showing.
postel - v0.0.4

Published by timc1 over 4 years ago

Enhancements

  • Enable leave animations through a new leaveTransitionMs prop

Bug fixes

  • content prop type now respects both React.ReactNode and (opts: { onRequestClose: () => void }) => React.ReactNode
postel - v0.0.3

Published by timc1 over 4 years ago

Enhancements

  • Custom content now has an onRequestClose prop.
  • Caret is clipped now so it won't overflow into the content body.
Package Rankings
Top 5.72% on Npmjs.org
Badges
Extracted from project README
npm version