Releases: Wondermarin/react-color-palette
Releases · Wondermarin/react-color-palette
v7.0.0
7.0.0 (2023-08-03)
⚠ BREAKING CHANGES
- Remove
model
arg inuseColor()
- Remove
width
prop in<ColorPicker />
component - Remove
onChangeComplete
prop in<ColorPicker />
component - Replace
hideHEX
,hideRGB
andhideHSV
tohideInput
prop in<ColorPicker />
component - Replace
alpha
tohideAlpha
prop in<ColorPicker />
component - Remove
dark
prop in<ColorPicker />
component - Replace
toColor()
toColorService
- Rename
Color
,ColorRGB
andColorHSV
types inIColor
,IColorRgb
andIColorHsv
- Replace
react-color-palette/lib/css/styles.css
toreact-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 inuseColor()
(91d0ca6) - Remove
onChangeComplete
prop in<ColorPicker />
component (91d0ca6) - Remove
width
prop in<ColorPicker />
component (91d0ca6) - Rename
Color
,ColorRGB
andColorHSV
types inIColor
,IColorRgb
andIColorHsv
(91d0ca6) - Replace
alpha
tohideAlpha
prop in<ColorPicker />
component (91d0ca6) - Replace
hideHEX
,hideRGB
andhideHSV
tohideInput
prop in<ColorPicker />
component (91d0ca6) - Replace
react-color-palette/lib/css/styles.css
toreact-color-palette/css
(91d0ca6) - Replace
toColor()
toColorService
(91d0ca6)
Bug Fixes
v6.2.0
v6.1.0
v6.0.0
v5.0.0
v4.1.0
v4.0.0
v3.1.0
v3.0.0
v2.0.3
Changes
- Removed the
canvas
package from dependencies. - Bug fixes related to
canvas
.