From b80daa751e14701e530437f99dc5b554bda166a3 Mon Sep 17 00:00:00 2001 From: "craig.humphreys.ai@gmail.com" Date: Sat, 26 Sep 2020 16:01:03 +0100 Subject: [PATCH] add active-border-color prop (closes #34) --- changelog.md | 1 + examples/commonjs/App.vue | 12 +++++------- spec/star.spec.js | 19 +++++++++++++++++++ src/star-rating.vue | 7 +++++++ src/star.vue | 11 +++++++++-- 5 files changed, 41 insertions(+), 9 deletions(-) diff --git a/changelog.md b/changelog.md index 2654ba6..95e6a1e 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,7 @@ - New `animate` prop added which slightly rotates and expands the star on mouseover - New `apply-active-color-on-hover` prop, which allows active colours to be applied on hover, or if set to false, on click +- New `active-border-color` prop, which allows border colour to be changed when star is active (issue #34) - Better support for touch screen devices - Refactor parseAlphaColor method into own class - Refactor star.vue diff --git a/examples/commonjs/App.vue b/examples/commonjs/App.vue index 7ce8eae..cdcfb4f 100644 --- a/examples/commonjs/App.vue +++ b/examples/commonjs/App.vue @@ -1,18 +1,16 @@