created:4/4/2021
updated:4/4/2021
loc
167
comments
7%
passed
10
coverage
11%

ColorEditor

avatar of atanasster

Color control editor.

Component

import { ColorEditor } from '@component-controls/editors';

Rgba

Properties

Name
Description
Default
-(1 properties)
name

name of the property control.

string
-
AriaAttributes(48 properties)

Commits

Date
Author
Commit Message
4/28/2021

atanasster

avatar of atanasster
feat: axe ally accessibility testing
12/3/2020

atanasster

avatar of atanasster
fix: sx prop upgrade
11/17/2020

atanasster

avatar of atanasster
chore: cleanup default imports of React
10/26/2020

atanasster

avatar of atanasster
chore: color editor theming
10/25/2020

atanasster

avatar of atanasster
chore: upgr. react-colorful for static css classes
10/21/2020

atanasster

avatar of atanasster
chore: type of ColorPicker
10/21/2020

atanasster

avatar of atanasster
chore: switch color pcikers to string
10/20/2020

atanasster

avatar of atanasster
feat: replace react-color with react-colorful
8/3/2020

atanasster

avatar of atanasster
fix: object merge values
7/27/2020

atanasster

avatar of atanasster
chore: re-create context api state
17 commits

External dependencies

package
imports
peer
Popover
ControlTypesComponentControlColor
useControl
react
^17.0.1
useState
*
RgbaStringColorPickerRgbStringColorPickerHslaStringColorPickerHslStringColorPickerHexColorPicker
*
theme-ui
jsxThemeButtonBoxPropsBox

Internal dependencies

file
imports
"../types"
PropertyEditor
"../prop-factory"
addPropertyEditor

Component JSX

<Popover
triggerplacementtooltipShownonVisibilityChangetooltip
>
<Box
sx
>
theme-ui
<ColorPicker
sxcoloronChange
/>
ColorPicker
<Button
cssaria-label
>
theme-ui
<Box
css
/>
theme-ui
<Box
/>
theme-ui

Stories

Overview

Rgb

Hsl

Hsla