Skip to content

Releases: Ramziij/react-tailwind-tooltip

1.0.4

Choose a tag to compare

@Ramziij Ramziij released this 01 Aug 13:07
edfe448

New Features:

  • Enhanced Tooltip Placement Options: Added support for 12 new tooltip placements, expanding the flexibility of positioning tooltips. The new placements include:

    • top
    • top-start
    • top-end
    • bottom
    • bottom-start
    • bottom-end
    • left
    • left-start
    • left-end
    • right
    • right-start
    • right-end

    These options allow for more precise control over the tooltip's position relative to its target element.

Improvements:

  • Updated Documentation: The README has been updated to include the new placement options.
  • Added Example Usage: Added example which can be opened in StackBlitz.
  • Fixed Example Usage: The example usage of package in the README has been updated.

Bug Fixes:

  • PNPM Version Fix: The PNPM version in the example has been fixed to 8.15.6.

What's Changed

  • 1 add a basic example by @Ramziij in #2
  • 3 increase the number of tooltip placements by @Ramziij in #4

Full Changelog: v1.0.3...v1.0.4

1.0.3

Choose a tag to compare

@Ramziij Ramziij released this 22 Jul 12:07
  • Styling Customization: Added the ability to change the styling of the tooltip.
  • Animation Enhancements: Implemented smoother animations for tooltip opening and closing with CSS transitions.
  • Delay Controls: Introduced enterDelay and leaveDelay props to control the delay before the tooltip appears and disappears, respectively.

Full Changelog: v1.0.2...v1.0.3

1.0.2

Choose a tag to compare

@Ramziij Ramziij released this 19 Jul 09:30
  • Version Update: The package version has been updated to 1.0.2 for publication on npm.

Full Changelog: v1.0.1...v1.0.2

1.0.1

Choose a tag to compare

@Ramziij Ramziij released this 19 Jul 09:14
  • Tooltip Hover Behavior Improvement: The tooltip now remains visible when the mouse moves from the children element to the tooltip itself. This enhancement ensures the tooltip only disappears when the mouse is neither on the children nor the tooltip, providing a smoother user experience.

  • Title Type Update: The type of the title prop has been changed from string to React.ReactNode. This allows for more flexibility, enabling the use of complex JSX content within the tooltip title.

Full Changelog: v1.0.0...v1.0.1

1.0.0

Choose a tag to compare

@Ramziij Ramziij released this 18 Jul 19:21