Releases: yapplabs/ember-modal-dialog
Movement is Life
-
Make modal-dialog component animatable via liquid-fire #193 (lukemelia)
- To animate non-tethered cases, install
liquid-wormhole
and passanimatable=true
- To animate tethered cases, install
liquid-tether
and passanimatable=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 andanimatable
is unspecified in 2.x. - targetAttachment of "center" and "middle center" now uses SCSS for positioning rather than dynamic rules
- To animate non-tethered cases, install
-
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
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
andtether-dialog
into onemodal-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
:
close
action is deprecated in favor of onClose
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
Rags to Riches (v2.0.0-beta.0)
Beggar's Point (v1.0.0)
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
Her Name Was Rio
v0.8.8
v0.8.0
BREAKING CHANGES
- This release splits ember-modal-dialog into two components
modal-dialog
andtether-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:
- Create separate modal-dialog and tether-dialog components #79 (chrislopresto)
- Update css for center scrolling example #74 (samselikoff)
- Make centered scrolling example work #73 (sandstrom)
- introduce ember-suave #72 (raycohen)
v0.7.7
Closed issues:
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)