All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.3 - 2021-12-02
- Deprecated slash as division when using Dart Sass (issue #109)
2.0.2 - 2021-09-01
- Set package type to
moduleto better support native ES module imports - Code cleanup and documentation improvements
2.0.1 - 2018-05-14
- Support for reassigning
$spinnerSizeSass variable (PR #81) - Re-included Sass files in the npm package
2.0.0 - 2018-05-13
- Built-in TypeScript definitions
- Support for the
style-src 'self';Content Security Policy
- Rewritten as a native ES6 module using spin.js v4
- Deprecated jQuery API
- Deprecated
enableanddisablemethods - Bower support
- Support for Internet Explorer 9 (not supported by spin.js v4)
1.0.6 - 2018-02-04
- Support for forms with
novalidateattribute (issue #80)
- Protruding outline in Chrome on buttons with a progress bar
1.0.5 - 2017-09-24
- Validation for URL input fields in IE 9
- Detection of required HTML5 inputs in IE 9
- Bug where the
stop()method would remove a button's disabled state even though Ladda was already stopped (issue #68)
1.0.4 - 2017-08-27
Note that the Ladda jQuery API is deprecated - it is recommended to use the plain JavaScript API instead.
1.0.3 - 2017-08-27
- Code cleanup and performance improvements
- Undocumented
enableanddisableinstance methods
1.0.2 - 2017-08-27
- Support for right-to-left text direction (PR #66)
- jQuery API
1.0.1 - 2017-07-11
- Bug where focus outline protruded outside button in Chrome
- Unnecessary
toArray()function
1.0.0 - 2016-03-08
data-spinner-linesattribute for controlling the number of lines in the spinner (PR #50)
- The
ladda-buttonclass anddata-styleattribute are now automatically set if missing (PR #52) ladda-labelnow wraps existing elements instead of reinserting them usinginnerHTML(PR #55)checkValidityis now used to validate forms where supported (PR #58)
0.9.8 - 2015-04-05
mainfield to package.json for easier CommonJS loading (PR #47)- Validity check for email inputs (PR #48)
- Updated spin.js to v2.0.2 (PR #49)
0.9.7 - 2015-01-17
- The Ladda theme is now baked into the output ladda.min.css file again. Was broken after upgrading grunt Sass in v0.9.5.
0.9.6 - 2015-01-16
- Unintended references to non-existing sourcemap files that were introduced in v0.9.5 as part of the grunt Sass upgrade.
0.9.5 - 2015-01-16
- Validation of required select, radio, and checkbox inputs (PR #43)
- The
ladda-spinnerelement is no longer created if it already exists (PR #44)
0.9.4 - 2014-06-21
remove()method to Ladda instances to stop memory leaks (PR #36)
- Updated from spin.js v1.3 to v2.0 (PR #37)
0.9.3 - 2014-04-16
- jQuery wrapper (PR #33)
- Overlay effect in Safari
- Missing CommonJS requirement
0.9.2 - 2013-12-03
- Spinner height is now calculated when spinning starts as opposed to when Ladda is initialized. This fixes spinner sizing issues with buttons that are initially hidden.
0.9.1 - 2013-11-27
- Issue where loading animations did not start for buttons outside of forms. This only affected use through the
Ladda.bind()method.
0.9.0 - 2013-10-23
- Ladda now confirms that all
requiredfields in its parent form are filled out before starting the spinning animation. Note that this only applies to buttons bound usingLadda.bind().
- jQuery dependencies
0.8.0 - 2013-09-05
data-spinner-colorattribute for configuring spinner color
- Disabled pointer events on spinner element
- Array conversion bug which prevented binding Ladda to a selector
- Default
z-indexvalue, wasinitialbut should beauto
0.7.0 - 2013-07-19
startAfter(delay)method
- Limit progress value to number between
0and1
- Issue that prevented forms from submitting
- Error that caused IE 8 to blow up on page load (still not supported, though)
0.6.0 - 2013-07-07
data-spinner-sizeattribute for setting explicit pixel size of spinner
ladda-labelwrapper is now automatically created if it doesn't exist
0.5.2 - 2013-06-27
- bower.json
- Error when passing element to
Ladda.create()
0.5.1 - 2013-06-19
- Bootstrap integration example
0.5.0 - 2013-06-19
- Split visual and functional styles into separate stylesheets for framework compatibility (issue #20)
- Spinner size is now automatically calculated using JavaScript
0.4.2 - 2013-06-14
- Size options (issue #15)
- Mint color preset
- All settings are now applied via
data-*attributes
0.4.1 - 2013-06-14
enableanddisablehelper methods
0.4.0 - 2013-06-14
- Common.js / AMD module support
- Grunt build file and minified files in /dist folder
- Migrated from plain CSS to Sass
0.3.0 - 2013-06-08
- Built-in progress bars which can be controlled using
setProgressmethod
- Replaced spinner GIF with spin.js
spinnerandlabelclasses are now prefixed withladda-
- Hardcoded timeout
0.2.0 - 2013-06-05
- Simple JavaScript API
- Instructions in readme
- MIT license
0.1.0 - 2013-06-05
- Initial release