@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useSelect, useRegistry } from "@wordpress/data";
|
|
3
3
|
import { store as blockEditorStore } from "@wordpress/block-editor";
|
|
4
4
|
import { useEffect } from "@wordpress/element";
|
|
5
|
-
import usePostContentBlocks from "./use-post-content-blocks.
|
|
5
|
+
import usePostContentBlocks from "./use-post-content-blocks.mjs";
|
|
6
6
|
function DisableNonPageContentBlocks() {
|
|
7
7
|
const contentOnlyIds = usePostContentBlocks();
|
|
8
8
|
const { templateParts } = useSelect((select) => {
|
|
@@ -78,4 +78,4 @@ function DisableNonPageContentBlocks() {
|
|
|
78
78
|
export {
|
|
79
79
|
DisableNonPageContentBlocks as default
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=disable-non-page-content-blocks.
|
|
81
|
+
//# sourceMappingURL=disable-non-page-content-blocks.mjs.map
|
|
@@ -15,22 +15,22 @@ import {
|
|
|
15
15
|
import { store as noticesStore } from "@wordpress/notices";
|
|
16
16
|
import { privateApis as editPatternsPrivateApis } from "@wordpress/patterns";
|
|
17
17
|
import { createBlock } from "@wordpress/blocks";
|
|
18
|
-
import withRegistryProvider from "./with-registry-provider.
|
|
19
|
-
import { store as editorStore } from "../../store/index.
|
|
20
|
-
import useBlockEditorSettings from "./use-block-editor-settings.
|
|
21
|
-
import { unlock } from "../../lock-unlock.
|
|
22
|
-
import DisableNonPageContentBlocks from "./disable-non-page-content-blocks.
|
|
23
|
-
import NavigationBlockEditingMode from "./navigation-block-editing-mode.
|
|
24
|
-
import { useHideBlocksFromInserter } from "./use-hide-blocks-from-inserter.
|
|
25
|
-
import useCommands from "../commands/index.
|
|
26
|
-
import BlockRemovalWarnings from "../block-removal-warnings/index.
|
|
27
|
-
import StartPageOptions from "../start-page-options/index.
|
|
28
|
-
import KeyboardShortcutHelpModal from "../keyboard-shortcut-help-modal/index.
|
|
29
|
-
import StartTemplateOptions from "../start-template-options/index.
|
|
30
|
-
import EditorKeyboardShortcuts from "../global-keyboard-shortcuts/index.
|
|
31
|
-
import PatternRenameModal from "../pattern-rename-modal/index.
|
|
32
|
-
import PatternDuplicateModal from "../pattern-duplicate-modal/index.
|
|
33
|
-
import TemplatePartMenuItems from "../template-part-menu-items/index.
|
|
18
|
+
import withRegistryProvider from "./with-registry-provider.mjs";
|
|
19
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
20
|
+
import useBlockEditorSettings from "./use-block-editor-settings.mjs";
|
|
21
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
22
|
+
import DisableNonPageContentBlocks from "./disable-non-page-content-blocks.mjs";
|
|
23
|
+
import NavigationBlockEditingMode from "./navigation-block-editing-mode.mjs";
|
|
24
|
+
import { useHideBlocksFromInserter } from "./use-hide-blocks-from-inserter.mjs";
|
|
25
|
+
import useCommands from "../commands/index.mjs";
|
|
26
|
+
import BlockRemovalWarnings from "../block-removal-warnings/index.mjs";
|
|
27
|
+
import StartPageOptions from "../start-page-options/index.mjs";
|
|
28
|
+
import KeyboardShortcutHelpModal from "../keyboard-shortcut-help-modal/index.mjs";
|
|
29
|
+
import StartTemplateOptions from "../start-template-options/index.mjs";
|
|
30
|
+
import EditorKeyboardShortcuts from "../global-keyboard-shortcuts/index.mjs";
|
|
31
|
+
import PatternRenameModal from "../pattern-rename-modal/index.mjs";
|
|
32
|
+
import PatternDuplicateModal from "../pattern-duplicate-modal/index.mjs";
|
|
33
|
+
import TemplatePartMenuItems from "../template-part-menu-items/index.mjs";
|
|
34
34
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
35
35
|
var { ExperimentalBlockEditorProvider } = unlock(blockEditorPrivateApis);
|
|
36
36
|
var { PatternsMenuItems } = unlock(editPatternsPrivateApis);
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
ExperimentalEditorProvider,
|
|
282
282
|
provider_default as default
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=index.
|
|
284
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -39,4 +39,4 @@ var use_auto_switch_editor_sidebars_default = useAutoSwitchEditorSidebars;
|
|
|
39
39
|
export {
|
|
40
40
|
use_auto_switch_editor_sidebars_default as default
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=use-auto-switch-editor-sidebars.
|
|
42
|
+
//# sourceMappingURL=use-auto-switch-editor-sidebars.mjs.map
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
privateApis,
|
|
16
16
|
store as blockEditorStore
|
|
17
17
|
} from "@wordpress/block-editor";
|
|
18
|
-
import inserterMediaCategories from "../media-categories/index.
|
|
19
|
-
import { mediaUpload } from "../../utils/index.
|
|
20
|
-
import { default as mediaSideload } from "../../utils/media-sideload/index.
|
|
21
|
-
import { store as editorStore } from "../../store/index.
|
|
22
|
-
import { unlock } from "../../lock-unlock.
|
|
23
|
-
import { useGlobalStylesContext } from "../global-styles-provider/index.
|
|
18
|
+
import inserterMediaCategories from "../media-categories/index.mjs";
|
|
19
|
+
import { mediaUpload } from "../../utils/index.mjs";
|
|
20
|
+
import { default as mediaSideload } from "../../utils/media-sideload/index.mjs";
|
|
21
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
22
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
23
|
+
import { useGlobalStylesContext } from "../global-styles-provider/index.mjs";
|
|
24
24
|
var EMPTY_OBJECT = {};
|
|
25
25
|
function __experimentalReusableBlocksSelect(select) {
|
|
26
26
|
const { RECEIVE_INTERMEDIATE_RESULTS } = unlock(coreDataPrivateApis);
|
|
@@ -87,7 +87,8 @@ var {
|
|
|
87
87
|
sectionRootClientIdKey,
|
|
88
88
|
mediaEditKey,
|
|
89
89
|
getMediaSelectKey,
|
|
90
|
-
isIsolatedEditorKey
|
|
90
|
+
isIsolatedEditorKey,
|
|
91
|
+
deviceTypeKey
|
|
91
92
|
} = unlock(privateApis);
|
|
92
93
|
function useBlockEditorSettings(settings, postType, postId, renderingMode) {
|
|
93
94
|
const isLargeViewport = useViewportMatch("medium");
|
|
@@ -106,7 +107,8 @@ function useBlockEditorSettings(settings, postType, postId, renderingMode) {
|
|
|
106
107
|
pageForPosts,
|
|
107
108
|
userPatternCategories,
|
|
108
109
|
restBlockPatternCategories,
|
|
109
|
-
sectionRootClientId
|
|
110
|
+
sectionRootClientId,
|
|
111
|
+
deviceType
|
|
110
112
|
} = useSelect(
|
|
111
113
|
(select) => {
|
|
112
114
|
const {
|
|
@@ -118,6 +120,7 @@ function useBlockEditorSettings(settings, postType, postId, renderingMode) {
|
|
|
118
120
|
} = select(coreStore);
|
|
119
121
|
const { get } = select(preferencesStore);
|
|
120
122
|
const { getBlockTypes } = select(blocksStore);
|
|
123
|
+
const { getDeviceType } = unlock(select(editorStore));
|
|
121
124
|
const { getBlocksByName, getBlockAttributes } = select(blockEditorStore);
|
|
122
125
|
const siteSettings = canUser("read", {
|
|
123
126
|
kind: "root",
|
|
@@ -159,7 +162,8 @@ function useBlockEditorSettings(settings, postType, postId, renderingMode) {
|
|
|
159
162
|
pageForPosts: siteSettings?.page_for_posts,
|
|
160
163
|
userPatternCategories: getUserPatternCategories(),
|
|
161
164
|
restBlockPatternCategories: getBlockPatternCategories(),
|
|
162
|
-
sectionRootClientId: getSectionRootBlock()
|
|
165
|
+
sectionRootClientId: getSectionRootBlock(),
|
|
166
|
+
deviceType: getDeviceType()
|
|
163
167
|
};
|
|
164
168
|
},
|
|
165
169
|
[postType, postId, isLargeViewport, renderingMode]
|
|
@@ -291,7 +295,8 @@ function useBlockEditorSettings(settings, postType, postId, renderingMode) {
|
|
|
291
295
|
"wp_template_part",
|
|
292
296
|
"wp_block",
|
|
293
297
|
"wp_navigation"
|
|
294
|
-
].includes(postType)
|
|
298
|
+
].includes(postType),
|
|
299
|
+
...window.__experimentalHideBlocksBasedOnScreenSize && deviceType ? { [deviceTypeKey]: deviceType } : {}
|
|
295
300
|
};
|
|
296
301
|
return blockEditorSettings;
|
|
297
302
|
}, [
|
|
@@ -320,11 +325,12 @@ function useBlockEditorSettings(settings, postType, postId, renderingMode) {
|
|
|
320
325
|
globalStylesLinksData,
|
|
321
326
|
renderingMode,
|
|
322
327
|
editMediaEntity,
|
|
323
|
-
wrappedOnNavigateToEntityRecord
|
|
328
|
+
wrappedOnNavigateToEntityRecord,
|
|
329
|
+
deviceType
|
|
324
330
|
]);
|
|
325
331
|
}
|
|
326
332
|
var use_block_editor_settings_default = useBlockEditorSettings;
|
|
327
333
|
export {
|
|
328
334
|
use_block_editor_settings_default as default
|
|
329
335
|
};
|
|
330
|
-
//# sourceMappingURL=use-block-editor-settings.
|
|
336
|
+
//# sourceMappingURL=use-block-editor-settings.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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\tdeviceTypeKey,\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\tdeviceType,\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 { getDeviceType } = unlock( select( editorStore ) );\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\tdeviceType: getDeviceType(),\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\t...( window.__experimentalHideBlocksBasedOnScreenSize && deviceType\n\t\t\t\t? { [ deviceTypeKey ]: deviceType }\n\t\t\t\t: {} ),\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\tdeviceType,\n\t] );\n}\n\nexport default useBlockEditorSettings;\n"],
|
|
5
|
+
"mappings": ";AAGA,SAAS,SAAS,mBAAmB;AACrC,SAAS,aAAa,iBAAiB;AACvC;AAAA,EACC,SAAS;AAAA,EACT,sCAAsC;AAAA,EACtC,8BAA8B;AAAA,EAC9B,eAAe;AAAA,OACT;AACP,SAAS,UAAU;AACnB,SAAS,SAAS,wBAAwB;AAC1C,SAAS,wBAAwB;AACjC,SAAS,SAAS,mBAAmB;AACrC;AAAA,EACC;AAAA,EACA,SAAS;AAAA,OACH;AAKP,OAAO,6BAA6B;AACpC,SAAS,mBAAmB;AAC5B,SAAS,WAAW,qBAAqB;AACzC,SAAS,SAAS,mBAAmB;AACrC,SAAS,cAAc;AACvB,SAAS,8BAA8B;AAEvC,IAAM,eAAe,CAAC;AAEtB,SAAS,mCAAoC,QAAS;AACrD,QAAM,EAAE,6BAA6B,IAAI,OAAQ,mBAAoB;AACrE,QAAM,EAAE,iBAAiB,IAAI,OAAQ,SAAU;AAC/C,SAAO,iBAAkB,YAAY,YAAY;AAAA,IAChD,UAAU;AAAA,IACV,CAAE,4BAA6B,GAAG;AAAA,EACnC,CAAE;AACH;AAEA,IAAM,wBAAwB;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AAEA,IAAM;AAAA,EACL;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,IAAI,OAAQ,WAAY;AAYxB,SAAS,uBAAwB,UAAU,UAAU,QAAQ,eAAgB;AAC5E,QAAM,kBAAkB,iBAAkB,QAAS;AACnD,QAAM;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD,IAAI;AAAA,IACH,CAAE,WAAY;AACb,YAAM;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACD,IAAI,OAAQ,SAAU;AACtB,YAAM,EAAE,IAAI,IAAI,OAAQ,gBAAiB;AACzC,YAAM,EAAE,cAAc,IAAI,OAAQ,WAAY;AAC9C,YAAM,EAAE,cAAc,IAAI,OAAQ,OAAQ,WAAY,CAAE;AACxD,YAAM,EAAE,iBAAiB,mBAAmB,IAC3C,OAAQ,gBAAiB;AAC1B,YAAM,eAAe,QAAS,QAAQ;AAAA,QACrC,MAAM;AAAA,QACN,MAAM;AAAA,MACP,CAAE,IACC,gBAAiB,QAAQ,MAAO,IAChC;AAEH,eAAS,sBAAsB;AAC9B,YAAK,kBAAkB,mBAAoB;AAC1C,iBAAO,gBAAiB,mBAAoB,IAAK,CAAE,KAAK;AAAA,QACzD;AAEA,eACC,gBAAiB,YAAa,EAAE;AAAA,UAC/B,CAAE,aACD,mBAAoB,QAAS,GAAG,YAAY;AAAA,QAC9C,KAAK;AAAA,MAEP;AAEA,aAAO;AAAA,QACN,0BAA0B;AAAA,UACzB;AAAA,UACA;AAAA,QACD;AAAA,QACA,YAAY,cAAc;AAAA,QAC1B,sBAAsB;AAAA,UACrB;AAAA,UACA;AAAA,UACA;AAAA,QACD,GAAG,QAAQ,eAAgB,2BAA4B;AAAA,QACvD,WAAW,IAAK,QAAQ,WAAY;AAAA,QACpC,iBACC,IAAK,QAAQ,cAAe,KAAK,CAAE;AAAA,QACpC,kBAAkB,IAAK,QAAQ,kBAAmB;AAAA,QAClD,mBAAmB,IAAK,QAAQ,iBAAkB;AAAA,QAClD,sBAAsB,IAAK,QAAQ,sBAAuB;AAAA,QAC1D,sBACC,QAAS,UAAU;AAAA,UAClB,MAAM;AAAA,UACN,MAAM;AAAA,QACP,CAAE,KAAK;AAAA,QACR,oBAAoB,QAAS,UAAU;AAAA,UACtC,MAAM;AAAA,UACN,MAAM;AAAA,QACP,CAAE;AAAA,QACF,aAAa,cAAc;AAAA,QAC3B,cAAc,cAAc;AAAA,QAC5B,uBAAuB,yBAAyB;AAAA,QAChD,4BAA4B,0BAA0B;AAAA,QACtD,qBAAqB,oBAAoB;AAAA,QACzC,YAAY,cAAc;AAAA,MAC3B;AAAA,IACD;AAAA,IACA,CAAE,UAAU,QAAQ,iBAAiB,aAAc;AAAA,EACpD;AAEA,QAAM,EAAE,QAAQ,mBAAmB,IAAI,uBAAuB;AAC9D,QAAM,mBAAmB,mBAAmB,UAAU;AACtD,QAAM,wBAAwB,mBAAmB,UAAU;AAE3D,QAAM,wBACL,SAAS;AAAA,EACT,SAAS;AACV,QAAM,iCACL,SAAS;AAAA,EACT,SAAS;AAEV,QAAM,gBAAgB;AAAA,IACrB,MACC,CAAE,GAAK,yBAAyB,CAAC,CAAI,EAAE;AAAA,MACtC,CAAE,EAAE,UAAU,MAAO;AACpB,eACC,CAAE,aACA,MAAM,QAAS,SAAU,KAC1B,UAAU,SAAU,QAAS;AAAA,MAEhC;AAAA,IACD;AAAA,IACD,CAAE,uBAAuB,QAAS;AAAA,EACnC;AAEA,QAAM,yBAAyB;AAAA,IAC9B,MACC;AAAA,MACC,GAAK,kCAAkC,CAAC;AAAA,MACxC,GAAK,8BAA8B,CAAC;AAAA,IACrC,EAAE;AAAA,MACD,CAAE,GAAG,OAAO,QACX,UAAU,IAAI,UAAW,CAAE,MAAO,EAAE,SAAS,EAAE,IAAK;AAAA,IACtD;AAAA,IACD,CAAE,gCAAgC,0BAA2B;AAAA,EAC9D;AAEA,QAAM,EAAE,MAAM,oBAAoB,IAAI,YAAa,WAAY;AAC/D,QAAM,EAAE,gBAAgB,IAAI,OAAQ,YAAa,SAAU,CAAE;AAC7D,QAAM,EAAE,iBAAiB,IAAI,YAAa,SAAU;AASpD,QAAM,mBAAmB;AAAA,IACxB,CAAE,YAAa;AACd,UAAK,CAAE,oBAAqB;AAC3B,eAAO,QAAQ,OAAQ;AAAA,UACtB,SAAS;AAAA,YACR;AAAA,UACD;AAAA,QACD,CAAE;AAAA,MACH;AACA,aAAO,iBAAkB,YAAY,QAAQ,OAAQ;AAAA,IACtD;AAAA,IACA,CAAE,kBAAkB,kBAAmB;AAAA,EACxC;AAEA,QAAM,EAAE,yBAAyB,IAAI,UAAW,gBAAiB;AAMjE,QAAM,kCAAkC;AAAA,IACvC,CAAE,WAAY;AACb,UAAK,CAAE,SAAS,0BAA2B;AAC1C;AAAA,MACD;AACA,YAAM,wBAAwB,yBAAyB;AAEvD,aAAO,SAAS,yBAA0B;AAAA,QACzC,GAAG;AAAA,QACH;AAAA,MACD,CAAE;AAAA,IACH;AAAA,IACA,CAAE,UAAU,wBAAyB;AAAA,EACtC;AAEA,QAAM,oBAAoB,QAAS,MAAM;AAExC,QAAK,oBAAoB,iBAAiB,SAAS,GAAI;AAItD,YAAM,2BACL,SAAS,SAAS,oBACf,WAAW,IAAK,CAAE,EAAE,KAAK,MAAO,IAAK,IACrC,SAAS,qBAAqB,CAAC;AAEnC,aAAO,yBAAyB;AAAA,QAC/B,CAAE,SAAU,CAAE,iBAAiB,SAAU,IAAK;AAAA,MAC/C;AAAA,IACD;AAEA,WAAO,SAAS;AAAA,EACjB,GAAG,CAAE,SAAS,mBAAmB,kBAAkB,UAAW,CAAE;AAEhE,QAAM,wBAAwB,SAAS,cAAc;AAErD,SAAO,QAAS,MAAM;AACrB,UAAM,sBAAsB;AAAA,MAC3B,GAAG,OAAO;AAAA,QACT,OAAO,QAAS,QAAS,EACvB;AAAA,UAAQ,CAAE,CAAE,GAAI,MAChB,sBAAsB,SAAU,GAAI;AAAA,QACrC,EAEC,OAAQ,CAAE,CAAE,GAAI,MAAO,QAAQ,0BAA2B;AAAA,MAC7D;AAAA,MACA,CAAE,mBAAoB,GAAG;AAAA,MACzB,CAAE,wBAAyB,GAAG;AAAA,MAC9B;AAAA,MACA;AAAA,MACA,WAAW,aAAa,CAAE;AAAA,MAC1B;AAAA,MACA;AAAA,MACA;AAAA,MACA,0BAA0B,SAAS,2BAChC,kCACA;AAAA,MACH,CAAE,iBAAkB,GAAG,CAAE,QAAQ,iBAAkB;AAClD,eAAO,OAAQ,SAAU,EAAE;AAAA,UAC1B;AAAA,UACA;AAAA,UACA;AAAA,QACD;AAAA,MACD;AAAA,MACA,CAAE,YAAa,GAAG,uBACf,kBACA;AAAA,MACH,aAAa,uBAAuB,cAAc;AAAA,MAClD,eAAe,uBAAuB,gBAAgB;AAAA,MACtD,6BAA6B;AAAA,MAC7B,CAAE,sBAAuB,GAAG,CAAE,WAAY;AACzC,cAAM,EAAE,uBAAuB,4BAA4B,IAC1D,OAAQ,OAAQ,SAAU,CAAE;AAC7B,cAAM,WAAW,4BAA6B,QAAS;AACvD,eAAO,sBAAuB,kBAAmB,IAC9C,WACA;AAAA,MACJ;AAAA,MACA,CAAE,uBAAwB,GAAG;AAAA,MAC7B,sCAAsC;AAAA,MACtC,qCAAqC;AAAA,MACrC,oCAAoC,CAAE,QAAQ,kBAC7C,qBAAsB,QAAQ,eAAe,QAAS;AAAA,MACvD;AAAA,MACA,gCAAgC;AAAA;AAAA;AAAA,MAGhC,wCAAwC;AAAA;AAAA,MAExC,oBAAoB;AAAA;AAAA;AAAA,MAGpB,aAAa,CAAE,qBAAqB,aAAa;AAAA;AAAA,MAEjD,gCAAgC;AAAA,MAChC,kCAAkC;AAAA,MAClC;AAAA,MACA;AAAA,MACA,oCAAoC,aAAa;AAAA,MACjD,cACC,aAAa,kBAAkB,WAAW,SAAS;AAAA,MACpD,UACC,aAAa,kBACV,CAAE,CAAE,mBAAmB,CAAC,GAAG,CAAC,CAAE,CAAE,IAChC,SAAS;AAAA,MACb,mCAAmC;AAAA,MACnC,CAAE,sBAAuB,GAAG;AAAA,MAC5B,YACC,kBAAkB,eAAe,aAAa,gBAC3C,SACA;AAAA;AAAA;AAAA,MAGJ,CAAE,mBAAoB,GAAG;AAAA,QACxB;AAAA,QACA;AAAA,QACA;AAAA,MACD,EAAE,SAAU,QAAS;AAAA,MACrB,GAAK,OAAO,6CAA6C,aACtD,EAAE,CAAE,aAAc,GAAG,WAAW,IAChC,CAAC;AAAA,IACL;AAEA,WAAO;AAAA,EACR,GAAG;AAAA,IACF;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD,CAAE;AACH;AAEA,IAAO,oCAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/build-module/components/provider/{use-post-content-blocks.js → use-post-content-blocks.mjs}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { useSelect } from "@wordpress/data";
|
|
3
3
|
import { useMemo } from "@wordpress/element";
|
|
4
4
|
import { applyFilters } from "@wordpress/hooks";
|
|
5
|
-
import { store as editorStore } from "../../store/index.
|
|
6
|
-
import { unlock } from "../../lock-unlock.
|
|
5
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
6
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
7
7
|
var POST_CONTENT_BLOCK_TYPES = [
|
|
8
8
|
"core/post-title",
|
|
9
9
|
"core/post-featured-image",
|
|
@@ -31,4 +31,4 @@ function usePostContentBlocks() {
|
|
|
31
31
|
export {
|
|
32
32
|
usePostContentBlocks as default
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=use-post-content-blocks.
|
|
34
|
+
//# sourceMappingURL=use-post-content-blocks.mjs.map
|
package/build-module/components/provider/{with-registry-provider.js → with-registry-provider.mjs}
RENAMED
|
@@ -3,7 +3,7 @@ import { useState } from "@wordpress/element";
|
|
|
3
3
|
import { useRegistry, createRegistry, RegistryProvider } from "@wordpress/data";
|
|
4
4
|
import { createHigherOrderComponent } from "@wordpress/compose";
|
|
5
5
|
import { storeConfig as blockEditorStoreConfig } from "@wordpress/block-editor";
|
|
6
|
-
import { storeConfig } from "../../store/index.
|
|
6
|
+
import { storeConfig } from "../../store/index.mjs";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
function getSubRegistry(subRegistries, registry, useSubRegistry) {
|
|
9
9
|
if (!useSubRegistry) {
|
|
@@ -42,4 +42,4 @@ var with_registry_provider_default = withRegistryProvider;
|
|
|
42
42
|
export {
|
|
43
43
|
with_registry_provider_default as default
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=with-registry-provider.
|
|
45
|
+
//# sourceMappingURL=with-registry-provider.mjs.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { useState, useRef, useCallback } from "@wordpress/element";
|
|
4
4
|
import { ResizableBox } from "@wordpress/components";
|
|
5
|
-
import ResizeHandle from "./resize-handle.
|
|
5
|
+
import ResizeHandle from "./resize-handle.mjs";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
var HANDLE_STYLES_OVERRIDE = {
|
|
8
8
|
position: void 0,
|
|
@@ -77,4 +77,4 @@ var resizable_editor_default = ResizableEditor;
|
|
|
77
77
|
export {
|
|
78
78
|
resizable_editor_default as default
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=index.
|
|
80
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -3,11 +3,11 @@ import { useSelect, useDispatch } from "@wordpress/data";
|
|
|
3
3
|
import { Button, createSlotFill } from "@wordpress/components";
|
|
4
4
|
import { __ } from "@wordpress/i18n";
|
|
5
5
|
import { useCallback } from "@wordpress/element";
|
|
6
|
-
import EntitiesSavedStates from "../entities-saved-states/index.
|
|
7
|
-
import PostPublishPanel from "../post-publish-panel/index.
|
|
8
|
-
import PluginPrePublishPanel from "../plugin-pre-publish-panel/index.
|
|
9
|
-
import PluginPostPublishPanel from "../plugin-post-publish-panel/index.
|
|
10
|
-
import { store as editorStore } from "../../store/index.
|
|
6
|
+
import EntitiesSavedStates from "../entities-saved-states/index.mjs";
|
|
7
|
+
import PostPublishPanel from "../post-publish-panel/index.mjs";
|
|
8
|
+
import PluginPrePublishPanel from "../plugin-pre-publish-panel/index.mjs";
|
|
9
|
+
import PluginPostPublishPanel from "../plugin-post-publish-panel/index.mjs";
|
|
10
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
var { Fill, Slot } = createSlotFill("ActionsPanel");
|
|
13
13
|
var ActionsPanelFill = Fill;
|
|
@@ -96,4 +96,4 @@ export {
|
|
|
96
96
|
ActionsPanelFill,
|
|
97
97
|
SavePublishPanels as default
|
|
98
98
|
};
|
|
99
|
-
//# sourceMappingURL=index.
|
|
99
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -4,9 +4,9 @@ import { __, _x } from "@wordpress/i18n";
|
|
|
4
4
|
import { useSelect } from "@wordpress/data";
|
|
5
5
|
import { forwardRef } from "@wordpress/element";
|
|
6
6
|
import { decodeEntities } from "@wordpress/html-entities";
|
|
7
|
-
import { store as editorStore } from "../../store/index.
|
|
8
|
-
import { unlock } from "../../lock-unlock.
|
|
9
|
-
import { sidebars } from "./constants.
|
|
7
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
8
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
9
|
+
import { sidebars } from "./constants.mjs";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
var { Tabs } = unlock(componentsPrivateApis);
|
|
12
12
|
var SidebarHeader = (_, ref) => {
|
|
@@ -41,4 +41,4 @@ var header_default = forwardRef(SidebarHeader);
|
|
|
41
41
|
export {
|
|
42
42
|
header_default as default
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=header.
|
|
44
|
+
//# sourceMappingURL=header.mjs.map
|
|
@@ -16,24 +16,24 @@ import { drawerLeft, drawerRight } from "@wordpress/icons";
|
|
|
16
16
|
import { store as keyboardShortcutsStore } from "@wordpress/keyboard-shortcuts";
|
|
17
17
|
import { privateApis as componentsPrivateApis } from "@wordpress/components";
|
|
18
18
|
import { store as interfaceStore } from "@wordpress/interface";
|
|
19
|
-
import PatternOverridesPanel from "../pattern-overrides-panel/index.
|
|
20
|
-
import PluginDocumentSettingPanel from "../plugin-document-setting-panel/index.
|
|
21
|
-
import PluginSidebar from "../plugin-sidebar/index.
|
|
22
|
-
import PostSummary from "./post-summary.
|
|
23
|
-
import PostTaxonomiesPanel from "../post-taxonomies/panel.
|
|
24
|
-
import PostTransformPanel from "../post-transform-panel/index.
|
|
25
|
-
import SidebarHeader from "./header.
|
|
26
|
-
import TemplateContentPanel from "../template-content-panel/index.
|
|
27
|
-
import TemplatePartContentPanel from "../template-part-content-panel/index.
|
|
28
|
-
import useAutoSwitchEditorSidebars from "../provider/use-auto-switch-editor-sidebars.
|
|
29
|
-
import { sidebars } from "./constants.
|
|
30
|
-
import { unlock } from "../../lock-unlock.
|
|
31
|
-
import { store as editorStore } from "../../store/index.
|
|
19
|
+
import PatternOverridesPanel from "../pattern-overrides-panel/index.mjs";
|
|
20
|
+
import PluginDocumentSettingPanel from "../plugin-document-setting-panel/index.mjs";
|
|
21
|
+
import PluginSidebar from "../plugin-sidebar/index.mjs";
|
|
22
|
+
import PostSummary from "./post-summary.mjs";
|
|
23
|
+
import PostTaxonomiesPanel from "../post-taxonomies/panel.mjs";
|
|
24
|
+
import PostTransformPanel from "../post-transform-panel/index.mjs";
|
|
25
|
+
import SidebarHeader from "./header.mjs";
|
|
26
|
+
import TemplateContentPanel from "../template-content-panel/index.mjs";
|
|
27
|
+
import TemplatePartContentPanel from "../template-part-content-panel/index.mjs";
|
|
28
|
+
import useAutoSwitchEditorSidebars from "../provider/use-auto-switch-editor-sidebars.mjs";
|
|
29
|
+
import { sidebars } from "./constants.mjs";
|
|
30
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
31
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
32
32
|
import {
|
|
33
33
|
NAVIGATION_POST_TYPE,
|
|
34
34
|
TEMPLATE_PART_POST_TYPE,
|
|
35
35
|
TEMPLATE_POST_TYPE
|
|
36
|
-
} from "../../store/constants.
|
|
36
|
+
} from "../../store/constants.mjs";
|
|
37
37
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
38
38
|
var { Tabs } = unlock(componentsPrivateApis);
|
|
39
39
|
var SIDEBAR_ACTIVE_BY_DEFAULT = Platform.select({
|
|
@@ -159,4 +159,4 @@ var sidebar_default = Sidebar;
|
|
|
159
159
|
export {
|
|
160
160
|
sidebar_default as default
|
|
161
161
|
};
|
|
162
|
-
//# sourceMappingURL=index.
|
|
162
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
// packages/editor/src/components/sidebar/post-summary.js
|
|
2
2
|
import { __experimentalVStack as VStack } from "@wordpress/components";
|
|
3
3
|
import { useSelect } from "@wordpress/data";
|
|
4
|
-
import PluginPostStatusInfo from "../plugin-post-status-info/index.
|
|
5
|
-
import PostAuthorPanel from "../post-author/panel.
|
|
6
|
-
import PostCardPanel from "../post-card-panel/index.
|
|
7
|
-
import PostContentInformation from "../post-content-information/index.
|
|
8
|
-
import PageAttributesPanel from "../page-attributes/panel.
|
|
9
|
-
import PostDiscussionPanel from "../post-discussion/panel.
|
|
10
|
-
import { PrivatePostExcerptPanel as PostExcerptPanel } from "../post-excerpt/panel.
|
|
11
|
-
import PostFeaturedImagePanel from "../post-featured-image/panel.
|
|
12
|
-
import PostFormatPanel from "../post-format/panel.
|
|
13
|
-
import PostLastEditedPanel from "../post-last-edited-panel/index.
|
|
14
|
-
import PostPanelSection from "../post-panel-section/index.
|
|
15
|
-
import PostSchedulePanel from "../post-schedule/panel.
|
|
16
|
-
import PostStatusPanel from "../post-status/index.
|
|
17
|
-
import PostSyncStatus from "../post-sync-status/index.
|
|
18
|
-
import PostTemplatePanel from "../post-template/panel.
|
|
19
|
-
import PostURLPanel from "../post-url/panel.
|
|
20
|
-
import BlogTitle from "../blog-title/index.
|
|
21
|
-
import PostsPerPage from "../posts-per-page/index.
|
|
22
|
-
import SiteDiscussion from "../site-discussion/index.
|
|
23
|
-
import { store as editorStore } from "../../store/index.
|
|
24
|
-
import { PrivatePostLastRevision } from "../post-last-revision/index.
|
|
25
|
-
import PostTrash from "../post-trash/index.
|
|
4
|
+
import PluginPostStatusInfo from "../plugin-post-status-info/index.mjs";
|
|
5
|
+
import PostAuthorPanel from "../post-author/panel.mjs";
|
|
6
|
+
import PostCardPanel from "../post-card-panel/index.mjs";
|
|
7
|
+
import PostContentInformation from "../post-content-information/index.mjs";
|
|
8
|
+
import PageAttributesPanel from "../page-attributes/panel.mjs";
|
|
9
|
+
import PostDiscussionPanel from "../post-discussion/panel.mjs";
|
|
10
|
+
import { PrivatePostExcerptPanel as PostExcerptPanel } from "../post-excerpt/panel.mjs";
|
|
11
|
+
import PostFeaturedImagePanel from "../post-featured-image/panel.mjs";
|
|
12
|
+
import PostFormatPanel from "../post-format/panel.mjs";
|
|
13
|
+
import PostLastEditedPanel from "../post-last-edited-panel/index.mjs";
|
|
14
|
+
import PostPanelSection from "../post-panel-section/index.mjs";
|
|
15
|
+
import PostSchedulePanel from "../post-schedule/panel.mjs";
|
|
16
|
+
import PostStatusPanel from "../post-status/index.mjs";
|
|
17
|
+
import PostSyncStatus from "../post-sync-status/index.mjs";
|
|
18
|
+
import PostTemplatePanel from "../post-template/panel.mjs";
|
|
19
|
+
import PostURLPanel from "../post-url/panel.mjs";
|
|
20
|
+
import BlogTitle from "../blog-title/index.mjs";
|
|
21
|
+
import PostsPerPage from "../posts-per-page/index.mjs";
|
|
22
|
+
import SiteDiscussion from "../site-discussion/index.mjs";
|
|
23
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
24
|
+
import { PrivatePostLastRevision } from "../post-last-revision/index.mjs";
|
|
25
|
+
import PostTrash from "../post-trash/index.mjs";
|
|
26
26
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
27
27
|
var PANEL_NAME = "post-status";
|
|
28
28
|
function PostSummary({ onActionPerformed }) {
|
|
@@ -85,4 +85,4 @@ function PostSummary({ onActionPerformed }) {
|
|
|
85
85
|
export {
|
|
86
86
|
PostSummary as default
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=post-summary.
|
|
88
|
+
//# sourceMappingURL=post-summary.mjs.map
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
} from "@wordpress/components";
|
|
12
12
|
import { useState, useMemo } from "@wordpress/element";
|
|
13
13
|
import { __experimentalInspectorPopoverHeader as InspectorPopoverHeader } from "@wordpress/block-editor";
|
|
14
|
-
import { TEMPLATE_POST_TYPE } from "../../store/constants.
|
|
15
|
-
import PostPanelRow from "../post-panel-row/index.
|
|
16
|
-
import { store as editorStore } from "../../store/index.
|
|
14
|
+
import { TEMPLATE_POST_TYPE } from "../../store/constants.mjs";
|
|
15
|
+
import PostPanelRow from "../post-panel-row/index.mjs";
|
|
16
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
17
17
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
18
18
|
var COMMENT_OPTIONS = [
|
|
19
19
|
{
|
|
@@ -116,4 +116,4 @@ function SiteDiscussion() {
|
|
|
116
116
|
export {
|
|
117
117
|
SiteDiscussion as default
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=index.
|
|
119
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -14,8 +14,8 @@ import { store as interfaceStore } from "@wordpress/interface";
|
|
|
14
14
|
import {
|
|
15
15
|
TEMPLATE_POST_TYPE,
|
|
16
16
|
TEMPLATE_PART_POST_TYPE
|
|
17
|
-
} from "../../store/constants.
|
|
18
|
-
import { store as editorStore } from "../../store/index.
|
|
17
|
+
} from "../../store/constants.mjs";
|
|
18
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
19
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
20
20
|
function useStartPatterns() {
|
|
21
21
|
const { blockPatternsWithPostContentBlockType, postType } = useSelect(
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
StartPageOptions as default,
|
|
156
156
|
useStartPatterns
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=index.
|
|
158
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -6,8 +6,8 @@ import { __experimentalBlockPatternsList as BlockPatternsList } from "@wordpress
|
|
|
6
6
|
import { useSelect } from "@wordpress/data";
|
|
7
7
|
import { parse } from "@wordpress/blocks";
|
|
8
8
|
import { store as coreStore, useEntityBlockEditor } from "@wordpress/core-data";
|
|
9
|
-
import { store as editorStore } from "../../store/index.
|
|
10
|
-
import { TEMPLATE_POST_TYPE } from "../../store/constants.
|
|
9
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
10
|
+
import { TEMPLATE_POST_TYPE } from "../../store/constants.mjs";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
function useFallbackTemplateContent(slug, isCustom = false) {
|
|
13
13
|
return useSelect(
|
|
@@ -185,4 +185,4 @@ function StartTemplateOptions() {
|
|
|
185
185
|
export {
|
|
186
186
|
StartTemplateOptions as default
|
|
187
187
|
};
|
|
188
|
-
//# sourceMappingURL=index.
|
|
188
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -3,7 +3,7 @@ import { getCategories } from "@wordpress/blocks";
|
|
|
3
3
|
import {
|
|
4
4
|
STYLE_BOOK_CATEGORIES,
|
|
5
5
|
STYLE_BOOK_THEME_SUBCATEGORIES
|
|
6
|
-
} from "./constants.
|
|
6
|
+
} from "./constants.mjs";
|
|
7
7
|
function getExamplesByCategory(categoryDefinition, examples) {
|
|
8
8
|
if (!categoryDefinition?.slug || !examples?.length) {
|
|
9
9
|
return;
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
getExamplesByCategory,
|
|
63
63
|
getTopLevelStyleBookCategories
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=categories.
|
|
65
|
+
//# sourceMappingURL=categories.mjs.map
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
getBlockFromExample,
|
|
7
7
|
createBlock
|
|
8
8
|
} from "@wordpress/blocks";
|
|
9
|
-
import ColorExamples from "./color-examples.
|
|
10
|
-
import DuotoneExamples from "./duotone-examples.
|
|
11
|
-
import { STYLE_BOOK_COLOR_GROUPS } from "./constants.
|
|
9
|
+
import ColorExamples from "./color-examples.mjs";
|
|
10
|
+
import DuotoneExamples from "./duotone-examples.mjs";
|
|
11
|
+
import { STYLE_BOOK_COLOR_GROUPS } from "./constants.mjs";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
function getColorExamples(colors) {
|
|
14
14
|
if (!colors) {
|
|
@@ -206,4 +206,4 @@ function getExamples(colors) {
|
|
|
206
206
|
export {
|
|
207
207
|
getExamples
|
|
208
208
|
};
|
|
209
|
-
//# sourceMappingURL=examples.
|
|
209
|
+
//# sourceMappingURL=examples.mjs.map
|
|
@@ -30,21 +30,21 @@ import {
|
|
|
30
30
|
import { ENTER, SPACE } from "@wordpress/keycodes";
|
|
31
31
|
import { uploadMedia } from "@wordpress/media-utils";
|
|
32
32
|
import { store as coreStore } from "@wordpress/core-data";
|
|
33
|
-
import { unlock } from "../../lock-unlock.
|
|
34
|
-
import { STYLE_BOOK_IFRAME_STYLES } from "./constants.
|
|
33
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
34
|
+
import { STYLE_BOOK_IFRAME_STYLES } from "./constants.mjs";
|
|
35
35
|
import {
|
|
36
36
|
getExamplesByCategory,
|
|
37
37
|
getTopLevelStyleBookCategories
|
|
38
|
-
} from "./categories.
|
|
39
|
-
import { getExamples } from "./examples.
|
|
40
|
-
import { GlobalStylesRenderer } from "../global-styles-renderer/index.
|
|
38
|
+
} from "./categories.mjs";
|
|
39
|
+
import { getExamples } from "./examples.mjs";
|
|
40
|
+
import { GlobalStylesRenderer } from "../global-styles-renderer/index.mjs";
|
|
41
41
|
import {
|
|
42
42
|
STYLE_BOOK_COLOR_GROUPS,
|
|
43
43
|
STYLE_BOOK_PREVIEW_CATEGORIES
|
|
44
|
-
} from "./constants.
|
|
45
|
-
import { useGlobalStylesOutputWithConfig } from "../../hooks/use-global-styles-output.
|
|
46
|
-
import { useStyle, useGlobalStyles } from "../global-styles/index.
|
|
47
|
-
import { store as editorStore } from "../../store/index.
|
|
44
|
+
} from "./constants.mjs";
|
|
45
|
+
import { useGlobalStylesOutputWithConfig } from "../../hooks/use-global-styles-output.mjs";
|
|
46
|
+
import { useStyle, useGlobalStyles } from "../global-styles/index.mjs";
|
|
47
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
48
48
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
49
49
|
var { ExperimentalBlockEditorProvider } = unlock(blockEditorPrivateApis);
|
|
50
50
|
var { Tabs } = unlock(componentsPrivateApis);
|
|
@@ -614,4 +614,4 @@ export {
|
|
|
614
614
|
style_book_default as default,
|
|
615
615
|
getExamplesForSinglePageUse
|
|
616
616
|
};
|
|
617
|
-
//# sourceMappingURL=index.
|
|
617
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.mjs.map
|
|
@@ -6,11 +6,11 @@ import { useDispatch, useSelect } from "@wordpress/data";
|
|
|
6
6
|
import { closeSmall } from "@wordpress/icons";
|
|
7
7
|
import { useFocusOnMount, useFocusReturn } from "@wordpress/compose";
|
|
8
8
|
import { store as preferencesStore } from "@wordpress/preferences";
|
|
9
|
-
import { unlock } from "../../lock-unlock.
|
|
10
|
-
import StylesCanvasStyleBook from "./style-book.
|
|
11
|
-
import StylesCanvasRevisions from "./revisions.
|
|
12
|
-
import { store as editorStore } from "../../store/index.
|
|
13
|
-
import ResizableEditor from "../resizable-editor/index.
|
|
9
|
+
import { unlock } from "../../lock-unlock.mjs";
|
|
10
|
+
import StylesCanvasStyleBook from "./style-book.mjs";
|
|
11
|
+
import StylesCanvasRevisions from "./revisions.mjs";
|
|
12
|
+
import { store as editorStore } from "../../store/index.mjs";
|
|
13
|
+
import ResizableEditor from "../resizable-editor/index.mjs";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
function getStylesCanvasTitle(path, showStylebook) {
|
|
16
16
|
if (showStylebook) {
|
|
@@ -102,4 +102,4 @@ export {
|
|
|
102
102
|
StylesCanvas as default,
|
|
103
103
|
getStylesCanvasTitle
|
|
104
104
|
};
|
|
105
|
-
//# sourceMappingURL=index.
|
|
105
|
+
//# sourceMappingURL=index.mjs.map
|