Skip to content

Version 1.0.0-beta - ES6 & themes!

Pre-release
Pre-release
Compare
Choose a tag to compare
@t4t5 t4t5 released this 16 Apr 19:27
· 194 commits to master since this release

The goal of this release is to set things right and move to a more maintainable project structure so that new features can be pushed out easily. It will stay in beta for about a week, and during the time we welcome feedback and small bug fixes. Shortly after that, the final v1.0.0 will be released.

Changelog:

  • Themes! You can now experiment with new looks for your SweetAlert. The project comes with three themes that you can try out: Facebook, Twitter and Google (in the themes-folder).
  • ES6 syntax! The project is now much more maintainable as the main JS-file has been split up into several es6-modules instead. The main file is dev/sweetalert.es6.js, which should be edited while Gulp is running in order to compile it with Babel.
  • BREAKING CHANGE the files that you need to reference in order to use SweetAlert in your project have been relocated an renamed. They are dist/sweetalert.min.js and dist/sweetalert.css.
  • GitHub page. This will make the project page stay in sync with the latest version.
  • inputPlaceholder when using type: input
  • IE8 support has been dropped. Some might be disappointed by this, but in order to move the project forward, we can't stick with these ancient browsers. If IE8 users are your primary customers, you probably don't need SweetAlert anyway, use a good ol' alert.
  • Bug fixes: allowOutsideClick: false works again