Releases: sir-dunxalot/ember-tooltips
Releases · sir-dunxalot/ember-tooltips
3.4.0
Enhancements
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
- Transpose README Tables (#372, thanks @jfelchner)
- Fix typo (#366, thanks @slang800)
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
3.3.2
3.3.1
Bugfixes
- Fix sourcemap generation (#356, fixed #354. Thanks @les2 for the report!)
- Remove direct dependency on
@ember/optional-features
for checkingjquery-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
Enhancements
- Tooltip element classes (container, inner, arrow) can now be customized through
tooltipClass
,innerClass
, andarrowClass
. (#327, thanks @brookjordan!). See updated README for details.tooltipClassName
is deprecated in favor oftooltipClass
- jQuery is no longer used for test helpers if your application has
jquery-integration
set tofalse
in Ember'soptional-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
orember-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
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.
- If you were using
Removals
hideDelay
was deprecated in 3.x, scheduled to be removed in3.2.0
. UsepopoverHideDelay
, instead, as it only applies to popovers.
3.1.2
Bugfixes
- Allow toggling of popover w/
isShown
even when mouse is still inside element, if not using mouse-based triggerevent
. (#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
3.1.0
New Features
- Added
popperContainer
option to specify location in the DOM to render tooltip. SeeREADME.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
- README formatting changes (#313, #314, #315, thanks @camerondubas)
- Fix race condition in popover test (#317)
Dependency update
- #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