@wordpress/editor 14.37.0 → 14.37.1-next.ba3aee3a2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -2
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/bindings/api.cjs +51 -0
- package/build/bindings/pattern-overrides.cjs +99 -0
- package/build/bindings/post-data.cjs +137 -0
- package/build/bindings/post-meta.cjs +129 -0
- package/build/bindings/term-data.cjs +159 -0
- package/build/components/autocompleters/index.cjs +41 -0
- package/build/components/autocompleters/user.cjs +79 -0
- package/build/components/autosave-monitor/index.cjs +117 -0
- package/build/components/block-removal-warnings/index.cjs +96 -0
- package/build/components/block-settings-menu/plugin-block-settings-menu-item.cjs +55 -0
- package/build/components/block-visibility/index.cjs +125 -0
- package/build/components/blog-title/index.cjs +141 -0
- package/build/components/character-count/index.cjs +36 -0
- package/build/components/collab-sidebar/add-comment.cjs +122 -0
- package/build/components/collab-sidebar/comment-author-info.cjs +106 -0
- package/build/components/collab-sidebar/comment-form.cjs +111 -0
- package/build/components/collab-sidebar/comment-indicator-toolbar.cjs +100 -0
- package/build/components/collab-sidebar/comment-menu-item.cjs +78 -0
- package/build/components/collab-sidebar/comments.cjs +810 -0
- package/build/components/collab-sidebar/constants.cjs +37 -0
- package/build/components/collab-sidebar/hooks.cjs +367 -0
- package/build/components/collab-sidebar/hooks.cjs.map +7 -0
- package/build/components/collab-sidebar/index.cjs +239 -0
- package/build/components/collab-sidebar/utils.cjs +112 -0
- package/build/components/collapsible-block-toolbar/index.cjs +87 -0
- package/build/components/commands/index.cjs +412 -0
- package/build/components/deprecated.cjs +345 -0
- package/build/components/document-bar/index.cjs +215 -0
- package/build/components/document-bar/useEditedSectionDetails.cjs +95 -0
- package/build/components/document-outline/check.cjs +38 -0
- package/build/components/document-outline/index.cjs +217 -0
- package/build/components/document-outline/item.cjs +88 -0
- package/build/components/document-tools/index.cjs +177 -0
- package/build/components/editor/index.cjs +172 -0
- package/build/components/editor/index.cjs.map +7 -0
- package/build/components/editor-history/redo.cjs +57 -0
- package/build/components/editor-history/undo.cjs +56 -0
- package/build/components/editor-interface/index.cjs +193 -0
- package/build/components/editor-interface/index.cjs.map +7 -0
- package/build/components/editor-notices/index.cjs +80 -0
- package/build/components/editor-snackbars/index.cjs +47 -0
- package/build/components/entities-saved-states/entity-record-item.cjs +78 -0
- package/build/components/entities-saved-states/entity-record-item.cjs.map +7 -0
- package/build/components/entities-saved-states/entity-type-list.cjs +135 -0
- package/build/components/entities-saved-states/hooks/use-is-dirty.cjs +88 -0
- package/build/components/entities-saved-states/index.cjs +216 -0
- package/build/components/error-boundary/index.cjs +84 -0
- package/build/components/global-keyboard-shortcuts/index.cjs +106 -0
- package/build/components/global-keyboard-shortcuts/register-shortcuts.cjs +156 -0
- package/build/components/global-styles/block-link.cjs +72 -0
- package/build/components/global-styles/header.cjs +56 -0
- package/build/components/global-styles/hooks.cjs +178 -0
- package/build/components/global-styles/index.cjs +140 -0
- package/build/components/global-styles/menu.cjs +97 -0
- package/build/components/global-styles-provider/index.cjs +181 -0
- package/build/components/global-styles-renderer/index.cjs +57 -0
- package/build/components/global-styles-sidebar/default-sidebar.cjs +68 -0
- package/build/components/global-styles-sidebar/index.cjs +184 -0
- package/build/components/global-styles-sidebar/welcome-guide-image.cjs +39 -0
- package/build/components/global-styles-sidebar/welcome-guide.cjs +145 -0
- package/build/components/header/back-button.cjs +52 -0
- package/build/components/header/index.cjs +211 -0
- package/build/components/index.cjs +316 -0
- package/build/components/index.cjs.map +7 -0
- package/build/components/inserter-sidebar/index.cjs +108 -0
- package/build/components/keyboard-shortcut-help-modal/config.cjs +88 -0
- package/build/components/keyboard-shortcut-help-modal/dynamic-shortcut.cjs +69 -0
- package/build/components/keyboard-shortcut-help-modal/index.cjs +187 -0
- package/build/components/keyboard-shortcut-help-modal/shortcut.cjs +82 -0
- package/build/components/list-view-sidebar/index.cjs +140 -0
- package/build/components/list-view-sidebar/list-view-outline.cjs +62 -0
- package/build/components/local-autosave-monitor/index.cjs +170 -0
- package/build/components/media-categories/index.cjs +202 -0
- package/build/components/mode-switcher/index.cjs +93 -0
- package/build/components/more-menu/copy-content-menu-item.cjs +65 -0
- package/build/components/more-menu/index.cjs +190 -0
- package/build/components/more-menu/tools-more-menu-group.cjs +31 -0
- package/build/components/more-menu/view-more-menu-group.cjs +34 -0
- package/build/components/more-menu/view-more-menu-group.cjs.map +7 -0
- package/build/components/page-attributes/check.cjs +47 -0
- package/build/components/page-attributes/order.cjs +76 -0
- package/build/components/page-attributes/panel.cjs +60 -0
- package/build/components/page-attributes/parent.cjs +289 -0
- package/build/components/page-attributes/parent.cjs.map +7 -0
- package/build/components/pattern-duplicate-modal/index.cjs +77 -0
- package/build/components/pattern-overrides-panel/index.cjs +42 -0
- package/build/components/pattern-rename-modal/index.cjs +70 -0
- package/build/components/plugin-document-setting-panel/index.cjs +90 -0
- package/build/components/plugin-more-menu-item/index.cjs +42 -0
- package/build/components/plugin-post-publish-panel/index.cjs +51 -0
- package/build/components/plugin-post-status-info/index.cjs +32 -0
- package/build/components/plugin-pre-publish-panel/index.cjs +51 -0
- package/build/components/plugin-preview-menu-item/index.cjs +42 -0
- package/build/components/plugin-sidebar/index.cjs +39 -0
- package/build/components/plugin-sidebar-more-menu-item/index.cjs +38 -0
- package/build/components/post-actions/actions.cjs +156 -0
- package/build/components/post-actions/index.cjs +148 -0
- package/build/components/post-actions/set-as-homepage.cjs +162 -0
- package/build/components/post-actions/set-as-posts-page.cjs +155 -0
- package/build/components/post-author/check.cjs +53 -0
- package/build/components/post-author/combobox.cjs +59 -0
- package/build/components/post-author/combobox.cjs.map +7 -0
- package/build/components/post-author/constants.cjs +42 -0
- package/build/components/post-author/hook.cjs +87 -0
- package/build/components/post-author/index.cjs +54 -0
- package/build/components/post-author/panel.cjs +118 -0
- package/build/components/post-author/select.cjs +52 -0
- package/build/components/post-author/select.cjs.map +7 -0
- package/build/components/post-card-panel/index.cjs +142 -0
- package/build/components/post-comments/index.cjs +68 -0
- package/build/components/post-content-information/index.cjs +81 -0
- package/build/components/post-discussion/panel.cjs +146 -0
- package/build/components/post-excerpt/check.cjs +42 -0
- package/build/components/post-excerpt/index.cjs +87 -0
- package/build/components/post-excerpt/index.cjs.map +7 -0
- package/build/components/post-excerpt/panel.cjs +200 -0
- package/build/components/post-excerpt/plugin.cjs +34 -0
- package/build/components/post-featured-image/check.cjs +43 -0
- package/build/components/post-featured-image/index.cjs +308 -0
- package/build/components/post-featured-image/panel.cjs +76 -0
- package/build/components/post-fields/index.cjs +49 -0
- package/build/components/post-format/check.cjs +50 -0
- package/build/components/post-format/index.cjs +126 -0
- package/build/components/post-format/panel.cjs +104 -0
- package/build/components/post-last-edited-panel/index.cjs +47 -0
- package/build/components/post-last-revision/check.cjs +54 -0
- package/build/components/post-last-revision/index.cjs +95 -0
- package/build/components/post-last-revision/panel.cjs +44 -0
- package/build/components/post-locked-modal/index.cjs +236 -0
- package/build/components/post-panel-row/index.cjs +54 -0
- package/build/components/post-panel-section/index.cjs +43 -0
- package/build/components/post-pending-status/check.cjs +47 -0
- package/build/components/post-pending-status/index.cjs +67 -0
- package/build/components/post-pending-status/index.cjs.map +7 -0
- package/build/components/post-pingbacks/index.cjs +59 -0
- package/build/components/post-pingbacks/index.cjs.map +7 -0
- package/build/components/post-preview-button/index.cjs +180 -0
- package/build/components/post-publish-button/index.cjs +209 -0
- package/build/components/post-publish-button/label.cjs +83 -0
- package/build/components/post-publish-button/post-publish-button-or-toggle.cjs +91 -0
- package/build/components/post-publish-panel/index.cjs +194 -0
- package/build/components/post-publish-panel/index.cjs.map +7 -0
- package/build/components/post-publish-panel/maybe-category-panel.cjs +93 -0
- package/build/components/post-publish-panel/maybe-post-format-panel.cjs +91 -0
- package/build/components/post-publish-panel/maybe-tags-panel.cjs +103 -0
- package/build/components/post-publish-panel/maybe-upload-media.cjs +220 -0
- package/build/components/post-publish-panel/media-util.cjs +72 -0
- package/build/components/post-publish-panel/postpublish.cjs +179 -0
- package/build/components/post-publish-panel/postpublish.cjs.map +7 -0
- package/build/components/post-publish-panel/prepublish.cjs +165 -0
- package/build/components/post-saved-state/index.cjs +156 -0
- package/build/components/post-schedule/check.cjs +37 -0
- package/build/components/post-schedule/index.cjs +109 -0
- package/build/components/post-schedule/label.cjs +118 -0
- package/build/components/post-schedule/panel.cjs +100 -0
- package/build/components/post-status/index.cjs +273 -0
- package/build/components/post-status/index.cjs.map +7 -0
- package/build/components/post-sticky/check.cjs +41 -0
- package/build/components/post-sticky/index.cjs +58 -0
- package/build/components/post-sticky/index.cjs.map +7 -0
- package/build/components/post-sticky/panel.cjs +49 -0
- package/build/components/post-switch-to-draft-button/index.cjs +102 -0
- package/build/components/post-sync-status/index.cjs +56 -0
- package/build/components/post-taxonomies/check.cjs +46 -0
- package/build/components/post-taxonomies/flat-term-selector.cjs +247 -0
- package/build/components/post-taxonomies/hierarchical-term-selector.cjs +374 -0
- package/build/components/post-taxonomies/hierarchical-term-selector.cjs.map +7 -0
- package/build/components/post-taxonomies/index.cjs +76 -0
- package/build/components/post-taxonomies/most-used-terms.cjs +86 -0
- package/build/components/post-taxonomies/panel.cjs +83 -0
- package/build/components/post-template/block-theme.cjs +198 -0
- package/build/components/post-template/classic-theme.cjs +223 -0
- package/build/components/post-template/classic-theme.cjs.map +7 -0
- package/build/components/post-template/create-new-template-modal.cjs +162 -0
- package/build/components/post-template/create-new-template-modal.cjs.map +7 -0
- package/build/components/post-template/create-new-template.cjs +79 -0
- package/build/components/post-template/hooks.cjs +111 -0
- package/build/components/post-template/panel.cjs +87 -0
- package/build/components/post-template/reset-default-template.cjs +57 -0
- package/build/components/post-template/swap-template-button.cjs +117 -0
- package/build/components/post-template/swap-template-button.cjs.map +7 -0
- package/build/components/post-text-editor/index.cjs +99 -0
- package/build/components/post-title/constants.cjs +34 -0
- package/build/components/post-title/index.cjs +180 -0
- package/build/components/post-title/post-title-raw.cjs +91 -0
- package/build/components/post-title/post-title-raw.cjs.map +7 -0
- package/build/components/post-title/use-post-title-focus.cjs +56 -0
- package/build/components/post-title/use-post-title.cjs +41 -0
- package/build/components/post-transform-panel/hooks.cjs +103 -0
- package/build/components/post-transform-panel/index.cjs +103 -0
- package/build/components/post-trash/check.cjs +51 -0
- package/build/components/post-trash/index.cjs +96 -0
- package/build/components/post-type-support-check/index.cjs +53 -0
- package/build/components/post-url/check.cjs +51 -0
- package/build/components/post-url/index.cjs +179 -0
- package/build/components/post-url/label.cjs +44 -0
- package/build/components/post-url/panel.cjs +134 -0
- package/build/components/post-view-link/index.cjs +62 -0
- package/build/components/post-visibility/check.cjs +34 -0
- package/build/components/post-visibility/index.cjs +98 -0
- package/build/components/post-visibility/index.cjs.map +7 -0
- package/build/components/post-visibility/label.cjs +44 -0
- package/build/components/post-visibility/utils.cjs +48 -0
- package/build/components/posts-per-page/index.cjs +127 -0
- package/build/components/preferences-modal/enable-panel.cjs +56 -0
- package/build/components/preferences-modal/enable-plugin-document-setting-panel.cjs +45 -0
- package/build/components/preferences-modal/enable-publish-sidebar.cjs +46 -0
- package/build/components/preferences-modal/index.cjs +406 -0
- package/build/components/preview-dropdown/index.cjs +206 -0
- package/build/components/preview-dropdown/index.cjs.map +7 -0
- package/build/components/provider/disable-non-page-content-blocks.cjs +112 -0
- package/build/components/provider/index.cjs +312 -0
- package/build/components/provider/index.cjs.map +7 -0
- package/build/components/provider/navigation-block-editing-mode.cjs +45 -0
- package/build/components/provider/use-auto-switch-editor-sidebars.cjs +63 -0
- package/build/components/provider/use-block-editor-settings.cjs +359 -0
- package/build/components/provider/use-block-editor-settings.cjs.map +7 -0
- package/build/components/provider/use-hide-blocks-from-inserter.cjs +75 -0
- package/build/components/provider/use-post-content-blocks.cjs +55 -0
- package/build/components/provider/with-registry-provider.cjs +66 -0
- package/build/components/resizable-editor/index.cjs +111 -0
- package/build/components/resizable-editor/resize-handle.cjs +71 -0
- package/build/components/save-publish-panels/index.cjs +134 -0
- package/build/components/sidebar/constants.cjs +34 -0
- package/build/components/sidebar/header.cjs +65 -0
- package/build/components/sidebar/header.cjs.map +7 -0
- package/build/components/sidebar/index.cjs +180 -0
- package/build/components/sidebar/post-summary.cjs +119 -0
- package/build/components/site-discussion/index.cjs +144 -0
- package/build/components/start-page-options/index.cjs +177 -0
- package/build/components/start-page-options/index.cjs.map +7 -0
- package/build/components/start-template-options/index.cjs +209 -0
- package/build/components/style-book/categories.cjs +88 -0
- package/build/components/style-book/color-examples.cjs +66 -0
- package/build/components/style-book/constants.cjs +321 -0
- package/build/components/style-book/duotone-examples.cjs +70 -0
- package/build/components/style-book/examples.cjs +239 -0
- package/build/components/style-book/index.cjs +627 -0
- package/build/components/style-book/types.cjs +19 -0
- package/build/components/styles-canvas/index.cjs +140 -0
- package/build/components/styles-canvas/revisions.cjs +123 -0
- package/build/components/styles-canvas/style-book.cjs +70 -0
- package/build/components/table-of-contents/index.cjs +83 -0
- package/build/components/table-of-contents/panel.cjs +113 -0
- package/build/components/template-content-panel/index.cjs +84 -0
- package/build/components/template-part-content-panel/index.cjs +69 -0
- package/build/components/template-part-menu-items/convert-to-regular.cjs +52 -0
- package/build/components/template-part-menu-items/convert-to-template-part.cjs +89 -0
- package/build/components/template-part-menu-items/index.cjs +71 -0
- package/build/components/template-validation-notice/index.cjs +81 -0
- package/build/components/text-editor/index.cjs +82 -0
- package/build/components/theme-support-check/index.cjs +48 -0
- package/build/components/time-to-read/index.cjs +60 -0
- package/build/components/unsaved-changes-warning/index.cjs +49 -0
- package/build/components/visual-editor/edit-template-blocks-notification.cjs +91 -0
- package/build/components/visual-editor/index.cjs +421 -0
- package/build/components/visual-editor/use-edit-content-only-section-exit.cjs +64 -0
- package/build/components/visual-editor/use-padding-appender.cjs +75 -0
- package/build/components/visual-editor/use-select-nearest-editable-block.cjs +96 -0
- package/build/components/visual-editor/use-zoom-out-mode-exit.cjs +60 -0
- package/build/components/word-count/index.cjs +39 -0
- package/build/components/zoom-out-toggle/index.cjs +109 -0
- package/build/dataviews/api.cjs +71 -0
- package/build/dataviews/fields/content-preview/content-preview-view.cjs +95 -0
- package/build/dataviews/fields/content-preview/index.cjs +46 -0
- package/build/dataviews/store/private-actions.cjs +194 -0
- package/build/dataviews/store/private-selectors.cjs +44 -0
- package/build/dataviews/store/reducer.cjs +98 -0
- package/build/hooks/custom-sources-backwards-compatibility.cjs +79 -0
- package/build/hooks/default-autocompleters.cjs +15 -0
- package/build/hooks/index.cjs +11 -0
- package/build/hooks/media-upload.cjs +105 -0
- package/build/hooks/navigation-link-view-button.cjs +56 -0
- package/build/hooks/pattern-overrides.cjs +69 -0
- package/build/hooks/pattern-overrides.cjs.map +7 -0
- package/build/hooks/push-changes-to-global-styles/index.cjs +323 -0
- package/build/hooks/push-changes-to-global-styles/index.cjs.map +7 -0
- package/build/hooks/template-part-navigation-edit-button.cjs +90 -0
- package/build/hooks/use-global-styles-output.cjs +76 -0
- package/build/index.cjs +46 -0
- package/build/index.cjs.map +7 -0
- package/build/lock-unlock.cjs +37 -0
- package/build/private-apis.cjs +93 -0
- package/build/private-apis.cjs.map +7 -0
- package/build/store/actions.cjs +771 -0
- package/build/store/constants.cjs +83 -0
- package/build/store/defaults.cjs +39 -0
- package/build/store/index.cjs +61 -0
- package/build/store/local-autosave.cjs +53 -0
- package/build/store/private-actions.cjs +417 -0
- package/build/store/private-actions.cjs.map +7 -0
- package/build/store/private-selectors.cjs +231 -0
- package/build/store/reducer.cjs +313 -0
- package/build/store/selectors.cjs +1020 -0
- package/build/store/utils/is-template-revertable.cjs +33 -0
- package/build/store/utils/notice-builder.cjs +132 -0
- package/build/store/utils/notice-builder.cjs.map +7 -0
- package/build/utils/block-selection-path.cjs +106 -0
- package/build/utils/block-selection-path.cjs.map +7 -0
- package/build/utils/get-item-title.cjs +43 -0
- package/build/utils/get-template-info.cjs +53 -0
- package/build/utils/get-template-part-icon.cjs +46 -0
- package/build/utils/get-template-part-icon.cjs.map +7 -0
- package/build/utils/index.cjs +47 -0
- package/build/utils/media-sideload/index.cjs +30 -0
- package/build/utils/media-upload/index.cjs +104 -0
- package/build/utils/pageTypeBadge.cjs +49 -0
- package/build/utils/search-templates.cjs +75 -0
- package/build/utils/set-nested-value.cjs +45 -0
- package/build/utils/terms.cjs +84 -0
- package/build/utils/url.cjs +50 -0
- package/build-module/bindings/api.mjs +16 -0
- package/build-module/bindings/pattern-overrides.mjs +78 -0
- package/build-module/bindings/post-data.mjs +116 -0
- package/build-module/bindings/post-meta.mjs +108 -0
- package/build-module/bindings/term-data.mjs +134 -0
- package/build-module/components/autocompleters/index.mjs +6 -0
- package/build-module/components/autocompleters/user.mjs +54 -0
- package/build-module/components/autosave-monitor/index.mjs +92 -0
- package/build-module/components/block-removal-warnings/index.mjs +75 -0
- package/build-module/components/block-settings-menu/plugin-block-settings-menu-item.mjs +34 -0
- package/build-module/components/block-visibility/index.mjs +104 -0
- package/build-module/components/blog-title/index.mjs +114 -0
- package/build-module/components/character-count/index.mjs +15 -0
- package/build-module/components/collab-sidebar/add-comment.mjs +93 -0
- package/build-module/components/collab-sidebar/comment-author-info.mjs +90 -0
- package/build-module/components/collab-sidebar/comment-form.mjs +86 -0
- package/build-module/components/collab-sidebar/comment-indicator-toolbar.mjs +83 -0
- package/build-module/components/collab-sidebar/comment-menu-item.mjs +60 -0
- package/build-module/components/collab-sidebar/comments.mjs +793 -0
- package/build-module/components/collab-sidebar/constants.mjs +10 -0
- package/build-module/components/collab-sidebar/hooks.mjs +351 -0
- package/build-module/components/collab-sidebar/hooks.mjs.map +7 -0
- package/build-module/components/collab-sidebar/index.mjs +216 -0
- package/build-module/components/collab-sidebar/utils.mjs +83 -0
- package/build-module/components/collapsible-block-toolbar/index.mjs +60 -0
- package/build-module/components/commands/index.mjs +400 -0
- package/build-module/components/deprecated.mjs +311 -0
- package/build-module/components/document-bar/index.mjs +189 -0
- package/build-module/components/document-bar/useEditedSectionDetails.mjs +74 -0
- package/build-module/components/document-outline/check.mjs +17 -0
- package/build-module/components/document-outline/index.mjs +186 -0
- package/build-module/components/document-outline/item.mjs +57 -0
- package/build-module/components/document-tools/index.mjs +146 -0
- package/build-module/components/editor/index.mjs +141 -0
- package/build-module/components/editor/index.mjs.map +7 -0
- package/build-module/components/editor-history/redo.mjs +36 -0
- package/build-module/components/editor-history/undo.mjs +35 -0
- package/build-module/components/editor-interface/index.mjs +162 -0
- package/build-module/components/editor-interface/index.mjs.map +7 -0
- package/build-module/components/editor-notices/index.mjs +45 -0
- package/build-module/components/editor-snackbars/index.mjs +26 -0
- package/build-module/components/entities-saved-states/entity-record-item.mjs +57 -0
- package/build-module/components/entities-saved-states/entity-record-item.mjs.map +7 -0
- package/build-module/components/entities-saved-states/entity-type-list.mjs +104 -0
- package/build-module/components/entities-saved-states/hooks/use-is-dirty.mjs +63 -0
- package/build-module/components/entities-saved-states/index.mjs +188 -0
- package/build-module/components/error-boundary/index.mjs +67 -0
- package/build-module/components/global-keyboard-shortcuts/index.mjs +85 -0
- package/build-module/components/global-keyboard-shortcuts/register-shortcuts.mjs +135 -0
- package/build-module/components/global-styles/block-link.mjs +47 -0
- package/build-module/components/global-styles/header.mjs +42 -0
- package/build-module/components/global-styles/hooks.mjs +155 -0
- package/build-module/components/global-styles/index.mjs +113 -0
- package/build-module/components/global-styles/menu.mjs +72 -0
- package/build-module/components/global-styles-provider/index.mjs +156 -0
- package/build-module/components/global-styles-renderer/index.mjs +32 -0
- package/build-module/components/global-styles-sidebar/default-sidebar.mjs +50 -0
- package/build-module/components/global-styles-sidebar/index.mjs +153 -0
- package/build-module/components/global-styles-sidebar/welcome-guide-image.mjs +18 -0
- package/build-module/components/global-styles-sidebar/welcome-guide.mjs +114 -0
- package/build-module/components/header/back-button.mjs +30 -0
- package/build-module/components/header/index.mjs +184 -0
- package/build-module/components/index.mjs +193 -0
- package/build-module/components/inserter-sidebar/index.mjs +90 -0
- package/build-module/components/keyboard-shortcut-help-modal/config.mjs +63 -0
- package/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.mjs +38 -0
- package/build-module/components/keyboard-shortcut-help-modal/index.mjs +159 -0
- package/build-module/components/keyboard-shortcut-help-modal/shortcut.mjs +61 -0
- package/build-module/components/list-view-sidebar/index.mjs +112 -0
- package/build-module/components/list-view-sidebar/list-view-outline.mjs +31 -0
- package/build-module/components/local-autosave-monitor/index.mjs +142 -0
- package/build-module/components/media-categories/index.mjs +181 -0
- package/build-module/components/mode-switcher/index.mjs +72 -0
- package/build-module/components/more-menu/copy-content-menu-item.mjs +44 -0
- package/build-module/components/more-menu/index.mjs +167 -0
- package/build-module/components/more-menu/tools-more-menu-group.mjs +10 -0
- package/build-module/components/more-menu/view-more-menu-group.mjs +13 -0
- package/build-module/components/more-menu/view-more-menu-group.mjs.map +7 -0
- package/build-module/components/page-attributes/check.mjs +22 -0
- package/build-module/components/page-attributes/order.mjs +49 -0
- package/build-module/components/page-attributes/panel.mjs +29 -0
- package/build-module/components/page-attributes/parent.mjs +261 -0
- package/build-module/components/page-attributes/parent.mjs.map +7 -0
- package/build-module/components/pattern-duplicate-modal/index.mjs +52 -0
- package/build-module/components/pattern-overrides-panel/index.mjs +21 -0
- package/build-module/components/pattern-rename-modal/index.mjs +45 -0
- package/build-module/components/plugin-document-setting-panel/index.mjs +59 -0
- package/build-module/components/plugin-more-menu-item/index.mjs +21 -0
- package/build-module/components/plugin-post-publish-panel/index.mjs +30 -0
- package/build-module/components/plugin-post-status-info/index.mjs +11 -0
- package/build-module/components/plugin-pre-publish-panel/index.mjs +30 -0
- package/build-module/components/plugin-preview-menu-item/index.mjs +21 -0
- package/build-module/components/plugin-sidebar/index.mjs +18 -0
- package/build-module/components/plugin-sidebar-more-menu-item/index.mjs +17 -0
- package/build-module/components/post-actions/actions.mjs +131 -0
- package/build-module/components/post-actions/index.mjs +127 -0
- package/build-module/components/post-actions/set-as-homepage.mjs +142 -0
- package/build-module/components/post-actions/set-as-posts-page.mjs +135 -0
- package/build-module/components/post-author/check.mjs +22 -0
- package/build-module/components/post-author/combobox.mjs +38 -0
- package/build-module/components/post-author/combobox.mjs.map +7 -0
- package/build-module/components/post-author/constants.mjs +16 -0
- package/build-module/components/post-author/hook.mjs +62 -0
- package/build-module/components/post-author/index.mjs +23 -0
- package/build-module/components/post-author/panel.mjs +83 -0
- package/build-module/components/post-author/select.mjs +31 -0
- package/build-module/components/post-author/select.mjs.map +7 -0
- package/build-module/components/post-card-panel/index.mjs +120 -0
- package/build-module/components/post-comments/index.mjs +50 -0
- package/build-module/components/post-content-information/index.mjs +63 -0
- package/build-module/components/post-discussion/panel.mjs +119 -0
- package/build-module/components/post-excerpt/check.mjs +11 -0
- package/build-module/components/post-excerpt/index.mjs +66 -0
- package/build-module/components/post-excerpt/index.mjs.map +7 -0
- package/build-module/components/post-excerpt/panel.mjs +171 -0
- package/build-module/components/post-excerpt/plugin.mjs +13 -0
- package/build-module/components/post-featured-image/check.mjs +12 -0
- package/build-module/components/post-featured-image/index.mjs +289 -0
- package/build-module/components/post-featured-image/panel.mjs +45 -0
- package/build-module/components/post-fields/index.mjs +28 -0
- package/build-module/components/post-format/check.mjs +19 -0
- package/build-module/components/post-format/index.mjs +91 -0
- package/build-module/components/post-format/panel.mjs +73 -0
- package/build-module/components/post-last-edited-panel/index.mjs +26 -0
- package/build-module/components/post-last-revision/check.mjs +23 -0
- package/build-module/components/post-last-revision/index.mjs +60 -0
- package/build-module/components/post-last-revision/panel.mjs +13 -0
- package/build-module/components/post-locked-modal/index.mjs +221 -0
- package/build-module/components/post-panel-row/index.mjs +23 -0
- package/build-module/components/post-panel-section/index.mjs +12 -0
- package/build-module/components/post-pending-status/check.mjs +22 -0
- package/build-module/components/post-pending-status/index.mjs +32 -0
- package/build-module/components/post-pending-status/index.mjs.map +7 -0
- package/build-module/components/post-pingbacks/index.mjs +38 -0
- package/build-module/components/post-pingbacks/index.mjs.map +7 -0
- package/build-module/components/post-preview-button/index.mjs +159 -0
- package/build-module/components/post-publish-button/index.mjs +174 -0
- package/build-module/components/post-publish-button/label.mjs +62 -0
- package/build-module/components/post-publish-button/post-publish-button-or-toggle.mjs +60 -0
- package/build-module/components/post-publish-panel/index.mjs +165 -0
- package/build-module/components/post-publish-panel/index.mjs.map +7 -0
- package/build-module/components/post-publish-panel/maybe-category-panel.mjs +62 -0
- package/build-module/components/post-publish-panel/maybe-post-format-panel.mjs +70 -0
- package/build-module/components/post-publish-panel/maybe-tags-panel.mjs +72 -0
- package/build-module/components/post-publish-panel/maybe-upload-media.mjs +205 -0
- package/build-module/components/post-publish-panel/media-util.mjs +46 -0
- package/build-module/components/post-publish-panel/postpublish.mjs +154 -0
- package/build-module/components/post-publish-panel/postpublish.mjs.map +7 -0
- package/build-module/components/post-publish-panel/prepublish.mjs +134 -0
- package/build-module/components/post-saved-state/index.mjs +128 -0
- package/build-module/components/post-schedule/check.mjs +16 -0
- package/build-module/components/post-schedule/index.mjs +84 -0
- package/build-module/components/post-schedule/label.mjs +91 -0
- package/build-module/components/post-schedule/panel.mjs +69 -0
- package/build-module/components/post-status/index.mjs +251 -0
- package/build-module/components/post-status/index.mjs.map +7 -0
- package/build-module/components/post-sticky/check.mjs +20 -0
- package/build-module/components/post-sticky/index.mjs +27 -0
- package/build-module/components/post-sticky/index.mjs.map +7 -0
- package/build-module/components/post-sticky/panel.mjs +14 -0
- package/build-module/components/post-switch-to-draft-button/index.mjs +74 -0
- package/build-module/components/post-sync-status/index.mjs +25 -0
- package/build-module/components/post-taxonomies/check.mjs +25 -0
- package/build-module/components/post-taxonomies/flat-term-selector.mjs +216 -0
- package/build-module/components/post-taxonomies/hierarchical-term-selector.mjs +360 -0
- package/build-module/components/post-taxonomies/hierarchical-term-selector.mjs.map +7 -0
- package/build-module/components/post-taxonomies/index.mjs +41 -0
- package/build-module/components/post-taxonomies/most-used-terms.mjs +65 -0
- package/build-module/components/post-taxonomies/panel.mjs +52 -0
- package/build-module/components/post-template/block-theme.mjs +167 -0
- package/build-module/components/post-template/classic-theme.mjs +192 -0
- package/build-module/components/post-template/classic-theme.mjs.map +7 -0
- package/build-module/components/post-template/create-new-template-modal.mjs +147 -0
- package/build-module/components/post-template/create-new-template-modal.mjs.map +7 -0
- package/build-module/components/post-template/create-new-template.mjs +48 -0
- package/build-module/components/post-template/hooks.mjs +83 -0
- package/build-module/components/post-template/panel.mjs +56 -0
- package/build-module/components/post-template/reset-default-template.mjs +40 -0
- package/build-module/components/post-template/swap-template-button.mjs +96 -0
- package/build-module/components/post-template/swap-template-button.mjs.map +7 -0
- package/build-module/components/post-text-editor/index.mjs +68 -0
- package/build-module/components/post-title/constants.mjs +8 -0
- package/build-module/components/post-title/index.mjs +153 -0
- package/build-module/components/post-title/post-title-raw.mjs +60 -0
- package/build-module/components/post-title/post-title-raw.mjs.map +7 -0
- package/build-module/components/post-title/use-post-title-focus.mjs +35 -0
- package/build-module/components/post-title/use-post-title.mjs +20 -0
- package/build-module/components/post-transform-panel/hooks.mjs +78 -0
- package/build-module/components/post-transform-panel/index.mjs +85 -0
- package/build-module/components/post-trash/check.mjs +30 -0
- package/build-module/components/post-trash/index.mjs +68 -0
- package/build-module/components/post-type-support-check/index.mjs +32 -0
- package/build-module/components/post-url/check.mjs +30 -0
- package/build-module/components/post-url/index.mjs +165 -0
- package/build-module/components/post-url/label.mjs +19 -0
- package/build-module/components/post-url/panel.mjs +103 -0
- package/build-module/components/post-view-link/index.mjs +41 -0
- package/build-module/components/post-visibility/check.mjs +13 -0
- package/build-module/components/post-visibility/index.mjs +81 -0
- package/build-module/components/post-visibility/index.mjs.map +7 -0
- package/build-module/components/post-visibility/label.mjs +19 -0
- package/build-module/components/post-visibility/utils.mjs +23 -0
- package/build-module/components/posts-per-page/index.mjs +100 -0
- package/build-module/components/preferences-modal/enable-panel.mjs +35 -0
- package/build-module/components/preferences-modal/enable-plugin-document-setting-panel.mjs +14 -0
- package/build-module/components/preferences-modal/enable-publish-sidebar.mjs +25 -0
- package/build-module/components/preferences-modal/index.mjs +378 -0
- package/build-module/components/preview-dropdown/index.mjs +182 -0
- package/build-module/components/preview-dropdown/index.mjs.map +7 -0
- package/build-module/components/provider/disable-non-page-content-blocks.mjs +81 -0
- package/build-module/components/provider/index.mjs +284 -0
- package/build-module/components/provider/index.mjs.map +7 -0
- package/build-module/components/provider/navigation-block-editing-mode.mjs +24 -0
- package/build-module/components/provider/use-auto-switch-editor-sidebars.mjs +42 -0
- package/build-module/components/provider/use-block-editor-settings.mjs +336 -0
- package/build-module/components/provider/use-block-editor-settings.mjs.map +7 -0
- package/build-module/components/provider/use-hide-blocks-from-inserter.mjs +50 -0
- package/build-module/components/provider/use-post-content-blocks.mjs +34 -0
- package/build-module/components/provider/with-registry-provider.mjs +45 -0
- package/build-module/components/resizable-editor/index.mjs +80 -0
- package/build-module/components/resizable-editor/resize-handle.mjs +54 -0
- package/build-module/components/save-publish-panels/index.mjs +99 -0
- package/build-module/components/sidebar/constants.mjs +9 -0
- package/build-module/components/sidebar/header.mjs +44 -0
- package/build-module/components/sidebar/header.mjs.map +7 -0
- package/build-module/components/sidebar/index.mjs +162 -0
- package/build-module/components/sidebar/post-summary.mjs +88 -0
- package/build-module/components/site-discussion/index.mjs +119 -0
- package/build-module/components/start-page-options/index.mjs +158 -0
- package/build-module/components/start-page-options/index.mjs.map +7 -0
- package/build-module/components/start-template-options/index.mjs +188 -0
- package/build-module/components/style-book/categories.mjs +65 -0
- package/build-module/components/style-book/color-examples.mjs +38 -0
- package/build-module/components/style-book/constants.mjs +291 -0
- package/build-module/components/style-book/duotone-examples.mjs +49 -0
- package/build-module/components/style-book/examples.mjs +209 -0
- package/build-module/components/style-book/index.mjs +617 -0
- package/build-module/components/style-book/types.mjs +1 -0
- package/build-module/components/styles-canvas/index.mjs +105 -0
- package/build-module/components/styles-canvas/revisions.mjs +108 -0
- package/build-module/components/styles-canvas/style-book.mjs +39 -0
- package/build-module/components/table-of-contents/index.mjs +52 -0
- package/build-module/components/table-of-contents/panel.mjs +82 -0
- package/build-module/components/template-content-panel/index.mjs +63 -0
- package/build-module/components/template-part-content-panel/index.mjs +51 -0
- package/build-module/components/template-part-menu-items/convert-to-regular.mjs +31 -0
- package/build-module/components/template-part-menu-items/convert-to-template-part.mjs +68 -0
- package/build-module/components/template-part-menu-items/index.mjs +43 -0
- package/build-module/components/template-validation-notice/index.mjs +63 -0
- package/build-module/components/text-editor/index.mjs +51 -0
- package/build-module/components/theme-support-check/index.mjs +27 -0
- package/build-module/components/time-to-read/index.mjs +39 -0
- package/build-module/components/unsaved-changes-warning/index.mjs +28 -0
- package/build-module/components/visual-editor/edit-template-blocks-notification.mjs +70 -0
- package/build-module/components/visual-editor/index.mjs +405 -0
- package/build-module/components/visual-editor/use-edit-content-only-section-exit.mjs +39 -0
- package/build-module/components/visual-editor/use-padding-appender.mjs +50 -0
- package/build-module/components/visual-editor/use-select-nearest-editable-block.mjs +75 -0
- package/build-module/components/visual-editor/use-zoom-out-mode-exit.mjs +35 -0
- package/build-module/components/word-count/index.mjs +18 -0
- package/build-module/components/zoom-out-toggle/index.mjs +91 -0
- package/build-module/dataviews/api.mjs +43 -0
- package/build-module/dataviews/fields/content-preview/content-preview-view.mjs +76 -0
- package/build-module/dataviews/fields/content-preview/index.mjs +15 -0
- package/build-module/dataviews/store/private-actions.mjs +184 -0
- package/build-module/dataviews/store/private-selectors.mjs +17 -0
- package/build-module/dataviews/store/reducer.mjs +77 -0
- package/build-module/hooks/custom-sources-backwards-compatibility.mjs +77 -0
- package/build-module/hooks/default-autocompleters.mjs +13 -0
- package/build-module/hooks/index.mjs +9 -0
- package/build-module/hooks/media-upload.mjs +84 -0
- package/build-module/hooks/navigation-link-view-button.mjs +58 -0
- package/build-module/hooks/pattern-overrides.mjs +70 -0
- package/build-module/hooks/pattern-overrides.mjs.map +7 -0
- package/build-module/hooks/push-changes-to-global-styles/index.mjs +309 -0
- package/build-module/hooks/push-changes-to-global-styles/index.mjs.map +7 -0
- package/build-module/hooks/template-part-navigation-edit-button.mjs +91 -0
- package/build-module/hooks/use-global-styles-output.mjs +50 -0
- package/build-module/index.mjs +14 -0
- package/build-module/lock-unlock.mjs +11 -0
- package/build-module/private-apis.mjs +65 -0
- package/build-module/private-apis.mjs.map +7 -0
- package/build-module/store/actions.mjs +680 -0
- package/build-module/store/constants.mjs +45 -0
- package/build-module/store/defaults.mjs +14 -0
- package/build-module/store/index.mjs +25 -0
- package/build-module/store/local-autosave.mjs +26 -0
- package/build-module/store/private-actions.mjs +369 -0
- package/build-module/store/private-selectors.mjs +194 -0
- package/build-module/store/reducer.mjs +254 -0
- package/build-module/store/selectors.mjs +873 -0
- package/build-module/store/utils/is-template-revertable.mjs +12 -0
- package/build-module/store/utils/notice-builder.mjs +105 -0
- package/build-module/store/utils/notice-builder.mjs.map +7 -0
- package/build-module/utils/block-selection-path.mjs +80 -0
- package/build-module/utils/block-selection-path.mjs.map +7 -0
- package/build-module/utils/get-item-title.mjs +18 -0
- package/build-module/utils/get-template-info.mjs +28 -0
- package/build-module/utils/get-template-part-icon.mjs +27 -0
- package/build-module/utils/get-template-part-icon.mjs.map +7 -0
- package/build-module/utils/index.mjs +10 -0
- package/build-module/utils/media-sideload/index.mjs +9 -0
- package/build-module/utils/media-upload/index.mjs +83 -0
- package/build-module/utils/pageTypeBadge.mjs +28 -0
- package/build-module/utils/search-templates.mjs +40 -0
- package/build-module/utils/set-nested-value.mjs +24 -0
- package/build-module/utils/terms.mjs +56 -0
- package/build-module/utils/url.mjs +15 -0
- package/build-style/style-rtl.css +380 -102
- package/build-style/style.css +383 -101
- package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
- package/build-types/components/editor/index.d.ts +2 -1
- package/build-types/components/editor/index.d.ts.map +1 -1
- package/build-types/components/editor-interface/index.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/entity-record-item.d.ts.map +1 -1
- package/build-types/components/page-attributes/parent.d.ts.map +1 -1
- package/build-types/components/post-author/combobox.d.ts.map +1 -1
- package/build-types/components/post-author/select.d.ts.map +1 -1
- package/build-types/components/post-excerpt/index.d.ts.map +1 -1
- package/build-types/components/post-locked-modal/index.d.ts +2 -2
- package/build-types/components/post-pending-status/index.d.ts.map +1 -1
- package/build-types/components/post-pingbacks/index.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/postpublish.d.ts.map +1 -1
- package/build-types/components/post-status/index.d.ts.map +1 -1
- package/build-types/components/post-sticky/index.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts.map +1 -1
- package/build-types/components/post-template/classic-theme.d.ts.map +1 -1
- package/build-types/components/post-template/create-new-template-modal.d.ts.map +1 -1
- package/build-types/components/post-visibility/index.d.ts.map +1 -1
- package/build-types/components/provider/index.d.ts.map +1 -1
- package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
- package/build-types/components/start-page-options/index.d.ts.map +1 -1
- package/build-types/dataviews/store/reducer.d.ts +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/store/reducer.d.ts +1 -1
- package/build-types/utils/block-selection-path.d.ts +16 -0
- package/build-types/utils/block-selection-path.d.ts.map +1 -0
- package/build-types/utils/get-template-part-icon.d.ts +1 -1
- package/package.json +59 -48
- package/src/components/collab-sidebar/hooks.js +9 -3
- package/src/components/document-outline/style.scss +0 -2
- package/src/components/editor/index.js +31 -1
- package/src/components/editor-interface/index.js +11 -7
- package/src/components/entities-saved-states/entity-record-item.js +0 -1
- package/src/components/list-view-sidebar/style.scss +7 -1
- package/src/components/page-attributes/parent.js +0 -1
- package/src/components/post-author/combobox.js +0 -1
- package/src/components/post-author/select.js +0 -1
- package/src/components/post-excerpt/index.js +0 -1
- package/src/components/post-featured-image/style.scss +2 -0
- package/src/components/post-pending-status/index.js +0 -1
- package/src/components/post-pingbacks/index.js +0 -1
- package/src/components/post-publish-panel/index.js +0 -1
- package/src/components/post-publish-panel/postpublish.js +0 -1
- package/src/components/post-status/index.js +0 -2
- package/src/components/post-sticky/index.js +0 -1
- package/src/components/post-taxonomies/hierarchical-term-selector.js +0 -4
- package/src/components/post-template/classic-theme.js +0 -1
- package/src/components/post-template/create-new-template-modal.js +0 -1
- package/src/components/post-template/swap-template-button.js +0 -1
- package/src/components/post-text-editor/style.scss +1 -9
- package/src/components/post-title/post-title-raw.js +0 -1
- package/src/components/post-visibility/index.js +0 -1
- package/src/components/preview-dropdown/index.js +1 -1
- package/src/components/provider/index.js +2 -0
- package/src/components/provider/use-block-editor-settings.js +39 -3
- package/src/components/sidebar/header.js +9 -8
- package/src/components/start-page-options/index.js +7 -3
- package/src/hooks/pattern-overrides.js +14 -5
- package/src/hooks/push-changes-to-global-styles/index.js +0 -1
- package/src/private-apis.js +12 -5
- package/src/store/utils/notice-builder.js +4 -4
- package/src/utils/block-selection-path.js +127 -0
- package/src/utils/get-template-part-icon.js +2 -2
- package/build/bindings/api.js +0 -51
- package/build/bindings/pattern-overrides.js +0 -99
- package/build/bindings/post-data.js +0 -137
- package/build/bindings/post-meta.js +0 -129
- package/build/bindings/term-data.js +0 -159
- package/build/components/autocompleters/index.js +0 -41
- package/build/components/autocompleters/user.js +0 -79
- package/build/components/autosave-monitor/index.js +0 -117
- package/build/components/block-removal-warnings/index.js +0 -96
- package/build/components/block-settings-menu/plugin-block-settings-menu-item.js +0 -55
- package/build/components/block-visibility/index.js +0 -125
- package/build/components/blog-title/index.js +0 -141
- package/build/components/character-count/index.js +0 -36
- package/build/components/collab-sidebar/add-comment.js +0 -122
- package/build/components/collab-sidebar/comment-author-info.js +0 -106
- package/build/components/collab-sidebar/comment-form.js +0 -111
- package/build/components/collab-sidebar/comment-indicator-toolbar.js +0 -100
- package/build/components/collab-sidebar/comment-menu-item.js +0 -78
- package/build/components/collab-sidebar/comments.js +0 -810
- package/build/components/collab-sidebar/constants.js +0 -37
- package/build/components/collab-sidebar/hooks.js +0 -363
- package/build/components/collab-sidebar/hooks.js.map +0 -7
- package/build/components/collab-sidebar/index.js +0 -239
- package/build/components/collab-sidebar/utils.js +0 -112
- package/build/components/collapsible-block-toolbar/index.js +0 -87
- package/build/components/commands/index.js +0 -412
- package/build/components/deprecated.js +0 -345
- package/build/components/document-bar/index.js +0 -215
- package/build/components/document-bar/useEditedSectionDetails.js +0 -95
- package/build/components/document-outline/check.js +0 -38
- package/build/components/document-outline/index.js +0 -217
- package/build/components/document-outline/item.js +0 -88
- package/build/components/document-tools/index.js +0 -177
- package/build/components/editor/index.js +0 -148
- package/build/components/editor/index.js.map +0 -7
- package/build/components/editor-history/redo.js +0 -57
- package/build/components/editor-history/undo.js +0 -56
- package/build/components/editor-interface/index.js +0 -191
- package/build/components/editor-interface/index.js.map +0 -7
- package/build/components/editor-notices/index.js +0 -80
- package/build/components/editor-snackbars/index.js +0 -47
- package/build/components/entities-saved-states/entity-record-item.js +0 -79
- package/build/components/entities-saved-states/entity-record-item.js.map +0 -7
- package/build/components/entities-saved-states/entity-type-list.js +0 -135
- package/build/components/entities-saved-states/hooks/use-is-dirty.js +0 -88
- package/build/components/entities-saved-states/index.js +0 -216
- package/build/components/error-boundary/index.js +0 -84
- package/build/components/global-keyboard-shortcuts/index.js +0 -106
- package/build/components/global-keyboard-shortcuts/register-shortcuts.js +0 -156
- package/build/components/global-styles/block-link.js +0 -72
- package/build/components/global-styles/header.js +0 -56
- package/build/components/global-styles/hooks.js +0 -178
- package/build/components/global-styles/index.js +0 -140
- package/build/components/global-styles/menu.js +0 -97
- package/build/components/global-styles-provider/index.js +0 -181
- package/build/components/global-styles-renderer/index.js +0 -57
- package/build/components/global-styles-sidebar/default-sidebar.js +0 -68
- package/build/components/global-styles-sidebar/index.js +0 -184
- package/build/components/global-styles-sidebar/welcome-guide-image.js +0 -39
- package/build/components/global-styles-sidebar/welcome-guide.js +0 -145
- package/build/components/header/back-button.js +0 -52
- package/build/components/header/index.js +0 -211
- package/build/components/index.js +0 -316
- package/build/components/index.js.map +0 -7
- package/build/components/inserter-sidebar/index.js +0 -108
- package/build/components/keyboard-shortcut-help-modal/config.js +0 -88
- package/build/components/keyboard-shortcut-help-modal/dynamic-shortcut.js +0 -69
- package/build/components/keyboard-shortcut-help-modal/index.js +0 -187
- package/build/components/keyboard-shortcut-help-modal/shortcut.js +0 -82
- package/build/components/list-view-sidebar/index.js +0 -140
- package/build/components/list-view-sidebar/list-view-outline.js +0 -62
- package/build/components/local-autosave-monitor/index.js +0 -170
- package/build/components/media-categories/index.js +0 -202
- package/build/components/mode-switcher/index.js +0 -93
- package/build/components/more-menu/copy-content-menu-item.js +0 -65
- package/build/components/more-menu/index.js +0 -190
- package/build/components/more-menu/tools-more-menu-group.js +0 -31
- package/build/components/more-menu/view-more-menu-group.js +0 -34
- package/build/components/more-menu/view-more-menu-group.js.map +0 -7
- package/build/components/page-attributes/check.js +0 -47
- package/build/components/page-attributes/order.js +0 -76
- package/build/components/page-attributes/panel.js +0 -60
- package/build/components/page-attributes/parent.js +0 -290
- package/build/components/page-attributes/parent.js.map +0 -7
- package/build/components/pattern-duplicate-modal/index.js +0 -77
- package/build/components/pattern-overrides-panel/index.js +0 -42
- package/build/components/pattern-rename-modal/index.js +0 -70
- package/build/components/plugin-document-setting-panel/index.js +0 -90
- package/build/components/plugin-more-menu-item/index.js +0 -42
- package/build/components/plugin-post-publish-panel/index.js +0 -51
- package/build/components/plugin-post-status-info/index.js +0 -32
- package/build/components/plugin-pre-publish-panel/index.js +0 -51
- package/build/components/plugin-preview-menu-item/index.js +0 -42
- package/build/components/plugin-sidebar/index.js +0 -39
- package/build/components/plugin-sidebar-more-menu-item/index.js +0 -38
- package/build/components/post-actions/actions.js +0 -156
- package/build/components/post-actions/index.js +0 -148
- package/build/components/post-actions/set-as-homepage.js +0 -162
- package/build/components/post-actions/set-as-posts-page.js +0 -155
- package/build/components/post-author/check.js +0 -53
- package/build/components/post-author/combobox.js +0 -60
- package/build/components/post-author/combobox.js.map +0 -7
- package/build/components/post-author/constants.js +0 -42
- package/build/components/post-author/hook.js +0 -87
- package/build/components/post-author/index.js +0 -54
- package/build/components/post-author/panel.js +0 -118
- package/build/components/post-author/select.js +0 -53
- package/build/components/post-author/select.js.map +0 -7
- package/build/components/post-card-panel/index.js +0 -142
- package/build/components/post-comments/index.js +0 -68
- package/build/components/post-content-information/index.js +0 -81
- package/build/components/post-discussion/panel.js +0 -146
- package/build/components/post-excerpt/check.js +0 -42
- package/build/components/post-excerpt/index.js +0 -88
- package/build/components/post-excerpt/index.js.map +0 -7
- package/build/components/post-excerpt/panel.js +0 -200
- package/build/components/post-excerpt/plugin.js +0 -34
- package/build/components/post-featured-image/check.js +0 -43
- package/build/components/post-featured-image/index.js +0 -308
- package/build/components/post-featured-image/panel.js +0 -76
- package/build/components/post-fields/index.js +0 -49
- package/build/components/post-format/check.js +0 -50
- package/build/components/post-format/index.js +0 -126
- package/build/components/post-format/panel.js +0 -104
- package/build/components/post-last-edited-panel/index.js +0 -47
- package/build/components/post-last-revision/check.js +0 -54
- package/build/components/post-last-revision/index.js +0 -95
- package/build/components/post-last-revision/panel.js +0 -44
- package/build/components/post-locked-modal/index.js +0 -236
- package/build/components/post-panel-row/index.js +0 -54
- package/build/components/post-panel-section/index.js +0 -43
- package/build/components/post-pending-status/check.js +0 -47
- package/build/components/post-pending-status/index.js +0 -68
- package/build/components/post-pending-status/index.js.map +0 -7
- package/build/components/post-pingbacks/index.js +0 -60
- package/build/components/post-pingbacks/index.js.map +0 -7
- package/build/components/post-preview-button/index.js +0 -180
- package/build/components/post-publish-button/index.js +0 -209
- package/build/components/post-publish-button/label.js +0 -83
- package/build/components/post-publish-button/post-publish-button-or-toggle.js +0 -91
- package/build/components/post-publish-panel/index.js +0 -195
- package/build/components/post-publish-panel/index.js.map +0 -7
- package/build/components/post-publish-panel/maybe-category-panel.js +0 -93
- package/build/components/post-publish-panel/maybe-post-format-panel.js +0 -91
- package/build/components/post-publish-panel/maybe-tags-panel.js +0 -103
- package/build/components/post-publish-panel/maybe-upload-media.js +0 -220
- package/build/components/post-publish-panel/media-util.js +0 -72
- package/build/components/post-publish-panel/postpublish.js +0 -180
- package/build/components/post-publish-panel/postpublish.js.map +0 -7
- package/build/components/post-publish-panel/prepublish.js +0 -165
- package/build/components/post-saved-state/index.js +0 -156
- package/build/components/post-schedule/check.js +0 -37
- package/build/components/post-schedule/index.js +0 -109
- package/build/components/post-schedule/label.js +0 -118
- package/build/components/post-schedule/panel.js +0 -100
- package/build/components/post-status/index.js +0 -275
- package/build/components/post-status/index.js.map +0 -7
- package/build/components/post-sticky/check.js +0 -41
- package/build/components/post-sticky/index.js +0 -59
- package/build/components/post-sticky/index.js.map +0 -7
- package/build/components/post-sticky/panel.js +0 -49
- package/build/components/post-switch-to-draft-button/index.js +0 -102
- package/build/components/post-sync-status/index.js +0 -56
- package/build/components/post-taxonomies/check.js +0 -46
- package/build/components/post-taxonomies/flat-term-selector.js +0 -247
- package/build/components/post-taxonomies/hierarchical-term-selector.js +0 -378
- package/build/components/post-taxonomies/hierarchical-term-selector.js.map +0 -7
- package/build/components/post-taxonomies/index.js +0 -76
- package/build/components/post-taxonomies/most-used-terms.js +0 -86
- package/build/components/post-taxonomies/panel.js +0 -83
- package/build/components/post-template/block-theme.js +0 -198
- package/build/components/post-template/classic-theme.js +0 -224
- package/build/components/post-template/classic-theme.js.map +0 -7
- package/build/components/post-template/create-new-template-modal.js +0 -163
- package/build/components/post-template/create-new-template-modal.js.map +0 -7
- package/build/components/post-template/create-new-template.js +0 -79
- package/build/components/post-template/hooks.js +0 -111
- package/build/components/post-template/panel.js +0 -87
- package/build/components/post-template/reset-default-template.js +0 -57
- package/build/components/post-template/swap-template-button.js +0 -118
- package/build/components/post-template/swap-template-button.js.map +0 -7
- package/build/components/post-text-editor/index.js +0 -99
- package/build/components/post-title/constants.js +0 -34
- package/build/components/post-title/index.js +0 -180
- package/build/components/post-title/post-title-raw.js +0 -92
- package/build/components/post-title/post-title-raw.js.map +0 -7
- package/build/components/post-title/use-post-title-focus.js +0 -56
- package/build/components/post-title/use-post-title.js +0 -41
- package/build/components/post-transform-panel/hooks.js +0 -103
- package/build/components/post-transform-panel/index.js +0 -103
- package/build/components/post-trash/check.js +0 -51
- package/build/components/post-trash/index.js +0 -96
- package/build/components/post-type-support-check/index.js +0 -53
- package/build/components/post-url/check.js +0 -51
- package/build/components/post-url/index.js +0 -179
- package/build/components/post-url/label.js +0 -44
- package/build/components/post-url/panel.js +0 -134
- package/build/components/post-view-link/index.js +0 -62
- package/build/components/post-visibility/check.js +0 -34
- package/build/components/post-visibility/index.js +0 -99
- package/build/components/post-visibility/index.js.map +0 -7
- package/build/components/post-visibility/label.js +0 -44
- package/build/components/post-visibility/utils.js +0 -48
- package/build/components/posts-per-page/index.js +0 -127
- package/build/components/preferences-modal/enable-panel.js +0 -56
- package/build/components/preferences-modal/enable-plugin-document-setting-panel.js +0 -45
- package/build/components/preferences-modal/enable-publish-sidebar.js +0 -46
- package/build/components/preferences-modal/index.js +0 -406
- package/build/components/preview-dropdown/index.js +0 -206
- package/build/components/preview-dropdown/index.js.map +0 -7
- package/build/components/provider/disable-non-page-content-blocks.js +0 -112
- package/build/components/provider/index.js +0 -311
- package/build/components/provider/index.js.map +0 -7
- package/build/components/provider/navigation-block-editing-mode.js +0 -45
- package/build/components/provider/use-auto-switch-editor-sidebars.js +0 -63
- package/build/components/provider/use-block-editor-settings.js +0 -337
- package/build/components/provider/use-block-editor-settings.js.map +0 -7
- package/build/components/provider/use-hide-blocks-from-inserter.js +0 -75
- package/build/components/provider/use-post-content-blocks.js +0 -55
- package/build/components/provider/with-registry-provider.js +0 -66
- package/build/components/resizable-editor/index.js +0 -111
- package/build/components/resizable-editor/resize-handle.js +0 -71
- package/build/components/save-publish-panels/index.js +0 -134
- package/build/components/sidebar/constants.js +0 -34
- package/build/components/sidebar/header.js +0 -65
- package/build/components/sidebar/header.js.map +0 -7
- package/build/components/sidebar/index.js +0 -180
- package/build/components/sidebar/post-summary.js +0 -119
- package/build/components/site-discussion/index.js +0 -144
- package/build/components/start-page-options/index.js +0 -177
- package/build/components/start-page-options/index.js.map +0 -7
- package/build/components/start-template-options/index.js +0 -209
- package/build/components/style-book/categories.js +0 -88
- package/build/components/style-book/color-examples.js +0 -66
- package/build/components/style-book/constants.js +0 -321
- package/build/components/style-book/duotone-examples.js +0 -70
- package/build/components/style-book/examples.js +0 -239
- package/build/components/style-book/index.js +0 -627
- package/build/components/style-book/types.js +0 -19
- package/build/components/styles-canvas/index.js +0 -140
- package/build/components/styles-canvas/revisions.js +0 -123
- package/build/components/styles-canvas/style-book.js +0 -70
- package/build/components/table-of-contents/index.js +0 -83
- package/build/components/table-of-contents/panel.js +0 -113
- package/build/components/template-content-panel/index.js +0 -84
- package/build/components/template-part-content-panel/index.js +0 -69
- package/build/components/template-part-menu-items/convert-to-regular.js +0 -52
- package/build/components/template-part-menu-items/convert-to-template-part.js +0 -89
- package/build/components/template-part-menu-items/index.js +0 -71
- package/build/components/template-validation-notice/index.js +0 -81
- package/build/components/text-editor/index.js +0 -82
- package/build/components/theme-support-check/index.js +0 -48
- package/build/components/time-to-read/index.js +0 -60
- package/build/components/unsaved-changes-warning/index.js +0 -49
- package/build/components/visual-editor/edit-template-blocks-notification.js +0 -91
- package/build/components/visual-editor/index.js +0 -421
- package/build/components/visual-editor/use-edit-content-only-section-exit.js +0 -64
- package/build/components/visual-editor/use-padding-appender.js +0 -75
- package/build/components/visual-editor/use-select-nearest-editable-block.js +0 -96
- package/build/components/visual-editor/use-zoom-out-mode-exit.js +0 -60
- package/build/components/word-count/index.js +0 -39
- package/build/components/zoom-out-toggle/index.js +0 -109
- package/build/dataviews/api.js +0 -71
- package/build/dataviews/fields/content-preview/content-preview-view.js +0 -95
- package/build/dataviews/fields/content-preview/index.js +0 -46
- package/build/dataviews/store/private-actions.js +0 -194
- package/build/dataviews/store/private-selectors.js +0 -44
- package/build/dataviews/store/reducer.js +0 -98
- package/build/hooks/custom-sources-backwards-compatibility.js +0 -79
- package/build/hooks/default-autocompleters.js +0 -15
- package/build/hooks/index.js +0 -11
- package/build/hooks/media-upload.js +0 -105
- package/build/hooks/navigation-link-view-button.js +0 -56
- package/build/hooks/pattern-overrides.js +0 -64
- package/build/hooks/pattern-overrides.js.map +0 -7
- package/build/hooks/push-changes-to-global-styles/index.js +0 -324
- package/build/hooks/push-changes-to-global-styles/index.js.map +0 -7
- package/build/hooks/template-part-navigation-edit-button.js +0 -90
- package/build/hooks/use-global-styles-output.js +0 -76
- package/build/index.js +0 -46
- package/build/index.js.map +0 -7
- package/build/lock-unlock.js +0 -37
- package/build/private-apis.js +0 -89
- package/build/private-apis.js.map +0 -7
- package/build/store/actions.js +0 -771
- package/build/store/constants.js +0 -83
- package/build/store/defaults.js +0 -39
- package/build/store/index.js +0 -61
- package/build/store/local-autosave.js +0 -53
- package/build/store/private-actions.js +0 -417
- package/build/store/private-actions.js.map +0 -7
- package/build/store/private-selectors.js +0 -231
- package/build/store/reducer.js +0 -313
- package/build/store/selectors.js +0 -1020
- package/build/store/utils/is-template-revertable.js +0 -33
- package/build/store/utils/notice-builder.js +0 -132
- package/build/store/utils/notice-builder.js.map +0 -7
- package/build/utils/get-item-title.js +0 -43
- package/build/utils/get-template-info.js +0 -53
- package/build/utils/get-template-part-icon.js +0 -46
- package/build/utils/get-template-part-icon.js.map +0 -7
- package/build/utils/index.js +0 -47
- package/build/utils/media-sideload/index.js +0 -30
- package/build/utils/media-upload/index.js +0 -104
- package/build/utils/pageTypeBadge.js +0 -49
- package/build/utils/search-templates.js +0 -75
- package/build/utils/set-nested-value.js +0 -45
- package/build/utils/terms.js +0 -84
- package/build/utils/url.js +0 -50
- package/build-module/bindings/api.js +0 -16
- package/build-module/bindings/pattern-overrides.js +0 -78
- package/build-module/bindings/post-data.js +0 -116
- package/build-module/bindings/post-meta.js +0 -108
- package/build-module/bindings/term-data.js +0 -134
- package/build-module/components/autocompleters/index.js +0 -6
- package/build-module/components/autocompleters/user.js +0 -54
- package/build-module/components/autosave-monitor/index.js +0 -92
- package/build-module/components/block-removal-warnings/index.js +0 -75
- package/build-module/components/block-settings-menu/plugin-block-settings-menu-item.js +0 -34
- package/build-module/components/block-visibility/index.js +0 -104
- package/build-module/components/blog-title/index.js +0 -114
- package/build-module/components/character-count/index.js +0 -15
- package/build-module/components/collab-sidebar/add-comment.js +0 -93
- package/build-module/components/collab-sidebar/comment-author-info.js +0 -90
- package/build-module/components/collab-sidebar/comment-form.js +0 -86
- package/build-module/components/collab-sidebar/comment-indicator-toolbar.js +0 -83
- package/build-module/components/collab-sidebar/comment-menu-item.js +0 -60
- package/build-module/components/collab-sidebar/comments.js +0 -793
- package/build-module/components/collab-sidebar/constants.js +0 -10
- package/build-module/components/collab-sidebar/hooks.js +0 -347
- package/build-module/components/collab-sidebar/hooks.js.map +0 -7
- package/build-module/components/collab-sidebar/index.js +0 -216
- package/build-module/components/collab-sidebar/utils.js +0 -83
- package/build-module/components/collapsible-block-toolbar/index.js +0 -60
- package/build-module/components/commands/index.js +0 -400
- package/build-module/components/deprecated.js +0 -311
- package/build-module/components/document-bar/index.js +0 -189
- package/build-module/components/document-bar/useEditedSectionDetails.js +0 -74
- package/build-module/components/document-outline/check.js +0 -17
- package/build-module/components/document-outline/index.js +0 -186
- package/build-module/components/document-outline/item.js +0 -57
- package/build-module/components/document-tools/index.js +0 -146
- package/build-module/components/editor/index.js +0 -117
- package/build-module/components/editor/index.js.map +0 -7
- package/build-module/components/editor-history/redo.js +0 -36
- package/build-module/components/editor-history/undo.js +0 -35
- package/build-module/components/editor-interface/index.js +0 -160
- package/build-module/components/editor-interface/index.js.map +0 -7
- package/build-module/components/editor-notices/index.js +0 -45
- package/build-module/components/editor-snackbars/index.js +0 -26
- package/build-module/components/entities-saved-states/entity-record-item.js +0 -58
- package/build-module/components/entities-saved-states/entity-record-item.js.map +0 -7
- package/build-module/components/entities-saved-states/entity-type-list.js +0 -104
- package/build-module/components/entities-saved-states/hooks/use-is-dirty.js +0 -63
- package/build-module/components/entities-saved-states/index.js +0 -188
- package/build-module/components/error-boundary/index.js +0 -67
- package/build-module/components/global-keyboard-shortcuts/index.js +0 -85
- package/build-module/components/global-keyboard-shortcuts/register-shortcuts.js +0 -135
- package/build-module/components/global-styles/block-link.js +0 -47
- package/build-module/components/global-styles/header.js +0 -42
- package/build-module/components/global-styles/hooks.js +0 -155
- package/build-module/components/global-styles/index.js +0 -113
- package/build-module/components/global-styles/menu.js +0 -72
- package/build-module/components/global-styles-provider/index.js +0 -156
- package/build-module/components/global-styles-renderer/index.js +0 -32
- package/build-module/components/global-styles-sidebar/default-sidebar.js +0 -50
- package/build-module/components/global-styles-sidebar/index.js +0 -153
- package/build-module/components/global-styles-sidebar/welcome-guide-image.js +0 -18
- package/build-module/components/global-styles-sidebar/welcome-guide.js +0 -114
- package/build-module/components/header/back-button.js +0 -30
- package/build-module/components/header/index.js +0 -184
- package/build-module/components/index.js +0 -193
- package/build-module/components/inserter-sidebar/index.js +0 -90
- package/build-module/components/keyboard-shortcut-help-modal/config.js +0 -63
- package/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js +0 -38
- package/build-module/components/keyboard-shortcut-help-modal/index.js +0 -159
- package/build-module/components/keyboard-shortcut-help-modal/shortcut.js +0 -61
- package/build-module/components/list-view-sidebar/index.js +0 -112
- package/build-module/components/list-view-sidebar/list-view-outline.js +0 -31
- package/build-module/components/local-autosave-monitor/index.js +0 -142
- package/build-module/components/media-categories/index.js +0 -181
- package/build-module/components/mode-switcher/index.js +0 -72
- package/build-module/components/more-menu/copy-content-menu-item.js +0 -44
- package/build-module/components/more-menu/index.js +0 -167
- package/build-module/components/more-menu/tools-more-menu-group.js +0 -10
- package/build-module/components/more-menu/view-more-menu-group.js +0 -13
- package/build-module/components/more-menu/view-more-menu-group.js.map +0 -7
- package/build-module/components/page-attributes/check.js +0 -22
- package/build-module/components/page-attributes/order.js +0 -49
- package/build-module/components/page-attributes/panel.js +0 -29
- package/build-module/components/page-attributes/parent.js +0 -262
- package/build-module/components/page-attributes/parent.js.map +0 -7
- package/build-module/components/pattern-duplicate-modal/index.js +0 -52
- package/build-module/components/pattern-overrides-panel/index.js +0 -21
- package/build-module/components/pattern-rename-modal/index.js +0 -45
- package/build-module/components/plugin-document-setting-panel/index.js +0 -59
- package/build-module/components/plugin-more-menu-item/index.js +0 -21
- package/build-module/components/plugin-post-publish-panel/index.js +0 -30
- package/build-module/components/plugin-post-status-info/index.js +0 -11
- package/build-module/components/plugin-pre-publish-panel/index.js +0 -30
- package/build-module/components/plugin-preview-menu-item/index.js +0 -21
- package/build-module/components/plugin-sidebar/index.js +0 -18
- package/build-module/components/plugin-sidebar-more-menu-item/index.js +0 -17
- package/build-module/components/post-actions/actions.js +0 -131
- package/build-module/components/post-actions/index.js +0 -127
- package/build-module/components/post-actions/set-as-homepage.js +0 -142
- package/build-module/components/post-actions/set-as-posts-page.js +0 -135
- package/build-module/components/post-author/check.js +0 -22
- package/build-module/components/post-author/combobox.js +0 -39
- package/build-module/components/post-author/combobox.js.map +0 -7
- package/build-module/components/post-author/constants.js +0 -16
- package/build-module/components/post-author/hook.js +0 -62
- package/build-module/components/post-author/index.js +0 -23
- package/build-module/components/post-author/panel.js +0 -83
- package/build-module/components/post-author/select.js +0 -32
- package/build-module/components/post-author/select.js.map +0 -7
- package/build-module/components/post-card-panel/index.js +0 -120
- package/build-module/components/post-comments/index.js +0 -50
- package/build-module/components/post-content-information/index.js +0 -63
- package/build-module/components/post-discussion/panel.js +0 -119
- package/build-module/components/post-excerpt/check.js +0 -11
- package/build-module/components/post-excerpt/index.js +0 -67
- package/build-module/components/post-excerpt/index.js.map +0 -7
- package/build-module/components/post-excerpt/panel.js +0 -171
- package/build-module/components/post-excerpt/plugin.js +0 -13
- package/build-module/components/post-featured-image/check.js +0 -12
- package/build-module/components/post-featured-image/index.js +0 -289
- package/build-module/components/post-featured-image/panel.js +0 -45
- package/build-module/components/post-fields/index.js +0 -28
- package/build-module/components/post-format/check.js +0 -19
- package/build-module/components/post-format/index.js +0 -91
- package/build-module/components/post-format/panel.js +0 -73
- package/build-module/components/post-last-edited-panel/index.js +0 -26
- package/build-module/components/post-last-revision/check.js +0 -23
- package/build-module/components/post-last-revision/index.js +0 -60
- package/build-module/components/post-last-revision/panel.js +0 -13
- package/build-module/components/post-locked-modal/index.js +0 -221
- package/build-module/components/post-panel-row/index.js +0 -23
- package/build-module/components/post-panel-section/index.js +0 -12
- package/build-module/components/post-pending-status/check.js +0 -22
- package/build-module/components/post-pending-status/index.js +0 -33
- package/build-module/components/post-pending-status/index.js.map +0 -7
- package/build-module/components/post-pingbacks/index.js +0 -39
- package/build-module/components/post-pingbacks/index.js.map +0 -7
- package/build-module/components/post-preview-button/index.js +0 -159
- package/build-module/components/post-publish-button/index.js +0 -174
- package/build-module/components/post-publish-button/label.js +0 -62
- package/build-module/components/post-publish-button/post-publish-button-or-toggle.js +0 -60
- package/build-module/components/post-publish-panel/index.js +0 -166
- package/build-module/components/post-publish-panel/index.js.map +0 -7
- package/build-module/components/post-publish-panel/maybe-category-panel.js +0 -62
- package/build-module/components/post-publish-panel/maybe-post-format-panel.js +0 -70
- package/build-module/components/post-publish-panel/maybe-tags-panel.js +0 -72
- package/build-module/components/post-publish-panel/maybe-upload-media.js +0 -205
- package/build-module/components/post-publish-panel/media-util.js +0 -46
- package/build-module/components/post-publish-panel/postpublish.js +0 -155
- package/build-module/components/post-publish-panel/postpublish.js.map +0 -7
- package/build-module/components/post-publish-panel/prepublish.js +0 -134
- package/build-module/components/post-saved-state/index.js +0 -128
- package/build-module/components/post-schedule/check.js +0 -16
- package/build-module/components/post-schedule/index.js +0 -84
- package/build-module/components/post-schedule/label.js +0 -91
- package/build-module/components/post-schedule/panel.js +0 -69
- package/build-module/components/post-status/index.js +0 -253
- package/build-module/components/post-status/index.js.map +0 -7
- package/build-module/components/post-sticky/check.js +0 -20
- package/build-module/components/post-sticky/index.js +0 -28
- package/build-module/components/post-sticky/index.js.map +0 -7
- package/build-module/components/post-sticky/panel.js +0 -14
- package/build-module/components/post-switch-to-draft-button/index.js +0 -74
- package/build-module/components/post-sync-status/index.js +0 -25
- package/build-module/components/post-taxonomies/check.js +0 -25
- package/build-module/components/post-taxonomies/flat-term-selector.js +0 -216
- package/build-module/components/post-taxonomies/hierarchical-term-selector.js +0 -364
- package/build-module/components/post-taxonomies/hierarchical-term-selector.js.map +0 -7
- package/build-module/components/post-taxonomies/index.js +0 -41
- package/build-module/components/post-taxonomies/most-used-terms.js +0 -65
- package/build-module/components/post-taxonomies/panel.js +0 -52
- package/build-module/components/post-template/block-theme.js +0 -167
- package/build-module/components/post-template/classic-theme.js +0 -193
- package/build-module/components/post-template/classic-theme.js.map +0 -7
- package/build-module/components/post-template/create-new-template-modal.js +0 -148
- package/build-module/components/post-template/create-new-template-modal.js.map +0 -7
- package/build-module/components/post-template/create-new-template.js +0 -48
- package/build-module/components/post-template/hooks.js +0 -83
- package/build-module/components/post-template/panel.js +0 -56
- package/build-module/components/post-template/reset-default-template.js +0 -40
- package/build-module/components/post-template/swap-template-button.js +0 -97
- package/build-module/components/post-template/swap-template-button.js.map +0 -7
- package/build-module/components/post-text-editor/index.js +0 -68
- package/build-module/components/post-title/constants.js +0 -8
- package/build-module/components/post-title/index.js +0 -153
- package/build-module/components/post-title/post-title-raw.js +0 -61
- package/build-module/components/post-title/post-title-raw.js.map +0 -7
- package/build-module/components/post-title/use-post-title-focus.js +0 -35
- package/build-module/components/post-title/use-post-title.js +0 -20
- package/build-module/components/post-transform-panel/hooks.js +0 -78
- package/build-module/components/post-transform-panel/index.js +0 -85
- package/build-module/components/post-trash/check.js +0 -30
- package/build-module/components/post-trash/index.js +0 -68
- package/build-module/components/post-type-support-check/index.js +0 -32
- package/build-module/components/post-url/check.js +0 -30
- package/build-module/components/post-url/index.js +0 -165
- package/build-module/components/post-url/label.js +0 -19
- package/build-module/components/post-url/panel.js +0 -103
- package/build-module/components/post-view-link/index.js +0 -41
- package/build-module/components/post-visibility/check.js +0 -13
- package/build-module/components/post-visibility/index.js +0 -82
- package/build-module/components/post-visibility/index.js.map +0 -7
- package/build-module/components/post-visibility/label.js +0 -19
- package/build-module/components/post-visibility/utils.js +0 -23
- package/build-module/components/posts-per-page/index.js +0 -100
- package/build-module/components/preferences-modal/enable-panel.js +0 -35
- package/build-module/components/preferences-modal/enable-plugin-document-setting-panel.js +0 -14
- package/build-module/components/preferences-modal/enable-publish-sidebar.js +0 -25
- package/build-module/components/preferences-modal/index.js +0 -378
- package/build-module/components/preview-dropdown/index.js +0 -182
- package/build-module/components/preview-dropdown/index.js.map +0 -7
- package/build-module/components/provider/disable-non-page-content-blocks.js +0 -81
- package/build-module/components/provider/index.js +0 -283
- package/build-module/components/provider/index.js.map +0 -7
- package/build-module/components/provider/navigation-block-editing-mode.js +0 -24
- package/build-module/components/provider/use-auto-switch-editor-sidebars.js +0 -42
- package/build-module/components/provider/use-block-editor-settings.js +0 -314
- package/build-module/components/provider/use-block-editor-settings.js.map +0 -7
- package/build-module/components/provider/use-hide-blocks-from-inserter.js +0 -50
- package/build-module/components/provider/use-post-content-blocks.js +0 -34
- package/build-module/components/provider/with-registry-provider.js +0 -45
- package/build-module/components/resizable-editor/index.js +0 -80
- package/build-module/components/resizable-editor/resize-handle.js +0 -54
- package/build-module/components/save-publish-panels/index.js +0 -99
- package/build-module/components/sidebar/constants.js +0 -9
- package/build-module/components/sidebar/header.js +0 -44
- package/build-module/components/sidebar/header.js.map +0 -7
- package/build-module/components/sidebar/index.js +0 -162
- package/build-module/components/sidebar/post-summary.js +0 -88
- package/build-module/components/site-discussion/index.js +0 -119
- package/build-module/components/start-page-options/index.js +0 -155
- package/build-module/components/start-page-options/index.js.map +0 -7
- package/build-module/components/start-template-options/index.js +0 -188
- package/build-module/components/style-book/categories.js +0 -65
- package/build-module/components/style-book/color-examples.js +0 -38
- package/build-module/components/style-book/constants.js +0 -291
- package/build-module/components/style-book/duotone-examples.js +0 -49
- package/build-module/components/style-book/examples.js +0 -209
- package/build-module/components/style-book/index.js +0 -617
- package/build-module/components/style-book/types.js +0 -1
- package/build-module/components/styles-canvas/index.js +0 -105
- package/build-module/components/styles-canvas/revisions.js +0 -108
- package/build-module/components/styles-canvas/style-book.js +0 -39
- package/build-module/components/table-of-contents/index.js +0 -52
- package/build-module/components/table-of-contents/panel.js +0 -82
- package/build-module/components/template-content-panel/index.js +0 -63
- package/build-module/components/template-part-content-panel/index.js +0 -51
- package/build-module/components/template-part-menu-items/convert-to-regular.js +0 -31
- package/build-module/components/template-part-menu-items/convert-to-template-part.js +0 -68
- package/build-module/components/template-part-menu-items/index.js +0 -43
- package/build-module/components/template-validation-notice/index.js +0 -63
- package/build-module/components/text-editor/index.js +0 -51
- package/build-module/components/theme-support-check/index.js +0 -27
- package/build-module/components/time-to-read/index.js +0 -39
- package/build-module/components/unsaved-changes-warning/index.js +0 -28
- package/build-module/components/visual-editor/edit-template-blocks-notification.js +0 -70
- package/build-module/components/visual-editor/index.js +0 -405
- package/build-module/components/visual-editor/use-edit-content-only-section-exit.js +0 -39
- package/build-module/components/visual-editor/use-padding-appender.js +0 -50
- package/build-module/components/visual-editor/use-select-nearest-editable-block.js +0 -75
- package/build-module/components/visual-editor/use-zoom-out-mode-exit.js +0 -35
- package/build-module/components/word-count/index.js +0 -18
- package/build-module/components/zoom-out-toggle/index.js +0 -91
- package/build-module/dataviews/api.js +0 -43
- package/build-module/dataviews/fields/content-preview/content-preview-view.js +0 -76
- package/build-module/dataviews/fields/content-preview/index.js +0 -15
- package/build-module/dataviews/store/private-actions.js +0 -184
- package/build-module/dataviews/store/private-selectors.js +0 -17
- package/build-module/dataviews/store/reducer.js +0 -77
- package/build-module/hooks/custom-sources-backwards-compatibility.js +0 -77
- package/build-module/hooks/default-autocompleters.js +0 -13
- package/build-module/hooks/index.js +0 -9
- package/build-module/hooks/media-upload.js +0 -84
- package/build-module/hooks/navigation-link-view-button.js +0 -58
- package/build-module/hooks/pattern-overrides.js +0 -62
- package/build-module/hooks/pattern-overrides.js.map +0 -7
- package/build-module/hooks/push-changes-to-global-styles/index.js +0 -310
- package/build-module/hooks/push-changes-to-global-styles/index.js.map +0 -7
- package/build-module/hooks/template-part-navigation-edit-button.js +0 -91
- package/build-module/hooks/use-global-styles-output.js +0 -50
- package/build-module/index.js +0 -14
- package/build-module/lock-unlock.js +0 -11
- package/build-module/private-apis.js +0 -58
- package/build-module/private-apis.js.map +0 -7
- package/build-module/store/actions.js +0 -680
- package/build-module/store/constants.js +0 -45
- package/build-module/store/defaults.js +0 -14
- package/build-module/store/index.js +0 -25
- package/build-module/store/local-autosave.js +0 -26
- package/build-module/store/private-actions.js +0 -369
- package/build-module/store/private-selectors.js +0 -194
- package/build-module/store/reducer.js +0 -254
- package/build-module/store/selectors.js +0 -873
- package/build-module/store/utils/is-template-revertable.js +0 -12
- package/build-module/store/utils/notice-builder.js +0 -105
- package/build-module/store/utils/notice-builder.js.map +0 -7
- package/build-module/utils/get-item-title.js +0 -18
- package/build-module/utils/get-template-info.js +0 -28
- package/build-module/utils/get-template-part-icon.js +0 -27
- package/build-module/utils/get-template-part-icon.js.map +0 -7
- package/build-module/utils/index.js +0 -10
- package/build-module/utils/media-sideload/index.js +0 -9
- package/build-module/utils/media-upload/index.js +0 -83
- package/build-module/utils/pageTypeBadge.js +0 -28
- package/build-module/utils/search-templates.js +0 -40
- package/build-module/utils/set-nested-value.js +0 -24
- package/build-module/utils/terms.js +0 -56
- package/build-module/utils/url.js +0 -15
- package/tsconfig.json +0 -39
- package/tsconfig.tsbuildinfo +0 -1
- /package/build/bindings/{api.js.map → api.cjs.map} +0 -0
- /package/build/bindings/{pattern-overrides.js.map → pattern-overrides.cjs.map} +0 -0
- /package/build/bindings/{post-data.js.map → post-data.cjs.map} +0 -0
- /package/build/bindings/{post-meta.js.map → post-meta.cjs.map} +0 -0
- /package/build/bindings/{term-data.js.map → term-data.cjs.map} +0 -0
- /package/build/components/autocompleters/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/autocompleters/{user.js.map → user.cjs.map} +0 -0
- /package/build/components/autosave-monitor/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/block-removal-warnings/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/block-settings-menu/{plugin-block-settings-menu-item.js.map → plugin-block-settings-menu-item.cjs.map} +0 -0
- /package/build/components/block-visibility/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/blog-title/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/character-count/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/collab-sidebar/{add-comment.js.map → add-comment.cjs.map} +0 -0
- /package/build/components/collab-sidebar/{comment-author-info.js.map → comment-author-info.cjs.map} +0 -0
- /package/build/components/collab-sidebar/{comment-form.js.map → comment-form.cjs.map} +0 -0
- /package/build/components/collab-sidebar/{comment-indicator-toolbar.js.map → comment-indicator-toolbar.cjs.map} +0 -0
- /package/build/components/collab-sidebar/{comment-menu-item.js.map → comment-menu-item.cjs.map} +0 -0
- /package/build/components/collab-sidebar/{comments.js.map → comments.cjs.map} +0 -0
- /package/build/components/collab-sidebar/{constants.js.map → constants.cjs.map} +0 -0
- /package/build/components/collab-sidebar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/collab-sidebar/{utils.js.map → utils.cjs.map} +0 -0
- /package/build/components/collapsible-block-toolbar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/commands/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/{deprecated.js.map → deprecated.cjs.map} +0 -0
- /package/build/components/document-bar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/document-bar/{useEditedSectionDetails.js.map → useEditedSectionDetails.cjs.map} +0 -0
- /package/build/components/document-outline/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/document-outline/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/document-outline/{item.js.map → item.cjs.map} +0 -0
- /package/build/components/document-tools/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/editor-history/{redo.js.map → redo.cjs.map} +0 -0
- /package/build/components/editor-history/{undo.js.map → undo.cjs.map} +0 -0
- /package/build/components/editor-notices/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/editor-snackbars/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/entities-saved-states/{entity-type-list.js.map → entity-type-list.cjs.map} +0 -0
- /package/build/components/entities-saved-states/hooks/{use-is-dirty.js.map → use-is-dirty.cjs.map} +0 -0
- /package/build/components/entities-saved-states/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/error-boundary/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/global-keyboard-shortcuts/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/global-keyboard-shortcuts/{register-shortcuts.js.map → register-shortcuts.cjs.map} +0 -0
- /package/build/components/global-styles/{block-link.js.map → block-link.cjs.map} +0 -0
- /package/build/components/global-styles/{header.js.map → header.cjs.map} +0 -0
- /package/build/components/global-styles/{hooks.js.map → hooks.cjs.map} +0 -0
- /package/build/components/global-styles/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/global-styles/{menu.js.map → menu.cjs.map} +0 -0
- /package/build/components/global-styles-provider/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/global-styles-renderer/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/global-styles-sidebar/{default-sidebar.js.map → default-sidebar.cjs.map} +0 -0
- /package/build/components/global-styles-sidebar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/global-styles-sidebar/{welcome-guide-image.js.map → welcome-guide-image.cjs.map} +0 -0
- /package/build/components/global-styles-sidebar/{welcome-guide.js.map → welcome-guide.cjs.map} +0 -0
- /package/build/components/header/{back-button.js.map → back-button.cjs.map} +0 -0
- /package/build/components/header/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/inserter-sidebar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/keyboard-shortcut-help-modal/{config.js.map → config.cjs.map} +0 -0
- /package/build/components/keyboard-shortcut-help-modal/{dynamic-shortcut.js.map → dynamic-shortcut.cjs.map} +0 -0
- /package/build/components/keyboard-shortcut-help-modal/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/keyboard-shortcut-help-modal/{shortcut.js.map → shortcut.cjs.map} +0 -0
- /package/build/components/list-view-sidebar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/list-view-sidebar/{list-view-outline.js.map → list-view-outline.cjs.map} +0 -0
- /package/build/components/local-autosave-monitor/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/media-categories/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/mode-switcher/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/more-menu/{copy-content-menu-item.js.map → copy-content-menu-item.cjs.map} +0 -0
- /package/build/components/more-menu/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/more-menu/{tools-more-menu-group.js.map → tools-more-menu-group.cjs.map} +0 -0
- /package/build/components/page-attributes/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/page-attributes/{order.js.map → order.cjs.map} +0 -0
- /package/build/components/page-attributes/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/pattern-duplicate-modal/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/pattern-overrides-panel/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/pattern-rename-modal/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/plugin-document-setting-panel/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/plugin-more-menu-item/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/plugin-post-publish-panel/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/plugin-post-status-info/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/plugin-pre-publish-panel/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/plugin-preview-menu-item/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/plugin-sidebar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/plugin-sidebar-more-menu-item/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-actions/{actions.js.map → actions.cjs.map} +0 -0
- /package/build/components/post-actions/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-actions/{set-as-homepage.js.map → set-as-homepage.cjs.map} +0 -0
- /package/build/components/post-actions/{set-as-posts-page.js.map → set-as-posts-page.cjs.map} +0 -0
- /package/build/components/post-author/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-author/{constants.js.map → constants.cjs.map} +0 -0
- /package/build/components/post-author/{hook.js.map → hook.cjs.map} +0 -0
- /package/build/components/post-author/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-author/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-card-panel/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-comments/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-content-information/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-discussion/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-excerpt/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-excerpt/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-excerpt/{plugin.js.map → plugin.cjs.map} +0 -0
- /package/build/components/post-featured-image/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-featured-image/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-featured-image/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-fields/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-format/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-format/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-format/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-last-edited-panel/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-last-revision/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-last-revision/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-last-revision/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-locked-modal/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-panel-row/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-panel-section/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-pending-status/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-preview-button/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-publish-button/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-publish-button/{label.js.map → label.cjs.map} +0 -0
- /package/build/components/post-publish-button/{post-publish-button-or-toggle.js.map → post-publish-button-or-toggle.cjs.map} +0 -0
- /package/build/components/post-publish-panel/{maybe-category-panel.js.map → maybe-category-panel.cjs.map} +0 -0
- /package/build/components/post-publish-panel/{maybe-post-format-panel.js.map → maybe-post-format-panel.cjs.map} +0 -0
- /package/build/components/post-publish-panel/{maybe-tags-panel.js.map → maybe-tags-panel.cjs.map} +0 -0
- /package/build/components/post-publish-panel/{maybe-upload-media.js.map → maybe-upload-media.cjs.map} +0 -0
- /package/build/components/post-publish-panel/{media-util.js.map → media-util.cjs.map} +0 -0
- /package/build/components/post-publish-panel/{prepublish.js.map → prepublish.cjs.map} +0 -0
- /package/build/components/post-saved-state/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-schedule/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-schedule/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-schedule/{label.js.map → label.cjs.map} +0 -0
- /package/build/components/post-schedule/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-sticky/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-sticky/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-switch-to-draft-button/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-sync-status/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-taxonomies/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-taxonomies/{flat-term-selector.js.map → flat-term-selector.cjs.map} +0 -0
- /package/build/components/post-taxonomies/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-taxonomies/{most-used-terms.js.map → most-used-terms.cjs.map} +0 -0
- /package/build/components/post-taxonomies/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-template/{block-theme.js.map → block-theme.cjs.map} +0 -0
- /package/build/components/post-template/{create-new-template.js.map → create-new-template.cjs.map} +0 -0
- /package/build/components/post-template/{hooks.js.map → hooks.cjs.map} +0 -0
- /package/build/components/post-template/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-template/{reset-default-template.js.map → reset-default-template.cjs.map} +0 -0
- /package/build/components/post-text-editor/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-title/{constants.js.map → constants.cjs.map} +0 -0
- /package/build/components/post-title/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-title/{use-post-title-focus.js.map → use-post-title-focus.cjs.map} +0 -0
- /package/build/components/post-title/{use-post-title.js.map → use-post-title.cjs.map} +0 -0
- /package/build/components/post-transform-panel/{hooks.js.map → hooks.cjs.map} +0 -0
- /package/build/components/post-transform-panel/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-trash/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-trash/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-type-support-check/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-url/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-url/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-url/{label.js.map → label.cjs.map} +0 -0
- /package/build/components/post-url/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/post-view-link/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/post-visibility/{check.js.map → check.cjs.map} +0 -0
- /package/build/components/post-visibility/{label.js.map → label.cjs.map} +0 -0
- /package/build/components/post-visibility/{utils.js.map → utils.cjs.map} +0 -0
- /package/build/components/posts-per-page/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/preferences-modal/{enable-panel.js.map → enable-panel.cjs.map} +0 -0
- /package/build/components/preferences-modal/{enable-plugin-document-setting-panel.js.map → enable-plugin-document-setting-panel.cjs.map} +0 -0
- /package/build/components/preferences-modal/{enable-publish-sidebar.js.map → enable-publish-sidebar.cjs.map} +0 -0
- /package/build/components/preferences-modal/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/provider/{disable-non-page-content-blocks.js.map → disable-non-page-content-blocks.cjs.map} +0 -0
- /package/build/components/provider/{navigation-block-editing-mode.js.map → navigation-block-editing-mode.cjs.map} +0 -0
- /package/build/components/provider/{use-auto-switch-editor-sidebars.js.map → use-auto-switch-editor-sidebars.cjs.map} +0 -0
- /package/build/components/provider/{use-hide-blocks-from-inserter.js.map → use-hide-blocks-from-inserter.cjs.map} +0 -0
- /package/build/components/provider/{use-post-content-blocks.js.map → use-post-content-blocks.cjs.map} +0 -0
- /package/build/components/provider/{with-registry-provider.js.map → with-registry-provider.cjs.map} +0 -0
- /package/build/components/resizable-editor/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/resizable-editor/{resize-handle.js.map → resize-handle.cjs.map} +0 -0
- /package/build/components/save-publish-panels/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/sidebar/{constants.js.map → constants.cjs.map} +0 -0
- /package/build/components/sidebar/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/sidebar/{post-summary.js.map → post-summary.cjs.map} +0 -0
- /package/build/components/site-discussion/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/start-template-options/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/style-book/{categories.js.map → categories.cjs.map} +0 -0
- /package/build/components/style-book/{color-examples.js.map → color-examples.cjs.map} +0 -0
- /package/build/components/style-book/{constants.js.map → constants.cjs.map} +0 -0
- /package/build/components/style-book/{duotone-examples.js.map → duotone-examples.cjs.map} +0 -0
- /package/build/components/style-book/{examples.js.map → examples.cjs.map} +0 -0
- /package/build/components/style-book/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/style-book/{types.js.map → types.cjs.map} +0 -0
- /package/build/components/styles-canvas/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/styles-canvas/{revisions.js.map → revisions.cjs.map} +0 -0
- /package/build/components/styles-canvas/{style-book.js.map → style-book.cjs.map} +0 -0
- /package/build/components/table-of-contents/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/table-of-contents/{panel.js.map → panel.cjs.map} +0 -0
- /package/build/components/template-content-panel/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/template-part-content-panel/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/template-part-menu-items/{convert-to-regular.js.map → convert-to-regular.cjs.map} +0 -0
- /package/build/components/template-part-menu-items/{convert-to-template-part.js.map → convert-to-template-part.cjs.map} +0 -0
- /package/build/components/template-part-menu-items/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/template-validation-notice/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/text-editor/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/theme-support-check/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/time-to-read/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/unsaved-changes-warning/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/visual-editor/{edit-template-blocks-notification.js.map → edit-template-blocks-notification.cjs.map} +0 -0
- /package/build/components/visual-editor/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/visual-editor/{use-edit-content-only-section-exit.js.map → use-edit-content-only-section-exit.cjs.map} +0 -0
- /package/build/components/visual-editor/{use-padding-appender.js.map → use-padding-appender.cjs.map} +0 -0
- /package/build/components/visual-editor/{use-select-nearest-editable-block.js.map → use-select-nearest-editable-block.cjs.map} +0 -0
- /package/build/components/visual-editor/{use-zoom-out-mode-exit.js.map → use-zoom-out-mode-exit.cjs.map} +0 -0
- /package/build/components/word-count/{index.js.map → index.cjs.map} +0 -0
- /package/build/components/zoom-out-toggle/{index.js.map → index.cjs.map} +0 -0
- /package/build/dataviews/{api.js.map → api.cjs.map} +0 -0
- /package/build/dataviews/fields/content-preview/{content-preview-view.js.map → content-preview-view.cjs.map} +0 -0
- /package/build/dataviews/fields/content-preview/{index.js.map → index.cjs.map} +0 -0
- /package/build/dataviews/store/{private-actions.js.map → private-actions.cjs.map} +0 -0
- /package/build/dataviews/store/{private-selectors.js.map → private-selectors.cjs.map} +0 -0
- /package/build/dataviews/store/{reducer.js.map → reducer.cjs.map} +0 -0
- /package/build/hooks/{custom-sources-backwards-compatibility.js.map → custom-sources-backwards-compatibility.cjs.map} +0 -0
- /package/build/hooks/{default-autocompleters.js.map → default-autocompleters.cjs.map} +0 -0
- /package/build/hooks/{index.js.map → index.cjs.map} +0 -0
- /package/build/hooks/{media-upload.js.map → media-upload.cjs.map} +0 -0
- /package/build/hooks/{navigation-link-view-button.js.map → navigation-link-view-button.cjs.map} +0 -0
- /package/build/hooks/{template-part-navigation-edit-button.js.map → template-part-navigation-edit-button.cjs.map} +0 -0
- /package/build/hooks/{use-global-styles-output.js.map → use-global-styles-output.cjs.map} +0 -0
- /package/build/{lock-unlock.js.map → lock-unlock.cjs.map} +0 -0
- /package/build/store/{actions.js.map → actions.cjs.map} +0 -0
- /package/build/store/{constants.js.map → constants.cjs.map} +0 -0
- /package/build/store/{defaults.js.map → defaults.cjs.map} +0 -0
- /package/build/store/{index.js.map → index.cjs.map} +0 -0
- /package/build/store/{local-autosave.js.map → local-autosave.cjs.map} +0 -0
- /package/build/store/{private-selectors.js.map → private-selectors.cjs.map} +0 -0
- /package/build/store/{reducer.js.map → reducer.cjs.map} +0 -0
- /package/build/store/{selectors.js.map → selectors.cjs.map} +0 -0
- /package/build/store/utils/{is-template-revertable.js.map → is-template-revertable.cjs.map} +0 -0
- /package/build/utils/{get-item-title.js.map → get-item-title.cjs.map} +0 -0
- /package/build/utils/{get-template-info.js.map → get-template-info.cjs.map} +0 -0
- /package/build/utils/{index.js.map → index.cjs.map} +0 -0
- /package/build/utils/media-sideload/{index.js.map → index.cjs.map} +0 -0
- /package/build/utils/media-upload/{index.js.map → index.cjs.map} +0 -0
- /package/build/utils/{pageTypeBadge.js.map → pageTypeBadge.cjs.map} +0 -0
- /package/build/utils/{search-templates.js.map → search-templates.cjs.map} +0 -0
- /package/build/utils/{set-nested-value.js.map → set-nested-value.cjs.map} +0 -0
- /package/build/utils/{terms.js.map → terms.cjs.map} +0 -0
- /package/build/utils/{url.js.map → url.cjs.map} +0 -0
- /package/build-module/bindings/{api.js.map → api.mjs.map} +0 -0
- /package/build-module/bindings/{pattern-overrides.js.map → pattern-overrides.mjs.map} +0 -0
- /package/build-module/bindings/{post-data.js.map → post-data.mjs.map} +0 -0
- /package/build-module/bindings/{post-meta.js.map → post-meta.mjs.map} +0 -0
- /package/build-module/bindings/{term-data.js.map → term-data.mjs.map} +0 -0
- /package/build-module/components/autocompleters/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/autocompleters/{user.js.map → user.mjs.map} +0 -0
- /package/build-module/components/autosave-monitor/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-removal-warnings/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/block-settings-menu/{plugin-block-settings-menu-item.js.map → plugin-block-settings-menu-item.mjs.map} +0 -0
- /package/build-module/components/block-visibility/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/blog-title/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/character-count/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/collab-sidebar/{add-comment.js.map → add-comment.mjs.map} +0 -0
- /package/build-module/components/collab-sidebar/{comment-author-info.js.map → comment-author-info.mjs.map} +0 -0
- /package/build-module/components/collab-sidebar/{comment-form.js.map → comment-form.mjs.map} +0 -0
- /package/build-module/components/collab-sidebar/{comment-indicator-toolbar.js.map → comment-indicator-toolbar.mjs.map} +0 -0
- /package/build-module/components/collab-sidebar/{comment-menu-item.js.map → comment-menu-item.mjs.map} +0 -0
- /package/build-module/components/collab-sidebar/{comments.js.map → comments.mjs.map} +0 -0
- /package/build-module/components/collab-sidebar/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/collab-sidebar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/collab-sidebar/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/collapsible-block-toolbar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/commands/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/{deprecated.js.map → deprecated.mjs.map} +0 -0
- /package/build-module/components/document-bar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/document-bar/{useEditedSectionDetails.js.map → useEditedSectionDetails.mjs.map} +0 -0
- /package/build-module/components/document-outline/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/document-outline/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/document-outline/{item.js.map → item.mjs.map} +0 -0
- /package/build-module/components/document-tools/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/editor-history/{redo.js.map → redo.mjs.map} +0 -0
- /package/build-module/components/editor-history/{undo.js.map → undo.mjs.map} +0 -0
- /package/build-module/components/editor-notices/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/editor-snackbars/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/entities-saved-states/{entity-type-list.js.map → entity-type-list.mjs.map} +0 -0
- /package/build-module/components/entities-saved-states/hooks/{use-is-dirty.js.map → use-is-dirty.mjs.map} +0 -0
- /package/build-module/components/entities-saved-states/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/error-boundary/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/global-keyboard-shortcuts/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/global-keyboard-shortcuts/{register-shortcuts.js.map → register-shortcuts.mjs.map} +0 -0
- /package/build-module/components/global-styles/{block-link.js.map → block-link.mjs.map} +0 -0
- /package/build-module/components/global-styles/{header.js.map → header.mjs.map} +0 -0
- /package/build-module/components/global-styles/{hooks.js.map → hooks.mjs.map} +0 -0
- /package/build-module/components/global-styles/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/global-styles/{menu.js.map → menu.mjs.map} +0 -0
- /package/build-module/components/global-styles-provider/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/global-styles-renderer/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/global-styles-sidebar/{default-sidebar.js.map → default-sidebar.mjs.map} +0 -0
- /package/build-module/components/global-styles-sidebar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/global-styles-sidebar/{welcome-guide-image.js.map → welcome-guide-image.mjs.map} +0 -0
- /package/build-module/components/global-styles-sidebar/{welcome-guide.js.map → welcome-guide.mjs.map} +0 -0
- /package/build-module/components/header/{back-button.js.map → back-button.mjs.map} +0 -0
- /package/build-module/components/header/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/inserter-sidebar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/keyboard-shortcut-help-modal/{config.js.map → config.mjs.map} +0 -0
- /package/build-module/components/keyboard-shortcut-help-modal/{dynamic-shortcut.js.map → dynamic-shortcut.mjs.map} +0 -0
- /package/build-module/components/keyboard-shortcut-help-modal/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/keyboard-shortcut-help-modal/{shortcut.js.map → shortcut.mjs.map} +0 -0
- /package/build-module/components/list-view-sidebar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/list-view-sidebar/{list-view-outline.js.map → list-view-outline.mjs.map} +0 -0
- /package/build-module/components/local-autosave-monitor/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/media-categories/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/mode-switcher/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/more-menu/{copy-content-menu-item.js.map → copy-content-menu-item.mjs.map} +0 -0
- /package/build-module/components/more-menu/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/more-menu/{tools-more-menu-group.js.map → tools-more-menu-group.mjs.map} +0 -0
- /package/build-module/components/page-attributes/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/page-attributes/{order.js.map → order.mjs.map} +0 -0
- /package/build-module/components/page-attributes/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/pattern-duplicate-modal/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/pattern-overrides-panel/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/pattern-rename-modal/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/plugin-document-setting-panel/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/plugin-more-menu-item/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/plugin-post-publish-panel/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/plugin-post-status-info/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/plugin-pre-publish-panel/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/plugin-preview-menu-item/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/plugin-sidebar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/plugin-sidebar-more-menu-item/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-actions/{actions.js.map → actions.mjs.map} +0 -0
- /package/build-module/components/post-actions/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-actions/{set-as-homepage.js.map → set-as-homepage.mjs.map} +0 -0
- /package/build-module/components/post-actions/{set-as-posts-page.js.map → set-as-posts-page.mjs.map} +0 -0
- /package/build-module/components/post-author/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-author/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/post-author/{hook.js.map → hook.mjs.map} +0 -0
- /package/build-module/components/post-author/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-author/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-card-panel/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-comments/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-content-information/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-discussion/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-excerpt/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-excerpt/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-excerpt/{plugin.js.map → plugin.mjs.map} +0 -0
- /package/build-module/components/post-featured-image/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-featured-image/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-featured-image/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-fields/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-format/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-format/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-format/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-last-edited-panel/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-last-revision/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-last-revision/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-last-revision/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-locked-modal/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-panel-row/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-panel-section/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-pending-status/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-preview-button/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-publish-button/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-publish-button/{label.js.map → label.mjs.map} +0 -0
- /package/build-module/components/post-publish-button/{post-publish-button-or-toggle.js.map → post-publish-button-or-toggle.mjs.map} +0 -0
- /package/build-module/components/post-publish-panel/{maybe-category-panel.js.map → maybe-category-panel.mjs.map} +0 -0
- /package/build-module/components/post-publish-panel/{maybe-post-format-panel.js.map → maybe-post-format-panel.mjs.map} +0 -0
- /package/build-module/components/post-publish-panel/{maybe-tags-panel.js.map → maybe-tags-panel.mjs.map} +0 -0
- /package/build-module/components/post-publish-panel/{maybe-upload-media.js.map → maybe-upload-media.mjs.map} +0 -0
- /package/build-module/components/post-publish-panel/{media-util.js.map → media-util.mjs.map} +0 -0
- /package/build-module/components/post-publish-panel/{prepublish.js.map → prepublish.mjs.map} +0 -0
- /package/build-module/components/post-saved-state/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-schedule/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-schedule/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-schedule/{label.js.map → label.mjs.map} +0 -0
- /package/build-module/components/post-schedule/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-sticky/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-sticky/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-switch-to-draft-button/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-sync-status/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-taxonomies/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-taxonomies/{flat-term-selector.js.map → flat-term-selector.mjs.map} +0 -0
- /package/build-module/components/post-taxonomies/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-taxonomies/{most-used-terms.js.map → most-used-terms.mjs.map} +0 -0
- /package/build-module/components/post-taxonomies/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-template/{block-theme.js.map → block-theme.mjs.map} +0 -0
- /package/build-module/components/post-template/{create-new-template.js.map → create-new-template.mjs.map} +0 -0
- /package/build-module/components/post-template/{hooks.js.map → hooks.mjs.map} +0 -0
- /package/build-module/components/post-template/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-template/{reset-default-template.js.map → reset-default-template.mjs.map} +0 -0
- /package/build-module/components/post-text-editor/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-title/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/post-title/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-title/{use-post-title-focus.js.map → use-post-title-focus.mjs.map} +0 -0
- /package/build-module/components/post-title/{use-post-title.js.map → use-post-title.mjs.map} +0 -0
- /package/build-module/components/post-transform-panel/{hooks.js.map → hooks.mjs.map} +0 -0
- /package/build-module/components/post-transform-panel/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-trash/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-trash/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-type-support-check/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-url/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-url/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-url/{label.js.map → label.mjs.map} +0 -0
- /package/build-module/components/post-url/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/post-view-link/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-visibility/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-visibility/{label.js.map → label.mjs.map} +0 -0
- /package/build-module/components/post-visibility/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/components/posts-per-page/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/preferences-modal/{enable-panel.js.map → enable-panel.mjs.map} +0 -0
- /package/build-module/components/preferences-modal/{enable-plugin-document-setting-panel.js.map → enable-plugin-document-setting-panel.mjs.map} +0 -0
- /package/build-module/components/preferences-modal/{enable-publish-sidebar.js.map → enable-publish-sidebar.mjs.map} +0 -0
- /package/build-module/components/preferences-modal/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/provider/{disable-non-page-content-blocks.js.map → disable-non-page-content-blocks.mjs.map} +0 -0
- /package/build-module/components/provider/{navigation-block-editing-mode.js.map → navigation-block-editing-mode.mjs.map} +0 -0
- /package/build-module/components/provider/{use-auto-switch-editor-sidebars.js.map → use-auto-switch-editor-sidebars.mjs.map} +0 -0
- /package/build-module/components/provider/{use-hide-blocks-from-inserter.js.map → use-hide-blocks-from-inserter.mjs.map} +0 -0
- /package/build-module/components/provider/{use-post-content-blocks.js.map → use-post-content-blocks.mjs.map} +0 -0
- /package/build-module/components/provider/{with-registry-provider.js.map → with-registry-provider.mjs.map} +0 -0
- /package/build-module/components/resizable-editor/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/resizable-editor/{resize-handle.js.map → resize-handle.mjs.map} +0 -0
- /package/build-module/components/save-publish-panels/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/sidebar/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/sidebar/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/sidebar/{post-summary.js.map → post-summary.mjs.map} +0 -0
- /package/build-module/components/site-discussion/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/start-template-options/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/style-book/{categories.js.map → categories.mjs.map} +0 -0
- /package/build-module/components/style-book/{color-examples.js.map → color-examples.mjs.map} +0 -0
- /package/build-module/components/style-book/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/components/style-book/{duotone-examples.js.map → duotone-examples.mjs.map} +0 -0
- /package/build-module/components/style-book/{examples.js.map → examples.mjs.map} +0 -0
- /package/build-module/components/style-book/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/style-book/{types.js.map → types.mjs.map} +0 -0
- /package/build-module/components/styles-canvas/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/styles-canvas/{revisions.js.map → revisions.mjs.map} +0 -0
- /package/build-module/components/styles-canvas/{style-book.js.map → style-book.mjs.map} +0 -0
- /package/build-module/components/table-of-contents/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/table-of-contents/{panel.js.map → panel.mjs.map} +0 -0
- /package/build-module/components/template-content-panel/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/template-part-content-panel/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/template-part-menu-items/{convert-to-regular.js.map → convert-to-regular.mjs.map} +0 -0
- /package/build-module/components/template-part-menu-items/{convert-to-template-part.js.map → convert-to-template-part.mjs.map} +0 -0
- /package/build-module/components/template-part-menu-items/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/template-validation-notice/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/text-editor/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/theme-support-check/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/time-to-read/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/unsaved-changes-warning/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/visual-editor/{edit-template-blocks-notification.js.map → edit-template-blocks-notification.mjs.map} +0 -0
- /package/build-module/components/visual-editor/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/visual-editor/{use-edit-content-only-section-exit.js.map → use-edit-content-only-section-exit.mjs.map} +0 -0
- /package/build-module/components/visual-editor/{use-padding-appender.js.map → use-padding-appender.mjs.map} +0 -0
- /package/build-module/components/visual-editor/{use-select-nearest-editable-block.js.map → use-select-nearest-editable-block.mjs.map} +0 -0
- /package/build-module/components/visual-editor/{use-zoom-out-mode-exit.js.map → use-zoom-out-mode-exit.mjs.map} +0 -0
- /package/build-module/components/word-count/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/zoom-out-toggle/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/dataviews/{api.js.map → api.mjs.map} +0 -0
- /package/build-module/dataviews/fields/content-preview/{content-preview-view.js.map → content-preview-view.mjs.map} +0 -0
- /package/build-module/dataviews/fields/content-preview/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/dataviews/store/{private-actions.js.map → private-actions.mjs.map} +0 -0
- /package/build-module/dataviews/store/{private-selectors.js.map → private-selectors.mjs.map} +0 -0
- /package/build-module/dataviews/store/{reducer.js.map → reducer.mjs.map} +0 -0
- /package/build-module/hooks/{custom-sources-backwards-compatibility.js.map → custom-sources-backwards-compatibility.mjs.map} +0 -0
- /package/build-module/hooks/{default-autocompleters.js.map → default-autocompleters.mjs.map} +0 -0
- /package/build-module/hooks/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/hooks/{media-upload.js.map → media-upload.mjs.map} +0 -0
- /package/build-module/hooks/{navigation-link-view-button.js.map → navigation-link-view-button.mjs.map} +0 -0
- /package/build-module/hooks/{template-part-navigation-edit-button.js.map → template-part-navigation-edit-button.mjs.map} +0 -0
- /package/build-module/hooks/{use-global-styles-output.js.map → use-global-styles-output.mjs.map} +0 -0
- /package/build-module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/{lock-unlock.js.map → lock-unlock.mjs.map} +0 -0
- /package/build-module/store/{actions.js.map → actions.mjs.map} +0 -0
- /package/build-module/store/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/store/{defaults.js.map → defaults.mjs.map} +0 -0
- /package/build-module/store/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/store/{local-autosave.js.map → local-autosave.mjs.map} +0 -0
- /package/build-module/store/{private-actions.js.map → private-actions.mjs.map} +0 -0
- /package/build-module/store/{private-selectors.js.map → private-selectors.mjs.map} +0 -0
- /package/build-module/store/{reducer.js.map → reducer.mjs.map} +0 -0
- /package/build-module/store/{selectors.js.map → selectors.mjs.map} +0 -0
- /package/build-module/store/utils/{is-template-revertable.js.map → is-template-revertable.mjs.map} +0 -0
- /package/build-module/utils/{get-item-title.js.map → get-item-title.mjs.map} +0 -0
- /package/build-module/utils/{get-template-info.js.map → get-template-info.mjs.map} +0 -0
- /package/build-module/utils/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/utils/media-sideload/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/utils/media-upload/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/utils/{pageTypeBadge.js.map → pageTypeBadge.mjs.map} +0 -0
- /package/build-module/utils/{search-templates.js.map → search-templates.mjs.map} +0 -0
- /package/build-module/utils/{set-nested-value.js.map → set-nested-value.mjs.map} +0 -0
- /package/build-module/utils/{terms.js.map → terms.mjs.map} +0 -0
- /package/build-module/utils/{url.js.map → url.mjs.map} +0 -0
|
@@ -1,680 +0,0 @@
|
|
|
1
|
-
// packages/editor/src/store/actions.js
|
|
2
|
-
import { speak } from "@wordpress/a11y";
|
|
3
|
-
import apiFetch from "@wordpress/api-fetch";
|
|
4
|
-
import deprecated from "@wordpress/deprecated";
|
|
5
|
-
import {
|
|
6
|
-
parse,
|
|
7
|
-
synchronizeBlocksWithTemplate,
|
|
8
|
-
__unstableSerializeAndClean
|
|
9
|
-
} from "@wordpress/blocks";
|
|
10
|
-
import { store as noticesStore } from "@wordpress/notices";
|
|
11
|
-
import { store as coreStore } from "@wordpress/core-data";
|
|
12
|
-
import { store as blockEditorStore } from "@wordpress/block-editor";
|
|
13
|
-
import {
|
|
14
|
-
applyFilters,
|
|
15
|
-
applyFiltersAsync,
|
|
16
|
-
doActionAsync
|
|
17
|
-
} from "@wordpress/hooks";
|
|
18
|
-
import { store as preferencesStore } from "@wordpress/preferences";
|
|
19
|
-
import { __, sprintf } from "@wordpress/i18n";
|
|
20
|
-
import { localAutosaveSet } from "./local-autosave";
|
|
21
|
-
import {
|
|
22
|
-
getNotificationArgumentsForSaveSuccess,
|
|
23
|
-
getNotificationArgumentsForSaveFail,
|
|
24
|
-
getNotificationArgumentsForTrashFail
|
|
25
|
-
} from "./utils/notice-builder";
|
|
26
|
-
import { unlock } from "../lock-unlock";
|
|
27
|
-
var setupEditor = (post, edits, template) => ({ dispatch }) => {
|
|
28
|
-
dispatch.setEditedPost(post.type, post.id);
|
|
29
|
-
const isNewPost = post.status === "auto-draft";
|
|
30
|
-
if (isNewPost && template) {
|
|
31
|
-
let content;
|
|
32
|
-
if ("content" in edits) {
|
|
33
|
-
content = edits.content;
|
|
34
|
-
} else {
|
|
35
|
-
content = post.content.raw;
|
|
36
|
-
}
|
|
37
|
-
let blocks = parse(content);
|
|
38
|
-
blocks = synchronizeBlocksWithTemplate(blocks, template);
|
|
39
|
-
dispatch.resetEditorBlocks(blocks, {
|
|
40
|
-
__unstableShouldCreateUndoLevel: false
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
if (edits && Object.entries(edits).some(
|
|
44
|
-
([key, edit]) => edit !== (post[key]?.raw ?? post[key])
|
|
45
|
-
)) {
|
|
46
|
-
dispatch.editPost(edits);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
function __experimentalTearDownEditor() {
|
|
50
|
-
deprecated(
|
|
51
|
-
"wp.data.dispatch( 'core/editor' ).__experimentalTearDownEditor",
|
|
52
|
-
{
|
|
53
|
-
since: "6.5"
|
|
54
|
-
}
|
|
55
|
-
);
|
|
56
|
-
return { type: "DO_NOTHING" };
|
|
57
|
-
}
|
|
58
|
-
function resetPost() {
|
|
59
|
-
deprecated("wp.data.dispatch( 'core/editor' ).resetPost", {
|
|
60
|
-
since: "6.0",
|
|
61
|
-
version: "6.3",
|
|
62
|
-
alternative: "Initialize the editor with the setupEditorState action"
|
|
63
|
-
});
|
|
64
|
-
return { type: "DO_NOTHING" };
|
|
65
|
-
}
|
|
66
|
-
function updatePost() {
|
|
67
|
-
deprecated("wp.data.dispatch( 'core/editor' ).updatePost", {
|
|
68
|
-
since: "5.7",
|
|
69
|
-
alternative: "Use the core entities store instead"
|
|
70
|
-
});
|
|
71
|
-
return {
|
|
72
|
-
type: "DO_NOTHING"
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
function setupEditorState(post) {
|
|
76
|
-
deprecated("wp.data.dispatch( 'core/editor' ).setupEditorState", {
|
|
77
|
-
since: "6.5",
|
|
78
|
-
alternative: "wp.data.dispatch( 'core/editor' ).setEditedPost"
|
|
79
|
-
});
|
|
80
|
-
return setEditedPost(post.type, post.id);
|
|
81
|
-
}
|
|
82
|
-
function setEditedPost(postType, postId) {
|
|
83
|
-
return {
|
|
84
|
-
type: "SET_EDITED_POST",
|
|
85
|
-
postType,
|
|
86
|
-
postId
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
var editPost = (edits, options) => ({ select, registry }) => {
|
|
90
|
-
const { id, type } = select.getCurrentPost();
|
|
91
|
-
registry.dispatch(coreStore).editEntityRecord("postType", type, id, edits, options);
|
|
92
|
-
};
|
|
93
|
-
var savePost = (options = {}) => async ({ select, dispatch, registry }) => {
|
|
94
|
-
if (!select.isEditedPostSaveable()) {
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
const content = select.getEditedPostContent();
|
|
98
|
-
if (!options.isAutosave) {
|
|
99
|
-
dispatch.editPost({ content }, { undoIgnore: true });
|
|
100
|
-
}
|
|
101
|
-
const previousRecord = select.getCurrentPost();
|
|
102
|
-
let edits = {
|
|
103
|
-
id: previousRecord.id,
|
|
104
|
-
...registry.select(coreStore).getEntityRecordNonTransientEdits(
|
|
105
|
-
"postType",
|
|
106
|
-
previousRecord.type,
|
|
107
|
-
previousRecord.id
|
|
108
|
-
),
|
|
109
|
-
content
|
|
110
|
-
};
|
|
111
|
-
dispatch({ type: "REQUEST_POST_UPDATE_START", options });
|
|
112
|
-
let error = false;
|
|
113
|
-
try {
|
|
114
|
-
edits = await applyFiltersAsync(
|
|
115
|
-
"editor.preSavePost",
|
|
116
|
-
edits,
|
|
117
|
-
options
|
|
118
|
-
);
|
|
119
|
-
} catch (err) {
|
|
120
|
-
error = err;
|
|
121
|
-
}
|
|
122
|
-
if (!error) {
|
|
123
|
-
try {
|
|
124
|
-
await registry.dispatch(coreStore).saveEntityRecord(
|
|
125
|
-
"postType",
|
|
126
|
-
previousRecord.type,
|
|
127
|
-
edits,
|
|
128
|
-
options
|
|
129
|
-
);
|
|
130
|
-
} catch (err) {
|
|
131
|
-
error = err.message && err.code !== "unknown_error" ? err.message : __("An error occurred while updating.");
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
if (!error) {
|
|
135
|
-
error = registry.select(coreStore).getLastEntitySaveError(
|
|
136
|
-
"postType",
|
|
137
|
-
previousRecord.type,
|
|
138
|
-
previousRecord.id
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
if (!error) {
|
|
142
|
-
try {
|
|
143
|
-
await applyFilters(
|
|
144
|
-
"editor.__unstableSavePost",
|
|
145
|
-
Promise.resolve(),
|
|
146
|
-
options
|
|
147
|
-
);
|
|
148
|
-
} catch (err) {
|
|
149
|
-
error = err;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
if (!error) {
|
|
153
|
-
try {
|
|
154
|
-
await doActionAsync(
|
|
155
|
-
"editor.savePost",
|
|
156
|
-
{ id: previousRecord.id, type: previousRecord.type },
|
|
157
|
-
options
|
|
158
|
-
);
|
|
159
|
-
} catch (err) {
|
|
160
|
-
error = err;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
dispatch({ type: "REQUEST_POST_UPDATE_FINISH", options });
|
|
164
|
-
if (typeof window !== "undefined" && window.__experimentalTemplateActivate && !options.isAutosave && previousRecord.type === "wp_template" && (typeof previousRecord.id === "number" || /^\d+$/.test(previousRecord.id))) {
|
|
165
|
-
templateActivationNotice({ select, dispatch, registry });
|
|
166
|
-
}
|
|
167
|
-
if (error) {
|
|
168
|
-
const args = getNotificationArgumentsForSaveFail({
|
|
169
|
-
post: previousRecord,
|
|
170
|
-
edits,
|
|
171
|
-
error
|
|
172
|
-
});
|
|
173
|
-
if (args.length) {
|
|
174
|
-
registry.dispatch(noticesStore).createErrorNotice(...args);
|
|
175
|
-
}
|
|
176
|
-
} else {
|
|
177
|
-
const updatedRecord = select.getCurrentPost();
|
|
178
|
-
const args = getNotificationArgumentsForSaveSuccess({
|
|
179
|
-
previousPost: previousRecord,
|
|
180
|
-
post: updatedRecord,
|
|
181
|
-
postType: await registry.resolveSelect(coreStore).getPostType(updatedRecord.type),
|
|
182
|
-
options
|
|
183
|
-
});
|
|
184
|
-
if (args.length) {
|
|
185
|
-
registry.dispatch(noticesStore).createSuccessNotice(...args);
|
|
186
|
-
}
|
|
187
|
-
if (!options.isAutosave) {
|
|
188
|
-
registry.dispatch(blockEditorStore).__unstableMarkLastChangeAsPersistent();
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
async function templateActivationNotice({ select, registry }) {
|
|
193
|
-
const editorSettings = select.getEditorSettings();
|
|
194
|
-
if (editorSettings.onNavigateToPreviousEntityRecord) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
const { id, slug } = select.getCurrentPost();
|
|
198
|
-
const site = await registry.select(coreStore).getEntityRecord("root", "site");
|
|
199
|
-
if (site.active_templates[slug] === id) {
|
|
200
|
-
return;
|
|
201
|
-
}
|
|
202
|
-
const currentTheme = await registry.resolveSelect(coreStore).getCurrentTheme();
|
|
203
|
-
const templateType = currentTheme?.default_template_types.find(
|
|
204
|
-
(type) => type.slug === slug
|
|
205
|
-
);
|
|
206
|
-
await registry.dispatch(noticesStore).createNotice(
|
|
207
|
-
"info",
|
|
208
|
-
sprintf(
|
|
209
|
-
// translators: %s: The name (or slug) of the type of template.
|
|
210
|
-
__('Do you want to activate this "%s" template?'),
|
|
211
|
-
templateType?.title ?? slug
|
|
212
|
-
),
|
|
213
|
-
{
|
|
214
|
-
id: "template-activate-notice",
|
|
215
|
-
actions: [
|
|
216
|
-
{
|
|
217
|
-
label: __("Activate"),
|
|
218
|
-
onClick: async () => {
|
|
219
|
-
await registry.dispatch(noticesStore).createNotice(
|
|
220
|
-
"info",
|
|
221
|
-
__("Activating template\u2026"),
|
|
222
|
-
{ id: "template-activate-notice" }
|
|
223
|
-
);
|
|
224
|
-
try {
|
|
225
|
-
const currentSite = await registry.select(coreStore).getEntityRecord("root", "site");
|
|
226
|
-
await registry.dispatch(coreStore).saveEntityRecord(
|
|
227
|
-
"root",
|
|
228
|
-
"site",
|
|
229
|
-
{
|
|
230
|
-
active_templates: {
|
|
231
|
-
...currentSite.active_templates,
|
|
232
|
-
[slug]: id
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
{ throwOnError: true }
|
|
236
|
-
);
|
|
237
|
-
await registry.dispatch(noticesStore).createSuccessNotice(
|
|
238
|
-
__("Template activated."),
|
|
239
|
-
{ id: "template-activate-notice" }
|
|
240
|
-
);
|
|
241
|
-
} catch (error) {
|
|
242
|
-
await registry.dispatch(noticesStore).createErrorNotice(
|
|
243
|
-
__("Template activation failed."),
|
|
244
|
-
{ id: "template-activate-notice" }
|
|
245
|
-
);
|
|
246
|
-
throw error;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
);
|
|
253
|
-
}
|
|
254
|
-
function refreshPost() {
|
|
255
|
-
deprecated("wp.data.dispatch( 'core/editor' ).refreshPost", {
|
|
256
|
-
since: "6.0",
|
|
257
|
-
version: "6.3",
|
|
258
|
-
alternative: "Use the core entities store instead"
|
|
259
|
-
});
|
|
260
|
-
return { type: "DO_NOTHING" };
|
|
261
|
-
}
|
|
262
|
-
var trashPost = () => async ({ select, dispatch, registry }) => {
|
|
263
|
-
const postTypeSlug = select.getCurrentPostType();
|
|
264
|
-
const postType = await registry.resolveSelect(coreStore).getPostType(postTypeSlug);
|
|
265
|
-
const { rest_base: restBase, rest_namespace: restNamespace = "wp/v2" } = postType;
|
|
266
|
-
dispatch({ type: "REQUEST_POST_DELETE_START" });
|
|
267
|
-
try {
|
|
268
|
-
const post = select.getCurrentPost();
|
|
269
|
-
await apiFetch({
|
|
270
|
-
path: `/${restNamespace}/${restBase}/${post.id}`,
|
|
271
|
-
method: "DELETE"
|
|
272
|
-
});
|
|
273
|
-
await dispatch.savePost();
|
|
274
|
-
} catch (error) {
|
|
275
|
-
registry.dispatch(noticesStore).createErrorNotice(
|
|
276
|
-
...getNotificationArgumentsForTrashFail({ error })
|
|
277
|
-
);
|
|
278
|
-
}
|
|
279
|
-
dispatch({ type: "REQUEST_POST_DELETE_FINISH" });
|
|
280
|
-
};
|
|
281
|
-
var autosave = ({ local = false, ...options } = {}) => async ({ select, dispatch }) => {
|
|
282
|
-
const post = select.getCurrentPost();
|
|
283
|
-
if (post.type === "wp_template") {
|
|
284
|
-
return;
|
|
285
|
-
}
|
|
286
|
-
if (local) {
|
|
287
|
-
const isPostNew = select.isEditedPostNew();
|
|
288
|
-
const title = select.getEditedPostAttribute("title");
|
|
289
|
-
const content = select.getEditedPostAttribute("content");
|
|
290
|
-
const excerpt = select.getEditedPostAttribute("excerpt");
|
|
291
|
-
localAutosaveSet(post.id, isPostNew, title, content, excerpt);
|
|
292
|
-
} else {
|
|
293
|
-
await dispatch.savePost({ isAutosave: true, ...options });
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
var __unstableSaveForPreview = ({ forceIsAutosaveable } = {}) => async ({ select, dispatch }) => {
|
|
297
|
-
if ((forceIsAutosaveable || select.isEditedPostAutosaveable()) && !select.isPostLocked()) {
|
|
298
|
-
const isDraft = ["draft", "auto-draft"].includes(
|
|
299
|
-
select.getEditedPostAttribute("status")
|
|
300
|
-
);
|
|
301
|
-
if (isDraft) {
|
|
302
|
-
await dispatch.savePost({ isPreview: true });
|
|
303
|
-
} else {
|
|
304
|
-
await dispatch.autosave({ isPreview: true });
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
return select.getEditedPostPreviewLink();
|
|
308
|
-
};
|
|
309
|
-
var redo = () => ({ registry }) => {
|
|
310
|
-
registry.dispatch(coreStore).redo();
|
|
311
|
-
};
|
|
312
|
-
var undo = () => ({ registry }) => {
|
|
313
|
-
registry.dispatch(coreStore).undo();
|
|
314
|
-
};
|
|
315
|
-
function createUndoLevel() {
|
|
316
|
-
deprecated("wp.data.dispatch( 'core/editor' ).createUndoLevel", {
|
|
317
|
-
since: "6.0",
|
|
318
|
-
version: "6.3",
|
|
319
|
-
alternative: "Use the core entities store instead"
|
|
320
|
-
});
|
|
321
|
-
return { type: "DO_NOTHING" };
|
|
322
|
-
}
|
|
323
|
-
function updatePostLock(lock) {
|
|
324
|
-
return {
|
|
325
|
-
type: "UPDATE_POST_LOCK",
|
|
326
|
-
lock
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
var enablePublishSidebar = () => ({ registry }) => {
|
|
330
|
-
registry.dispatch(preferencesStore).set("core", "isPublishSidebarEnabled", true);
|
|
331
|
-
};
|
|
332
|
-
var disablePublishSidebar = () => ({ registry }) => {
|
|
333
|
-
registry.dispatch(preferencesStore).set("core", "isPublishSidebarEnabled", false);
|
|
334
|
-
};
|
|
335
|
-
function lockPostSaving(lockName) {
|
|
336
|
-
return {
|
|
337
|
-
type: "LOCK_POST_SAVING",
|
|
338
|
-
lockName
|
|
339
|
-
};
|
|
340
|
-
}
|
|
341
|
-
function unlockPostSaving(lockName) {
|
|
342
|
-
return {
|
|
343
|
-
type: "UNLOCK_POST_SAVING",
|
|
344
|
-
lockName
|
|
345
|
-
};
|
|
346
|
-
}
|
|
347
|
-
function lockPostAutosaving(lockName) {
|
|
348
|
-
return {
|
|
349
|
-
type: "LOCK_POST_AUTOSAVING",
|
|
350
|
-
lockName
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
function unlockPostAutosaving(lockName) {
|
|
354
|
-
return {
|
|
355
|
-
type: "UNLOCK_POST_AUTOSAVING",
|
|
356
|
-
lockName
|
|
357
|
-
};
|
|
358
|
-
}
|
|
359
|
-
var resetEditorBlocks = (blocks, options = {}) => ({ select, dispatch, registry }) => {
|
|
360
|
-
const { __unstableShouldCreateUndoLevel, selection } = options;
|
|
361
|
-
const edits = { blocks, selection };
|
|
362
|
-
if (__unstableShouldCreateUndoLevel !== false) {
|
|
363
|
-
const { id, type } = select.getCurrentPost();
|
|
364
|
-
const noChange = registry.select(coreStore).getEditedEntityRecord("postType", type, id).blocks === edits.blocks;
|
|
365
|
-
if (noChange) {
|
|
366
|
-
registry.dispatch(coreStore).__unstableCreateUndoLevel("postType", type, id);
|
|
367
|
-
return;
|
|
368
|
-
}
|
|
369
|
-
edits.content = ({ blocks: blocksForSerialization = [] }) => __unstableSerializeAndClean(blocksForSerialization);
|
|
370
|
-
}
|
|
371
|
-
dispatch.editPost(edits);
|
|
372
|
-
};
|
|
373
|
-
function updateEditorSettings(settings) {
|
|
374
|
-
return {
|
|
375
|
-
type: "UPDATE_EDITOR_SETTINGS",
|
|
376
|
-
settings
|
|
377
|
-
};
|
|
378
|
-
}
|
|
379
|
-
var setRenderingMode = (mode) => ({ dispatch, registry, select }) => {
|
|
380
|
-
if (select.__unstableIsEditorReady() && !select.getEditorSettings().isPreviewMode) {
|
|
381
|
-
registry.dispatch(blockEditorStore).clearSelectedBlock();
|
|
382
|
-
dispatch.editPost({ selection: void 0 }, { undoIgnore: true });
|
|
383
|
-
}
|
|
384
|
-
dispatch({
|
|
385
|
-
type: "SET_RENDERING_MODE",
|
|
386
|
-
mode
|
|
387
|
-
});
|
|
388
|
-
};
|
|
389
|
-
function setDeviceType(deviceType) {
|
|
390
|
-
return {
|
|
391
|
-
type: "SET_DEVICE_TYPE",
|
|
392
|
-
deviceType
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
var toggleEditorPanelEnabled = (panelName) => ({ registry }) => {
|
|
396
|
-
const inactivePanels = registry.select(preferencesStore).get("core", "inactivePanels") ?? [];
|
|
397
|
-
const isPanelInactive = !!inactivePanels?.includes(panelName);
|
|
398
|
-
let updatedInactivePanels;
|
|
399
|
-
if (isPanelInactive) {
|
|
400
|
-
updatedInactivePanels = inactivePanels.filter(
|
|
401
|
-
(invactivePanelName) => invactivePanelName !== panelName
|
|
402
|
-
);
|
|
403
|
-
} else {
|
|
404
|
-
updatedInactivePanels = [...inactivePanels, panelName];
|
|
405
|
-
}
|
|
406
|
-
registry.dispatch(preferencesStore).set("core", "inactivePanels", updatedInactivePanels);
|
|
407
|
-
};
|
|
408
|
-
var toggleEditorPanelOpened = (panelName) => ({ registry }) => {
|
|
409
|
-
const openPanels = registry.select(preferencesStore).get("core", "openPanels") ?? [];
|
|
410
|
-
const isPanelOpen = !!openPanels?.includes(panelName);
|
|
411
|
-
let updatedOpenPanels;
|
|
412
|
-
if (isPanelOpen) {
|
|
413
|
-
updatedOpenPanels = openPanels.filter(
|
|
414
|
-
(openPanelName) => openPanelName !== panelName
|
|
415
|
-
);
|
|
416
|
-
} else {
|
|
417
|
-
updatedOpenPanels = [...openPanels, panelName];
|
|
418
|
-
}
|
|
419
|
-
registry.dispatch(preferencesStore).set("core", "openPanels", updatedOpenPanels);
|
|
420
|
-
};
|
|
421
|
-
function removeEditorPanel(panelName) {
|
|
422
|
-
return {
|
|
423
|
-
type: "REMOVE_PANEL",
|
|
424
|
-
panelName
|
|
425
|
-
};
|
|
426
|
-
}
|
|
427
|
-
var setIsInserterOpened = (value) => ({ dispatch, registry }) => {
|
|
428
|
-
if (typeof value === "object" && value.hasOwnProperty("rootClientId") && value.hasOwnProperty("insertionIndex")) {
|
|
429
|
-
unlock(registry.dispatch(blockEditorStore)).setInsertionPoint({
|
|
430
|
-
rootClientId: value.rootClientId,
|
|
431
|
-
index: value.insertionIndex
|
|
432
|
-
});
|
|
433
|
-
}
|
|
434
|
-
dispatch({
|
|
435
|
-
type: "SET_IS_INSERTER_OPENED",
|
|
436
|
-
value
|
|
437
|
-
});
|
|
438
|
-
};
|
|
439
|
-
function setIsListViewOpened(isOpen) {
|
|
440
|
-
return {
|
|
441
|
-
type: "SET_IS_LIST_VIEW_OPENED",
|
|
442
|
-
isOpen
|
|
443
|
-
};
|
|
444
|
-
}
|
|
445
|
-
var toggleDistractionFree = ({ createNotice = true } = {}) => ({ dispatch, registry }) => {
|
|
446
|
-
const isDistractionFree = registry.select(preferencesStore).get("core", "distractionFree");
|
|
447
|
-
if (isDistractionFree) {
|
|
448
|
-
registry.dispatch(preferencesStore).set("core", "fixedToolbar", false);
|
|
449
|
-
}
|
|
450
|
-
if (!isDistractionFree) {
|
|
451
|
-
registry.batch(() => {
|
|
452
|
-
registry.dispatch(preferencesStore).set("core", "fixedToolbar", true);
|
|
453
|
-
dispatch.setIsInserterOpened(false);
|
|
454
|
-
dispatch.setIsListViewOpened(false);
|
|
455
|
-
unlock(
|
|
456
|
-
registry.dispatch(blockEditorStore)
|
|
457
|
-
).resetZoomLevel();
|
|
458
|
-
});
|
|
459
|
-
}
|
|
460
|
-
registry.batch(() => {
|
|
461
|
-
registry.dispatch(preferencesStore).set("core", "distractionFree", !isDistractionFree);
|
|
462
|
-
if (createNotice) {
|
|
463
|
-
registry.dispatch(noticesStore).createInfoNotice(
|
|
464
|
-
isDistractionFree ? __("Distraction free mode deactivated.") : __("Distraction free mode activated."),
|
|
465
|
-
{
|
|
466
|
-
id: "core/editor/distraction-free-mode/notice",
|
|
467
|
-
type: "snackbar",
|
|
468
|
-
actions: [
|
|
469
|
-
{
|
|
470
|
-
label: __("Undo"),
|
|
471
|
-
onClick: () => {
|
|
472
|
-
registry.batch(() => {
|
|
473
|
-
registry.dispatch(preferencesStore).set(
|
|
474
|
-
"core",
|
|
475
|
-
"fixedToolbar",
|
|
476
|
-
isDistractionFree
|
|
477
|
-
);
|
|
478
|
-
registry.dispatch(preferencesStore).toggle(
|
|
479
|
-
"core",
|
|
480
|
-
"distractionFree"
|
|
481
|
-
);
|
|
482
|
-
});
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
]
|
|
486
|
-
}
|
|
487
|
-
);
|
|
488
|
-
}
|
|
489
|
-
});
|
|
490
|
-
};
|
|
491
|
-
var toggleSpotlightMode = () => ({ registry }) => {
|
|
492
|
-
registry.dispatch(preferencesStore).toggle("core", "focusMode");
|
|
493
|
-
const isFocusMode = registry.select(preferencesStore).get("core", "focusMode");
|
|
494
|
-
registry.dispatch(noticesStore).createInfoNotice(
|
|
495
|
-
isFocusMode ? __("Spotlight mode activated.") : __("Spotlight mode deactivated."),
|
|
496
|
-
{
|
|
497
|
-
id: "core/editor/toggle-spotlight-mode/notice",
|
|
498
|
-
type: "snackbar",
|
|
499
|
-
actions: [
|
|
500
|
-
{
|
|
501
|
-
label: __("Undo"),
|
|
502
|
-
onClick: () => {
|
|
503
|
-
registry.dispatch(preferencesStore).toggle("core", "focusMode");
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
]
|
|
507
|
-
}
|
|
508
|
-
);
|
|
509
|
-
};
|
|
510
|
-
var toggleTopToolbar = () => ({ registry }) => {
|
|
511
|
-
registry.dispatch(preferencesStore).toggle("core", "fixedToolbar");
|
|
512
|
-
const isTopToolbar = registry.select(preferencesStore).get("core", "fixedToolbar");
|
|
513
|
-
registry.dispatch(noticesStore).createInfoNotice(
|
|
514
|
-
isTopToolbar ? __("Top toolbar activated.") : __("Top toolbar deactivated."),
|
|
515
|
-
{
|
|
516
|
-
id: "core/editor/toggle-top-toolbar/notice",
|
|
517
|
-
type: "snackbar",
|
|
518
|
-
actions: [
|
|
519
|
-
{
|
|
520
|
-
label: __("Undo"),
|
|
521
|
-
onClick: () => {
|
|
522
|
-
registry.dispatch(preferencesStore).toggle("core", "fixedToolbar");
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
]
|
|
526
|
-
}
|
|
527
|
-
);
|
|
528
|
-
};
|
|
529
|
-
var switchEditorMode = (mode) => ({ dispatch, registry }) => {
|
|
530
|
-
registry.dispatch(preferencesStore).set("core", "editorMode", mode);
|
|
531
|
-
if (mode !== "visual") {
|
|
532
|
-
registry.dispatch(blockEditorStore).clearSelectedBlock();
|
|
533
|
-
unlock(registry.dispatch(blockEditorStore)).resetZoomLevel();
|
|
534
|
-
}
|
|
535
|
-
if (mode === "visual") {
|
|
536
|
-
speak(__("Visual editor selected"), "assertive");
|
|
537
|
-
} else if (mode === "text") {
|
|
538
|
-
const isDistractionFree = registry.select(preferencesStore).get("core", "distractionFree");
|
|
539
|
-
if (isDistractionFree) {
|
|
540
|
-
dispatch.toggleDistractionFree();
|
|
541
|
-
}
|
|
542
|
-
speak(__("Code editor selected"), "assertive");
|
|
543
|
-
}
|
|
544
|
-
};
|
|
545
|
-
function openPublishSidebar() {
|
|
546
|
-
return {
|
|
547
|
-
type: "OPEN_PUBLISH_SIDEBAR"
|
|
548
|
-
};
|
|
549
|
-
}
|
|
550
|
-
function closePublishSidebar() {
|
|
551
|
-
return {
|
|
552
|
-
type: "CLOSE_PUBLISH_SIDEBAR"
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
function togglePublishSidebar() {
|
|
556
|
-
return {
|
|
557
|
-
type: "TOGGLE_PUBLISH_SIDEBAR"
|
|
558
|
-
};
|
|
559
|
-
}
|
|
560
|
-
var getBlockEditorAction = (name) => (...args) => ({ registry }) => {
|
|
561
|
-
deprecated("`wp.data.dispatch( 'core/editor' )." + name + "`", {
|
|
562
|
-
since: "5.3",
|
|
563
|
-
alternative: "`wp.data.dispatch( 'core/block-editor' )." + name + "`",
|
|
564
|
-
version: "6.2"
|
|
565
|
-
});
|
|
566
|
-
registry.dispatch(blockEditorStore)[name](...args);
|
|
567
|
-
};
|
|
568
|
-
var resetBlocks = getBlockEditorAction("resetBlocks");
|
|
569
|
-
var receiveBlocks = getBlockEditorAction("receiveBlocks");
|
|
570
|
-
var updateBlock = getBlockEditorAction("updateBlock");
|
|
571
|
-
var updateBlockAttributes = getBlockEditorAction(
|
|
572
|
-
"updateBlockAttributes"
|
|
573
|
-
);
|
|
574
|
-
var selectBlock = getBlockEditorAction("selectBlock");
|
|
575
|
-
var startMultiSelect = getBlockEditorAction("startMultiSelect");
|
|
576
|
-
var stopMultiSelect = getBlockEditorAction("stopMultiSelect");
|
|
577
|
-
var multiSelect = getBlockEditorAction("multiSelect");
|
|
578
|
-
var clearSelectedBlock = getBlockEditorAction("clearSelectedBlock");
|
|
579
|
-
var toggleSelection = getBlockEditorAction("toggleSelection");
|
|
580
|
-
var replaceBlocks = getBlockEditorAction("replaceBlocks");
|
|
581
|
-
var replaceBlock = getBlockEditorAction("replaceBlock");
|
|
582
|
-
var moveBlocksDown = getBlockEditorAction("moveBlocksDown");
|
|
583
|
-
var moveBlocksUp = getBlockEditorAction("moveBlocksUp");
|
|
584
|
-
var moveBlockToPosition = getBlockEditorAction(
|
|
585
|
-
"moveBlockToPosition"
|
|
586
|
-
);
|
|
587
|
-
var insertBlock = getBlockEditorAction("insertBlock");
|
|
588
|
-
var insertBlocks = getBlockEditorAction("insertBlocks");
|
|
589
|
-
var showInsertionPoint = getBlockEditorAction("showInsertionPoint");
|
|
590
|
-
var hideInsertionPoint = getBlockEditorAction("hideInsertionPoint");
|
|
591
|
-
var setTemplateValidity = getBlockEditorAction(
|
|
592
|
-
"setTemplateValidity"
|
|
593
|
-
);
|
|
594
|
-
var synchronizeTemplate = getBlockEditorAction(
|
|
595
|
-
"synchronizeTemplate"
|
|
596
|
-
);
|
|
597
|
-
var mergeBlocks = getBlockEditorAction("mergeBlocks");
|
|
598
|
-
var removeBlocks = getBlockEditorAction("removeBlocks");
|
|
599
|
-
var removeBlock = getBlockEditorAction("removeBlock");
|
|
600
|
-
var toggleBlockMode = getBlockEditorAction("toggleBlockMode");
|
|
601
|
-
var startTyping = getBlockEditorAction("startTyping");
|
|
602
|
-
var stopTyping = getBlockEditorAction("stopTyping");
|
|
603
|
-
var enterFormattedText = getBlockEditorAction("enterFormattedText");
|
|
604
|
-
var exitFormattedText = getBlockEditorAction("exitFormattedText");
|
|
605
|
-
var insertDefaultBlock = getBlockEditorAction("insertDefaultBlock");
|
|
606
|
-
var updateBlockListSettings = getBlockEditorAction(
|
|
607
|
-
"updateBlockListSettings"
|
|
608
|
-
);
|
|
609
|
-
export {
|
|
610
|
-
__experimentalTearDownEditor,
|
|
611
|
-
__unstableSaveForPreview,
|
|
612
|
-
autosave,
|
|
613
|
-
clearSelectedBlock,
|
|
614
|
-
closePublishSidebar,
|
|
615
|
-
createUndoLevel,
|
|
616
|
-
disablePublishSidebar,
|
|
617
|
-
editPost,
|
|
618
|
-
enablePublishSidebar,
|
|
619
|
-
enterFormattedText,
|
|
620
|
-
exitFormattedText,
|
|
621
|
-
hideInsertionPoint,
|
|
622
|
-
insertBlock,
|
|
623
|
-
insertBlocks,
|
|
624
|
-
insertDefaultBlock,
|
|
625
|
-
lockPostAutosaving,
|
|
626
|
-
lockPostSaving,
|
|
627
|
-
mergeBlocks,
|
|
628
|
-
moveBlockToPosition,
|
|
629
|
-
moveBlocksDown,
|
|
630
|
-
moveBlocksUp,
|
|
631
|
-
multiSelect,
|
|
632
|
-
openPublishSidebar,
|
|
633
|
-
receiveBlocks,
|
|
634
|
-
redo,
|
|
635
|
-
refreshPost,
|
|
636
|
-
removeBlock,
|
|
637
|
-
removeBlocks,
|
|
638
|
-
removeEditorPanel,
|
|
639
|
-
replaceBlock,
|
|
640
|
-
replaceBlocks,
|
|
641
|
-
resetBlocks,
|
|
642
|
-
resetEditorBlocks,
|
|
643
|
-
resetPost,
|
|
644
|
-
savePost,
|
|
645
|
-
selectBlock,
|
|
646
|
-
setDeviceType,
|
|
647
|
-
setEditedPost,
|
|
648
|
-
setIsInserterOpened,
|
|
649
|
-
setIsListViewOpened,
|
|
650
|
-
setRenderingMode,
|
|
651
|
-
setTemplateValidity,
|
|
652
|
-
setupEditor,
|
|
653
|
-
setupEditorState,
|
|
654
|
-
showInsertionPoint,
|
|
655
|
-
startMultiSelect,
|
|
656
|
-
startTyping,
|
|
657
|
-
stopMultiSelect,
|
|
658
|
-
stopTyping,
|
|
659
|
-
switchEditorMode,
|
|
660
|
-
synchronizeTemplate,
|
|
661
|
-
toggleBlockMode,
|
|
662
|
-
toggleDistractionFree,
|
|
663
|
-
toggleEditorPanelEnabled,
|
|
664
|
-
toggleEditorPanelOpened,
|
|
665
|
-
togglePublishSidebar,
|
|
666
|
-
toggleSelection,
|
|
667
|
-
toggleSpotlightMode,
|
|
668
|
-
toggleTopToolbar,
|
|
669
|
-
trashPost,
|
|
670
|
-
undo,
|
|
671
|
-
unlockPostAutosaving,
|
|
672
|
-
unlockPostSaving,
|
|
673
|
-
updateBlock,
|
|
674
|
-
updateBlockAttributes,
|
|
675
|
-
updateBlockListSettings,
|
|
676
|
-
updateEditorSettings,
|
|
677
|
-
updatePost,
|
|
678
|
-
updatePostLock
|
|
679
|
-
};
|
|
680
|
-
//# sourceMappingURL=actions.js.map
|