Releases: sethbrasile/ember-remodal
The Albatross is Massaging the Porpoise with Cheese
- Now works in engines [Thanks @mydea! #31]
- Remodal now appends modals to
ENV.APP.rootElement
and falls back to.ember-application
. This should make testing easier, as modals will no longer appear outside of the testing context. [Thanks @esbanarango! #30]
This could probably be a minor release, but #30 could technically break tests if you were doing funny stuff to find a modal in the DOM during testing.
Here's an example of swapping tests to match the new setup: 4aa97c0
Fastboot Support
ember-remodal now builds when you're using ember-cli-fastboot! woohooo!
Please refer all praise to @locks.
my.. are those your testingclates?
Adds config/environment option to allow globally disabling modal animations during testing. More info here
all your dom are belong to me
Fixes #18
Previously, when a modal component was destroyed (by navigating away, etc..) the DOM elements created by remodal would hang around. They are now destroyed along with the component.
Galactica
breaking changes
Please check out the demo app for full documentation.
- ember-wormhole is no longer installed automatically (
ember install ember-wormhole
if you use theopen
contextual component) - A service modal's default name (and it's corresponding class assignment) is now
ember-remodal
. It wasmodal
which caused issues when the consuming app used certain CSS frameworks. - Removes:
- er-open-button
- er-cancel-button
- er-confirm-button
- linkButton
- isApplicationModal
Battlestar
Adds support for contextual components. Deprecates Legacy components.
You should use this version if you are on Ember < 2.3
Beets
Bears
Anything that has been deprecated in this version will be removed in 1.0.0. Before upgrading to 1.0.0, install this version and remove any deprecations that appear.