@wordpress/editor 14.44.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-note.cjs +100 -0
- package/build/components/collab-sidebar/add-note.cjs.map +7 -0
- package/build/components/collab-sidebar/board-store.cjs +106 -0
- package/build/components/collab-sidebar/board-store.cjs.map +7 -0
- package/build/components/collab-sidebar/floating-container.cjs +63 -0
- package/build/components/collab-sidebar/floating-container.cjs.map +7 -0
- package/build/components/collab-sidebar/hooks.cjs +105 -140
- package/build/components/collab-sidebar/hooks.cjs.map +3 -3
- package/build/components/collab-sidebar/index.cjs +28 -90
- 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} +46 -45
- 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 +80 -14
- package/build/components/collab-sidebar/utils.cjs.map +2 -2
- package/build/components/collaborators-presence/avatar/component.cjs.map +1 -1
- package/build/components/collaborators-presence/index.cjs +3 -3
- package/build/components/collaborators-presence/index.cjs.map +2 -2
- package/build/components/collaborators-presence/list.cjs +3 -3
- package/build/components/collaborators-presence/list.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/media-categories/index.cjs +1 -1
- package/build/components/media-categories/index.cjs.map +1 -1
- package/build/components/more-menu/index.cjs +4 -3
- 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/maybe-upload-media.cjs +1 -1
- package/build/components/post-publish-panel/maybe-upload-media.cjs.map +1 -1
- 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/style-book/constants.cjs +1 -1
- package/build/components/style-book/constants.cjs.map +1 -1
- package/build/components/style-book/index.cjs +1 -1
- package/build/components/style-book/index.cjs.map +1 -1
- 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-note.mjs +78 -0
- package/build-module/components/collab-sidebar/add-note.mjs.map +7 -0
- package/build-module/components/collab-sidebar/board-store.mjs +81 -0
- package/build-module/components/collab-sidebar/board-store.mjs.map +7 -0
- package/build-module/components/collab-sidebar/floating-container.mjs +28 -0
- package/build-module/components/collab-sidebar/floating-container.mjs.map +7 -0
- package/build-module/components/collab-sidebar/hooks.mjs +105 -144
- package/build-module/components/collab-sidebar/hooks.mjs.map +2 -2
- package/build-module/components/collab-sidebar/index.mjs +29 -95
- 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 +76 -10
- package/build-module/components/collab-sidebar/utils.mjs.map +2 -2
- package/build-module/components/collaborators-presence/avatar/component.mjs.map +1 -1
- package/build-module/components/collaborators-presence/index.mjs +3 -3
- package/build-module/components/collaborators-presence/index.mjs.map +2 -2
- package/build-module/components/collaborators-presence/list.mjs +3 -3
- package/build-module/components/collaborators-presence/list.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/media-categories/index.mjs +1 -1
- package/build-module/components/media-categories/index.mjs.map +1 -1
- package/build-module/components/more-menu/index.mjs +4 -8
- 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/maybe-upload-media.mjs +1 -1
- package/build-module/components/post-publish-panel/maybe-upload-media.mjs.map +1 -1
- 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/style-book/constants.mjs +1 -1
- package/build-module/components/style-book/constants.mjs.map +1 -1
- package/build-module/components/style-book/index.mjs +1 -1
- package/build-module/components/style-book/index.mjs.map +1 -1
- 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 +397 -171
- package/build-style/style.css +397 -171
- 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 +9 -0
- package/build-types/components/collab-sidebar/board-store.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/floating-container.d.ts +8 -0
- package/build-types/components/collab-sidebar/floating-container.d.ts.map +1 -0
- package/build-types/components/collab-sidebar/hooks.d.ts +13 -22
- 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 +41 -17
- 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/style-book/constants.d.ts +1 -1
- package/build-types/components/style-book/constants.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} +26 -49
- package/src/components/collab-sidebar/board-store.js +85 -0
- package/src/components/collab-sidebar/floating-container.js +30 -0
- package/src/components/collab-sidebar/hooks.js +130 -178
- package/src/components/collab-sidebar/index.js +35 -106
- 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} +29 -40
- 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 +155 -0
- package/src/components/collab-sidebar/utils.js +125 -19
- package/src/components/collaborators-presence/avatar/component.tsx +1 -1
- package/src/components/collaborators-presence/styles/collaborators-list.scss +1 -1
- package/src/components/collaborators-presence/styles/collaborators-presence.scss +1 -1
- package/src/components/document-bar/index.js +4 -4
- package/src/components/document-outline/style.scss +1 -1
- 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/media-categories/index.js +1 -1
- package/src/components/more-menu/index.js +4 -8
- 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/maybe-upload-media.js +1 -1
- package/src/components/post-publish-panel/postpublish.js +2 -2
- package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +10 -16
- 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-revisions-preview/style.scss +1 -1
- 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/style-book/constants.ts +1 -1
- package/src/components/style-book/index.js +1 -1
- package/src/components/template-actions-panel/classic-theme-content.js +3 -3
- package/src/components/template-actions-panel/style.scss +1 -1
- 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 +0 -129
- 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 -816
- package/build/components/collab-sidebar/comments.cjs.map +0 -7
- package/build-module/components/collab-sidebar/add-comment.mjs +0 -100
- 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 -90
- 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 -799
- package/build-module/components/collab-sidebar/comments.mjs.map +0 -7
- package/build-types/components/collab-sidebar/add-comment.d.ts +0 -10
- 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 -11
- 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 -12
- package/build-types/components/collab-sidebar/comments.d.ts.map +0 -1
- package/src/components/collab-sidebar/comments.js +0 -985
|
@@ -107,141 +107,6 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
.admin-ui-page {
|
|
111
|
-
display: flex;
|
|
112
|
-
height: 100%;
|
|
113
|
-
background-color: var(--wpds-color-bg-surface-neutral, #fcfcfc);
|
|
114
|
-
color: var(--wpds-color-fg-content-neutral, #1e1e1e);
|
|
115
|
-
position: relative;
|
|
116
|
-
z-index: 1;
|
|
117
|
-
flex-flow: column;
|
|
118
|
-
text-wrap: pretty;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.admin-ui-page__header {
|
|
122
|
-
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
123
|
-
border-bottom: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e4e4e4);
|
|
124
|
-
background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
125
|
-
position: sticky;
|
|
126
|
-
top: 0;
|
|
127
|
-
z-index: 1;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.admin-ui-page__header-title {
|
|
131
|
-
font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
132
|
-
font-size: var(--wpds-typography-font-size-lg, 15px);
|
|
133
|
-
font-weight: var(--wpds-typography-font-weight-medium, 499);
|
|
134
|
-
line-height: var(--wpds-typography-line-height-lg, 28px);
|
|
135
|
-
margin: 0;
|
|
136
|
-
overflow: hidden;
|
|
137
|
-
text-overflow: ellipsis;
|
|
138
|
-
white-space: nowrap;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
142
|
-
display: none;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.admin-ui-page__header-subtitle {
|
|
146
|
-
padding-block-end: var(--wpds-dimension-padding-xs, 4px);
|
|
147
|
-
color: var(--wpds-color-fg-content-neutral-weak, #707070);
|
|
148
|
-
font-size: var(--wpds-typography-font-size-md, 13px);
|
|
149
|
-
line-height: var(--wpds-typography-line-height-md, 24px);
|
|
150
|
-
margin: 0;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.admin-ui-page__content {
|
|
154
|
-
flex-grow: 1;
|
|
155
|
-
overflow: auto;
|
|
156
|
-
display: flex;
|
|
157
|
-
flex-direction: column;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.admin-ui-page__content.has-padding {
|
|
161
|
-
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
165
|
-
width: auto;
|
|
166
|
-
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
|
|
170
|
-
display: none;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
|
|
174
|
-
content: attr(aria-label);
|
|
175
|
-
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* SCSS Variables.
|
|
180
|
-
*
|
|
181
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
182
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
183
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
184
|
-
*/
|
|
185
|
-
/**
|
|
186
|
-
* Colors
|
|
187
|
-
*/
|
|
188
|
-
/**
|
|
189
|
-
* Fonts & basic variables.
|
|
190
|
-
*/
|
|
191
|
-
/**
|
|
192
|
-
* Typography
|
|
193
|
-
*/
|
|
194
|
-
/**
|
|
195
|
-
* Grid System.
|
|
196
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
197
|
-
*/
|
|
198
|
-
/**
|
|
199
|
-
* Radius scale.
|
|
200
|
-
*/
|
|
201
|
-
/**
|
|
202
|
-
* Elevation scale.
|
|
203
|
-
*/
|
|
204
|
-
/**
|
|
205
|
-
* Dimensions.
|
|
206
|
-
*/
|
|
207
|
-
/**
|
|
208
|
-
* Mobile specific styles
|
|
209
|
-
*/
|
|
210
|
-
/**
|
|
211
|
-
* Editor styles.
|
|
212
|
-
*/
|
|
213
|
-
/**
|
|
214
|
-
* Block & Editor UI.
|
|
215
|
-
*/
|
|
216
|
-
/**
|
|
217
|
-
* Block paddings.
|
|
218
|
-
*/
|
|
219
|
-
/**
|
|
220
|
-
* React Native specific.
|
|
221
|
-
* These variables do not appear to be used anywhere else.
|
|
222
|
-
*/
|
|
223
|
-
.admin-ui-breadcrumbs__list {
|
|
224
|
-
font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
225
|
-
font-size: var(--wpds-typography-font-size-lg, 15px);
|
|
226
|
-
font-weight: var(--wpds-typography-font-weight-medium, 499);
|
|
227
|
-
line-height: var(--wpds-typography-line-height-lg, 28px);
|
|
228
|
-
list-style: none;
|
|
229
|
-
padding: 0;
|
|
230
|
-
margin: 0;
|
|
231
|
-
gap: 0;
|
|
232
|
-
min-height: 32px;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.admin-ui-breadcrumbs__list li:not(:last-child)::after {
|
|
236
|
-
content: "/";
|
|
237
|
-
margin: 0 8px;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.admin-ui-breadcrumbs__list h1 {
|
|
241
|
-
font-size: inherit;
|
|
242
|
-
line-height: inherit;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
110
|
/**
|
|
246
111
|
* Colors
|
|
247
112
|
*/
|
|
@@ -977,7 +842,7 @@ button.font-library__upload-area {
|
|
|
977
842
|
|
|
978
843
|
.global-styles-ui-screen-revisions__revision-item {
|
|
979
844
|
position: relative;
|
|
980
|
-
cursor: pointer;
|
|
845
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
981
846
|
display: flex;
|
|
982
847
|
flex-direction: column;
|
|
983
848
|
}
|
|
@@ -1154,7 +1019,7 @@ button.font-library__upload-area {
|
|
|
1154
1019
|
|
|
1155
1020
|
.global-styles-ui-variations_item {
|
|
1156
1021
|
box-sizing: border-box;
|
|
1157
|
-
cursor: pointer;
|
|
1022
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
1158
1023
|
}
|
|
1159
1024
|
|
|
1160
1025
|
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
|
|
@@ -1192,20 +1057,16 @@ button.font-library__upload-area {
|
|
|
1192
1057
|
outline-color: var(--wp-admin-theme-color);
|
|
1193
1058
|
}
|
|
1194
1059
|
|
|
1195
|
-
.global-styles-ui-preview {
|
|
1196
|
-
display: flex;
|
|
1197
|
-
align-items: center;
|
|
1198
|
-
justify-content: center;
|
|
1199
|
-
line-height: 1;
|
|
1200
|
-
cursor: pointer;
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
1060
|
.global-styles-ui-preview__wrapper {
|
|
1204
1061
|
max-width: 100%;
|
|
1205
1062
|
display: block;
|
|
1206
1063
|
width: 100%;
|
|
1207
1064
|
}
|
|
1208
1065
|
|
|
1066
|
+
.global-styles-ui-preview__wrapper.is-hoverable {
|
|
1067
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1209
1070
|
.global-styles-ui-typography-preview {
|
|
1210
1071
|
display: flex;
|
|
1211
1072
|
align-items: center;
|
|
@@ -4185,7 +4046,7 @@ div.dataviews-view-list {
|
|
|
4185
4046
|
}
|
|
4186
4047
|
|
|
4187
4048
|
input[type=radio]:not(:checked) ~ .fields-create-template-part-modal__area-radio-label::before {
|
|
4188
|
-
cursor: pointer;
|
|
4049
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
4189
4050
|
}
|
|
4190
4051
|
|
|
4191
4052
|
input[type=radio]:focus-visible ~ .fields-create-template-part-modal__area-radio-label::before {
|
|
@@ -4313,7 +4174,7 @@ fieldset.fields__media-edit .fields__media-edit-picker-button {
|
|
|
4313
4174
|
border-radius: 2px;
|
|
4314
4175
|
padding: 4px 8px;
|
|
4315
4176
|
min-height: 40px;
|
|
4316
|
-
cursor: pointer;
|
|
4177
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
4317
4178
|
min-width: 0;
|
|
4318
4179
|
}
|
|
4319
4180
|
|
|
@@ -4748,6 +4609,363 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4748
4609
|
margin-top: 8px;
|
|
4749
4610
|
}
|
|
4750
4611
|
|
|
4612
|
+
.wp-media-editor-image-editor {
|
|
4613
|
+
position: relative;
|
|
4614
|
+
overflow: hidden;
|
|
4615
|
+
width: 100%;
|
|
4616
|
+
height: 100%;
|
|
4617
|
+
touch-action: none;
|
|
4618
|
+
-webkit-user-select: none;
|
|
4619
|
+
user-select: none;
|
|
4620
|
+
cursor: grab;
|
|
4621
|
+
}
|
|
4622
|
+
|
|
4623
|
+
.wp-media-editor-image-editor__canvas {
|
|
4624
|
+
position: absolute;
|
|
4625
|
+
inset: 22px;
|
|
4626
|
+
}
|
|
4627
|
+
|
|
4628
|
+
.wp-media-editor-image-editor--dragging {
|
|
4629
|
+
cursor: grabbing;
|
|
4630
|
+
}
|
|
4631
|
+
|
|
4632
|
+
.wp-media-editor-image-editor__image {
|
|
4633
|
+
position: absolute;
|
|
4634
|
+
top: 0;
|
|
4635
|
+
right: 0;
|
|
4636
|
+
will-change: transform;
|
|
4637
|
+
transform-origin: center center;
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4640
|
+
.wp-media-editor-image-editor__stencil {
|
|
4641
|
+
position: absolute;
|
|
4642
|
+
pointer-events: none;
|
|
4643
|
+
}
|
|
4644
|
+
|
|
4645
|
+
.wp-media-editor-image-editor__dimming {
|
|
4646
|
+
position: absolute;
|
|
4647
|
+
pointer-events: none;
|
|
4648
|
+
/* Large shadow spread dims everything outside the crop area.
|
|
4649
|
+
Darker at rest for clear crop framing, lighter during drag
|
|
4650
|
+
so the user can see where they're panning. */
|
|
4651
|
+
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
|
|
4652
|
+
transition: box-shadow 0.15s ease;
|
|
4653
|
+
}
|
|
4654
|
+
|
|
4655
|
+
.wp-media-editor-image-editor--dragging .wp-media-editor-image-editor__dimming {
|
|
4656
|
+
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
.wp-media-editor-image-editor__grid {
|
|
4660
|
+
position: absolute;
|
|
4661
|
+
pointer-events: none;
|
|
4662
|
+
overflow: hidden;
|
|
4663
|
+
transition: opacity 0.15s ease;
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4666
|
+
.wp-media-editor-image-editor__canvas--grid-interactive .wp-media-editor-image-editor__grid {
|
|
4667
|
+
opacity: 0;
|
|
4668
|
+
transition-delay: 0.1s;
|
|
4669
|
+
}
|
|
4670
|
+
|
|
4671
|
+
.wp-media-editor-image-editor__canvas--show-grid .wp-media-editor-image-editor__grid {
|
|
4672
|
+
opacity: 1;
|
|
4673
|
+
transition-delay: 0s;
|
|
4674
|
+
}
|
|
4675
|
+
|
|
4676
|
+
.wp-media-editor-image-editor__grid-line {
|
|
4677
|
+
position: absolute;
|
|
4678
|
+
background: rgba(255, 255, 255, 0.4);
|
|
4679
|
+
}
|
|
4680
|
+
|
|
4681
|
+
.wp-media-editor-image-editor__grid-line--horizontal {
|
|
4682
|
+
right: 0;
|
|
4683
|
+
width: 100%;
|
|
4684
|
+
height: 1px;
|
|
4685
|
+
}
|
|
4686
|
+
|
|
4687
|
+
.wp-media-editor-image-editor__grid-line--vertical {
|
|
4688
|
+
top: 0;
|
|
4689
|
+
height: 100%;
|
|
4690
|
+
width: 1px;
|
|
4691
|
+
}
|
|
4692
|
+
|
|
4693
|
+
.wp-media-editor-image-editor__stencil-rect {
|
|
4694
|
+
position: absolute;
|
|
4695
|
+
border: 1px solid rgba(255, 255, 255, 0.7);
|
|
4696
|
+
box-sizing: border-box;
|
|
4697
|
+
pointer-events: none;
|
|
4698
|
+
}
|
|
4699
|
+
|
|
4700
|
+
.wp-media-editor-image-editor__handle {
|
|
4701
|
+
appearance: none;
|
|
4702
|
+
margin: 0;
|
|
4703
|
+
padding: 0;
|
|
4704
|
+
font: inherit;
|
|
4705
|
+
cursor: default;
|
|
4706
|
+
position: absolute;
|
|
4707
|
+
width: 12px;
|
|
4708
|
+
height: 12px;
|
|
4709
|
+
background: rgba(255, 255, 255, 0.6);
|
|
4710
|
+
border: 1px solid rgba(255, 255, 255, 0.9);
|
|
4711
|
+
border-radius: 50%;
|
|
4712
|
+
box-sizing: border-box;
|
|
4713
|
+
pointer-events: auto;
|
|
4714
|
+
transition: background-color 0.15s ease, box-shadow 0.15s ease;
|
|
4715
|
+
}
|
|
4716
|
+
|
|
4717
|
+
.wp-media-editor-image-editor__handle:focus {
|
|
4718
|
+
outline: none;
|
|
4719
|
+
}
|
|
4720
|
+
|
|
4721
|
+
.wp-media-editor-image-editor__handle:focus-visible {
|
|
4722
|
+
background: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
|
|
4723
|
+
border-color: transparent;
|
|
4724
|
+
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
|
|
4725
|
+
}
|
|
4726
|
+
|
|
4727
|
+
.wp-media-editor-image-editor__handle::before {
|
|
4728
|
+
content: "";
|
|
4729
|
+
position: absolute;
|
|
4730
|
+
top: 50%;
|
|
4731
|
+
right: 50%;
|
|
4732
|
+
width: 44px;
|
|
4733
|
+
height: 44px;
|
|
4734
|
+
transform: translate(50%, -50%);
|
|
4735
|
+
}
|
|
4736
|
+
|
|
4737
|
+
.wp-media-editor-image-editor__handle {
|
|
4738
|
+
/* Offset by half the handle width (12px / 2 = 6px) to center on crop edge */
|
|
4739
|
+
}
|
|
4740
|
+
|
|
4741
|
+
.wp-media-editor-image-editor__handle--n {
|
|
4742
|
+
top: -6px;
|
|
4743
|
+
right: 50%;
|
|
4744
|
+
margin-right: -6px;
|
|
4745
|
+
cursor: ns-resize;
|
|
4746
|
+
}
|
|
4747
|
+
|
|
4748
|
+
.wp-media-editor-image-editor__handle--s {
|
|
4749
|
+
bottom: -6px;
|
|
4750
|
+
right: 50%;
|
|
4751
|
+
margin-right: -6px;
|
|
4752
|
+
cursor: ns-resize;
|
|
4753
|
+
}
|
|
4754
|
+
|
|
4755
|
+
.wp-media-editor-image-editor__handle--e {
|
|
4756
|
+
top: 50%;
|
|
4757
|
+
left: -6px;
|
|
4758
|
+
margin-top: -6px;
|
|
4759
|
+
cursor: ew-resize;
|
|
4760
|
+
}
|
|
4761
|
+
|
|
4762
|
+
.wp-media-editor-image-editor__handle--w {
|
|
4763
|
+
top: 50%;
|
|
4764
|
+
right: -6px;
|
|
4765
|
+
margin-top: -6px;
|
|
4766
|
+
cursor: ew-resize;
|
|
4767
|
+
}
|
|
4768
|
+
|
|
4769
|
+
.wp-media-editor-image-editor__handle--nw {
|
|
4770
|
+
top: -6px;
|
|
4771
|
+
right: -6px;
|
|
4772
|
+
cursor: nesw-resize;
|
|
4773
|
+
}
|
|
4774
|
+
|
|
4775
|
+
.wp-media-editor-image-editor__handle--ne {
|
|
4776
|
+
top: -6px;
|
|
4777
|
+
left: -6px;
|
|
4778
|
+
cursor: nwse-resize;
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
.wp-media-editor-image-editor__handle--sw {
|
|
4782
|
+
bottom: -6px;
|
|
4783
|
+
right: -6px;
|
|
4784
|
+
cursor: nwse-resize;
|
|
4785
|
+
}
|
|
4786
|
+
|
|
4787
|
+
.wp-media-editor-image-editor__handle--se {
|
|
4788
|
+
bottom: -6px;
|
|
4789
|
+
left: -6px;
|
|
4790
|
+
cursor: nesw-resize;
|
|
4791
|
+
}
|
|
4792
|
+
|
|
4793
|
+
/**
|
|
4794
|
+
* Typography
|
|
4795
|
+
*/
|
|
4796
|
+
/**
|
|
4797
|
+
* Breakpoints & Media Queries
|
|
4798
|
+
*/
|
|
4799
|
+
/**
|
|
4800
|
+
* Converts a hex value into the rgb equivalent.
|
|
4801
|
+
*
|
|
4802
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
4803
|
+
* @return {string} comma separated rgb values
|
|
4804
|
+
*/
|
|
4805
|
+
/**
|
|
4806
|
+
* Long content fade mixin
|
|
4807
|
+
*
|
|
4808
|
+
* Creates a fading overlay to signify that the content is longer
|
|
4809
|
+
* than the space allows.
|
|
4810
|
+
*/
|
|
4811
|
+
/**
|
|
4812
|
+
* Breakpoint mixins
|
|
4813
|
+
*/
|
|
4814
|
+
/**
|
|
4815
|
+
* Focus styles.
|
|
4816
|
+
*/
|
|
4817
|
+
/**
|
|
4818
|
+
* Applies editor left position to the selector passed as argument
|
|
4819
|
+
*/
|
|
4820
|
+
/**
|
|
4821
|
+
* Styles that are reused verbatim in a few places
|
|
4822
|
+
*/
|
|
4823
|
+
/**
|
|
4824
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
4825
|
+
*/
|
|
4826
|
+
/**
|
|
4827
|
+
* Reset default styles for JavaScript UI based pages.
|
|
4828
|
+
* This is a WP-admin agnostic reset
|
|
4829
|
+
*/
|
|
4830
|
+
/**
|
|
4831
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
4832
|
+
*/
|
|
4833
|
+
/**
|
|
4834
|
+
* Creates a checkerboard pattern background to indicate transparency.
|
|
4835
|
+
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
4836
|
+
*/
|
|
4837
|
+
.media-editor-modal.components-modal__frame .components-modal__content {
|
|
4838
|
+
padding: 0;
|
|
4839
|
+
margin-bottom: 0;
|
|
4840
|
+
}
|
|
4841
|
+
|
|
4842
|
+
.media-editor-modal {
|
|
4843
|
+
display: flex;
|
|
4844
|
+
flex-direction: column;
|
|
4845
|
+
}
|
|
4846
|
+
|
|
4847
|
+
.media-editor-modal .media-editor-modal__loading {
|
|
4848
|
+
height: 100%;
|
|
4849
|
+
display: flex;
|
|
4850
|
+
align-items: center;
|
|
4851
|
+
justify-content: center;
|
|
4852
|
+
}
|
|
4853
|
+
|
|
4854
|
+
.media-editor-modal .interface-interface-skeleton {
|
|
4855
|
+
position: relative;
|
|
4856
|
+
top: auto;
|
|
4857
|
+
left: auto;
|
|
4858
|
+
bottom: auto;
|
|
4859
|
+
right: auto;
|
|
4860
|
+
height: 100%;
|
|
4861
|
+
max-height: none;
|
|
4862
|
+
flex: 1;
|
|
4863
|
+
flex-direction: column;
|
|
4864
|
+
}
|
|
4865
|
+
|
|
4866
|
+
.media-editor-modal .interface-interface-skeleton__editor {
|
|
4867
|
+
min-width: 0;
|
|
4868
|
+
flex: 1;
|
|
4869
|
+
}
|
|
4870
|
+
|
|
4871
|
+
.media-editor-modal .interface-interface-skeleton__footer {
|
|
4872
|
+
position: relative;
|
|
4873
|
+
display: flex;
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
.media-editor-modal .interface-interface-skeleton.has-footer .interface-interface-skeleton__body {
|
|
4877
|
+
padding-bottom: 0;
|
|
4878
|
+
}
|
|
4879
|
+
|
|
4880
|
+
.media-editor-modal .media-editor-modal__canvas {
|
|
4881
|
+
display: flex;
|
|
4882
|
+
align-items: center;
|
|
4883
|
+
justify-content: center;
|
|
4884
|
+
background: #f0f0f0;
|
|
4885
|
+
overflow: auto;
|
|
4886
|
+
height: 100%;
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4889
|
+
.media-editor-modal .media-editor-modal__canvas .media-editor-preview {
|
|
4890
|
+
height: 100%;
|
|
4891
|
+
}
|
|
4892
|
+
|
|
4893
|
+
.media-editor-modal .media-editor-modal__canvas img,
|
|
4894
|
+
.media-editor-modal .media-editor-modal__canvas video {
|
|
4895
|
+
max-width: 100%;
|
|
4896
|
+
max-height: 100%;
|
|
4897
|
+
object-fit: contain;
|
|
4898
|
+
}
|
|
4899
|
+
|
|
4900
|
+
.media-editor-modal .media-editor-modal__sidebar {
|
|
4901
|
+
box-sizing: border-box;
|
|
4902
|
+
}
|
|
4903
|
+
|
|
4904
|
+
.media-editor-modal .media-editor-modal__sidebar *,
|
|
4905
|
+
.media-editor-modal .media-editor-modal__sidebar *::before,
|
|
4906
|
+
.media-editor-modal .media-editor-modal__sidebar *::after {
|
|
4907
|
+
box-sizing: inherit;
|
|
4908
|
+
}
|
|
4909
|
+
|
|
4910
|
+
.media-editor-modal .media-editor-modal__panel {
|
|
4911
|
+
padding: 16px;
|
|
4912
|
+
}
|
|
4913
|
+
|
|
4914
|
+
.media-editor-modal .components-panel__header.media-editor-modal__sidebar-header {
|
|
4915
|
+
padding-right: 0;
|
|
4916
|
+
padding-left: 8px;
|
|
4917
|
+
}
|
|
4918
|
+
|
|
4919
|
+
.media-editor-modal .components-panel__header.media-editor-modal__sidebar-header .components-button.has-icon {
|
|
4920
|
+
padding: 0;
|
|
4921
|
+
}
|
|
4922
|
+
|
|
4923
|
+
@media (min-width: 782px) {
|
|
4924
|
+
.media-editor-modal .components-panel__header.media-editor-modal__sidebar-header .components-button.has-icon {
|
|
4925
|
+
display: flex;
|
|
4926
|
+
}
|
|
4927
|
+
}
|
|
4928
|
+
.media-editor-modal__snackbar {
|
|
4929
|
+
position: fixed;
|
|
4930
|
+
bottom: 24px;
|
|
4931
|
+
right: 0;
|
|
4932
|
+
left: 0;
|
|
4933
|
+
padding-inline: 16px;
|
|
4934
|
+
box-sizing: border-box;
|
|
4935
|
+
display: flex;
|
|
4936
|
+
flex-direction: column;
|
|
4937
|
+
pointer-events: none;
|
|
4938
|
+
}
|
|
4939
|
+
|
|
4940
|
+
.media-editor-modal__snackbar .components-snackbar {
|
|
4941
|
+
margin-inline: auto;
|
|
4942
|
+
}
|
|
4943
|
+
|
|
4944
|
+
.media-editor-modal__snackbar {
|
|
4945
|
+
z-index: 1000001;
|
|
4946
|
+
}
|
|
4947
|
+
|
|
4948
|
+
.media-editor-canvas {
|
|
4949
|
+
position: relative;
|
|
4950
|
+
width: 100%;
|
|
4951
|
+
height: 100%;
|
|
4952
|
+
}
|
|
4953
|
+
|
|
4954
|
+
.media-editor-toolbar {
|
|
4955
|
+
width: 100%;
|
|
4956
|
+
padding: 8px 16px;
|
|
4957
|
+
}
|
|
4958
|
+
|
|
4959
|
+
.media-editor-toolbar .media-editor-toolbar__rotation-slider {
|
|
4960
|
+
flex: 1 1 auto;
|
|
4961
|
+
max-width: 240px;
|
|
4962
|
+
}
|
|
4963
|
+
|
|
4964
|
+
@media (max-width: 480px) {
|
|
4965
|
+
.media-editor-toolbar .media-editor-toolbar__rotation-slider {
|
|
4966
|
+
display: none;
|
|
4967
|
+
}
|
|
4968
|
+
}
|
|
4751
4969
|
.editor-autocompleters__link {
|
|
4752
4970
|
white-space: nowrap;
|
|
4753
4971
|
gap: 8px;
|
|
@@ -4802,6 +5020,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4802
5020
|
}
|
|
4803
5021
|
|
|
4804
5022
|
.editor-collab-sidebar-panel {
|
|
5023
|
+
position: relative;
|
|
4805
5024
|
padding: 16px 16px 24px;
|
|
4806
5025
|
height: 100%;
|
|
4807
5026
|
overflow: hidden;
|
|
@@ -4830,6 +5049,8 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4830
5049
|
left: 16px;
|
|
4831
5050
|
position: absolute;
|
|
4832
5051
|
margin-top: 16px;
|
|
5052
|
+
transform: translateY(var(--canvas-scroll, 0));
|
|
5053
|
+
will-change: transform;
|
|
4833
5054
|
}
|
|
4834
5055
|
|
|
4835
5056
|
.editor-collab-sidebar-panel__user-name {
|
|
@@ -4849,7 +5070,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4849
5070
|
color: #757575;
|
|
4850
5071
|
}
|
|
4851
5072
|
|
|
4852
|
-
.editor-collab-sidebar-
|
|
5073
|
+
.editor-collab-sidebar-panel__note-content p:last-child {
|
|
4853
5074
|
margin-bottom: 0;
|
|
4854
5075
|
}
|
|
4855
5076
|
|
|
@@ -4862,10 +5083,10 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4862
5083
|
background: #fff;
|
|
4863
5084
|
}
|
|
4864
5085
|
|
|
4865
|
-
.editor-collab-sidebar-
|
|
5086
|
+
.editor-collab-sidebar-panel__note-actions {
|
|
4866
5087
|
margin-right: auto;
|
|
4867
5088
|
}
|
|
4868
|
-
.editor-collab-sidebar-
|
|
5089
|
+
.editor-collab-sidebar-panel__note-actions button.has-icon:not(.has-text) {
|
|
4869
5090
|
min-width: 24px;
|
|
4870
5091
|
padding: 0;
|
|
4871
5092
|
width: 24px;
|
|
@@ -4873,10 +5094,6 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4873
5094
|
flex-shrink: 0;
|
|
4874
5095
|
}
|
|
4875
5096
|
|
|
4876
|
-
.editor-collab-sidebar-panel__comment-dropdown-menu {
|
|
4877
|
-
flex-shrink: 0;
|
|
4878
|
-
}
|
|
4879
|
-
|
|
4880
5097
|
.editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after {
|
|
4881
5098
|
content: "";
|
|
4882
5099
|
display: block;
|
|
@@ -4890,11 +5107,16 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4890
5107
|
font-weight: 499;
|
|
4891
5108
|
}
|
|
4892
5109
|
|
|
5110
|
+
.editor-collab-sidebar-panel__deleted-block-notice {
|
|
5111
|
+
font-weight: 499;
|
|
5112
|
+
color: #757575;
|
|
5113
|
+
}
|
|
5114
|
+
|
|
4893
5115
|
.editor-collab-sidebar-panel__resolution-text {
|
|
4894
5116
|
font-style: italic;
|
|
4895
5117
|
}
|
|
4896
5118
|
|
|
4897
|
-
.editor-collab-sidebar-
|
|
5119
|
+
.editor-collab-sidebar-panel__note-form textarea {
|
|
4898
5120
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
4899
5121
|
padding: 6px 8px;
|
|
4900
5122
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
@@ -4906,32 +5128,32 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4906
5128
|
border: 1px solid #949494;
|
|
4907
5129
|
}
|
|
4908
5130
|
@media not (prefers-reduced-motion) {
|
|
4909
|
-
.editor-collab-sidebar-
|
|
5131
|
+
.editor-collab-sidebar-panel__note-form textarea {
|
|
4910
5132
|
transition: box-shadow 0.1s linear;
|
|
4911
5133
|
}
|
|
4912
5134
|
}
|
|
4913
5135
|
@media (min-width: 600px) {
|
|
4914
|
-
.editor-collab-sidebar-
|
|
5136
|
+
.editor-collab-sidebar-panel__note-form textarea {
|
|
4915
5137
|
font-size: 13px;
|
|
4916
5138
|
/* Override core line-height. To be reviewed. */
|
|
4917
5139
|
line-height: normal;
|
|
4918
5140
|
}
|
|
4919
5141
|
}
|
|
4920
|
-
.editor-collab-sidebar-
|
|
5142
|
+
.editor-collab-sidebar-panel__note-form textarea:focus {
|
|
4921
5143
|
border-color: var(--wp-admin-theme-color);
|
|
4922
5144
|
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
|
4923
5145
|
outline: 2px solid transparent;
|
|
4924
5146
|
}
|
|
4925
|
-
.editor-collab-sidebar-
|
|
5147
|
+
.editor-collab-sidebar-panel__note-form textarea::placeholder {
|
|
4926
5148
|
color: rgba(30, 30, 30, 0.62);
|
|
4927
5149
|
}
|
|
4928
|
-
.editor-collab-sidebar-
|
|
5150
|
+
.editor-collab-sidebar-panel__note-form textarea {
|
|
4929
5151
|
padding: 9px 11px;
|
|
4930
5152
|
line-height: 20px !important;
|
|
4931
5153
|
display: block;
|
|
4932
5154
|
}
|
|
4933
5155
|
|
|
4934
|
-
.editor-collab-sidebar-panel__skip-to-
|
|
5156
|
+
.editor-collab-sidebar-panel__skip-to-note,
|
|
4935
5157
|
.editor-collab-sidebar-panel__skip-to-block {
|
|
4936
5158
|
position: absolute;
|
|
4937
5159
|
top: -9999px;
|
|
@@ -4941,7 +5163,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4941
5163
|
background: #fff !important;
|
|
4942
5164
|
z-index: -1;
|
|
4943
5165
|
}
|
|
4944
|
-
.editor-collab-sidebar-panel__skip-to-
|
|
5166
|
+
.editor-collab-sidebar-panel__skip-to-note:focus,
|
|
4945
5167
|
.editor-collab-sidebar-panel__skip-to-block:focus {
|
|
4946
5168
|
overflow: visible;
|
|
4947
5169
|
clip-path: none;
|
|
@@ -4949,7 +5171,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4949
5171
|
left: 8px;
|
|
4950
5172
|
}
|
|
4951
5173
|
|
|
4952
|
-
.editor-collab-sidebar-panel__skip-to-
|
|
5174
|
+
.editor-collab-sidebar-panel__skip-to-note:focus {
|
|
4953
5175
|
top: 8px;
|
|
4954
5176
|
}
|
|
4955
5177
|
|
|
@@ -4958,7 +5180,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4958
5180
|
bottom: 8px;
|
|
4959
5181
|
}
|
|
4960
5182
|
|
|
4961
|
-
.
|
|
5183
|
+
.editor-note-indicator__avatar {
|
|
4962
5184
|
width: 24px;
|
|
4963
5185
|
border-radius: 50%;
|
|
4964
5186
|
margin-right: -12px;
|
|
@@ -4968,17 +5190,21 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
4968
5190
|
background: #fff;
|
|
4969
5191
|
box-sizing: border-box;
|
|
4970
5192
|
}
|
|
4971
|
-
.
|
|
5193
|
+
.editor-note-indicator__avatar:first-child {
|
|
4972
5194
|
margin-right: 0;
|
|
4973
5195
|
}
|
|
4974
5196
|
|
|
4975
|
-
.
|
|
5197
|
+
.editor-note-indicator__overflow {
|
|
5198
|
+
font-weight: 499;
|
|
5199
|
+
}
|
|
5200
|
+
|
|
5201
|
+
.show-icon-labels .editor-note-indicator {
|
|
4976
5202
|
width: auto;
|
|
4977
5203
|
}
|
|
4978
|
-
.show-icon-labels .
|
|
5204
|
+
.show-icon-labels .editor-note-indicator div {
|
|
4979
5205
|
display: none;
|
|
4980
5206
|
}
|
|
4981
|
-
.show-icon-labels .
|
|
5207
|
+
.show-icon-labels .editor-note-indicator::after {
|
|
4982
5208
|
content: attr(aria-label);
|
|
4983
5209
|
font-size: 12px;
|
|
4984
5210
|
}
|
|
@@ -5409,7 +5635,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
5409
5635
|
}
|
|
5410
5636
|
|
|
5411
5637
|
.document-outline__button {
|
|
5412
|
-
cursor: pointer;
|
|
5638
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
5413
5639
|
background: none;
|
|
5414
5640
|
border: none;
|
|
5415
5641
|
display: flex;
|
|
@@ -6728,7 +6954,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
6728
6954
|
min-height: 4px;
|
|
6729
6955
|
border: none;
|
|
6730
6956
|
padding: 0;
|
|
6731
|
-
cursor: pointer;
|
|
6957
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
6732
6958
|
transition: opacity 0.1s ease;
|
|
6733
6959
|
}
|
|
6734
6960
|
.revision-diff-markers .revision-diff-marker.is-added {
|
|
@@ -6954,7 +7180,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
6954
7180
|
}
|
|
6955
7181
|
}
|
|
6956
7182
|
.editor-template-actions-panel__preview[role=button] {
|
|
6957
|
-
cursor: pointer;
|
|
7183
|
+
cursor: var(--wpds-cursor-control, pointer);
|
|
6958
7184
|
}
|
|
6959
7185
|
.editor-template-actions-panel__preview[role=button]:hover .block-editor-block-preview__container::after {
|
|
6960
7186
|
outline-color: rgba(0, 0, 0, 0.3);
|