Skip to content

Releases: Wondermarin/react-color-palette

v7.0.0

03 Aug 19:48
9588f0a
Compare
Choose a tag to compare

7.0.0 (2023-08-03)

⚠ BREAKING CHANGES

  • Remove model arg in useColor()
  • Remove width prop in <ColorPicker /> component
  • Remove onChangeComplete prop in <ColorPicker /> component
  • Replace hideHEX, hideRGB and hideHSV to hideInput prop in <ColorPicker /> component
  • Replace alpha to hideAlpha prop in <ColorPicker /> component
  • Remove dark prop in <ColorPicker /> component
  • Replace toColor() to ColorService
  • Rename Color, ColorRGB and ColorHSV types in IColor, IColorRgb and IColorHsv
  • Replace react-color-palette/lib/css/styles.css to react-color-palette/css

Features

  • Add CSS-like values support in useColor() (91d0ca6)
  • Add responsive support (#22) (91d0ca6)
  • Add RSC support (Next.js 13 App Router) (91d0ca6)
  • Add touch support (#20) (91d0ca6)
  • Enable alpha-channel by default (91d0ca6)
  • Export <Saturation />, <Hue /> and <Alpha /> components (91d0ca6)
  • Implement update state from props in useColor() (#38) (91d0ca6)
  • Remove dark prop in <ColorPicker /> component (91d0ca6)
  • Remove model arg in useColor() (91d0ca6)
  • Remove onChangeComplete prop in <ColorPicker /> component (91d0ca6)
  • Remove width prop in <ColorPicker /> component (91d0ca6)
  • Rename Color, ColorRGB and ColorHSV types in IColor, IColorRgb and IColorHsv (91d0ca6)
  • Replace alpha to hideAlpha prop in <ColorPicker /> component (91d0ca6)
  • Replace hideHEX, hideRGB and hideHSV to hideInput prop in <ColorPicker /> component (91d0ca6)
  • Replace react-color-palette/lib/css/styles.css to react-color-palette/css (91d0ca6)
  • Replace toColor() to ColorService (91d0ca6)

Bug Fixes

  • Add types in exports field (#51) (91d0ca6)
  • Add check for NaN alpha value in hex2rgb() (#33) (91d0ca6)

v6.2.0

11 Nov 08:36
Compare
Choose a tag to compare

6.2.0 (2021-11-11)

Features

Bug Fixes

v6.1.0

22 Jul 15:06
Compare
Choose a tag to compare

6.1.0 (2021-07-22)

Features

v6.0.0

26 Jun 05:07
Compare
Choose a tag to compare

6.0.0 (2021-06-26)

⚠ BREAKING CHANGES

  • hideHSB -> hideHSV (#14)

Bug Fixes

v5.0.0

28 Apr 16:27
Compare
Choose a tag to compare

5.0.0 (2021-04-28)

⚠ BREAKING CHANGES

  • Remove ColorPicker default export
  • Rename HSB -> HSV

Features

  • Add ESModule support. (e534a6d)
  • Remove ColorPicker default export (f51c337)
  • Rename HSB -> HSV (bf741e3)

Bug Fixes

v4.1.0

16 Apr 04:41
Compare
Choose a tag to compare

4.1.0 (2021-04-16)

Features

  • Now Saturation is a div (5dd224a)

v4.0.0

03 Apr 10:59
Compare
Choose a tag to compare

4.0.0 (2021-04-03)

Bug Fixes

v3.1.0

25 Feb 10:32
Compare
Choose a tag to compare

3.1.0 (2021-02-25)

Features

Bug Fixes

  • Fixed the display of fields (4ddc02f)

v3.0.0

08 Jan 13:35
Compare
Choose a tag to compare

3.0.0 (2021-01-08)

Whats new?

  • Rewritten and improved code. (a58ea61)

v2.0.3

11 Oct 10:05
Compare
Choose a tag to compare

Changes

  • Removed the canvas package from dependencies.
  • Bug fixes related to canvas.