Skip to content

Commit

Permalink
Export the deprecated components
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Mar 4, 2019
1 parent 5da4604 commit 8b03489
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 0 deletions.
119 changes: 119 additions & 0 deletions packages/editor/src/components/deprecated.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
// Block Creation Components
/**
* WordPress dependencies
*/
import {
Autocomplete,
AlignmentToolbar,
BlockAlignmentToolbar,
BlockControls,
BlockEdit,
BlockEditorKeyboardShortcuts,
BlockFormatControls,
BlockIcon,
BlockInspector,
BlockList,
BlockMover,
BlockNavigationDropdown,
BlockSelectionClearer,
BlockSettingsMenu,
BlockTitle,
BlockToolbar,
ColorPalette,
ContrastChecker,
CopyHandler,
createCustomColorsHOC,
DefaultBlockAppender,
FontSizePicker,
getColorClassName,
getColorObjectByAttributeValues,
getColorObjectByColorValue,
getFontSize,
getFontSizeClass,
Inserter,
InnerBlocks,
InspectorAdvancedControls,
InspectorControls,
PanelColorSettings,
PlainText,
RichText,
RichTextShortcut,
RichTextToolbarButton,
RichTextInserterItem,
UnstableRichTextInputEvent,
MediaPlaceholder,
MediaUpload,
MediaUploadCheck,
MultiBlocksSwitcher,
MultiSelectScrollIntoView,
NavigableToolbar,
ObserveTyping,
PreserveScrollInReorder,
SkipToSelectedBlock,
URLInput,
URLInputButton,
URLPopover,
Warning,
WritingFlow,
withColorContext,
withColors,
withFontSizes,
} from '@wordpress/block-editor';

export {
Autocomplete,
AlignmentToolbar,
BlockAlignmentToolbar,
BlockControls,
BlockEdit,
BlockEditorKeyboardShortcuts,
BlockFormatControls,
BlockIcon,
BlockInspector,
BlockList,
BlockMover,
BlockNavigationDropdown,
BlockSelectionClearer,
BlockSettingsMenu,
BlockTitle,
BlockToolbar,
ColorPalette,
ContrastChecker,
CopyHandler,
createCustomColorsHOC,
DefaultBlockAppender,
FontSizePicker,
getColorClassName,
getColorObjectByAttributeValues,
getColorObjectByColorValue,
getFontSize,
getFontSizeClass,
Inserter,
InnerBlocks,
InspectorAdvancedControls,
InspectorControls,
PanelColorSettings,
PlainText,
RichText,
RichTextShortcut,
RichTextToolbarButton,
RichTextInserterItem,
UnstableRichTextInputEvent,
MediaPlaceholder,
MediaUpload,
MediaUploadCheck,
MultiBlocksSwitcher,
MultiSelectScrollIntoView,
NavigableToolbar,
ObserveTyping,
PreserveScrollInReorder,
SkipToSelectedBlock,
URLInput,
URLInputButton,
URLPopover,
Warning,
WritingFlow,
withColorContext,
withColors,
withFontSizes,
};
2 changes: 2 additions & 0 deletions packages/editor/src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ export { default as WordCount } from './word-count';

// State Related Components
export { default as EditorProvider } from './provider';

export * from './deprecated';

0 comments on commit 8b03489

Please sign in to comment.