@wordpress/editor 14.5.0 → 14.7.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 +4 -0
- package/README.md +37 -0
- package/build/bindings/post-meta.js +12 -10
- package/build/bindings/post-meta.js.map +1 -1
- package/build/components/block-manager/index.js +4 -1
- package/build/components/block-manager/index.js.map +1 -1
- package/build/components/block-settings-menu/content-only-settings-menu.js +5 -8
- package/build/components/block-settings-menu/content-only-settings-menu.js.map +1 -1
- package/build/components/create-template-part-modal/index.js +1 -0
- package/build/components/create-template-part-modal/index.js.map +1 -1
- package/build/components/document-bar/index.js +4 -4
- package/build/components/document-bar/index.js.map +1 -1
- package/build/components/editor-history/redo.js +4 -1
- package/build/components/editor-history/redo.js.map +1 -1
- package/build/components/editor-history/undo.js +4 -1
- package/build/components/editor-history/undo.js.map +1 -1
- package/build/components/editor-interface/index.js +2 -3
- package/build/components/editor-interface/index.js.map +1 -1
- package/build/components/error-boundary/index.js +4 -1
- package/build/components/error-boundary/index.js.map +1 -1
- package/build/components/global-styles-provider/index.js +17 -4
- package/build/components/global-styles-provider/index.js.map +1 -1
- package/build/components/index.js +8 -0
- package/build/components/index.js.map +1 -1
- package/build/components/inserter-sidebar/index.js +8 -7
- package/build/components/inserter-sidebar/index.js.map +1 -1
- package/build/components/local-autosave-monitor/index.js +5 -5
- package/build/components/local-autosave-monitor/index.js.map +1 -1
- package/build/components/page-attributes/parent.js +10 -6
- package/build/components/page-attributes/parent.js.map +1 -1
- package/build/components/plugin-preview-menu-item/index.js +57 -0
- package/build/components/plugin-preview-menu-item/index.js.map +1 -0
- package/build/components/post-actions/actions.js +4 -499
- package/build/components/post-actions/actions.js.map +1 -1
- package/build/components/post-actions/index.js +13 -25
- package/build/components/post-actions/index.js.map +1 -1
- package/build/components/post-card-panel/index.js +20 -20
- package/build/components/post-card-panel/index.js.map +1 -1
- package/build/components/post-excerpt/panel.js +4 -1
- package/build/components/post-excerpt/panel.js.map +1 -1
- package/build/components/post-featured-image/index.js +14 -3
- package/build/components/post-featured-image/index.js.map +1 -1
- package/build/components/post-format/index.js +4 -1
- package/build/components/post-format/index.js.map +1 -1
- package/build/components/post-last-revision/index.js +4 -1
- package/build/components/post-last-revision/index.js.map +1 -1
- package/build/components/post-locked-modal/index.js +12 -3
- package/build/components/post-locked-modal/index.js.map +1 -1
- package/build/components/post-publish-panel/index.js +4 -1
- package/build/components/post-publish-panel/index.js.map +1 -1
- package/build/components/post-publish-panel/maybe-post-format-panel.js +4 -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 +14 -8
- package/build/components/post-publish-panel/maybe-upload-media.js.map +1 -1
- package/build/components/post-publish-panel/postpublish.js +4 -0
- package/build/components/post-publish-panel/postpublish.js.map +1 -1
- package/build/components/post-slug/index.js +1 -0
- package/build/components/post-slug/index.js.map +1 -1
- package/build/components/post-status/index.js +4 -2
- package/build/components/post-status/index.js.map +1 -1
- package/build/components/post-taxonomies/hierarchical-term-selector.js +6 -2
- package/build/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
- package/build/components/post-taxonomies/most-used-terms.js +4 -1
- package/build/components/post-taxonomies/most-used-terms.js.map +1 -1
- package/build/components/post-template/block-theme.js +13 -4
- package/build/components/post-template/block-theme.js.map +1 -1
- package/build/components/post-template/classic-theme.js +4 -1
- package/build/components/post-template/classic-theme.js.map +1 -1
- package/build/components/post-title/index.js +32 -46
- package/build/components/post-title/index.js.map +1 -1
- package/build/components/post-url/index.js +10 -6
- package/build/components/post-url/index.js.map +1 -1
- package/build/components/preview-dropdown/index.js +26 -14
- package/build/components/preview-dropdown/index.js.map +1 -1
- package/build/components/provider/use-block-editor-settings.js +5 -6
- package/build/components/provider/use-block-editor-settings.js.map +1 -1
- package/build/components/save-publish-panels/index.js +8 -2
- package/build/components/save-publish-panels/index.js.map +1 -1
- package/build/components/sidebar/post-summary.js +10 -7
- package/build/components/sidebar/post-summary.js.map +1 -1
- package/build/components/start-template-options/index.js +4 -1
- package/build/components/start-template-options/index.js.map +1 -1
- package/build/components/table-of-contents/index.js +4 -1
- package/build/components/table-of-contents/index.js.map +1 -1
- package/build/components/template-content-panel/index.js +1 -1
- package/build/components/template-content-panel/index.js.map +1 -1
- package/build/components/text-editor/index.js +4 -1
- package/build/components/text-editor/index.js.map +1 -1
- package/build/components/visual-editor/index.js +1 -6
- package/build/components/visual-editor/index.js.map +1 -1
- package/build/dataviews/actions/duplicate-pattern.js +48 -0
- package/build/dataviews/actions/duplicate-pattern.js.map +1 -0
- package/build/dataviews/actions/duplicate-post.js +146 -0
- package/build/dataviews/actions/duplicate-post.js.map +1 -0
- package/build/dataviews/actions/duplicate-post.native.js +9 -0
- package/build/dataviews/actions/duplicate-post.native.js.map +1 -0
- package/build/dataviews/actions/duplicate-template-part.js +67 -0
- package/build/dataviews/actions/duplicate-template-part.js.map +1 -0
- package/build/dataviews/actions/export-pattern.js +2 -0
- package/build/dataviews/actions/export-pattern.js.map +1 -1
- package/build/dataviews/actions/permanently-delete-post.js +2 -0
- package/build/dataviews/actions/permanently-delete-post.js.map +1 -1
- package/build/dataviews/actions/rename-post.js +125 -0
- package/build/dataviews/actions/rename-post.js.map +1 -0
- package/build/dataviews/actions/reorder-page.js +116 -0
- package/build/dataviews/actions/reorder-page.js.map +1 -0
- package/build/dataviews/actions/reorder-page.native.js +9 -0
- package/build/dataviews/actions/reorder-page.native.js.map +1 -0
- package/build/dataviews/actions/reset-post.js +9 -3
- package/build/dataviews/actions/reset-post.js.map +1 -1
- package/build/dataviews/actions/trash-post.js +8 -2
- package/build/dataviews/actions/trash-post.js.map +1 -1
- package/build/dataviews/actions/utils.js +9 -1
- package/build/dataviews/actions/utils.js.map +1 -1
- package/build/dataviews/actions/view-post-revisions.js +49 -0
- package/build/dataviews/actions/view-post-revisions.js.map +1 -0
- package/build/dataviews/actions/view-post.js +36 -0
- package/build/dataviews/actions/view-post.js.map +1 -0
- package/build/dataviews/fields/index.js +32 -0
- package/build/dataviews/fields/index.js.map +1 -0
- package/build/dataviews/store/private-actions.js +16 -2
- package/build/dataviews/store/private-actions.js.map +1 -1
- package/build/dataviews/types.js.map +1 -1
- package/build/private-apis.js +2 -2
- package/build/private-apis.js.map +1 -1
- package/build/store/private-actions.js +2 -2
- package/build/store/private-actions.js.map +1 -1
- package/build/store/utils/is-template-revertable.js +1 -1
- package/build/store/utils/is-template-revertable.js.map +1 -1
- package/build-module/bindings/post-meta.js +12 -10
- package/build-module/bindings/post-meta.js.map +1 -1
- package/build-module/components/block-manager/index.js +4 -1
- package/build-module/components/block-manager/index.js.map +1 -1
- package/build-module/components/block-settings-menu/content-only-settings-menu.js +6 -9
- package/build-module/components/block-settings-menu/content-only-settings-menu.js.map +1 -1
- package/build-module/components/create-template-part-modal/index.js +1 -0
- package/build-module/components/create-template-part-modal/index.js.map +1 -1
- package/build-module/components/document-bar/index.js +4 -4
- package/build-module/components/document-bar/index.js.map +1 -1
- package/build-module/components/editor-history/redo.js +4 -1
- package/build-module/components/editor-history/redo.js.map +1 -1
- package/build-module/components/editor-history/undo.js +4 -1
- package/build-module/components/editor-history/undo.js.map +1 -1
- package/build-module/components/editor-interface/index.js +2 -3
- package/build-module/components/editor-interface/index.js.map +1 -1
- package/build-module/components/error-boundary/index.js +4 -1
- package/build-module/components/error-boundary/index.js.map +1 -1
- package/build-module/components/global-styles-provider/index.js +17 -4
- package/build-module/components/global-styles-provider/index.js.map +1 -1
- package/build-module/components/index.js +1 -0
- package/build-module/components/index.js.map +1 -1
- package/build-module/components/inserter-sidebar/index.js +8 -7
- package/build-module/components/inserter-sidebar/index.js.map +1 -1
- package/build-module/components/local-autosave-monitor/index.js +5 -5
- package/build-module/components/local-autosave-monitor/index.js.map +1 -1
- package/build-module/components/page-attributes/parent.js +10 -6
- package/build-module/components/page-attributes/parent.js.map +1 -1
- package/build-module/components/plugin-preview-menu-item/index.js +52 -0
- package/build-module/components/plugin-preview-menu-item/index.js.map +1 -0
- package/build-module/components/post-actions/actions.js +5 -501
- package/build-module/components/post-actions/actions.js.map +1 -1
- package/build-module/components/post-actions/index.js +13 -25
- package/build-module/components/post-actions/index.js.map +1 -1
- package/build-module/components/post-card-panel/index.js +20 -20
- package/build-module/components/post-card-panel/index.js.map +1 -1
- package/build-module/components/post-excerpt/panel.js +4 -1
- package/build-module/components/post-excerpt/panel.js.map +1 -1
- package/build-module/components/post-featured-image/index.js +14 -3
- package/build-module/components/post-featured-image/index.js.map +1 -1
- package/build-module/components/post-format/index.js +4 -1
- package/build-module/components/post-format/index.js.map +1 -1
- package/build-module/components/post-last-revision/index.js +4 -1
- package/build-module/components/post-last-revision/index.js.map +1 -1
- package/build-module/components/post-locked-modal/index.js +12 -3
- package/build-module/components/post-locked-modal/index.js.map +1 -1
- package/build-module/components/post-publish-panel/index.js +4 -1
- package/build-module/components/post-publish-panel/index.js.map +1 -1
- package/build-module/components/post-publish-panel/maybe-post-format-panel.js +4 -1
- package/build-module/components/post-publish-panel/maybe-post-format-panel.js.map +1 -1
- package/build-module/components/post-publish-panel/maybe-upload-media.js +14 -8
- package/build-module/components/post-publish-panel/maybe-upload-media.js.map +1 -1
- package/build-module/components/post-publish-panel/postpublish.js +4 -0
- package/build-module/components/post-publish-panel/postpublish.js.map +1 -1
- package/build-module/components/post-slug/index.js +1 -0
- package/build-module/components/post-slug/index.js.map +1 -1
- package/build-module/components/post-status/index.js +4 -2
- package/build-module/components/post-status/index.js.map +1 -1
- package/build-module/components/post-taxonomies/hierarchical-term-selector.js +7 -3
- package/build-module/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
- package/build-module/components/post-taxonomies/most-used-terms.js +4 -1
- package/build-module/components/post-taxonomies/most-used-terms.js.map +1 -1
- package/build-module/components/post-template/block-theme.js +13 -4
- package/build-module/components/post-template/block-theme.js.map +1 -1
- package/build-module/components/post-template/classic-theme.js +4 -1
- package/build-module/components/post-template/classic-theme.js.map +1 -1
- package/build-module/components/post-title/index.js +33 -47
- package/build-module/components/post-title/index.js.map +1 -1
- package/build-module/components/post-url/index.js +11 -7
- package/build-module/components/post-url/index.js.map +1 -1
- package/build-module/components/preview-dropdown/index.js +26 -14
- package/build-module/components/preview-dropdown/index.js.map +1 -1
- package/build-module/components/provider/use-block-editor-settings.js +6 -7
- package/build-module/components/provider/use-block-editor-settings.js.map +1 -1
- package/build-module/components/save-publish-panels/index.js +8 -2
- package/build-module/components/save-publish-panels/index.js.map +1 -1
- package/build-module/components/sidebar/post-summary.js +10 -7
- package/build-module/components/sidebar/post-summary.js.map +1 -1
- package/build-module/components/start-template-options/index.js +4 -1
- package/build-module/components/start-template-options/index.js.map +1 -1
- package/build-module/components/table-of-contents/index.js +4 -1
- package/build-module/components/table-of-contents/index.js.map +1 -1
- package/build-module/components/template-content-panel/index.js +1 -1
- package/build-module/components/template-content-panel/index.js.map +1 -1
- package/build-module/components/text-editor/index.js +4 -1
- package/build-module/components/text-editor/index.js.map +1 -1
- package/build-module/components/visual-editor/index.js +1 -6
- package/build-module/components/visual-editor/index.js.map +1 -1
- package/build-module/dataviews/actions/duplicate-pattern.js +39 -0
- package/build-module/dataviews/actions/duplicate-pattern.js.map +1 -0
- package/build-module/dataviews/actions/duplicate-post.js +139 -0
- package/build-module/dataviews/actions/duplicate-post.js.map +1 -0
- package/build-module/dataviews/actions/duplicate-post.native.js +3 -0
- package/build-module/dataviews/actions/duplicate-post.native.js.map +1 -0
- package/build-module/dataviews/actions/duplicate-template-part.js +58 -0
- package/build-module/dataviews/actions/duplicate-template-part.js.map +1 -0
- package/build-module/dataviews/actions/export-pattern.js +2 -0
- package/build-module/dataviews/actions/export-pattern.js.map +1 -1
- package/build-module/dataviews/actions/permanently-delete-post.js +3 -0
- package/build-module/dataviews/actions/permanently-delete-post.js.map +1 -1
- package/build-module/dataviews/actions/rename-post.js +118 -0
- package/build-module/dataviews/actions/rename-post.js.map +1 -0
- package/build-module/dataviews/actions/reorder-page.js +111 -0
- package/build-module/dataviews/actions/reorder-page.js.map +1 -0
- package/build-module/dataviews/actions/reorder-page.native.js +3 -0
- package/build-module/dataviews/actions/reorder-page.native.js.map +1 -0
- package/build-module/dataviews/actions/reset-post.js +9 -3
- package/build-module/dataviews/actions/reset-post.js.map +1 -1
- package/build-module/dataviews/actions/trash-post.js +8 -2
- package/build-module/dataviews/actions/trash-post.js.map +1 -1
- package/build-module/dataviews/actions/utils.js +7 -1
- package/build-module/dataviews/actions/utils.js.map +1 -1
- package/build-module/dataviews/actions/view-post-revisions.js +43 -0
- package/build-module/dataviews/actions/view-post-revisions.js.map +1 -0
- package/build-module/dataviews/actions/view-post.js +30 -0
- package/build-module/dataviews/actions/view-post.js.map +1 -0
- package/build-module/dataviews/fields/index.js +26 -0
- package/build-module/dataviews/fields/index.js.map +1 -0
- package/build-module/dataviews/store/private-actions.js +16 -2
- package/build-module/dataviews/store/private-actions.js.map +1 -1
- package/build-module/dataviews/types.js.map +1 -1
- package/build-module/private-apis.js +2 -2
- package/build-module/private-apis.js.map +1 -1
- package/build-module/store/private-actions.js +2 -2
- package/build-module/store/private-actions.js.map +1 -1
- package/build-module/store/utils/is-template-revertable.js +1 -1
- package/build-module/store/utils/is-template-revertable.js.map +1 -1
- package/build-style/style-rtl.css +14 -38
- package/build-style/style.css +14 -38
- package/build-types/bindings/post-meta.d.ts +0 -3
- package/build-types/bindings/post-meta.d.ts.map +1 -1
- package/build-types/components/block-settings-menu/content-only-settings-menu.d.ts.map +1 -1
- package/build-types/components/create-template-part-modal/index.d.ts.map +1 -1
- package/build-types/components/editor-history/redo.d.ts.map +1 -1
- package/build-types/components/editor-history/undo.d.ts.map +1 -1
- package/build-types/components/editor-interface/index.d.ts.map +1 -1
- package/build-types/components/error-boundary/index.d.ts.map +1 -1
- package/build-types/components/global-styles-provider/index.d.ts.map +1 -1
- package/build-types/components/index.d.ts +1 -0
- package/build-types/components/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-preview-menu-item/index.d.ts +3 -0
- package/build-types/components/plugin-preview-menu-item/index.d.ts.map +1 -0
- package/build-types/components/post-actions/actions.d.ts +1 -26
- package/build-types/components/post-actions/actions.d.ts.map +1 -1
- package/build-types/components/post-actions/index.d.ts +3 -2
- package/build-types/components/post-actions/index.d.ts.map +1 -1
- package/build-types/components/post-card-panel/index.d.ts +4 -2
- package/build-types/components/post-card-panel/index.d.ts.map +1 -1
- package/build-types/components/post-format/index.d.ts.map +1 -1
- package/build-types/components/post-last-revision/index.d.ts.map +1 -1
- package/build-types/components/post-locked-modal/index.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-post-format-panel.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-upload-media.d.ts.map +1 -1
- package/build-types/components/post-slug/index.d.ts.map +1 -1
- package/build-types/components/post-status/index.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts +1 -17
- package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/most-used-terms.d.ts.map +1 -1
- package/build-types/components/post-template/block-theme.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/preview-dropdown/index.d.ts.map +1 -1
- package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
- package/build-types/components/save-publish-panels/index.d.ts.map +1 -1
- package/build-types/components/sidebar/post-summary.d.ts.map +1 -1
- package/build-types/components/start-template-options/index.d.ts.map +1 -1
- package/build-types/components/template-content-panel/index.d.ts.map +1 -1
- package/build-types/components/text-editor/index.d.ts.map +1 -1
- package/build-types/components/visual-editor/index.d.ts.map +1 -1
- package/build-types/dataviews/actions/duplicate-pattern.d.ts +5 -0
- package/build-types/dataviews/actions/duplicate-pattern.d.ts.map +1 -0
- package/build-types/dataviews/actions/duplicate-post.d.ts +5 -0
- package/build-types/dataviews/actions/duplicate-post.d.ts.map +1 -0
- package/build-types/dataviews/actions/duplicate-post.native.d.ts +3 -0
- package/build-types/dataviews/actions/duplicate-post.native.d.ts.map +1 -0
- package/build-types/dataviews/actions/duplicate-template-part.d.ts +5 -0
- package/build-types/dataviews/actions/duplicate-template-part.d.ts.map +1 -0
- package/build-types/dataviews/actions/export-pattern.d.ts.map +1 -1
- package/build-types/dataviews/actions/permanently-delete-post.d.ts.map +1 -1
- package/build-types/dataviews/actions/rename-post.d.ts +5 -0
- package/build-types/dataviews/actions/rename-post.d.ts.map +1 -0
- package/build-types/dataviews/actions/reorder-page.d.ts +8 -0
- package/build-types/dataviews/actions/reorder-page.d.ts.map +1 -0
- package/build-types/dataviews/actions/reorder-page.native.d.ts +3 -0
- package/build-types/dataviews/actions/reorder-page.native.d.ts.map +1 -0
- package/build-types/dataviews/actions/reset-post.d.ts.map +1 -1
- package/build-types/dataviews/actions/trash-post.d.ts.map +1 -1
- package/build-types/dataviews/actions/utils.d.ts +5 -3
- package/build-types/dataviews/actions/utils.d.ts.map +1 -1
- package/build-types/dataviews/actions/view-post-revisions.d.ts +8 -0
- package/build-types/dataviews/actions/view-post-revisions.d.ts.map +1 -0
- package/build-types/dataviews/actions/view-post.d.ts +8 -0
- package/build-types/dataviews/actions/view-post.d.ts.map +1 -0
- package/build-types/dataviews/fields/index.d.ts +8 -0
- package/build-types/dataviews/fields/index.d.ts.map +1 -0
- package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
- package/build-types/dataviews/types.d.ts +57 -8
- package/build-types/dataviews/types.d.ts.map +1 -1
- package/build-types/store/private-actions.d.ts.map +1 -1
- package/build-types/store/utils/is-template-revertable.d.ts.map +1 -1
- package/package.json +36 -36
- package/src/bindings/post-meta.js +14 -8
- package/src/components/block-manager/index.js +2 -0
- package/src/components/block-manager/style.scss +2 -2
- package/src/components/block-settings-menu/content-only-settings-menu.js +5 -9
- package/src/components/create-template-part-modal/index.js +1 -0
- package/src/components/create-template-part-modal/style.scss +1 -1
- package/src/components/document-bar/index.js +4 -4
- package/src/components/document-outline/style.scss +1 -1
- package/src/components/editor-history/redo.js +2 -0
- package/src/components/editor-history/undo.js +2 -0
- package/src/components/editor-interface/index.js +2 -4
- package/src/components/error-boundary/index.js +6 -1
- package/src/components/error-boundary/style.native.scss +1 -1
- package/src/components/error-boundary/style.scss +1 -1
- package/src/components/global-styles-provider/index.js +16 -3
- package/src/components/header/style.scss +6 -3
- package/src/components/index.js +1 -0
- package/src/components/inserter-sidebar/index.js +12 -5
- package/src/components/local-autosave-monitor/index.js +6 -6
- package/src/components/page-attributes/parent.js +18 -13
- package/src/components/plugin-preview-menu-item/index.js +52 -0
- package/src/components/post-actions/actions.js +5 -616
- package/src/components/post-actions/index.js +24 -34
- package/src/components/post-card-panel/index.js +28 -27
- package/src/components/post-card-panel/style.scss +1 -1
- package/src/components/post-discussion/style.scss +0 -9
- package/src/components/post-excerpt/panel.js +2 -0
- package/src/components/post-featured-image/index.js +8 -0
- package/src/components/post-featured-image/style.scss +1 -2
- package/src/components/post-format/index.js +2 -0
- package/src/components/post-format/style.scss +0 -6
- package/src/components/post-last-revision/index.js +2 -0
- package/src/components/post-locked-modal/index.js +14 -2
- package/src/components/post-locked-modal/style.scss +1 -1
- package/src/components/post-publish-panel/index.js +2 -0
- package/src/components/post-publish-panel/maybe-post-format-panel.js +2 -0
- package/src/components/post-publish-panel/maybe-upload-media.js +37 -29
- package/src/components/post-publish-panel/postpublish.js +8 -2
- package/src/components/post-publish-panel/style.scss +3 -1
- package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +8 -8
- package/src/components/post-slug/index.js +1 -0
- package/src/components/post-status/index.js +3 -2
- package/src/components/post-status/style.scss +0 -19
- package/src/components/post-taxonomies/hierarchical-term-selector.js +5 -1
- package/src/components/post-taxonomies/most-used-terms.js +2 -0
- package/src/components/post-template/block-theme.js +15 -9
- package/src/components/post-template/classic-theme.js +2 -0
- package/src/components/post-title/index.js +30 -41
- package/src/components/post-url/index.js +17 -9
- package/src/components/preview-dropdown/index.js +28 -20
- package/src/components/provider/use-block-editor-settings.js +5 -5
- package/src/components/resizable-editor/style.scss +2 -2
- package/src/components/save-publish-panels/index.js +4 -0
- package/src/components/save-publish-panels/style.scss +3 -3
- package/src/components/sidebar/post-summary.js +20 -16
- package/src/components/site-discussion/style.scss +0 -14
- package/src/components/start-template-options/index.js +6 -1
- package/src/components/table-of-contents/index.js +2 -0
- package/src/components/template-content-panel/index.js +4 -1
- package/src/components/text-editor/index.js +2 -0
- package/src/components/visual-editor/index.js +2 -9
- package/src/dataviews/actions/duplicate-pattern.tsx +40 -0
- package/src/dataviews/actions/duplicate-post.native.tsx +3 -0
- package/src/dataviews/actions/duplicate-post.tsx +174 -0
- package/src/dataviews/actions/duplicate-template-part.tsx +70 -0
- package/src/dataviews/actions/export-pattern.tsx +2 -0
- package/src/dataviews/actions/permanently-delete-post.tsx +2 -0
- package/src/dataviews/actions/rename-post.tsx +146 -0
- package/src/dataviews/actions/reorder-page.native.tsx +3 -0
- package/src/dataviews/actions/reorder-page.tsx +125 -0
- package/src/dataviews/actions/reset-post.tsx +6 -1
- package/src/dataviews/actions/trash-post.tsx +4 -0
- package/src/dataviews/actions/utils.ts +14 -4
- package/src/dataviews/actions/view-post-revisions.tsx +47 -0
- package/src/dataviews/actions/view-post.tsx +30 -0
- package/src/dataviews/fields/index.ts +26 -0
- package/src/dataviews/store/private-actions.ts +42 -1
- package/src/dataviews/types.ts +47 -6
- package/src/private-apis.js +2 -2
- package/src/store/private-actions.js +4 -2
- package/src/store/utils/is-template-revertable.js +2 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
* Radius scale.
|
|
39
39
|
*/
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Elevation scale.
|
|
42
42
|
*/
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Dimensions.
|
|
45
45
|
*/
|
|
46
46
|
/**
|
|
47
47
|
* Editor widths.
|
|
@@ -1232,7 +1232,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1232
1232
|
margin-left: 8px;
|
|
1233
1233
|
}
|
|
1234
1234
|
|
|
1235
|
-
@media (min-width:
|
|
1235
|
+
@media (min-width: 480px) {
|
|
1236
1236
|
.editor-header__post-preview-button {
|
|
1237
1237
|
display: none;
|
|
1238
1238
|
}
|
|
@@ -1243,10 +1243,14 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
.editor-editor-interface.is-distraction-free .editor-header {
|
|
1245
1245
|
background-color: #fff;
|
|
1246
|
-
border-bottom: 1px solid #e0e0e0;
|
|
1247
|
-
position: absolute;
|
|
1248
1246
|
width: 100%;
|
|
1249
1247
|
}
|
|
1248
|
+
@media (min-width: 782px) {
|
|
1249
|
+
.editor-editor-interface.is-distraction-free .editor-header {
|
|
1250
|
+
border-bottom: 1px solid #e0e0e0;
|
|
1251
|
+
position: absolute;
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1250
1254
|
.editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
|
|
1251
1255
|
visibility: hidden;
|
|
1252
1256
|
}
|
|
@@ -1509,13 +1513,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1509
1513
|
min-width: 248px;
|
|
1510
1514
|
margin: 8px;
|
|
1511
1515
|
}
|
|
1512
|
-
.editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__option {
|
|
1513
|
-
align-items: flex-start;
|
|
1514
|
-
}
|
|
1515
|
-
.editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__label .components-text {
|
|
1516
|
-
display: block;
|
|
1517
|
-
margin-top: 4px;
|
|
1518
|
-
}
|
|
1519
1516
|
|
|
1520
1517
|
.editor-post-discussion__panel-toggle .components-text {
|
|
1521
1518
|
color: inherit;
|
|
@@ -1596,7 +1593,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1596
1593
|
}
|
|
1597
1594
|
|
|
1598
1595
|
.editor-post-featured-image__toggle {
|
|
1599
|
-
border-radius: 2px;
|
|
1600
1596
|
height: 100%;
|
|
1601
1597
|
line-height: 20px;
|
|
1602
1598
|
padding: 8px 0;
|
|
@@ -1635,10 +1631,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1635
1631
|
margin: 8px;
|
|
1636
1632
|
}
|
|
1637
1633
|
|
|
1638
|
-
.editor-post-format__options .components-base-control__field > .components-v-stack {
|
|
1639
|
-
gap: 12px;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
1634
|
.editor-post-last-edited-panel {
|
|
1643
1635
|
color: #757575;
|
|
1644
1636
|
}
|
|
@@ -1680,7 +1672,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1680
1672
|
}
|
|
1681
1673
|
|
|
1682
1674
|
.editor-post-locked-modal__avatar {
|
|
1683
|
-
border-radius:
|
|
1675
|
+
border-radius: 50%;
|
|
1684
1676
|
margin-top: 16px;
|
|
1685
1677
|
min-width: initial !important;
|
|
1686
1678
|
}
|
|
@@ -1763,6 +1755,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1763
1755
|
border: none;
|
|
1764
1756
|
border-radius: 2px;
|
|
1765
1757
|
margin-left: 12px;
|
|
1758
|
+
flex-shrink: 0;
|
|
1766
1759
|
height: 36px;
|
|
1767
1760
|
width: 36px;
|
|
1768
1761
|
}
|
|
@@ -1776,6 +1769,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1776
1769
|
display: block;
|
|
1777
1770
|
color: #757575;
|
|
1778
1771
|
font-size: 12px;
|
|
1772
|
+
word-break: break-word;
|
|
1779
1773
|
}
|
|
1780
1774
|
|
|
1781
1775
|
.editor-post-publish-panel__header-publish-button,
|
|
@@ -2009,16 +2003,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
2009
2003
|
min-width: 320px;
|
|
2010
2004
|
padding: 16px;
|
|
2011
2005
|
}
|
|
2012
|
-
.editor-change-status__content .editor-change-status__options .components-base-control__field > .components-v-stack {
|
|
2013
|
-
gap: 12px;
|
|
2014
|
-
}
|
|
2015
|
-
.editor-change-status__content .editor-change-status__options .components-radio-control__option {
|
|
2016
|
-
align-items: flex-start;
|
|
2017
|
-
}
|
|
2018
|
-
.editor-change-status__content .editor-change-status__options label .components-text {
|
|
2019
|
-
display: block;
|
|
2020
|
-
margin-top: 4px;
|
|
2021
|
-
}
|
|
2022
2006
|
.editor-change-status__content .editor-change-status__password-legend {
|
|
2023
2007
|
padding: 0;
|
|
2024
2008
|
margin-bottom: 8px;
|
|
@@ -2372,7 +2356,7 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2372
2356
|
cursor: ew-resize;
|
|
2373
2357
|
outline: none;
|
|
2374
2358
|
background: none;
|
|
2375
|
-
border-radius:
|
|
2359
|
+
border-radius: 9999px;
|
|
2376
2360
|
border: 0;
|
|
2377
2361
|
height: 100px;
|
|
2378
2362
|
}
|
|
@@ -2385,7 +2369,7 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2385
2369
|
content: "";
|
|
2386
2370
|
width: 4px;
|
|
2387
2371
|
background-color: rgba(117, 117, 117, 0.4);
|
|
2388
|
-
border-radius:
|
|
2372
|
+
border-radius: 9999px;
|
|
2389
2373
|
}
|
|
2390
2374
|
.editor-resizable-editor__resize-handle.is-left {
|
|
2391
2375
|
right: -18px;
|
|
@@ -2513,14 +2497,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2513
2497
|
padding: 16px;
|
|
2514
2498
|
}
|
|
2515
2499
|
|
|
2516
|
-
.editor-site-discussion__options .components-radio-control__option {
|
|
2517
|
-
align-items: flex-start;
|
|
2518
|
-
}
|
|
2519
|
-
.editor-site-discussion__options label .components-text {
|
|
2520
|
-
display: block;
|
|
2521
|
-
margin-top: 4px;
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
2500
|
.table-of-contents__popover.components-popover .components-popover__content {
|
|
2525
2501
|
min-width: 380px;
|
|
2526
2502
|
}
|
package/build-style/style.css
CHANGED
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
* Radius scale.
|
|
39
39
|
*/
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Elevation scale.
|
|
42
42
|
*/
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Dimensions.
|
|
45
45
|
*/
|
|
46
46
|
/**
|
|
47
47
|
* Editor widths.
|
|
@@ -1232,7 +1232,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1232
1232
|
margin-right: 8px;
|
|
1233
1233
|
}
|
|
1234
1234
|
|
|
1235
|
-
@media (min-width:
|
|
1235
|
+
@media (min-width: 480px) {
|
|
1236
1236
|
.editor-header__post-preview-button {
|
|
1237
1237
|
display: none;
|
|
1238
1238
|
}
|
|
@@ -1243,10 +1243,14 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
.editor-editor-interface.is-distraction-free .editor-header {
|
|
1245
1245
|
background-color: #fff;
|
|
1246
|
-
border-bottom: 1px solid #e0e0e0;
|
|
1247
|
-
position: absolute;
|
|
1248
1246
|
width: 100%;
|
|
1249
1247
|
}
|
|
1248
|
+
@media (min-width: 782px) {
|
|
1249
|
+
.editor-editor-interface.is-distraction-free .editor-header {
|
|
1250
|
+
border-bottom: 1px solid #e0e0e0;
|
|
1251
|
+
position: absolute;
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1250
1254
|
.editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
|
|
1251
1255
|
visibility: hidden;
|
|
1252
1256
|
}
|
|
@@ -1509,13 +1513,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1509
1513
|
min-width: 248px;
|
|
1510
1514
|
margin: 8px;
|
|
1511
1515
|
}
|
|
1512
|
-
.editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__option {
|
|
1513
|
-
align-items: flex-start;
|
|
1514
|
-
}
|
|
1515
|
-
.editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__label .components-text {
|
|
1516
|
-
display: block;
|
|
1517
|
-
margin-top: 4px;
|
|
1518
|
-
}
|
|
1519
1516
|
|
|
1520
1517
|
.editor-post-discussion__panel-toggle .components-text {
|
|
1521
1518
|
color: inherit;
|
|
@@ -1596,7 +1593,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1596
1593
|
}
|
|
1597
1594
|
|
|
1598
1595
|
.editor-post-featured-image__toggle {
|
|
1599
|
-
border-radius: 2px;
|
|
1600
1596
|
height: 100%;
|
|
1601
1597
|
line-height: 20px;
|
|
1602
1598
|
padding: 8px 0;
|
|
@@ -1635,10 +1631,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1635
1631
|
margin: 8px;
|
|
1636
1632
|
}
|
|
1637
1633
|
|
|
1638
|
-
.editor-post-format__options .components-base-control__field > .components-v-stack {
|
|
1639
|
-
gap: 12px;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
1634
|
.editor-post-last-edited-panel {
|
|
1643
1635
|
color: #757575;
|
|
1644
1636
|
}
|
|
@@ -1680,7 +1672,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1680
1672
|
}
|
|
1681
1673
|
|
|
1682
1674
|
.editor-post-locked-modal__avatar {
|
|
1683
|
-
border-radius:
|
|
1675
|
+
border-radius: 50%;
|
|
1684
1676
|
margin-top: 16px;
|
|
1685
1677
|
min-width: initial !important;
|
|
1686
1678
|
}
|
|
@@ -1763,6 +1755,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1763
1755
|
border: none;
|
|
1764
1756
|
border-radius: 2px;
|
|
1765
1757
|
margin-right: 12px;
|
|
1758
|
+
flex-shrink: 0;
|
|
1766
1759
|
height: 36px;
|
|
1767
1760
|
width: 36px;
|
|
1768
1761
|
}
|
|
@@ -1776,6 +1769,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1776
1769
|
display: block;
|
|
1777
1770
|
color: #757575;
|
|
1778
1771
|
font-size: 12px;
|
|
1772
|
+
word-break: break-word;
|
|
1779
1773
|
}
|
|
1780
1774
|
|
|
1781
1775
|
.editor-post-publish-panel__header-publish-button,
|
|
@@ -2009,16 +2003,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
2009
2003
|
min-width: 320px;
|
|
2010
2004
|
padding: 16px;
|
|
2011
2005
|
}
|
|
2012
|
-
.editor-change-status__content .editor-change-status__options .components-base-control__field > .components-v-stack {
|
|
2013
|
-
gap: 12px;
|
|
2014
|
-
}
|
|
2015
|
-
.editor-change-status__content .editor-change-status__options .components-radio-control__option {
|
|
2016
|
-
align-items: flex-start;
|
|
2017
|
-
}
|
|
2018
|
-
.editor-change-status__content .editor-change-status__options label .components-text {
|
|
2019
|
-
display: block;
|
|
2020
|
-
margin-top: 4px;
|
|
2021
|
-
}
|
|
2022
2006
|
.editor-change-status__content .editor-change-status__password-legend {
|
|
2023
2007
|
padding: 0;
|
|
2024
2008
|
margin-bottom: 8px;
|
|
@@ -2376,7 +2360,7 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2376
2360
|
cursor: ew-resize;
|
|
2377
2361
|
outline: none;
|
|
2378
2362
|
background: none;
|
|
2379
|
-
border-radius:
|
|
2363
|
+
border-radius: 9999px;
|
|
2380
2364
|
border: 0;
|
|
2381
2365
|
height: 100px;
|
|
2382
2366
|
}
|
|
@@ -2389,7 +2373,7 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2389
2373
|
content: "";
|
|
2390
2374
|
width: 4px;
|
|
2391
2375
|
background-color: rgba(117, 117, 117, 0.4);
|
|
2392
|
-
border-radius:
|
|
2376
|
+
border-radius: 9999px;
|
|
2393
2377
|
}
|
|
2394
2378
|
.editor-resizable-editor__resize-handle.is-left {
|
|
2395
2379
|
left: -18px;
|
|
@@ -2517,14 +2501,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
|
|
|
2517
2501
|
padding: 16px;
|
|
2518
2502
|
}
|
|
2519
2503
|
|
|
2520
|
-
.editor-site-discussion__options .components-radio-control__option {
|
|
2521
|
-
align-items: flex-start;
|
|
2522
|
-
}
|
|
2523
|
-
.editor-site-discussion__options label .components-text {
|
|
2524
|
-
display: block;
|
|
2525
|
-
margin-top: 4px;
|
|
2526
|
-
}
|
|
2527
|
-
|
|
2528
2504
|
.table-of-contents__popover.components-popover .components-popover__content {
|
|
2529
2505
|
min-width: 380px;
|
|
2530
2506
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":";;IAYC
|
|
1
|
+
{"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":";;IAYC;;;;WAeC;IACD;;;;aAUC;IACD;;;;gBA2CC;IACD;;;;;aAmBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-only-settings-menu.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/content-only-settings-menu.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content-only-settings-menu.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/content-only-settings-menu.js"],"names":[],"mappings":"AA2KA,+EAaC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/create-template-part-modal/index.js"],"names":[],"mappings":"AAwCA;;;gCAqBC;AAED;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/create-template-part-modal/index.js"],"names":[],"mappings":"AAwCA;;;gCAqBC;AAED;;;;;;;;gCAgJC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redo.d.ts","sourceRoot":"","sources":["../../../src/components/editor-history/redo.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"redo.d.ts","sourceRoot":"","sources":["../../../src/components/editor-history/redo.js"],"names":[],"mappings":";;kBA6Cc,OAAO,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undo.d.ts","sourceRoot":"","sources":["../../../src/components/editor-history/undo.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"undo.d.ts","sourceRoot":"","sources":["../../../src/components/editor-history/undo.js"],"names":[],"mappings":";;kBAyCc,OAAO,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"AA+CA;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"AA+CA;;;;;;;;;;;;;;;gCA+LC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/error-boundary/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/error-boundary/index.js"],"names":[],"mappings":";AA0CA;IAaC;;MAEC;IAdD,4BAMC;IAHA;;MAEC;IAGF,oCAEC;IAMD,cAoBC;CACD;0BA7EyB,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-provider/index.js"],"names":[],"mappings":"AAuBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-provider/index.js"],"names":[],"mappings":"AAuBA,mEAoBC;AAqHD;;;;;;4BAtDa,WAAS,MAAM,YAEf,MAAM;;;;;;;4BAFN,WAAS,MAAM,YAEf,MAAM;EAmFlB;AAED;;uCAWC"}
|
|
@@ -25,6 +25,7 @@ export { default as PluginMoreMenuItem } from "./plugin-more-menu-item";
|
|
|
25
25
|
export { default as PluginPostPublishPanel } from "./plugin-post-publish-panel";
|
|
26
26
|
export { default as PluginPostStatusInfo } from "./plugin-post-status-info";
|
|
27
27
|
export { default as PluginPrePublishPanel } from "./plugin-pre-publish-panel";
|
|
28
|
+
export { default as PluginPreviewMenuItem } from "./plugin-preview-menu-item";
|
|
28
29
|
export { default as PluginSidebar } from "./plugin-sidebar";
|
|
29
30
|
export { default as PluginSidebarMoreMenuItem } from "./plugin-sidebar-more-menu-item";
|
|
30
31
|
export { default as PostTemplatePanel } from "./post-template/panel";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GA;;;;;;GAMG;AACH,iFAA2E;AAE3E;;;;;;GAMG;AACH,+EAAyE;oCA1HrC,6BAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inserter-sidebar/index.js"],"names":[],"mappings":"AAsBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inserter-sidebar/index.js"],"names":[],"mappings":"AAsBA,uEAgGC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/parent.js"],"names":[],"mappings":"AAsDA;;;;;GAKG;AACH,wCAFY,SAAS,GAAC,IAAI,CAqIzB;AAgCD,
|
|
1
|
+
{"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/parent.js"],"names":[],"mappings":"AAsDA;;;;;GAKG;AACH,wCAFY,SAAS,GAAC,IAAI,CAqIzB;AAgCD,yDA4EC;AAnQM,qEAYN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-preview-menu-item/index.js"],"names":[],"mappings":""}
|
|
@@ -2,30 +2,5 @@ export function usePostActions({ postType, onActionPerformed, context }: {
|
|
|
2
2
|
postType: any;
|
|
3
3
|
onActionPerformed: any;
|
|
4
4
|
context: any;
|
|
5
|
-
}): any
|
|
6
|
-
export namespace duplicatePatternAction {
|
|
7
|
-
let id: string;
|
|
8
|
-
let label: string;
|
|
9
|
-
function isEligible(item: any): boolean;
|
|
10
|
-
let modalHeader: string;
|
|
11
|
-
function RenderModal({ items, closeModal }: {
|
|
12
|
-
items: any;
|
|
13
|
-
closeModal: any;
|
|
14
|
-
}): import("react").JSX.Element;
|
|
15
|
-
}
|
|
16
|
-
export namespace duplicateTemplatePartAction {
|
|
17
|
-
let id_1: string;
|
|
18
|
-
export { id_1 as id };
|
|
19
|
-
let label_1: string;
|
|
20
|
-
export { label_1 as label };
|
|
21
|
-
export function isEligible_1(item: any): boolean;
|
|
22
|
-
export { isEligible_1 as isEligible };
|
|
23
|
-
let modalHeader_1: string;
|
|
24
|
-
export { modalHeader_1 as modalHeader };
|
|
25
|
-
export function RenderModal_1({ items, closeModal }: {
|
|
26
|
-
items: any;
|
|
27
|
-
closeModal: any;
|
|
28
|
-
}): import("react").JSX.Element;
|
|
29
|
-
export { RenderModal_1 as RenderModal };
|
|
30
|
-
}
|
|
5
|
+
}): any;
|
|
31
6
|
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/actions.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/actions.js"],"names":[],"mappings":"AAYA;;;;QA+EC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export default function PostActions({
|
|
1
|
+
export default function PostActions({ postType, postId, onActionPerformed }: {
|
|
2
|
+
postType: any;
|
|
3
|
+
postId: any;
|
|
2
4
|
onActionPerformed: any;
|
|
3
|
-
buttonProps: any;
|
|
4
5
|
}): import("react").JSX.Element;
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/index.js"],"names":[],"mappings":"AAsBA;;;;gCA6DC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export default function PostCardPanel({
|
|
2
|
-
|
|
1
|
+
export default function PostCardPanel({ postType, postId, onActionPerformed, }: {
|
|
2
|
+
postType: any;
|
|
3
|
+
postId: any;
|
|
4
|
+
onActionPerformed: any;
|
|
3
5
|
}): import("react").JSX.Element;
|
|
4
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-card-panel/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-card-panel/index.js"],"names":[],"mappings":"AA8BA;;;;gCA0FC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-format/index.js"],"names":[],"mappings":"AAwCA;;;;;;;;;GASG;AACH,sCAFY,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-format/index.js"],"names":[],"mappings":"AAwCA;;;;;;;;;GASG;AACH,sCAFY,GAAG,CAAC,OAAO,CAwEtB;AAxGD;;;IAsBI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-last-revision/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-last-revision/index.js"],"names":[],"mappings":"AAwDA,uEAiBC;;AA9CD;;;;GAIG;AACH,qCAFY,SAAS,CAwBpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-locked-modal/index.js"],"names":[],"mappings":"AAsBA;;;;;GAKG;AACH,2CAFY,GAAG,CAAC,OAAO,GAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-locked-modal/index.js"],"names":[],"mappings":"AAsBA;;;;;GAKG;AACH,2CAFY,GAAG,CAAC,OAAO,GAAC,IAAI,CA8P3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/index.js"],"names":[],"mappings":"AAyBA;IACC,4BAGC;IAcD,iBAKC;IAjBD,yCAUC;IASD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/index.js"],"names":[],"mappings":"AAyBA;IACC,4BAGC;IAcD,iBAKC;IAjBD,yCAUC;IASD,sCAkFC;CACD;;;0BAjIyB,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maybe-post-format-panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-post-format-panel.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"maybe-post-format-panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-post-format-panel.js"],"names":[],"mappings":"AAoCA,8EAkDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maybe-upload-media.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-upload-media.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"maybe-upload-media.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-upload-media.js"],"names":[],"mappings":"AA4DA,8EA6GC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-slug/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-slug/index.js"],"names":[],"mappings":"AA6DA;;;;GAIG;AACH,oCAFY,SAAS,CAQpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-status/index.js"],"names":[],"mappings":"AAmFA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-status/index.js"],"names":[],"mappings":"AAmFA,yEAiMC;AApOD;;;;IA0BE"}
|
|
@@ -50,23 +50,7 @@ declare const _default: {
|
|
|
50
50
|
};
|
|
51
51
|
shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
52
52
|
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
53
|
-
getSnapshotBeforeUpdate
|
|
54
|
-
/**
|
|
55
|
-
* Find term by parent id or name.
|
|
56
|
-
*
|
|
57
|
-
* @param {Object[]} terms Array of Terms.
|
|
58
|
-
* @param {number|string} parent id.
|
|
59
|
-
* @param {string} name Term name.
|
|
60
|
-
* @return {Object} Term object.
|
|
61
|
-
*/
|
|
62
|
-
? /**
|
|
63
|
-
* Find term by parent id or name.
|
|
64
|
-
*
|
|
65
|
-
* @param {Object[]} terms Array of Terms.
|
|
66
|
-
* @param {number|string} parent id.
|
|
67
|
-
* @param {string} name Term name.
|
|
68
|
-
* @return {Object} Term object.
|
|
69
|
-
*/(prevProps: Readonly<{}>, prevState: Readonly<{}>): any | null;
|
|
53
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any | null;
|
|
70
54
|
componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
71
55
|
componentWillMount?(): void;
|
|
72
56
|
UNSAFE_componentWillMount?(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hierarchical-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/hierarchical-term-selector.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hierarchical-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/hierarchical-term-selector.js"],"names":[],"mappings":"AA2CA;;;;;;;GAOG;AACH,0CALW,MAAM,EAAE,SACR,MAAM,EAAE,GAEP,MAAM,EAAE,CAqCnB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,EAAE,UACR,MAAM,GAAC,MAAM,QACb,MAAM,GACL,MAAM,CAUjB;AAED;;;;;GAKG;AACH,8CAHW,MAAM,GACL,CAAC,CAAS,IAAM,EAAN,MAAM,KAAG,CAAC,MAAM,GAAC,OAAO,CAAC,CAAC,CAmC/C;AAED;;;;;;GAMG;AACH,mDAHG;IAAsB,IAAI,EAAlB,MAAM;CACd,GAAS,OAAO,CAuUlB;;;;;;;yBA1ae,OAAO;;wJASC,CAAC;4BAGS,CAAC;;;;kCAIJ,OAAO;;6BAIJ,CAAC;yBASjC,CAAC,iCAC6B,OAChC;+BACQ,CAAA;0BAMyB,CAAA,2DAE3B,CAAC;0BACJ,CAAC;iCAEM,CAAC;iCACP,CAAC;wCAGS,CAAA;2BACsB,CAAC;kCASpC,CAAD;;;;;yBAI0B,OACxB;;wJAOW,CAAC;4BACX,CAAC;;;;kCAIuB,OAAO;;6BAGiB,CAAC;yBAG7C,CAAC,iCACuB,OAAO;+BACjB,CAAC;0BAKmC,CAAC,2DAEtD,CAAC;0BAEoB,CAAC;iCAMzB,CAAD;iCAA2C,CAAC;wCAED,CAAC;2BAES,CAAA;kCAInD,CAAC;;yBAGgB,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"most-used-terms.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/most-used-terms.js"],"names":[],"mappings":"AAsBA;;;
|
|
1
|
+
{"version":3,"file":"most-used-terms.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/most-used-terms.js"],"names":[],"mappings":"AAsBA;;;uCAuDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/block-theme.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"block-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/block-theme.js"],"names":[],"mappings":"AA0BA;;uCA0HC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classic-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/classic-theme.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"classic-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/classic-theme.js"],"names":[],"mappings":";AA0NA,oEAaC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AAyBA;;;;;;;;;;;GAWG;AACH,wDAFY,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AAyBA;;;;;;;;;;;GAWG;AACH,wDAFY,SAAS,CAmJpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"AAgCA;;;uCA4LC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";AA+FA;;;;;;;;;GASG;AACH,kDAPW,MAAM,YACN,MAAM,UACN,MAAM,iBACN,MAAM,GAEL,MAAM,CA8PjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;gCA6FC;AA/FD;kHAkBO,OAAO;;EAlBuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/post-summary.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/post-summary.js"],"names":[],"mappings":"AAoCA;;gCA8DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-template-options/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-template-options/index.js"],"names":[],"mappings":"AA2KA,mFAoDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/template-content-panel/index.js"],"names":[],"mappings":"AA4BA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/template-content-panel/index.js"],"names":[],"mappings":"AA4BA,mFAkDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/text-editor/index.js"],"names":[],"mappings":"AAgBA;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/text-editor/index.js"],"names":[],"mappings":"AAgBA;;gCA0CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAkGA;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAkGA;;;;;;;gCA8YC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duplicate-pattern.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/duplicate-pattern.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAMnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAMxC,QAAA,MAAM,gBAAgB,EAAE,MAAM,CAAE,OAAO,CAmBtC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duplicate-post.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/duplicate-post.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAMnD,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,UAAU,CAAC;AAQxD,QAAA,MAAM,aAAa,EAAE,MAAM,CAAE,QAAQ,CA8IpC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duplicate-post.native.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/duplicate-post.native.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa,WAAY,CAAC;AAEhC,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duplicate-template-part.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/duplicate-template-part.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAQnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,QAAA,MAAM,qBAAqB,EAAE,MAAM,CAAE,YAAY,CAgDhD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export-pattern.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/export-pattern.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"export-pattern.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/export-pattern.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAmBxC,QAAA,MAAM,aAAa,EAAE,MAAM,CAAE,OAAO,CAqCnC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|