@particles/tooltipdeprecated

A tooltip component.

Usage no npm install needed!

<script type="module">
  import particlesTooltip from 'https://cdn.skypack.dev/@particles/tooltip';
</script>

README

:no_entry: Deprecation Warning :no_entry:

This particle is being deprecated, please use the tooltip found here: https://procore.github.io/core/latest/#/react/elements/tooltip

Tooltip

A tooltip component.

Example

tooltip

Change Log

2.0.0

  • Added z-index to tooltipContent
1.0.1
  • If content prop is a string, and a different content prop is passed, tooltip will reposition

1.0.0

  • Update styles to give more room for main content when using sidebar content
  • Sidebar content now has max width and truncates to an ellipse
  • Removed opacity on error tooltip
  • Bump to first major release 🎉

0.8.0

  • Added sidebar via sidebarContent prop
  • Added tests

0.7.0

  • Added error prop and styling

0.6.0

  • Tooltips now work with particle table cells via table styleVariant

0.5.0

  • Tooltips now work on functional and class components
  • Tooltips now work on string triggers

0.4.0

  • New styleVariants prop with fixed as an option
  • Tooltip element stays open when hovering over the tooltip element itself
  • delay prop is now delayShow

0.3.0

  • New delay prop (works for non-controlled only)
  • New stylesheets prop

0.2.0

  • New tooltip API using portals
  • Added controlled prop to to make tooltip controlled by implementing component
  • Added popover prop that applies popover styling
  • Export position options

0.1.0

  • Initial commit