This repository was archived by the owner on May 11, 2018. It is now read-only.
Releases: Nevraeka/star-rating
Releases · Nevraeka/star-rating
Keyboard Access Updates
- bug : fixed broken size, image src on attribute updates
- bug : removed uncaught debugger statement
- bug : fixed incorrect value output from string inputs
- bug : fixed looping issues from
setAttributecall insideattributeChangedCallback - feature : removed value attribute to prevent writable concerns (use value property instead)
- feature : Added Keyboard access for left and right arrows
onkeyupwhen the element is selected or focused
Documentation updates
Readme document updates
- Events example
- Events formatting
- Headers formatting
- More detailed content for descriptions
V.3.0.0
*** Breaking Changes in Internal API ***
- Added 'rateAs' method to API that takes an integer & sets the value of the rating to that integer value
- Updated internal methods to fixed breaking changes in switching rating
- Broke out methods into utility import files
- Updated documentation (still in progress)
- Updated demo app
Version 2.0 - Normalizing DOM interactions (BREAKING CHANGES)
- Replaced
img-path&statesattributes with the standardsrcattribute - Fixed RegEx logic for src attribute
- Removed
hoverattribute & functionality - Updated es6 imports
- renamed
mixins.jstohelpers.js - added template functions to
helpers.js - Added
vars.jsto reference constants
- renamed
- fixed the 'reset' method issues where it broke src attribute updates
- Added functionality that when tapping or clicking on a star that is the current selected value it resets the rating (based off Amazon reviews functionality)
v1.1.0
Initial Release
1.0.0 Features
valueoutput attribute & customratingUpdatedevent for easy value indication- ability to have custom images used for both states
clickevents added to stars- ability to dynamically update element via attribute i/o & lifecycle callbacks