@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.
Files changed (363) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/components/collab-sidebar/{comment-menu-item.cjs → add-note-menu-item.cjs} +17 -14
  3. package/build/components/collab-sidebar/add-note-menu-item.cjs.map +7 -0
  4. package/build/components/collab-sidebar/add-note.cjs +100 -0
  5. package/build/components/collab-sidebar/add-note.cjs.map +7 -0
  6. package/build/components/collab-sidebar/board-store.cjs +106 -0
  7. package/build/components/collab-sidebar/board-store.cjs.map +7 -0
  8. package/build/components/collab-sidebar/floating-container.cjs +63 -0
  9. package/build/components/collab-sidebar/floating-container.cjs.map +7 -0
  10. package/build/components/collab-sidebar/hooks.cjs +105 -140
  11. package/build/components/collab-sidebar/hooks.cjs.map +3 -3
  12. package/build/components/collab-sidebar/index.cjs +28 -90
  13. package/build/components/collab-sidebar/index.cjs.map +3 -3
  14. package/build/components/collab-sidebar/{comment-author-info.cjs → note-byline.cjs} +13 -9
  15. package/build/components/collab-sidebar/note-byline.cjs.map +7 -0
  16. package/build/components/collab-sidebar/note-card.cjs +58 -0
  17. package/build/components/collab-sidebar/note-card.cjs.map +7 -0
  18. package/build/components/collab-sidebar/{comment-form.cjs → note-form.cjs} +46 -45
  19. package/build/components/collab-sidebar/note-form.cjs.map +7 -0
  20. package/build/components/collab-sidebar/{comment-indicator-toolbar.cjs → note-indicator-toolbar.cjs} +31 -27
  21. package/build/components/collab-sidebar/note-indicator-toolbar.cjs.map +7 -0
  22. package/build/components/collab-sidebar/note-thread.cjs +321 -0
  23. package/build/components/collab-sidebar/note-thread.cjs.map +7 -0
  24. package/build/components/collab-sidebar/note.cjs +207 -0
  25. package/build/components/collab-sidebar/note.cjs.map +7 -0
  26. package/build/components/collab-sidebar/notes.cjs +237 -0
  27. package/build/components/collab-sidebar/notes.cjs.map +7 -0
  28. package/build/components/collab-sidebar/utils.cjs +80 -14
  29. package/build/components/collab-sidebar/utils.cjs.map +2 -2
  30. package/build/components/collaborators-presence/avatar/component.cjs.map +1 -1
  31. package/build/components/collaborators-presence/index.cjs +3 -3
  32. package/build/components/collaborators-presence/index.cjs.map +2 -2
  33. package/build/components/collaborators-presence/list.cjs +3 -3
  34. package/build/components/collaborators-presence/list.cjs.map +2 -2
  35. package/build/components/document-bar/index.cjs.map +3 -3
  36. package/build/components/error-boundary/index.cjs.map +3 -3
  37. package/build/components/list-view-sidebar/list-view-outline.cjs.map +3 -3
  38. package/build/components/media/media-editor-modal.cjs +93 -0
  39. package/build/components/media/media-editor-modal.cjs.map +7 -0
  40. package/build/components/media-categories/index.cjs +1 -1
  41. package/build/components/media-categories/index.cjs.map +1 -1
  42. package/build/components/more-menu/index.cjs +4 -3
  43. package/build/components/more-menu/index.cjs.map +2 -2
  44. package/build/components/post-actions/set-as-homepage.cjs.map +3 -3
  45. package/build/components/post-actions/set-as-posts-page.cjs.map +3 -3
  46. package/build/components/post-card-panel/index.cjs +2 -2
  47. package/build/components/post-card-panel/index.cjs.map +3 -3
  48. package/build/components/post-content-information/index.cjs.map +3 -3
  49. package/build/components/post-excerpt/panel.cjs.map +3 -3
  50. package/build/components/post-last-edited-panel/index.cjs.map +3 -3
  51. package/build/components/post-preview-button/index.cjs +3 -2
  52. package/build/components/post-preview-button/index.cjs.map +2 -2
  53. package/build/components/post-publish-button/index.cjs +2 -2
  54. package/build/components/post-publish-button/index.cjs.map +2 -2
  55. package/build/components/post-publish-button/label.cjs +4 -2
  56. package/build/components/post-publish-button/label.cjs.map +2 -2
  57. package/build/components/post-publish-panel/maybe-upload-media.cjs +1 -1
  58. package/build/components/post-publish-panel/maybe-upload-media.cjs.map +1 -1
  59. package/build/components/post-publish-panel/postpublish.cjs +3 -2
  60. package/build/components/post-publish-panel/postpublish.cjs.map +2 -2
  61. package/build/components/post-revisions-panel/index.cjs +2 -2
  62. package/build/components/post-revisions-panel/index.cjs.map +2 -2
  63. package/build/components/post-revisions-preview/diff-markers.cjs +1 -1
  64. package/build/components/post-revisions-preview/diff-markers.cjs.map +2 -2
  65. package/build/components/post-revisions-preview/revisions-slider.cjs +1 -0
  66. package/build/components/post-revisions-preview/revisions-slider.cjs.map +2 -2
  67. package/build/components/post-saved-state/index.cjs +4 -1
  68. package/build/components/post-saved-state/index.cjs.map +2 -2
  69. package/build/components/post-text-editor/index.cjs +3 -4
  70. package/build/components/post-text-editor/index.cjs.map +2 -2
  71. package/build/components/preview-dropdown/index.cjs +3 -2
  72. package/build/components/preview-dropdown/index.cjs.map +2 -2
  73. package/build/components/provider/index.cjs +3 -1
  74. package/build/components/provider/index.cjs.map +3 -3
  75. package/build/components/provider/use-block-editor-settings.cjs +7 -1
  76. package/build/components/provider/use-block-editor-settings.cjs.map +3 -3
  77. package/build/components/provider/use-upload-save-lock.cjs +2 -12
  78. package/build/components/provider/use-upload-save-lock.cjs.map +2 -2
  79. package/build/components/resizable-editor/resize-handle.cjs +2 -1
  80. package/build/components/resizable-editor/resize-handle.cjs.map +2 -2
  81. package/build/components/revision-created-panel/index.cjs.map +3 -3
  82. package/build/components/site-discussion/index.cjs.map +2 -2
  83. package/build/components/style-book/constants.cjs +1 -1
  84. package/build/components/style-book/constants.cjs.map +1 -1
  85. package/build/components/style-book/index.cjs +1 -1
  86. package/build/components/style-book/index.cjs.map +1 -1
  87. package/build/components/template-actions-panel/classic-theme-content.cjs.map +2 -2
  88. package/build/components/template-part-menu-items/convert-to-regular.cjs +54 -11
  89. package/build/components/template-part-menu-items/convert-to-regular.cjs.map +3 -3
  90. package/build/components/visual-editor/index.cjs +5 -22
  91. package/build/components/visual-editor/index.cjs.map +2 -2
  92. package/build/store/private-actions.cjs +0 -8
  93. package/build/store/private-actions.cjs.map +2 -2
  94. package/build/store/private-selectors.cjs +0 -5
  95. package/build/store/private-selectors.cjs.map +2 -2
  96. package/build/store/reducer.cjs +0 -10
  97. package/build/store/reducer.cjs.map +2 -2
  98. package/build/utils/media-finalize/index.cjs +3 -2
  99. package/build/utils/media-finalize/index.cjs.map +2 -2
  100. package/build/utils/media-upload/index.cjs +14 -25
  101. package/build/utils/media-upload/index.cjs.map +2 -2
  102. package/build-module/components/collab-sidebar/{comment-menu-item.mjs → add-note-menu-item.mjs} +10 -11
  103. package/build-module/components/collab-sidebar/add-note-menu-item.mjs.map +7 -0
  104. package/build-module/components/collab-sidebar/add-note.mjs +78 -0
  105. package/build-module/components/collab-sidebar/add-note.mjs.map +7 -0
  106. package/build-module/components/collab-sidebar/board-store.mjs +81 -0
  107. package/build-module/components/collab-sidebar/board-store.mjs.map +7 -0
  108. package/build-module/components/collab-sidebar/floating-container.mjs +28 -0
  109. package/build-module/components/collab-sidebar/floating-container.mjs.map +7 -0
  110. package/build-module/components/collab-sidebar/hooks.mjs +105 -144
  111. package/build-module/components/collab-sidebar/hooks.mjs.map +2 -2
  112. package/build-module/components/collab-sidebar/index.mjs +29 -95
  113. package/build-module/components/collab-sidebar/index.mjs.map +2 -2
  114. package/build-module/components/collab-sidebar/{comment-author-info.mjs → note-byline.mjs} +7 -7
  115. package/build-module/components/collab-sidebar/note-byline.mjs.map +7 -0
  116. package/build-module/components/collab-sidebar/note-card.mjs +33 -0
  117. package/build-module/components/collab-sidebar/note-card.mjs.map +7 -0
  118. package/build-module/components/collab-sidebar/note-form.mjs +84 -0
  119. package/build-module/components/collab-sidebar/note-form.mjs.map +7 -0
  120. package/build-module/components/collab-sidebar/{comment-indicator-toolbar.mjs → note-indicator-toolbar.mjs} +25 -29
  121. package/build-module/components/collab-sidebar/note-indicator-toolbar.mjs.map +7 -0
  122. package/build-module/components/collab-sidebar/note-thread.mjs +289 -0
  123. package/build-module/components/collab-sidebar/note-thread.mjs.map +7 -0
  124. package/build-module/components/collab-sidebar/note.mjs +176 -0
  125. package/build-module/components/collab-sidebar/note.mjs.map +7 -0
  126. package/build-module/components/collab-sidebar/notes.mjs +215 -0
  127. package/build-module/components/collab-sidebar/notes.mjs.map +7 -0
  128. package/build-module/components/collab-sidebar/utils.mjs +76 -10
  129. package/build-module/components/collab-sidebar/utils.mjs.map +2 -2
  130. package/build-module/components/collaborators-presence/avatar/component.mjs.map +1 -1
  131. package/build-module/components/collaborators-presence/index.mjs +3 -3
  132. package/build-module/components/collaborators-presence/index.mjs.map +2 -2
  133. package/build-module/components/collaborators-presence/list.mjs +3 -3
  134. package/build-module/components/collaborators-presence/list.mjs.map +2 -2
  135. package/build-module/components/document-bar/index.mjs +3 -3
  136. package/build-module/components/document-bar/index.mjs.map +2 -2
  137. package/build-module/components/error-boundary/index.mjs +2 -2
  138. package/build-module/components/error-boundary/index.mjs.map +2 -2
  139. package/build-module/components/list-view-sidebar/list-view-outline.mjs +5 -5
  140. package/build-module/components/list-view-sidebar/list-view-outline.mjs.map +2 -2
  141. package/build-module/components/media/media-editor-modal.mjs +62 -0
  142. package/build-module/components/media/media-editor-modal.mjs.map +7 -0
  143. package/build-module/components/media-categories/index.mjs +1 -1
  144. package/build-module/components/media-categories/index.mjs.map +1 -1
  145. package/build-module/components/more-menu/index.mjs +4 -8
  146. package/build-module/components/more-menu/index.mjs.map +2 -2
  147. package/build-module/components/post-actions/set-as-homepage.mjs +2 -2
  148. package/build-module/components/post-actions/set-as-homepage.mjs.map +2 -2
  149. package/build-module/components/post-actions/set-as-posts-page.mjs +2 -2
  150. package/build-module/components/post-actions/set-as-posts-page.mjs.map +2 -2
  151. package/build-module/components/post-card-panel/index.mjs +5 -5
  152. package/build-module/components/post-card-panel/index.mjs.map +2 -2
  153. package/build-module/components/post-content-information/index.mjs +2 -2
  154. package/build-module/components/post-content-information/index.mjs.map +2 -2
  155. package/build-module/components/post-excerpt/panel.mjs +2 -2
  156. package/build-module/components/post-excerpt/panel.mjs.map +2 -2
  157. package/build-module/components/post-last-edited-panel/index.mjs +2 -2
  158. package/build-module/components/post-last-edited-panel/index.mjs.map +2 -2
  159. package/build-module/components/post-preview-button/index.mjs +3 -2
  160. package/build-module/components/post-preview-button/index.mjs.map +2 -2
  161. package/build-module/components/post-publish-button/index.mjs +2 -2
  162. package/build-module/components/post-publish-button/index.mjs.map +2 -2
  163. package/build-module/components/post-publish-button/label.mjs +4 -2
  164. package/build-module/components/post-publish-button/label.mjs.map +2 -2
  165. package/build-module/components/post-publish-panel/maybe-upload-media.mjs +1 -1
  166. package/build-module/components/post-publish-panel/maybe-upload-media.mjs.map +1 -1
  167. package/build-module/components/post-publish-panel/postpublish.mjs +3 -3
  168. package/build-module/components/post-publish-panel/postpublish.mjs.map +2 -2
  169. package/build-module/components/post-revisions-panel/index.mjs +2 -2
  170. package/build-module/components/post-revisions-panel/index.mjs.map +2 -2
  171. package/build-module/components/post-revisions-preview/diff-markers.mjs +1 -1
  172. package/build-module/components/post-revisions-preview/diff-markers.mjs.map +2 -2
  173. package/build-module/components/post-revisions-preview/revisions-slider.mjs +1 -0
  174. package/build-module/components/post-revisions-preview/revisions-slider.mjs.map +2 -2
  175. package/build-module/components/post-saved-state/index.mjs +4 -1
  176. package/build-module/components/post-saved-state/index.mjs.map +2 -2
  177. package/build-module/components/post-text-editor/index.mjs +2 -3
  178. package/build-module/components/post-text-editor/index.mjs.map +2 -2
  179. package/build-module/components/preview-dropdown/index.mjs +2 -2
  180. package/build-module/components/preview-dropdown/index.mjs.map +2 -2
  181. package/build-module/components/provider/index.mjs +3 -1
  182. package/build-module/components/provider/index.mjs.map +2 -2
  183. package/build-module/components/provider/use-block-editor-settings.mjs +7 -1
  184. package/build-module/components/provider/use-block-editor-settings.mjs.map +2 -2
  185. package/build-module/components/provider/use-upload-save-lock.mjs +2 -12
  186. package/build-module/components/provider/use-upload-save-lock.mjs.map +2 -2
  187. package/build-module/components/resizable-editor/resize-handle.mjs +2 -5
  188. package/build-module/components/resizable-editor/resize-handle.mjs.map +2 -2
  189. package/build-module/components/revision-created-panel/index.mjs +2 -2
  190. package/build-module/components/revision-created-panel/index.mjs.map +2 -2
  191. package/build-module/components/site-discussion/index.mjs +2 -2
  192. package/build-module/components/site-discussion/index.mjs.map +2 -2
  193. package/build-module/components/style-book/constants.mjs +1 -1
  194. package/build-module/components/style-book/constants.mjs.map +1 -1
  195. package/build-module/components/style-book/index.mjs +1 -1
  196. package/build-module/components/style-book/index.mjs.map +1 -1
  197. package/build-module/components/template-actions-panel/classic-theme-content.mjs +2 -2
  198. package/build-module/components/template-actions-panel/classic-theme-content.mjs.map +2 -2
  199. package/build-module/components/template-part-menu-items/convert-to-regular.mjs +60 -14
  200. package/build-module/components/template-part-menu-items/convert-to-regular.mjs.map +2 -2
  201. package/build-module/components/visual-editor/index.mjs +5 -22
  202. package/build-module/components/visual-editor/index.mjs.map +2 -2
  203. package/build-module/store/private-actions.mjs +0 -7
  204. package/build-module/store/private-actions.mjs.map +2 -2
  205. package/build-module/store/private-selectors.mjs +0 -4
  206. package/build-module/store/private-selectors.mjs.map +2 -2
  207. package/build-module/store/reducer.mjs +0 -9
  208. package/build-module/store/reducer.mjs.map +2 -2
  209. package/build-module/utils/media-finalize/index.mjs +3 -2
  210. package/build-module/utils/media-finalize/index.mjs.map +2 -2
  211. package/build-module/utils/media-upload/index.mjs +14 -25
  212. package/build-module/utils/media-upload/index.mjs.map +2 -2
  213. package/build-style/style-rtl.css +397 -171
  214. package/build-style/style.css +397 -171
  215. package/build-types/components/collab-sidebar/add-note-menu-item.d.ts +5 -0
  216. package/build-types/components/collab-sidebar/add-note-menu-item.d.ts.map +1 -0
  217. package/build-types/components/collab-sidebar/add-note.d.ts +6 -0
  218. package/build-types/components/collab-sidebar/add-note.d.ts.map +1 -0
  219. package/build-types/components/collab-sidebar/board-store.d.ts +9 -0
  220. package/build-types/components/collab-sidebar/board-store.d.ts.map +1 -0
  221. package/build-types/components/collab-sidebar/floating-container.d.ts +8 -0
  222. package/build-types/components/collab-sidebar/floating-container.d.ts.map +1 -0
  223. package/build-types/components/collab-sidebar/hooks.d.ts +13 -22
  224. package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
  225. package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
  226. package/build-types/components/collab-sidebar/note-byline.d.ts +7 -0
  227. package/build-types/components/collab-sidebar/note-byline.d.ts.map +1 -0
  228. package/build-types/components/collab-sidebar/note-card.d.ts +8 -0
  229. package/build-types/components/collab-sidebar/note-card.d.ts.map +1 -0
  230. package/build-types/components/collab-sidebar/note-form.d.ts +7 -0
  231. package/build-types/components/collab-sidebar/note-form.d.ts.map +1 -0
  232. package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts +5 -0
  233. package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts.map +1 -0
  234. package/build-types/components/collab-sidebar/note-thread.d.ts +11 -0
  235. package/build-types/components/collab-sidebar/note-thread.d.ts.map +1 -0
  236. package/build-types/components/collab-sidebar/note.d.ts +9 -0
  237. package/build-types/components/collab-sidebar/note.d.ts.map +1 -0
  238. package/build-types/components/collab-sidebar/notes.d.ts +7 -0
  239. package/build-types/components/collab-sidebar/notes.d.ts.map +1 -0
  240. package/build-types/components/collab-sidebar/utils.d.ts +41 -17
  241. package/build-types/components/collab-sidebar/utils.d.ts.map +1 -1
  242. package/build-types/components/media/media-editor-modal.d.ts +11 -0
  243. package/build-types/components/media/media-editor-modal.d.ts.map +1 -0
  244. package/build-types/components/more-menu/index.d.ts.map +1 -1
  245. package/build-types/components/post-preview-button/index.d.ts.map +1 -1
  246. package/build-types/components/post-publish-button/index.d.ts.map +1 -1
  247. package/build-types/components/post-publish-button/label.d.ts.map +1 -1
  248. package/build-types/components/post-revisions-preview/revisions-slider.d.ts.map +1 -1
  249. package/build-types/components/post-saved-state/index.d.ts.map +1 -1
  250. package/build-types/components/provider/index.d.ts.map +1 -1
  251. package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
  252. package/build-types/components/provider/use-upload-save-lock.d.ts +0 -2
  253. package/build-types/components/provider/use-upload-save-lock.d.ts.map +1 -1
  254. package/build-types/components/resizable-editor/resize-handle.d.ts.map +1 -1
  255. package/build-types/components/style-book/constants.d.ts +1 -1
  256. package/build-types/components/style-book/constants.d.ts.map +1 -1
  257. package/build-types/components/template-part-menu-items/convert-to-regular.d.ts.map +1 -1
  258. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  259. package/build-types/store/private-actions.d.ts +0 -7
  260. package/build-types/store/private-actions.d.ts.map +1 -1
  261. package/build-types/store/private-selectors.d.ts +0 -7
  262. package/build-types/store/private-selectors.d.ts.map +1 -1
  263. package/build-types/store/reducer.d.ts +0 -10
  264. package/build-types/store/reducer.d.ts.map +1 -1
  265. package/build-types/utils/media-finalize/index.d.ts +1 -1
  266. package/build-types/utils/media-finalize/index.d.ts.map +1 -1
  267. package/build-types/utils/media-upload/index.d.ts.map +1 -1
  268. package/package.json +46 -46
  269. package/src/components/collab-sidebar/README.md +117 -0
  270. package/src/components/collab-sidebar/{comment-menu-item.js → add-note-menu-item.js} +8 -10
  271. package/src/components/collab-sidebar/{add-comment.js → add-note.js} +26 -49
  272. package/src/components/collab-sidebar/board-store.js +85 -0
  273. package/src/components/collab-sidebar/floating-container.js +30 -0
  274. package/src/components/collab-sidebar/hooks.js +130 -178
  275. package/src/components/collab-sidebar/index.js +35 -106
  276. package/src/components/collab-sidebar/{comment-author-info.js → note-byline.js} +5 -6
  277. package/src/components/collab-sidebar/note-card.js +36 -0
  278. package/src/components/collab-sidebar/{comment-form.js → note-form.js} +29 -40
  279. package/src/components/collab-sidebar/{comment-indicator-toolbar.js → note-indicator-toolbar.js} +29 -32
  280. package/src/components/collab-sidebar/note-thread.js +331 -0
  281. package/src/components/collab-sidebar/note.js +209 -0
  282. package/src/components/collab-sidebar/notes.js +276 -0
  283. package/src/components/collab-sidebar/style.scss +21 -11
  284. package/src/components/collab-sidebar/test/utils.js +155 -0
  285. package/src/components/collab-sidebar/utils.js +125 -19
  286. package/src/components/collaborators-presence/avatar/component.tsx +1 -1
  287. package/src/components/collaborators-presence/styles/collaborators-list.scss +1 -1
  288. package/src/components/collaborators-presence/styles/collaborators-presence.scss +1 -1
  289. package/src/components/document-bar/index.js +4 -4
  290. package/src/components/document-outline/style.scss +1 -1
  291. package/src/components/error-boundary/index.js +3 -3
  292. package/src/components/list-view-sidebar/list-view-outline.js +6 -6
  293. package/src/components/media/media-editor-modal.js +95 -0
  294. package/src/components/media-categories/index.js +1 -1
  295. package/src/components/more-menu/index.js +4 -8
  296. package/src/components/post-actions/set-as-homepage.js +2 -2
  297. package/src/components/post-actions/set-as-posts-page.js +2 -2
  298. package/src/components/post-card-panel/index.js +7 -7
  299. package/src/components/post-content-information/index.js +3 -3
  300. package/src/components/post-excerpt/panel.js +3 -3
  301. package/src/components/post-last-edited-panel/index.js +3 -3
  302. package/src/components/post-preview-button/index.js +3 -2
  303. package/src/components/post-publish-button/index.js +6 -5
  304. package/src/components/post-publish-button/label.js +3 -1
  305. package/src/components/post-publish-panel/maybe-upload-media.js +1 -1
  306. package/src/components/post-publish-panel/postpublish.js +2 -2
  307. package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +10 -16
  308. package/src/components/post-revisions-panel/index.js +3 -3
  309. package/src/components/post-revisions-preview/diff-markers.js +1 -1
  310. package/src/components/post-revisions-preview/revisions-slider.js +1 -0
  311. package/src/components/post-revisions-preview/style.scss +1 -1
  312. package/src/components/post-saved-state/index.js +4 -1
  313. package/src/components/post-saved-state/test/__snapshots__/index.js.snap +0 -1
  314. package/src/components/post-text-editor/index.js +3 -3
  315. package/src/components/preview-dropdown/index.js +2 -2
  316. package/src/components/provider/index.js +4 -0
  317. package/src/components/provider/use-block-editor-settings.js +10 -0
  318. package/src/components/provider/use-upload-save-lock.js +2 -17
  319. package/src/components/resizable-editor/resize-handle.js +2 -5
  320. package/src/components/revision-created-panel/index.js +3 -3
  321. package/src/components/site-discussion/index.js +3 -3
  322. package/src/components/style-book/constants.ts +1 -1
  323. package/src/components/style-book/index.js +1 -1
  324. package/src/components/template-actions-panel/classic-theme-content.js +3 -3
  325. package/src/components/template-actions-panel/style.scss +1 -1
  326. package/src/components/template-part-menu-items/convert-to-regular.js +74 -12
  327. package/src/components/visual-editor/index.js +2 -29
  328. package/src/store/private-actions.js +0 -13
  329. package/src/store/private-selectors.js +0 -10
  330. package/src/store/reducer.js +0 -16
  331. package/src/utils/media-finalize/index.js +2 -1
  332. package/src/utils/media-finalize/test/index.js +25 -1
  333. package/src/utils/media-upload/index.js +26 -29
  334. package/build/components/collab-sidebar/add-comment.cjs +0 -129
  335. package/build/components/collab-sidebar/add-comment.cjs.map +0 -7
  336. package/build/components/collab-sidebar/comment-author-info.cjs.map +0 -7
  337. package/build/components/collab-sidebar/comment-form.cjs.map +0 -7
  338. package/build/components/collab-sidebar/comment-indicator-toolbar.cjs.map +0 -7
  339. package/build/components/collab-sidebar/comment-menu-item.cjs.map +0 -7
  340. package/build/components/collab-sidebar/comments.cjs +0 -816
  341. package/build/components/collab-sidebar/comments.cjs.map +0 -7
  342. package/build-module/components/collab-sidebar/add-comment.mjs +0 -100
  343. package/build-module/components/collab-sidebar/add-comment.mjs.map +0 -7
  344. package/build-module/components/collab-sidebar/comment-author-info.mjs.map +0 -7
  345. package/build-module/components/collab-sidebar/comment-form.mjs +0 -90
  346. package/build-module/components/collab-sidebar/comment-form.mjs.map +0 -7
  347. package/build-module/components/collab-sidebar/comment-indicator-toolbar.mjs.map +0 -7
  348. package/build-module/components/collab-sidebar/comment-menu-item.mjs.map +0 -7
  349. package/build-module/components/collab-sidebar/comments.mjs +0 -799
  350. package/build-module/components/collab-sidebar/comments.mjs.map +0 -7
  351. package/build-types/components/collab-sidebar/add-comment.d.ts +0 -10
  352. package/build-types/components/collab-sidebar/add-comment.d.ts.map +0 -1
  353. package/build-types/components/collab-sidebar/comment-author-info.d.ts +0 -8
  354. package/build-types/components/collab-sidebar/comment-author-info.d.ts.map +0 -1
  355. package/build-types/components/collab-sidebar/comment-form.d.ts +0 -11
  356. package/build-types/components/collab-sidebar/comment-form.d.ts.map +0 -1
  357. package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts +0 -6
  358. package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts.map +0 -1
  359. package/build-types/components/collab-sidebar/comment-menu-item.d.ts +0 -6
  360. package/build-types/components/collab-sidebar/comment-menu-item.d.ts.map +0 -1
  361. package/build-types/components/collab-sidebar/comments.d.ts +0 -12
  362. package/build-types/components/collab-sidebar/comments.d.ts.map +0 -1
  363. 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;
@@ -4188,7 +4049,7 @@ div.dataviews-view-list {
4188
4049
  }
4189
4050
 
4190
4051
  input[type=radio]:not(:checked) ~ .fields-create-template-part-modal__area-radio-label::before {
4191
- cursor: pointer;
4052
+ cursor: var(--wpds-cursor-control, pointer);
4192
4053
  }
4193
4054
 
4194
4055
  input[type=radio]:focus-visible ~ .fields-create-template-part-modal__area-radio-label::before {
@@ -4316,7 +4177,7 @@ fieldset.fields__media-edit .fields__media-edit-picker-button {
4316
4177
  border-radius: 2px;
4317
4178
  padding: 4px 8px;
4318
4179
  min-height: 40px;
4319
- cursor: pointer;
4180
+ cursor: var(--wpds-cursor-control, pointer);
4320
4181
  min-width: 0;
4321
4182
  }
4322
4183
 
@@ -4751,6 +4612,363 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4751
4612
  margin-top: 8px;
4752
4613
  }
4753
4614
 
4615
+ .wp-media-editor-image-editor {
4616
+ position: relative;
4617
+ overflow: hidden;
4618
+ width: 100%;
4619
+ height: 100%;
4620
+ touch-action: none;
4621
+ -webkit-user-select: none;
4622
+ user-select: none;
4623
+ cursor: grab;
4624
+ }
4625
+
4626
+ .wp-media-editor-image-editor__canvas {
4627
+ position: absolute;
4628
+ inset: 22px;
4629
+ }
4630
+
4631
+ .wp-media-editor-image-editor--dragging {
4632
+ cursor: grabbing;
4633
+ }
4634
+
4635
+ .wp-media-editor-image-editor__image {
4636
+ position: absolute;
4637
+ top: 0;
4638
+ left: 0;
4639
+ will-change: transform;
4640
+ transform-origin: center center;
4641
+ }
4642
+
4643
+ .wp-media-editor-image-editor__stencil {
4644
+ position: absolute;
4645
+ pointer-events: none;
4646
+ }
4647
+
4648
+ .wp-media-editor-image-editor__dimming {
4649
+ position: absolute;
4650
+ pointer-events: none;
4651
+ /* Large shadow spread dims everything outside the crop area.
4652
+ Darker at rest for clear crop framing, lighter during drag
4653
+ so the user can see where they're panning. */
4654
+ box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
4655
+ transition: box-shadow 0.15s ease;
4656
+ }
4657
+
4658
+ .wp-media-editor-image-editor--dragging .wp-media-editor-image-editor__dimming {
4659
+ box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
4660
+ }
4661
+
4662
+ .wp-media-editor-image-editor__grid {
4663
+ position: absolute;
4664
+ pointer-events: none;
4665
+ overflow: hidden;
4666
+ transition: opacity 0.15s ease;
4667
+ }
4668
+
4669
+ .wp-media-editor-image-editor__canvas--grid-interactive .wp-media-editor-image-editor__grid {
4670
+ opacity: 0;
4671
+ transition-delay: 0.1s;
4672
+ }
4673
+
4674
+ .wp-media-editor-image-editor__canvas--show-grid .wp-media-editor-image-editor__grid {
4675
+ opacity: 1;
4676
+ transition-delay: 0s;
4677
+ }
4678
+
4679
+ .wp-media-editor-image-editor__grid-line {
4680
+ position: absolute;
4681
+ background: rgba(255, 255, 255, 0.4);
4682
+ }
4683
+
4684
+ .wp-media-editor-image-editor__grid-line--horizontal {
4685
+ left: 0;
4686
+ width: 100%;
4687
+ height: 1px;
4688
+ }
4689
+
4690
+ .wp-media-editor-image-editor__grid-line--vertical {
4691
+ top: 0;
4692
+ height: 100%;
4693
+ width: 1px;
4694
+ }
4695
+
4696
+ .wp-media-editor-image-editor__stencil-rect {
4697
+ position: absolute;
4698
+ border: 1px solid rgba(255, 255, 255, 0.7);
4699
+ box-sizing: border-box;
4700
+ pointer-events: none;
4701
+ }
4702
+
4703
+ .wp-media-editor-image-editor__handle {
4704
+ appearance: none;
4705
+ margin: 0;
4706
+ padding: 0;
4707
+ font: inherit;
4708
+ cursor: default;
4709
+ position: absolute;
4710
+ width: 12px;
4711
+ height: 12px;
4712
+ background: rgba(255, 255, 255, 0.6);
4713
+ border: 1px solid rgba(255, 255, 255, 0.9);
4714
+ border-radius: 50%;
4715
+ box-sizing: border-box;
4716
+ pointer-events: auto;
4717
+ transition: background-color 0.15s ease, box-shadow 0.15s ease;
4718
+ }
4719
+
4720
+ .wp-media-editor-image-editor__handle:focus {
4721
+ outline: none;
4722
+ }
4723
+
4724
+ .wp-media-editor-image-editor__handle:focus-visible {
4725
+ background: var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4726
+ border-color: transparent;
4727
+ box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-image-editor-focus-color, var(--wp-admin-theme-color, #007cba));
4728
+ }
4729
+
4730
+ .wp-media-editor-image-editor__handle::before {
4731
+ content: "";
4732
+ position: absolute;
4733
+ top: 50%;
4734
+ left: 50%;
4735
+ width: 44px;
4736
+ height: 44px;
4737
+ transform: translate(-50%, -50%);
4738
+ }
4739
+
4740
+ .wp-media-editor-image-editor__handle {
4741
+ /* Offset by half the handle width (12px / 2 = 6px) to center on crop edge */
4742
+ }
4743
+
4744
+ .wp-media-editor-image-editor__handle--n {
4745
+ top: -6px;
4746
+ left: 50%;
4747
+ margin-left: -6px;
4748
+ cursor: ns-resize;
4749
+ }
4750
+
4751
+ .wp-media-editor-image-editor__handle--s {
4752
+ bottom: -6px;
4753
+ left: 50%;
4754
+ margin-left: -6px;
4755
+ cursor: ns-resize;
4756
+ }
4757
+
4758
+ .wp-media-editor-image-editor__handle--e {
4759
+ top: 50%;
4760
+ right: -6px;
4761
+ margin-top: -6px;
4762
+ cursor: ew-resize;
4763
+ }
4764
+
4765
+ .wp-media-editor-image-editor__handle--w {
4766
+ top: 50%;
4767
+ left: -6px;
4768
+ margin-top: -6px;
4769
+ cursor: ew-resize;
4770
+ }
4771
+
4772
+ .wp-media-editor-image-editor__handle--nw {
4773
+ top: -6px;
4774
+ left: -6px;
4775
+ cursor: nwse-resize;
4776
+ }
4777
+
4778
+ .wp-media-editor-image-editor__handle--ne {
4779
+ top: -6px;
4780
+ right: -6px;
4781
+ cursor: nesw-resize;
4782
+ }
4783
+
4784
+ .wp-media-editor-image-editor__handle--sw {
4785
+ bottom: -6px;
4786
+ left: -6px;
4787
+ cursor: nesw-resize;
4788
+ }
4789
+
4790
+ .wp-media-editor-image-editor__handle--se {
4791
+ bottom: -6px;
4792
+ right: -6px;
4793
+ cursor: nwse-resize;
4794
+ }
4795
+
4796
+ /**
4797
+ * Typography
4798
+ */
4799
+ /**
4800
+ * Breakpoints & Media Queries
4801
+ */
4802
+ /**
4803
+ * Converts a hex value into the rgb equivalent.
4804
+ *
4805
+ * @param {string} hex - the hexadecimal value to convert
4806
+ * @return {string} comma separated rgb values
4807
+ */
4808
+ /**
4809
+ * Long content fade mixin
4810
+ *
4811
+ * Creates a fading overlay to signify that the content is longer
4812
+ * than the space allows.
4813
+ */
4814
+ /**
4815
+ * Breakpoint mixins
4816
+ */
4817
+ /**
4818
+ * Focus styles.
4819
+ */
4820
+ /**
4821
+ * Applies editor left position to the selector passed as argument
4822
+ */
4823
+ /**
4824
+ * Styles that are reused verbatim in a few places
4825
+ */
4826
+ /**
4827
+ * Allows users to opt-out of animations via OS-level preferences.
4828
+ */
4829
+ /**
4830
+ * Reset default styles for JavaScript UI based pages.
4831
+ * This is a WP-admin agnostic reset
4832
+ */
4833
+ /**
4834
+ * Reset the WP Admin page styles for Gutenberg-like pages.
4835
+ */
4836
+ /**
4837
+ * Creates a checkerboard pattern background to indicate transparency.
4838
+ * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
4839
+ */
4840
+ .media-editor-modal.components-modal__frame .components-modal__content {
4841
+ padding: 0;
4842
+ margin-bottom: 0;
4843
+ }
4844
+
4845
+ .media-editor-modal {
4846
+ display: flex;
4847
+ flex-direction: column;
4848
+ }
4849
+
4850
+ .media-editor-modal .media-editor-modal__loading {
4851
+ height: 100%;
4852
+ display: flex;
4853
+ align-items: center;
4854
+ justify-content: center;
4855
+ }
4856
+
4857
+ .media-editor-modal .interface-interface-skeleton {
4858
+ position: relative;
4859
+ top: auto;
4860
+ right: auto;
4861
+ bottom: auto;
4862
+ left: auto;
4863
+ height: 100%;
4864
+ max-height: none;
4865
+ flex: 1;
4866
+ flex-direction: column;
4867
+ }
4868
+
4869
+ .media-editor-modal .interface-interface-skeleton__editor {
4870
+ min-width: 0;
4871
+ flex: 1;
4872
+ }
4873
+
4874
+ .media-editor-modal .interface-interface-skeleton__footer {
4875
+ position: relative;
4876
+ display: flex;
4877
+ }
4878
+
4879
+ .media-editor-modal .interface-interface-skeleton.has-footer .interface-interface-skeleton__body {
4880
+ padding-bottom: 0;
4881
+ }
4882
+
4883
+ .media-editor-modal .media-editor-modal__canvas {
4884
+ display: flex;
4885
+ align-items: center;
4886
+ justify-content: center;
4887
+ background: #f0f0f0;
4888
+ overflow: auto;
4889
+ height: 100%;
4890
+ }
4891
+
4892
+ .media-editor-modal .media-editor-modal__canvas .media-editor-preview {
4893
+ height: 100%;
4894
+ }
4895
+
4896
+ .media-editor-modal .media-editor-modal__canvas img,
4897
+ .media-editor-modal .media-editor-modal__canvas video {
4898
+ max-width: 100%;
4899
+ max-height: 100%;
4900
+ object-fit: contain;
4901
+ }
4902
+
4903
+ .media-editor-modal .media-editor-modal__sidebar {
4904
+ box-sizing: border-box;
4905
+ }
4906
+
4907
+ .media-editor-modal .media-editor-modal__sidebar *,
4908
+ .media-editor-modal .media-editor-modal__sidebar *::before,
4909
+ .media-editor-modal .media-editor-modal__sidebar *::after {
4910
+ box-sizing: inherit;
4911
+ }
4912
+
4913
+ .media-editor-modal .media-editor-modal__panel {
4914
+ padding: 16px;
4915
+ }
4916
+
4917
+ .media-editor-modal .components-panel__header.media-editor-modal__sidebar-header {
4918
+ padding-left: 0;
4919
+ padding-right: 8px;
4920
+ }
4921
+
4922
+ .media-editor-modal .components-panel__header.media-editor-modal__sidebar-header .components-button.has-icon {
4923
+ padding: 0;
4924
+ }
4925
+
4926
+ @media (min-width: 782px) {
4927
+ .media-editor-modal .components-panel__header.media-editor-modal__sidebar-header .components-button.has-icon {
4928
+ display: flex;
4929
+ }
4930
+ }
4931
+ .media-editor-modal__snackbar {
4932
+ position: fixed;
4933
+ bottom: 24px;
4934
+ left: 0;
4935
+ right: 0;
4936
+ padding-inline: 16px;
4937
+ box-sizing: border-box;
4938
+ display: flex;
4939
+ flex-direction: column;
4940
+ pointer-events: none;
4941
+ }
4942
+
4943
+ .media-editor-modal__snackbar .components-snackbar {
4944
+ margin-inline: auto;
4945
+ }
4946
+
4947
+ .media-editor-modal__snackbar {
4948
+ z-index: 1000001;
4949
+ }
4950
+
4951
+ .media-editor-canvas {
4952
+ position: relative;
4953
+ width: 100%;
4954
+ height: 100%;
4955
+ }
4956
+
4957
+ .media-editor-toolbar {
4958
+ width: 100%;
4959
+ padding: 8px 16px;
4960
+ }
4961
+
4962
+ .media-editor-toolbar .media-editor-toolbar__rotation-slider {
4963
+ flex: 1 1 auto;
4964
+ max-width: 240px;
4965
+ }
4966
+
4967
+ @media (max-width: 480px) {
4968
+ .media-editor-toolbar .media-editor-toolbar__rotation-slider {
4969
+ display: none;
4970
+ }
4971
+ }
4754
4972
  .editor-autocompleters__link {
4755
4973
  white-space: nowrap;
4756
4974
  gap: 8px;
@@ -4805,6 +5023,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4805
5023
  }
4806
5024
 
4807
5025
  .editor-collab-sidebar-panel {
5026
+ position: relative;
4808
5027
  padding: 16px 16px 24px;
4809
5028
  height: 100%;
4810
5029
  overflow: hidden;
@@ -4833,6 +5052,8 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4833
5052
  right: 16px;
4834
5053
  position: absolute;
4835
5054
  margin-top: 16px;
5055
+ transform: translateY(var(--canvas-scroll, 0));
5056
+ will-change: transform;
4836
5057
  }
4837
5058
 
4838
5059
  .editor-collab-sidebar-panel__user-name {
@@ -4852,7 +5073,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4852
5073
  color: #757575;
4853
5074
  }
4854
5075
 
4855
- .editor-collab-sidebar-panel__user-comment p:last-child {
5076
+ .editor-collab-sidebar-panel__note-content p:last-child {
4856
5077
  margin-bottom: 0;
4857
5078
  }
4858
5079
 
@@ -4865,10 +5086,10 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4865
5086
  background: #fff;
4866
5087
  }
4867
5088
 
4868
- .editor-collab-sidebar-panel__comment-status {
5089
+ .editor-collab-sidebar-panel__note-actions {
4869
5090
  margin-left: auto;
4870
5091
  }
4871
- .editor-collab-sidebar-panel__comment-status button.has-icon:not(.has-text) {
5092
+ .editor-collab-sidebar-panel__note-actions button.has-icon:not(.has-text) {
4872
5093
  min-width: 24px;
4873
5094
  padding: 0;
4874
5095
  width: 24px;
@@ -4876,10 +5097,6 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4876
5097
  flex-shrink: 0;
4877
5098
  }
4878
5099
 
4879
- .editor-collab-sidebar-panel__comment-dropdown-menu {
4880
- flex-shrink: 0;
4881
- }
4882
-
4883
5100
  .editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after {
4884
5101
  content: "";
4885
5102
  display: block;
@@ -4893,11 +5110,16 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4893
5110
  font-weight: 499;
4894
5111
  }
4895
5112
 
5113
+ .editor-collab-sidebar-panel__deleted-block-notice {
5114
+ font-weight: 499;
5115
+ color: #757575;
5116
+ }
5117
+
4896
5118
  .editor-collab-sidebar-panel__resolution-text {
4897
5119
  font-style: italic;
4898
5120
  }
4899
5121
 
4900
- .editor-collab-sidebar-panel__comment-form textarea {
5122
+ .editor-collab-sidebar-panel__note-form textarea {
4901
5123
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4902
5124
  padding: 6px 8px;
4903
5125
  /* Fonts smaller than 16px causes mobile safari to zoom. */
@@ -4909,32 +5131,32 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4909
5131
  border: 1px solid #949494;
4910
5132
  }
4911
5133
  @media not (prefers-reduced-motion) {
4912
- .editor-collab-sidebar-panel__comment-form textarea {
5134
+ .editor-collab-sidebar-panel__note-form textarea {
4913
5135
  transition: box-shadow 0.1s linear;
4914
5136
  }
4915
5137
  }
4916
5138
  @media (min-width: 600px) {
4917
- .editor-collab-sidebar-panel__comment-form textarea {
5139
+ .editor-collab-sidebar-panel__note-form textarea {
4918
5140
  font-size: 13px;
4919
5141
  /* Override core line-height. To be reviewed. */
4920
5142
  line-height: normal;
4921
5143
  }
4922
5144
  }
4923
- .editor-collab-sidebar-panel__comment-form textarea:focus {
5145
+ .editor-collab-sidebar-panel__note-form textarea:focus {
4924
5146
  border-color: var(--wp-admin-theme-color);
4925
5147
  box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
4926
5148
  outline: 2px solid transparent;
4927
5149
  }
4928
- .editor-collab-sidebar-panel__comment-form textarea::placeholder {
5150
+ .editor-collab-sidebar-panel__note-form textarea::placeholder {
4929
5151
  color: rgba(30, 30, 30, 0.62);
4930
5152
  }
4931
- .editor-collab-sidebar-panel__comment-form textarea {
5153
+ .editor-collab-sidebar-panel__note-form textarea {
4932
5154
  padding: 9px 11px;
4933
5155
  line-height: 20px !important;
4934
5156
  display: block;
4935
5157
  }
4936
5158
 
4937
- .editor-collab-sidebar-panel__skip-to-comment,
5159
+ .editor-collab-sidebar-panel__skip-to-note,
4938
5160
  .editor-collab-sidebar-panel__skip-to-block {
4939
5161
  position: absolute;
4940
5162
  top: -9999px;
@@ -4944,7 +5166,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4944
5166
  background: #fff !important;
4945
5167
  z-index: -1;
4946
5168
  }
4947
- .editor-collab-sidebar-panel__skip-to-comment:focus,
5169
+ .editor-collab-sidebar-panel__skip-to-note:focus,
4948
5170
  .editor-collab-sidebar-panel__skip-to-block:focus {
4949
5171
  overflow: visible;
4950
5172
  clip-path: none;
@@ -4952,7 +5174,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4952
5174
  right: 8px;
4953
5175
  }
4954
5176
 
4955
- .editor-collab-sidebar-panel__skip-to-comment:focus {
5177
+ .editor-collab-sidebar-panel__skip-to-note:focus {
4956
5178
  top: 8px;
4957
5179
  }
4958
5180
 
@@ -4961,7 +5183,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4961
5183
  bottom: 8px;
4962
5184
  }
4963
5185
 
4964
- .comment-avatar {
5186
+ .editor-note-indicator__avatar {
4965
5187
  width: 24px;
4966
5188
  border-radius: 50%;
4967
5189
  margin-left: -12px;
@@ -4971,17 +5193,21 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4971
5193
  background: #fff;
4972
5194
  box-sizing: border-box;
4973
5195
  }
4974
- .comment-avatar:first-child {
5196
+ .editor-note-indicator__avatar:first-child {
4975
5197
  margin-left: 0;
4976
5198
  }
4977
5199
 
4978
- .show-icon-labels .comment-avatar-indicator {
5200
+ .editor-note-indicator__overflow {
5201
+ font-weight: 499;
5202
+ }
5203
+
5204
+ .show-icon-labels .editor-note-indicator {
4979
5205
  width: auto;
4980
5206
  }
4981
- .show-icon-labels .comment-avatar-indicator div {
5207
+ .show-icon-labels .editor-note-indicator div {
4982
5208
  display: none;
4983
5209
  }
4984
- .show-icon-labels .comment-avatar-indicator::after {
5210
+ .show-icon-labels .editor-note-indicator::after {
4985
5211
  content: attr(aria-label);
4986
5212
  font-size: 12px;
4987
5213
  }
@@ -5412,7 +5638,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
5412
5638
  }
5413
5639
 
5414
5640
  .document-outline__button {
5415
- cursor: pointer;
5641
+ cursor: var(--wpds-cursor-control, pointer);
5416
5642
  background: none;
5417
5643
  border: none;
5418
5644
  display: flex;
@@ -6733,7 +6959,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
6733
6959
  min-height: 4px;
6734
6960
  border: none;
6735
6961
  padding: 0;
6736
- cursor: pointer;
6962
+ cursor: var(--wpds-cursor-control, pointer);
6737
6963
  transition: opacity 0.1s ease;
6738
6964
  }
6739
6965
  .revision-diff-markers .revision-diff-marker.is-added {
@@ -6959,7 +7185,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
6959
7185
  }
6960
7186
  }
6961
7187
  .editor-template-actions-panel__preview[role=button] {
6962
- cursor: pointer;
7188
+ cursor: var(--wpds-cursor-control, pointer);
6963
7189
  }
6964
7190
  .editor-template-actions-panel__preview[role=button]:hover .block-editor-block-preview__container::after {
6965
7191
  outline-color: rgba(0, 0, 0, 0.3);