Releases: xiaokaike/vue-color
Releases · xiaokaike/vue-color
2.8.1
2.8.0
Dependencies Update
Features
Add new Twitter
color picker
<twitter-picker v-model="colors"></twitter-picker>
see #195 for more
Thanks to @proYang
Slider
supports saturation channel
The swatches in Slider
color picker now supports saturation channel, which was fixed at 0.5
const swatches = [
{ s: 0.5, l: 0.8 },
{ s: 0.5, l: 0.65 },
{ s: 0.5, l: 0.5 },
{ s: 0.5, l: 0.35 },
{ s: 0.5, l: 0.2 }
];
// or
const swatches = ['.80', '.65', '.50', '.35', '.20']; // saturation is fixed at 0.5
<slider-picker v-model="colors" 👍 swatches="swatches" />
see #214 for more
Thanks to @AlexeyMinin
2.7.1
2.7.0
Improvements:
- Use clamp function to calculate left, top and bright values. (#156)
- Improve Accessibility:
- add
aria-labelledby
to all input elements (closes #160 ) - fix wrong aria rules
- pass the the accessibility audits in Chrome DevTools
- add
- Allow to customize labels in favor of i18n (closes #160 )
<!-- now `EditableInput` can accept `label-text` for customizing label text. -->
<EditableInput label-text="Textes shows in input label" label="hex" v-model="color.hex" @change="onChange" />
2.6.0
2.5.0
Improvements
- Web accessibility friendly. (#129)
Feature
Photoshop.vue
has new properties(#135) :acceptLabel
: Allows to customize the text on the validation button (defaulted to OK)cancelLabel
: Allows to customize the text on the cancel button (defaulted to Cancel)hasResetButton
: If true, would display a reset button below the input fields (defaulted to false)resetLabel
: Allows to customize the text on the reset button (defaulted to Reset)
Sketch.vue
: add a transparent checkboard. (#148)Compact.vue
andGrayscale.vue
: support for color chosen with lowercased palette. (#151)