Skip to content

Commit

Permalink
Update: stabilises GradientPicker and CustomGradientPicker components…
Browse files Browse the repository at this point in the history
…. Remove some experimental gradient abstractions form the block editor.
  • Loading branch information
jorgefilipecosta committed Jul 7, 2021
1 parent cba842a commit 667c0c0
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 122 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
ButtonGroup,
ColorIndicator,
ColorPalette,
__experimentalGradientPicker as GradientPicker,
GradientPicker,
} from '@wordpress/components';
import { sprintf, __ } from '@wordpress/i18n';

Expand Down
49 changes: 0 additions & 49 deletions packages/block-editor/src/components/gradient-picker/control.js

This file was deleted.

39 changes: 0 additions & 39 deletions packages/block-editor/src/components/gradient-picker/index.js

This file was deleted.

28 changes: 0 additions & 28 deletions packages/block-editor/src/components/gradient-picker/panel.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/block-editor/src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ export { default as ColorPalette } from './color-palette';
export { default as ColorPaletteControl } from './color-palette/control';
export { default as ContrastChecker } from './contrast-checker';
export { default as __experimentalDuotoneControl } from './duotone-control';
export { default as __experimentalGradientPicker } from './gradient-picker';
export { default as __experimentalGradientPickerControl } from './gradient-picker/control';
export { default as __experimentalGradientPickerPanel } from './gradient-picker/panel';
export { default as __experimentalFontAppearanceControl } from './font-appearance-control';
export { default as __experimentalFontFamilyControl } from './font-family';
export { default as __experimentalLetterSpacingControl } from './letter-spacing-control';
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export { default as FontSizePicker } from './font-size-picker';
export { default as FormFileUpload } from './form-file-upload';
export { default as FormToggle } from './form-toggle';
export { default as FormTokenField } from './form-token-field';
export { default as __experimentalGradientPicker } from './gradient-picker';
export { default as __experimentalCustomGradientPicker } from './custom-gradient-picker';
export { default as GradientPicker } from './gradient-picker';
export { default as CustomGradientPicker } from './custom-gradient-picker';
export { Grid as __experimentalGrid } from './grid';
export { default as Guide } from './guide';
export { default as GuidePage } from './guide/page';
Expand Down

0 comments on commit 667c0c0

Please sign in to comment.