From 8b03489691567743de14e258ef850b30067d2419 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Thu, 28 Feb 2019 10:15:04 +0100 Subject: [PATCH] Export the deprecated components --- packages/editor/src/components/deprecated.js | 119 +++++++++++++++++++ packages/editor/src/components/index.js | 2 + 2 files changed, 121 insertions(+) create mode 100644 packages/editor/src/components/deprecated.js diff --git a/packages/editor/src/components/deprecated.js b/packages/editor/src/components/deprecated.js new file mode 100644 index 00000000000000..80004056ec3114 --- /dev/null +++ b/packages/editor/src/components/deprecated.js @@ -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, +}; diff --git a/packages/editor/src/components/index.js b/packages/editor/src/components/index.js index 94034275ab0aa7..9d12344c50dc2a 100644 --- a/packages/editor/src/components/index.js +++ b/packages/editor/src/components/index.js @@ -61,3 +61,5 @@ export { default as WordCount } from './word-count'; // State Related Components export { default as EditorProvider } from './provider'; + +export * from './deprecated';