Skip to content

Releases: sir-dunxalot/ember-tooltips

3.4.0

31 Jul 04:56
56dfc02
Compare
Choose a tag to compare

Enhancements

  • Dropped Node 6 support (#374)
  • Babel 7 (#374)

Bugfixes

  • Fix popover arrow CSS (#370, thanks @andycochran!) Popovers have arrows again, like they once did.
  • Fix updateFor not triggering tooltip/popover repositioning when bound value is changed to a falsey but non-null value (#375, thanks @kennydp for the report)

Docs

Known Issues

  • ember-tooltips is still broken when used as a dependency of a lazy engine. See tracking issue #363 for details

3.3.3

08 Jun 21:11
5e10be4
Compare
Choose a tag to compare

Bugfixes

  • Don't automatically hide popover on focusout if event='none' (#365, fixes #362. Thanks @mnoble01 for investigating!)

3.3.2

20 May 00:51
0352aed
Compare
Choose a tag to compare

Bugfixes

  • Avoid conflict with ember-popper via ember-bootstrap's vendored popper/tooltip.js in build output (#361, fixes #360). Only relevant if you're using ember-bootstrap or otherwise using ember-tooltips concurrently with ember-popper.

3.3.1

15 May 01:15
3c7e3cc
Compare
Choose a tag to compare

Bugfixes

  • Fix sourcemap generation (#356, fixed #354. Thanks @les2 for the report!)
  • Remove direct dependency on @ember/optional-features for checking jquery-integration flag. ember-tooltips will now use @ember/optional-features from your application. (#359, fixes #355. Thanks @andreyfel & @Turbo87 for pointing this out!)

3.3: jQuery-Free

04 May 15:52
b8cef9d
Compare
Choose a tag to compare

Enhancements

  • Tooltip element classes (container, inner, arrow) can now be customized through tooltipClass, innerClass, and arrowClass. (#327, thanks @brookjordan!). See updated README for details.
    • tooltipClassName is deprecated in favor of tooltipClass
  • jQuery is no longer used for test helpers if your application has jquery-integration set to false in Ember's optional-features.json (#351; #347, thanks @mydea!)
    • ember-tooltips/test-support is dynamically chosen to be the jQuery or DOM-based helpers based on your application's configuration.
    • jQuery and DOM-based helpers can be imported and used explicitly from ember-tooltips/test-support/jquery or ember-tooltips/test-support/dom, respectively.
    • The jQuery-based test helpers are now deprecated
  • animationDuration is now configurable (#348, thanks @loginovma!)

Bugfixes

  • targetSelector was being applied inconsistently in some of the test helpers (i.e. sometimes being used, sometimes being ignored) and causing confusing behavior. targetSelector is now taken into account for all applicable test helpers. The test helpers documentation in the README has been updated to address this. (#350)

3.2.0

24 Feb 01:21
1abb05a
Compare
Choose a tag to compare

Enhancements

  • Avoid rendering tooltip/popover content into DOM until popper element created. (Fixes #341) This better matches the behavior of enableLazyRendering=true from ember-tooltips 2.x.
    • If you were using {{#if popover.isShown}} [...] {{/if}} checks or something similar to avoid rendering content in the DOM before the tooltip was rendered, you can remove those checks.
    • Under ember-fastboot, tooltip content will continue to be rendered into the DOM, though not visible.

Removals

  • hideDelay was deprecated in 3.x, scheduled to be removed in 3.2.0. Use popoverHideDelay, instead, as it only applies to popovers.

3.1.2

18 Feb 16:26
b35495f
Compare
Choose a tag to compare

Bugfixes

  • Allow toggling of popover w/ isShown even when mouse is still inside element, if not using mouse-based trigger event. (#335)
  • Fix onHide firing on subsequent click events after popover has been hidden (#333)
  • Fix tooltip spacing getting stuck on one side when flipping (#337, thanks @kstinson14 for investigating and finding the root cause!)

3.1.1

18 Dec 14:47
Compare
Choose a tag to compare

Bugfixes

  • Fix overzealous keydown handler that blocked further bubbling (#325)
  • Fix Tooltip.js inclusion in production builds when source maps are disabled & fix use within yarn workspaces (#328, Fixes #323, #318)

3.1.0

28 Nov 04:17
Compare
Choose a tag to compare

New Features

  • Added popperContainer option to specify location in the DOM to render tooltip. See README.md for more details (#308, thanks @timmorey!)

Bugfixes

  • Fixed import of popper.js & tooltip.js in some configurations by importing directly, and removing ember-cli-node-assets dependency (#311, thanks @camerondubas! Fixed #277)
    • Removes support for Ember-CLI < 2.15
  • Fixed possible race between tooltip show & hide (#322, thanks @arthur5005! Fixed #321)

Enhancements

  • Removed runtime dependency on jQuery (#312)
    • (Removal of jQuery from test helpers is being tracking in #307)

Other Changes

Dependency update

05 Nov 17:10
Compare
Choose a tag to compare
  • #306 - Updates dev dependencies, fixing a security vulnerability in the merge package, which is used by Ember CLI dependencies.
    • Dependencies now use Yarn instead of npm