@wordpress/editor 14.12.0 → 14.13.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 +2 -0
- package/README.md +120 -99
- package/build/components/block-settings-menu/plugin-block-settings-menu-item.js +1 -1
- package/build/components/block-settings-menu/plugin-block-settings-menu-item.js.map +1 -1
- package/build/components/collab-sidebar/add-comment.js +17 -65
- package/build/components/collab-sidebar/add-comment.js.map +1 -1
- package/build/components/collab-sidebar/comment-author-info.js +76 -0
- package/build/components/collab-sidebar/comment-author-info.js.map +1 -0
- package/build/components/collab-sidebar/comment-button-toolbar.js +2 -2
- package/build/components/collab-sidebar/comment-button-toolbar.js.map +1 -1
- package/build/components/collab-sidebar/comment-button.js +2 -2
- package/build/components/collab-sidebar/comment-button.js.map +1 -1
- package/build/components/collab-sidebar/comment-form.js +64 -0
- package/build/components/collab-sidebar/comment-form.js.map +1 -0
- package/build/components/collab-sidebar/comments.js +33 -91
- package/build/components/collab-sidebar/comments.js.map +1 -1
- package/build/components/create-template-part-modal/index.js +1 -2
- package/build/components/create-template-part-modal/index.js.map +1 -1
- package/build/components/document-bar/index.js +10 -3
- package/build/components/document-bar/index.js.map +1 -1
- package/build/components/document-outline/check.js +4 -4
- package/build/components/document-outline/check.js.map +1 -1
- package/build/components/document-outline/index.js +8 -8
- package/build/components/document-outline/index.js.map +1 -1
- package/build/components/document-tools/index.js +1 -1
- package/build/components/document-tools/index.js.map +1 -1
- package/build/components/editor-history/redo.js +1 -1
- package/build/components/editor-history/redo.js.map +1 -1
- package/build/components/editor-history/undo.js +1 -1
- package/build/components/editor-history/undo.js.map +1 -1
- package/build/components/editor-interface/content-slot-fill.js +1 -10
- package/build/components/editor-interface/content-slot-fill.js.map +1 -1
- package/build/components/editor-interface/index.js +3 -9
- package/build/components/editor-interface/index.js.map +1 -1
- package/build/components/editor-notices/index.js +1 -1
- package/build/components/editor-notices/index.js.map +1 -1
- package/build/components/editor-snackbars/index.js +1 -1
- package/build/components/editor-snackbars/index.js.map +1 -1
- package/build/components/entities-saved-states/entity-record-item.js +9 -1
- package/build/components/entities-saved-states/entity-record-item.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/page-attributes/check.js +3 -3
- package/build/components/page-attributes/check.js.map +1 -1
- package/build/components/page-attributes/order.js +1 -1
- package/build/components/page-attributes/order.js.map +1 -1
- package/build/components/page-attributes/panel.js +1 -1
- package/build/components/page-attributes/panel.js.map +1 -1
- package/build/components/page-attributes/parent.js +1 -1
- package/build/components/page-attributes/parent.js.map +1 -1
- package/build/components/plugin-document-setting-panel/index.js +2 -2
- package/build/components/plugin-document-setting-panel/index.js.map +1 -1
- package/build/components/plugin-more-menu-item/index.js +2 -1
- package/build/components/plugin-more-menu-item/index.js.map +1 -1
- package/build/components/plugin-post-publish-panel/index.js +2 -2
- package/build/components/plugin-post-publish-panel/index.js.map +1 -1
- package/build/components/plugin-post-status-info/index.js +4 -4
- package/build/components/plugin-post-status-info/index.js.map +1 -1
- package/build/components/plugin-pre-publish-panel/index.js +2 -2
- package/build/components/plugin-pre-publish-panel/index.js.map +1 -1
- package/build/components/plugin-preview-menu-item/index.js +2 -1
- package/build/components/plugin-preview-menu-item/index.js.map +1 -1
- package/build/components/plugin-sidebar/index.js +1 -0
- package/build/components/plugin-sidebar/index.js.map +1 -1
- package/build/components/plugin-sidebar-more-menu-item/index.js +2 -1
- package/build/components/plugin-sidebar-more-menu-item/index.js.map +1 -1
- package/build/components/post-actions/actions.js +3 -3
- package/build/components/post-actions/actions.js.map +1 -1
- package/build/components/post-author/check.js +3 -3
- package/build/components/post-author/check.js.map +1 -1
- package/build/components/post-author/index.js +1 -1
- package/build/components/post-author/index.js.map +1 -1
- package/build/components/post-author/panel.js +1 -1
- package/build/components/post-author/panel.js.map +1 -1
- package/build/components/post-card-panel/index.js +9 -4
- package/build/components/post-card-panel/index.js.map +1 -1
- package/build/components/post-comments/index.js +1 -1
- package/build/components/post-comments/index.js.map +1 -1
- package/build/components/post-discussion/panel.js +1 -1
- package/build/components/post-discussion/panel.js.map +1 -1
- package/build/components/post-excerpt/check.js +3 -3
- package/build/components/post-excerpt/check.js.map +1 -1
- package/build/components/post-excerpt/panel.js +1 -1
- package/build/components/post-excerpt/panel.js.map +1 -1
- package/build/components/post-excerpt/plugin.js +4 -4
- package/build/components/post-excerpt/plugin.js.map +1 -1
- package/build/components/post-featured-image/check.js +3 -3
- package/build/components/post-featured-image/check.js.map +1 -1
- package/build/components/post-featured-image/index.js +39 -9
- package/build/components/post-featured-image/index.js.map +1 -1
- package/build/components/post-featured-image/panel.js +1 -1
- package/build/components/post-featured-image/panel.js.map +1 -1
- package/build/components/post-fields/index.js +70 -0
- package/build/components/post-fields/index.js.map +1 -0
- package/build/components/post-format/check.js +9 -12
- package/build/components/post-format/check.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-format/panel.js +1 -1
- package/build/components/post-format/panel.js.map +1 -1
- package/build/components/post-last-revision/check.js +3 -3
- package/build/components/post-last-revision/check.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-last-revision/panel.js +1 -1
- package/build/components/post-last-revision/panel.js.map +1 -1
- package/build/components/post-locked-modal/index.js +1 -1
- package/build/components/post-locked-modal/index.js.map +1 -1
- package/build/components/post-pending-status/check.js +3 -3
- package/build/components/post-pending-status/check.js.map +1 -1
- package/build/components/post-pending-status/index.js +1 -1
- package/build/components/post-pending-status/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-panel/index.js +5 -2
- package/build/components/post-publish-panel/index.js.map +1 -1
- package/build/components/post-schedule/check.js +3 -3
- package/build/components/post-schedule/check.js.map +1 -1
- package/build/components/post-schedule/index.js +1 -1
- package/build/components/post-schedule/index.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-schedule/panel.js +1 -1
- package/build/components/post-schedule/panel.js.map +1 -1
- package/build/components/post-slug/check.js +3 -3
- package/build/components/post-slug/check.js.map +1 -1
- package/build/components/post-slug/index.js +1 -1
- package/build/components/post-slug/index.js.map +1 -1
- package/build/components/post-sticky/check.js +3 -3
- package/build/components/post-sticky/check.js.map +1 -1
- package/build/components/post-sticky/index.js +1 -1
- package/build/components/post-sticky/index.js.map +1 -1
- package/build/components/post-switch-to-draft-button/index.js +1 -1
- package/build/components/post-switch-to-draft-button/index.js.map +1 -1
- package/build/components/post-sync-status/index.js +1 -1
- package/build/components/post-sync-status/index.js.map +1 -1
- package/build/components/post-taxonomies/check.js +3 -3
- package/build/components/post-taxonomies/check.js.map +1 -1
- package/build/components/post-taxonomies/flat-term-selector.js +1 -1
- package/build/components/post-taxonomies/flat-term-selector.js.map +1 -1
- package/build/components/post-taxonomies/panel.js +16 -13
- package/build/components/post-taxonomies/panel.js.map +1 -1
- package/build/components/post-template/classic-theme.js +2 -2
- package/build/components/post-template/classic-theme.js.map +1 -1
- package/build/components/post-template/panel.js +1 -1
- package/build/components/post-template/panel.js.map +1 -1
- package/build/components/post-text-editor/index.js +1 -1
- package/build/components/post-text-editor/index.js.map +1 -1
- package/build/components/post-title/index.js +20 -18
- package/build/components/post-title/index.js.map +1 -1
- package/build/components/post-title/post-title-raw.js +1 -1
- package/build/components/post-title/post-title-raw.js.map +1 -1
- package/build/components/post-trash/check.js +3 -3
- package/build/components/post-trash/check.js.map +1 -1
- package/build/components/post-trash/index.js +1 -1
- package/build/components/post-trash/index.js.map +1 -1
- package/build/components/post-type-support-check/index.js +6 -6
- package/build/components/post-type-support-check/index.js.map +1 -1
- package/build/components/post-url/check.js +3 -3
- package/build/components/post-url/check.js.map +1 -1
- package/build/components/post-url/index.js +1 -1
- package/build/components/post-url/index.js.map +1 -1
- package/build/components/post-url/label.js +1 -1
- package/build/components/post-url/label.js.map +1 -1
- package/build/components/post-url/panel.js +1 -1
- package/build/components/post-url/panel.js.map +1 -1
- package/build/components/post-visibility/check.js +1 -1
- package/build/components/post-visibility/check.js.map +1 -1
- package/build/components/post-visibility/index.js +1 -1
- package/build/components/post-visibility/index.js.map +1 -1
- package/build/components/preferences-modal/block-visibility.js +87 -0
- package/build/components/preferences-modal/block-visibility.js.map +1 -0
- package/build/components/preferences-modal/enable-panel.js +27 -19
- package/build/components/preferences-modal/enable-panel.js.map +1 -1
- package/build/components/preferences-modal/enable-publish-sidebar.js +13 -10
- package/build/components/preferences-modal/enable-publish-sidebar.js.map +1 -1
- package/build/components/preferences-modal/index.js +2 -2
- package/build/components/preferences-modal/index.js.map +1 -1
- package/build/components/provider/index.js +14 -8
- package/build/components/provider/index.js.map +1 -1
- package/build/components/table-of-contents/index.js +1 -1
- package/build/components/table-of-contents/index.js.map +1 -1
- package/build/components/theme-support-check/index.js +4 -4
- package/build/components/theme-support-check/index.js.map +1 -1
- package/build/components/time-to-read/index.js +1 -1
- package/build/components/time-to-read/index.js.map +1 -1
- package/build/components/unsaved-changes-warning/index.js +1 -1
- package/build/components/unsaved-changes-warning/index.js.map +1 -1
- package/build/components/word-count/index.js +1 -1
- package/build/components/word-count/index.js.map +1 -1
- package/build/components/zoom-out-toggle/index.js +8 -3
- package/build/components/zoom-out-toggle/index.js.map +1 -1
- package/build/dataviews/api.js +41 -0
- package/build/dataviews/api.js.map +1 -1
- package/build/dataviews/store/private-actions.js +26 -4
- package/build/dataviews/store/private-actions.js.map +1 -1
- package/build/dataviews/store/private-selectors.js +5 -0
- package/build/dataviews/store/private-selectors.js.map +1 -1
- package/build/dataviews/store/reducer.js +23 -0
- package/build/dataviews/store/reducer.js.map +1 -1
- package/build/private-apis.js +4 -0
- package/build/private-apis.js.map +1 -1
- package/build/store/actions.js +11 -9
- package/build/store/actions.js.map +1 -1
- package/build/store/private-selectors.js +5 -1
- package/build/store/private-selectors.js.map +1 -1
- package/build/store/reducer.native.js +1 -0
- package/build/store/reducer.native.js.map +1 -1
- package/build/store/selectors.js +34 -42
- package/build/store/selectors.js.map +1 -1
- package/build/utils/get-template-info.js +60 -0
- package/build/utils/get-template-info.js.map +1 -0
- package/build-module/components/block-settings-menu/plugin-block-settings-menu-item.js +1 -1
- package/build-module/components/block-settings-menu/plugin-block-settings-menu-item.js.map +1 -1
- package/build-module/components/collab-sidebar/add-comment.js +18 -67
- package/build-module/components/collab-sidebar/add-comment.js.map +1 -1
- package/build-module/components/collab-sidebar/comment-author-info.js +71 -0
- package/build-module/components/collab-sidebar/comment-author-info.js.map +1 -0
- package/build-module/components/collab-sidebar/comment-button-toolbar.js +2 -2
- package/build-module/components/collab-sidebar/comment-button-toolbar.js.map +1 -1
- package/build-module/components/collab-sidebar/comment-button.js +2 -2
- package/build-module/components/collab-sidebar/comment-button.js.map +1 -1
- package/build-module/components/collab-sidebar/comment-form.js +59 -0
- package/build-module/components/collab-sidebar/comment-form.js.map +1 -0
- package/build-module/components/collab-sidebar/comments.js +33 -91
- package/build-module/components/collab-sidebar/comments.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/document-bar/index.js +10 -3
- package/build-module/components/document-bar/index.js.map +1 -1
- package/build-module/components/document-outline/check.js +4 -4
- package/build-module/components/document-outline/check.js.map +1 -1
- package/build-module/components/document-outline/index.js +8 -8
- package/build-module/components/document-outline/index.js.map +1 -1
- package/build-module/components/document-tools/index.js +1 -1
- package/build-module/components/document-tools/index.js.map +1 -1
- package/build-module/components/editor-history/redo.js +1 -1
- package/build-module/components/editor-history/redo.js.map +1 -1
- package/build-module/components/editor-history/undo.js +1 -1
- package/build-module/components/editor-history/undo.js.map +1 -1
- package/build-module/components/editor-interface/content-slot-fill.js +2 -11
- package/build-module/components/editor-interface/content-slot-fill.js.map +1 -1
- package/build-module/components/editor-interface/index.js +4 -10
- package/build-module/components/editor-interface/index.js.map +1 -1
- package/build-module/components/editor-notices/index.js +1 -1
- package/build-module/components/editor-notices/index.js.map +1 -1
- package/build-module/components/editor-snackbars/index.js +1 -1
- package/build-module/components/editor-snackbars/index.js.map +1 -1
- package/build-module/components/entities-saved-states/entity-record-item.js +9 -1
- package/build-module/components/entities-saved-states/entity-record-item.js.map +1 -1
- package/build-module/components/entities-saved-states/index.js +2 -2
- package/build-module/components/entities-saved-states/index.js.map +1 -1
- package/build-module/components/page-attributes/check.js +3 -3
- package/build-module/components/page-attributes/check.js.map +1 -1
- package/build-module/components/page-attributes/order.js +1 -1
- package/build-module/components/page-attributes/order.js.map +1 -1
- package/build-module/components/page-attributes/panel.js +1 -1
- package/build-module/components/page-attributes/panel.js.map +1 -1
- package/build-module/components/page-attributes/parent.js +1 -1
- package/build-module/components/page-attributes/parent.js.map +1 -1
- package/build-module/components/plugin-document-setting-panel/index.js +2 -2
- package/build-module/components/plugin-document-setting-panel/index.js.map +1 -1
- package/build-module/components/plugin-more-menu-item/index.js +2 -1
- package/build-module/components/plugin-more-menu-item/index.js.map +1 -1
- package/build-module/components/plugin-post-publish-panel/index.js +2 -2
- package/build-module/components/plugin-post-publish-panel/index.js.map +1 -1
- package/build-module/components/plugin-post-status-info/index.js +4 -4
- package/build-module/components/plugin-post-status-info/index.js.map +1 -1
- package/build-module/components/plugin-pre-publish-panel/index.js +2 -2
- package/build-module/components/plugin-pre-publish-panel/index.js.map +1 -1
- package/build-module/components/plugin-preview-menu-item/index.js +2 -1
- package/build-module/components/plugin-preview-menu-item/index.js.map +1 -1
- package/build-module/components/plugin-sidebar/index.js +1 -0
- package/build-module/components/plugin-sidebar/index.js.map +1 -1
- package/build-module/components/plugin-sidebar-more-menu-item/index.js +2 -1
- package/build-module/components/plugin-sidebar-more-menu-item/index.js.map +1 -1
- package/build-module/components/post-actions/actions.js +3 -3
- package/build-module/components/post-actions/actions.js.map +1 -1
- package/build-module/components/post-author/check.js +3 -3
- package/build-module/components/post-author/check.js.map +1 -1
- package/build-module/components/post-author/index.js +1 -1
- package/build-module/components/post-author/index.js.map +1 -1
- package/build-module/components/post-author/panel.js +1 -1
- package/build-module/components/post-author/panel.js.map +1 -1
- package/build-module/components/post-card-panel/index.js +9 -4
- package/build-module/components/post-card-panel/index.js.map +1 -1
- package/build-module/components/post-comments/index.js +1 -1
- package/build-module/components/post-comments/index.js.map +1 -1
- package/build-module/components/post-discussion/panel.js +1 -1
- package/build-module/components/post-discussion/panel.js.map +1 -1
- package/build-module/components/post-excerpt/check.js +3 -3
- package/build-module/components/post-excerpt/check.js.map +1 -1
- package/build-module/components/post-excerpt/panel.js +1 -1
- package/build-module/components/post-excerpt/panel.js.map +1 -1
- package/build-module/components/post-excerpt/plugin.js +4 -4
- package/build-module/components/post-excerpt/plugin.js.map +1 -1
- package/build-module/components/post-featured-image/check.js +3 -3
- package/build-module/components/post-featured-image/check.js.map +1 -1
- package/build-module/components/post-featured-image/index.js +40 -10
- package/build-module/components/post-featured-image/index.js.map +1 -1
- package/build-module/components/post-featured-image/panel.js +1 -1
- package/build-module/components/post-featured-image/panel.js.map +1 -1
- package/build-module/components/post-fields/index.js +62 -0
- package/build-module/components/post-fields/index.js.map +1 -0
- package/build-module/components/post-format/check.js +10 -11
- package/build-module/components/post-format/check.js.map +1 -1
- package/build-module/components/post-format/index.js +1 -1
- package/build-module/components/post-format/index.js.map +1 -1
- package/build-module/components/post-format/panel.js +1 -1
- package/build-module/components/post-format/panel.js.map +1 -1
- package/build-module/components/post-last-revision/check.js +3 -3
- package/build-module/components/post-last-revision/check.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-last-revision/panel.js +1 -1
- package/build-module/components/post-last-revision/panel.js.map +1 -1
- package/build-module/components/post-locked-modal/index.js +1 -1
- package/build-module/components/post-locked-modal/index.js.map +1 -1
- package/build-module/components/post-pending-status/check.js +3 -3
- package/build-module/components/post-pending-status/check.js.map +1 -1
- package/build-module/components/post-pending-status/index.js +1 -1
- package/build-module/components/post-pending-status/index.js.map +1 -1
- package/build-module/components/post-preview-button/index.js +1 -1
- package/build-module/components/post-preview-button/index.js.map +1 -1
- package/build-module/components/post-publish-panel/index.js +5 -2
- package/build-module/components/post-publish-panel/index.js.map +1 -1
- package/build-module/components/post-schedule/check.js +3 -3
- package/build-module/components/post-schedule/check.js.map +1 -1
- package/build-module/components/post-schedule/index.js +1 -1
- package/build-module/components/post-schedule/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-schedule/panel.js +1 -1
- package/build-module/components/post-schedule/panel.js.map +1 -1
- package/build-module/components/post-slug/check.js +3 -3
- package/build-module/components/post-slug/check.js.map +1 -1
- package/build-module/components/post-slug/index.js +1 -1
- package/build-module/components/post-slug/index.js.map +1 -1
- package/build-module/components/post-sticky/check.js +3 -3
- package/build-module/components/post-sticky/check.js.map +1 -1
- package/build-module/components/post-sticky/index.js +1 -1
- package/build-module/components/post-sticky/index.js.map +1 -1
- package/build-module/components/post-switch-to-draft-button/index.js +1 -1
- package/build-module/components/post-switch-to-draft-button/index.js.map +1 -1
- package/build-module/components/post-sync-status/index.js +1 -1
- package/build-module/components/post-sync-status/index.js.map +1 -1
- package/build-module/components/post-taxonomies/check.js +3 -3
- package/build-module/components/post-taxonomies/check.js.map +1 -1
- package/build-module/components/post-taxonomies/flat-term-selector.js +1 -1
- package/build-module/components/post-taxonomies/flat-term-selector.js.map +1 -1
- package/build-module/components/post-taxonomies/panel.js +17 -12
- package/build-module/components/post-taxonomies/panel.js.map +1 -1
- package/build-module/components/post-template/classic-theme.js +2 -2
- package/build-module/components/post-template/classic-theme.js.map +1 -1
- package/build-module/components/post-template/panel.js +1 -1
- package/build-module/components/post-template/panel.js.map +1 -1
- package/build-module/components/post-text-editor/index.js +1 -1
- package/build-module/components/post-text-editor/index.js.map +1 -1
- package/build-module/components/post-title/index.js +20 -18
- package/build-module/components/post-title/index.js.map +1 -1
- package/build-module/components/post-title/post-title-raw.js +1 -1
- package/build-module/components/post-title/post-title-raw.js.map +1 -1
- package/build-module/components/post-trash/check.js +3 -3
- package/build-module/components/post-trash/check.js.map +1 -1
- package/build-module/components/post-trash/index.js +1 -1
- package/build-module/components/post-trash/index.js.map +1 -1
- package/build-module/components/post-type-support-check/index.js +6 -6
- package/build-module/components/post-type-support-check/index.js.map +1 -1
- package/build-module/components/post-url/check.js +3 -3
- package/build-module/components/post-url/check.js.map +1 -1
- package/build-module/components/post-url/index.js +1 -1
- package/build-module/components/post-url/index.js.map +1 -1
- package/build-module/components/post-url/label.js +1 -1
- package/build-module/components/post-url/label.js.map +1 -1
- package/build-module/components/post-url/panel.js +1 -1
- package/build-module/components/post-url/panel.js.map +1 -1
- package/build-module/components/post-visibility/check.js +1 -1
- package/build-module/components/post-visibility/check.js.map +1 -1
- package/build-module/components/post-visibility/index.js +1 -1
- package/build-module/components/post-visibility/index.js.map +1 -1
- package/build-module/components/preferences-modal/block-visibility.js +80 -0
- package/build-module/components/preferences-modal/block-visibility.js.map +1 -0
- package/build-module/components/preferences-modal/enable-panel.js +27 -19
- package/build-module/components/preferences-modal/enable-panel.js.map +1 -1
- package/build-module/components/preferences-modal/enable-publish-sidebar.js +13 -10
- package/build-module/components/preferences-modal/enable-publish-sidebar.js.map +1 -1
- package/build-module/components/preferences-modal/index.js +2 -2
- package/build-module/components/preferences-modal/index.js.map +1 -1
- package/build-module/components/provider/index.js +14 -8
- package/build-module/components/provider/index.js.map +1 -1
- package/build-module/components/table-of-contents/index.js +1 -1
- package/build-module/components/table-of-contents/index.js.map +1 -1
- package/build-module/components/theme-support-check/index.js +4 -4
- package/build-module/components/theme-support-check/index.js.map +1 -1
- package/build-module/components/time-to-read/index.js +1 -1
- package/build-module/components/time-to-read/index.js.map +1 -1
- package/build-module/components/unsaved-changes-warning/index.js +1 -1
- package/build-module/components/unsaved-changes-warning/index.js.map +1 -1
- package/build-module/components/word-count/index.js +1 -1
- package/build-module/components/word-count/index.js.map +1 -1
- package/build-module/components/zoom-out-toggle/index.js +8 -3
- package/build-module/components/zoom-out-toggle/index.js.map +1 -1
- package/build-module/dataviews/api.js +39 -0
- package/build-module/dataviews/api.js.map +1 -1
- package/build-module/dataviews/store/private-actions.js +23 -3
- package/build-module/dataviews/store/private-actions.js.map +1 -1
- package/build-module/dataviews/store/private-selectors.js +4 -0
- package/build-module/dataviews/store/private-selectors.js.map +1 -1
- package/build-module/dataviews/store/reducer.js +23 -0
- package/build-module/dataviews/store/reducer.js.map +1 -1
- package/build-module/private-apis.js +4 -0
- package/build-module/private-apis.js.map +1 -1
- package/build-module/store/actions.js +11 -9
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/private-selectors.js +6 -3
- package/build-module/store/private-selectors.js.map +1 -1
- package/build-module/store/reducer.native.js +2 -1
- package/build-module/store/reducer.native.js.map +1 -1
- package/build-module/store/selectors.js +33 -39
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/get-template-info.js +51 -0
- package/build-module/utils/get-template-info.js.map +1 -0
- package/build-style/style-rtl.css +11 -81
- package/build-style/style.css +11 -81
- package/build-types/components/block-settings-menu/plugin-block-settings-menu-item.d.ts +2 -2
- package/build-types/components/block-settings-menu/plugin-block-settings-menu-item.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/add-comment.d.ts +2 -2
- package/build-types/components/collab-sidebar/add-comment.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/comment-author-info.d.ts +17 -0
- package/build-types/components/collab-sidebar/comment-author-info.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/comment-form.d.ts +18 -0
- package/build-types/components/collab-sidebar/comment-form.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/comments.d.ts +2 -2
- package/build-types/components/collab-sidebar/comments.d.ts.map +1 -1
- package/build-types/components/create-template-part-modal/index.d.ts.map +1 -1
- package/build-types/components/document-bar/index.d.ts +2 -2
- package/build-types/components/document-bar/index.d.ts.map +1 -1
- package/build-types/components/document-outline/check.d.ts +5 -5
- package/build-types/components/document-outline/check.d.ts.map +1 -1
- package/build-types/components/document-outline/index.d.ts +4 -6
- package/build-types/components/document-outline/index.d.ts.map +1 -1
- package/build-types/components/document-tools/index.d.ts.map +1 -1
- package/build-types/components/editor-interface/content-slot-fill.d.ts +12 -1
- package/build-types/components/editor-interface/content-slot-fill.d.ts.map +1 -1
- package/build-types/components/editor-interface/index.d.ts.map +1 -1
- package/build-types/components/editor-notices/index.d.ts +2 -2
- package/build-types/components/editor-notices/index.d.ts.map +1 -1
- package/build-types/components/editor-snackbars/index.d.ts +2 -2
- package/build-types/components/editor-snackbars/index.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/entity-record-item.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/index.d.ts +4 -4
- package/build-types/components/entities-saved-states/index.d.ts.map +1 -1
- package/build-types/components/header/back-button.d.ts.map +1 -1
- package/build-types/components/more-menu/tools-more-menu-group.d.ts.map +1 -1
- package/build-types/components/more-menu/view-more-menu-group.d.ts.map +1 -1
- package/build-types/components/page-attributes/check.d.ts +5 -5
- package/build-types/components/page-attributes/check.d.ts.map +1 -1
- package/build-types/components/page-attributes/order.d.ts +2 -2
- package/build-types/components/page-attributes/order.d.ts.map +1 -1
- package/build-types/components/page-attributes/panel.d.ts +2 -2
- package/build-types/components/page-attributes/panel.d.ts.map +1 -1
- package/build-types/components/page-attributes/parent.d.ts +2 -2
- package/build-types/components/page-attributes/parent.d.ts.map +1 -1
- package/build-types/components/plugin-document-setting-panel/index.d.ts +4 -4
- package/build-types/components/plugin-document-setting-panel/index.d.ts.map +1 -1
- package/build-types/components/plugin-more-menu-item/index.d.ts +4 -2
- package/build-types/components/plugin-more-menu-item/index.d.ts.map +1 -1
- package/build-types/components/plugin-post-publish-panel/index.d.ts +4 -4
- package/build-types/components/plugin-post-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/plugin-post-status-info/index.d.ts +6 -6
- package/build-types/components/plugin-post-status-info/index.d.ts.map +1 -1
- package/build-types/components/plugin-pre-publish-panel/index.d.ts +4 -4
- package/build-types/components/plugin-pre-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/plugin-preview-menu-item/index.d.ts +4 -2
- package/build-types/components/plugin-preview-menu-item/index.d.ts.map +1 -1
- package/build-types/components/plugin-sidebar/index.d.ts +2 -0
- package/build-types/components/plugin-sidebar/index.d.ts.map +1 -1
- package/build-types/components/plugin-sidebar-more-menu-item/index.d.ts +4 -2
- package/build-types/components/plugin-sidebar-more-menu-item/index.d.ts.map +1 -1
- package/build-types/components/post-author/check.d.ts +5 -5
- package/build-types/components/post-author/check.d.ts.map +1 -1
- package/build-types/components/post-author/index.d.ts +2 -2
- package/build-types/components/post-author/index.d.ts.map +1 -1
- package/build-types/components/post-author/panel.d.ts +2 -2
- 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-discussion/panel.d.ts +2 -2
- package/build-types/components/post-discussion/panel.d.ts.map +1 -1
- package/build-types/components/post-excerpt/check.d.ts +5 -5
- package/build-types/components/post-excerpt/check.d.ts.map +1 -1
- package/build-types/components/post-excerpt/panel.d.ts +2 -2
- package/build-types/components/post-excerpt/panel.d.ts.map +1 -1
- package/build-types/components/post-excerpt/plugin.d.ts +6 -6
- package/build-types/components/post-excerpt/plugin.d.ts.map +1 -1
- package/build-types/components/post-featured-image/check.d.ts +5 -5
- package/build-types/components/post-featured-image/check.d.ts.map +1 -1
- package/build-types/components/post-featured-image/panel.d.ts +2 -2
- package/build-types/components/post-featured-image/panel.d.ts.map +1 -1
- package/build-types/components/post-fields/index.d.ts +12 -0
- package/build-types/components/post-fields/index.d.ts.map +1 -0
- package/build-types/components/post-format/check.d.ts +11 -4
- package/build-types/components/post-format/check.d.ts.map +1 -1
- package/build-types/components/post-format/index.d.ts +2 -2
- package/build-types/components/post-format/index.d.ts.map +1 -1
- package/build-types/components/post-format/panel.d.ts +2 -2
- package/build-types/components/post-format/panel.d.ts.map +1 -1
- package/build-types/components/post-last-revision/check.d.ts +5 -5
- package/build-types/components/post-last-revision/check.d.ts.map +1 -1
- package/build-types/components/post-last-revision/index.d.ts +2 -2
- package/build-types/components/post-last-revision/index.d.ts.map +1 -1
- package/build-types/components/post-last-revision/panel.d.ts +2 -2
- package/build-types/components/post-last-revision/panel.d.ts.map +1 -1
- package/build-types/components/post-locked-modal/index.d.ts +2 -2
- package/build-types/components/post-locked-modal/index.d.ts.map +1 -1
- package/build-types/components/post-pending-status/check.d.ts +5 -5
- package/build-types/components/post-pending-status/check.d.ts.map +1 -1
- package/build-types/components/post-pending-status/index.d.ts +2 -2
- package/build-types/components/post-pending-status/index.d.ts.map +1 -1
- package/build-types/components/post-preview-button/index.d.ts +2 -2
- package/build-types/components/post-preview-button/index.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/post-schedule/check.d.ts +5 -5
- package/build-types/components/post-schedule/check.d.ts.map +1 -1
- package/build-types/components/post-schedule/index.d.ts +2 -2
- package/build-types/components/post-schedule/index.d.ts.map +1 -1
- package/build-types/components/post-schedule/label.d.ts +2 -2
- package/build-types/components/post-schedule/label.d.ts.map +1 -1
- package/build-types/components/post-schedule/panel.d.ts +2 -2
- package/build-types/components/post-schedule/panel.d.ts.map +1 -1
- package/build-types/components/post-slug/check.d.ts +5 -5
- package/build-types/components/post-slug/check.d.ts.map +1 -1
- package/build-types/components/post-slug/index.d.ts +2 -2
- package/build-types/components/post-slug/index.d.ts.map +1 -1
- package/build-types/components/post-sticky/check.d.ts +5 -5
- package/build-types/components/post-sticky/check.d.ts.map +1 -1
- package/build-types/components/post-sticky/index.d.ts +2 -2
- package/build-types/components/post-sticky/index.d.ts.map +1 -1
- package/build-types/components/post-switch-to-draft-button/index.d.ts +2 -2
- package/build-types/components/post-switch-to-draft-button/index.d.ts.map +1 -1
- package/build-types/components/post-sync-status/index.d.ts +2 -2
- package/build-types/components/post-sync-status/index.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/check.d.ts +5 -5
- package/build-types/components/post-taxonomies/check.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/flat-term-selector.d.ts +2 -2
- package/build-types/components/post-taxonomies/flat-term-selector.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/panel.d.ts +6 -2
- package/build-types/components/post-taxonomies/panel.d.ts.map +1 -1
- package/build-types/components/post-template/panel.d.ts +2 -2
- package/build-types/components/post-template/panel.d.ts.map +1 -1
- package/build-types/components/post-text-editor/index.d.ts +2 -2
- package/build-types/components/post-text-editor/index.d.ts.map +1 -1
- package/build-types/components/post-title/index.d.ts +1 -1
- package/build-types/components/post-trash/check.d.ts +5 -5
- package/build-types/components/post-trash/check.d.ts.map +1 -1
- package/build-types/components/post-trash/index.d.ts +2 -2
- package/build-types/components/post-trash/index.d.ts.map +1 -1
- package/build-types/components/post-type-support-check/index.d.ts +8 -8
- package/build-types/components/post-type-support-check/index.d.ts.map +1 -1
- package/build-types/components/post-url/check.d.ts +5 -5
- package/build-types/components/post-url/check.d.ts.map +1 -1
- package/build-types/components/post-url/index.d.ts +2 -2
- package/build-types/components/post-url/index.d.ts.map +1 -1
- package/build-types/components/post-url/label.d.ts +2 -2
- package/build-types/components/post-url/label.d.ts.map +1 -1
- package/build-types/components/post-url/panel.d.ts +2 -2
- package/build-types/components/post-url/panel.d.ts.map +1 -1
- package/build-types/components/post-visibility/check.d.ts +2 -2
- package/build-types/components/post-visibility/check.d.ts.map +1 -1
- package/build-types/components/post-visibility/index.d.ts +2 -2
- package/build-types/components/post-visibility/index.d.ts.map +1 -1
- package/build-types/components/preferences-modal/block-visibility.d.ts +2 -0
- package/build-types/components/preferences-modal/block-visibility.d.ts.map +1 -0
- package/build-types/components/preferences-modal/enable-panel.d.ts +1 -2
- package/build-types/components/preferences-modal/enable-panel.d.ts.map +1 -1
- package/build-types/components/preferences-modal/enable-plugin-document-setting-panel.d.ts.map +1 -1
- package/build-types/components/preferences-modal/enable-publish-sidebar.d.ts +1 -2
- package/build-types/components/preferences-modal/enable-publish-sidebar.d.ts.map +1 -1
- package/build-types/components/provider/index.d.ts +2 -2
- package/build-types/components/provider/index.d.ts.map +1 -1
- package/build-types/components/save-publish-panels/index.d.ts.map +1 -1
- package/build-types/components/theme-support-check/index.d.ts +6 -6
- package/build-types/components/theme-support-check/index.d.ts.map +1 -1
- package/build-types/components/time-to-read/index.d.ts +2 -2
- package/build-types/components/time-to-read/index.d.ts.map +1 -1
- package/build-types/components/unsaved-changes-warning/index.d.ts +2 -2
- package/build-types/components/unsaved-changes-warning/index.d.ts.map +1 -1
- package/build-types/components/word-count/index.d.ts +2 -2
- package/build-types/components/word-count/index.d.ts.map +1 -1
- package/build-types/components/zoom-out-toggle/index.d.ts.map +1 -1
- package/build-types/dataviews/api.d.ts +24 -0
- package/build-types/dataviews/api.d.ts.map +1 -1
- package/build-types/dataviews/store/private-actions.d.ts +14 -2
- package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
- package/build-types/dataviews/store/private-selectors.d.ts +1 -0
- package/build-types/dataviews/store/private-selectors.d.ts.map +1 -1
- package/build-types/dataviews/store/reducer.d.ts +10 -2
- package/build-types/dataviews/store/reducer.d.ts.map +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/store/actions.d.ts +7 -5
- package/build-types/store/actions.d.ts.map +1 -1
- package/build-types/store/private-selectors.d.ts +1 -0
- package/build-types/store/private-selectors.d.ts.map +1 -1
- package/build-types/store/reducer.d.ts +5 -0
- package/build-types/store/reducer.d.ts.map +1 -1
- package/build-types/store/selectors.d.ts +4 -11
- package/build-types/store/selectors.d.ts.map +1 -1
- package/build-types/utils/get-template-info.d.ts +6 -0
- package/build-types/utils/get-template-info.d.ts.map +1 -0
- package/package.json +2 -2
- package/src/components/block-settings-menu/plugin-block-settings-menu-item.js +1 -1
- package/src/components/collab-sidebar/add-comment.js +21 -78
- package/src/components/collab-sidebar/comment-author-info.js +68 -0
- package/src/components/collab-sidebar/comment-button-toolbar.js +3 -3
- package/src/components/collab-sidebar/comment-button.js +3 -3
- package/src/components/collab-sidebar/comment-form.js +62 -0
- package/src/components/collab-sidebar/comments.js +39 -101
- package/src/components/create-template-part-modal/index.js +3 -2
- package/src/components/document-bar/index.js +12 -3
- package/src/components/document-outline/check.js +4 -4
- package/src/components/document-outline/index.js +9 -9
- package/src/components/document-tools/index.js +3 -2
- package/src/components/editor-history/redo.js +1 -1
- package/src/components/editor-history/undo.js +1 -1
- package/src/components/editor-interface/content-slot-fill.js +4 -9
- package/src/components/editor-interface/index.js +1 -11
- package/src/components/editor-notices/index.js +1 -1
- package/src/components/editor-snackbars/index.js +1 -1
- package/src/components/entities-saved-states/entity-record-item.js +12 -4
- package/src/components/entities-saved-states/index.js +2 -2
- package/src/components/header/style.scss +2 -1
- package/src/components/page-attributes/check.js +3 -3
- package/src/components/page-attributes/order.js +1 -1
- package/src/components/page-attributes/panel.js +1 -1
- package/src/components/page-attributes/parent.js +1 -1
- package/src/components/plugin-document-setting-panel/index.js +2 -2
- package/src/components/plugin-more-menu-item/index.js +2 -1
- package/src/components/plugin-post-publish-panel/index.js +2 -2
- package/src/components/plugin-post-status-info/index.js +4 -4
- package/src/components/plugin-pre-publish-panel/index.js +2 -2
- package/src/components/plugin-preview-menu-item/index.js +2 -1
- package/src/components/plugin-sidebar/index.js +1 -0
- package/src/components/plugin-sidebar-more-menu-item/index.js +2 -2
- package/src/components/post-actions/actions.js +3 -3
- package/src/components/post-author/check.js +3 -3
- package/src/components/post-author/index.js +1 -1
- package/src/components/post-author/panel.js +1 -1
- package/src/components/post-card-panel/index.js +18 -5
- package/src/components/post-comments/index.js +1 -1
- package/src/components/post-discussion/panel.js +1 -1
- package/src/components/post-excerpt/check.js +3 -3
- package/src/components/post-excerpt/panel.js +1 -1
- package/src/components/post-excerpt/plugin.js +4 -4
- package/src/components/post-featured-image/check.js +3 -3
- package/src/components/post-featured-image/index.js +107 -43
- package/src/components/post-featured-image/panel.js +1 -1
- package/src/components/post-featured-image/style.scss +23 -13
- package/src/components/post-fields/index.ts +76 -0
- package/src/components/post-format/check.js +9 -11
- package/src/components/post-format/index.js +1 -1
- package/src/components/post-format/panel.js +1 -1
- package/src/components/post-last-revision/check.js +3 -3
- package/src/components/post-last-revision/index.js +1 -1
- package/src/components/post-last-revision/panel.js +1 -1
- package/src/components/post-locked-modal/index.js +1 -1
- package/src/components/post-pending-status/check.js +3 -3
- package/src/components/post-pending-status/index.js +1 -1
- package/src/components/post-preview-button/index.js +1 -1
- package/src/components/post-publish-panel/index.js +7 -3
- package/src/components/post-schedule/check.js +3 -3
- package/src/components/post-schedule/index.js +1 -1
- package/src/components/post-schedule/label.js +1 -1
- package/src/components/post-schedule/panel.js +1 -1
- package/src/components/post-slug/check.js +3 -3
- package/src/components/post-slug/index.js +1 -1
- package/src/components/post-sticky/check.js +3 -3
- package/src/components/post-sticky/index.js +1 -1
- package/src/components/post-switch-to-draft-button/index.js +1 -1
- package/src/components/post-sync-status/index.js +1 -1
- package/src/components/post-taxonomies/check.js +3 -3
- package/src/components/post-taxonomies/flat-term-selector.js +1 -1
- package/src/components/post-taxonomies/panel.js +15 -12
- package/src/components/post-template/classic-theme.js +2 -2
- package/src/components/post-template/panel.js +1 -1
- package/src/components/post-text-editor/index.js +1 -1
- package/src/components/post-title/index.js +20 -18
- package/src/components/post-title/post-title-raw.js +1 -1
- package/src/components/post-trash/check.js +3 -3
- package/src/components/post-trash/index.js +1 -1
- package/src/components/post-type-support-check/index.js +6 -6
- package/src/components/post-url/check.js +3 -3
- package/src/components/post-url/index.js +1 -1
- package/src/components/post-url/label.js +1 -1
- package/src/components/post-url/panel.js +1 -1
- package/src/components/post-visibility/check.js +1 -1
- package/src/components/post-visibility/index.js +1 -1
- package/src/components/preferences-modal/block-visibility.js +96 -0
- package/src/components/preferences-modal/enable-panel.js +27 -17
- package/src/components/preferences-modal/enable-publish-sidebar.js +18 -15
- package/src/components/preferences-modal/index.js +2 -2
- package/src/components/provider/index.js +55 -30
- package/src/components/table-of-contents/index.js +1 -1
- package/src/components/theme-support-check/index.js +4 -4
- package/src/components/time-to-read/index.js +1 -1
- package/src/components/unsaved-changes-warning/index.js +1 -1
- package/src/components/word-count/index.js +1 -1
- package/src/components/zoom-out-toggle/index.js +26 -13
- package/src/dataviews/api.js +41 -0
- package/src/dataviews/store/private-actions.ts +57 -3
- package/src/dataviews/store/private-selectors.ts +4 -0
- package/src/dataviews/store/reducer.ts +38 -1
- package/src/private-apis.js +4 -1
- package/src/store/actions.js +13 -9
- package/src/store/private-selectors.js +13 -8
- package/src/store/reducer.native.js +2 -0
- package/src/store/selectors.js +80 -62
- package/src/store/test/selectors.js +0 -255
- package/src/style.scss +0 -1
- package/src/utils/get-template-info.js +52 -0
- package/src/utils/test/get-template-info.js +224 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/build/components/block-manager/category.js +0 -107
- package/build/components/block-manager/category.js.map +0 -1
- package/build/components/block-manager/checklist.js +0 -35
- package/build/components/block-manager/checklist.js.map +0 -1
- package/build/components/block-manager/index.js +0 -115
- package/build/components/block-manager/index.js.map +0 -1
- package/build-module/components/block-manager/category.js +0 -99
- package/build-module/components/block-manager/category.js.map +0 -1
- package/build-module/components/block-manager/checklist.js +0 -28
- package/build-module/components/block-manager/checklist.js.map +0 -1
- package/build-module/components/block-manager/index.js +0 -107
- package/build-module/components/block-manager/index.js.map +0 -1
- package/build-types/components/block-manager/category.d.ts +0 -6
- package/build-types/components/block-manager/category.d.ts.map +0 -1
- package/build-types/components/block-manager/checklist.d.ts +0 -7
- package/build-types/components/block-manager/checklist.d.ts.map +0 -1
- package/build-types/components/block-manager/index.d.ts +0 -2
- package/build-types/components/block-manager/index.d.ts.map +0 -1
- package/src/components/block-manager/category.js +0 -96
- package/src/components/block-manager/checklist.js +0 -30
- package/src/components/block-manager/index.js +0 -145
- package/src/components/block-manager/style.scss +0 -82
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["layout","getTemplatePartIcon","EMPTY_OBJECT","getTemplateInfo","params","_Object$values$find","templateTypes","templateAreas","template","description","slug","title","area","defaultTitle","defaultDescription","Object","values","find","type","templateTitle","rendered","templateDescription","raw","templateAreasWithIcon","map","item","icon","templateIcon"],"sources":["@wordpress/editor/src/utils/get-template-info.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { layout } from '@wordpress/icons';\n/**\n * Internal dependencies\n */\nimport { getTemplatePartIcon } from './get-template-part-icon';\nconst EMPTY_OBJECT = {};\n\n/**\n * Helper function to retrieve the corresponding template info for a given template.\n * @param {Object} params\n * @param {Array} params.templateTypes\n * @param {Array} [params.templateAreas]\n * @param {Object} params.template\n */\nexport const getTemplateInfo = ( params ) => {\n\tif ( ! params ) {\n\t\treturn EMPTY_OBJECT;\n\t}\n\n\tconst { templateTypes, templateAreas, template } = params;\n\n\tconst { description, slug, title, area } = template;\n\n\tconst { title: defaultTitle, description: defaultDescription } =\n\t\tObject.values( templateTypes ).find( ( type ) => type.slug === slug ) ??\n\t\tEMPTY_OBJECT;\n\n\tconst templateTitle = typeof title === 'string' ? title : title?.rendered;\n\tconst templateDescription =\n\t\ttypeof description === 'string' ? description : description?.raw;\n\n\tconst templateAreasWithIcon = templateAreas?.map( ( item ) => ( {\n\t\t...item,\n\t\ticon: getTemplatePartIcon( item.icon ),\n\t} ) );\n\n\tconst templateIcon =\n\t\ttemplateAreasWithIcon?.find( ( item ) => area === item.area )?.icon ||\n\t\tlayout;\n\n\treturn {\n\t\ttitle:\n\t\t\ttemplateTitle && templateTitle !== slug\n\t\t\t\t? templateTitle\n\t\t\t\t: defaultTitle || slug,\n\t\tdescription: templateDescription || defaultDescription,\n\t\ticon: templateIcon,\n\t};\n};\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,MAAM,QAAQ,kBAAkB;AACzC;AACA;AACA;AACA,SAASC,mBAAmB,QAAQ,0BAA0B;AAC9D,MAAMC,YAAY,GAAG,CAAC,CAAC;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAKC,MAAM,IAAM;EAAA,IAAAC,mBAAA;EAC5C,IAAK,CAAED,MAAM,EAAG;IACf,OAAOF,YAAY;EACpB;EAEA,MAAM;IAAEI,aAAa;IAAEC,aAAa;IAAEC;EAAS,CAAC,GAAGJ,MAAM;EAEzD,MAAM;IAAEK,WAAW;IAAEC,IAAI;IAAEC,KAAK;IAAEC;EAAK,CAAC,GAAGJ,QAAQ;EAEnD,MAAM;IAAEG,KAAK,EAAEE,YAAY;IAAEJ,WAAW,EAAEK;EAAmB,CAAC,IAAAT,mBAAA,GAC7DU,MAAM,CAACC,MAAM,CAAEV,aAAc,CAAC,CAACW,IAAI,CAAIC,IAAI,IAAMA,IAAI,CAACR,IAAI,KAAKA,IAAK,CAAC,cAAAL,mBAAA,cAAAA,mBAAA,GACrEH,YAAY;EAEb,MAAMiB,aAAa,GAAG,OAAOR,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGA,KAAK,EAAES,QAAQ;EACzE,MAAMC,mBAAmB,GACxB,OAAOZ,WAAW,KAAK,QAAQ,GAAGA,WAAW,GAAGA,WAAW,EAAEa,GAAG;EAEjE,MAAMC,qBAAqB,GAAGhB,aAAa,EAAEiB,GAAG,CAAIC,IAAI,KAAQ;IAC/D,GAAGA,IAAI;IACPC,IAAI,EAAEzB,mBAAmB,CAAEwB,IAAI,CAACC,IAAK;EACtC,CAAC,CAAG,CAAC;EAEL,MAAMC,YAAY,GACjBJ,qBAAqB,EAAEN,IAAI,CAAIQ,IAAI,IAAMb,IAAI,KAAKa,IAAI,CAACb,IAAK,CAAC,EAAEc,IAAI,IACnE1B,MAAM;EAEP,OAAO;IACNW,KAAK,EACJQ,aAAa,IAAIA,aAAa,KAAKT,IAAI,GACpCS,aAAa,GACbN,YAAY,IAAIH,IAAI;IACxBD,WAAW,EAAEY,mBAAmB,IAAIP,kBAAkB;IACtDY,IAAI,EAAEC;EACP,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -482,81 +482,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
482
482
|
color: var(--wp-admin-theme-color);
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
.editor-block-manager__no-results {
|
|
486
|
-
font-style: italic;
|
|
487
|
-
padding: 24px 0;
|
|
488
|
-
text-align: center;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.editor-block-manager__search {
|
|
492
|
-
margin: 16px 0;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.editor-block-manager__disabled-blocks-count {
|
|
496
|
-
border: 1px solid #ddd;
|
|
497
|
-
border-width: 1px 0;
|
|
498
|
-
box-shadow: 32px 0 0 0 #fff, -32px 0 0 0 #fff;
|
|
499
|
-
padding: 8px;
|
|
500
|
-
background-color: #fff;
|
|
501
|
-
text-align: center;
|
|
502
|
-
position: sticky;
|
|
503
|
-
top: -5px;
|
|
504
|
-
z-index: 2;
|
|
505
|
-
}
|
|
506
|
-
.editor-block-manager__disabled-blocks-count ~ .editor-block-manager__results .editor-block-manager__category-title {
|
|
507
|
-
top: 31px;
|
|
508
|
-
}
|
|
509
|
-
.editor-block-manager__disabled-blocks-count .is-link {
|
|
510
|
-
margin-right: 12px;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.editor-block-manager__category {
|
|
514
|
-
margin: 0 0 24px 0;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
.editor-block-manager__category-title {
|
|
518
|
-
position: sticky;
|
|
519
|
-
top: -4px;
|
|
520
|
-
padding: 16px 0;
|
|
521
|
-
background-color: #fff;
|
|
522
|
-
z-index: 1;
|
|
523
|
-
}
|
|
524
|
-
.editor-block-manager__category-title .components-checkbox-control__label {
|
|
525
|
-
font-weight: 600;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
.editor-block-manager__checklist {
|
|
529
|
-
margin-top: 0;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
.editor-block-manager__category-title,
|
|
533
|
-
.editor-block-manager__checklist-item {
|
|
534
|
-
border-bottom: 1px solid #ddd;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
.editor-block-manager__checklist-item {
|
|
538
|
-
display: flex;
|
|
539
|
-
justify-content: space-between;
|
|
540
|
-
align-items: center;
|
|
541
|
-
margin-bottom: 0;
|
|
542
|
-
padding: 8px 16px 8px 0;
|
|
543
|
-
}
|
|
544
|
-
.components-modal__content .editor-block-manager__checklist-item.components-checkbox-control__input-container {
|
|
545
|
-
margin: 0 8px;
|
|
546
|
-
}
|
|
547
|
-
.editor-block-manager__checklist-item .block-editor-block-icon {
|
|
548
|
-
margin-left: 10px;
|
|
549
|
-
fill: #1e1e1e;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
.editor-block-manager__results {
|
|
553
|
-
border-top: 1px solid #ddd;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
.editor-block-manager__disabled-blocks-count + .editor-block-manager__results {
|
|
557
|
-
border-top-width: 0;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
485
|
.editor-collab-sidebar-panel {
|
|
561
486
|
padding: 16px;
|
|
562
487
|
}
|
|
@@ -1350,7 +1275,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1350
1275
|
.editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
|
|
1351
1276
|
visibility: hidden;
|
|
1352
1277
|
}
|
|
1353
|
-
.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items {
|
|
1278
|
+
.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
|
|
1354
1279
|
display: none;
|
|
1355
1280
|
}
|
|
1356
1281
|
.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
|
|
@@ -1635,8 +1560,12 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1635
1560
|
.editor-post-featured-image__container {
|
|
1636
1561
|
position: relative;
|
|
1637
1562
|
}
|
|
1638
|
-
.editor-post-featured-image__container:hover .editor-post-featured-image__actions, .editor-post-featured-image__container:focus .editor-post-featured-image__actions, .editor-post-featured-image__container:focus-within .editor-post-featured-image__actions {
|
|
1563
|
+
.editor-post-featured-image__container:hover .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image), .editor-post-featured-image__container:focus .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image), .editor-post-featured-image__container:focus-within .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image) {
|
|
1564
|
+
opacity: 1;
|
|
1565
|
+
}
|
|
1566
|
+
.editor-post-featured-image__container .editor-post-featured-image__actions.editor-post-featured-image__actions-missing-image {
|
|
1639
1567
|
opacity: 1;
|
|
1568
|
+
margin-top: 16px;
|
|
1640
1569
|
}
|
|
1641
1570
|
.editor-post-featured-image__container .components-drop-zone__content {
|
|
1642
1571
|
border-radius: 2px;
|
|
@@ -1680,7 +1609,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1680
1609
|
box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1681
1610
|
}
|
|
1682
1611
|
|
|
1683
|
-
.editor-post-featured-image__actions {
|
|
1612
|
+
.editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
|
|
1684
1613
|
bottom: 0;
|
|
1685
1614
|
opacity: 0;
|
|
1686
1615
|
padding: 8px;
|
|
@@ -1688,16 +1617,17 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1688
1617
|
transition: opacity 50ms ease-out;
|
|
1689
1618
|
}
|
|
1690
1619
|
@media (prefers-reduced-motion: reduce) {
|
|
1691
|
-
.editor-post-featured-image__actions {
|
|
1620
|
+
.editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
|
|
1692
1621
|
transition-duration: 0s;
|
|
1693
1622
|
transition-delay: 0s;
|
|
1694
1623
|
}
|
|
1695
1624
|
}
|
|
1696
|
-
|
|
1697
|
-
.editor-post-featured-image__action {
|
|
1625
|
+
.editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) .editor-post-featured-image__action {
|
|
1698
1626
|
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
1699
1627
|
backdrop-filter: blur(16px) saturate(180%);
|
|
1700
1628
|
background: rgba(255, 255, 255, 0.75);
|
|
1629
|
+
}
|
|
1630
|
+
.editor-post-featured-image__actions .editor-post-featured-image__action {
|
|
1701
1631
|
flex-grow: 1;
|
|
1702
1632
|
justify-content: center;
|
|
1703
1633
|
}
|
package/build-style/style.css
CHANGED
|
@@ -482,81 +482,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
482
482
|
color: var(--wp-admin-theme-color);
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
.editor-block-manager__no-results {
|
|
486
|
-
font-style: italic;
|
|
487
|
-
padding: 24px 0;
|
|
488
|
-
text-align: center;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.editor-block-manager__search {
|
|
492
|
-
margin: 16px 0;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.editor-block-manager__disabled-blocks-count {
|
|
496
|
-
border: 1px solid #ddd;
|
|
497
|
-
border-width: 1px 0;
|
|
498
|
-
box-shadow: -32px 0 0 0 #fff, 32px 0 0 0 #fff;
|
|
499
|
-
padding: 8px;
|
|
500
|
-
background-color: #fff;
|
|
501
|
-
text-align: center;
|
|
502
|
-
position: sticky;
|
|
503
|
-
top: -5px;
|
|
504
|
-
z-index: 2;
|
|
505
|
-
}
|
|
506
|
-
.editor-block-manager__disabled-blocks-count ~ .editor-block-manager__results .editor-block-manager__category-title {
|
|
507
|
-
top: 31px;
|
|
508
|
-
}
|
|
509
|
-
.editor-block-manager__disabled-blocks-count .is-link {
|
|
510
|
-
margin-left: 12px;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.editor-block-manager__category {
|
|
514
|
-
margin: 0 0 24px 0;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
.editor-block-manager__category-title {
|
|
518
|
-
position: sticky;
|
|
519
|
-
top: -4px;
|
|
520
|
-
padding: 16px 0;
|
|
521
|
-
background-color: #fff;
|
|
522
|
-
z-index: 1;
|
|
523
|
-
}
|
|
524
|
-
.editor-block-manager__category-title .components-checkbox-control__label {
|
|
525
|
-
font-weight: 600;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
.editor-block-manager__checklist {
|
|
529
|
-
margin-top: 0;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
.editor-block-manager__category-title,
|
|
533
|
-
.editor-block-manager__checklist-item {
|
|
534
|
-
border-bottom: 1px solid #ddd;
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
.editor-block-manager__checklist-item {
|
|
538
|
-
display: flex;
|
|
539
|
-
justify-content: space-between;
|
|
540
|
-
align-items: center;
|
|
541
|
-
margin-bottom: 0;
|
|
542
|
-
padding: 8px 0 8px 16px;
|
|
543
|
-
}
|
|
544
|
-
.components-modal__content .editor-block-manager__checklist-item.components-checkbox-control__input-container {
|
|
545
|
-
margin: 0 8px;
|
|
546
|
-
}
|
|
547
|
-
.editor-block-manager__checklist-item .block-editor-block-icon {
|
|
548
|
-
margin-right: 10px;
|
|
549
|
-
fill: #1e1e1e;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
.editor-block-manager__results {
|
|
553
|
-
border-top: 1px solid #ddd;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
.editor-block-manager__disabled-blocks-count + .editor-block-manager__results {
|
|
557
|
-
border-top-width: 0;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
485
|
.editor-collab-sidebar-panel {
|
|
561
486
|
padding: 16px;
|
|
562
487
|
}
|
|
@@ -1350,7 +1275,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1350
1275
|
.editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
|
|
1351
1276
|
visibility: hidden;
|
|
1352
1277
|
}
|
|
1353
|
-
.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items {
|
|
1278
|
+
.editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
|
|
1354
1279
|
display: none;
|
|
1355
1280
|
}
|
|
1356
1281
|
.editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
|
|
@@ -1635,8 +1560,12 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1635
1560
|
.editor-post-featured-image__container {
|
|
1636
1561
|
position: relative;
|
|
1637
1562
|
}
|
|
1638
|
-
.editor-post-featured-image__container:hover .editor-post-featured-image__actions, .editor-post-featured-image__container:focus .editor-post-featured-image__actions, .editor-post-featured-image__container:focus-within .editor-post-featured-image__actions {
|
|
1563
|
+
.editor-post-featured-image__container:hover .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image), .editor-post-featured-image__container:focus .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image), .editor-post-featured-image__container:focus-within .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image) {
|
|
1564
|
+
opacity: 1;
|
|
1565
|
+
}
|
|
1566
|
+
.editor-post-featured-image__container .editor-post-featured-image__actions.editor-post-featured-image__actions-missing-image {
|
|
1639
1567
|
opacity: 1;
|
|
1568
|
+
margin-top: 16px;
|
|
1640
1569
|
}
|
|
1641
1570
|
.editor-post-featured-image__container .components-drop-zone__content {
|
|
1642
1571
|
border-radius: 2px;
|
|
@@ -1680,7 +1609,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1680
1609
|
box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1681
1610
|
}
|
|
1682
1611
|
|
|
1683
|
-
.editor-post-featured-image__actions {
|
|
1612
|
+
.editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
|
|
1684
1613
|
bottom: 0;
|
|
1685
1614
|
opacity: 0;
|
|
1686
1615
|
padding: 8px;
|
|
@@ -1688,16 +1617,17 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1688
1617
|
transition: opacity 50ms ease-out;
|
|
1689
1618
|
}
|
|
1690
1619
|
@media (prefers-reduced-motion: reduce) {
|
|
1691
|
-
.editor-post-featured-image__actions {
|
|
1620
|
+
.editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
|
|
1692
1621
|
transition-duration: 0s;
|
|
1693
1622
|
transition-delay: 0s;
|
|
1694
1623
|
}
|
|
1695
1624
|
}
|
|
1696
|
-
|
|
1697
|
-
.editor-post-featured-image__action {
|
|
1625
|
+
.editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) .editor-post-featured-image__action {
|
|
1698
1626
|
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
1699
1627
|
backdrop-filter: blur(16px) saturate(180%);
|
|
1700
1628
|
background: rgba(255, 255, 255, 0.75);
|
|
1629
|
+
}
|
|
1630
|
+
.editor-post-featured-image__actions .editor-post-featured-image__action {
|
|
1701
1631
|
flex-grow: 1;
|
|
1702
1632
|
justify-content: center;
|
|
1703
1633
|
}
|
|
@@ -52,7 +52,7 @@ export default PluginBlockSettingsMenuItem;
|
|
|
52
52
|
* );
|
|
53
53
|
* ```
|
|
54
54
|
*
|
|
55
|
-
* @return {
|
|
55
|
+
* @return {React.ReactNode} The rendered component.
|
|
56
56
|
*/
|
|
57
57
|
declare function PluginBlockSettingsMenuItem({ allowedBlocks, icon, label, onClick, small, role, }: {
|
|
58
58
|
allowedBlocks?: any[] | undefined;
|
|
@@ -61,5 +61,5 @@ declare function PluginBlockSettingsMenuItem({ allowedBlocks, icon, label, onCli
|
|
|
61
61
|
onClick: Function;
|
|
62
62
|
small?: boolean | undefined;
|
|
63
63
|
role?: string | undefined;
|
|
64
|
-
}):
|
|
64
|
+
}): React.ReactNode;
|
|
65
65
|
//# sourceMappingURL=plugin-block-settings-menu-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-block-settings-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/plugin-block-settings-menu-item.js"],"names":[],"mappings":";AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,oGAnDG;IAAsC,aAAa;IACb,IAAI;IACL,KAAK,EAAlC,MAAM;IACuB,OAAO;IACN,KAAK;IACL,IAAI;CAE1C,GA0CS,SAAS,
|
|
1
|
+
{"version":3,"file":"plugin-block-settings-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/plugin-block-settings-menu-item.js"],"names":[],"mappings":";AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,oGAnDG;IAAsC,aAAa;IACb,IAAI;IACL,KAAK,EAAlC,MAAM;IACuB,OAAO;IACN,KAAK;IACL,IAAI;CAE1C,GA0CS,KAAK,CAAC,SAAS,CA2B1B"}
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* @param {Function} props.onSubmit - A callback function to be called when the user submits a comment.
|
|
6
6
|
* @param {boolean} props.showCommentBoard - The function to edit the comment.
|
|
7
7
|
* @param {Function} props.setShowCommentBoard - The function to delete the comment.
|
|
8
|
-
* @return {
|
|
8
|
+
* @return {React.ReactNode} The rendered comment input UI.
|
|
9
9
|
*/
|
|
10
10
|
export function AddComment({ onSubmit, showCommentBoard, setShowCommentBoard, }: {
|
|
11
11
|
onSubmit: Function;
|
|
12
12
|
showCommentBoard: boolean;
|
|
13
13
|
setShowCommentBoard: Function;
|
|
14
|
-
}):
|
|
14
|
+
}): React.ReactNode;
|
|
15
15
|
//# sourceMappingURL=add-comment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-comment.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-comment.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-comment.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-comment.js"],"names":[],"mappings":"AAiBA;;;;;;;;GAQG;AACH,iFALG;IAAwB,QAAQ;IACR,gBAAgB,EAAhC,OAAO;IACS,mBAAmB;CAC3C,GAAS,KAAK,CAAC,SAAS,CAuC1B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default CommentAuthorInfo;
|
|
2
|
+
/**
|
|
3
|
+
* Render author information for a comment.
|
|
4
|
+
*
|
|
5
|
+
* @param {Object} props - Component properties.
|
|
6
|
+
* @param {string} props.avatar - URL of the author's avatar.
|
|
7
|
+
* @param {string} props.name - Name of the author.
|
|
8
|
+
* @param {string} props.date - Date of the comment.
|
|
9
|
+
*
|
|
10
|
+
* @return {React.ReactNode} The JSX element representing the author's information.
|
|
11
|
+
*/
|
|
12
|
+
declare function CommentAuthorInfo({ avatar, name, date }: {
|
|
13
|
+
avatar: string;
|
|
14
|
+
name: string;
|
|
15
|
+
date: string;
|
|
16
|
+
}): React.ReactNode;
|
|
17
|
+
//# sourceMappingURL=comment-author-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment-author-info.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-author-info.js"],"names":[],"mappings":";AAUA;;;;;;;;;GASG;AACH,2DANG;IAAsB,MAAM,EAApB,MAAM;IACQ,IAAI,EAAlB,MAAM;IACQ,IAAI,EAAlB,MAAM;CAEd,GAAS,KAAK,CAAC,SAAS,CA+C1B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default CommentForm;
|
|
2
|
+
/**
|
|
3
|
+
* EditComment component.
|
|
4
|
+
*
|
|
5
|
+
* @param {Object} props - The component props.
|
|
6
|
+
* @param {Function} props.onSubmit - The function to call when updating the comment.
|
|
7
|
+
* @param {Function} props.onCancel - The function to call when canceling the comment update.
|
|
8
|
+
* @param {Object} props.thread - The comment thread object.
|
|
9
|
+
* @param {string} props.submitButtonText - The text to display on the submit button.
|
|
10
|
+
* @return {React.ReactNode} The CommentForm component.
|
|
11
|
+
*/
|
|
12
|
+
declare function CommentForm({ onSubmit, onCancel, thread, submitButtonText }: {
|
|
13
|
+
onSubmit: Function;
|
|
14
|
+
onCancel: Function;
|
|
15
|
+
thread: Object;
|
|
16
|
+
submitButtonText: string;
|
|
17
|
+
}): React.ReactNode;
|
|
18
|
+
//# sourceMappingURL=comment-form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment-form.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-form.js"],"names":[],"mappings":";AAgBA;;;;;;;;;GASG;AACH,+EANG;IAAwB,QAAQ;IACR,QAAQ;IACR,MAAM,EAAtB,MAAM;IACU,gBAAgB,EAAhC,MAAM;CACd,GAAS,KAAK,CAAC,SAAS,CAmC1B"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @param {Function} props.onAddReply - The function to add a reply to a comment.
|
|
8
8
|
* @param {Function} props.onCommentDelete - The function to delete a comment.
|
|
9
9
|
* @param {Function} props.onCommentResolve - The function to mark a comment as resolved.
|
|
10
|
-
* @return {
|
|
10
|
+
* @return {React.ReactNode} The rendered Comments component.
|
|
11
11
|
*/
|
|
12
12
|
export function Comments({ threads, onEditComment, onAddReply, onCommentDelete, onCommentResolve, }: {
|
|
13
13
|
threads: any[];
|
|
@@ -15,5 +15,5 @@ export function Comments({ threads, onEditComment, onAddReply, onCommentDelete,
|
|
|
15
15
|
onAddReply: Function;
|
|
16
16
|
onCommentDelete: Function;
|
|
17
17
|
onCommentResolve: Function;
|
|
18
|
-
}):
|
|
18
|
+
}): React.ReactNode;
|
|
19
19
|
//# sourceMappingURL=comments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"AA4BA;;;;;;;;;;GAUG;AACH,qGAPG;IAAwB,OAAO;IACP,aAAa;IACb,UAAU;IACV,eAAe;IACf,gBAAgB;CACxC,GAAS,KAAK,CAAC,SAAS,CA+N1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/create-template-part-modal/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/create-template-part-modal/index.js"],"names":[],"mappings":"AAuCA;;;gCAqBC;AAED;;;;;;;;gCAmJC"}
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
* @param {IconType} props.icon An icon for the document, no default.
|
|
14
14
|
* (A default icon indicating the document post type is no longer used.)
|
|
15
15
|
*
|
|
16
|
-
* @return {
|
|
16
|
+
* @return {React.ReactNode} The rendered DocumentBar component.
|
|
17
17
|
*/
|
|
18
18
|
export default function DocumentBar(props: {
|
|
19
19
|
title: string;
|
|
20
20
|
icon: IconType;
|
|
21
|
-
}):
|
|
21
|
+
}): React.ReactNode;
|
|
22
22
|
export type IconType = import("@wordpress/components").IconType;
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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":"AAqCA;;;;;;;;;;;;;;;;GAgBG;AACH,2CAPG;IAAwB,KAAK,EAArB,MAAM;IAEU,IAAI,EAApB,QAAQ;CAGhB,GAAS,KAAK,CAAC,SAAS,CA8K1B;uBAjMa,OAAO,uBAAuB,EAAE,QAAQ"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Component check if there are any headings (core/heading blocks) present in the document.
|
|
3
3
|
*
|
|
4
|
-
* @param {Object}
|
|
5
|
-
* @param {
|
|
4
|
+
* @param {Object} props Props.
|
|
5
|
+
* @param {React.ReactElement} props.children Children to be rendered.
|
|
6
6
|
*
|
|
7
|
-
* @return {
|
|
7
|
+
* @return {React.ReactElement} The component to be rendered or null if there are headings.
|
|
8
8
|
*/
|
|
9
9
|
export default function DocumentOutlineCheck({ children }: {
|
|
10
|
-
children:
|
|
11
|
-
}):
|
|
10
|
+
children: React.ReactElement;
|
|
11
|
+
}): React.ReactElement;
|
|
12
12
|
//# sourceMappingURL=check.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/check.js"],"names":[],"mappings":"AAMA;;;;;;;GAOG;AACH,2DAJG;
|
|
1
|
+
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/check.js"],"names":[],"mappings":"AAMA;;;;;;;GAOG;AACH,2DAJG;IAAkC,QAAQ,EAAlC,KAAK,CAAC,YAAY;CAE1B,GAAS,KAAK,CAAC,YAAY,CAc7B"}
|
|
@@ -2,15 +2,13 @@
|
|
|
2
2
|
* Renders a document outline component.
|
|
3
3
|
*
|
|
4
4
|
* @param {Object} props Props.
|
|
5
|
-
* @param {Function} props.onSelect Function to be called when an outline item is selected
|
|
6
|
-
* @param {boolean} props.isTitleSupported Indicates whether the title is supported.
|
|
5
|
+
* @param {Function} props.onSelect Function to be called when an outline item is selected
|
|
7
6
|
* @param {boolean} props.hasOutlineItemsDisabled Indicates whether the outline items are disabled.
|
|
8
7
|
*
|
|
9
|
-
* @return {
|
|
8
|
+
* @return {React.ReactNode} The rendered component.
|
|
10
9
|
*/
|
|
11
|
-
export default function DocumentOutline({ onSelect,
|
|
10
|
+
export default function DocumentOutline({ onSelect, hasOutlineItemsDisabled, }: {
|
|
12
11
|
onSelect: Function;
|
|
13
|
-
isTitleSupported: boolean;
|
|
14
12
|
hasOutlineItemsDisabled: boolean;
|
|
15
|
-
}):
|
|
13
|
+
}): React.ReactNode;
|
|
16
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/index.js"],"names":[],"mappings":"AAqGA;;;;;;;;GAQG;AACH,gFALG;IAAwB,QAAQ;IACR,uBAAuB,EAAvC,OAAO;CAEf,GAAS,KAAK,CAAC,SAAS,CA6G1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-tools/index.js"],"names":[],"mappings":";AA0BA;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-tools/index.js"],"names":[],"mappings":";AA0BA;;;gCA+JC"}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
export default EditorContentSlotFill;
|
|
2
|
-
declare const EditorContentSlotFill:
|
|
2
|
+
declare const EditorContentSlotFill: {
|
|
3
|
+
name: import("@wordpress/components/build-types/slot-fill/types").SlotKey;
|
|
4
|
+
Fill: {
|
|
5
|
+
(props: Omit<import("@wordpress/components/build-types/slot-fill/types").FillComponentProps, "name">): import("react").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
Slot: {
|
|
9
|
+
(props: import("@wordpress/components/build-types/slot-fill/types").DistributiveOmit<import("@wordpress/components/build-types/slot-fill/types").SlotComponentProps, "name">): import("react").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
__unstableName: import("@wordpress/components/build-types/slot-fill/types").SlotKey;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
3
14
|
//# sourceMappingURL=content-slot-fill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-slot-fill.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/content-slot-fill.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"content-slot-fill.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/content-slot-fill.js"],"names":[],"mappings":";AAKA;;;sHAK+7B,OAAO;;;;8LAAqI,OAAO;;;;EAHhlC"}
|
|
@@ -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":"AA0CA;;;;;;;;;;;;;gCA4KC"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* <EditorNotices />
|
|
7
7
|
* ```
|
|
8
8
|
*
|
|
9
|
-
* @return {
|
|
9
|
+
* @return {React.ReactNode} The rendered EditorNotices component.
|
|
10
10
|
*/
|
|
11
|
-
export function EditorNotices():
|
|
11
|
+
export function EditorNotices(): React.ReactNode;
|
|
12
12
|
export default EditorNotices;
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-notices/index.js"],"names":[],"mappings":"AAYA;;;;;;;;;GASG;AACH,iCAFY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-notices/index.js"],"names":[],"mappings":"AAYA;;;;;;;;;GASG;AACH,iCAFY,KAAK,CAAC,SAAS,CAgC1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Renders the editor snackbars component.
|
|
3
3
|
*
|
|
4
|
-
* @return {
|
|
4
|
+
* @return {React.ReactNode} The rendered component.
|
|
5
5
|
*/
|
|
6
|
-
export default function EditorSnackbars():
|
|
6
|
+
export default function EditorSnackbars(): React.ReactNode;
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-snackbars/index.js"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,2CAFY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-snackbars/index.js"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,2CAFY,KAAK,CAAC,SAAS,CAmB1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-record-item.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/entity-record-item.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entity-record-item.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/entity-record-item.js"],"names":[],"mappings":"AAgBA;;;;gCA2DC"}
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* @param {Function} props.close The function to close the dialog.
|
|
6
6
|
* @param {Function} props.renderDialog The function to render the dialog.
|
|
7
7
|
*
|
|
8
|
-
* @return {
|
|
8
|
+
* @return {React.ReactNode} The rendered component.
|
|
9
9
|
*/
|
|
10
10
|
export default function EntitiesSavedStates({ close, renderDialog, }: {
|
|
11
11
|
close: Function;
|
|
12
12
|
renderDialog: Function;
|
|
13
|
-
}):
|
|
13
|
+
}): React.ReactNode;
|
|
14
14
|
/**
|
|
15
15
|
* Renders a panel for saving entities with dirty records.
|
|
16
16
|
*
|
|
@@ -26,7 +26,7 @@ export default function EntitiesSavedStates({ close, renderDialog, }: {
|
|
|
26
26
|
* @param {Function} props.setUnselectedEntities Function to set unselected entities.
|
|
27
27
|
* @param {Array} props.unselectedEntities Array of unselected entities.
|
|
28
28
|
*
|
|
29
|
-
* @return {
|
|
29
|
+
* @return {React.ReactNode} The rendered component.
|
|
30
30
|
*/
|
|
31
31
|
export function EntitiesSavedStatesExtensible({ additionalPrompt, close, onSave, saveEnabled: saveEnabledProp, saveLabel, renderDialog, dirtyEntityRecords, isDirty, setUnselectedEntities, unselectedEntities, }: {
|
|
32
32
|
additionalPrompt: string;
|
|
@@ -39,5 +39,5 @@ export function EntitiesSavedStatesExtensible({ additionalPrompt, close, onSave,
|
|
|
39
39
|
isDirty: boolean;
|
|
40
40
|
setUnselectedEntities: Function;
|
|
41
41
|
unselectedEntities: any[];
|
|
42
|
-
}):
|
|
42
|
+
}): React.ReactNode;
|
|
43
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/index.js"],"names":[],"mappings":"AA4BA;;;;;;;;GAQG;AACH,sEALG;IAAwB,KAAK;IACL,YAAY;CAEpC,GAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/index.js"],"names":[],"mappings":"AA4BA;;;;;;;;GAQG;AACH,sEALG;IAAwB,KAAK;IACL,YAAY;CAEpC,GAAS,KAAK,CAAC,SAAS,CAc1B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,mNAbG;IAAwB,gBAAgB,EAAhC,MAAM;IACU,KAAK;IACL,MAAM;IACN,WAAW,EAA3B,OAAO;IACS,SAAS,EAAzB,MAAM;IACU,YAAY;IACZ,kBAAkB;IAClB,OAAO,EAAvB,OAAO;IACS,qBAAqB;IACrB,kBAAkB;CAE1C,GAAS,KAAK,CAAC,SAAS,CAuI1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"back-button.d.ts","sourceRoot":"","sources":["../../../src/components/header/back-button.js"],"names":[],"mappings":"AAWO,4CAGN;;AAID;
|
|
1
|
+
{"version":3,"file":"back-button.d.ts","sourceRoot":"","sources":["../../../src/components/header/back-button.js"],"names":[],"mappings":"AAWO,4CAGN;;AAID;kHAcse,OAAO;;EAdrd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools-more-menu-group.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/tools-more-menu-group.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"tools-more-menu-group.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/tools-more-menu-group.js"],"names":[],"mappings":";;kHAWk3B,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-more-menu-group.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/view-more-menu-group.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"view-more-menu-group.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/view-more-menu-group.js"],"names":[],"mappings":";;kHAa+wB,OAAO"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Wrapper component that renders its children only if the post type supports page attributes.
|
|
3
3
|
*
|
|
4
|
-
* @param {Object}
|
|
5
|
-
* @param {
|
|
4
|
+
* @param {Object} props - The component props.
|
|
5
|
+
* @param {React.ReactElement} props.children - The child components to render.
|
|
6
6
|
*
|
|
7
|
-
* @return {
|
|
7
|
+
* @return {React.ReactElement} The rendered child components or null if page attributes are not supported.
|
|
8
8
|
*/
|
|
9
9
|
export function PageAttributesCheck({ children }: {
|
|
10
|
-
children:
|
|
11
|
-
}):
|
|
10
|
+
children: React.ReactElement;
|
|
11
|
+
}): React.ReactElement;
|
|
12
12
|
export default PageAttributesCheck;
|
|
13
13
|
//# sourceMappingURL=check.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/check.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,kDAJG;
|
|
1
|
+
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/check.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,kDAJG;IAAkC,QAAQ,EAAlC,KAAK,CAAC,YAAY;CAE1B,GAAS,KAAK,CAAC,YAAY,CAiB7B"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* for setting the order of a given page.
|
|
4
4
|
* The component is now not used in core but was kept for backward compatibility.
|
|
5
5
|
*
|
|
6
|
-
* @return {
|
|
6
|
+
* @return {React.ReactNode} The rendered component.
|
|
7
7
|
*/
|
|
8
|
-
export default function PageAttributesOrderWithChecks():
|
|
8
|
+
export default function PageAttributesOrderWithChecks(): React.ReactNode;
|
|
9
9
|
//# sourceMappingURL=order.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/order.js"],"names":[],"mappings":"AAwDA;;;;;;GAMG;AACH,yDAFY,SAAS,
|
|
1
|
+
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/order.js"],"names":[],"mappings":"AAwDA;;;;;;GAMG;AACH,yDAFY,KAAK,CAAC,SAAS,CAQ1B"}
|