Skip to content

Releases: sir-dunxalot/ember-tooltips

Removed Tether

10 Oct 03:07
Compare
Choose a tag to compare
Removed Tether Pre-release
Pre-release

Removed Tether dependency in favor of a more robust positioning library. Documentation for the 3.0.0-beta.x releases can be found on this branch.

Dependency updates

20 Aug 22:38
Compare
Choose a tag to compare
  • #162 out of beta - See 2.9.0-beta.0 release notes
  • #196 - Move ember-tether from devDependencies to dependencies
  • #211 - (misc fix) Fixes broken anchor links in the dummy app
  • #213 - Bump ember-cli-sass version to 7.0.0
  • #215 - Updates Ember CLI dependencies

Ember-tether bumped to 0.4.1

09 Feb 17:00
Compare
Choose a tag to compare
Pre-release
  • #162 - Bumps ember-tether dependency to 0.4.1. This brings about additional functionality and improvements:
    • Fixes event delegation issues in test suites where events and actions were fired but not caught by Ember
    • Upgrades the Ember CLI dev environment
    • Exposes findTooltip and findTooltipTarget as public helpers (code here). Public documentation will follow.
    • Makes tooltips render as a child of the Ember app's rootElement, if rootElement is defined in the Ember app's config:
let App = Ember.Application.create({
  rootElement: '#ember-app'
});

Improved test helper documentation

03 Feb 02:42
Compare
Choose a tag to compare
  • #160 - Expands test helper documentation with more examples and explicit list of additional options per helper

Remove compass-boilerplate and inherit font

02 Feb 01:55
Compare
Choose a tag to compare
  • #172 - Make Travis badge only track master branch and add Ember Observer badge
  • #175 - Use font-family: inherit; instead for font-family: sans-serif; for tooltips and popovers.
  • #177 - Remove the compass-boilerplate dependency, which was causing the test suite to fail unexpectedly. This change only affects the dummy app.
  • #178/#179 - Add postcss to the dummy app to replicate some of the cross-browser compatibility previously provided by compass-boilerplate

assertTooltipContent test helper

08 Jan 22:55
Compare
Choose a tag to compare
  • #146 - Adds the assertTooltipContent() test helper.

This release makes a new public test helper available: assertTooltipContent(). Full documentation can be found in the readme. Here is an example of basic usage:

import {
  assertTooltipContent,
} from 'appname/tests/helpers/ember-tooltips';

test('Example test', function(assert) {

  this.render(hbs`{{tooltip-on-element text='More info'}}`);

  assertTooltipContent(assert, {
    contentString: 'More info',
  });
});

Removes flickers. Makes popovers clickable in IE11.

07 Jan 20:48
Compare
Choose a tag to compare
  • #153 - Opening and closing issues
    • Fixes flickers when tooltips were attached to inputs with event='click'
    • Fixes flickers when popovers were attached to inputs with event='click'
    • Fixes inability to close popovers when they were attached to inputs with event='focus'
  • #159 - Makes popovers able to be interacted with in IE11

Code conventions

04 Jan 15:18
Compare
Choose a tag to compare
  • #154 - Adds code linting (using eslint) and updates all existing addon code to match new conventions. This should make it easier for contributions to read and commit code.
  • #156 - Fixes a typo in the Readme.

Upgrade ember-cli-sass dependency

02 Jan 20:32
Compare
Choose a tag to compare
  • #155 - Upgrades ember-cli-sass in devDependencies to 0.6.0

Spacing test helper

01 Jan 12:22
Compare
Choose a tag to compare
  • #145 - Spacing test helper

This release adds a new public test helper, assertTooltipSpacing(). This helper lets you assert that the tooltip is a given number of pixels from the target on a given side on the target.

This is designed to test the spacing option.

Usage is relatively simple and matches the implementation of existing test helpers:

assertTooltipSpacing(assert, {
  side: 'right',
  spacing: 10, // Tooltip should 10px from right of target
});

You can also pass in selectors:

assertTooltipSpacing(assert, {
  side: 'top',
  spacing: 20, // Tooltip should be 20px above target
  targetSelector: '.test-tooltip-target',
  tooltipSelector: '.test-tooltip',
});