Skip to content

Releases: sir-dunxalot/ember-tooltips

More passing test coverage

23 Jul 22:37
Compare
Choose a tag to compare

The test suite now passes for ember-beta and ember-canary. These were failing for a week or two.

.tooltip --> .ember-tooltip

15 Jul 01:11
Compare
Choose a tag to compare

Small Breaking Change

A breaking change was introduced for selectors and CSS styling. Classes were previously prefixed by .tooltip. Now, classes are prefixed by 2.0.0 (#80). If you have custom styling that relies on any class that begins with .tooltip you will need to update these classes to start with .embet-tooltip.

For example:

  • .tooltip --> .ember-tooltip
  • .tooltip-fade --> .ember-tooltip-fade
  • .tooltip-target-attached-right --> .ember-tooltip-target-attached-right
  • And so forth...

Bugs

Additionally, this release fixes a small bug with aria-describedby, which incorrectly used to contain an # in its value. For example, <div aria-describedby="#123"></div> is now <div aria-describedby="123"></div>.

Version 1.0.0 - removed Darsain/tooltip

22 May 19:33
Compare
Choose a tag to compare

Release 1.0.0 brought a large number of backwards-incompatible changes to this library. Notably, the Darsain/tooltip library was removed from dependencies and was replaced with a combination of ember-tether and custom JS.

  • Only two methods exist to add tooltips. Both are components:
    • {{tooltip-on-component}]
    • {{tooltip-on-element}}
  • data-tooltip-<x> attributes are no longer supported on elements
  • tooltip-<x> attributes are no longer supported on components
  • renderTooltip util was removed
  • Tooltips mixin was removed

Documentation can be found in the Readme.

Fixes tooltips persisting through transitions

26 Jan 02:41
Compare
Choose a tag to compare

SafeString accepted for tooltipContent

10 Dec 05:20
Compare
Choose a tag to compare

You can now pass a HTMLBars SafeString object in as the content of a tooltip.

Big thanks to @joukevandermaas.

IE Compatibility bug fix

06 Oct 03:30
Compare
Choose a tag to compare

Ember 2.0 and bound tooltip content

16 Sep 04:13
Compare
Choose a tag to compare
  • Ember Tooltips 0.5.0 now supports Ember 2.0+. Special thanks for @cooperjbrandon
  • When the tooltipContent property of a component with a tooltip changes, the tooltip's content will be updated. Special thanks to @lukes

Ember versions less than 2.0 should use version 0.4.0.

Tooltip duration added

08 Aug 18:24
Compare
Choose a tag to compare

This release adds a new option, tooltipDuration, which can be specified to automatically hide and remove a tooltip after it has been shown for the specified number of milliseconds:

{{input
  tooltipContent='Hey!'
  tooltipEvent='focus'
  tooltipDuration=2000
}}

Manual trigger

28 Jul 13:17
Compare
Choose a tag to compare

This version adds a boolean property that can be used to show/hide the tooltip instead of a DOM event.

Instead of:

{{component
  tooltipContent='Hello'
  tooltipEvent='ready'
}}

You can do:

{{component
  tooltipContent='Hello'
  tooltipEvent='manual'
  tooltipVisibility=showTooltip
}}

Removes animation if detaching tooltip on transition

23 Jul 04:42
Compare
Choose a tag to compare

This patch removes an effect left set on tooltip in the DOM when the route transitions. This means the tooltip is removed immediately, not after an animation period, and it makes for a smoother visual transition.