Skip to content
This repository was archived by the owner on May 11, 2018. It is now read-only.

Releases: Nevraeka/star-rating

Keyboard Access Updates

06 Jun 19:15

Choose a tag to compare

  • 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 setAttribute call inside attributeChangedCallback
  • feature : removed value attribute to prevent writable concerns (use value property instead)
  • feature : Added Keyboard access for left and right arrows onkeyup when the element is selected or focused

Documentation updates

12 May 19:42

Choose a tag to compare

Readme document updates

  • Events example
  • Events formatting
  • Headers formatting
  • More detailed content for descriptions

V.3.0.0

09 May 14:03

Choose a tag to compare

*** 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)

07 Apr 17:01

Choose a tag to compare

  • Replaced img-path & states attributes with the standard src attribute
  • Fixed RegEx logic for src attribute
  • Removed hover attribute & functionality
  • Updated es6 imports
    • renamed mixins.js to helpers.js
    • added template functions to helpers.js
    • Added vars.js to reference constants
  • 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

25 Mar 14:29

Choose a tag to compare

  • Added optional hover capability
  • reworked organization of code (possible breaking change from v.1.0.1)
  • Updated demo (basic info)

Initial Release

25 Mar 11:29

Choose a tag to compare

1.0.0 Features

  • value output attribute & custom ratingUpdated event for easy value indication
  • ability to have custom images used for both states
  • click events added to stars
  • ability to dynamically update element via attribute i/o & lifecycle callbacks