@wordpress/editor 14.36.1-next.8fd3f8831.0 → 14.37.1-next.79a2f3cdd.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/LICENSE.md +1 -1
- package/build/bindings/api.cjs +4 -4
- package/build/components/autocompleters/index.cjs +1 -1
- package/build/components/blog-title/index.cjs +1 -1
- package/build/components/collab-sidebar/add-comment.cjs +3 -3
- package/build/components/collab-sidebar/comment-form.cjs +1 -1
- package/build/components/collab-sidebar/comments.cjs +3 -3
- package/build/components/collab-sidebar/index.cjs +4 -4
- package/build/components/collapsible-block-toolbar/index.cjs +1 -1
- package/build/components/commands/index.cjs +1 -1
- package/build/components/deprecated.cjs +2 -2
- package/build/components/document-bar/index.cjs +3 -3
- package/build/components/document-outline/index.cjs +1 -1
- package/build/components/document-outline/item.cjs +1 -1
- package/build/components/document-tools/index.cjs +3 -3
- package/build/components/editor/index.cjs +4 -4
- package/build/components/editor-interface/index.cjs +9 -9
- package/build/components/editor-notices/index.cjs +1 -1
- package/build/components/entities-saved-states/entity-type-list.cjs +1 -1
- package/build/components/entities-saved-states/index.cjs +2 -2
- package/build/components/global-styles-sidebar/index.cjs +3 -3
- package/build/components/global-styles-sidebar/welcome-guide.cjs +1 -1
- package/build/components/header/index.cjs +11 -11
- package/build/components/index.cjs +84 -84
- package/build/components/keyboard-shortcut-help-modal/dynamic-shortcut.cjs +1 -1
- package/build/components/keyboard-shortcut-help-modal/index.cjs +3 -3
- package/build/components/list-view-sidebar/index.cjs +1 -1
- package/build/components/list-view-sidebar/list-view-outline.cjs +4 -4
- package/build/components/local-autosave-monitor/index.cjs +1 -1
- package/build/components/more-menu/index.cjs +4 -4
- package/build/components/page-attributes/order.cjs +1 -1
- package/build/components/page-attributes/panel.cjs +1 -1
- package/build/components/page-attributes/parent.cjs +2 -2
- package/build/components/plugin-document-setting-panel/index.cjs +2 -2
- package/build/components/post-author/check.cjs +1 -1
- package/build/components/post-author/index.cjs +2 -2
- package/build/components/post-author/panel.cjs +3 -3
- package/build/components/post-card-panel/index.cjs +2 -2
- package/build/components/post-discussion/panel.cjs +4 -4
- package/build/components/post-excerpt/check.cjs +1 -1
- package/build/components/post-excerpt/panel.cjs +3 -3
- package/build/components/post-featured-image/check.cjs +2 -2
- package/build/components/post-featured-image/index.cjs +2 -2
- package/build/components/post-featured-image/panel.cjs +2 -2
- package/build/components/post-format/check.cjs +1 -1
- package/build/components/post-format/index.cjs +1 -1
- package/build/components/post-format/panel.cjs +3 -3
- package/build/components/post-last-revision/check.cjs +1 -1
- package/build/components/post-last-revision/index.cjs +2 -2
- package/build/components/post-last-revision/panel.cjs +2 -2
- package/build/components/post-panel-row/index.cjs +1 -1
- package/build/components/post-panel-section/index.cjs +1 -1
- package/build/components/post-pending-status/index.cjs +1 -1
- package/build/components/post-publish-button/index.cjs +1 -1
- package/build/components/post-publish-button/post-publish-button-or-toggle.cjs +1 -1
- package/build/components/post-publish-panel/index.cjs +3 -3
- package/build/components/post-publish-panel/maybe-category-panel.cjs +1 -1
- package/build/components/post-publish-panel/maybe-tags-panel.cjs +1 -1
- package/build/components/post-publish-panel/postpublish.cjs +1 -1
- package/build/components/post-publish-panel/prepublish.cjs +8 -8
- package/build/components/post-saved-state/index.cjs +1 -1
- package/build/components/post-schedule/panel.cjs +3 -3
- package/build/components/post-status/index.cjs +2 -2
- package/build/components/post-sticky/index.cjs +1 -1
- package/build/components/post-sticky/panel.cjs +3 -3
- package/build/components/post-switch-to-draft-button/index.cjs +1 -1
- package/build/components/post-sync-status/index.cjs +1 -1
- package/build/components/post-taxonomies/flat-term-selector.cjs +1 -1
- package/build/components/post-taxonomies/index.cjs +2 -2
- package/build/components/post-taxonomies/panel.cjs +2 -2
- package/build/components/post-template/block-theme.cjs +4 -4
- package/build/components/post-template/classic-theme.cjs +2 -2
- package/build/components/post-template/create-new-template.cjs +1 -1
- package/build/components/post-template/panel.cjs +2 -2
- package/build/components/post-text-editor/index.cjs +1 -1
- package/build/components/post-title/index.cjs +4 -4
- package/build/components/post-title/post-title-raw.cjs +3 -3
- package/build/components/post-trash/index.cjs +1 -1
- package/build/components/post-url/panel.cjs +3 -3
- package/build/components/posts-per-page/index.cjs +1 -1
- package/build/components/preferences-modal/enable-plugin-document-setting-panel.cjs +1 -1
- package/build/components/preferences-modal/index.cjs +9 -9
- package/build/components/preview-dropdown/index.cjs +3 -3
- package/build/components/preview-dropdown/index.cjs.map +2 -2
- package/build/components/provider/disable-non-page-content-blocks.cjs +1 -1
- package/build/components/provider/index.cjs +13 -13
- package/build/components/provider/use-block-editor-settings.cjs +13 -7
- package/build/components/provider/use-block-editor-settings.cjs.map +3 -3
- package/build/components/resizable-editor/index.cjs +2 -2
- package/build/components/save-publish-panels/index.cjs +4 -4
- package/build/components/sidebar/index.cjs +10 -10
- package/build/components/sidebar/post-summary.cjs +19 -19
- package/build/components/site-discussion/index.cjs +1 -1
- package/build/components/style-book/color-examples.cjs +1 -1
- package/build/components/style-book/examples.cjs +2 -2
- package/build/components/style-book/index.cjs +1 -1
- package/build/components/styles-canvas/index.cjs +3 -3
- package/build/components/styles-canvas/style-book.cjs +1 -1
- package/build/components/table-of-contents/index.cjs +1 -1
- package/build/components/table-of-contents/panel.cjs +4 -4
- package/build/components/template-part-menu-items/index.cjs +2 -2
- package/build/components/text-editor/index.cjs +2 -2
- package/build/components/visual-editor/index.cjs +5 -5
- package/build/dataviews/fields/content-preview/index.cjs +1 -1
- package/build/dataviews/store/private-actions.cjs +1 -1
- package/build/hooks/media-upload.cjs +1 -1
- package/build/hooks/pattern-overrides.cjs +7 -2
- package/build/hooks/pattern-overrides.cjs.map +3 -3
- package/build/hooks/push-changes-to-global-styles/index.cjs +1 -1
- package/build/private-apis.cjs +11 -11
- package/build/store/actions.cjs +2 -2
- package/build/store/index.cjs +5 -5
- package/build/store/private-actions.cjs +2 -2
- package/build/store/private-selectors.cjs +1 -1
- package/build/store/reducer.cjs +1 -1
- package/build/store/selectors.cjs +1 -1
- package/build/utils/index.cjs +1 -1
- package/build/utils/search-templates.cjs +1 -1
- package/build/utils/url.cjs +1 -1
- package/build-module/bindings/{api.js → api.mjs} +5 -5
- package/build-module/bindings/{pattern-overrides.js → pattern-overrides.mjs} +1 -1
- package/build-module/bindings/{post-data.js → post-data.mjs} +1 -1
- package/build-module/bindings/{post-meta.js → post-meta.mjs} +3 -3
- package/build-module/bindings/{term-data.js → term-data.mjs} +1 -1
- package/build-module/components/autocompleters/{index.js → index.mjs} +2 -2
- package/build-module/components/autocompleters/{user.js → user.mjs} +1 -1
- package/build-module/components/autosave-monitor/{index.js → index.mjs} +2 -2
- package/build-module/components/block-removal-warnings/{index.js → index.mjs} +3 -3
- package/build-module/components/block-settings-menu/{plugin-block-settings-menu-item.js → plugin-block-settings-menu-item.mjs} +1 -1
- package/build-module/components/block-visibility/{index.js → index.mjs} +3 -3
- package/build-module/components/blog-title/{index.js → index.mjs} +4 -4
- package/build-module/components/character-count/{index.js → index.mjs} +2 -2
- package/build-module/components/collab-sidebar/{add-comment.js → add-comment.mjs} +5 -5
- package/build-module/components/collab-sidebar/{comment-author-info.js → comment-author-info.mjs} +2 -2
- package/build-module/components/collab-sidebar/{comment-form.js → comment-form.mjs} +2 -2
- package/build-module/components/collab-sidebar/{comment-indicator-toolbar.js → comment-indicator-toolbar.mjs} +3 -3
- package/build-module/components/collab-sidebar/{comment-menu-item.js → comment-menu-item.mjs} +2 -2
- package/build-module/components/collab-sidebar/{comments.js → comments.mjs} +8 -8
- package/build-module/components/collab-sidebar/{constants.js → constants.mjs} +1 -1
- package/build-module/components/collab-sidebar/{hooks.js → hooks.mjs} +5 -5
- package/build-module/components/collab-sidebar/{index.js → index.mjs} +12 -12
- package/build-module/components/collab-sidebar/{utils.js → utils.mjs} +1 -1
- package/build-module/components/collapsible-block-toolbar/{index.js → index.mjs} +2 -2
- package/build-module/components/commands/{index.js → index.mjs} +7 -7
- package/build-module/components/{deprecated.js → deprecated.mjs} +1 -1
- package/build-module/components/document-bar/{index.js → index.mjs} +8 -8
- package/build-module/components/document-bar/{useEditedSectionDetails.js → useEditedSectionDetails.mjs} +2 -2
- package/build-module/components/document-outline/{check.js → check.mjs} +1 -1
- package/build-module/components/document-outline/{index.js → index.mjs} +3 -3
- package/build-module/components/document-outline/{item.js → item.mjs} +1 -1
- package/build-module/components/document-tools/{index.js → index.mjs} +5 -5
- package/build-module/components/editor/{index.js → index.mjs} +10 -10
- package/build-module/components/editor-history/{redo.js → redo.mjs} +2 -2
- package/build-module/components/editor-history/{undo.js → undo.mjs} +2 -2
- package/build-module/components/editor-interface/{index.js → index.mjs} +11 -11
- package/build-module/components/editor-notices/{index.js → index.mjs} +2 -2
- package/build-module/components/editor-snackbars/{index.js → index.mjs} +1 -1
- package/build-module/components/entities-saved-states/{entity-record-item.js → entity-record-item.mjs} +4 -4
- package/build-module/components/entities-saved-states/{entity-type-list.js → entity-type-list.mjs} +2 -2
- package/build-module/components/entities-saved-states/hooks/{use-is-dirty.js → use-is-dirty.mjs} +1 -1
- package/build-module/components/entities-saved-states/{index.js → index.mjs} +5 -5
- package/build-module/components/error-boundary/{index.js → index.mjs} +2 -2
- package/build-module/components/global-keyboard-shortcuts/{index.js → index.mjs} +2 -2
- package/build-module/components/global-keyboard-shortcuts/{register-shortcuts.js → register-shortcuts.mjs} +1 -1
- package/build-module/components/global-styles/{block-link.js → block-link.mjs} +1 -1
- package/build-module/components/global-styles/{header.js → header.mjs} +1 -1
- package/build-module/components/global-styles/{hooks.js → hooks.mjs} +2 -2
- package/build-module/components/global-styles/{index.js → index.mjs} +5 -5
- package/build-module/components/global-styles/{menu.js → menu.mjs} +2 -2
- package/build-module/components/global-styles-provider/{index.js → index.mjs} +2 -2
- package/build-module/components/global-styles-renderer/{index.js → index.mjs} +3 -3
- package/build-module/components/global-styles-sidebar/{default-sidebar.js → default-sidebar.mjs} +1 -1
- package/build-module/components/global-styles-sidebar/{index.js → index.mjs} +7 -7
- package/build-module/components/global-styles-sidebar/{welcome-guide-image.js → welcome-guide-image.mjs} +1 -1
- package/build-module/components/global-styles-sidebar/{welcome-guide.js → welcome-guide.mjs} +2 -2
- package/build-module/components/header/{back-button.js → back-button.mjs} +1 -1
- package/build-module/components/header/{index.js → index.mjs} +15 -15
- package/build-module/components/{index.js → index.mjs} +90 -90
- package/build-module/components/inserter-sidebar/{index.js → index.mjs} +3 -3
- package/build-module/components/keyboard-shortcut-help-modal/{config.js → config.mjs} +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/{dynamic-shortcut.js → dynamic-shortcut.mjs} +2 -2
- package/build-module/components/keyboard-shortcut-help-modal/{index.js → index.mjs} +4 -4
- package/build-module/components/keyboard-shortcut-help-modal/{shortcut.js → shortcut.mjs} +1 -1
- package/build-module/components/list-view-sidebar/{index.js → index.mjs} +4 -4
- package/build-module/components/list-view-sidebar/{list-view-outline.js → list-view-outline.mjs} +5 -5
- package/build-module/components/local-autosave-monitor/{index.js → index.mjs} +4 -4
- package/build-module/components/media-categories/{index.js → index.mjs} +1 -1
- package/build-module/components/mode-switcher/{index.js → index.mjs} +2 -2
- package/build-module/components/more-menu/{copy-content-menu-item.js → copy-content-menu-item.mjs} +2 -2
- package/build-module/components/more-menu/{index.js → index.mjs} +6 -6
- package/build-module/components/more-menu/{tools-more-menu-group.js → tools-more-menu-group.mjs} +1 -1
- package/build-module/components/more-menu/{view-more-menu-group.js → view-more-menu-group.mjs} +1 -1
- package/build-module/components/page-attributes/{check.js → check.mjs} +2 -2
- package/build-module/components/page-attributes/{order.js → order.mjs} +3 -3
- package/build-module/components/page-attributes/{panel.js → panel.mjs} +4 -4
- package/build-module/components/page-attributes/{parent.js → parent.mjs} +4 -4
- package/build-module/components/pattern-duplicate-modal/{index.js → index.mjs} +4 -4
- package/build-module/components/pattern-overrides-panel/{index.js → index.mjs} +3 -3
- package/build-module/components/pattern-rename-modal/{index.js → index.mjs} +4 -4
- package/build-module/components/plugin-document-setting-panel/{index.js → index.mjs} +3 -3
- package/build-module/components/plugin-more-menu-item/{index.js → index.mjs} +1 -1
- package/build-module/components/plugin-post-publish-panel/{index.js → index.mjs} +1 -1
- package/build-module/components/plugin-post-status-info/{index.js → index.mjs} +1 -1
- package/build-module/components/plugin-pre-publish-panel/{index.js → index.mjs} +1 -1
- package/build-module/components/plugin-preview-menu-item/{index.js → index.mjs} +1 -1
- package/build-module/components/plugin-sidebar/{index.js → index.mjs} +1 -1
- package/build-module/components/plugin-sidebar-more-menu-item/{index.js → index.mjs} +1 -1
- package/build-module/components/post-actions/{actions.js → actions.mjs} +5 -5
- package/build-module/components/post-actions/{index.js → index.mjs} +3 -3
- package/build-module/components/post-actions/{set-as-homepage.js → set-as-homepage.mjs} +2 -2
- package/build-module/components/post-actions/{set-as-posts-page.js → set-as-posts-page.mjs} +2 -2
- package/build-module/components/post-author/{check.js → check.mjs} +3 -3
- package/build-module/components/post-author/{combobox.js → combobox.mjs} +3 -3
- package/build-module/components/post-author/{constants.js → constants.mjs} +1 -1
- package/build-module/components/post-author/{hook.js → hook.mjs} +3 -3
- package/build-module/components/post-author/{index.js → index.mjs} +4 -4
- package/build-module/components/post-author/{panel.js → panel.mjs} +6 -6
- package/build-module/components/post-author/{select.js → select.mjs} +3 -3
- package/build-module/components/post-card-panel/{index.js → index.mjs} +7 -7
- package/build-module/components/post-comments/{index.js → index.mjs} +2 -2
- package/build-module/components/post-content-information/{index.js → index.mjs} +3 -3
- package/build-module/components/post-discussion/{panel.js → panel.mjs} +6 -6
- package/build-module/components/post-excerpt/{check.js → check.mjs} +2 -2
- package/build-module/components/post-excerpt/{index.js → index.mjs} +2 -2
- package/build-module/components/post-excerpt/{panel.js → panel.mjs} +7 -7
- package/build-module/components/post-excerpt/{plugin.js → plugin.mjs} +1 -1
- package/build-module/components/post-featured-image/{check.js → check.mjs} +3 -3
- package/build-module/components/post-featured-image/{index.js → index.mjs} +3 -3
- package/build-module/components/post-featured-image/{panel.js → panel.mjs} +4 -4
- package/build-module/components/post-fields/{index.js → index.mjs} +3 -3
- package/build-module/components/post-format/{check.js → check.mjs} +3 -3
- package/build-module/components/post-format/{index.js → index.mjs} +3 -3
- package/build-module/components/post-format/{panel.js → panel.mjs} +5 -5
- package/build-module/components/post-last-edited-panel/{index.js → index.mjs} +2 -2
- package/build-module/components/post-last-revision/{check.js → check.mjs} +3 -3
- package/build-module/components/post-last-revision/{index.js → index.mjs} +4 -4
- package/build-module/components/post-last-revision/{panel.js → panel.mjs} +3 -3
- package/build-module/components/post-locked-modal/{index.js → index.mjs} +2 -2
- package/build-module/components/post-panel-row/{index.js → index.mjs} +1 -1
- package/build-module/components/post-panel-section/{index.js → index.mjs} +1 -1
- package/build-module/components/post-pending-status/{check.js → check.mjs} +2 -2
- package/build-module/components/post-pending-status/{index.js → index.mjs} +3 -3
- package/build-module/components/post-pingbacks/{index.js → index.mjs} +2 -2
- package/build-module/components/post-preview-button/{index.js → index.mjs} +2 -2
- package/build-module/components/post-publish-button/{index.js → index.mjs} +3 -3
- package/build-module/components/post-publish-button/{label.js → label.mjs} +2 -2
- package/build-module/components/post-publish-button/{post-publish-button-or-toggle.js → post-publish-button-or-toggle.mjs} +3 -3
- package/build-module/components/post-publish-panel/{index.js → index.mjs} +5 -5
- package/build-module/components/post-publish-panel/{maybe-category-panel.js → maybe-category-panel.mjs} +3 -3
- package/build-module/components/post-publish-panel/{maybe-post-format-panel.js → maybe-post-format-panel.mjs} +3 -3
- package/build-module/components/post-publish-panel/{maybe-tags-panel.js → maybe-tags-panel.mjs} +3 -3
- package/build-module/components/post-publish-panel/{maybe-upload-media.js → maybe-upload-media.mjs} +2 -2
- package/build-module/components/post-publish-panel/{media-util.js → media-util.mjs} +1 -1
- package/build-module/components/post-publish-panel/{postpublish.js → postpublish.mjs} +3 -3
- package/build-module/components/post-publish-panel/{prepublish.js → prepublish.mjs} +10 -10
- package/build-module/components/post-saved-state/{index.js → index.mjs} +3 -3
- package/build-module/components/post-schedule/{check.js → check.mjs} +2 -2
- package/build-module/components/post-schedule/{index.js → index.mjs} +3 -3
- package/build-module/components/post-schedule/{label.js → label.mjs} +2 -2
- package/build-module/components/post-schedule/{panel.js → panel.mjs} +7 -7
- package/build-module/components/post-status/{index.js → index.mjs} +6 -6
- package/build-module/components/post-sticky/{check.js → check.mjs} +2 -2
- package/build-module/components/post-sticky/{index.js → index.mjs} +3 -3
- package/build-module/components/post-sticky/{panel.js → panel.mjs} +4 -4
- package/build-module/components/post-switch-to-draft-button/{index.js → index.mjs} +2 -2
- package/build-module/components/post-sync-status/{index.js → index.mjs} +3 -3
- package/build-module/components/post-taxonomies/{check.js → check.mjs} +2 -2
- package/build-module/components/post-taxonomies/{flat-term-selector.js → flat-term-selector.mjs} +4 -4
- package/build-module/components/post-taxonomies/{hierarchical-term-selector.js → hierarchical-term-selector.mjs} +4 -4
- package/build-module/components/post-taxonomies/{index.js → index.mjs} +4 -4
- package/build-module/components/post-taxonomies/{most-used-terms.js → most-used-terms.mjs} +2 -2
- package/build-module/components/post-taxonomies/{panel.js → panel.mjs} +4 -4
- package/build-module/components/post-template/{block-theme.js → block-theme.mjs} +7 -7
- package/build-module/components/post-template/{classic-theme.js → classic-theme.mjs} +5 -5
- package/build-module/components/post-template/{create-new-template-modal.js → create-new-template-modal.mjs} +3 -3
- package/build-module/components/post-template/{create-new-template.js → create-new-template.mjs} +3 -3
- package/build-module/components/post-template/{hooks.js → hooks.mjs} +2 -2
- package/build-module/components/post-template/{panel.js → panel.mjs} +4 -4
- package/build-module/components/post-template/{reset-default-template.js → reset-default-template.mjs} +2 -2
- package/build-module/components/post-template/{swap-template-button.js → swap-template-button.mjs} +3 -3
- package/build-module/components/post-text-editor/{index.js → index.mjs} +2 -2
- package/build-module/components/post-title/{constants.js → constants.mjs} +1 -1
- package/build-module/components/post-title/{index.js → index.mjs} +6 -6
- package/build-module/components/post-title/{post-title-raw.js → post-title-raw.mjs} +4 -4
- package/build-module/components/post-title/{use-post-title-focus.js → use-post-title-focus.mjs} +2 -2
- package/build-module/components/post-title/{use-post-title.js → use-post-title.mjs} +2 -2
- package/build-module/components/post-transform-panel/{hooks.js → hooks.mjs} +3 -3
- package/build-module/components/post-transform-panel/{index.js → index.mjs} +4 -4
- package/build-module/components/post-trash/{check.js → check.mjs} +3 -3
- package/build-module/components/post-trash/{index.js → index.mjs} +3 -3
- package/build-module/components/post-type-support-check/{index.js → index.mjs} +2 -2
- package/build-module/components/post-url/{check.js → check.mjs} +2 -2
- package/build-module/components/post-url/{index.js → index.mjs} +2 -2
- package/build-module/components/post-url/{label.js → label.mjs} +2 -2
- package/build-module/components/post-url/{panel.js → panel.mjs} +5 -5
- package/build-module/components/post-view-link/{index.js → index.mjs} +2 -2
- package/build-module/components/post-visibility/{check.js → check.mjs} +2 -2
- package/build-module/components/post-visibility/{index.js → index.mjs} +3 -3
- package/build-module/components/post-visibility/{label.js → label.mjs} +3 -3
- package/build-module/components/post-visibility/{utils.js → utils.mjs} +1 -1
- package/build-module/components/posts-per-page/{index.js → index.mjs} +4 -4
- package/build-module/components/preferences-modal/{enable-panel.js → enable-panel.mjs} +3 -3
- package/build-module/components/preferences-modal/{enable-plugin-document-setting-panel.js → enable-plugin-document-setting-panel.mjs} +2 -2
- package/build-module/components/preferences-modal/{enable-publish-sidebar.js → enable-publish-sidebar.mjs} +3 -3
- package/build-module/components/preferences-modal/{index.js → index.mjs} +12 -12
- package/build-module/components/preview-dropdown/{index.js → index.mjs} +4 -4
- package/build-module/components/preview-dropdown/{index.js.map → index.mjs.map} +2 -2
- package/build-module/components/provider/{disable-non-page-content-blocks.js → disable-non-page-content-blocks.mjs} +2 -2
- package/build-module/components/provider/{index.js → index.mjs} +17 -17
- package/build-module/components/provider/{navigation-block-editing-mode.js → navigation-block-editing-mode.mjs} +1 -1
- package/build-module/components/provider/{use-auto-switch-editor-sidebars.js → use-auto-switch-editor-sidebars.mjs} +1 -1
- package/build-module/components/provider/{use-block-editor-settings.js → use-block-editor-settings.mjs} +18 -12
- package/build-module/components/provider/use-block-editor-settings.mjs.map +7 -0
- package/build-module/components/provider/{use-hide-blocks-from-inserter.js → use-hide-blocks-from-inserter.mjs} +1 -1
- package/build-module/components/provider/{use-post-content-blocks.js → use-post-content-blocks.mjs} +3 -3
- package/build-module/components/provider/{with-registry-provider.js → with-registry-provider.mjs} +2 -2
- package/build-module/components/resizable-editor/{index.js → index.mjs} +2 -2
- package/build-module/components/resizable-editor/{resize-handle.js → resize-handle.mjs} +1 -1
- package/build-module/components/save-publish-panels/{index.js → index.mjs} +6 -6
- package/build-module/components/sidebar/{constants.js → constants.mjs} +1 -1
- package/build-module/components/sidebar/{header.js → header.mjs} +4 -4
- package/build-module/components/sidebar/{index.js → index.mjs} +15 -15
- package/build-module/components/sidebar/{post-summary.js → post-summary.mjs} +23 -23
- package/build-module/components/site-discussion/{index.js → index.mjs} +4 -4
- package/build-module/components/start-page-options/{index.js → index.mjs} +3 -3
- package/build-module/components/start-template-options/{index.js → index.mjs} +3 -3
- package/build-module/components/style-book/{categories.js → categories.mjs} +2 -2
- package/build-module/components/style-book/{color-examples.js → color-examples.mjs} +1 -1
- package/build-module/components/style-book/{constants.js → constants.mjs} +1 -1
- package/build-module/components/style-book/{duotone-examples.js → duotone-examples.mjs} +1 -1
- package/build-module/components/style-book/{examples.js → examples.mjs} +4 -4
- package/build-module/components/style-book/{index.js → index.mjs} +10 -10
- package/build-module/components/style-book/types.mjs +1 -0
- package/build-module/components/styles-canvas/{index.js → index.mjs} +6 -6
- package/build-module/components/styles-canvas/{revisions.js → revisions.mjs} +4 -4
- package/build-module/components/styles-canvas/{style-book.js → style-book.mjs} +3 -3
- package/build-module/components/table-of-contents/{index.js → index.mjs} +2 -2
- package/build-module/components/table-of-contents/{panel.js → panel.mjs} +5 -5
- package/build-module/components/template-content-panel/{index.js → index.mjs} +4 -4
- package/build-module/components/template-part-content-panel/{index.js → index.mjs} +4 -4
- package/build-module/components/template-part-menu-items/{convert-to-regular.js → convert-to-regular.mjs} +1 -1
- package/build-module/components/template-part-menu-items/{convert-to-template-part.js → convert-to-template-part.mjs} +1 -1
- package/build-module/components/template-part-menu-items/{index.js → index.mjs} +3 -3
- package/build-module/components/template-validation-notice/{index.js → index.mjs} +1 -1
- package/build-module/components/text-editor/{index.js → index.mjs} +4 -4
- package/build-module/components/theme-support-check/{index.js → index.mjs} +2 -2
- package/build-module/components/time-to-read/{index.js → index.mjs} +2 -2
- package/build-module/components/unsaved-changes-warning/{index.js → index.mjs} +1 -1
- package/build-module/components/visual-editor/{edit-template-blocks-notification.js → edit-template-blocks-notification.mjs} +2 -2
- package/build-module/components/visual-editor/{index.js → index.mjs} +11 -11
- package/build-module/components/visual-editor/{use-edit-content-only-section-exit.js → use-edit-content-only-section-exit.mjs} +2 -2
- package/build-module/components/visual-editor/{use-padding-appender.js → use-padding-appender.mjs} +1 -1
- package/build-module/components/visual-editor/{use-select-nearest-editable-block.js → use-select-nearest-editable-block.mjs} +2 -2
- package/build-module/components/visual-editor/{use-zoom-out-mode-exit.js → use-zoom-out-mode-exit.mjs} +2 -2
- package/build-module/components/word-count/{index.js → index.mjs} +2 -2
- package/build-module/components/zoom-out-toggle/{index.js → index.mjs} +2 -2
- package/build-module/dataviews/{api.js → api.mjs} +3 -3
- package/build-module/dataviews/fields/content-preview/{content-preview-view.js → content-preview-view.mjs} +5 -5
- package/build-module/dataviews/fields/content-preview/{index.js → index.mjs} +2 -2
- package/build-module/dataviews/store/{private-actions.js → private-actions.mjs} +5 -5
- package/build-module/dataviews/store/{private-selectors.js → private-selectors.mjs} +1 -1
- package/build-module/dataviews/store/{reducer.js → reducer.mjs} +1 -1
- package/build-module/hooks/{custom-sources-backwards-compatibility.js → custom-sources-backwards-compatibility.mjs} +2 -2
- package/build-module/hooks/{default-autocompleters.js → default-autocompleters.mjs} +2 -2
- package/build-module/hooks/index.mjs +9 -0
- package/build-module/hooks/{media-upload.js → media-upload.mjs} +2 -2
- package/build-module/hooks/{navigation-link-view-button.js → navigation-link-view-button.mjs} +1 -1
- package/build-module/hooks/{pattern-overrides.js → pattern-overrides.mjs} +14 -6
- package/build-module/hooks/pattern-overrides.mjs.map +7 -0
- package/build-module/hooks/push-changes-to-global-styles/{index.js → index.mjs} +4 -4
- package/build-module/hooks/{template-part-navigation-edit-button.js → template-part-navigation-edit-button.mjs} +1 -1
- package/build-module/hooks/{use-global-styles-output.js → use-global-styles-output.mjs} +3 -3
- package/build-module/index.mjs +14 -0
- package/build-module/{lock-unlock.js → lock-unlock.mjs} +1 -1
- package/build-module/{private-apis.js → private-apis.mjs} +20 -20
- package/build-module/store/{actions.js → actions.mjs} +4 -4
- package/build-module/store/{constants.js → constants.mjs} +1 -1
- package/build-module/store/{defaults.js → defaults.mjs} +1 -1
- package/build-module/store/{index.js → index.mjs} +8 -8
- package/build-module/store/{local-autosave.js → local-autosave.mjs} +1 -1
- package/build-module/store/{private-actions.js → private-actions.mjs} +3 -3
- package/build-module/store/{private-selectors.js → private-selectors.mjs} +4 -4
- package/build-module/store/{reducer.js → reducer.mjs} +3 -3
- package/build-module/store/{selectors.js → selectors.mjs} +6 -6
- package/build-module/store/utils/{is-template-revertable.js → is-template-revertable.mjs} +2 -2
- package/build-module/store/utils/{notice-builder.js → notice-builder.mjs} +1 -1
- package/build-module/utils/{block-selection-path.js → block-selection-path.mjs} +1 -1
- package/build-module/utils/{get-item-title.js → get-item-title.mjs} +1 -1
- package/build-module/utils/{get-template-info.js → get-template-info.mjs} +2 -2
- package/build-module/utils/{get-template-part-icon.js → get-template-part-icon.mjs} +1 -1
- package/build-module/utils/index.mjs +10 -0
- package/build-module/utils/media-sideload/{index.js → index.mjs} +2 -2
- package/build-module/utils/media-upload/{index.js → index.mjs} +2 -2
- package/build-module/utils/{pageTypeBadge.js → pageTypeBadge.mjs} +1 -1
- package/build-module/utils/{search-templates.js → search-templates.mjs} +1 -1
- package/build-module/utils/{set-nested-value.js → set-nested-value.mjs} +1 -1
- package/build-module/utils/{terms.js → terms.mjs} +1 -1
- package/build-module/utils/{url.js → url.mjs} +1 -1
- package/build-style/style-rtl.css +26 -53
- package/build-style/style.css +26 -53
- package/build-types/components/post-locked-modal/index.d.ts +2 -2
- package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
- package/build-types/dataviews/store/private-selectors.d.ts +2 -2
- package/build-types/dataviews/store/private-selectors.d.ts.map +1 -1
- package/build-types/dataviews/store/reducer.d.ts +1 -1
- package/build-types/store/private-selectors.d.ts +2 -2
- package/build-types/store/private-selectors.d.ts.map +1 -1
- package/build-types/store/reducer.d.ts +4 -4
- package/package.json +47 -45
- package/src/components/post-text-editor/style.scss +1 -9
- package/src/components/preview-dropdown/index.js +1 -1
- package/src/components/provider/use-block-editor-settings.js +8 -0
- package/src/hooks/pattern-overrides.js +14 -5
- package/build-module/components/provider/use-block-editor-settings.js.map +0 -7
- package/build-module/components/style-book/types.js +0 -1
- package/build-module/hooks/index.js +0 -9
- package/build-module/hooks/pattern-overrides.js.map +0 -7
- package/build-module/index.js +0 -14
- package/build-module/utils/index.js +0 -10
- /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/{hooks.js.map → hooks.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/{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-interface/{index.js.map → index.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-record-item.js.map → entity-record-item.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/more-menu/{view-more-menu-group.js.map → view-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/page-attributes/{parent.js.map → parent.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/{combobox.js.map → combobox.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-author/{select.js.map → select.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/{index.js.map → index.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-pending-status/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-pingbacks/{index.js.map → index.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/{index.js.map → index.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/{postpublish.js.map → postpublish.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-status/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/components/post-sticky/{check.js.map → check.mjs.map} +0 -0
- /package/build-module/components/post-sticky/{index.js.map → index.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/{hierarchical-term-selector.js.map → hierarchical-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/{classic-theme.js.map → classic-theme.mjs.map} +0 -0
- /package/build-module/components/post-template/{create-new-template-modal.js.map → create-new-template-modal.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-template/{swap-template-button.js.map → swap-template-button.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/{post-title-raw.js.map → post-title-raw.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/{index.js.map → index.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/{index.js.map → index.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/{header.js.map → header.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-page-options/{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/push-changes-to-global-styles/{index.js.map → index.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/{private-apis.js.map → private-apis.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/store/utils/{notice-builder.js.map → notice-builder.mjs.map} +0 -0
- /package/build-module/utils/{block-selection-path.js.map → block-selection-path.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/{get-template-part-icon.js.map → get-template-part-icon.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,4 +1,4 @@
|
|
|
1
|
-
declare const _default: {
|
|
1
|
+
declare const _default: typeof PostLockedModal | {
|
|
2
2
|
new (props: {
|
|
3
3
|
[key: string]: any;
|
|
4
4
|
}): {
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
49
49
|
}[];
|
|
50
50
|
contextType?: import("react").Context<any> | undefined;
|
|
51
|
-
}
|
|
51
|
+
};
|
|
52
52
|
export default _default;
|
|
53
53
|
declare function PostLockedModal(): import("react").JSX.Element | null;
|
|
54
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";AAuGA;;;;;;;;;GASG;AACH,kDAPW,MAAM,YACN,MAAM,UACN,MAAM,iBACN,MAAM,GAEL,MAAM,CAyTjB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Internal dependencies
|
|
3
3
|
*/
|
|
4
4
|
import type { State } from './reducer';
|
|
5
|
-
export declare function getEntityActions(state: State, kind: string, name: string): import("@wordpress/dataviews
|
|
6
|
-
export declare function getEntityFields(state: State, kind: string, name: string): import("@wordpress/dataviews
|
|
5
|
+
export declare function getEntityActions(state: State, kind: string, name: string): import("@wordpress/dataviews").Action<any>[];
|
|
6
|
+
export declare function getEntityFields(state: State, kind: string, name: string): import("@wordpress/dataviews").Field<any>[];
|
|
7
7
|
export declare function isEntityReady(state: State, kind: string, name: string): boolean;
|
|
8
8
|
//# sourceMappingURL=private-selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-selectors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAIvC,wBAAgB,gBAAgB,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-selectors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAIvC,wBAAgB,gBAAgB,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,gDAEzE;AAED,wBAAgB,eAAe,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,+CAExE;AAED,wBAAgB,aAAa,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,WAEtE"}
|
|
@@ -16,7 +16,7 @@ declare const _default: import("redux").Reducer<{
|
|
|
16
16
|
};
|
|
17
17
|
fields: {
|
|
18
18
|
[x: string]: Record<string, Field<any>[]> | {
|
|
19
|
-
[x: string]: Field<any>[] | (Field<
|
|
19
|
+
[x: string]: Field<any>[] | (Field<unknown> | Field<any>)[];
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
isReady: ReadyState;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export function getListViewToggleRef(state: any): any;
|
|
2
2
|
export function getInserterSidebarToggleRef(state: any): any;
|
|
3
|
-
export function getEntityActions(state: any, ...args: any[]): import("@wordpress/dataviews
|
|
3
|
+
export function getEntityActions(state: any, ...args: any[]): import("@wordpress/dataviews").Action<any>[];
|
|
4
4
|
export function isEntityReady(state: any, ...args: any[]): boolean;
|
|
5
|
-
export function getEntityFields(state: any, ...args: any[]): import("@wordpress/dataviews
|
|
5
|
+
export function getEntityFields(state: any, ...args: any[]): import("@wordpress/dataviews").Field<any>[];
|
|
6
6
|
/**
|
|
7
7
|
* Get the current global styles navigation path.
|
|
8
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAsFA,sDAEC;AACD,6DAEC;AAsFD,
|
|
1
|
+
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAsFA,sDAEC;AACD,6DAEC;AAsFD,2GAEC;AAED,mEAEC;AAED,yGAEC;AAsFD;;;;;GAKG;AACH,qCAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;GAKG;AACH,wCAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,0CAHW,MAAM,GACL,MAAM,CAIjB;AAnQD;;;;;;GAMG;AACH;;;;EAmCE;AAeF;;;;EAqCE;AAEF;;;;;;;;;GASG;AACH;;;;EA2BE;AAcF;;;;;;;;GAQG;AACH;;;;EAsBE;AAEF;;;;;;;GAOG;AACH;;;;EAyCE"}
|
|
@@ -224,13 +224,13 @@ declare const _default: import("redux").Reducer<{
|
|
|
224
224
|
canvasMinHeight: number;
|
|
225
225
|
dataviews: {
|
|
226
226
|
actions: {
|
|
227
|
-
[x: string]: Record<string, import("@wordpress/dataviews
|
|
228
|
-
[x: string]: import("@wordpress/dataviews
|
|
227
|
+
[x: string]: Record<string, import("@wordpress/dataviews").Action<any>[]> | {
|
|
228
|
+
[x: string]: import("@wordpress/dataviews").Action<any>[] | (import("@wordpress/dataviews").Action<unknown> | import("@wordpress/dataviews").Action<any>)[];
|
|
229
229
|
};
|
|
230
230
|
};
|
|
231
231
|
fields: {
|
|
232
|
-
[x: string]: Record<string, import("@wordpress/dataviews
|
|
233
|
-
[x: string]: import("@wordpress/dataviews
|
|
232
|
+
[x: string]: Record<string, import("@wordpress/dataviews").Field<any>[]> | {
|
|
233
|
+
[x: string]: import("@wordpress/dataviews").Field<any>[] | (import("@wordpress/dataviews").Field<unknown> | import("@wordpress/dataviews").Field<any>)[];
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
236
|
isReady: import("../dataviews/store/reducer").ReadyState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/editor",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.37.1-next.79a2f3cdd.0",
|
|
4
4
|
"description": "Enhanced block editor for WordPress posts.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -30,13 +30,12 @@
|
|
|
30
30
|
"build-types",
|
|
31
31
|
"*.md"
|
|
32
32
|
],
|
|
33
|
-
"type": "module",
|
|
34
33
|
"main": "build/index.cjs",
|
|
35
|
-
"module": "build-module/index.
|
|
34
|
+
"module": "build-module/index.mjs",
|
|
36
35
|
"exports": {
|
|
37
36
|
".": {
|
|
38
37
|
"types": "./build-types/index.d.ts",
|
|
39
|
-
"import": "./build-module/index.
|
|
38
|
+
"import": "./build-module/index.mjs",
|
|
40
39
|
"require": "./build/index.cjs"
|
|
41
40
|
},
|
|
42
41
|
"./package.json": "./package.json"
|
|
@@ -55,51 +54,51 @@
|
|
|
55
54
|
"build/store/index.cjs",
|
|
56
55
|
"build/hooks/**",
|
|
57
56
|
"build/bindings/**",
|
|
58
|
-
"build-module/index.
|
|
59
|
-
"build-module/store/index.
|
|
57
|
+
"build-module/index.mjs",
|
|
58
|
+
"build-module/store/index.mjs",
|
|
60
59
|
"build-module/hooks/**",
|
|
61
60
|
"build-module/bindings/**"
|
|
62
61
|
],
|
|
63
62
|
"dependencies": {
|
|
64
63
|
"@floating-ui/react-dom": "2.0.8",
|
|
65
|
-
"@wordpress/a11y": "^4.
|
|
66
|
-
"@wordpress/api-fetch": "^7.
|
|
67
|
-
"@wordpress/base-styles": "^6.
|
|
68
|
-
"@wordpress/blob": "^4.
|
|
69
|
-
"@wordpress/block-editor": "^15.
|
|
70
|
-
"@wordpress/blocks": "^15.
|
|
71
|
-
"@wordpress/commands": "^1.
|
|
72
|
-
"@wordpress/components": "^
|
|
73
|
-
"@wordpress/compose": "^7.
|
|
74
|
-
"@wordpress/core-data": "^7.
|
|
75
|
-
"@wordpress/data": "^10.
|
|
76
|
-
"@wordpress/dataviews": "^11.
|
|
77
|
-
"@wordpress/date": "^5.
|
|
78
|
-
"@wordpress/deprecated": "^4.
|
|
79
|
-
"@wordpress/dom": "^4.
|
|
80
|
-
"@wordpress/element": "^6.
|
|
81
|
-
"@wordpress/fields": "^0.
|
|
82
|
-
"@wordpress/global-styles-engine": "^1.
|
|
83
|
-
"@wordpress/global-styles-ui": "^1.
|
|
84
|
-
"@wordpress/hooks": "^4.
|
|
85
|
-
"@wordpress/html-entities": "^4.
|
|
86
|
-
"@wordpress/i18n": "^6.
|
|
87
|
-
"@wordpress/icons": "^11.
|
|
88
|
-
"@wordpress/interface": "^9.
|
|
89
|
-
"@wordpress/keyboard-shortcuts": "^5.
|
|
90
|
-
"@wordpress/keycodes": "^4.
|
|
91
|
-
"@wordpress/media-utils": "^5.
|
|
92
|
-
"@wordpress/notices": "^5.
|
|
93
|
-
"@wordpress/patterns": "^2.
|
|
94
|
-
"@wordpress/plugins": "^7.
|
|
95
|
-
"@wordpress/preferences": "^4.
|
|
96
|
-
"@wordpress/private-apis": "^1.
|
|
97
|
-
"@wordpress/reusable-blocks": "^5.
|
|
98
|
-
"@wordpress/rich-text": "^7.
|
|
99
|
-
"@wordpress/server-side-render": "^6.
|
|
100
|
-
"@wordpress/url": "^4.
|
|
101
|
-
"@wordpress/warning": "^3.
|
|
102
|
-
"@wordpress/wordcount": "^4.
|
|
64
|
+
"@wordpress/a11y": "^4.37.1-next.79a2f3cdd.0",
|
|
65
|
+
"@wordpress/api-fetch": "^7.37.1-next.79a2f3cdd.0",
|
|
66
|
+
"@wordpress/base-styles": "^6.13.2-next.79a2f3cdd.0",
|
|
67
|
+
"@wordpress/blob": "^4.37.1-next.79a2f3cdd.0",
|
|
68
|
+
"@wordpress/block-editor": "^15.10.1-next.79a2f3cdd.0",
|
|
69
|
+
"@wordpress/blocks": "^15.10.1-next.79a2f3cdd.0",
|
|
70
|
+
"@wordpress/commands": "^1.37.1-next.79a2f3cdd.0",
|
|
71
|
+
"@wordpress/components": "^32.0.1-next.79a2f3cdd.0",
|
|
72
|
+
"@wordpress/compose": "^7.37.1-next.79a2f3cdd.0",
|
|
73
|
+
"@wordpress/core-data": "^7.37.1-next.79a2f3cdd.0",
|
|
74
|
+
"@wordpress/data": "^10.37.1-next.79a2f3cdd.0",
|
|
75
|
+
"@wordpress/dataviews": "^11.2.1-next.79a2f3cdd.0",
|
|
76
|
+
"@wordpress/date": "^5.37.2-next.79a2f3cdd.0",
|
|
77
|
+
"@wordpress/deprecated": "^4.37.1-next.79a2f3cdd.0",
|
|
78
|
+
"@wordpress/dom": "^4.37.1-next.79a2f3cdd.0",
|
|
79
|
+
"@wordpress/element": "^6.37.1-next.79a2f3cdd.0",
|
|
80
|
+
"@wordpress/fields": "^0.29.1-next.79a2f3cdd.0",
|
|
81
|
+
"@wordpress/global-styles-engine": "^1.4.1-next.79a2f3cdd.0",
|
|
82
|
+
"@wordpress/global-styles-ui": "^1.4.1-next.79a2f3cdd.0",
|
|
83
|
+
"@wordpress/hooks": "^4.37.1-next.79a2f3cdd.0",
|
|
84
|
+
"@wordpress/html-entities": "^4.37.1-next.79a2f3cdd.0",
|
|
85
|
+
"@wordpress/i18n": "^6.10.1-next.79a2f3cdd.0",
|
|
86
|
+
"@wordpress/icons": "^11.4.1-next.79a2f3cdd.0",
|
|
87
|
+
"@wordpress/interface": "^9.22.1-next.79a2f3cdd.0",
|
|
88
|
+
"@wordpress/keyboard-shortcuts": "^5.37.1-next.79a2f3cdd.0",
|
|
89
|
+
"@wordpress/keycodes": "^4.38.1-next.79a2f3cdd.0",
|
|
90
|
+
"@wordpress/media-utils": "^5.37.1-next.79a2f3cdd.0",
|
|
91
|
+
"@wordpress/notices": "^5.37.1-next.79a2f3cdd.0",
|
|
92
|
+
"@wordpress/patterns": "^2.37.1-next.79a2f3cdd.0",
|
|
93
|
+
"@wordpress/plugins": "^7.37.1-next.79a2f3cdd.0",
|
|
94
|
+
"@wordpress/preferences": "^4.37.1-next.79a2f3cdd.0",
|
|
95
|
+
"@wordpress/private-apis": "^1.37.1-next.79a2f3cdd.0",
|
|
96
|
+
"@wordpress/reusable-blocks": "^5.37.1-next.79a2f3cdd.0",
|
|
97
|
+
"@wordpress/rich-text": "^7.37.1-next.79a2f3cdd.0",
|
|
98
|
+
"@wordpress/server-side-render": "^6.13.1-next.79a2f3cdd.0",
|
|
99
|
+
"@wordpress/url": "^4.37.1-next.79a2f3cdd.0",
|
|
100
|
+
"@wordpress/warning": "^3.37.1-next.79a2f3cdd.0",
|
|
101
|
+
"@wordpress/wordcount": "^4.37.1-next.79a2f3cdd.0",
|
|
103
102
|
"change-case": "^4.1.2",
|
|
104
103
|
"client-zip": "^2.4.5",
|
|
105
104
|
"clsx": "^2.1.1",
|
|
@@ -110,6 +109,9 @@
|
|
|
110
109
|
"remove-accents": "^0.5.0",
|
|
111
110
|
"uuid": "^9.0.1"
|
|
112
111
|
},
|
|
112
|
+
"devDependencies": {
|
|
113
|
+
"deep-freeze": "0.0.1"
|
|
114
|
+
},
|
|
113
115
|
"peerDependencies": {
|
|
114
116
|
"react": "^18.0.0",
|
|
115
117
|
"react-dom": "^18.0.0"
|
|
@@ -117,5 +119,5 @@
|
|
|
117
119
|
"publishConfig": {
|
|
118
120
|
"access": "public"
|
|
119
121
|
},
|
|
120
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "6a324496a37d9a333a11d4d7fe5fb93b8152a5ba"
|
|
121
123
|
}
|
|
@@ -39,15 +39,7 @@ textarea.editor-post-text-editor {
|
|
|
39
39
|
position: relative;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
color: $dark-gray-placeholder;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&::-moz-placeholder {
|
|
47
|
-
color: $dark-gray-placeholder;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:-ms-input-placeholder {
|
|
42
|
+
&::placeholder {
|
|
51
43
|
color: $dark-gray-placeholder;
|
|
52
44
|
}
|
|
53
45
|
}
|
|
@@ -21,12 +21,12 @@ import { useSelect, useDispatch } from '@wordpress/data';
|
|
|
21
21
|
import { store as coreStore } from '@wordpress/core-data';
|
|
22
22
|
import { store as preferencesStore } from '@wordpress/preferences';
|
|
23
23
|
import { ActionItem } from '@wordpress/interface';
|
|
24
|
+
import { store as blockEditorStore } from '@wordpress/block-editor';
|
|
24
25
|
|
|
25
26
|
/**
|
|
26
27
|
* Internal dependencies
|
|
27
28
|
*/
|
|
28
29
|
import { store as editorStore } from '../../store';
|
|
29
|
-
import { store as blockEditorStore } from '@wordpress/block-editor';
|
|
30
30
|
import PostPreviewButton from '../post-preview-button';
|
|
31
31
|
import { unlock } from '../../lock-unlock';
|
|
32
32
|
|
|
@@ -98,6 +98,7 @@ const {
|
|
|
98
98
|
mediaEditKey,
|
|
99
99
|
getMediaSelectKey,
|
|
100
100
|
isIsolatedEditorKey,
|
|
101
|
+
deviceTypeKey,
|
|
101
102
|
} = unlock( privateApis );
|
|
102
103
|
|
|
103
104
|
/**
|
|
@@ -128,6 +129,7 @@ function useBlockEditorSettings( settings, postType, postId, renderingMode ) {
|
|
|
128
129
|
userPatternCategories,
|
|
129
130
|
restBlockPatternCategories,
|
|
130
131
|
sectionRootClientId,
|
|
132
|
+
deviceType,
|
|
131
133
|
} = useSelect(
|
|
132
134
|
( select ) => {
|
|
133
135
|
const {
|
|
@@ -139,6 +141,7 @@ function useBlockEditorSettings( settings, postType, postId, renderingMode ) {
|
|
|
139
141
|
} = select( coreStore );
|
|
140
142
|
const { get } = select( preferencesStore );
|
|
141
143
|
const { getBlockTypes } = select( blocksStore );
|
|
144
|
+
const { getDeviceType } = unlock( select( editorStore ) );
|
|
142
145
|
const { getBlocksByName, getBlockAttributes } =
|
|
143
146
|
select( blockEditorStore );
|
|
144
147
|
const siteSettings = canUser( 'read', {
|
|
@@ -192,6 +195,7 @@ function useBlockEditorSettings( settings, postType, postId, renderingMode ) {
|
|
|
192
195
|
userPatternCategories: getUserPatternCategories(),
|
|
193
196
|
restBlockPatternCategories: getBlockPatternCategories(),
|
|
194
197
|
sectionRootClientId: getSectionRootBlock(),
|
|
198
|
+
deviceType: getDeviceType(),
|
|
195
199
|
};
|
|
196
200
|
},
|
|
197
201
|
[ postType, postId, isLargeViewport, renderingMode ]
|
|
@@ -383,6 +387,9 @@ function useBlockEditorSettings( settings, postType, postId, renderingMode ) {
|
|
|
383
387
|
'wp_block',
|
|
384
388
|
'wp_navigation',
|
|
385
389
|
].includes( postType ),
|
|
390
|
+
...( window.__experimentalHideBlocksBasedOnScreenSize && deviceType
|
|
391
|
+
? { [ deviceTypeKey ]: deviceType }
|
|
392
|
+
: {} ),
|
|
386
393
|
};
|
|
387
394
|
|
|
388
395
|
return blockEditorSettings;
|
|
@@ -413,6 +420,7 @@ function useBlockEditorSettings( settings, postType, postId, renderingMode ) {
|
|
|
413
420
|
renderingMode,
|
|
414
421
|
editMediaEntity,
|
|
415
422
|
wrappedOnNavigateToEntityRecord,
|
|
423
|
+
deviceType,
|
|
416
424
|
] );
|
|
417
425
|
}
|
|
418
426
|
|
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
import { addFilter } from '@wordpress/hooks';
|
|
5
5
|
import { privateApis as patternsPrivateApis } from '@wordpress/patterns';
|
|
6
6
|
import { createHigherOrderComponent } from '@wordpress/compose';
|
|
7
|
-
import {
|
|
7
|
+
import {
|
|
8
|
+
store as blockEditorStore,
|
|
9
|
+
useBlockEditingMode,
|
|
10
|
+
} from '@wordpress/block-editor';
|
|
8
11
|
import { useSelect } from '@wordpress/data';
|
|
9
12
|
import { getBlockBindingsSource } from '@wordpress/blocks';
|
|
10
13
|
|
|
@@ -20,14 +23,12 @@ const {
|
|
|
20
23
|
PatternOverridesControls,
|
|
21
24
|
ResetOverridesControl,
|
|
22
25
|
PATTERN_TYPES,
|
|
23
|
-
PARTIAL_SYNCING_SUPPORTED_BLOCKS,
|
|
24
26
|
PATTERN_SYNC_TYPES,
|
|
25
27
|
} = unlock( patternsPrivateApis );
|
|
26
28
|
|
|
27
29
|
/**
|
|
28
30
|
* Override the default edit UI to include a new block inspector control for
|
|
29
31
|
* assigning a partial syncing controls to supported blocks in the pattern editor.
|
|
30
|
-
* Currently, only the `core/paragraph` block is supported.
|
|
31
32
|
*
|
|
32
33
|
* @param {Component} BlockEdit Original component.
|
|
33
34
|
*
|
|
@@ -35,8 +36,16 @@ const {
|
|
|
35
36
|
*/
|
|
36
37
|
const withPatternOverrideControls = createHigherOrderComponent(
|
|
37
38
|
( BlockEdit ) => ( props ) => {
|
|
38
|
-
const isSupportedBlock =
|
|
39
|
-
|
|
39
|
+
const isSupportedBlock = useSelect(
|
|
40
|
+
( select ) => {
|
|
41
|
+
const { __experimentalBlockBindingsSupportedAttributes } =
|
|
42
|
+
select( blockEditorStore ).getSettings();
|
|
43
|
+
return !! __experimentalBlockBindingsSupportedAttributes?.[
|
|
44
|
+
props.name
|
|
45
|
+
];
|
|
46
|
+
},
|
|
47
|
+
[ props.name ]
|
|
48
|
+
);
|
|
40
49
|
|
|
41
50
|
return (
|
|
42
51
|
<>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/provider/use-block-editor-settings.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { useMemo, useCallback } from '@wordpress/element';\nimport { useDispatch, useSelect } from '@wordpress/data';\nimport {\n\tstore as coreStore,\n\t__experimentalFetchLinkSuggestions as fetchLinkSuggestions,\n\t__experimentalFetchUrlData as fetchUrlData,\n\tprivateApis as coreDataPrivateApis,\n} from '@wordpress/core-data';\nimport { __ } from '@wordpress/i18n';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport { useViewportMatch } from '@wordpress/compose';\nimport { store as blocksStore } from '@wordpress/blocks';\nimport {\n\tprivateApis,\n\tstore as blockEditorStore,\n} from '@wordpress/block-editor';\n\n/**\n * Internal dependencies\n */\nimport inserterMediaCategories from '../media-categories';\nimport { mediaUpload } from '../../utils';\nimport { default as mediaSideload } from '../../utils/media-sideload';\nimport { store as editorStore } from '../../store';\nimport { unlock } from '../../lock-unlock';\nimport { useGlobalStylesContext } from '../global-styles-provider';\n\nconst EMPTY_OBJECT = {};\n\nfunction __experimentalReusableBlocksSelect( select ) {\n\tconst { RECEIVE_INTERMEDIATE_RESULTS } = unlock( coreDataPrivateApis );\n\tconst { getEntityRecords } = select( coreStore );\n\treturn getEntityRecords( 'postType', 'wp_block', {\n\t\tper_page: -1,\n\t\t[ RECEIVE_INTERMEDIATE_RESULTS ]: true,\n\t} );\n}\n\nconst BLOCK_EDITOR_SETTINGS = [\n\t'__experimentalBlockBindingsSupportedAttributes',\n\t'__experimentalBlockDirectory',\n\t'__experimentalDiscussionSettings',\n\t'__experimentalFeatures',\n\t'__experimentalGlobalStylesBaseStyles',\n\t'alignWide',\n\t'blockInspectorTabs',\n\t'maxUploadFileSize',\n\t'allowedMimeTypes',\n\t'bodyPlaceholder',\n\t'canLockBlocks',\n\t'canUpdateBlockBindings',\n\t'capabilities',\n\t'clearBlockSelection',\n\t'codeEditingEnabled',\n\t'colors',\n\t'disableCustomColors',\n\t'disableCustomFontSizes',\n\t'disableCustomSpacingSizes',\n\t'disableCustomGradients',\n\t'disableLayoutStyles',\n\t'enableCustomLineHeight',\n\t'enableCustomSpacing',\n\t'enableCustomUnits',\n\t'enableOpenverseMediaCategory',\n\t'fontSizes',\n\t'gradients',\n\t'generateAnchors',\n\t'onNavigateToEntityRecord',\n\t'imageDefaultSize',\n\t'imageDimensions',\n\t'imageEditing',\n\t'imageSizes',\n\t'isPreviewMode',\n\t'isRTL',\n\t'locale',\n\t'maxWidth',\n\t'postContentAttributes',\n\t'postsPerPage',\n\t'readOnly',\n\t'styles',\n\t'titlePlaceholder',\n\t'supportsLayout',\n\t'widgetTypesToHideFromLegacyWidgetBlock',\n\t'__unstableHasCustomAppender',\n\t'__unstableResolvedAssets',\n\t'__unstableIsBlockBasedTheme',\n];\n\nconst {\n\tglobalStylesDataKey,\n\tglobalStylesLinksDataKey,\n\tselectBlockPatternsKey,\n\treusableBlocksSelectKey,\n\tsectionRootClientIdKey,\n\tmediaEditKey,\n\tgetMediaSelectKey,\n\tisIsolatedEditorKey,\n} = unlock( privateApis );\n\n/**\n * React hook used to compute the block editor settings to use for the post editor.\n *\n * @param {Object} settings EditorProvider settings prop.\n * @param {string} postType Editor root level post type.\n * @param {string} postId Editor root level post ID.\n * @param {string} renderingMode Editor rendering mode.\n *\n * @return {Object} Block Editor Settings.\n */\nfunction useBlockEditorSettings( settings, postType, postId, renderingMode ) {\n\tconst isLargeViewport = useViewportMatch( 'medium' );\n\tconst {\n\t\tallowRightClickOverrides,\n\t\tblockTypes,\n\t\tfocusMode,\n\t\thasFixedToolbar,\n\t\tisDistractionFree,\n\t\tkeepCaretInsideBlock,\n\t\thasUploadPermissions,\n\t\thiddenBlockTypes,\n\t\tcanUseUnfilteredHTML,\n\t\tuserCanCreatePages,\n\t\tpageOnFront,\n\t\tpageForPosts,\n\t\tuserPatternCategories,\n\t\trestBlockPatternCategories,\n\t\tsectionRootClientId,\n\t} = useSelect(\n\t\t( select ) => {\n\t\t\tconst {\n\t\t\t\tcanUser,\n\t\t\t\tgetRawEntityRecord,\n\t\t\t\tgetEntityRecord,\n\t\t\t\tgetUserPatternCategories,\n\t\t\t\tgetBlockPatternCategories,\n\t\t\t} = select( coreStore );\n\t\t\tconst { get } = select( preferencesStore );\n\t\t\tconst { getBlockTypes } = select( blocksStore );\n\t\t\tconst { getBlocksByName, getBlockAttributes } =\n\t\t\t\tselect( blockEditorStore );\n\t\t\tconst siteSettings = canUser( 'read', {\n\t\t\t\tkind: 'root',\n\t\t\t\tname: 'site',\n\t\t\t} )\n\t\t\t\t? getEntityRecord( 'root', 'site' )\n\t\t\t\t: undefined;\n\n\t\t\tfunction getSectionRootBlock() {\n\t\t\t\tif ( renderingMode === 'template-locked' ) {\n\t\t\t\t\treturn getBlocksByName( 'core/post-content' )?.[ 0 ] ?? '';\n\t\t\t\t}\n\n\t\t\t\treturn (\n\t\t\t\t\tgetBlocksByName( 'core/group' ).find(\n\t\t\t\t\t\t( clientId ) =>\n\t\t\t\t\t\t\tgetBlockAttributes( clientId )?.tagName === 'main'\n\t\t\t\t\t) ?? ''\n\t\t\t\t);\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\tallowRightClickOverrides: get(\n\t\t\t\t\t'core',\n\t\t\t\t\t'allowRightClickOverrides'\n\t\t\t\t),\n\t\t\t\tblockTypes: getBlockTypes(),\n\t\t\t\tcanUseUnfilteredHTML: getRawEntityRecord(\n\t\t\t\t\t'postType',\n\t\t\t\t\tpostType,\n\t\t\t\t\tpostId\n\t\t\t\t)?._links?.hasOwnProperty( 'wp:action-unfiltered-html' ),\n\t\t\t\tfocusMode: get( 'core', 'focusMode' ),\n\t\t\t\thasFixedToolbar:\n\t\t\t\t\tget( 'core', 'fixedToolbar' ) || ! isLargeViewport,\n\t\t\t\thiddenBlockTypes: get( 'core', 'hiddenBlockTypes' ),\n\t\t\t\tisDistractionFree: get( 'core', 'distractionFree' ),\n\t\t\t\tkeepCaretInsideBlock: get( 'core', 'keepCaretInsideBlock' ),\n\t\t\t\thasUploadPermissions:\n\t\t\t\t\tcanUser( 'create', {\n\t\t\t\t\t\tkind: 'postType',\n\t\t\t\t\t\tname: 'attachment',\n\t\t\t\t\t} ) ?? true,\n\t\t\t\tuserCanCreatePages: canUser( 'create', {\n\t\t\t\t\tkind: 'postType',\n\t\t\t\t\tname: 'page',\n\t\t\t\t} ),\n\t\t\t\tpageOnFront: siteSettings?.page_on_front,\n\t\t\t\tpageForPosts: siteSettings?.page_for_posts,\n\t\t\t\tuserPatternCategories: getUserPatternCategories(),\n\t\t\t\trestBlockPatternCategories: getBlockPatternCategories(),\n\t\t\t\tsectionRootClientId: getSectionRootBlock(),\n\t\t\t};\n\t\t},\n\t\t[ postType, postId, isLargeViewport, renderingMode ]\n\t);\n\n\tconst { merged: mergedGlobalStyles } = useGlobalStylesContext();\n\tconst globalStylesData = mergedGlobalStyles.styles ?? EMPTY_OBJECT;\n\tconst globalStylesLinksData = mergedGlobalStyles._links ?? EMPTY_OBJECT;\n\n\tconst settingsBlockPatterns =\n\t\tsettings.__experimentalAdditionalBlockPatterns ?? // WP 6.0\n\t\tsettings.__experimentalBlockPatterns; // WP 5.9\n\tconst settingsBlockPatternCategories =\n\t\tsettings.__experimentalAdditionalBlockPatternCategories ?? // WP 6.0\n\t\tsettings.__experimentalBlockPatternCategories; // WP 5.9\n\n\tconst blockPatterns = useMemo(\n\t\t() =>\n\t\t\t[ ...( settingsBlockPatterns || [] ) ].filter(\n\t\t\t\t( { postTypes } ) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t! postTypes ||\n\t\t\t\t\t\t( Array.isArray( postTypes ) &&\n\t\t\t\t\t\t\tpostTypes.includes( postType ) )\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t),\n\t\t[ settingsBlockPatterns, postType ]\n\t);\n\n\tconst blockPatternCategories = useMemo(\n\t\t() =>\n\t\t\t[\n\t\t\t\t...( settingsBlockPatternCategories || [] ),\n\t\t\t\t...( restBlockPatternCategories || [] ),\n\t\t\t].filter(\n\t\t\t\t( x, index, arr ) =>\n\t\t\t\t\tindex === arr.findIndex( ( y ) => x.name === y.name )\n\t\t\t),\n\t\t[ settingsBlockPatternCategories, restBlockPatternCategories ]\n\t);\n\n\tconst { undo, setIsInserterOpened } = useDispatch( editorStore );\n\tconst { editMediaEntity } = unlock( useDispatch( coreStore ) );\n\tconst { saveEntityRecord } = useDispatch( coreStore );\n\n\t/**\n\t * Creates a Post entity.\n\t * This is utilised by the Link UI to allow for on-the-fly creation of Posts/Pages.\n\t *\n\t * @param {Object} options parameters for the post being created. These mirror those used on 3rd param of saveEntityRecord.\n\t * @return {Object} the post type object that was created.\n\t */\n\tconst createPageEntity = useCallback(\n\t\t( options ) => {\n\t\t\tif ( ! userCanCreatePages ) {\n\t\t\t\treturn Promise.reject( {\n\t\t\t\t\tmessage: __(\n\t\t\t\t\t\t'You do not have permission to create Pages.'\n\t\t\t\t\t),\n\t\t\t\t} );\n\t\t\t}\n\t\t\treturn saveEntityRecord( 'postType', 'page', options );\n\t\t},\n\t\t[ saveEntityRecord, userCanCreatePages ]\n\t);\n\n\tconst { getSelectedBlockClientId } = useSelect( blockEditorStore );\n\n\t/**\n\t * Wraps onNavigateToEntityRecord to automatically include the currently selected block.\n\t * This ensures that navigation can restore the selection when returning to the previous entity.\n\t */\n\tconst wrappedOnNavigateToEntityRecord = useCallback(\n\t\t( params ) => {\n\t\t\tif ( ! settings.onNavigateToEntityRecord ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst selectedBlockClientId = getSelectedBlockClientId();\n\n\t\t\treturn settings.onNavigateToEntityRecord( {\n\t\t\t\t...params,\n\t\t\t\tselectedBlockClientId,\n\t\t\t} );\n\t\t},\n\t\t[ settings, getSelectedBlockClientId ]\n\t);\n\n\tconst allowedBlockTypes = useMemo( () => {\n\t\t// Omit hidden block types if exists and non-empty.\n\t\tif ( hiddenBlockTypes && hiddenBlockTypes.length > 0 ) {\n\t\t\t// Defer to passed setting for `allowedBlockTypes` if provided as\n\t\t\t// anything other than `true` (where `true` is equivalent to allow\n\t\t\t// all block types).\n\t\t\tconst defaultAllowedBlockTypes =\n\t\t\t\ttrue === settings.allowedBlockTypes\n\t\t\t\t\t? blockTypes.map( ( { name } ) => name )\n\t\t\t\t\t: settings.allowedBlockTypes || [];\n\n\t\t\treturn defaultAllowedBlockTypes.filter(\n\t\t\t\t( type ) => ! hiddenBlockTypes.includes( type )\n\t\t\t);\n\t\t}\n\n\t\treturn settings.allowedBlockTypes;\n\t}, [ settings.allowedBlockTypes, hiddenBlockTypes, blockTypes ] );\n\n\tconst forceDisableFocusMode = settings.focusMode === false;\n\n\treturn useMemo( () => {\n\t\tconst blockEditorSettings = {\n\t\t\t...Object.fromEntries(\n\t\t\t\tObject.entries( settings )\n\t\t\t\t\t.filter( ( [ key ] ) =>\n\t\t\t\t\t\tBLOCK_EDITOR_SETTINGS.includes( key )\n\t\t\t\t\t)\n\t\t\t\t\t// Exclude onNavigateToEntityRecord since we're wrapping it\n\t\t\t\t\t.filter( ( [ key ] ) => key !== 'onNavigateToEntityRecord' )\n\t\t\t),\n\t\t\t[ globalStylesDataKey ]: globalStylesData,\n\t\t\t[ globalStylesLinksDataKey ]: globalStylesLinksData,\n\t\t\tallowedBlockTypes,\n\t\t\tallowRightClickOverrides,\n\t\t\tfocusMode: focusMode && ! forceDisableFocusMode,\n\t\t\thasFixedToolbar,\n\t\t\tisDistractionFree,\n\t\t\tkeepCaretInsideBlock,\n\t\t\tonNavigateToEntityRecord: settings.onNavigateToEntityRecord\n\t\t\t\t? wrappedOnNavigateToEntityRecord\n\t\t\t\t: undefined,\n\t\t\t[ getMediaSelectKey ]: ( select, attachmentId ) => {\n\t\t\t\treturn select( coreStore ).getEntityRecord(\n\t\t\t\t\t'postType',\n\t\t\t\t\t'attachment',\n\t\t\t\t\tattachmentId\n\t\t\t\t);\n\t\t\t},\n\t\t\t[ mediaEditKey ]: hasUploadPermissions\n\t\t\t\t? editMediaEntity\n\t\t\t\t: undefined,\n\t\t\tmediaUpload: hasUploadPermissions ? mediaUpload : undefined,\n\t\t\tmediaSideload: hasUploadPermissions ? mediaSideload : undefined,\n\t\t\t__experimentalBlockPatterns: blockPatterns,\n\t\t\t[ selectBlockPatternsKey ]: ( select ) => {\n\t\t\t\tconst { hasFinishedResolution, getBlockPatternsForPostType } =\n\t\t\t\t\tunlock( select( coreStore ) );\n\t\t\t\tconst patterns = getBlockPatternsForPostType( postType );\n\t\t\t\treturn hasFinishedResolution( 'getBlockPatterns' )\n\t\t\t\t\t? patterns\n\t\t\t\t\t: undefined;\n\t\t\t},\n\t\t\t[ reusableBlocksSelectKey ]: __experimentalReusableBlocksSelect,\n\t\t\t__experimentalBlockPatternCategories: blockPatternCategories,\n\t\t\t__experimentalUserPatternCategories: userPatternCategories,\n\t\t\t__experimentalFetchLinkSuggestions: ( search, searchOptions ) =>\n\t\t\t\tfetchLinkSuggestions( search, searchOptions, settings ),\n\t\t\tinserterMediaCategories,\n\t\t\t__experimentalFetchRichUrlData: fetchUrlData,\n\t\t\t// Todo: This only checks the top level post, not the post within a template or any other entity that can be edited.\n\t\t\t// This might be better as a generic \"canUser\" selector.\n\t\t\t__experimentalCanUserUseUnfilteredHTML: canUseUnfilteredHTML,\n\t\t\t//Todo: this is only needed for native and should probably be removed.\n\t\t\t__experimentalUndo: undo,\n\t\t\t// Check whether we want all site editor frames to have outlines\n\t\t\t// including the navigation / pattern / parts editors.\n\t\t\toutlineMode: ! isDistractionFree && postType === 'wp_template',\n\t\t\t// Check these two properties: they were not present in the site editor.\n\t\t\t__experimentalCreatePageEntity: createPageEntity,\n\t\t\t__experimentalUserCanCreatePages: userCanCreatePages,\n\t\t\tpageOnFront,\n\t\t\tpageForPosts,\n\t\t\t__experimentalPreferPatternsOnRoot: postType === 'wp_template',\n\t\t\ttemplateLock:\n\t\t\t\tpostType === 'wp_navigation' ? 'insert' : settings.templateLock,\n\t\t\ttemplate:\n\t\t\t\tpostType === 'wp_navigation'\n\t\t\t\t\t? [ [ 'core/navigation', {}, [] ] ]\n\t\t\t\t\t: settings.template,\n\t\t\t__experimentalSetIsInserterOpened: setIsInserterOpened,\n\t\t\t[ sectionRootClientIdKey ]: sectionRootClientId,\n\t\t\teditorTool:\n\t\t\t\trenderingMode === 'post-only' && postType !== 'wp_template'\n\t\t\t\t\t? 'edit'\n\t\t\t\t\t: undefined,\n\t\t\t// When editing template parts, patterns, or navigation directly,\n\t\t\t// we're in an isolated editing context (focused on that entity alone).\n\t\t\t[ isIsolatedEditorKey ]: [\n\t\t\t\t'wp_template_part',\n\t\t\t\t'wp_block',\n\t\t\t\t'wp_navigation',\n\t\t\t].includes( postType ),\n\t\t};\n\n\t\treturn blockEditorSettings;\n\t}, [\n\t\tallowedBlockTypes,\n\t\tallowRightClickOverrides,\n\t\tfocusMode,\n\t\tforceDisableFocusMode,\n\t\thasFixedToolbar,\n\t\tisDistractionFree,\n\t\tkeepCaretInsideBlock,\n\t\tsettings,\n\t\thasUploadPermissions,\n\t\tuserPatternCategories,\n\t\tblockPatterns,\n\t\tblockPatternCategories,\n\t\tcanUseUnfilteredHTML,\n\t\tundo,\n\t\tcreatePageEntity,\n\t\tuserCanCreatePages,\n\t\tpageOnFront,\n\t\tpageForPosts,\n\t\tpostType,\n\t\tsetIsInserterOpened,\n\t\tsectionRootClientId,\n\t\tglobalStylesData,\n\t\tglobalStylesLinksData,\n\t\trenderingMode,\n\t\teditMediaEntity,\n\t\twrappedOnNavigateToEntityRecord,\n\t] );\n}\n\nexport default useBlockEditorSettings;\n"],
|
|
5
|
-
"mappings": "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",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// packages/editor/src/hooks/index.js
|
|
2
|
-
import "./custom-sources-backwards-compatibility.js";
|
|
3
|
-
import "./default-autocompleters.js";
|
|
4
|
-
import "./media-upload.js";
|
|
5
|
-
import "./pattern-overrides.js";
|
|
6
|
-
import "./navigation-link-view-button.js";
|
|
7
|
-
import "./template-part-navigation-edit-button.js";
|
|
8
|
-
import "./push-changes-to-global-styles/index.js";
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/hooks/pattern-overrides.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { addFilter } from '@wordpress/hooks';\nimport { privateApis as patternsPrivateApis } from '@wordpress/patterns';\nimport { createHigherOrderComponent } from '@wordpress/compose';\nimport { useBlockEditingMode } from '@wordpress/block-editor';\nimport { useSelect } from '@wordpress/data';\nimport { getBlockBindingsSource } from '@wordpress/blocks';\n\n/**\n * Internal dependencies\n */\nimport { store as editorStore } from '../store';\nimport { unlock } from '../lock-unlock';\n\n/** @typedef {import('@wordpress/blocks').WPBlockSettings} WPBlockSettings */\n\nconst {\n\tPatternOverridesControls,\n\tResetOverridesControl,\n\tPATTERN_TYPES,\n\tPARTIAL_SYNCING_SUPPORTED_BLOCKS,\n\tPATTERN_SYNC_TYPES,\n} = unlock( patternsPrivateApis );\n\n/**\n * Override the default edit UI to include a new block inspector control for\n * assigning a partial syncing controls to supported blocks in the pattern editor.\n * Currently, only the `core/paragraph` block is supported.\n *\n * @param {Component} BlockEdit Original component.\n *\n * @return {Component} Wrapped component.\n */\nconst withPatternOverrideControls = createHigherOrderComponent(\n\t( BlockEdit ) => ( props ) => {\n\t\tconst isSupportedBlock =\n\t\t\t!! PARTIAL_SYNCING_SUPPORTED_BLOCKS[ props.name ];\n\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<BlockEdit key=\"edit\" { ...props } />\n\t\t\t\t{ props.isSelected && isSupportedBlock && (\n\t\t\t\t\t<ControlsWithStoreSubscription { ...props } />\n\t\t\t\t) }\n\t\t\t</>\n\t\t);\n\t},\n\t'withPatternOverrideControls'\n);\n\n// Split into a separate component to avoid a store subscription\n// on every block.\nfunction ControlsWithStoreSubscription( props ) {\n\tconst blockEditingMode = useBlockEditingMode();\n\tconst { hasPatternOverridesSource, isEditingSyncedPattern } = useSelect(\n\t\t( select ) => {\n\t\t\tconst { getCurrentPostType, getEditedPostAttribute } =\n\t\t\t\tselect( editorStore );\n\n\t\t\treturn {\n\t\t\t\t// For editing link to the site editor if the theme and user permissions support it.\n\t\t\t\thasPatternOverridesSource: !! getBlockBindingsSource(\n\t\t\t\t\t'core/pattern-overrides'\n\t\t\t\t),\n\t\t\t\tisEditingSyncedPattern:\n\t\t\t\t\tgetCurrentPostType() === PATTERN_TYPES.user &&\n\t\t\t\t\tgetEditedPostAttribute( 'meta' )?.wp_pattern_sync_status !==\n\t\t\t\t\t\tPATTERN_SYNC_TYPES.unsynced &&\n\t\t\t\t\tgetEditedPostAttribute( 'wp_pattern_sync_status' ) !==\n\t\t\t\t\t\tPATTERN_SYNC_TYPES.unsynced,\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\tconst bindings = props.attributes.metadata?.bindings;\n\tconst hasPatternBindings =\n\t\t!! bindings &&\n\t\tObject.values( bindings ).some(\n\t\t\t( binding ) => binding.source === 'core/pattern-overrides'\n\t\t);\n\n\tconst shouldShowPatternOverridesControls =\n\t\tisEditingSyncedPattern && blockEditingMode === 'default';\n\tconst shouldShowResetOverridesControl =\n\t\t! isEditingSyncedPattern &&\n\t\t!! props.attributes.metadata?.name &&\n\t\tblockEditingMode !== 'disabled' &&\n\t\thasPatternBindings;\n\n\tif ( ! hasPatternOverridesSource ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t{ shouldShowPatternOverridesControls && (\n\t\t\t\t<PatternOverridesControls { ...props } />\n\t\t\t) }\n\t\t\t{ shouldShowResetOverridesControl && (\n\t\t\t\t<ResetOverridesControl { ...props } />\n\t\t\t) }\n\t\t</>\n\t);\n}\n\naddFilter(\n\t'editor.BlockEdit',\n\t'core/editor/with-pattern-override-controls',\n\twithPatternOverrideControls\n);\n"],
|
|
5
|
-
"mappings": ";AAGA,SAAS,iBAAiB;AAC1B,SAAS,eAAe,2BAA2B;AACnD,SAAS,kCAAkC;AAC3C,SAAS,2BAA2B;AACpC,SAAS,iBAAiB;AAC1B,SAAS,8BAA8B;AAKvC,SAAS,SAAS,mBAAmB;AACrC,SAAS,cAAc;AA2BpB,mBACC,KADD;AAvBH,IAAM;AAAA,EACL;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,IAAI,OAAQ,mBAAoB;AAWhC,IAAM,8BAA8B;AAAA,EACnC,CAAE,cAAe,CAAE,UAAW;AAC7B,UAAM,mBACL,CAAC,CAAE,iCAAkC,MAAM,IAAK;AAEjD,WACC,iCACC;AAAA,0BAAC,aAAuB,GAAG,SAAZ,MAAoB;AAAA,MACjC,MAAM,cAAc,oBACrB,oBAAC,iCAAgC,GAAG,OAAQ;AAAA,OAE9C;AAAA,EAEF;AAAA,EACA;AACD;AAIA,SAAS,8BAA+B,OAAQ;AAC/C,QAAM,mBAAmB,oBAAoB;AAC7C,QAAM,EAAE,2BAA2B,uBAAuB,IAAI;AAAA,IAC7D,CAAE,WAAY;AACb,YAAM,EAAE,oBAAoB,uBAAuB,IAClD,OAAQ,WAAY;AAErB,aAAO;AAAA;AAAA,QAEN,2BAA2B,CAAC,CAAE;AAAA,UAC7B;AAAA,QACD;AAAA,QACA,wBACC,mBAAmB,MAAM,cAAc,QACvC,uBAAwB,MAAO,GAAG,2BACjC,mBAAmB,YACpB,uBAAwB,wBAAyB,MAChD,mBAAmB;AAAA,MACtB;AAAA,IACD;AAAA,IACA,CAAC;AAAA,EACF;AAEA,QAAM,WAAW,MAAM,WAAW,UAAU;AAC5C,QAAM,qBACL,CAAC,CAAE,YACH,OAAO,OAAQ,QAAS,EAAE;AAAA,IACzB,CAAE,YAAa,QAAQ,WAAW;AAAA,EACnC;AAED,QAAM,qCACL,0BAA0B,qBAAqB;AAChD,QAAM,kCACL,CAAE,0BACF,CAAC,CAAE,MAAM,WAAW,UAAU,QAC9B,qBAAqB,cACrB;AAED,MAAK,CAAE,2BAA4B;AAClC,WAAO;AAAA,EACR;AAEA,SACC,iCACG;AAAA,0CACD,oBAAC,4BAA2B,GAAG,OAAQ;AAAA,IAEtC,mCACD,oBAAC,yBAAwB,GAAG,OAAQ;AAAA,KAEtC;AAEF;AAEA;AAAA,EACC;AAAA,EACA;AAAA,EACA;AACD;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/build-module/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// packages/editor/src/index.js
|
|
2
|
-
import "./hooks/index.js";
|
|
3
|
-
import { storeConfig, store } from "./store/index.js";
|
|
4
|
-
export * from "./components/index.js";
|
|
5
|
-
export * from "./utils/index.js";
|
|
6
|
-
export * from "./private-apis.js";
|
|
7
|
-
export * from "./dataviews/api.js";
|
|
8
|
-
import { transformStyles } from "@wordpress/block-editor";
|
|
9
|
-
export {
|
|
10
|
-
store,
|
|
11
|
-
storeConfig,
|
|
12
|
-
transformStyles
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// packages/editor/src/utils/index.js
|
|
2
|
-
import mediaUpload from "./media-upload/index.js";
|
|
3
|
-
import { cleanForSlug } from "./url.js";
|
|
4
|
-
import { getTemplatePartIcon } from "./get-template-part-icon.js";
|
|
5
|
-
export {
|
|
6
|
-
cleanForSlug,
|
|
7
|
-
getTemplatePartIcon,
|
|
8
|
-
mediaUpload
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build-module/components/collab-sidebar/{comment-form.js.map → comment-form.mjs.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|