@wordpress/editor 14.44.1-next.v.202604201441.0 → 14.45.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/build/components/collab-sidebar/{comment-menu-item.cjs → add-note-menu-item.cjs} +17 -14
- package/build/components/collab-sidebar/add-note-menu-item.cjs.map +7 -0
- package/build/components/collab-sidebar/{add-comment.cjs → add-note.cjs} +28 -41
- package/build/components/collab-sidebar/add-note.cjs.map +7 -0
- package/build/components/collab-sidebar/board-store.cjs +3 -0
- package/build/components/collab-sidebar/board-store.cjs.map +2 -2
- package/build/components/collab-sidebar/floating-container.cjs +4 -3
- package/build/components/collab-sidebar/floating-container.cjs.map +3 -3
- package/build/components/collab-sidebar/hooks.cjs +92 -135
- package/build/components/collab-sidebar/hooks.cjs.map +3 -3
- package/build/components/collab-sidebar/index.cjs +28 -79
- package/build/components/collab-sidebar/index.cjs.map +3 -3
- package/build/components/collab-sidebar/{comment-author-info.cjs → note-byline.cjs} +13 -9
- package/build/components/collab-sidebar/note-byline.cjs.map +7 -0
- package/build/components/collab-sidebar/note-card.cjs +58 -0
- package/build/components/collab-sidebar/note-card.cjs.map +7 -0
- package/build/components/collab-sidebar/{comment-form.cjs → note-form.cjs} +45 -36
- package/build/components/collab-sidebar/note-form.cjs.map +7 -0
- package/build/components/collab-sidebar/{comment-indicator-toolbar.cjs → note-indicator-toolbar.cjs} +31 -27
- package/build/components/collab-sidebar/note-indicator-toolbar.cjs.map +7 -0
- package/build/components/collab-sidebar/note-thread.cjs +321 -0
- package/build/components/collab-sidebar/note-thread.cjs.map +7 -0
- package/build/components/collab-sidebar/note.cjs +207 -0
- package/build/components/collab-sidebar/note.cjs.map +7 -0
- package/build/components/collab-sidebar/notes.cjs +237 -0
- package/build/components/collab-sidebar/notes.cjs.map +7 -0
- package/build/components/collab-sidebar/utils.cjs +23 -25
- package/build/components/collab-sidebar/utils.cjs.map +2 -2
- package/build/components/document-bar/index.cjs.map +3 -3
- package/build/components/error-boundary/index.cjs.map +3 -3
- package/build/components/list-view-sidebar/list-view-outline.cjs.map +3 -3
- package/build/components/media/media-editor-modal.cjs +93 -0
- package/build/components/media/media-editor-modal.cjs.map +7 -0
- package/build/components/more-menu/index.cjs +3 -2
- package/build/components/more-menu/index.cjs.map +2 -2
- package/build/components/post-actions/set-as-homepage.cjs.map +3 -3
- package/build/components/post-actions/set-as-posts-page.cjs.map +3 -3
- package/build/components/post-card-panel/index.cjs +2 -2
- package/build/components/post-card-panel/index.cjs.map +3 -3
- package/build/components/post-content-information/index.cjs.map +3 -3
- package/build/components/post-excerpt/panel.cjs.map +3 -3
- package/build/components/post-last-edited-panel/index.cjs.map +3 -3
- package/build/components/post-preview-button/index.cjs +3 -2
- package/build/components/post-preview-button/index.cjs.map +2 -2
- package/build/components/post-publish-button/index.cjs +2 -2
- package/build/components/post-publish-button/index.cjs.map +2 -2
- package/build/components/post-publish-button/label.cjs +4 -2
- package/build/components/post-publish-button/label.cjs.map +2 -2
- package/build/components/post-publish-panel/postpublish.cjs +3 -2
- package/build/components/post-publish-panel/postpublish.cjs.map +2 -2
- package/build/components/post-revisions-panel/index.cjs +2 -2
- package/build/components/post-revisions-panel/index.cjs.map +2 -2
- package/build/components/post-revisions-preview/diff-markers.cjs +1 -1
- package/build/components/post-revisions-preview/diff-markers.cjs.map +2 -2
- package/build/components/post-revisions-preview/revisions-slider.cjs +1 -0
- package/build/components/post-revisions-preview/revisions-slider.cjs.map +2 -2
- package/build/components/post-saved-state/index.cjs +4 -1
- package/build/components/post-saved-state/index.cjs.map +2 -2
- package/build/components/post-text-editor/index.cjs +3 -4
- package/build/components/post-text-editor/index.cjs.map +2 -2
- package/build/components/preview-dropdown/index.cjs +3 -2
- package/build/components/preview-dropdown/index.cjs.map +2 -2
- package/build/components/provider/index.cjs +3 -1
- package/build/components/provider/index.cjs.map +3 -3
- package/build/components/provider/use-block-editor-settings.cjs +7 -1
- package/build/components/provider/use-block-editor-settings.cjs.map +3 -3
- package/build/components/provider/use-upload-save-lock.cjs +2 -12
- package/build/components/provider/use-upload-save-lock.cjs.map +2 -2
- package/build/components/resizable-editor/resize-handle.cjs +2 -1
- package/build/components/resizable-editor/resize-handle.cjs.map +2 -2
- package/build/components/revision-created-panel/index.cjs.map +3 -3
- package/build/components/site-discussion/index.cjs.map +2 -2
- package/build/components/template-actions-panel/classic-theme-content.cjs.map +2 -2
- package/build/components/template-part-menu-items/convert-to-regular.cjs +54 -11
- package/build/components/template-part-menu-items/convert-to-regular.cjs.map +3 -3
- package/build/components/visual-editor/index.cjs +5 -22
- package/build/components/visual-editor/index.cjs.map +2 -2
- package/build/store/private-actions.cjs +0 -8
- package/build/store/private-actions.cjs.map +2 -2
- package/build/store/private-selectors.cjs +0 -5
- package/build/store/private-selectors.cjs.map +2 -2
- package/build/store/reducer.cjs +0 -10
- package/build/store/reducer.cjs.map +2 -2
- package/build/utils/media-finalize/index.cjs +3 -2
- package/build/utils/media-finalize/index.cjs.map +2 -2
- package/build/utils/media-upload/index.cjs +14 -25
- package/build/utils/media-upload/index.cjs.map +2 -2
- package/build-module/components/collab-sidebar/{comment-menu-item.mjs → add-note-menu-item.mjs} +10 -11
- package/build-module/components/collab-sidebar/add-note-menu-item.mjs.map +7 -0
- package/build-module/components/collab-sidebar/{add-comment.mjs → add-note.mjs} +26 -29
- package/build-module/components/collab-sidebar/add-note.mjs.map +7 -0
- package/build-module/components/collab-sidebar/board-store.mjs +3 -0
- package/build-module/components/collab-sidebar/board-store.mjs.map +2 -2
- package/build-module/components/collab-sidebar/floating-container.mjs +4 -3
- package/build-module/components/collab-sidebar/floating-container.mjs.map +2 -2
- package/build-module/components/collab-sidebar/hooks.mjs +91 -137
- package/build-module/components/collab-sidebar/hooks.mjs.map +2 -2
- package/build-module/components/collab-sidebar/index.mjs +29 -84
- package/build-module/components/collab-sidebar/index.mjs.map +2 -2
- package/build-module/components/collab-sidebar/{comment-author-info.mjs → note-byline.mjs} +7 -7
- package/build-module/components/collab-sidebar/note-byline.mjs.map +7 -0
- package/build-module/components/collab-sidebar/note-card.mjs +33 -0
- package/build-module/components/collab-sidebar/note-card.mjs.map +7 -0
- package/build-module/components/collab-sidebar/note-form.mjs +84 -0
- package/build-module/components/collab-sidebar/note-form.mjs.map +7 -0
- package/build-module/components/collab-sidebar/{comment-indicator-toolbar.mjs → note-indicator-toolbar.mjs} +25 -29
- package/build-module/components/collab-sidebar/note-indicator-toolbar.mjs.map +7 -0
- package/build-module/components/collab-sidebar/note-thread.mjs +289 -0
- package/build-module/components/collab-sidebar/note-thread.mjs.map +7 -0
- package/build-module/components/collab-sidebar/note.mjs +176 -0
- package/build-module/components/collab-sidebar/note.mjs.map +7 -0
- package/build-module/components/collab-sidebar/notes.mjs +215 -0
- package/build-module/components/collab-sidebar/notes.mjs.map +7 -0
- package/build-module/components/collab-sidebar/utils.mjs +19 -21
- package/build-module/components/collab-sidebar/utils.mjs.map +2 -2
- package/build-module/components/document-bar/index.mjs +3 -3
- package/build-module/components/document-bar/index.mjs.map +2 -2
- package/build-module/components/error-boundary/index.mjs +2 -2
- package/build-module/components/error-boundary/index.mjs.map +2 -2
- package/build-module/components/list-view-sidebar/list-view-outline.mjs +5 -5
- package/build-module/components/list-view-sidebar/list-view-outline.mjs.map +2 -2
- package/build-module/components/media/media-editor-modal.mjs +62 -0
- package/build-module/components/media/media-editor-modal.mjs.map +7 -0
- package/build-module/components/more-menu/index.mjs +3 -7
- package/build-module/components/more-menu/index.mjs.map +2 -2
- package/build-module/components/post-actions/set-as-homepage.mjs +2 -2
- package/build-module/components/post-actions/set-as-homepage.mjs.map +2 -2
- package/build-module/components/post-actions/set-as-posts-page.mjs +2 -2
- package/build-module/components/post-actions/set-as-posts-page.mjs.map +2 -2
- package/build-module/components/post-card-panel/index.mjs +5 -5
- package/build-module/components/post-card-panel/index.mjs.map +2 -2
- package/build-module/components/post-content-information/index.mjs +2 -2
- package/build-module/components/post-content-information/index.mjs.map +2 -2
- package/build-module/components/post-excerpt/panel.mjs +2 -2
- package/build-module/components/post-excerpt/panel.mjs.map +2 -2
- package/build-module/components/post-last-edited-panel/index.mjs +2 -2
- package/build-module/components/post-last-edited-panel/index.mjs.map +2 -2
- package/build-module/components/post-preview-button/index.mjs +3 -2
- package/build-module/components/post-preview-button/index.mjs.map +2 -2
- package/build-module/components/post-publish-button/index.mjs +2 -2
- package/build-module/components/post-publish-button/index.mjs.map +2 -2
- package/build-module/components/post-publish-button/label.mjs +4 -2
- package/build-module/components/post-publish-button/label.mjs.map +2 -2
- package/build-module/components/post-publish-panel/postpublish.mjs +3 -3
- package/build-module/components/post-publish-panel/postpublish.mjs.map +2 -2
- package/build-module/components/post-revisions-panel/index.mjs +2 -2
- package/build-module/components/post-revisions-panel/index.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/diff-markers.mjs +1 -1
- package/build-module/components/post-revisions-preview/diff-markers.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/revisions-slider.mjs +1 -0
- package/build-module/components/post-revisions-preview/revisions-slider.mjs.map +2 -2
- package/build-module/components/post-saved-state/index.mjs +4 -1
- package/build-module/components/post-saved-state/index.mjs.map +2 -2
- package/build-module/components/post-text-editor/index.mjs +2 -3
- package/build-module/components/post-text-editor/index.mjs.map +2 -2
- package/build-module/components/preview-dropdown/index.mjs +2 -2
- package/build-module/components/preview-dropdown/index.mjs.map +2 -2
- package/build-module/components/provider/index.mjs +3 -1
- package/build-module/components/provider/index.mjs.map +2 -2
- package/build-module/components/provider/use-block-editor-settings.mjs +7 -1
- package/build-module/components/provider/use-block-editor-settings.mjs.map +2 -2
- package/build-module/components/provider/use-upload-save-lock.mjs +2 -12
- package/build-module/components/provider/use-upload-save-lock.mjs.map +2 -2
- package/build-module/components/resizable-editor/resize-handle.mjs +2 -5
- package/build-module/components/resizable-editor/resize-handle.mjs.map +2 -2
- package/build-module/components/revision-created-panel/index.mjs +2 -2
- package/build-module/components/revision-created-panel/index.mjs.map +2 -2
- package/build-module/components/site-discussion/index.mjs +2 -2
- package/build-module/components/site-discussion/index.mjs.map +2 -2
- package/build-module/components/template-actions-panel/classic-theme-content.mjs +2 -2
- package/build-module/components/template-actions-panel/classic-theme-content.mjs.map +2 -2
- package/build-module/components/template-part-menu-items/convert-to-regular.mjs +60 -14
- package/build-module/components/template-part-menu-items/convert-to-regular.mjs.map +2 -2
- package/build-module/components/visual-editor/index.mjs +5 -22
- package/build-module/components/visual-editor/index.mjs.map +2 -2
- package/build-module/store/private-actions.mjs +0 -7
- package/build-module/store/private-actions.mjs.map +2 -2
- package/build-module/store/private-selectors.mjs +0 -4
- package/build-module/store/private-selectors.mjs.map +2 -2
- package/build-module/store/reducer.mjs +0 -9
- package/build-module/store/reducer.mjs.map +2 -2
- package/build-module/utils/media-finalize/index.mjs +3 -2
- package/build-module/utils/media-finalize/index.mjs.map +2 -2
- package/build-module/utils/media-upload/index.mjs +14 -25
- package/build-module/utils/media-upload/index.mjs.map +2 -2
- package/build-style/style-rtl.css +386 -142
- package/build-style/style.css +386 -142
- package/build-types/components/collab-sidebar/add-note-menu-item.d.ts +5 -0
- package/build-types/components/collab-sidebar/add-note-menu-item.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/add-note.d.ts +6 -0
- package/build-types/components/collab-sidebar/add-note.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/board-store.d.ts +1 -0
- package/build-types/components/collab-sidebar/board-store.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/floating-container.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/hooks.d.ts +8 -21
- package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-byline.d.ts +7 -0
- package/build-types/components/collab-sidebar/note-byline.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/note-card.d.ts +8 -0
- package/build-types/components/collab-sidebar/note-card.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/note-form.d.ts +7 -0
- package/build-types/components/collab-sidebar/note-form.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts +5 -0
- package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/note-thread.d.ts +11 -0
- package/build-types/components/collab-sidebar/note-thread.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/note.d.ts +9 -0
- package/build-types/components/collab-sidebar/note.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/notes.d.ts +7 -0
- package/build-types/components/collab-sidebar/notes.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/utils.d.ts +21 -20
- package/build-types/components/collab-sidebar/utils.d.ts.map +1 -1
- package/build-types/components/media/media-editor-modal.d.ts +11 -0
- package/build-types/components/media/media-editor-modal.d.ts.map +1 -0
- package/build-types/components/more-menu/index.d.ts.map +1 -1
- package/build-types/components/post-preview-button/index.d.ts.map +1 -1
- package/build-types/components/post-publish-button/index.d.ts.map +1 -1
- package/build-types/components/post-publish-button/label.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/revisions-slider.d.ts.map +1 -1
- package/build-types/components/post-saved-state/index.d.ts.map +1 -1
- package/build-types/components/provider/index.d.ts.map +1 -1
- package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
- package/build-types/components/provider/use-upload-save-lock.d.ts +0 -2
- package/build-types/components/provider/use-upload-save-lock.d.ts.map +1 -1
- package/build-types/components/resizable-editor/resize-handle.d.ts.map +1 -1
- package/build-types/components/template-part-menu-items/convert-to-regular.d.ts.map +1 -1
- package/build-types/components/visual-editor/index.d.ts.map +1 -1
- package/build-types/store/private-actions.d.ts +0 -7
- package/build-types/store/private-actions.d.ts.map +1 -1
- package/build-types/store/private-selectors.d.ts +0 -7
- package/build-types/store/private-selectors.d.ts.map +1 -1
- package/build-types/store/reducer.d.ts +0 -10
- package/build-types/store/reducer.d.ts.map +1 -1
- package/build-types/utils/media-finalize/index.d.ts +1 -1
- package/build-types/utils/media-finalize/index.d.ts.map +1 -1
- package/build-types/utils/media-upload/index.d.ts.map +1 -1
- package/package.json +46 -46
- package/src/components/collab-sidebar/README.md +117 -0
- package/src/components/collab-sidebar/{comment-menu-item.js → add-note-menu-item.js} +8 -10
- package/src/components/collab-sidebar/{add-comment.js → add-note.js} +20 -21
- package/src/components/collab-sidebar/board-store.js +4 -2
- package/src/components/collab-sidebar/floating-container.js +5 -4
- package/src/components/collab-sidebar/hooks.js +115 -175
- package/src/components/collab-sidebar/index.js +35 -95
- package/src/components/collab-sidebar/{comment-author-info.js → note-byline.js} +5 -6
- package/src/components/collab-sidebar/note-card.js +36 -0
- package/src/components/collab-sidebar/{comment-form.js → note-form.js} +25 -27
- package/src/components/collab-sidebar/{comment-indicator-toolbar.js → note-indicator-toolbar.js} +29 -32
- package/src/components/collab-sidebar/note-thread.js +331 -0
- package/src/components/collab-sidebar/note.js +209 -0
- package/src/components/collab-sidebar/notes.js +276 -0
- package/src/components/collab-sidebar/style.scss +21 -11
- package/src/components/collab-sidebar/test/utils.js +65 -63
- package/src/components/collab-sidebar/utils.js +33 -35
- package/src/components/document-bar/index.js +4 -4
- package/src/components/error-boundary/index.js +3 -3
- package/src/components/list-view-sidebar/list-view-outline.js +6 -6
- package/src/components/media/media-editor-modal.js +95 -0
- package/src/components/more-menu/index.js +3 -7
- package/src/components/post-actions/set-as-homepage.js +2 -2
- package/src/components/post-actions/set-as-posts-page.js +2 -2
- package/src/components/post-card-panel/index.js +7 -7
- package/src/components/post-content-information/index.js +3 -3
- package/src/components/post-excerpt/panel.js +3 -3
- package/src/components/post-last-edited-panel/index.js +3 -3
- package/src/components/post-preview-button/index.js +3 -2
- package/src/components/post-publish-button/index.js +6 -5
- package/src/components/post-publish-button/label.js +3 -1
- package/src/components/post-publish-panel/postpublish.js +2 -2
- package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +8 -14
- package/src/components/post-revisions-panel/index.js +3 -3
- package/src/components/post-revisions-preview/diff-markers.js +1 -1
- package/src/components/post-revisions-preview/revisions-slider.js +1 -0
- package/src/components/post-saved-state/index.js +4 -1
- package/src/components/post-saved-state/test/__snapshots__/index.js.snap +0 -1
- package/src/components/post-text-editor/index.js +3 -3
- package/src/components/preview-dropdown/index.js +2 -2
- package/src/components/provider/index.js +4 -0
- package/src/components/provider/use-block-editor-settings.js +10 -0
- package/src/components/provider/use-upload-save-lock.js +2 -17
- package/src/components/resizable-editor/resize-handle.js +2 -5
- package/src/components/revision-created-panel/index.js +3 -3
- package/src/components/site-discussion/index.js +3 -3
- package/src/components/template-actions-panel/classic-theme-content.js +3 -3
- package/src/components/template-part-menu-items/convert-to-regular.js +74 -12
- package/src/components/visual-editor/index.js +2 -29
- package/src/store/private-actions.js +0 -13
- package/src/store/private-selectors.js +0 -10
- package/src/store/reducer.js +0 -16
- package/src/utils/media-finalize/index.js +2 -1
- package/src/utils/media-finalize/test/index.js +25 -1
- package/src/utils/media-upload/index.js +26 -29
- package/build/components/collab-sidebar/add-comment.cjs.map +0 -7
- package/build/components/collab-sidebar/comment-author-info.cjs.map +0 -7
- package/build/components/collab-sidebar/comment-form.cjs.map +0 -7
- package/build/components/collab-sidebar/comment-indicator-toolbar.cjs.map +0 -7
- package/build/components/collab-sidebar/comment-menu-item.cjs.map +0 -7
- package/build/components/collab-sidebar/comments.cjs +0 -696
- package/build/components/collab-sidebar/comments.cjs.map +0 -7
- package/build-module/components/collab-sidebar/add-comment.mjs.map +0 -7
- package/build-module/components/collab-sidebar/comment-author-info.mjs.map +0 -7
- package/build-module/components/collab-sidebar/comment-form.mjs +0 -82
- package/build-module/components/collab-sidebar/comment-form.mjs.map +0 -7
- package/build-module/components/collab-sidebar/comment-indicator-toolbar.mjs.map +0 -7
- package/build-module/components/collab-sidebar/comment-menu-item.mjs.map +0 -7
- package/build-module/components/collab-sidebar/comments.mjs +0 -678
- package/build-module/components/collab-sidebar/comments.mjs.map +0 -7
- package/build-types/components/collab-sidebar/add-comment.d.ts +0 -6
- package/build-types/components/collab-sidebar/add-comment.d.ts.map +0 -1
- package/build-types/components/collab-sidebar/comment-author-info.d.ts +0 -8
- package/build-types/components/collab-sidebar/comment-author-info.d.ts.map +0 -1
- package/build-types/components/collab-sidebar/comment-form.d.ts +0 -9
- package/build-types/components/collab-sidebar/comment-form.d.ts.map +0 -1
- package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts +0 -6
- package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts.map +0 -1
- package/build-types/components/collab-sidebar/comment-menu-item.d.ts +0 -6
- package/build-types/components/collab-sidebar/comment-menu-item.d.ts.map +0 -1
- package/build-types/components/collab-sidebar/comments.d.ts +0 -10
- package/build-types/components/collab-sidebar/comments.d.ts.map +0 -1
- package/src/components/collab-sidebar/comments.js +0 -812
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export function
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export function useNoteThreads(postId: any): {
|
|
2
|
+
notes: any[];
|
|
3
|
+
unresolvedNotes: any[];
|
|
4
4
|
};
|
|
5
|
-
export function
|
|
5
|
+
export function useNoteActions(): {
|
|
6
6
|
onCreate: ({ content, parent }: {
|
|
7
7
|
content: any;
|
|
8
8
|
parent: any;
|
|
@@ -12,30 +12,17 @@ export function useBlockCommentsActions(): {
|
|
|
12
12
|
content: any;
|
|
13
13
|
status: any;
|
|
14
14
|
}) => Promise<void>;
|
|
15
|
-
onDelete: (
|
|
15
|
+
onDelete: (note: any) => Promise<void>;
|
|
16
16
|
};
|
|
17
17
|
export function useEnableFloatingSidebar(enabled?: boolean): void;
|
|
18
|
-
export function useFloatingBoard({ threads, selectedNoteId, isFloating }: {
|
|
18
|
+
export function useFloatingBoard({ threads, selectedNoteId, isFloating, sidebarRef, }: {
|
|
19
19
|
threads: any;
|
|
20
20
|
selectedNoteId: any;
|
|
21
21
|
isFloating: any;
|
|
22
|
+
sidebarRef: any;
|
|
22
23
|
}): {
|
|
23
|
-
|
|
24
|
+
notePositions: {};
|
|
24
25
|
registerThread: (id: any, blockEl: any, floatingEl: any) => void;
|
|
25
26
|
unregisterThread: (id: any) => void;
|
|
26
27
|
};
|
|
27
|
-
export function useFloatingThread({ thread, calculatedOffset, registerThread, unregisterThread, }: {
|
|
28
|
-
thread: any;
|
|
29
|
-
calculatedOffset: any;
|
|
30
|
-
registerThread: any;
|
|
31
|
-
unregisterThread: any;
|
|
32
|
-
}): {
|
|
33
|
-
y: number;
|
|
34
|
-
refs: {
|
|
35
|
-
reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
|
|
36
|
-
floating: import("react").MutableRefObject<HTMLElement | null>;
|
|
37
|
-
setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
|
|
38
|
-
setFloating: (node: HTMLElement | null) => void;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
28
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/hooks.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/hooks.js"],"names":[],"mappings":"AAgCA;;;EAuGC;AAED;;;;;;;;;;;EAwJC;AAED,kEA4BC;AAED;;;;;;;;;EA+DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAuLA,oFA0BC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"note-byline.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-byline.js"],"names":[],"mappings":"AAqBA;;;;;gCAwFC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"note-card.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-card.js"],"names":[],"mappings":"AAWA;;;;;;gCAwBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"note-form.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-form.js"],"names":[],"mappings":"AAuBA;;;;;gCAuEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"note-indicator-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-indicator-toolbar.js"],"names":[],"mappings":"AAiBA;;;uCAwFC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function NoteThread({ note, onEditNote, onAddReply, onDeleteNote, isSelected, sidebarRef, floating, onKeyDown, }: {
|
|
2
|
+
note: any;
|
|
3
|
+
onEditNote: any;
|
|
4
|
+
onAddReply: any;
|
|
5
|
+
onDeleteNote: any;
|
|
6
|
+
isSelected: any;
|
|
7
|
+
sidebarRef: any;
|
|
8
|
+
floating: any;
|
|
9
|
+
onKeyDown: any;
|
|
10
|
+
}): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=note-thread.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"note-thread.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-thread.js"],"names":[],"mappings":"AAkCA;;;;;;;;;gCAwSC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function Note({ note, parentNote, isSelected, onEditNote, onDeleteNote, onResolve, }: {
|
|
2
|
+
note: any;
|
|
3
|
+
parentNote: any;
|
|
4
|
+
isSelected: any;
|
|
5
|
+
onEditNote: any;
|
|
6
|
+
onDeleteNote: any;
|
|
7
|
+
onResolve: any;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=note.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note.js"],"names":[],"mappings":"AAyDA;;;;;;;gCAuJC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notes.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/notes.js"],"names":[],"mappings":"AAwBA;;;;;gCA2PC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Sanitizes a
|
|
2
|
+
* Sanitizes a note string by removing non-printable ASCII characters.
|
|
3
3
|
*
|
|
4
|
-
* @param {string} str - The
|
|
5
|
-
* @return {string} - The sanitized
|
|
4
|
+
* @param {string} str - The note string to sanitize.
|
|
5
|
+
* @return {string} - The sanitized note string.
|
|
6
6
|
*/
|
|
7
|
-
export function
|
|
7
|
+
export function sanitizeNoteContent(str: string): string;
|
|
8
8
|
/**
|
|
9
9
|
* Gets the border color for an avatar based on the user ID.
|
|
10
10
|
*
|
|
@@ -13,26 +13,27 @@ export function sanitizeCommentString(str: string): string;
|
|
|
13
13
|
*/
|
|
14
14
|
export function getAvatarBorderColor(userId: number): string;
|
|
15
15
|
/**
|
|
16
|
-
* Generates a
|
|
16
|
+
* Generates a note excerpt from text based on word count type and length.
|
|
17
17
|
*
|
|
18
|
-
* @param {string} text - The
|
|
19
|
-
* @param {number} excerptLength - The maximum length for the
|
|
20
|
-
* @return {string} - The generated
|
|
18
|
+
* @param {string} text - The note text to generate excerpt from.
|
|
19
|
+
* @param {number} excerptLength - The maximum length for the note excerpt.
|
|
20
|
+
* @return {string} - The generated note excerpt.
|
|
21
21
|
*/
|
|
22
|
-
export function
|
|
22
|
+
export function getNoteExcerpt(text: string, excerptLength?: number): string;
|
|
23
23
|
/**
|
|
24
|
-
* Calculate
|
|
25
|
-
*
|
|
26
|
-
* and threads below it downward.
|
|
24
|
+
* Calculate final top positions for all floating note threads in the
|
|
25
|
+
* editor's content coordinate space. Adjusts positions to prevent overlapping
|
|
26
|
+
* by pushing threads above the selected one upward and threads below it downward.
|
|
27
27
|
*
|
|
28
28
|
* @param {Object} params
|
|
29
29
|
* @param {Array} params.threads Ordered list of thread objects.
|
|
30
30
|
* @param {string|number|undefined} params.selectedNoteId ID of the currently selected thread.
|
|
31
31
|
* @param {Object<string,DOMRect>} params.blockRects Pre-read bounding rects keyed by thread ID.
|
|
32
32
|
* @param {Object<string,number>} params.heights Rendered heights keyed by thread ID.
|
|
33
|
-
* @
|
|
33
|
+
* @param {number} params.scrollTop Current scroll offset of the editor content.
|
|
34
|
+
* @return {{ positions: Object<string,number> }} Computed top positions.
|
|
34
35
|
*/
|
|
35
|
-
export function
|
|
36
|
+
export function calculateNotePositions({ threads, selectedNoteId, blockRects, heights, scrollTop, }: {
|
|
36
37
|
threads: any[];
|
|
37
38
|
selectedNoteId: string | number | undefined;
|
|
38
39
|
blockRects: {
|
|
@@ -41,25 +42,25 @@ export function calculateAllOffsets({ threads, selectedNoteId, blockRects, heigh
|
|
|
41
42
|
heights: {
|
|
42
43
|
[x: string]: number;
|
|
43
44
|
};
|
|
45
|
+
scrollTop: number;
|
|
44
46
|
}): {
|
|
45
|
-
|
|
47
|
+
positions: {
|
|
46
48
|
[x: string]: number;
|
|
47
49
|
};
|
|
48
|
-
minHeight: number;
|
|
49
50
|
};
|
|
50
51
|
/**
|
|
51
|
-
* Shift focus to the
|
|
52
|
+
* Shift focus to the note thread associated with a particular note ID.
|
|
52
53
|
* If an additional selector is provided, the focus will be shifted to the element matching the selector.
|
|
53
54
|
*
|
|
54
55
|
* @typedef {import('@wordpress/element').RefObject} RefObject
|
|
55
56
|
*
|
|
56
|
-
* @param {string}
|
|
57
|
+
* @param {string} noteId The ID of the note thread to focus.
|
|
57
58
|
* @param {?HTMLElement} container The container element to search within.
|
|
58
59
|
* @param {string} additionalSelector The additional selector to focus on.
|
|
59
60
|
*/
|
|
60
|
-
export function
|
|
61
|
+
export function focusNoteThread(noteId: string, container: HTMLElement | null, additionalSelector: string): Promise<any> | undefined;
|
|
61
62
|
/**
|
|
62
|
-
* Shift focus to the
|
|
63
|
+
* Shift focus to the note thread associated with a particular note ID.
|
|
63
64
|
* If an additional selector is provided, the focus will be shifted to the element matching the selector.
|
|
64
65
|
*/
|
|
65
66
|
export type RefObject = any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/utils.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/utils.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,yCAHW,MAAM,GACL,MAAM,CAIjB;AAoBD;;;;;GAKG;AACH,6CAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;;GAMG;AACH,qCAJW,MAAM,kBACN,MAAM,GACL,MAAM,CA0CjB;AAED;;;;;;;;;;;;GAYG;AACH,qGAPG;IAAwC,OAAO;IACP,cAAc,EAA9C,MAAM,GAAC,MAAM,GAAC,SAAS;IACS,UAAU,EAA1C;YAAO,MAAM,GAAC,OAAO;KAAC;IACU,OAAO,EAAvC;YAAO,MAAM,GAAC,MAAM;KAAC;IACW,SAAS,EAAzC,MAAM;CACd,GAAS;IAAE,SAAS,EAAE;YAAO,MAAM,GAAC,MAAM;KAAC,CAAA;CAAE,CA8F/C;AAED;;;;;;;;;GASG;AACH,wCAJW,MAAM,aACL,WAAW,OAAA,sBACZ,MAAM,4BA0ChB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mounts the MediaEditorModal alongside existing editor modals.
|
|
3
|
+
*
|
|
4
|
+
* Bridges `@wordpress/editor`'s `usePostFields('attachment')` hook
|
|
5
|
+
* into the modal, since `@wordpress/media-editor` cannot depend on
|
|
6
|
+
* `@wordpress/editor`.
|
|
7
|
+
*
|
|
8
|
+
* @return {Element} The MediaEditorModal component wired with attachment fields.
|
|
9
|
+
*/
|
|
10
|
+
export default function MediaEditorModalMount(): Element;
|
|
11
|
+
//# sourceMappingURL=media-editor-modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-editor-modal.d.ts","sourceRoot":"","sources":["../../../src/components/media/media-editor-modal.js"],"names":[],"mappings":"AA2CA;;;;;;;;GAQG;AACH,iDAFY,OAAO,CA4ClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/index.js"],"names":[],"mappings":"AAwBA;;gCAsIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-preview-button/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-preview-button/index.js"],"names":[],"mappings":"AAsGA;;;;;;;;;;;;;;GAcG;AACH,6GARG;IAAwB,SAAS,EAAzB,MAAM;IACU,WAAW,EAA3B,MAAM;IACU,mBAAmB,EAAnC,OAAO;IACS,IAAI,EAApB,MAAM;IACU,SAAS;CAEjC,GAAS,KAAK,CAAC,SAAS,CA8F1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/index.js"],"names":[],"mappings":"AAgBA;IACC,wBAUC;IAED,+BACU,GAAG,WAAI,SA4BhB;IAED,mDAiBC;IArDA;;MAEC;IAqDF,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/index.js"],"names":[],"mappings":"AAgBA;IACC,wBAUC;IAED,+BACU,GAAG,WAAI,SA4BhB;IAED,mDAiBC;IArDA;;MAEC;IAqDF,sCAoGC;CACD;;;0BAhLyB,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/label.js"],"names":[],"mappings":"AAaA;;;;GAIG;AACH,8CAFY,MAAM,
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/label.js"],"names":[],"mappings":"AAaA;;;;GAIG;AACH,8CAFY,MAAM,CAkFjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revisions-slider.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-preview/revisions-slider.js"],"names":[],"mappings":";AAeA;;;;GAIG;AACH,oCAFY,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"revisions-slider.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-preview/revisions-slider.js"],"names":[],"mappings":";AAeA;;;;GAIG;AACH,oCAFY,KAAK,CAAC,GAAG,CAAC,OAAO,CAkH5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-saved-state/index.js"],"names":[],"mappings":"AA2BA;;;;;;;;GAQG;AACH,yDAJG;IAAwB,YAAY,EAA3B,OAAO,OAAA;CAEhB,GAAS,KAAK,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-saved-state/index.js"],"names":[],"mappings":"AA2BA;;;;;;;;GAQG;AACH,yDAJG;IAAwB,YAAY,EAA3B,OAAO,OAAA;CAEhB,GAAS,KAAK,CAAC,aAAa,CA8J9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AAieA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAgC,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ,GAAhC,KAAK,CAAC,SAAS;CAGvB,GAWS,KAAK,CAAC,SAAS,CAW1B;AAzXD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GAsTE"}
|
|
@@ -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":";AAmHA;;;;;;;;;GASG;AACH,kDAPW,MAAM,YACN,MAAM,UACN,MAAM,iBACN,MAAM,GAEL,MAAM,CA0UjB"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A hook that locks post saving and autosaving while media uploads are in progress.
|
|
3
3
|
* This prevents users from publishing or saving while files are still uploading.
|
|
4
|
-
*
|
|
5
|
-
* Only active when client-side media processing is enabled.
|
|
6
4
|
*/
|
|
7
5
|
export default function useUploadSaveLock(): void;
|
|
8
6
|
//# sourceMappingURL=use-upload-save-lock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-upload-save-lock.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-upload-save-lock.js"],"names":[],"mappings":"AAcA
|
|
1
|
+
{"version":3,"file":"use-upload-save-lock.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-upload-save-lock.js"],"names":[],"mappings":"AAcA;;;GAGG;AACH,kDAiCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resize-handle.d.ts","sourceRoot":"","sources":["../../../src/components/resizable-editor/resize-handle.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resize-handle.d.ts","sourceRoot":"","sources":["../../../src/components/resizable-editor/resize-handle.js"],"names":[],"mappings":"AAUA;;;gCAqDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-to-regular.d.ts","sourceRoot":"","sources":["../../../src/components/template-part-menu-items/convert-to-regular.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-to-regular.d.ts","sourceRoot":"","sources":["../../../src/components/template-part-menu-items/convert-to-regular.js"],"names":[],"mappings":"AAcA;;;uCA+EC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AA6FA;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AA6FA;;;;;;gCA4ZC"}
|
|
@@ -26,13 +26,6 @@ export function setShowStylebook(show: boolean): Object;
|
|
|
26
26
|
* @return {Object} Action object.
|
|
27
27
|
*/
|
|
28
28
|
export function resetStylesNavigation(): Object;
|
|
29
|
-
/**
|
|
30
|
-
* Set the minimum height of the canvas.
|
|
31
|
-
*
|
|
32
|
-
* @param {number} minHeight
|
|
33
|
-
* @return {Object} Action object.
|
|
34
|
-
*/
|
|
35
|
-
export function setCanvasMinHeight(minHeight: number): Object;
|
|
36
29
|
/**
|
|
37
30
|
* Set the current revision ID for revisions preview mode.
|
|
38
31
|
* Pass a revision ID to enter revisions mode, or null to exit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../src/store/private-actions.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,MAAM,CAOjB;AA4fD;;;;;GAKG;AACH,oCAHW,MAAM,GACL,MAAM,CAOjB;AAED;;;;;GAKG;AACH,uCAHW,OAAO,GACN,MAAM,CAOjB;AAED;;;;GAIG;AACH,yCAFY,MAAM,CAMjB;AAED
|
|
1
|
+
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../src/store/private-actions.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,MAAM,CAOjB;AA4fD;;;;;GAKG;AACH,oCAHW,MAAM,GACL,MAAM,CAOjB;AAED;;;;;GAKG;AACH,uCAHW,OAAO,GACN,MAAM,CAOjB;AAED;;;;GAIG;AACH,yCAFY,MAAM,CAMjB;AAED;;;;;;GAMG;AACH,iDAHW,MAAM,GAAC,IAAI,GACV,MAAM,CAOjB;AAED;;;;;GAKG;AACH,8CAHW,OAAO,GACN,MAAM,CAOjB;AAoFD;;;;;;;GAOG;AACH,mCALW,SAAS,GAAC,MAAM,GAAC,KAAK,YAE9B;IAAyC,KAAK;CAC9C,GAAS,MAAM,CAQjB;;AArpBM,yCAFK,MAAM,OAAA,IAIT;;;;CAA8B,kBAiCrC;AAOK,2CAFI,MAAM,EAAE,IAIhB;;CAAY,UAgBb;AAOK,2CAFI,MAAM,EAAE,IAIhB;;CAAY,UAcb;AAYK,iHANJ;IAA2B,MAAM;IACN,kBAAkB;IAClB,cAAc;IACd,KAAK;IACL,oBAAoB;CACjD,IASE;;CAAY,UAoGb;AAUK,yCALI,MAAM,kBAEd;IAA0B,SAAS;CAErC,IAGQ;;CAAY,mBA0HnB;AAOK,gDAEE;;CAAY,mBAwHnB;AAOK,8CAFI,MAAM,IAId;;;CAAoB,UAwBrB;AAwEK,4CAFI,MAAM,IAIR;;;;CAA8B,mBAwErC"}
|
|
@@ -17,13 +17,6 @@ export function getStylesPath(state: Object): string;
|
|
|
17
17
|
* @return {boolean} Whether the stylebook is visible.
|
|
18
18
|
*/
|
|
19
19
|
export function getShowStylebook(state: Object): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Get the canvas minimum height.
|
|
22
|
-
*
|
|
23
|
-
* @param {Object} state Global application state.
|
|
24
|
-
* @return {number} The canvas minimum height.
|
|
25
|
-
*/
|
|
26
|
-
export function getCanvasMinHeight(state: Object): number;
|
|
27
20
|
/**
|
|
28
21
|
* Returns whether the editor is in revisions preview mode.
|
|
29
22
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAwHA,sDAEC;AACD,6DAEC;AAsFD,2GAEC;AAED,mEAEC;AAED,yGAEC;AAiGD;;;;;GAKG;AACH,qCAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;GAKG;AACH,wCAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAwHA,sDAEC;AACD,6DAEC;AAsFD,2GAEC;AAED,mEAEC;AAED,yGAEC;AAiGD;;;;;GAKG;AACH,qCAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;GAKG;AACH,wCAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,uCAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,6CAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,4CAHW,MAAM,GACL,MAAM,GAAC,IAAI,CAItB;AA2DD;;;;;;GAMG;AACH,uCAJW,MAAM,GAEL,SAAS,GAAC,MAAM,GAAC,KAAK,CAIjC;AAED;;;;;;GAMG;AACH,qCAJW,MAAM,GAEL,OAAO,CAIlB;AAnZD;;;;;;GAMG;AACH;;;;EAqEE;AAeF;;;;EAqCE;AAEF;;;;;;;;;GASG;AACH;;;;EA2BE;AAcF;;;;;;;;GAQG;AACH;;;;EAiCE;AAEF;;;;;;;GAOG;AACH;;;;EAyCE;AAoDF;;;;;GAKG;AACH;;;;EAiDE;AAwBF;;;;;;GAMG;AACH;;;;EAqDE"}
|
|
@@ -192,14 +192,6 @@ export function stylesPath(state: string | undefined, action: Object): string;
|
|
|
192
192
|
* @return {boolean} Updated state.
|
|
193
193
|
*/
|
|
194
194
|
export function showStylebook(state: boolean | undefined, action: Object): boolean;
|
|
195
|
-
/**
|
|
196
|
-
* Reducer for the canvas minimum height.
|
|
197
|
-
*
|
|
198
|
-
* @param {number} state Current state.
|
|
199
|
-
* @param {Object} action Dispatched action.
|
|
200
|
-
* @return {number} Updated state.
|
|
201
|
-
*/
|
|
202
|
-
export function canvasMinHeight(state: number | undefined, action: Object): number;
|
|
203
195
|
/**
|
|
204
196
|
* Reducer for the revisions preview mode.
|
|
205
197
|
* Stores the current revision ID, or null if not in revisions mode.
|
|
@@ -247,7 +239,6 @@ declare const _default: import("redux").Reducer<{
|
|
|
247
239
|
publishSidebarActive: boolean;
|
|
248
240
|
stylesPath: string;
|
|
249
241
|
showStylebook: boolean;
|
|
250
|
-
canvasMinHeight: number;
|
|
251
242
|
revisionId: number | null;
|
|
252
243
|
showRevisionDiff: boolean;
|
|
253
244
|
selectedNote: Object;
|
|
@@ -285,7 +276,6 @@ declare const _default: import("redux").Reducer<{
|
|
|
285
276
|
publishSidebarActive: boolean | undefined;
|
|
286
277
|
stylesPath: string | undefined;
|
|
287
278
|
showStylebook: boolean | undefined;
|
|
288
|
-
canvasMinHeight: number | undefined;
|
|
289
279
|
revisionId: number | null | undefined;
|
|
290
280
|
showRevisionDiff: boolean | undefined;
|
|
291
281
|
selectedNote: Object | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/store/reducer.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,uCAJW,GAAC,GAEA,GAAC,CAQZ;AAED;;;;;;;;GAQG;AACH,+BALW,MAAM,KACN,MAAM,GAEL,OAAO,CASlB;AAED;;;;;;;;;GASG;AACH,mDALW,MAAM,kBACN,MAAM,GAEL,OAAO,CAOlB;AAED;;;;;;;;;GASG;AACH,6CALW,MAAM,kBACN,MAAM,GAEL,OAAO,CAYlB;AAED,kEAOC;AAED,sEAOC;AAED,oEAOC;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,sBACN,MAAM,GAEL,OAAO,CAYlB;AAED;;;;;;;;GAQG;AACH,8BALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAajB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAYjB;AAED;;;;;;;;;GASG;AAEH;;;;;;;GAOG;AACH,gCALW,aAAa,sBACb,MAAM,GAEL,aAAa,CASxB;AAED;;;;;;;;;GASG;AACH,sCALW,aAAa,sBACb,MAAM,GAEL,aAAa,CAcxB;AAED;;;;;;;;;GASG;AACH,0CALW,aAAa,sBACb,MAAM,GAEL,aAAa,CAcxB;AAED;;;;;;;GAOG;AACH,sCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAYjB;AAED,2EAOC;AAED;;;;;;;GAOG;AACH,kCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CASjB;AAED;;;;;;;GAOG;AACH,gEAJW,MAAM,SAahB;AAED;;;;;;;;GAQG;AACH,0CAHW,MAAM,sBACN,MAAM,OAUhB;AAED;;;;;;;;GAQG;AACH,qCAHW,MAAM,sBACN,MAAM,OAUhB;AAED;;;;;;GAMG;AACH,0CAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;;GAMG;AACH,iDAHW,MAAM,GACL,MAAM,CAIjB;AAED,uFAUC;AAED;;;;;;GAMG;AACH,kCAJW,MAAM,sBACN,MAAM,GACL,MAAM,CAUjB;AAED;;;;;;GAMG;AACH,qCAJW,OAAO,sBACP,MAAM,GACL,OAAO,CAUlB;AAED
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/store/reducer.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,uCAJW,GAAC,GAEA,GAAC,CAQZ;AAED;;;;;;;;GAQG;AACH,+BALW,MAAM,KACN,MAAM,GAEL,OAAO,CASlB;AAED;;;;;;;;;GASG;AACH,mDALW,MAAM,kBACN,MAAM,GAEL,OAAO,CAOlB;AAED;;;;;;;;;GASG;AACH,6CALW,MAAM,kBACN,MAAM,GAEL,OAAO,CAYlB;AAED,kEAOC;AAED,sEAOC;AAED,oEAOC;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,sBACN,MAAM,GAEL,OAAO,CAYlB;AAED;;;;;;;;GAQG;AACH,8BALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAajB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAYjB;AAED;;;;;;;;;GASG;AAEH;;;;;;;GAOG;AACH,gCALW,aAAa,sBACb,MAAM,GAEL,aAAa,CASxB;AAED;;;;;;;;;GASG;AACH,sCALW,aAAa,sBACb,MAAM,GAEL,aAAa,CAcxB;AAED;;;;;;;;;GASG;AACH,0CALW,aAAa,sBACb,MAAM,GAEL,aAAa,CAcxB;AAED;;;;;;;GAOG;AACH,sCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAYjB;AAED,2EAOC;AAED;;;;;;;GAOG;AACH,kCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CASjB;AAED;;;;;;;GAOG;AACH,gEAJW,MAAM,SAahB;AAED;;;;;;;;GAQG;AACH,0CAHW,MAAM,sBACN,MAAM,OAUhB;AAED;;;;;;;;GAQG;AACH,qCAHW,MAAM,sBACN,MAAM,OAUhB;AAED;;;;;;GAMG;AACH,0CAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;;GAMG;AACH,iDAHW,MAAM,GACL,MAAM,CAIjB;AAED,uFAUC;AAED;;;;;;GAMG;AACH,kCAJW,MAAM,sBACN,MAAM,GACL,MAAM,CAUjB;AAED;;;;;;GAMG;AACH,qCAJW,OAAO,sBACP,MAAM,GACL,OAAO,CAUlB;AAED;;;;;;;GAOG;AACH,kCAJW,MAAM,GAAC,IAAI,sBACX,MAAM,GACL,MAAM,GAAC,IAAI,CAQtB;AAED;;;;;;;GAOG;AACH,wCAJW,OAAO,sBACP,MAAM,GACL,OAAO,CAWlB;AAED;;;;;;GAMG;AACH,oCAJW,MAAM,sBACN,MAAM,GACL,MAAM,CAQjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlSa,OAAO;;;;gBACN,OAAO,OAAA;;;;oBACP,OAAO,OAAA;;;;UACP,MAAM,OAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default function mediaFinalize(id: any): Promise<void>;
|
|
1
|
+
export default function mediaFinalize(id: any, subSizes?: any[]): Promise<void>;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/media-finalize/index.js"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/media-finalize/index.js"],"names":[],"mappings":"AAKA,gFAMC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/media-upload/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/media-upload/index.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;GAaG;AACH,iJATG;IAAqB,cAAc,EAA1B,MAAM,OAAA;IACM,YAAY,EAAzB,MAAM;IACO,SAAS;IACT,iBAAiB,EAA7B,MAAM,OAAA;IACM,OAAO;IACP,YAAY;IACZ,SAAS;IACT,QAAQ,EAArB,OAAO;CACjB,QA2FA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/editor",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.45.0",
|
|
4
4
|
"description": "Enhanced block editor for WordPress posts.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -60,50 +60,50 @@
|
|
|
60
60
|
"build-module/bindings/**"
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@
|
|
64
|
-
"@wordpress/
|
|
65
|
-
"@wordpress/
|
|
66
|
-
"@wordpress/
|
|
67
|
-
"@wordpress/
|
|
68
|
-
"@wordpress/block-
|
|
69
|
-
"@wordpress/
|
|
70
|
-
"@wordpress/
|
|
71
|
-
"@wordpress/
|
|
72
|
-
"@wordpress/
|
|
73
|
-
"@wordpress/
|
|
74
|
-
"@wordpress/
|
|
75
|
-
"@wordpress/
|
|
76
|
-
"@wordpress/
|
|
77
|
-
"@wordpress/
|
|
78
|
-
"@wordpress/
|
|
79
|
-
"@wordpress/
|
|
80
|
-
"@wordpress/
|
|
81
|
-
"@wordpress/
|
|
82
|
-
"@wordpress/global-styles-
|
|
83
|
-
"@wordpress/
|
|
84
|
-
"@wordpress/
|
|
85
|
-
"@wordpress/
|
|
86
|
-
"@wordpress/
|
|
87
|
-
"@wordpress/
|
|
88
|
-
"@wordpress/
|
|
89
|
-
"@wordpress/
|
|
90
|
-
"@wordpress/
|
|
91
|
-
"@wordpress/media-
|
|
92
|
-
"@wordpress/media-
|
|
93
|
-
"@wordpress/
|
|
94
|
-
"@wordpress/
|
|
95
|
-
"@wordpress/
|
|
96
|
-
"@wordpress/
|
|
97
|
-
"@wordpress/
|
|
98
|
-
"@wordpress/
|
|
99
|
-
"@wordpress/
|
|
100
|
-
"@wordpress/
|
|
101
|
-
"@wordpress/
|
|
102
|
-
"@wordpress/upload-media": "^0.
|
|
103
|
-
"@wordpress/url": "^4.
|
|
104
|
-
"@wordpress/views": "^1.
|
|
105
|
-
"@wordpress/warning": "^3.
|
|
106
|
-
"@wordpress/wordcount": "^4.
|
|
63
|
+
"@wordpress/a11y": "^4.45.0",
|
|
64
|
+
"@wordpress/api-fetch": "^7.45.0",
|
|
65
|
+
"@wordpress/base-styles": "^7.0.0",
|
|
66
|
+
"@wordpress/blob": "^4.45.0",
|
|
67
|
+
"@wordpress/block-editor": "^15.18.0",
|
|
68
|
+
"@wordpress/block-serialization-default-parser": "^5.45.0",
|
|
69
|
+
"@wordpress/blocks": "^15.18.0",
|
|
70
|
+
"@wordpress/commands": "^1.45.0",
|
|
71
|
+
"@wordpress/components": "^33.0.0",
|
|
72
|
+
"@wordpress/compose": "^7.45.0",
|
|
73
|
+
"@wordpress/core-data": "^7.45.0",
|
|
74
|
+
"@wordpress/data": "^10.45.0",
|
|
75
|
+
"@wordpress/dataviews": "^14.2.0",
|
|
76
|
+
"@wordpress/date": "^5.45.0",
|
|
77
|
+
"@wordpress/deprecated": "^4.45.0",
|
|
78
|
+
"@wordpress/dom": "^4.45.0",
|
|
79
|
+
"@wordpress/element": "^6.45.0",
|
|
80
|
+
"@wordpress/fields": "^0.37.0",
|
|
81
|
+
"@wordpress/global-styles-engine": "^1.12.0",
|
|
82
|
+
"@wordpress/global-styles-ui": "^1.12.0",
|
|
83
|
+
"@wordpress/hooks": "^4.45.0",
|
|
84
|
+
"@wordpress/html-entities": "^4.45.0",
|
|
85
|
+
"@wordpress/i18n": "^6.18.0",
|
|
86
|
+
"@wordpress/icons": "^13.0.0",
|
|
87
|
+
"@wordpress/interface": "^9.30.0",
|
|
88
|
+
"@wordpress/keyboard-shortcuts": "^5.45.0",
|
|
89
|
+
"@wordpress/keycodes": "^4.45.0",
|
|
90
|
+
"@wordpress/media-editor": "^0.8.0",
|
|
91
|
+
"@wordpress/media-fields": "^0.10.0",
|
|
92
|
+
"@wordpress/media-utils": "^5.45.0",
|
|
93
|
+
"@wordpress/notices": "^5.45.0",
|
|
94
|
+
"@wordpress/patterns": "^2.45.0",
|
|
95
|
+
"@wordpress/plugins": "^7.45.0",
|
|
96
|
+
"@wordpress/preferences": "^4.45.0",
|
|
97
|
+
"@wordpress/private-apis": "^1.45.0",
|
|
98
|
+
"@wordpress/reusable-blocks": "^5.45.0",
|
|
99
|
+
"@wordpress/rich-text": "^7.45.0",
|
|
100
|
+
"@wordpress/server-side-render": "^6.21.0",
|
|
101
|
+
"@wordpress/ui": "^0.12.0",
|
|
102
|
+
"@wordpress/upload-media": "^0.30.0",
|
|
103
|
+
"@wordpress/url": "^4.45.0",
|
|
104
|
+
"@wordpress/views": "^1.12.0",
|
|
105
|
+
"@wordpress/warning": "^3.45.0",
|
|
106
|
+
"@wordpress/wordcount": "^4.45.0",
|
|
107
107
|
"change-case": "^4.1.2",
|
|
108
108
|
"client-zip": "^2.4.5",
|
|
109
109
|
"clsx": "^2.1.1",
|
|
@@ -126,5 +126,5 @@
|
|
|
126
126
|
"publishConfig": {
|
|
127
127
|
"access": "public"
|
|
128
128
|
},
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "8c229eaed0e88c9827e2da3d73a78f9ddd77714b"
|
|
130
130
|
}
|