Skip to content

Version 4.0.0

Choose a tag to compare

@kartik-v kartik-v released this 18 Feb 07:17
· 83 commits to master since this release

Date: 16-Feb-2016

NOTE: Release v4.0.0 is a modified rewrite with various new enhancements and BC breaking features. It allows rendering richer markup for star symbols and offers theming support.

  1. (enh #91): Add SVG Icon Support

  2. (enh #94): Add Theming Functionality.

    • New property theme will assign a CSS class rating-<theme-name> to the rating container.
    • Themes included
      • The default (blank) theme (for displaying bootstrap glyphicons)
      • krajee-svg (for displaying svg icons)
      • krajee-uni (for displaying unicode symbols as stars)
      • krajee-fa (for displaying font awesome icons)
    • Add ability to override and add one's own themes

    Various new features and BC breaking enhancements

    • REMOVED: symbol, glyphicon, ratingClass properties will be removed.
    • The requirement for the above will be replaced with the theme property (and can also be implemented using the containerClass property).
    • Stars now have a better padding and spacing that can be configured via CSS and themes
    • New property filledStar - will allow one to set the markup for filledStar - will default to
      • <i class="glyphicon glyphicon-star"></i>
    • New property emptyStar - will allow one to set the markup for emptyStar - will default to
      • <i class="glyphicon glyphicon-star-empty"></i>
    • Exclusive support for SVG (and a prebuilt krajee-svg theme that contains two different ready to use SVG icons).
  3. (enh #95): Add display only capability.

  4. (enh #96): Add support for bootstrap-sass official repo via sass branch.

  5. (enh #97): Add animate property to enable / disable animation of star highlight on hover / change.