Releases: craigh411/vue-star-rating
Version 1.3.2
Updated the README to include a Getting Started
section which shows how to sync values.
Version 1.2.2
- Updated README.md
- Added Changelog
- Added watchify for development
Version 1.2.1
Default border color updated to #999
for better contrast when stars are unselected.
Version 1.2.0
Version 1.2.0 adds the ability to add borders to stars via 2 new props:
- border-width - Sets the width of the border
- border-color - Sets the color of the border
It is now also possible to set the width between stars using the new padding
prop.
This version also fixes an issue where the stars would remain highlighted if the cursor continues to move on the same row.
Version 1.1.1
'id' prop in Star.vue
has been updated to star-id
, this fixes an issue where multiple id's
with the same name are placed on the page. This is an internal change only.
Version 1.1.0
In this minor release a new inline
prop has been added, which allows you to specify whether you want your star rating to display inline.
Release Notes
There aren't any breaking changes in this release, however, if you have been targeting id's
they have now been changed to classes to prevent multiple id's
with the same name appearing on the page:
#stars is now .star-rating
#rating-text is now .rating-text
NPM package updates
This release should now solve all the npm
issues and package should now work consistently with both webpack
and browserify
.
Updates:
- Removed the
pre-transpiled
code, as this causes an error with theruntime-only
build which could lead to confusion. - Reset the main file back to
src/star-rating.vue
so these will now need to be compiled. - Checked that component compiles with both
webpack/vue-loader/babel-loader
andbrowserify/vueify/babelify
build configurations.
Updates to NPM package
This release fixes a few issues with the npm
package.
Docs update
Docs update only
- Fixed an error in the docs which incorrectly stated that the
read-only
was true by default and that stars were read only when this prop was set to false. - Added a little more detail to the docs
Readme updated + version synced with npm
Update Readme:
-Incorrect CDN url was previously given
-Example of reactive prop added
Version now synced with npm version.