Skip to content

Commit

Permalink
Add: Gradient palette editor
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Nov 24, 2021
1 parent 90f3242 commit 5fc88e3
Show file tree
Hide file tree
Showing 13 changed files with 557 additions and 366 deletions.
12 changes: 7 additions & 5 deletions packages/components/src/circular-option-picker/index.js
Expand Up @@ -25,15 +25,17 @@ function Option( {
const optionButton = (
<Button
isPressed={ isSelected }
className={ classnames(
className,
'components-circular-option-picker__option'
) }
className="components-circular-option-picker__option"
{ ...additionalProps }
/>
);
return (
<div className="components-circular-option-picker__option-wrapper">
<div
className={ classnames(
className,
'components-circular-option-picker__option-wrapper'
) }
>
{ tooltipText ? (
<Tooltip text={ tooltipText }>{ optionButton }</Tooltip>
) : (
Expand Down
329 changes: 0 additions & 329 deletions packages/components/src/color-edit/index.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/components/src/color-edit/style.scss

This file was deleted.

2 changes: 1 addition & 1 deletion packages/components/src/index.js
Expand Up @@ -36,7 +36,7 @@ export {
} from './card';
export { default as CheckboxControl } from './checkbox-control';
export { default as ClipboardButton } from './clipboard-button';
export { default as __experimentalColorEdit } from './color-edit';
export { default as __experimentalPaletteEdit } from './palette-edit';
export { default as ColorIndicator } from './color-indicator';
export { default as ColorPalette } from './color-palette';
export { ColorPicker } from './color-picker';
Expand Down

0 comments on commit 5fc88e3

Please sign in to comment.