created:5/17/2021
updated:5/17/2021
loc
26
comments
0
passed
2
failed
2
coverage
0%

ColorPicker

avatar of Vlad Shilov

Component

import { ColorPicker } from 'react-colorful';

Hex

#dd4455

Properties

Name
Description
Default
colorModel
ColorModel<T>
-
className
string
-
color
AnyColor
colorModel.defaultColor
onChange
((newColor: T) => void)
-

Commits

Date
Author
Commit Message
12/21/2020

Vlad Shilov

avatar of Vlad Shilov
Inject styles
10/22/2020

Vlad Shilov

avatar of Vlad Shilov
Replace CSS modules with static class names
9/23/2020

Vlad Shilov

avatar of Vlad Shilov
ARIA attributes, keyboard support
9/13/2020

Vlad Shilov

avatar of Vlad Shilov
Get rid of the default className value
9/11/2020

Vlad Shilov

avatar of Vlad Shilov
Create new pickers
9/11/2020

Vlad Shilov

avatar of Vlad Shilov
Migrate to alpha-channel colors
9/6/2020

Vlad Shilov

avatar of Vlad Shilov
Rename color types (RGB → RgbColor, etc)
9/5/2020

Vlad Shilov

avatar of Vlad Shilov
Named exports everywhere
9/5/2020

Vlad Shilov

avatar of Vlad Shilov
Rename `formatClassName.ts` to `format.ts` to unify utils export
9/5/2020

Vlad Shilov

avatar of Vlad Shilov
Update from master
12 commits

External dependencies

package
imports
peer
react
^17.0.0
React
*

Internal dependencies

file
imports
"./Hue"
"./Saturation"
"../../types"
ColorModelColorPickerBasePropsAnyColor
"../../hooks/useColorManipulation"
useColorManipulation
"../../hooks/useStyleSheet"
useStyleSheet
"../../utils/format"
formatClassName

Component JSX

<div
className
>
div
<Saturation
hsvaonChange
/>
Saturation
from"./Saturation"
<Hue
hueonChangeclassName
/>
Hue
from"./Hue"

Stories

Rgb

{ "r": 154, "g": 22, "b": 192 }