Skip to content

Latest commit

 

History

History
188 lines (98 loc) · 10.5 KB

CHANGELOG.md

File metadata and controls

188 lines (98 loc) · 10.5 KB

Changelog

7.2.2 (2024-07-30)

Bug Fixes

  • Replace pointer event with mouse event and touch event for better support across different environments (671a74e)

7.2.1 (2024-07-12)

Bug Fixes

  • useBoundingClientRect wrong dimensions in modal (#75) (770820b)

7.2.0 (2024-06-27)

Features

7.1.1 (2024-04-10)

Bug Fixes

7.1.0 (2023-09-07)

Features

  • Add "individual visibility control for color inputs" support (#62) (157dbb1)

7.0.4 (2023-08-12)

Bug Fixes

7.0.3 (2023-08-09)

Bug Fixes

7.0.2 (2023-08-04)

Bug Fixes

  • Add touch-action: none to prevent pointercancel (be5bfd0)

7.0.1 (2023-08-04)

Bug Fixes

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)

6.2.0 (2021-11-11)

Features

  • onChangeComplete callback. (bd83997), closes #18

Bug Fixes

6.1.0 (2021-07-22)

Features

6.0.0 (2021-06-26)

⚠ BREAKING CHANGES

  • hideHSB -> hideHSV (#14)

Bug Fixes

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

4.1.0 (2021-04-16)

Features

  • Now Saturation is a div (5dd224a)

4.0.0 (2021-04-03)

Bug Fixes

3.1.0 (2021-02-25)

Features

Bug Fixes

  • Fixed the display of fields (4ddc02f)

3.0.0 (2021-01-08)

Whats new?

  • Rewritten and improved code. (a58ea61)