Skip to content

Releases: omgovich/react-colorful

v5.6 (Even better)

10 Aug 13:24
Compare
Choose a tag to compare
  • Add new HexAlphaColorPicker component (via #186)
  • Fix types export for TypeScript 4.7. Thanks to @AnotherHermit (via #189)
  • Improve ARIA attribute values for sliders. Thanks to @aitchiss (via #177)

v5.5 (Multitouch)

28 Sep 16:19
Compare
Choose a tag to compare

鉁岋笍 Multitouch support! Thanks to @xnimorz (via #158)

Screenrecorder-2021-09-28-19-22-18-834.mp4

v5.2 (Intelligent parsers)

14 May 15:02
Compare
Choose a tag to compare

Improve input color parsers to support valid CSS color notations and units of RGB[A] and HSL[A] color models:

// Percentage syntax
"rgb(100% 50% 25%)"

// Valid angular units ("deg", "grad", "rad" and "turn")
"hsl(100grad, 50%, 50%)"
"hsl(0.25turn, 50%, 50%)"

// Modern space and slash separated syntax 
"rgba(100% 50% 25% / 99%)"
"hsla(90 50% 50% / 10%)"

// Optional leading zero
"rgb(.99% .1% .5% / .6%)"
"hsla(.2rad, .99%, .5%, .25)"

Made by @omgovich (via #133)

v5 (Super easy to install)

12 Feb 10:39
Compare
Choose a tag to compare

Since v5 no longer requires importing CSS separately, the usage of the react-colorful became much simpler.

  import { HexColorPicker } from "react-colorful";
- import "react-colorful/dist/index.css";

Now the component does not require any CSS loader and can be used with any CSS-in-JS project or component library. Also, by dropping the CSS export we made the library 100% side-effects-free.

The default styles are set to a higher priority level now, so you may need to tweak your styles a bit to override the built-in styles.

Made by @omgovich (via #101)

v4.1 (Accessibility)

25 Sep 15:39
Compare
Choose a tag to compare
  • Our color picker now follows the WAI-ARIA guidelines to support users of assistive technologies.
  • The component is completely accessible with keyboard navigation: you can focus on any picker's part using the Tab button and change the color with the arrow keys.

Made by @omgovich (via #63)

v4.0 (Alpha channel)

14 Sep 13:36
ebe0ddb
Compare
Choose a tag to compare

Alpha Color Picker

Additional components to work with RGBA, HSLA, HSVA color models. Made by @omgovich (via #47)

v3.0 (Less tooling, better API)

06 Sep 19:41
Compare
Choose a tag to compare
  • Migrate to named exports.
  • Mark the library as side-effect-free and add tree-shaking support.
  • More consistent public component and type names.

Made by @rschristian and @omgovich (via #42)

v2.3.0

29 Aug 18:14
Compare
Choose a tag to compare
  • The entire codebase was rewritten in TypeScript by @rschristian 鉂わ笍 (via #23)

v2.2

22 Aug 09:48
Compare
Choose a tag to compare
  • TypeScript types are now bundled with the library. Thanks to @rschristian (via #22)

v2.1

21 Aug 08:57
Compare
Choose a tag to compare
  • New HexInput component that allows to paste and type a HEX color (via #18)