Skip to content

Releases: javisperez/vuedals

v1.8.0

10 Dec 12:55
Compare
Choose a tag to compare

Update to latest merged PR's and commits, thanks to all contributors for the help!

Also, some GH action and NPM script have been added, to start to clean it up a bit.

v1.7.0

01 Nov 13:36
Compare
Choose a tag to compare

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:

For their help with these functionalities! 🤘

v1.6.1

29 Aug 11:50
Compare
Choose a tag to compare

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

28 Aug 14:27
Compare
Choose a tag to compare

About

This release adds two new functionalities:

  1. Pressing escape to close the current modal
  2. 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

07 Aug 18:40
Compare
Choose a tag to compare

Breaking Change

There was a typo error on the dismissable option.

New

Now the body won't scroll when a modal is open.

Thanks to @SRichner for these great fixes! 🕺

v1.4.0

24 Jul 14:39
Compare
Choose a tag to compare

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

01 Jul 16:06
Compare
Choose a tag to compare

This release fixes #1 which was related to the way Firefox handles the scroll behavior for absolute positioned elements.

v1.3.0

29 May 20:28
Compare
Choose a tag to compare

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

21 Feb 13:36
Compare
Choose a tag to compare

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

31 Jan 18:02
Compare
Choose a tag to compare

Added:

  • Examples
  • Better build script
  • Release script