@wordpress/editor 14.44.1-next.v.202604201441.0 → 14.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) 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-comment.cjs → add-note.cjs} +28 -41
  5. package/build/components/collab-sidebar/add-note.cjs.map +7 -0
  6. package/build/components/collab-sidebar/board-store.cjs +3 -0
  7. package/build/components/collab-sidebar/board-store.cjs.map +2 -2
  8. package/build/components/collab-sidebar/floating-container.cjs +4 -3
  9. package/build/components/collab-sidebar/floating-container.cjs.map +3 -3
  10. package/build/components/collab-sidebar/hooks.cjs +92 -135
  11. package/build/components/collab-sidebar/hooks.cjs.map +3 -3
  12. package/build/components/collab-sidebar/index.cjs +28 -79
  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} +45 -36
  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 +23 -25
  29. package/build/components/collab-sidebar/utils.cjs.map +2 -2
  30. package/build/components/document-bar/index.cjs.map +3 -3
  31. package/build/components/error-boundary/index.cjs.map +3 -3
  32. package/build/components/list-view-sidebar/list-view-outline.cjs.map +3 -3
  33. package/build/components/media/media-editor-modal.cjs +93 -0
  34. package/build/components/media/media-editor-modal.cjs.map +7 -0
  35. package/build/components/more-menu/index.cjs +3 -2
  36. package/build/components/more-menu/index.cjs.map +2 -2
  37. package/build/components/post-actions/set-as-homepage.cjs.map +3 -3
  38. package/build/components/post-actions/set-as-posts-page.cjs.map +3 -3
  39. package/build/components/post-card-panel/index.cjs +2 -2
  40. package/build/components/post-card-panel/index.cjs.map +3 -3
  41. package/build/components/post-content-information/index.cjs.map +3 -3
  42. package/build/components/post-excerpt/panel.cjs.map +3 -3
  43. package/build/components/post-last-edited-panel/index.cjs.map +3 -3
  44. package/build/components/post-preview-button/index.cjs +3 -2
  45. package/build/components/post-preview-button/index.cjs.map +2 -2
  46. package/build/components/post-publish-button/index.cjs +2 -2
  47. package/build/components/post-publish-button/index.cjs.map +2 -2
  48. package/build/components/post-publish-button/label.cjs +4 -2
  49. package/build/components/post-publish-button/label.cjs.map +2 -2
  50. package/build/components/post-publish-panel/postpublish.cjs +3 -2
  51. package/build/components/post-publish-panel/postpublish.cjs.map +2 -2
  52. package/build/components/post-revisions-panel/index.cjs +2 -2
  53. package/build/components/post-revisions-panel/index.cjs.map +2 -2
  54. package/build/components/post-revisions-preview/diff-markers.cjs +1 -1
  55. package/build/components/post-revisions-preview/diff-markers.cjs.map +2 -2
  56. package/build/components/post-revisions-preview/revisions-slider.cjs +1 -0
  57. package/build/components/post-revisions-preview/revisions-slider.cjs.map +2 -2
  58. package/build/components/post-saved-state/index.cjs +4 -1
  59. package/build/components/post-saved-state/index.cjs.map +2 -2
  60. package/build/components/post-text-editor/index.cjs +3 -4
  61. package/build/components/post-text-editor/index.cjs.map +2 -2
  62. package/build/components/preview-dropdown/index.cjs +3 -2
  63. package/build/components/preview-dropdown/index.cjs.map +2 -2
  64. package/build/components/provider/index.cjs +3 -1
  65. package/build/components/provider/index.cjs.map +3 -3
  66. package/build/components/provider/use-block-editor-settings.cjs +7 -1
  67. package/build/components/provider/use-block-editor-settings.cjs.map +3 -3
  68. package/build/components/provider/use-upload-save-lock.cjs +2 -12
  69. package/build/components/provider/use-upload-save-lock.cjs.map +2 -2
  70. package/build/components/resizable-editor/resize-handle.cjs +2 -1
  71. package/build/components/resizable-editor/resize-handle.cjs.map +2 -2
  72. package/build/components/revision-created-panel/index.cjs.map +3 -3
  73. package/build/components/site-discussion/index.cjs.map +2 -2
  74. package/build/components/template-actions-panel/classic-theme-content.cjs.map +2 -2
  75. package/build/components/template-part-menu-items/convert-to-regular.cjs +54 -11
  76. package/build/components/template-part-menu-items/convert-to-regular.cjs.map +3 -3
  77. package/build/components/visual-editor/index.cjs +5 -22
  78. package/build/components/visual-editor/index.cjs.map +2 -2
  79. package/build/store/private-actions.cjs +0 -8
  80. package/build/store/private-actions.cjs.map +2 -2
  81. package/build/store/private-selectors.cjs +0 -5
  82. package/build/store/private-selectors.cjs.map +2 -2
  83. package/build/store/reducer.cjs +0 -10
  84. package/build/store/reducer.cjs.map +2 -2
  85. package/build/utils/media-finalize/index.cjs +3 -2
  86. package/build/utils/media-finalize/index.cjs.map +2 -2
  87. package/build/utils/media-upload/index.cjs +14 -25
  88. package/build/utils/media-upload/index.cjs.map +2 -2
  89. package/build-module/components/collab-sidebar/{comment-menu-item.mjs → add-note-menu-item.mjs} +10 -11
  90. package/build-module/components/collab-sidebar/add-note-menu-item.mjs.map +7 -0
  91. package/build-module/components/collab-sidebar/{add-comment.mjs → add-note.mjs} +26 -29
  92. package/build-module/components/collab-sidebar/add-note.mjs.map +7 -0
  93. package/build-module/components/collab-sidebar/board-store.mjs +3 -0
  94. package/build-module/components/collab-sidebar/board-store.mjs.map +2 -2
  95. package/build-module/components/collab-sidebar/floating-container.mjs +4 -3
  96. package/build-module/components/collab-sidebar/floating-container.mjs.map +2 -2
  97. package/build-module/components/collab-sidebar/hooks.mjs +91 -137
  98. package/build-module/components/collab-sidebar/hooks.mjs.map +2 -2
  99. package/build-module/components/collab-sidebar/index.mjs +29 -84
  100. package/build-module/components/collab-sidebar/index.mjs.map +2 -2
  101. package/build-module/components/collab-sidebar/{comment-author-info.mjs → note-byline.mjs} +7 -7
  102. package/build-module/components/collab-sidebar/note-byline.mjs.map +7 -0
  103. package/build-module/components/collab-sidebar/note-card.mjs +33 -0
  104. package/build-module/components/collab-sidebar/note-card.mjs.map +7 -0
  105. package/build-module/components/collab-sidebar/note-form.mjs +84 -0
  106. package/build-module/components/collab-sidebar/note-form.mjs.map +7 -0
  107. package/build-module/components/collab-sidebar/{comment-indicator-toolbar.mjs → note-indicator-toolbar.mjs} +25 -29
  108. package/build-module/components/collab-sidebar/note-indicator-toolbar.mjs.map +7 -0
  109. package/build-module/components/collab-sidebar/note-thread.mjs +289 -0
  110. package/build-module/components/collab-sidebar/note-thread.mjs.map +7 -0
  111. package/build-module/components/collab-sidebar/note.mjs +176 -0
  112. package/build-module/components/collab-sidebar/note.mjs.map +7 -0
  113. package/build-module/components/collab-sidebar/notes.mjs +215 -0
  114. package/build-module/components/collab-sidebar/notes.mjs.map +7 -0
  115. package/build-module/components/collab-sidebar/utils.mjs +19 -21
  116. package/build-module/components/collab-sidebar/utils.mjs.map +2 -2
  117. package/build-module/components/document-bar/index.mjs +3 -3
  118. package/build-module/components/document-bar/index.mjs.map +2 -2
  119. package/build-module/components/error-boundary/index.mjs +2 -2
  120. package/build-module/components/error-boundary/index.mjs.map +2 -2
  121. package/build-module/components/list-view-sidebar/list-view-outline.mjs +5 -5
  122. package/build-module/components/list-view-sidebar/list-view-outline.mjs.map +2 -2
  123. package/build-module/components/media/media-editor-modal.mjs +62 -0
  124. package/build-module/components/media/media-editor-modal.mjs.map +7 -0
  125. package/build-module/components/more-menu/index.mjs +3 -7
  126. package/build-module/components/more-menu/index.mjs.map +2 -2
  127. package/build-module/components/post-actions/set-as-homepage.mjs +2 -2
  128. package/build-module/components/post-actions/set-as-homepage.mjs.map +2 -2
  129. package/build-module/components/post-actions/set-as-posts-page.mjs +2 -2
  130. package/build-module/components/post-actions/set-as-posts-page.mjs.map +2 -2
  131. package/build-module/components/post-card-panel/index.mjs +5 -5
  132. package/build-module/components/post-card-panel/index.mjs.map +2 -2
  133. package/build-module/components/post-content-information/index.mjs +2 -2
  134. package/build-module/components/post-content-information/index.mjs.map +2 -2
  135. package/build-module/components/post-excerpt/panel.mjs +2 -2
  136. package/build-module/components/post-excerpt/panel.mjs.map +2 -2
  137. package/build-module/components/post-last-edited-panel/index.mjs +2 -2
  138. package/build-module/components/post-last-edited-panel/index.mjs.map +2 -2
  139. package/build-module/components/post-preview-button/index.mjs +3 -2
  140. package/build-module/components/post-preview-button/index.mjs.map +2 -2
  141. package/build-module/components/post-publish-button/index.mjs +2 -2
  142. package/build-module/components/post-publish-button/index.mjs.map +2 -2
  143. package/build-module/components/post-publish-button/label.mjs +4 -2
  144. package/build-module/components/post-publish-button/label.mjs.map +2 -2
  145. package/build-module/components/post-publish-panel/postpublish.mjs +3 -3
  146. package/build-module/components/post-publish-panel/postpublish.mjs.map +2 -2
  147. package/build-module/components/post-revisions-panel/index.mjs +2 -2
  148. package/build-module/components/post-revisions-panel/index.mjs.map +2 -2
  149. package/build-module/components/post-revisions-preview/diff-markers.mjs +1 -1
  150. package/build-module/components/post-revisions-preview/diff-markers.mjs.map +2 -2
  151. package/build-module/components/post-revisions-preview/revisions-slider.mjs +1 -0
  152. package/build-module/components/post-revisions-preview/revisions-slider.mjs.map +2 -2
  153. package/build-module/components/post-saved-state/index.mjs +4 -1
  154. package/build-module/components/post-saved-state/index.mjs.map +2 -2
  155. package/build-module/components/post-text-editor/index.mjs +2 -3
  156. package/build-module/components/post-text-editor/index.mjs.map +2 -2
  157. package/build-module/components/preview-dropdown/index.mjs +2 -2
  158. package/build-module/components/preview-dropdown/index.mjs.map +2 -2
  159. package/build-module/components/provider/index.mjs +3 -1
  160. package/build-module/components/provider/index.mjs.map +2 -2
  161. package/build-module/components/provider/use-block-editor-settings.mjs +7 -1
  162. package/build-module/components/provider/use-block-editor-settings.mjs.map +2 -2
  163. package/build-module/components/provider/use-upload-save-lock.mjs +2 -12
  164. package/build-module/components/provider/use-upload-save-lock.mjs.map +2 -2
  165. package/build-module/components/resizable-editor/resize-handle.mjs +2 -5
  166. package/build-module/components/resizable-editor/resize-handle.mjs.map +2 -2
  167. package/build-module/components/revision-created-panel/index.mjs +2 -2
  168. package/build-module/components/revision-created-panel/index.mjs.map +2 -2
  169. package/build-module/components/site-discussion/index.mjs +2 -2
  170. package/build-module/components/site-discussion/index.mjs.map +2 -2
  171. package/build-module/components/template-actions-panel/classic-theme-content.mjs +2 -2
  172. package/build-module/components/template-actions-panel/classic-theme-content.mjs.map +2 -2
  173. package/build-module/components/template-part-menu-items/convert-to-regular.mjs +60 -14
  174. package/build-module/components/template-part-menu-items/convert-to-regular.mjs.map +2 -2
  175. package/build-module/components/visual-editor/index.mjs +5 -22
  176. package/build-module/components/visual-editor/index.mjs.map +2 -2
  177. package/build-module/store/private-actions.mjs +0 -7
  178. package/build-module/store/private-actions.mjs.map +2 -2
  179. package/build-module/store/private-selectors.mjs +0 -4
  180. package/build-module/store/private-selectors.mjs.map +2 -2
  181. package/build-module/store/reducer.mjs +0 -9
  182. package/build-module/store/reducer.mjs.map +2 -2
  183. package/build-module/utils/media-finalize/index.mjs +3 -2
  184. package/build-module/utils/media-finalize/index.mjs.map +2 -2
  185. package/build-module/utils/media-upload/index.mjs +14 -25
  186. package/build-module/utils/media-upload/index.mjs.map +2 -2
  187. package/build-style/style-rtl.css +386 -142
  188. package/build-style/style.css +386 -142
  189. package/build-types/components/collab-sidebar/add-note-menu-item.d.ts +5 -0
  190. package/build-types/components/collab-sidebar/add-note-menu-item.d.ts.map +1 -0
  191. package/build-types/components/collab-sidebar/add-note.d.ts +6 -0
  192. package/build-types/components/collab-sidebar/add-note.d.ts.map +1 -0
  193. package/build-types/components/collab-sidebar/board-store.d.ts +1 -0
  194. package/build-types/components/collab-sidebar/board-store.d.ts.map +1 -1
  195. package/build-types/components/collab-sidebar/floating-container.d.ts.map +1 -1
  196. package/build-types/components/collab-sidebar/hooks.d.ts +8 -21
  197. package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
  198. package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
  199. package/build-types/components/collab-sidebar/note-byline.d.ts +7 -0
  200. package/build-types/components/collab-sidebar/note-byline.d.ts.map +1 -0
  201. package/build-types/components/collab-sidebar/note-card.d.ts +8 -0
  202. package/build-types/components/collab-sidebar/note-card.d.ts.map +1 -0
  203. package/build-types/components/collab-sidebar/note-form.d.ts +7 -0
  204. package/build-types/components/collab-sidebar/note-form.d.ts.map +1 -0
  205. package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts +5 -0
  206. package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts.map +1 -0
  207. package/build-types/components/collab-sidebar/note-thread.d.ts +11 -0
  208. package/build-types/components/collab-sidebar/note-thread.d.ts.map +1 -0
  209. package/build-types/components/collab-sidebar/note.d.ts +9 -0
  210. package/build-types/components/collab-sidebar/note.d.ts.map +1 -0
  211. package/build-types/components/collab-sidebar/notes.d.ts +7 -0
  212. package/build-types/components/collab-sidebar/notes.d.ts.map +1 -0
  213. package/build-types/components/collab-sidebar/utils.d.ts +21 -20
  214. package/build-types/components/collab-sidebar/utils.d.ts.map +1 -1
  215. package/build-types/components/media/media-editor-modal.d.ts +11 -0
  216. package/build-types/components/media/media-editor-modal.d.ts.map +1 -0
  217. package/build-types/components/more-menu/index.d.ts.map +1 -1
  218. package/build-types/components/post-preview-button/index.d.ts.map +1 -1
  219. package/build-types/components/post-publish-button/index.d.ts.map +1 -1
  220. package/build-types/components/post-publish-button/label.d.ts.map +1 -1
  221. package/build-types/components/post-revisions-preview/revisions-slider.d.ts.map +1 -1
  222. package/build-types/components/post-saved-state/index.d.ts.map +1 -1
  223. package/build-types/components/provider/index.d.ts.map +1 -1
  224. package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
  225. package/build-types/components/provider/use-upload-save-lock.d.ts +0 -2
  226. package/build-types/components/provider/use-upload-save-lock.d.ts.map +1 -1
  227. package/build-types/components/resizable-editor/resize-handle.d.ts.map +1 -1
  228. package/build-types/components/template-part-menu-items/convert-to-regular.d.ts.map +1 -1
  229. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  230. package/build-types/store/private-actions.d.ts +0 -7
  231. package/build-types/store/private-actions.d.ts.map +1 -1
  232. package/build-types/store/private-selectors.d.ts +0 -7
  233. package/build-types/store/private-selectors.d.ts.map +1 -1
  234. package/build-types/store/reducer.d.ts +0 -10
  235. package/build-types/store/reducer.d.ts.map +1 -1
  236. package/build-types/utils/media-finalize/index.d.ts +1 -1
  237. package/build-types/utils/media-finalize/index.d.ts.map +1 -1
  238. package/build-types/utils/media-upload/index.d.ts.map +1 -1
  239. package/package.json +46 -46
  240. package/src/components/collab-sidebar/README.md +117 -0
  241. package/src/components/collab-sidebar/{comment-menu-item.js → add-note-menu-item.js} +8 -10
  242. package/src/components/collab-sidebar/{add-comment.js → add-note.js} +20 -21
  243. package/src/components/collab-sidebar/board-store.js +4 -2
  244. package/src/components/collab-sidebar/floating-container.js +5 -4
  245. package/src/components/collab-sidebar/hooks.js +115 -175
  246. package/src/components/collab-sidebar/index.js +35 -95
  247. package/src/components/collab-sidebar/{comment-author-info.js → note-byline.js} +5 -6
  248. package/src/components/collab-sidebar/note-card.js +36 -0
  249. package/src/components/collab-sidebar/{comment-form.js → note-form.js} +25 -27
  250. package/src/components/collab-sidebar/{comment-indicator-toolbar.js → note-indicator-toolbar.js} +29 -32
  251. package/src/components/collab-sidebar/note-thread.js +331 -0
  252. package/src/components/collab-sidebar/note.js +209 -0
  253. package/src/components/collab-sidebar/notes.js +276 -0
  254. package/src/components/collab-sidebar/style.scss +21 -11
  255. package/src/components/collab-sidebar/test/utils.js +65 -63
  256. package/src/components/collab-sidebar/utils.js +33 -35
  257. package/src/components/document-bar/index.js +4 -4
  258. package/src/components/error-boundary/index.js +3 -3
  259. package/src/components/list-view-sidebar/list-view-outline.js +6 -6
  260. package/src/components/media/media-editor-modal.js +95 -0
  261. package/src/components/more-menu/index.js +3 -7
  262. package/src/components/post-actions/set-as-homepage.js +2 -2
  263. package/src/components/post-actions/set-as-posts-page.js +2 -2
  264. package/src/components/post-card-panel/index.js +7 -7
  265. package/src/components/post-content-information/index.js +3 -3
  266. package/src/components/post-excerpt/panel.js +3 -3
  267. package/src/components/post-last-edited-panel/index.js +3 -3
  268. package/src/components/post-preview-button/index.js +3 -2
  269. package/src/components/post-publish-button/index.js +6 -5
  270. package/src/components/post-publish-button/label.js +3 -1
  271. package/src/components/post-publish-panel/postpublish.js +2 -2
  272. package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +8 -14
  273. package/src/components/post-revisions-panel/index.js +3 -3
  274. package/src/components/post-revisions-preview/diff-markers.js +1 -1
  275. package/src/components/post-revisions-preview/revisions-slider.js +1 -0
  276. package/src/components/post-saved-state/index.js +4 -1
  277. package/src/components/post-saved-state/test/__snapshots__/index.js.snap +0 -1
  278. package/src/components/post-text-editor/index.js +3 -3
  279. package/src/components/preview-dropdown/index.js +2 -2
  280. package/src/components/provider/index.js +4 -0
  281. package/src/components/provider/use-block-editor-settings.js +10 -0
  282. package/src/components/provider/use-upload-save-lock.js +2 -17
  283. package/src/components/resizable-editor/resize-handle.js +2 -5
  284. package/src/components/revision-created-panel/index.js +3 -3
  285. package/src/components/site-discussion/index.js +3 -3
  286. package/src/components/template-actions-panel/classic-theme-content.js +3 -3
  287. package/src/components/template-part-menu-items/convert-to-regular.js +74 -12
  288. package/src/components/visual-editor/index.js +2 -29
  289. package/src/store/private-actions.js +0 -13
  290. package/src/store/private-selectors.js +0 -10
  291. package/src/store/reducer.js +0 -16
  292. package/src/utils/media-finalize/index.js +2 -1
  293. package/src/utils/media-finalize/test/index.js +25 -1
  294. package/src/utils/media-upload/index.js +26 -29
  295. package/build/components/collab-sidebar/add-comment.cjs.map +0 -7
  296. package/build/components/collab-sidebar/comment-author-info.cjs.map +0 -7
  297. package/build/components/collab-sidebar/comment-form.cjs.map +0 -7
  298. package/build/components/collab-sidebar/comment-indicator-toolbar.cjs.map +0 -7
  299. package/build/components/collab-sidebar/comment-menu-item.cjs.map +0 -7
  300. package/build/components/collab-sidebar/comments.cjs +0 -696
  301. package/build/components/collab-sidebar/comments.cjs.map +0 -7
  302. package/build-module/components/collab-sidebar/add-comment.mjs.map +0 -7
  303. package/build-module/components/collab-sidebar/comment-author-info.mjs.map +0 -7
  304. package/build-module/components/collab-sidebar/comment-form.mjs +0 -82
  305. package/build-module/components/collab-sidebar/comment-form.mjs.map +0 -7
  306. package/build-module/components/collab-sidebar/comment-indicator-toolbar.mjs.map +0 -7
  307. package/build-module/components/collab-sidebar/comment-menu-item.mjs.map +0 -7
  308. package/build-module/components/collab-sidebar/comments.mjs +0 -678
  309. package/build-module/components/collab-sidebar/comments.mjs.map +0 -7
  310. package/build-types/components/collab-sidebar/add-comment.d.ts +0 -6
  311. package/build-types/components/collab-sidebar/add-comment.d.ts.map +0 -1
  312. package/build-types/components/collab-sidebar/comment-author-info.d.ts +0 -8
  313. package/build-types/components/collab-sidebar/comment-author-info.d.ts.map +0 -1
  314. package/build-types/components/collab-sidebar/comment-form.d.ts +0 -9
  315. package/build-types/components/collab-sidebar/comment-form.d.ts.map +0 -1
  316. package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts +0 -6
  317. package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts.map +0 -1
  318. package/build-types/components/collab-sidebar/comment-menu-item.d.ts +0 -6
  319. package/build-types/components/collab-sidebar/comment-menu-item.d.ts.map +0 -1
  320. package/build-types/components/collab-sidebar/comments.d.ts +0 -10
  321. package/build-types/components/collab-sidebar/comments.d.ts.map +0 -1
  322. package/src/components/collab-sidebar/comments.js +0 -812
@@ -107,127 +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, #fff);
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
- /**
165
- * SCSS Variables.
166
- *
167
- * Please use variables from this sheet to ensure consistency across the UI.
168
- * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
169
- * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
170
- */
171
- /**
172
- * Colors
173
- */
174
- /**
175
- * Fonts & basic variables.
176
- */
177
- /**
178
- * Typography
179
- */
180
- /**
181
- * Grid System.
182
- * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
183
- */
184
- /**
185
- * Radius scale.
186
- */
187
- /**
188
- * Elevation scale.
189
- */
190
- /**
191
- * Dimensions.
192
- */
193
- /**
194
- * Mobile specific styles
195
- */
196
- /**
197
- * Editor styles.
198
- */
199
- /**
200
- * Block & Editor UI.
201
- */
202
- /**
203
- * Block paddings.
204
- */
205
- /**
206
- * React Native specific.
207
- * These variables do not appear to be used anywhere else.
208
- */
209
- .admin-ui-breadcrumbs__list {
210
- font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
211
- font-size: var(--wpds-typography-font-size-lg, 15px);
212
- font-weight: var(--wpds-typography-font-weight-medium, 499);
213
- line-height: var(--wpds-typography-line-height-lg, 28px);
214
- list-style: none;
215
- padding: 0;
216
- margin: 0;
217
- gap: 0;
218
- min-height: 32px;
219
- }
220
-
221
- .admin-ui-breadcrumbs__list li:not(:last-child)::after {
222
- content: "/";
223
- margin: 0 8px;
224
- }
225
-
226
- .admin-ui-breadcrumbs__list h1 {
227
- font-size: inherit;
228
- line-height: inherit;
229
- }
230
-
231
110
  /**
232
111
  * Colors
233
112
  */
@@ -4733,6 +4612,363 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4733
4612
  margin-top: 8px;
4734
4613
  }
4735
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
+ }
4736
4972
  .editor-autocompleters__link {
4737
4973
  white-space: nowrap;
4738
4974
  gap: 8px;
@@ -4787,6 +5023,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4787
5023
  }
4788
5024
 
4789
5025
  .editor-collab-sidebar-panel {
5026
+ position: relative;
4790
5027
  padding: 16px 16px 24px;
4791
5028
  height: 100%;
4792
5029
  overflow: hidden;
@@ -4815,6 +5052,8 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4815
5052
  right: 16px;
4816
5053
  position: absolute;
4817
5054
  margin-top: 16px;
5055
+ transform: translateY(var(--canvas-scroll, 0));
5056
+ will-change: transform;
4818
5057
  }
4819
5058
 
4820
5059
  .editor-collab-sidebar-panel__user-name {
@@ -4834,7 +5073,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4834
5073
  color: #757575;
4835
5074
  }
4836
5075
 
4837
- .editor-collab-sidebar-panel__user-comment p:last-child {
5076
+ .editor-collab-sidebar-panel__note-content p:last-child {
4838
5077
  margin-bottom: 0;
4839
5078
  }
4840
5079
 
@@ -4847,10 +5086,10 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4847
5086
  background: #fff;
4848
5087
  }
4849
5088
 
4850
- .editor-collab-sidebar-panel__comment-status {
5089
+ .editor-collab-sidebar-panel__note-actions {
4851
5090
  margin-left: auto;
4852
5091
  }
4853
- .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) {
4854
5093
  min-width: 24px;
4855
5094
  padding: 0;
4856
5095
  width: 24px;
@@ -4858,10 +5097,6 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4858
5097
  flex-shrink: 0;
4859
5098
  }
4860
5099
 
4861
- .editor-collab-sidebar-panel__comment-dropdown-menu {
4862
- flex-shrink: 0;
4863
- }
4864
-
4865
5100
  .editor-collab-sidebar-panel__more-reply-separator::before, .editor-collab-sidebar-panel__more-reply-separator::after {
4866
5101
  content: "";
4867
5102
  display: block;
@@ -4875,11 +5110,16 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4875
5110
  font-weight: 499;
4876
5111
  }
4877
5112
 
5113
+ .editor-collab-sidebar-panel__deleted-block-notice {
5114
+ font-weight: 499;
5115
+ color: #757575;
5116
+ }
5117
+
4878
5118
  .editor-collab-sidebar-panel__resolution-text {
4879
5119
  font-style: italic;
4880
5120
  }
4881
5121
 
4882
- .editor-collab-sidebar-panel__comment-form textarea {
5122
+ .editor-collab-sidebar-panel__note-form textarea {
4883
5123
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4884
5124
  padding: 6px 8px;
4885
5125
  /* Fonts smaller than 16px causes mobile safari to zoom. */
@@ -4891,32 +5131,32 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4891
5131
  border: 1px solid #949494;
4892
5132
  }
4893
5133
  @media not (prefers-reduced-motion) {
4894
- .editor-collab-sidebar-panel__comment-form textarea {
5134
+ .editor-collab-sidebar-panel__note-form textarea {
4895
5135
  transition: box-shadow 0.1s linear;
4896
5136
  }
4897
5137
  }
4898
5138
  @media (min-width: 600px) {
4899
- .editor-collab-sidebar-panel__comment-form textarea {
5139
+ .editor-collab-sidebar-panel__note-form textarea {
4900
5140
  font-size: 13px;
4901
5141
  /* Override core line-height. To be reviewed. */
4902
5142
  line-height: normal;
4903
5143
  }
4904
5144
  }
4905
- .editor-collab-sidebar-panel__comment-form textarea:focus {
5145
+ .editor-collab-sidebar-panel__note-form textarea:focus {
4906
5146
  border-color: var(--wp-admin-theme-color);
4907
5147
  box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
4908
5148
  outline: 2px solid transparent;
4909
5149
  }
4910
- .editor-collab-sidebar-panel__comment-form textarea::placeholder {
5150
+ .editor-collab-sidebar-panel__note-form textarea::placeholder {
4911
5151
  color: rgba(30, 30, 30, 0.62);
4912
5152
  }
4913
- .editor-collab-sidebar-panel__comment-form textarea {
5153
+ .editor-collab-sidebar-panel__note-form textarea {
4914
5154
  padding: 9px 11px;
4915
5155
  line-height: 20px !important;
4916
5156
  display: block;
4917
5157
  }
4918
5158
 
4919
- .editor-collab-sidebar-panel__skip-to-comment,
5159
+ .editor-collab-sidebar-panel__skip-to-note,
4920
5160
  .editor-collab-sidebar-panel__skip-to-block {
4921
5161
  position: absolute;
4922
5162
  top: -9999px;
@@ -4926,7 +5166,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4926
5166
  background: #fff !important;
4927
5167
  z-index: -1;
4928
5168
  }
4929
- .editor-collab-sidebar-panel__skip-to-comment:focus,
5169
+ .editor-collab-sidebar-panel__skip-to-note:focus,
4930
5170
  .editor-collab-sidebar-panel__skip-to-block:focus {
4931
5171
  overflow: visible;
4932
5172
  clip-path: none;
@@ -4934,7 +5174,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4934
5174
  right: 8px;
4935
5175
  }
4936
5176
 
4937
- .editor-collab-sidebar-panel__skip-to-comment:focus {
5177
+ .editor-collab-sidebar-panel__skip-to-note:focus {
4938
5178
  top: 8px;
4939
5179
  }
4940
5180
 
@@ -4943,7 +5183,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4943
5183
  bottom: 8px;
4944
5184
  }
4945
5185
 
4946
- .comment-avatar {
5186
+ .editor-note-indicator__avatar {
4947
5187
  width: 24px;
4948
5188
  border-radius: 50%;
4949
5189
  margin-left: -12px;
@@ -4953,17 +5193,21 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
4953
5193
  background: #fff;
4954
5194
  box-sizing: border-box;
4955
5195
  }
4956
- .comment-avatar:first-child {
5196
+ .editor-note-indicator__avatar:first-child {
4957
5197
  margin-left: 0;
4958
5198
  }
4959
5199
 
4960
- .show-icon-labels .comment-avatar-indicator {
5200
+ .editor-note-indicator__overflow {
5201
+ font-weight: 499;
5202
+ }
5203
+
5204
+ .show-icon-labels .editor-note-indicator {
4961
5205
  width: auto;
4962
5206
  }
4963
- .show-icon-labels .comment-avatar-indicator div {
5207
+ .show-icon-labels .editor-note-indicator div {
4964
5208
  display: none;
4965
5209
  }
4966
- .show-icon-labels .comment-avatar-indicator::after {
5210
+ .show-icon-labels .editor-note-indicator::after {
4967
5211
  content: attr(aria-label);
4968
5212
  font-size: 12px;
4969
5213
  }
@@ -0,0 +1,5 @@
1
+ export function AddNoteMenuItem({ onClick, isDistractionFree }: {
2
+ onClick: any;
3
+ isDistractionFree: any;
4
+ }): import("react").JSX.Element;
5
+ //# sourceMappingURL=add-note-menu-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-note-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-note-menu-item.js"],"names":[],"mappings":"AAiEA;;;gCAeC"}
@@ -0,0 +1,6 @@
1
+ export function AddNote({ onSubmit, sidebarRef, floating }: {
2
+ onSubmit: any;
3
+ sidebarRef: any;
4
+ floating: any;
5
+ }): import("react").JSX.Element | null;
6
+ //# sourceMappingURL=add-note.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-note.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-note.js"],"names":[],"mappings":"AAsBA;;;;uCA+DC"}
@@ -4,5 +4,6 @@ export function createBoardStore(): {
4
4
  registerThread(id: any, blockEl: any, floatingEl: any): void;
5
5
  unregisterThread(id: any): void;
6
6
  getBlockRects(): any;
7
+ getFirstBlockElement(): any;
7
8
  };
8
9
  //# sourceMappingURL=board-store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"board-store.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/board-store.js"],"names":[],"mappings":"AAAA;;;;;;EAkFC"}
1
+ {"version":3,"file":"board-store.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/board-store.js"],"names":[],"mappings":"AAAA;;;;;;;EAoFC"}
@@ -1 +1 @@
1
- {"version":3,"file":"floating-container.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/floating-container.js"],"names":[],"mappings":"AAUA;;;;;;gCAkBC"}
1
+ {"version":3,"file":"floating-container.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/floating-container.js"],"names":[],"mappings":"AAUA;;;;;;gCAmBC"}