Skip to content

Releases: yapplabs/ember-modal-dialog

Movement is Life

15 May 05:17
Compare
Choose a tag to compare
  • Make modal-dialog component animatable via liquid-fire #193 (lukemelia)

    • To animate non-tethered cases, install liquid-wormhole and pass animatable=true
    • To animate tethered cases, install liquid-tether and pass animatable=true
    • See the dummy app for examples
    • Note that in 3.0.0, the animatable code path will be used automatically if these libraries are present and animatable is unspecified. To prepare users for this, a deprecation warning is emitted if the libraries are present and animatable is unspecified in 2.x.
    • targetAttachment of "center" and "middle center" now uses SCSS for positioning rather than dynamic rules
  • Add support for an overlayPosition property which supports values of 'parent' or 'sibling' #192 (lukemelia)

  • Allow specifying hasOverlay=false to suppress output of the overlay div. #191 (lukemelia)

A Fine Man

14 May 06:32
Compare
Choose a tag to compare

This release unifies the API so that only the modal-dialog component is used. ember-tether functionality is engaged automatically if you pass a tetherTarget property.

Deprecations:

Direct use of tether-dialog, modal-dialog-overlay is deprecated:

  • Unify modal-dialog and tether-dialog into one modal-dialog component #186 (lukemelia)
  • Replace modal-dialog-overlay component with a div and deprecate it. #185 (lukemelia)

overlay-class, wrapper-class and container-class are deprecated in favor of overlayClass, wrapperClass and containerClass:

  • Use camelCase properties, deprecate public kebab case properties #178 (lukemelia)

close action is deprecated in favor of onClose

  • Rename close action to onClose and deprecate close. #183 (lukemelia)

Other changes

  • Detect ember-tether and throw an error early if not present and tetherTarget is passed. #189 (lukemelia)
  • Make tests more robust with waitUntil #188 (lukemelia)
  • Simplify dummy app a bit #187 (lukemelia)
  • Update title of dummy app #184 (lukemelia)
  • Switch dummy app/tests to use routes instead of query params #182 (lukemelia)
  • install was installed inadvertently, so let's uninstall the inadvertent install of install #181 (lukemelia)
  • Use ember-native-dom-helpers and async/await #180 (lukemelia)
  • Upgrade ember-cli, ember-cli-babel, and friends #179 (lukemelia)

What to expect in 3.0

Functionality deprecated in 2.1 will be dropped in 3.0, so if you are upgrading an app, a pitstop at 2.1 will be helpful in getting good feedback about changes that will be breaking in 3.0.

3.0 will introduce optional support for animating modals via liquid-fire.

In the Bushes

13 May 00:01
Compare
Choose a tag to compare

Changes since 2.0.0-beta.0:

Notes for upgrading from 1.x:

We have dropped support for Ember versions older than 2.4. Otherwise, there are no breaking changes since 1.0.0.

Rags to Riches (v2.0.0-beta.0)

05 Apr 06:31
Compare
Choose a tag to compare
Pre-release

Now supporting Ember 2.4 and newer.

  • Update ember-cli and other tooling dependencies. #174 (lukemelia)
  • Update ember-wormhole dependency and ember-tether devDependency #173 (lukemelia)
  • Drop support for Ember versions older than 2.4 #172 (lukemelia)

Beggar's Point (v1.0.0)

05 Apr 06:16
Compare
Choose a tag to compare

This is the first (and possibly last) version in the 1.0 series, supporting Ember >= 1.10. Future versions will support Ember 2.4, and 2.8 and higher.

  • [BREAKING] Change default scss to use static positioning for render in place. #169 (andrewhavens)
  • Use yarn for dependency management #168 (andrewhavens)
  • Add ability to specify a callback that is triggered when overlay is clicked. #167 (andrewhavens)
  • Check for Ember version with new ember-cli-version-checker API. #166 (Dan-Ste)

v0.9.1

14 Feb 21:18
Compare
Choose a tag to compare
  • Touch event handling on IOS for clickOutsideToClose. #161 (Chee7ah)
  • Register unique clickOutsideToClose click handlers. #129 (oscarni)
  • Add element center to positioned container. #144 (wandertosee)

Her Name Was Rio

20 Aug 00:07
Compare
Choose a tag to compare
  • Support unit and integration tests out of the box. #142 (blimmer)
  • Update README to change usage of ember-key-responder to ember-keyboard #141 (SaladFork)
  • Update ember-cli and use ember try's versionCompatibility #136 (lukemelia)

v0.8.8

03 Aug 17:25
Compare
Choose a tag to compare
Released v0.8.8

v0.8.0

10 Sep 18:43
Compare
Choose a tag to compare

BREAKING CHANGES

  • This release splits ember-modal-dialog into two components modal-dialog and tether-dialog. Prior to this release, including ember-tether implicitly caused ember-modal-dialog to use Tether.js for positioning. Addon consumers now make an explicit choice by using the appropriate component.
  • attributes used to describe the positioning of the dialog have been changed to be consistent with the language tether uses. See the README for documentation on the attributes.

Fixed bugs:

  • Opening modal fails in Ember 1.13.7+ #71

Closed issues:

  • Custom modal template #69
  • Modal positioning fails after browser resizing #68
  • Enter KeyboardEvent #67
  • modal-dialog template disjunction in >0.7.3 breaks dependency setup #52
  • scrolling behavior for large modals #11

Merged pull requests:

v0.7.7

04 Aug 03:48
Compare
Choose a tag to compare

Closed issues:

  • Hide on click out with hasOverlay=false #55
  • Addon doesn't work with ember-cli < 0.2.6 #53

Merged pull requests:

  • refactor updateAlignment to make it clear what the different paths are #66 (raycohen)
  • assert that specified alignment target exists #65 (kagemusha)
  • Adds the ability to close when clicking anywhere outside the modal without an overlay #59 (kellyselden)
  • Add version check for minimum ember-cli version #56 (lukemelia)