@wordpress/editor 14.9.0 → 14.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +2 -2
- package/build/bindings/api.js +0 -29
- package/build/bindings/api.js.map +1 -1
- package/build/bindings/post-meta.js +2 -1
- package/build/bindings/post-meta.js.map +1 -1
- package/build/components/autocompleters/user.js.map +1 -1
- package/build/components/block-manager/index.js +2 -2
- package/build/components/block-manager/index.js.map +1 -1
- package/build/components/collab-sidebar/add-comment.js +120 -0
- package/build/components/collab-sidebar/add-comment.js.map +1 -0
- package/build/components/collab-sidebar/comment-button-toolbar.js +37 -0
- package/build/components/collab-sidebar/comment-button-toolbar.js.map +1 -0
- package/build/components/collab-sidebar/comment-button.js +37 -0
- package/build/components/collab-sidebar/comment-button.js.map +1 -0
- package/build/components/collab-sidebar/comments.js +321 -0
- package/build/components/collab-sidebar/comments.js.map +1 -0
- package/build/components/collab-sidebar/constants.js +8 -0
- package/build/components/collab-sidebar/constants.js.map +1 -0
- package/build/components/collab-sidebar/index.js +272 -0
- package/build/components/collab-sidebar/index.js.map +1 -0
- package/build/components/collab-sidebar/utils.js +16 -0
- package/build/components/collab-sidebar/utils.js.map +1 -0
- package/build/components/commands/index.js +6 -6
- package/build/components/commands/index.js.map +1 -1
- package/build/components/create-template-part-modal/index.js.map +1 -1
- package/build/components/create-template-part-modal/utils.js.map +1 -1
- package/build/components/document-bar/index.js +8 -7
- package/build/components/document-bar/index.js.map +1 -1
- package/build/components/document-outline/index.js.map +1 -1
- package/build/components/document-outline/item.js.map +1 -1
- package/build/components/document-tools/index.js +2 -6
- package/build/components/document-tools/index.js.map +1 -1
- package/build/components/editor-interface/index.js +4 -14
- package/build/components/editor-interface/index.js.map +1 -1
- package/build/components/entities-saved-states/index.js +2 -2
- package/build/components/entities-saved-states/index.js.map +1 -1
- package/build/components/global-keyboard-shortcuts/register-shortcuts.js +3 -3
- package/build/components/global-keyboard-shortcuts/register-shortcuts.js.map +1 -1
- package/build/components/global-styles-provider/index.js +13 -3
- package/build/components/global-styles-provider/index.js.map +1 -1
- package/build/components/header/index.js +5 -2
- package/build/components/header/index.js.map +1 -1
- package/build/components/inserter-sidebar/index.js +2 -2
- package/build/components/inserter-sidebar/index.js.map +1 -1
- package/build/components/media-categories/index.js.map +1 -1
- package/build/components/page-attributes/parent.js +5 -5
- package/build/components/page-attributes/parent.js.map +1 -1
- package/build/components/plugin-document-setting-panel/index.js.map +1 -1
- package/build/components/plugin-more-menu-item/index.js +13 -11
- package/build/components/plugin-more-menu-item/index.js.map +1 -1
- package/build/components/plugin-preview-menu-item/index.js +15 -13
- package/build/components/plugin-preview-menu-item/index.js.map +1 -1
- package/build/components/plugin-sidebar/index.js +0 -15
- package/build/components/plugin-sidebar/index.js.map +1 -1
- package/build/components/post-actions/index.js +5 -5
- package/build/components/post-actions/index.js.map +1 -1
- package/build/components/post-author/panel.js +4 -4
- package/build/components/post-author/panel.js.map +1 -1
- package/build/components/post-card-panel/index.js +7 -36
- package/build/components/post-card-panel/index.js.map +1 -1
- package/build/components/post-content-information/index.js +2 -3
- package/build/components/post-content-information/index.js.map +1 -1
- package/build/components/post-featured-image/index.js +26 -7
- package/build/components/post-featured-image/index.js.map +1 -1
- package/build/components/post-format/index.js +1 -1
- package/build/components/post-format/index.js.map +1 -1
- package/build/components/post-last-revision/index.js +1 -1
- package/build/components/post-last-revision/index.js.map +1 -1
- package/build/components/post-locked-modal/index.js +2 -2
- package/build/components/post-locked-modal/index.js.map +1 -1
- package/build/components/post-preview-button/index.js +1 -1
- package/build/components/post-preview-button/index.js.map +1 -1
- package/build/components/post-publish-button/index.js.map +1 -1
- package/build/components/post-publish-panel/maybe-post-format-panel.js +1 -1
- package/build/components/post-publish-panel/maybe-post-format-panel.js.map +1 -1
- package/build/components/post-publish-panel/maybe-upload-media.js +1 -0
- package/build/components/post-publish-panel/maybe-upload-media.js.map +1 -1
- package/build/components/post-publish-panel/media-util.js +1 -0
- package/build/components/post-publish-panel/media-util.js.map +1 -1
- package/build/components/post-publish-panel/postpublish.js +1 -1
- package/build/components/post-publish-panel/postpublish.js.map +1 -1
- package/build/components/post-schedule/label.js +1 -1
- package/build/components/post-schedule/label.js.map +1 -1
- package/build/components/post-taxonomies/flat-term-selector.js +13 -5
- package/build/components/post-taxonomies/flat-term-selector.js.map +1 -1
- package/build/components/post-taxonomies/hierarchical-term-selector.js +3 -2
- package/build/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
- package/build/components/post-taxonomies/index.js +1 -1
- package/build/components/post-taxonomies/index.js.map +1 -1
- package/build/components/post-taxonomies/panel.js.map +1 -1
- package/build/components/post-template/classic-theme.js +2 -4
- package/build/components/post-template/classic-theme.js.map +1 -1
- package/build/components/post-text-editor/index.js.map +1 -1
- package/build/components/post-title/index.js +15 -19
- package/build/components/post-title/index.js.map +1 -1
- package/build/components/post-title/index.native.js +2 -2
- package/build/components/post-title/index.native.js.map +1 -1
- package/build/components/post-url/index.js +76 -63
- package/build/components/post-url/index.js.map +1 -1
- package/build/components/post-url/panel.js +49 -29
- package/build/components/post-url/panel.js.map +1 -1
- package/build/components/post-visibility/index.js.map +1 -1
- package/build/components/preferences-modal/index.js.map +1 -1
- package/build/components/preview-dropdown/index.js +0 -4
- package/build/components/preview-dropdown/index.js.map +1 -1
- package/build/components/provider/index.js +10 -12
- package/build/components/provider/index.js.map +1 -1
- package/build/components/provider/use-block-editor-settings.js +1 -1
- package/build/components/provider/use-block-editor-settings.js.map +1 -1
- package/build/components/resizable-editor/resize-handle.js.map +1 -1
- package/build/components/sidebar/header.js +2 -1
- package/build/components/sidebar/header.js.map +1 -1
- package/build/components/sidebar/index.js +3 -3
- package/build/components/sidebar/index.js.map +1 -1
- package/build/components/time-to-read/index.js +2 -2
- package/build/components/time-to-read/index.js.map +1 -1
- package/build/components/visual-editor/edit-template-blocks-notification.js +4 -1
- package/build/components/visual-editor/edit-template-blocks-notification.js.map +1 -1
- package/build/components/visual-editor/index.js +24 -25
- package/build/components/visual-editor/index.js.map +1 -1
- package/build/components/visual-editor/use-select-nearest-editable-block.js.map +1 -1
- package/build/components/visual-editor/use-zoom-out-mode-exit.js +52 -0
- package/build/components/visual-editor/use-zoom-out-mode-exit.js.map +1 -0
- package/build/components/zoom-out-toggle/index.js +37 -5
- package/build/components/zoom-out-toggle/index.js.map +1 -1
- package/build/dataviews/actions/duplicate-template-part.js +3 -3
- package/build/dataviews/actions/duplicate-template-part.js.map +1 -1
- package/build/private-apis.js +0 -1
- package/build/private-apis.js.map +1 -1
- package/build/store/actions.js +30 -4
- package/build/store/actions.js.map +1 -1
- package/build/store/constants.js +1 -0
- package/build/store/constants.js.map +1 -1
- package/build/store/local-autosave.js.map +1 -1
- package/build/store/private-actions.js +8 -7
- package/build/store/private-actions.js.map +1 -1
- package/build/store/selectors.js +24 -2
- package/build/store/selectors.js.map +1 -1
- package/build/utils/media-upload/index.js.map +1 -1
- package/build/utils/pageTypeBadge.js +51 -0
- package/build/utils/pageTypeBadge.js.map +1 -0
- package/build/utils/terms.js +2 -2
- package/build/utils/terms.js.map +1 -1
- package/build-module/bindings/api.js +1 -29
- package/build-module/bindings/api.js.map +1 -1
- package/build-module/bindings/post-meta.js +2 -1
- package/build-module/bindings/post-meta.js.map +1 -1
- package/build-module/components/autocompleters/user.js +1 -3
- package/build-module/components/autocompleters/user.js.map +1 -1
- package/build-module/components/block-manager/category.js +1 -2
- package/build-module/components/block-manager/category.js.map +1 -1
- package/build-module/components/block-manager/checklist.js +1 -2
- package/build-module/components/block-manager/checklist.js.map +1 -1
- package/build-module/components/block-manager/index.js +3 -4
- package/build-module/components/block-manager/index.js.map +1 -1
- package/build-module/components/block-settings-menu/content-only-settings-menu.js +1 -3
- package/build-module/components/block-settings-menu/content-only-settings-menu.js.map +1 -1
- package/build-module/components/blog-title/index.js +1 -3
- package/build-module/components/blog-title/index.js.map +1 -1
- package/build-module/components/collab-sidebar/add-comment.js +114 -0
- package/build-module/components/collab-sidebar/add-comment.js.map +1 -0
- package/build-module/components/collab-sidebar/comment-button-toolbar.js +30 -0
- package/build-module/components/collab-sidebar/comment-button-toolbar.js.map +1 -0
- package/build-module/components/collab-sidebar/comment-button.js +30 -0
- package/build-module/components/collab-sidebar/comment-button.js.map +1 -0
- package/build-module/components/collab-sidebar/comments.js +314 -0
- package/build-module/components/collab-sidebar/comments.js.map +1 -0
- package/build-module/components/collab-sidebar/constants.js +2 -0
- package/build-module/components/collab-sidebar/constants.js.map +1 -0
- package/build-module/components/collab-sidebar/index.js +264 -0
- package/build-module/components/collab-sidebar/index.js.map +1 -0
- package/build-module/components/collab-sidebar/utils.js +10 -0
- package/build-module/components/collab-sidebar/utils.js.map +1 -0
- package/build-module/components/collapsible-block-toolbar/index.js +1 -3
- package/build-module/components/collapsible-block-toolbar/index.js.map +1 -1
- package/build-module/components/commands/index.js +6 -6
- package/build-module/components/commands/index.js.map +1 -1
- package/build-module/components/create-template-part-modal/index.js +1 -2
- package/build-module/components/create-template-part-modal/index.js.map +1 -1
- package/build-module/components/create-template-part-modal/utils.js.map +1 -1
- package/build-module/components/document-bar/index.js +10 -10
- package/build-module/components/document-bar/index.js.map +1 -1
- package/build-module/components/document-outline/index.js +1 -2
- package/build-module/components/document-outline/index.js.map +1 -1
- package/build-module/components/document-outline/item.js +1 -2
- package/build-module/components/document-outline/item.js.map +1 -1
- package/build-module/components/document-tools/index.js +4 -10
- package/build-module/components/document-tools/index.js.map +1 -1
- package/build-module/components/editor/index.js +1 -3
- package/build-module/components/editor/index.js.map +1 -1
- package/build-module/components/editor-help/add-blocks.native.js +1 -3
- package/build-module/components/editor-help/add-blocks.native.js.map +1 -1
- package/build-module/components/editor-help/customize-blocks.native.js +1 -3
- package/build-module/components/editor-help/customize-blocks.native.js.map +1 -1
- package/build-module/components/editor-help/help-detail-navigation-screen.native.js +1 -2
- package/build-module/components/editor-help/help-detail-navigation-screen.native.js.map +1 -1
- package/build-module/components/editor-help/index.native.js +1 -3
- package/build-module/components/editor-help/index.native.js.map +1 -1
- package/build-module/components/editor-help/intro-to-blocks.native.js +1 -3
- package/build-module/components/editor-help/intro-to-blocks.native.js.map +1 -1
- package/build-module/components/editor-help/move-blocks.native.js +1 -3
- package/build-module/components/editor-help/move-blocks.native.js.map +1 -1
- package/build-module/components/editor-help/remove-blocks.native.js +1 -3
- package/build-module/components/editor-help/remove-blocks.native.js.map +1 -1
- package/build-module/components/editor-help/view-sections.native.js +1 -2
- package/build-module/components/editor-help/view-sections.native.js.map +1 -1
- package/build-module/components/editor-interface/index.js +5 -17
- package/build-module/components/editor-interface/index.js.map +1 -1
- package/build-module/components/editor-notices/index.js +1 -3
- package/build-module/components/editor-notices/index.js.map +1 -1
- package/build-module/components/entities-saved-states/entity-record-item.js +1 -3
- package/build-module/components/entities-saved-states/entity-record-item.js.map +1 -1
- package/build-module/components/entities-saved-states/entity-type-list.js +1 -2
- package/build-module/components/entities-saved-states/entity-type-list.js.map +1 -1
- package/build-module/components/entities-saved-states/index.js +3 -4
- package/build-module/components/entities-saved-states/index.js.map +1 -1
- package/build-module/components/error-boundary/index.native.js +1 -2
- package/build-module/components/error-boundary/index.native.js.map +1 -1
- package/build-module/components/global-keyboard-shortcuts/register-shortcuts.js +3 -3
- package/build-module/components/global-keyboard-shortcuts/register-shortcuts.js.map +1 -1
- package/build-module/components/global-styles-provider/index.js +13 -3
- package/build-module/components/global-styles-provider/index.js.map +1 -1
- package/build-module/components/header/index.js +6 -4
- package/build-module/components/header/index.js.map +1 -1
- package/build-module/components/inserter-sidebar/index.js +2 -2
- package/build-module/components/inserter-sidebar/index.js.map +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/index.js +1 -2
- package/build-module/components/keyboard-shortcut-help-modal/index.js.map +1 -1
- package/build-module/components/keyboard-shortcut-help-modal/shortcut.js +1 -3
- package/build-module/components/keyboard-shortcut-help-modal/shortcut.js.map +1 -1
- package/build-module/components/list-view-sidebar/list-view-outline.js +1 -3
- package/build-module/components/list-view-sidebar/list-view-outline.js.map +1 -1
- package/build-module/components/media-categories/index.js.map +1 -1
- package/build-module/components/more-menu/index.js +1 -3
- package/build-module/components/more-menu/index.js.map +1 -1
- package/build-module/components/offline-status/index.native.js +1 -2
- package/build-module/components/offline-status/index.native.js.map +1 -1
- package/build-module/components/page-attributes/parent.js +6 -7
- package/build-module/components/page-attributes/parent.js.map +1 -1
- package/build-module/components/plugin-document-setting-panel/index.js +1 -3
- package/build-module/components/plugin-document-setting-panel/index.js.map +1 -1
- package/build-module/components/plugin-more-menu-item/index.js +12 -10
- package/build-module/components/plugin-more-menu-item/index.js.map +1 -1
- package/build-module/components/plugin-preview-menu-item/index.js +14 -12
- package/build-module/components/plugin-preview-menu-item/index.js.map +1 -1
- package/build-module/components/plugin-sidebar/index.js +0 -15
- package/build-module/components/plugin-sidebar/index.js.map +1 -1
- package/build-module/components/post-actions/index.js +6 -8
- package/build-module/components/post-actions/index.js.map +1 -1
- package/build-module/components/post-author/panel.js +5 -6
- package/build-module/components/post-author/panel.js.map +1 -1
- package/build-module/components/post-card-panel/index.js +9 -38
- package/build-module/components/post-card-panel/index.js.map +1 -1
- package/build-module/components/post-content-information/index.js +2 -3
- package/build-module/components/post-content-information/index.js.map +1 -1
- package/build-module/components/post-discussion/panel.js +1 -2
- package/build-module/components/post-discussion/panel.js.map +1 -1
- package/build-module/components/post-excerpt/panel.js +1 -3
- package/build-module/components/post-excerpt/panel.js.map +1 -1
- package/build-module/components/post-featured-image/index.js +27 -9
- package/build-module/components/post-featured-image/index.js.map +1 -1
- package/build-module/components/post-format/index.js +2 -3
- package/build-module/components/post-format/index.js.map +1 -1
- package/build-module/components/post-format/panel.js +1 -2
- package/build-module/components/post-format/panel.js.map +1 -1
- package/build-module/components/post-last-revision/index.js +1 -1
- package/build-module/components/post-last-revision/index.js.map +1 -1
- package/build-module/components/post-locked-modal/index.js +3 -5
- package/build-module/components/post-locked-modal/index.js.map +1 -1
- package/build-module/components/post-panel-row/index.js +1 -2
- package/build-module/components/post-panel-row/index.js.map +1 -1
- package/build-module/components/post-preview-button/index.js +2 -4
- package/build-module/components/post-preview-button/index.js.map +1 -1
- package/build-module/components/post-publish-button/index.js +1 -2
- package/build-module/components/post-publish-button/index.js.map +1 -1
- package/build-module/components/post-publish-panel/index.js +1 -3
- package/build-module/components/post-publish-panel/index.js.map +1 -1
- package/build-module/components/post-publish-panel/maybe-category-panel.js +1 -2
- package/build-module/components/post-publish-panel/maybe-category-panel.js.map +1 -1
- package/build-module/components/post-publish-panel/maybe-post-format-panel.js +2 -3
- package/build-module/components/post-publish-panel/maybe-post-format-panel.js.map +1 -1
- package/build-module/components/post-publish-panel/maybe-tags-panel.js +1 -2
- package/build-module/components/post-publish-panel/maybe-tags-panel.js.map +1 -1
- package/build-module/components/post-publish-panel/maybe-upload-media.js +2 -2
- package/build-module/components/post-publish-panel/maybe-upload-media.js.map +1 -1
- package/build-module/components/post-publish-panel/media-util.js +1 -0
- package/build-module/components/post-publish-panel/media-util.js.map +1 -1
- package/build-module/components/post-publish-panel/postpublish.js +2 -4
- package/build-module/components/post-publish-panel/postpublish.js.map +1 -1
- package/build-module/components/post-publish-panel/prepublish.js +1 -3
- package/build-module/components/post-publish-panel/prepublish.js.map +1 -1
- package/build-module/components/post-saved-state/index.js +1 -2
- package/build-module/components/post-saved-state/index.js.map +1 -1
- package/build-module/components/post-schedule/label.js +1 -1
- package/build-module/components/post-schedule/label.js.map +1 -1
- package/build-module/components/post-status/index.js +1 -3
- package/build-module/components/post-status/index.js.map +1 -1
- package/build-module/components/post-switch-to-draft-button/index.js +1 -3
- package/build-module/components/post-switch-to-draft-button/index.js.map +1 -1
- package/build-module/components/post-taxonomies/flat-term-selector.js +16 -10
- package/build-module/components/post-taxonomies/flat-term-selector.js.map +1 -1
- package/build-module/components/post-taxonomies/hierarchical-term-selector.js +4 -4
- package/build-module/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
- package/build-module/components/post-taxonomies/index.js +1 -1
- package/build-module/components/post-taxonomies/index.js.map +1 -1
- package/build-module/components/post-taxonomies/most-used-terms.js +1 -2
- package/build-module/components/post-taxonomies/most-used-terms.js.map +1 -1
- package/build-module/components/post-taxonomies/panel.js.map +1 -1
- package/build-module/components/post-template/block-theme.js +1 -3
- package/build-module/components/post-template/block-theme.js.map +1 -1
- package/build-module/components/post-template/classic-theme.js +3 -6
- package/build-module/components/post-template/classic-theme.js.map +1 -1
- package/build-module/components/post-template/create-new-template-modal.js +1 -2
- package/build-module/components/post-template/create-new-template-modal.js.map +1 -1
- package/build-module/components/post-template/create-new-template.js +1 -3
- package/build-module/components/post-template/create-new-template.js.map +1 -1
- package/build-module/components/post-template/swap-template-button.js +1 -3
- package/build-module/components/post-template/swap-template-button.js.map +1 -1
- package/build-module/components/post-text-editor/index.js +1 -3
- package/build-module/components/post-text-editor/index.js.map +1 -1
- package/build-module/components/post-title/index.js +15 -19
- package/build-module/components/post-title/index.js.map +1 -1
- package/build-module/components/post-title/index.native.js +2 -2
- package/build-module/components/post-title/index.native.js.map +1 -1
- package/build-module/components/post-trash/index.js +1 -2
- package/build-module/components/post-trash/index.js.map +1 -1
- package/build-module/components/post-url/index.js +78 -66
- package/build-module/components/post-url/index.js.map +1 -1
- package/build-module/components/post-url/panel.js +51 -31
- package/build-module/components/post-url/panel.js.map +1 -1
- package/build-module/components/post-visibility/index.js +1 -2
- package/build-module/components/post-visibility/index.js.map +1 -1
- package/build-module/components/posts-per-page/index.js +1 -3
- package/build-module/components/posts-per-page/index.js.map +1 -1
- package/build-module/components/preferences-modal/index.js +1 -3
- package/build-module/components/preferences-modal/index.js.map +1 -1
- package/build-module/components/preview-dropdown/index.js +1 -7
- package/build-module/components/preview-dropdown/index.js.map +1 -1
- package/build-module/components/provider/index.js +11 -15
- package/build-module/components/provider/index.js.map +1 -1
- package/build-module/components/provider/index.native.js +1 -3
- package/build-module/components/provider/index.native.js.map +1 -1
- package/build-module/components/provider/use-block-editor-settings.js +1 -1
- package/build-module/components/provider/use-block-editor-settings.js.map +1 -1
- package/build-module/components/resizable-editor/resize-handle.js +1 -3
- package/build-module/components/resizable-editor/resize-handle.js.map +1 -1
- package/build-module/components/save-publish-panels/index.js +1 -3
- package/build-module/components/save-publish-panels/index.js.map +1 -1
- package/build-module/components/sidebar/header.js +3 -3
- package/build-module/components/sidebar/header.js.map +1 -1
- package/build-module/components/sidebar/index.js +5 -6
- package/build-module/components/sidebar/index.js.map +1 -1
- package/build-module/components/sidebar/post-summary.js +1 -3
- package/build-module/components/sidebar/post-summary.js.map +1 -1
- package/build-module/components/site-discussion/index.js +1 -3
- package/build-module/components/site-discussion/index.js.map +1 -1
- package/build-module/components/start-template-options/index.js +1 -2
- package/build-module/components/start-template-options/index.js.map +1 -1
- package/build-module/components/table-of-contents/panel.js +1 -3
- package/build-module/components/table-of-contents/panel.js.map +1 -1
- package/build-module/components/template-part-menu-items/convert-to-template-part.js +1 -3
- package/build-module/components/template-part-menu-items/convert-to-template-part.js.map +1 -1
- package/build-module/components/template-validation-notice/index.js +1 -3
- package/build-module/components/template-validation-notice/index.js.map +1 -1
- package/build-module/components/text-editor/index.js +1 -2
- package/build-module/components/text-editor/index.js.map +1 -1
- package/build-module/components/time-to-read/index.js +2 -2
- package/build-module/components/time-to-read/index.js.map +1 -1
- package/build-module/components/visual-editor/edit-template-blocks-notification.js +4 -1
- package/build-module/components/visual-editor/edit-template-blocks-notification.js.map +1 -1
- package/build-module/components/visual-editor/index.js +26 -29
- package/build-module/components/visual-editor/index.js.map +1 -1
- package/build-module/components/visual-editor/use-select-nearest-editable-block.js.map +1 -1
- package/build-module/components/visual-editor/use-zoom-out-mode-exit.js +46 -0
- package/build-module/components/visual-editor/use-zoom-out-mode-exit.js.map +1 -0
- package/build-module/components/zoom-out-toggle/index.js +37 -5
- package/build-module/components/zoom-out-toggle/index.js.map +1 -1
- package/build-module/dataviews/actions/duplicate-template-part.js +4 -4
- package/build-module/dataviews/actions/duplicate-template-part.js.map +1 -1
- package/build-module/hooks/pattern-overrides.js +1 -3
- package/build-module/hooks/pattern-overrides.js.map +1 -1
- package/build-module/private-apis.js +1 -2
- package/build-module/private-apis.js.map +1 -1
- package/build-module/store/actions.js +30 -4
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/constants.js +1 -0
- package/build-module/store/constants.js.map +1 -1
- package/build-module/store/local-autosave.js.map +1 -1
- package/build-module/store/private-actions.js +9 -8
- package/build-module/store/private-actions.js.map +1 -1
- package/build-module/store/selectors.js +24 -2
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/media-upload/index.js.map +1 -1
- package/build-module/utils/pageTypeBadge.js +45 -0
- package/build-module/utils/pageTypeBadge.js.map +1 -0
- package/build-module/utils/terms.js +2 -2
- package/build-module/utils/terms.js.map +1 -1
- package/build-style/style-rtl.css +116 -59
- package/build-style/style.css +116 -59
- package/build-types/bindings/api.d.ts +0 -13
- package/build-types/bindings/api.d.ts.map +1 -1
- package/build-types/bindings/post-meta.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/add-comment.d.ts +15 -0
- package/build-types/components/collab-sidebar/add-comment.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/comment-button-toolbar.d.ts +5 -0
- package/build-types/components/collab-sidebar/comment-button-toolbar.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/comment-button.d.ts +5 -0
- package/build-types/components/collab-sidebar/comment-button.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/comments.d.ts +19 -0
- package/build-types/components/collab-sidebar/comments.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/constants.d.ts +2 -0
- package/build-types/components/collab-sidebar/constants.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/index.d.ts +5 -0
- package/build-types/components/collab-sidebar/index.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/utils.d.ts +8 -0
- package/build-types/components/collab-sidebar/utils.d.ts.map +1 -0
- package/build-types/components/commands/index.d.ts.map +1 -1
- package/build-types/components/document-bar/index.d.ts.map +1 -1
- package/build-types/components/document-tools/index.d.ts.map +1 -1
- package/build-types/components/editor-interface/index.d.ts +1 -2
- package/build-types/components/editor-interface/index.d.ts.map +1 -1
- package/build-types/components/global-styles-provider/index.d.ts.map +1 -1
- package/build-types/components/header/index.d.ts.map +1 -1
- package/build-types/components/inserter-sidebar/index.d.ts.map +1 -1
- package/build-types/components/page-attributes/parent.d.ts.map +1 -1
- package/build-types/components/plugin-more-menu-item/index.d.ts +62 -2
- package/build-types/components/plugin-more-menu-item/index.d.ts.map +1 -1
- package/build-types/components/plugin-preview-menu-item/index.d.ts +41 -2
- package/build-types/components/plugin-preview-menu-item/index.d.ts.map +1 -1
- package/build-types/components/plugin-sidebar/index.d.ts.map +1 -1
- package/build-types/components/post-author/panel.d.ts.map +1 -1
- package/build-types/components/post-card-panel/index.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/flat-term-selector.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts.map +1 -1
- package/build-types/components/post-template/classic-theme.d.ts.map +1 -1
- package/build-types/components/post-url/index.d.ts.map +1 -1
- package/build-types/components/post-url/panel.d.ts.map +1 -1
- package/build-types/components/preview-dropdown/index.d.ts.map +1 -1
- package/build-types/components/provider/index.d.ts.map +1 -1
- package/build-types/components/sidebar/index.d.ts.map +1 -1
- package/build-types/components/visual-editor/edit-template-blocks-notification.d.ts.map +1 -1
- package/build-types/components/visual-editor/index.d.ts.map +1 -1
- package/build-types/components/visual-editor/use-zoom-out-mode-exit.d.ts +5 -0
- package/build-types/components/visual-editor/use-zoom-out-mode-exit.d.ts.map +1 -0
- package/build-types/components/zoom-out-toggle/index.d.ts +3 -1
- package/build-types/components/zoom-out-toggle/index.d.ts.map +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/store/actions.d.ts +1 -4
- package/build-types/store/actions.d.ts.map +1 -1
- package/build-types/store/selectors.d.ts +21 -0
- package/build-types/store/selectors.d.ts.map +1 -1
- package/build-types/utils/pageTypeBadge.d.ts +5 -0
- package/build-types/utils/pageTypeBadge.d.ts.map +1 -0
- package/build-types/utils/terms.d.ts.map +1 -1
- package/package.json +39 -38
- package/src/bindings/api.js +1 -32
- package/src/bindings/post-meta.js +1 -0
- package/src/components/collab-sidebar/add-comment.js +124 -0
- package/src/components/collab-sidebar/comment-button-toolbar.js +29 -0
- package/src/components/collab-sidebar/comment-button.js +31 -0
- package/src/components/collab-sidebar/comments.js +404 -0
- package/src/components/collab-sidebar/constants.js +1 -0
- package/src/components/collab-sidebar/index.js +307 -0
- package/src/components/collab-sidebar/style.scss +111 -0
- package/src/components/collab-sidebar/utils.js +9 -0
- package/src/components/commands/index.js +9 -7
- package/src/components/document-bar/index.js +15 -7
- package/src/components/document-bar/style.scss +0 -4
- package/src/components/document-tools/index.js +2 -8
- package/src/components/editor-interface/index.js +4 -18
- package/src/components/entities-saved-states/index.js +2 -2
- package/src/components/global-keyboard-shortcuts/register-shortcuts.js +3 -3
- package/src/components/global-styles-provider/index.js +20 -6
- package/src/components/header/index.js +3 -1
- package/src/components/header/style.scss +1 -0
- package/src/components/inserter-sidebar/index.js +3 -6
- package/src/components/page-attributes/parent.js +6 -4
- package/src/components/plugin-more-menu-item/index.js +12 -11
- package/src/components/plugin-preview-menu-item/index.js +14 -13
- package/src/components/plugin-sidebar/index.js +0 -13
- package/src/components/post-actions/index.js +8 -11
- package/src/components/post-author/panel.js +4 -2
- package/src/components/post-card-panel/index.js +9 -43
- package/src/components/post-card-panel/style.scss +1 -9
- package/src/components/post-content-information/index.js +1 -1
- package/src/components/post-featured-image/index.js +31 -16
- package/src/components/post-featured-image/style.scss +5 -2
- package/src/components/post-last-revision/index.js +1 -1
- package/src/components/post-saved-state/test/__snapshots__/index.js.snap +1 -1
- package/src/components/post-schedule/label.js +1 -1
- package/src/components/post-sticky/test/index.js +6 -6
- package/src/components/post-taxonomies/flat-term-selector.js +15 -4
- package/src/components/post-taxonomies/hierarchical-term-selector.js +3 -2
- package/src/components/post-template/classic-theme.js +1 -2
- package/src/components/post-url/index.js +67 -55
- package/src/components/post-url/panel.js +61 -35
- package/src/components/post-url/style.scss +21 -3
- package/src/components/preview-dropdown/index.js +0 -2
- package/src/components/provider/index.js +32 -24
- package/src/components/provider/use-block-editor-settings.js +1 -1
- package/src/components/sidebar/header.js +3 -2
- package/src/components/sidebar/index.js +5 -3
- package/src/components/time-to-read/index.js +3 -3
- package/src/components/visual-editor/edit-template-blocks-notification.js +5 -1
- package/src/components/visual-editor/index.js +32 -39
- package/src/components/visual-editor/use-zoom-out-mode-exit.js +49 -0
- package/src/components/zoom-out-toggle/index.js +39 -5
- package/src/dataviews/actions/duplicate-template-part.tsx +3 -3
- package/src/private-apis.js +1 -5
- package/src/store/actions.js +33 -4
- package/src/store/private-actions.js +3 -3
- package/src/store/selectors.js +24 -2
- package/src/style.scss +1 -0
- package/src/utils/pageTypeBadge.js +41 -0
- package/src/utils/terms.js +4 -2
- package/src/utils/test/terms.js +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -117,23 +117,6 @@
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.components-panel__header.interface-complementary-area-header__small {
|
|
121
|
-
background: #fff;
|
|
122
|
-
padding-left: 4px;
|
|
123
|
-
}
|
|
124
|
-
.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title {
|
|
125
|
-
overflow: hidden;
|
|
126
|
-
text-overflow: ellipsis;
|
|
127
|
-
white-space: nowrap;
|
|
128
|
-
width: 100%;
|
|
129
|
-
margin: 0;
|
|
130
|
-
}
|
|
131
|
-
@media (min-width: 782px) {
|
|
132
|
-
.components-panel__header.interface-complementary-area-header__small {
|
|
133
|
-
display: none;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
120
|
.interface-complementary-area-header {
|
|
138
121
|
background: #fff;
|
|
139
122
|
padding-left: 12px;
|
|
@@ -142,18 +125,6 @@
|
|
|
142
125
|
.interface-complementary-area-header .interface-complementary-area-header__title {
|
|
143
126
|
margin: 0;
|
|
144
127
|
}
|
|
145
|
-
.interface-complementary-area-header .components-button.has-icon {
|
|
146
|
-
display: none;
|
|
147
|
-
margin-right: auto;
|
|
148
|
-
}
|
|
149
|
-
.interface-complementary-area-header .components-button.has-icon ~ .components-button {
|
|
150
|
-
margin-right: 0;
|
|
151
|
-
}
|
|
152
|
-
@media (min-width: 782px) {
|
|
153
|
-
.interface-complementary-area-header .components-button.has-icon {
|
|
154
|
-
display: flex;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
128
|
|
|
158
129
|
.interface-complementary-area {
|
|
159
130
|
background: #fff;
|
|
@@ -182,12 +153,7 @@
|
|
|
182
153
|
z-index: 1;
|
|
183
154
|
}
|
|
184
155
|
.interface-complementary-area .components-panel__header.editor-sidebar__panel-tabs {
|
|
185
|
-
top:
|
|
186
|
-
}
|
|
187
|
-
@media (min-width: 782px) {
|
|
188
|
-
.interface-complementary-area .components-panel__header.editor-sidebar__panel-tabs {
|
|
189
|
-
top: 0;
|
|
190
|
-
}
|
|
156
|
+
top: 0;
|
|
191
157
|
}
|
|
192
158
|
.interface-complementary-area p:not(.components-base-control__help, .components-form-token-field__help) {
|
|
193
159
|
margin-top: 0;
|
|
@@ -591,6 +557,97 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
591
557
|
border-top-width: 0;
|
|
592
558
|
}
|
|
593
559
|
|
|
560
|
+
.editor-collab-sidebar-panel {
|
|
561
|
+
padding: 16px;
|
|
562
|
+
}
|
|
563
|
+
.editor-collab-sidebar-panel__thread {
|
|
564
|
+
position: relative;
|
|
565
|
+
padding: 16px;
|
|
566
|
+
border-radius: 8px;
|
|
567
|
+
border: 1px solid #ddd;
|
|
568
|
+
background-color: #f0f0f0;
|
|
569
|
+
margin-bottom: 16px;
|
|
570
|
+
}
|
|
571
|
+
.editor-collab-sidebar-panel__active-thread {
|
|
572
|
+
border: 1.5px solid #3858e9;
|
|
573
|
+
background-color: #fff;
|
|
574
|
+
box-shadow: 0 5.5px 7.8px -0.3px rgba(0, 0, 0, 0.102);
|
|
575
|
+
}
|
|
576
|
+
.editor-collab-sidebar-panel__comment-field {
|
|
577
|
+
flex: 1;
|
|
578
|
+
}
|
|
579
|
+
.editor-collab-sidebar-panel__child-thread {
|
|
580
|
+
margin-top: 15px;
|
|
581
|
+
}
|
|
582
|
+
.editor-collab-sidebar-panel__user-name {
|
|
583
|
+
font-size: 12px;
|
|
584
|
+
font-weight: 400;
|
|
585
|
+
line-height: 16px;
|
|
586
|
+
text-align: right;
|
|
587
|
+
color: #757575;
|
|
588
|
+
text-transform: capitalize;
|
|
589
|
+
}
|
|
590
|
+
.editor-collab-sidebar-panel__user-time {
|
|
591
|
+
font-size: 12px;
|
|
592
|
+
font-weight: 400;
|
|
593
|
+
line-height: 16px;
|
|
594
|
+
text-align: right;
|
|
595
|
+
color: #757575;
|
|
596
|
+
}
|
|
597
|
+
.editor-collab-sidebar-panel__user-comment {
|
|
598
|
+
font-size: 13px;
|
|
599
|
+
font-weight: 400;
|
|
600
|
+
line-height: 20px;
|
|
601
|
+
text-align: right;
|
|
602
|
+
color: #1e1e1e;
|
|
603
|
+
}
|
|
604
|
+
.editor-collab-sidebar-panel__user-comment p {
|
|
605
|
+
margin-bottom: 0;
|
|
606
|
+
}
|
|
607
|
+
.editor-collab-sidebar-panel__user-avatar {
|
|
608
|
+
border-radius: 50%;
|
|
609
|
+
flex-shrink: 0;
|
|
610
|
+
}
|
|
611
|
+
.editor-collab-sidebar-panel__thread-overlay {
|
|
612
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
613
|
+
width: 100%;
|
|
614
|
+
height: 100%;
|
|
615
|
+
text-align: center;
|
|
616
|
+
position: absolute;
|
|
617
|
+
top: 0;
|
|
618
|
+
right: 0;
|
|
619
|
+
z-index: 1;
|
|
620
|
+
padding: 15px;
|
|
621
|
+
border-radius: 8px;
|
|
622
|
+
color: #fff;
|
|
623
|
+
}
|
|
624
|
+
.editor-collab-sidebar-panel__thread-overlay p {
|
|
625
|
+
margin-bottom: 15px;
|
|
626
|
+
}
|
|
627
|
+
.editor-collab-sidebar-panel__thread-overlay button {
|
|
628
|
+
padding: 4px 10px;
|
|
629
|
+
color: #fff;
|
|
630
|
+
}
|
|
631
|
+
.editor-collab-sidebar-panel__comment-status {
|
|
632
|
+
margin-right: auto;
|
|
633
|
+
}
|
|
634
|
+
.editor-collab-sidebar-panel__comment-status button.has-icon:not(.has-text) {
|
|
635
|
+
min-width: 24px;
|
|
636
|
+
padding: 0;
|
|
637
|
+
width: 24px;
|
|
638
|
+
height: 24px;
|
|
639
|
+
flex-shrink: 0;
|
|
640
|
+
}
|
|
641
|
+
.editor-collab-sidebar-panel__comment-dropdown-menu {
|
|
642
|
+
flex-shrink: 0;
|
|
643
|
+
}
|
|
644
|
+
.editor-collab-sidebar-panel__comment-dropdown-menu button.has-icon {
|
|
645
|
+
min-width: 24px;
|
|
646
|
+
padding: 0;
|
|
647
|
+
width: 24px;
|
|
648
|
+
height: 24px;
|
|
649
|
+
}
|
|
650
|
+
|
|
594
651
|
.editor-collapsible-block-toolbar {
|
|
595
652
|
overflow: hidden;
|
|
596
653
|
display: flex;
|
|
@@ -775,9 +832,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
775
832
|
overflow: hidden;
|
|
776
833
|
text-overflow: ellipsis;
|
|
777
834
|
}
|
|
778
|
-
.editor-document-bar.is-global .editor-document-bar__post-title {
|
|
779
|
-
color: var(--wp-block-synced-color);
|
|
780
|
-
}
|
|
781
835
|
|
|
782
836
|
.editor-document-bar__post-type-label {
|
|
783
837
|
flex: 0;
|
|
@@ -1170,6 +1224,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1170
1224
|
.show-icon-labels.interface-pinned-items .components-button.has-icon::after,
|
|
1171
1225
|
.show-icon-labels .editor-header .components-button.has-icon::after {
|
|
1172
1226
|
content: attr(aria-label);
|
|
1227
|
+
white-space: nowrap;
|
|
1173
1228
|
}
|
|
1174
1229
|
.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true],
|
|
1175
1230
|
.show-icon-labels .editor-header .components-button.has-icon[aria-disabled=true] {
|
|
@@ -1509,16 +1564,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1509
1564
|
margin-bottom: 8px;
|
|
1510
1565
|
}
|
|
1511
1566
|
|
|
1512
|
-
.editor-post-card-panel__icon.is-sync {
|
|
1513
|
-
fill: var(--wp-block-synced-color);
|
|
1514
|
-
}
|
|
1515
|
-
.editor-post-card-panel__icon.is-sync + .editor-post-card-panel__title {
|
|
1516
|
-
color: var(--wp-block-synced-color);
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
1567
|
.editor-post-card-panel__title-badge {
|
|
1520
1568
|
background: #f0f0f0;
|
|
1521
|
-
color: #
|
|
1569
|
+
color: #2f2f2f;
|
|
1522
1570
|
padding: 0 4px;
|
|
1523
1571
|
border-radius: 2px;
|
|
1524
1572
|
font-size: 12px;
|
|
@@ -1591,7 +1639,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1591
1639
|
.editor-post-featured-image__preview {
|
|
1592
1640
|
width: 100%;
|
|
1593
1641
|
padding: 0;
|
|
1594
|
-
transition: all 0.1s ease-out;
|
|
1595
1642
|
box-shadow: 0 0 0 0 var(--wp-admin-theme-color);
|
|
1596
1643
|
overflow: hidden;
|
|
1597
1644
|
outline-offset: -1px;
|
|
@@ -1599,13 +1646,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1599
1646
|
display: flex;
|
|
1600
1647
|
justify-content: center;
|
|
1601
1648
|
}
|
|
1602
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1603
|
-
.editor-post-featured-image__toggle,
|
|
1604
|
-
.editor-post-featured-image__preview {
|
|
1605
|
-
transition-duration: 0s;
|
|
1606
|
-
transition-delay: 0s;
|
|
1607
|
-
}
|
|
1608
|
-
}
|
|
1609
1649
|
|
|
1610
1650
|
.editor-post-featured-image__preview {
|
|
1611
1651
|
height: auto !important;
|
|
@@ -1621,6 +1661,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1621
1661
|
.editor-post-featured-image__toggle {
|
|
1622
1662
|
box-shadow: inset 0 0 0 1px #ccc;
|
|
1623
1663
|
}
|
|
1664
|
+
.editor-post-featured-image__toggle:focus:not(:disabled) {
|
|
1665
|
+
box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1666
|
+
}
|
|
1624
1667
|
|
|
1625
1668
|
.editor-post-featured-image__actions {
|
|
1626
1669
|
bottom: 0;
|
|
@@ -1714,8 +1757,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1714
1757
|
align-items: center;
|
|
1715
1758
|
padding: 6px 0;
|
|
1716
1759
|
line-height: 20px;
|
|
1717
|
-
|
|
1718
|
-
hyphens: auto;
|
|
1760
|
+
hyphens: auto;
|
|
1719
1761
|
}
|
|
1720
1762
|
|
|
1721
1763
|
.editor-post-panel__row-control {
|
|
@@ -2185,12 +2227,15 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2185
2227
|
min-width: 248px;
|
|
2186
2228
|
margin: 8px;
|
|
2187
2229
|
}
|
|
2188
|
-
.editor-post-url__link
|
|
2230
|
+
.editor-post-url__link,
|
|
2231
|
+
.editor-post-url__front-page-link {
|
|
2189
2232
|
direction: ltr;
|
|
2190
2233
|
word-break: break-word;
|
|
2191
|
-
margin-top: 4px;
|
|
2192
|
-
color: #757575;
|
|
2193
2234
|
}
|
|
2235
|
+
.editor-post-url__front-page-link {
|
|
2236
|
+
padding: 6px 12px 6px 0;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2194
2239
|
.editor-post-url__link-slug {
|
|
2195
2240
|
font-weight: 600;
|
|
2196
2241
|
}
|
|
@@ -2203,6 +2248,18 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2203
2248
|
word-break: break-word;
|
|
2204
2249
|
}
|
|
2205
2250
|
|
|
2251
|
+
.editor-post-url__intro {
|
|
2252
|
+
margin: 0;
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
.editor-post-url__permalink {
|
|
2256
|
+
margin-top: 8px;
|
|
2257
|
+
margin-bottom: 0;
|
|
2258
|
+
}
|
|
2259
|
+
.editor-post-url__permalink-visual-label {
|
|
2260
|
+
display: block;
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2206
2263
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio] {
|
|
2207
2264
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2208
2265
|
padding: 6px 8px;
|
package/build-style/style.css
CHANGED
|
@@ -117,23 +117,6 @@
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.components-panel__header.interface-complementary-area-header__small {
|
|
121
|
-
background: #fff;
|
|
122
|
-
padding-right: 4px;
|
|
123
|
-
}
|
|
124
|
-
.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title {
|
|
125
|
-
overflow: hidden;
|
|
126
|
-
text-overflow: ellipsis;
|
|
127
|
-
white-space: nowrap;
|
|
128
|
-
width: 100%;
|
|
129
|
-
margin: 0;
|
|
130
|
-
}
|
|
131
|
-
@media (min-width: 782px) {
|
|
132
|
-
.components-panel__header.interface-complementary-area-header__small {
|
|
133
|
-
display: none;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
120
|
.interface-complementary-area-header {
|
|
138
121
|
background: #fff;
|
|
139
122
|
padding-right: 12px;
|
|
@@ -142,18 +125,6 @@
|
|
|
142
125
|
.interface-complementary-area-header .interface-complementary-area-header__title {
|
|
143
126
|
margin: 0;
|
|
144
127
|
}
|
|
145
|
-
.interface-complementary-area-header .components-button.has-icon {
|
|
146
|
-
display: none;
|
|
147
|
-
margin-left: auto;
|
|
148
|
-
}
|
|
149
|
-
.interface-complementary-area-header .components-button.has-icon ~ .components-button {
|
|
150
|
-
margin-left: 0;
|
|
151
|
-
}
|
|
152
|
-
@media (min-width: 782px) {
|
|
153
|
-
.interface-complementary-area-header .components-button.has-icon {
|
|
154
|
-
display: flex;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
128
|
|
|
158
129
|
.interface-complementary-area {
|
|
159
130
|
background: #fff;
|
|
@@ -182,12 +153,7 @@
|
|
|
182
153
|
z-index: 1;
|
|
183
154
|
}
|
|
184
155
|
.interface-complementary-area .components-panel__header.editor-sidebar__panel-tabs {
|
|
185
|
-
top:
|
|
186
|
-
}
|
|
187
|
-
@media (min-width: 782px) {
|
|
188
|
-
.interface-complementary-area .components-panel__header.editor-sidebar__panel-tabs {
|
|
189
|
-
top: 0;
|
|
190
|
-
}
|
|
156
|
+
top: 0;
|
|
191
157
|
}
|
|
192
158
|
.interface-complementary-area p:not(.components-base-control__help, .components-form-token-field__help) {
|
|
193
159
|
margin-top: 0;
|
|
@@ -591,6 +557,97 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
591
557
|
border-top-width: 0;
|
|
592
558
|
}
|
|
593
559
|
|
|
560
|
+
.editor-collab-sidebar-panel {
|
|
561
|
+
padding: 16px;
|
|
562
|
+
}
|
|
563
|
+
.editor-collab-sidebar-panel__thread {
|
|
564
|
+
position: relative;
|
|
565
|
+
padding: 16px;
|
|
566
|
+
border-radius: 8px;
|
|
567
|
+
border: 1px solid #ddd;
|
|
568
|
+
background-color: #f0f0f0;
|
|
569
|
+
margin-bottom: 16px;
|
|
570
|
+
}
|
|
571
|
+
.editor-collab-sidebar-panel__active-thread {
|
|
572
|
+
border: 1.5px solid #3858e9;
|
|
573
|
+
background-color: #fff;
|
|
574
|
+
box-shadow: 0 5.5px 7.8px -0.3px rgba(0, 0, 0, 0.102);
|
|
575
|
+
}
|
|
576
|
+
.editor-collab-sidebar-panel__comment-field {
|
|
577
|
+
flex: 1;
|
|
578
|
+
}
|
|
579
|
+
.editor-collab-sidebar-panel__child-thread {
|
|
580
|
+
margin-top: 15px;
|
|
581
|
+
}
|
|
582
|
+
.editor-collab-sidebar-panel__user-name {
|
|
583
|
+
font-size: 12px;
|
|
584
|
+
font-weight: 400;
|
|
585
|
+
line-height: 16px;
|
|
586
|
+
text-align: left;
|
|
587
|
+
color: #757575;
|
|
588
|
+
text-transform: capitalize;
|
|
589
|
+
}
|
|
590
|
+
.editor-collab-sidebar-panel__user-time {
|
|
591
|
+
font-size: 12px;
|
|
592
|
+
font-weight: 400;
|
|
593
|
+
line-height: 16px;
|
|
594
|
+
text-align: left;
|
|
595
|
+
color: #757575;
|
|
596
|
+
}
|
|
597
|
+
.editor-collab-sidebar-panel__user-comment {
|
|
598
|
+
font-size: 13px;
|
|
599
|
+
font-weight: 400;
|
|
600
|
+
line-height: 20px;
|
|
601
|
+
text-align: left;
|
|
602
|
+
color: #1e1e1e;
|
|
603
|
+
}
|
|
604
|
+
.editor-collab-sidebar-panel__user-comment p {
|
|
605
|
+
margin-bottom: 0;
|
|
606
|
+
}
|
|
607
|
+
.editor-collab-sidebar-panel__user-avatar {
|
|
608
|
+
border-radius: 50%;
|
|
609
|
+
flex-shrink: 0;
|
|
610
|
+
}
|
|
611
|
+
.editor-collab-sidebar-panel__thread-overlay {
|
|
612
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
613
|
+
width: 100%;
|
|
614
|
+
height: 100%;
|
|
615
|
+
text-align: center;
|
|
616
|
+
position: absolute;
|
|
617
|
+
top: 0;
|
|
618
|
+
left: 0;
|
|
619
|
+
z-index: 1;
|
|
620
|
+
padding: 15px;
|
|
621
|
+
border-radius: 8px;
|
|
622
|
+
color: #fff;
|
|
623
|
+
}
|
|
624
|
+
.editor-collab-sidebar-panel__thread-overlay p {
|
|
625
|
+
margin-bottom: 15px;
|
|
626
|
+
}
|
|
627
|
+
.editor-collab-sidebar-panel__thread-overlay button {
|
|
628
|
+
padding: 4px 10px;
|
|
629
|
+
color: #fff;
|
|
630
|
+
}
|
|
631
|
+
.editor-collab-sidebar-panel__comment-status {
|
|
632
|
+
margin-left: auto;
|
|
633
|
+
}
|
|
634
|
+
.editor-collab-sidebar-panel__comment-status button.has-icon:not(.has-text) {
|
|
635
|
+
min-width: 24px;
|
|
636
|
+
padding: 0;
|
|
637
|
+
width: 24px;
|
|
638
|
+
height: 24px;
|
|
639
|
+
flex-shrink: 0;
|
|
640
|
+
}
|
|
641
|
+
.editor-collab-sidebar-panel__comment-dropdown-menu {
|
|
642
|
+
flex-shrink: 0;
|
|
643
|
+
}
|
|
644
|
+
.editor-collab-sidebar-panel__comment-dropdown-menu button.has-icon {
|
|
645
|
+
min-width: 24px;
|
|
646
|
+
padding: 0;
|
|
647
|
+
width: 24px;
|
|
648
|
+
height: 24px;
|
|
649
|
+
}
|
|
650
|
+
|
|
594
651
|
.editor-collapsible-block-toolbar {
|
|
595
652
|
overflow: hidden;
|
|
596
653
|
display: flex;
|
|
@@ -775,9 +832,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
775
832
|
overflow: hidden;
|
|
776
833
|
text-overflow: ellipsis;
|
|
777
834
|
}
|
|
778
|
-
.editor-document-bar.is-global .editor-document-bar__post-title {
|
|
779
|
-
color: var(--wp-block-synced-color);
|
|
780
|
-
}
|
|
781
835
|
|
|
782
836
|
.editor-document-bar__post-type-label {
|
|
783
837
|
flex: 0;
|
|
@@ -1170,6 +1224,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1170
1224
|
.show-icon-labels.interface-pinned-items .components-button.has-icon::after,
|
|
1171
1225
|
.show-icon-labels .editor-header .components-button.has-icon::after {
|
|
1172
1226
|
content: attr(aria-label);
|
|
1227
|
+
white-space: nowrap;
|
|
1173
1228
|
}
|
|
1174
1229
|
.show-icon-labels.interface-pinned-items .components-button.has-icon[aria-disabled=true],
|
|
1175
1230
|
.show-icon-labels .editor-header .components-button.has-icon[aria-disabled=true] {
|
|
@@ -1509,16 +1564,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1509
1564
|
margin-bottom: 8px;
|
|
1510
1565
|
}
|
|
1511
1566
|
|
|
1512
|
-
.editor-post-card-panel__icon.is-sync {
|
|
1513
|
-
fill: var(--wp-block-synced-color);
|
|
1514
|
-
}
|
|
1515
|
-
.editor-post-card-panel__icon.is-sync + .editor-post-card-panel__title {
|
|
1516
|
-
color: var(--wp-block-synced-color);
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
1567
|
.editor-post-card-panel__title-badge {
|
|
1520
1568
|
background: #f0f0f0;
|
|
1521
|
-
color: #
|
|
1569
|
+
color: #2f2f2f;
|
|
1522
1570
|
padding: 0 4px;
|
|
1523
1571
|
border-radius: 2px;
|
|
1524
1572
|
font-size: 12px;
|
|
@@ -1591,7 +1639,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1591
1639
|
.editor-post-featured-image__preview {
|
|
1592
1640
|
width: 100%;
|
|
1593
1641
|
padding: 0;
|
|
1594
|
-
transition: all 0.1s ease-out;
|
|
1595
1642
|
box-shadow: 0 0 0 0 var(--wp-admin-theme-color);
|
|
1596
1643
|
overflow: hidden;
|
|
1597
1644
|
outline-offset: -1px;
|
|
@@ -1599,13 +1646,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1599
1646
|
display: flex;
|
|
1600
1647
|
justify-content: center;
|
|
1601
1648
|
}
|
|
1602
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1603
|
-
.editor-post-featured-image__toggle,
|
|
1604
|
-
.editor-post-featured-image__preview {
|
|
1605
|
-
transition-duration: 0s;
|
|
1606
|
-
transition-delay: 0s;
|
|
1607
|
-
}
|
|
1608
|
-
}
|
|
1609
1649
|
|
|
1610
1650
|
.editor-post-featured-image__preview {
|
|
1611
1651
|
height: auto !important;
|
|
@@ -1621,6 +1661,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1621
1661
|
.editor-post-featured-image__toggle {
|
|
1622
1662
|
box-shadow: inset 0 0 0 1px #ccc;
|
|
1623
1663
|
}
|
|
1664
|
+
.editor-post-featured-image__toggle:focus:not(:disabled) {
|
|
1665
|
+
box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1666
|
+
}
|
|
1624
1667
|
|
|
1625
1668
|
.editor-post-featured-image__actions {
|
|
1626
1669
|
bottom: 0;
|
|
@@ -1714,8 +1757,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1714
1757
|
align-items: center;
|
|
1715
1758
|
padding: 6px 0;
|
|
1716
1759
|
line-height: 20px;
|
|
1717
|
-
|
|
1718
|
-
hyphens: auto;
|
|
1760
|
+
hyphens: auto;
|
|
1719
1761
|
}
|
|
1720
1762
|
|
|
1721
1763
|
.editor-post-panel__row-control {
|
|
@@ -2187,14 +2229,17 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2187
2229
|
}
|
|
2188
2230
|
|
|
2189
2231
|
/* rtl:begin:ignore */
|
|
2190
|
-
.editor-post-url__link
|
|
2232
|
+
.editor-post-url__link,
|
|
2233
|
+
.editor-post-url__front-page-link {
|
|
2191
2234
|
direction: ltr;
|
|
2192
2235
|
word-break: break-word;
|
|
2193
|
-
margin-top: 4px;
|
|
2194
|
-
color: #757575;
|
|
2195
2236
|
}
|
|
2196
2237
|
|
|
2197
2238
|
/* rtl:end:ignore */
|
|
2239
|
+
.editor-post-url__front-page-link {
|
|
2240
|
+
padding: 6px 0 6px 12px;
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2198
2243
|
.editor-post-url__link-slug {
|
|
2199
2244
|
font-weight: 600;
|
|
2200
2245
|
}
|
|
@@ -2207,6 +2252,18 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2207
2252
|
word-break: break-word;
|
|
2208
2253
|
}
|
|
2209
2254
|
|
|
2255
|
+
.editor-post-url__intro {
|
|
2256
|
+
margin: 0;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
.editor-post-url__permalink {
|
|
2260
|
+
margin-top: 8px;
|
|
2261
|
+
margin-bottom: 0;
|
|
2262
|
+
}
|
|
2263
|
+
.editor-post-url__permalink-visual-label {
|
|
2264
|
+
display: block;
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2210
2267
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio] {
|
|
2211
2268
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2212
2269
|
padding: 6px 8px;
|
|
@@ -9,17 +9,4 @@
|
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
export function registerCoreBlockBindingsSources(): void;
|
|
12
|
-
/**
|
|
13
|
-
* Function to bootstrap core block bindings sources defined in the server.
|
|
14
|
-
*
|
|
15
|
-
* @param {Object} sources Object containing the sources to bootstrap.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```js
|
|
19
|
-
* import { bootstrapBlockBindingsSourcesFromServer } from '@wordpress/editor';
|
|
20
|
-
*
|
|
21
|
-
* bootstrapBlockBindingsSourcesFromServer( sources );
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export function bootstrapBlockBindingsSourcesFromServer(sources: Object): void;
|
|
25
12
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/bindings/api.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/bindings/api.js"],"names":[],"mappings":"AAWA;;;;;;;;;GASG;AACH,yDAGC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":";;IA4EC;;;;WAYC;IACD;;;;aAcC;IACD;;;;gBAsCC;IACD;;;eAEC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renders the UI for adding a comment in the Gutenberg editor's collaboration sidebar.
|
|
3
|
+
*
|
|
4
|
+
* @param {Object} props - The component props.
|
|
5
|
+
* @param {Function} props.onSubmit - A callback function to be called when the user submits a comment.
|
|
6
|
+
* @param {boolean} props.showCommentBoard - The function to edit the comment.
|
|
7
|
+
* @param {Function} props.setShowCommentBoard - The function to delete the comment.
|
|
8
|
+
* @return {JSX.Element} The rendered comment input UI.
|
|
9
|
+
*/
|
|
10
|
+
export function AddComment({ onSubmit, showCommentBoard, setShowCommentBoard, }: {
|
|
11
|
+
onSubmit: Function;
|
|
12
|
+
showCommentBoard: boolean;
|
|
13
|
+
setShowCommentBoard: Function;
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
//# sourceMappingURL=add-comment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-comment.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-comment.js"],"names":[],"mappings":"AAoBA;;;;;;;;GAQG;AACH,iFALG;IAAwB,QAAQ;IACR,gBAAgB,EAAhC,OAAO;IACS,mBAAmB;CAC3C,GAAS,GAAG,CAAC,OAAO,CAgGtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment-button-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-button-toolbar.js"],"names":[],"mappings":";AAeA;;gCAWC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment-button.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-button.js"],"names":[],"mappings":";AAgBA;;gCAYC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renders the Comments component.
|
|
3
|
+
*
|
|
4
|
+
* @param {Object} props - The component props.
|
|
5
|
+
* @param {Array} props.threads - The array of comment threads.
|
|
6
|
+
* @param {Function} props.onEditComment - The function to handle comment editing.
|
|
7
|
+
* @param {Function} props.onAddReply - The function to add a reply to a comment.
|
|
8
|
+
* @param {Function} props.onCommentDelete - The function to delete a comment.
|
|
9
|
+
* @param {Function} props.onCommentResolve - The function to mark a comment as resolved.
|
|
10
|
+
* @return {JSX.Element} The rendered Comments component.
|
|
11
|
+
*/
|
|
12
|
+
export function Comments({ threads, onEditComment, onAddReply, onCommentDelete, onCommentResolve, }: {
|
|
13
|
+
threads: any[];
|
|
14
|
+
onEditComment: Function;
|
|
15
|
+
onAddReply: Function;
|
|
16
|
+
onCommentDelete: Function;
|
|
17
|
+
onCommentResolve: Function;
|
|
18
|
+
}): JSX.Element;
|
|
19
|
+
//# sourceMappingURL=comments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;GAUG;AACH,qGAPG;IAAwB,OAAO;IACP,aAAa;IACb,UAAU;IACV,eAAe;IACf,gBAAgB;CACxC,GAAS,GAAG,CAAC,OAAO,CAqNtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/constants.js"],"names":[],"mappings":"AAAA,2DAA4D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAgDA;;GAEG;AACH,4EA+PC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sanitizes a comment string by removing non-printable ASCII characters.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} str - The comment string to sanitize.
|
|
5
|
+
* @return {string} - The sanitized comment string.
|
|
6
|
+
*/
|
|
7
|
+
export function sanitizeCommentString(str: string): string;
|
|
8
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/utils.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,2CAHW,MAAM,GACL,MAAM,CAIjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/commands/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/commands/index.js"],"names":[],"mappings":"AA2UA,4CAWC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"AAoCA;;;;;;;;;;;;;;;;GAgBG;AACH,2CAPG;IAAwB,KAAK,EAArB,MAAM;IAEU,IAAI,EAApB,QAAQ;CAGhB,GAAS,GAAG,CAAC,OAAO,CA6JtB;uBAhLa,OAAO,uBAAuB,EAAE,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-tools/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-tools/index.js"],"names":[],"mappings":";AA0BA;;;gCAwJC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export default function EditorInterface({ className,
|
|
1
|
+
export default function EditorInterface({ className, styles, children, forceIsDirty, contentRef, disableIframe, autoFocus, customSaveButton, customSavePanel, forceDisableBlockTools, title, iframeProps, }: {
|
|
2
2
|
className: any;
|
|
3
|
-
enableRegionNavigation: any;
|
|
4
3
|
styles: any;
|
|
5
4
|
children: any;
|
|
6
5
|
forceIsDirty: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"AAgDA;;;;;;;;;;;;;gCAiLC"}
|