Releases: javisperez/vuedals
v1.8.0
v1.7.0
Changes:
- Clicking on the backdrop now closes the vuedal
- The index function to close vuedal instance now passes all the open vuedals objects. See below for more details.
Breaking change:
Now the $index
function that would close a specific Vuedal instance index, passes the close data
and all the vuedals instances as first and second argument respectively, instead of the current instance only.
e.g.:
Instead of:
...
$index(current) {
return current - 1;
}
...
you need to do:
...
$index(data, vuedals) {
const current = vuedals.length - 1;
return current - 1;
}
...
That way you can have control of the whole Vuedals instances.
Contributors
Thanks to:
- @msonowal
- @werkzeugh
For their help with these functionalities! 🤘
v1.6.1
About
This fixes a bug where pressing any key would close an escapable modal.
Contributions
Thanks to:
@fillefilip8
@SRichner
For your contributions :) it really helps!
v1.6.0
About
This release adds two new functionalities:
- Pressing escape to close the current modal
- Closing a specific modal window by passing the
$index
in the data when calling the close or dismiss method
For more info please check the readme file
Contributions
Thanks to @shelart and @SRichner for the contributions! thank you guys! very useful stuff!
v1.5.0
v1.4.0
New header option:
Pass a custom header component to use, for more info please check the README in the repo.
Fixed:
Vue throwing a warning related to using a whole object as a key
value in a v-for
loop.
Special thanks to:
- @jasonlfunk - for the custom header option functionality
- @DanielPe05 - for the warning fix when using an object as
v-for
key attribute value
Firefox scroll behavior bug fix
This release fixes #1 which was related to the way Firefox handles the scroll behavior for absolute positioned elements.
v1.3.0
Breaking change
The props
object that was wrapping all given props to the component was removed, so is no longer necessary to expect a props
prop.
This is a major break on components because if your component inside your modal is expecting props.firstname
now will receive just firstname
, causing errors if you're not aware of it.
v1.1.1
Replaced the EventBus with a custom made, so it doesn't include another Vue Instance again. Filesize reduced from 189kb to 27kb (uncompress)
First functional release
Added:
- Examples
- Better build script
- Release script