Skip to content

Commit a5ef504

Browse files
Add: Gradient palette editor (#36820)
Co-authored-by: André <[email protected]>
1 parent 3633b17 commit a5ef504

File tree

13 files changed

+557
-366
lines changed

13 files changed

+557
-366
lines changed

packages/components/src/circular-option-picker/index.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,17 @@ function Option( {
2525
const optionButton = (
2626
<Button
2727
isPressed={ isSelected }
28-
className={ classnames(
29-
className,
30-
'components-circular-option-picker__option'
31-
) }
28+
className="components-circular-option-picker__option"
3229
{ ...additionalProps }
3330
/>
3431
);
3532
return (
36-
<div className="components-circular-option-picker__option-wrapper">
33+
<div
34+
className={ classnames(
35+
className,
36+
'components-circular-option-picker__option-wrapper'
37+
) }
38+
>
3739
{ tooltipText ? (
3840
<Tooltip text={ tooltipText }>{ optionButton }</Tooltip>
3941
) : (

packages/components/src/color-edit/index.js

Lines changed: 0 additions & 329 deletions
This file was deleted.

packages/components/src/color-edit/style.scss

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/components/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export {
3636
} from './card';
3737
export { default as CheckboxControl } from './checkbox-control';
3838
export { default as ClipboardButton } from './clipboard-button';
39-
export { default as __experimentalColorEdit } from './color-edit';
39+
export { default as __experimentalPaletteEdit } from './palette-edit';
4040
export { default as ColorIndicator } from './color-indicator';
4141
export { default as ColorPalette } from './color-palette';
4242
export { ColorPicker } from './color-picker';

0 commit comments

Comments
 (0)