@wordpress/editor 14.48.1 → 14.48.2-next.v.202606191442.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 (401) hide show
  1. package/build/bindings/pattern-overrides.cjs +1 -1
  2. package/build/bindings/pattern-overrides.cjs.map +2 -2
  3. package/build/components/collab-sidebar/note-byline.cjs +1 -1
  4. package/build/components/collab-sidebar/note-byline.cjs.map +2 -2
  5. package/build/components/collab-sidebar/note.cjs +49 -17
  6. package/build/components/collab-sidebar/note.cjs.map +3 -3
  7. package/build/components/collab-sidebar/notes.cjs.map +1 -1
  8. package/build/components/collab-sidebar/utils.cjs +1 -1
  9. package/build/components/collab-sidebar/utils.cjs.map +2 -2
  10. package/build/components/collaborators-overlay/avatar-iframe-styles.cjs.map +1 -1
  11. package/build/components/collaborators-overlay/collaborator-styles.cjs.map +1 -1
  12. package/build/components/collaborators-overlay/compute-selection.cjs.map +1 -1
  13. package/build/components/collaborators-overlay/overlay-iframe-styles.cjs +1 -1
  14. package/build/components/collaborators-overlay/overlay-iframe-styles.cjs.map +1 -1
  15. package/build/components/collaborators-overlay/use-block-highlighting.cjs.map +1 -1
  16. package/build/components/collaborators-presence/avatar/component.cjs.map +2 -2
  17. package/build/components/collaborators-presence/avatar/use-image-loading-status.cjs.map +1 -1
  18. package/build/components/document-bar/index.cjs +7 -5
  19. package/build/components/document-bar/index.cjs.map +2 -2
  20. package/build/components/global-keyboard-shortcuts/index.cjs +3 -2
  21. package/build/components/global-keyboard-shortcuts/index.cjs.map +2 -2
  22. package/build/components/global-styles-sidebar/welcome-guide.cjs +3 -3
  23. package/build/components/global-styles-sidebar/welcome-guide.cjs.map +1 -1
  24. package/build/components/local-autosave-monitor/index.cjs +14 -15
  25. package/build/components/local-autosave-monitor/index.cjs.map +2 -2
  26. package/build/components/page-attributes/parent.cjs +1 -1
  27. package/build/components/page-attributes/parent.cjs.map +2 -2
  28. package/build/components/post-card-panel/index.cjs +1 -1
  29. package/build/components/post-card-panel/index.cjs.map +2 -2
  30. package/build/components/post-excerpt/panel.cjs +1 -1
  31. package/build/components/post-excerpt/panel.cjs.map +2 -2
  32. package/build/components/post-locked-modal/index.cjs +3 -3
  33. package/build/components/post-locked-modal/index.cjs.map +1 -1
  34. package/build/components/post-preview-button/index.cjs +2 -2
  35. package/build/components/post-preview-button/index.cjs.map +2 -2
  36. package/build/components/post-publish-button/index.cjs +4 -3
  37. package/build/components/post-publish-button/index.cjs.map +2 -2
  38. package/build/components/post-publish-button/label.cjs +2 -2
  39. package/build/components/post-publish-button/label.cjs.map +2 -2
  40. package/build/components/post-publish-panel/index.cjs.map +1 -1
  41. package/build/components/post-publish-panel/postpublish.cjs +1 -1
  42. package/build/components/post-publish-panel/postpublish.cjs.map +2 -2
  43. package/build/components/post-revisions-preview/block-diff.cjs.map +1 -1
  44. package/build/components/post-revisions-preview/diff-markers.cjs.map +2 -2
  45. package/build/components/post-revisions-preview/revisions-slider.cjs +1 -1
  46. package/build/components/post-revisions-preview/revisions-slider.cjs.map +2 -2
  47. package/build/components/post-revisions-timeline/index.cjs +173 -0
  48. package/build/components/post-revisions-timeline/index.cjs.map +7 -0
  49. package/build/components/post-saved-state/index.cjs +17 -26
  50. package/build/components/post-saved-state/index.cjs.map +2 -2
  51. package/build/components/post-schedule/label.cjs +5 -5
  52. package/build/components/post-schedule/label.cjs.map +1 -1
  53. package/build/components/post-taxonomies/flat-term-selector.cjs +2 -1
  54. package/build/components/post-taxonomies/flat-term-selector.cjs.map +3 -3
  55. package/build/components/post-taxonomies/hierarchical-term-selector.cjs +1 -1
  56. package/build/components/post-taxonomies/hierarchical-term-selector.cjs.map +2 -2
  57. package/build/components/post-text-editor/index.cjs +51 -0
  58. package/build/components/post-text-editor/index.cjs.map +2 -2
  59. package/build/components/post-text-editor/utils.cjs +150 -0
  60. package/build/components/post-text-editor/utils.cjs.map +7 -0
  61. package/build/components/post-url/index.cjs +1 -1
  62. package/build/components/post-url/index.cjs.map +2 -2
  63. package/build/components/post-view-link/index.cjs +1 -1
  64. package/build/components/post-view-link/index.cjs.map +2 -2
  65. package/build/components/provider/disable-non-page-content-blocks.cjs.map +1 -1
  66. package/build/components/provider/index.cjs +1 -1
  67. package/build/components/provider/index.cjs.map +2 -2
  68. package/build/components/resizable-editor/resize-handle.cjs.map +2 -2
  69. package/build/components/revision-diff-panel/index.cjs +7 -2
  70. package/build/components/revision-diff-panel/index.cjs.map +2 -2
  71. package/build/components/revision-fields-diff/index.cjs +6 -2
  72. package/build/components/revision-fields-diff/index.cjs.map +2 -2
  73. package/build/components/sidebar/dataform-post-summary.cjs +125 -20
  74. package/build/components/sidebar/dataform-post-summary.cjs.map +3 -3
  75. package/build/components/sidebar/index.cjs +1 -11
  76. package/build/components/sidebar/index.cjs.map +3 -3
  77. package/build/components/sidebar/post-revision-summary.cjs +11 -17
  78. package/build/components/sidebar/post-revision-summary.cjs.map +3 -3
  79. package/build/components/sidebar/post-summary.cjs +1 -1
  80. package/build/components/sidebar/post-summary.cjs.map +2 -2
  81. package/build/components/style-book/examples.cjs +1 -1
  82. package/build/components/style-book/examples.cjs.map +1 -1
  83. package/build/components/style-book/index.cjs +1 -1
  84. package/build/components/style-book/index.cjs.map +2 -2
  85. package/build/components/sync-connection-error-modal/index.cjs +3 -3
  86. package/build/components/sync-connection-error-modal/index.cjs.map +1 -1
  87. package/build/components/template-actions-panel/block-theme-content.cjs.map +2 -2
  88. package/build/components/template-actions-panel/index.cjs +0 -9
  89. package/build/components/template-actions-panel/index.cjs.map +3 -3
  90. package/build/components/template-validation-notice/index.cjs +1 -1
  91. package/build/components/template-validation-notice/index.cjs.map +1 -1
  92. package/build/components/upload-progress-snackbar/index.cjs +3 -3
  93. package/build/components/upload-progress-snackbar/index.cjs.map +2 -2
  94. package/build/components/upload-progress-snackbar/tracker.cjs.map +1 -1
  95. package/build/components/visual-editor/edit-template-blocks-notification.cjs +1 -1
  96. package/build/components/visual-editor/edit-template-blocks-notification.cjs.map +1 -1
  97. package/build/{components/revision-author-panel → dataviews/fields/revisions}/index.cjs +18 -26
  98. package/build/dataviews/fields/revisions/index.cjs.map +7 -0
  99. package/build/dataviews/fields/revisions/revisions-view.cjs +74 -0
  100. package/build/dataviews/fields/revisions/revisions-view.cjs.map +7 -0
  101. package/build/dataviews/store/private-actions.cjs +14 -4
  102. package/build/dataviews/store/private-actions.cjs.map +3 -3
  103. package/build/hooks/push-changes-to-global-styles/index.cjs +1 -1
  104. package/build/hooks/push-changes-to-global-styles/index.cjs.map +1 -1
  105. package/build/store/actions.cjs +1 -1
  106. package/build/store/actions.cjs.map +2 -2
  107. package/build/store/private-selectors.cjs +6 -1
  108. package/build/store/private-selectors.cjs.map +2 -2
  109. package/build/utils/media-upload/index.cjs.map +1 -1
  110. package/build/utils/set-nested-value.cjs.map +1 -1
  111. package/build-module/bindings/pattern-overrides.mjs +1 -1
  112. package/build-module/bindings/pattern-overrides.mjs.map +2 -2
  113. package/build-module/components/collab-sidebar/note-byline.mjs +1 -1
  114. package/build-module/components/collab-sidebar/note-byline.mjs.map +2 -2
  115. package/build-module/components/collab-sidebar/note.mjs +50 -18
  116. package/build-module/components/collab-sidebar/note.mjs.map +2 -2
  117. package/build-module/components/collab-sidebar/notes.mjs.map +1 -1
  118. package/build-module/components/collab-sidebar/utils.mjs +1 -1
  119. package/build-module/components/collab-sidebar/utils.mjs.map +2 -2
  120. package/build-module/components/collaborators-overlay/avatar-iframe-styles.mjs.map +1 -1
  121. package/build-module/components/collaborators-overlay/collaborator-styles.mjs.map +1 -1
  122. package/build-module/components/collaborators-overlay/compute-selection.mjs.map +1 -1
  123. package/build-module/components/collaborators-overlay/overlay-iframe-styles.mjs +1 -1
  124. package/build-module/components/collaborators-overlay/overlay-iframe-styles.mjs.map +1 -1
  125. package/build-module/components/collaborators-overlay/use-block-highlighting.mjs.map +1 -1
  126. package/build-module/components/collaborators-presence/avatar/component.mjs.map +2 -2
  127. package/build-module/components/collaborators-presence/avatar/use-image-loading-status.mjs.map +1 -1
  128. package/build-module/components/document-bar/index.mjs +7 -5
  129. package/build-module/components/document-bar/index.mjs.map +2 -2
  130. package/build-module/components/global-keyboard-shortcuts/index.mjs +3 -2
  131. package/build-module/components/global-keyboard-shortcuts/index.mjs.map +2 -2
  132. package/build-module/components/global-styles-sidebar/welcome-guide.mjs +3 -3
  133. package/build-module/components/global-styles-sidebar/welcome-guide.mjs.map +1 -1
  134. package/build-module/components/local-autosave-monitor/index.mjs +15 -16
  135. package/build-module/components/local-autosave-monitor/index.mjs.map +2 -2
  136. package/build-module/components/page-attributes/parent.mjs +1 -1
  137. package/build-module/components/page-attributes/parent.mjs.map +2 -2
  138. package/build-module/components/post-card-panel/index.mjs +1 -1
  139. package/build-module/components/post-card-panel/index.mjs.map +2 -2
  140. package/build-module/components/post-excerpt/panel.mjs +1 -1
  141. package/build-module/components/post-excerpt/panel.mjs.map +2 -2
  142. package/build-module/components/post-locked-modal/index.mjs +3 -3
  143. package/build-module/components/post-locked-modal/index.mjs.map +1 -1
  144. package/build-module/components/post-preview-button/index.mjs +2 -2
  145. package/build-module/components/post-preview-button/index.mjs.map +2 -2
  146. package/build-module/components/post-publish-button/index.mjs +4 -3
  147. package/build-module/components/post-publish-button/index.mjs.map +2 -2
  148. package/build-module/components/post-publish-button/label.mjs +2 -2
  149. package/build-module/components/post-publish-button/label.mjs.map +2 -2
  150. package/build-module/components/post-publish-panel/index.mjs.map +1 -1
  151. package/build-module/components/post-publish-panel/postpublish.mjs +1 -1
  152. package/build-module/components/post-publish-panel/postpublish.mjs.map +2 -2
  153. package/build-module/components/post-revisions-preview/block-diff.mjs.map +1 -1
  154. package/build-module/components/post-revisions-preview/diff-markers.mjs.map +2 -2
  155. package/build-module/components/post-revisions-preview/revisions-slider.mjs +1 -1
  156. package/build-module/components/post-revisions-preview/revisions-slider.mjs.map +2 -2
  157. package/build-module/components/post-revisions-timeline/index.mjs +152 -0
  158. package/build-module/components/post-revisions-timeline/index.mjs.map +7 -0
  159. package/build-module/components/post-saved-state/index.mjs +17 -26
  160. package/build-module/components/post-saved-state/index.mjs.map +2 -2
  161. package/build-module/components/post-schedule/label.mjs +5 -5
  162. package/build-module/components/post-schedule/label.mjs.map +1 -1
  163. package/build-module/components/post-taxonomies/flat-term-selector.mjs +3 -6
  164. package/build-module/components/post-taxonomies/flat-term-selector.mjs.map +2 -2
  165. package/build-module/components/post-taxonomies/hierarchical-term-selector.mjs +1 -1
  166. package/build-module/components/post-taxonomies/hierarchical-term-selector.mjs.map +2 -2
  167. package/build-module/components/post-text-editor/index.mjs +51 -0
  168. package/build-module/components/post-text-editor/index.mjs.map +2 -2
  169. package/build-module/components/post-text-editor/utils.mjs +123 -0
  170. package/build-module/components/post-text-editor/utils.mjs.map +7 -0
  171. package/build-module/components/post-url/index.mjs +1 -1
  172. package/build-module/components/post-url/index.mjs.map +2 -2
  173. package/build-module/components/post-view-link/index.mjs +1 -1
  174. package/build-module/components/post-view-link/index.mjs.map +2 -2
  175. package/build-module/components/provider/disable-non-page-content-blocks.mjs.map +1 -1
  176. package/build-module/components/provider/index.mjs +1 -1
  177. package/build-module/components/provider/index.mjs.map +2 -2
  178. package/build-module/components/resizable-editor/resize-handle.mjs.map +2 -2
  179. package/build-module/components/revision-diff-panel/index.mjs +7 -2
  180. package/build-module/components/revision-diff-panel/index.mjs.map +2 -2
  181. package/build-module/components/revision-fields-diff/index.mjs +6 -2
  182. package/build-module/components/revision-fields-diff/index.mjs.map +2 -2
  183. package/build-module/components/sidebar/dataform-post-summary.mjs +125 -20
  184. package/build-module/components/sidebar/dataform-post-summary.mjs.map +2 -2
  185. package/build-module/components/sidebar/index.mjs +1 -11
  186. package/build-module/components/sidebar/index.mjs.map +2 -2
  187. package/build-module/components/sidebar/post-revision-summary.mjs +11 -17
  188. package/build-module/components/sidebar/post-revision-summary.mjs.map +2 -2
  189. package/build-module/components/sidebar/post-summary.mjs +1 -1
  190. package/build-module/components/sidebar/post-summary.mjs.map +2 -2
  191. package/build-module/components/style-book/examples.mjs +1 -1
  192. package/build-module/components/style-book/examples.mjs.map +1 -1
  193. package/build-module/components/style-book/index.mjs +1 -1
  194. package/build-module/components/style-book/index.mjs.map +2 -2
  195. package/build-module/components/sync-connection-error-modal/index.mjs +3 -3
  196. package/build-module/components/sync-connection-error-modal/index.mjs.map +1 -1
  197. package/build-module/components/template-actions-panel/block-theme-content.mjs.map +2 -2
  198. package/build-module/components/template-actions-panel/index.mjs +0 -9
  199. package/build-module/components/template-actions-panel/index.mjs.map +2 -2
  200. package/build-module/components/template-validation-notice/index.mjs +1 -1
  201. package/build-module/components/template-validation-notice/index.mjs.map +1 -1
  202. package/build-module/components/upload-progress-snackbar/index.mjs +3 -3
  203. package/build-module/components/upload-progress-snackbar/index.mjs.map +2 -2
  204. package/build-module/components/upload-progress-snackbar/tracker.mjs.map +1 -1
  205. package/build-module/components/visual-editor/edit-template-blocks-notification.mjs +1 -1
  206. package/build-module/components/visual-editor/edit-template-blocks-notification.mjs.map +1 -1
  207. package/build-module/dataviews/fields/revisions/index.mjs +20 -0
  208. package/build-module/dataviews/fields/revisions/index.mjs.map +7 -0
  209. package/build-module/dataviews/fields/revisions/revisions-view.mjs +53 -0
  210. package/build-module/dataviews/fields/revisions/revisions-view.mjs.map +7 -0
  211. package/build-module/dataviews/store/private-actions.mjs +23 -7
  212. package/build-module/dataviews/store/private-actions.mjs.map +2 -2
  213. package/build-module/hooks/push-changes-to-global-styles/index.mjs +1 -1
  214. package/build-module/hooks/push-changes-to-global-styles/index.mjs.map +1 -1
  215. package/build-module/store/actions.mjs +1 -1
  216. package/build-module/store/actions.mjs.map +2 -2
  217. package/build-module/store/private-selectors.mjs +7 -1
  218. package/build-module/store/private-selectors.mjs.map +2 -2
  219. package/build-module/utils/media-upload/index.mjs.map +1 -1
  220. package/build-module/utils/set-nested-value.mjs.map +1 -1
  221. package/build-style/style-rtl.css +270 -206
  222. package/build-style/style.css +270 -206
  223. package/build-types/components/collab-sidebar/note-byline.d.ts +0 -3
  224. package/build-types/components/collab-sidebar/note-byline.d.ts.map +1 -1
  225. package/build-types/components/collab-sidebar/note.d.ts.map +1 -1
  226. package/build-types/components/collaborators-presence/avatar/component.d.ts.map +1 -1
  227. package/build-types/components/document-bar/index.d.ts +2 -2
  228. package/build-types/components/document-bar/index.d.ts.map +1 -1
  229. package/build-types/components/global-keyboard-shortcuts/index.d.ts.map +1 -1
  230. package/build-types/components/local-autosave-monitor/index.d.ts.map +1 -1
  231. package/build-types/components/post-publish-button/index.d.ts.map +1 -1
  232. package/build-types/components/post-revisions-preview/diff-markers.d.ts.map +1 -1
  233. package/build-types/components/post-revisions-timeline/index.d.ts +2 -0
  234. package/build-types/components/post-revisions-timeline/index.d.ts.map +1 -0
  235. package/build-types/components/post-saved-state/index.d.ts.map +1 -1
  236. package/build-types/components/post-taxonomies/flat-term-selector.d.ts.map +1 -1
  237. package/build-types/components/post-text-editor/index.d.ts +1 -1
  238. package/build-types/components/post-text-editor/index.d.ts.map +1 -1
  239. package/build-types/components/provider/index.d.ts.map +1 -1
  240. package/build-types/components/resizable-editor/resize-handle.d.ts.map +1 -1
  241. package/build-types/components/revision-diff-panel/index.d.ts +3 -1
  242. package/build-types/components/revision-diff-panel/index.d.ts.map +1 -1
  243. package/build-types/components/revision-fields-diff/index.d.ts.map +1 -1
  244. package/build-types/components/sidebar/dataform-post-summary.d.ts.map +1 -1
  245. package/build-types/components/sidebar/index.d.ts.map +1 -1
  246. package/build-types/components/sidebar/post-revision-summary.d.ts.map +1 -1
  247. package/build-types/components/template-actions-panel/block-theme-content.d.ts.map +1 -1
  248. package/build-types/components/template-actions-panel/index.d.ts.map +1 -1
  249. package/build-types/dataviews/fields/revisions/index.d.ts +8 -0
  250. package/build-types/dataviews/fields/revisions/index.d.ts.map +1 -0
  251. package/build-types/dataviews/fields/revisions/revisions-view.d.ts +2 -0
  252. package/build-types/dataviews/fields/revisions/revisions-view.d.ts.map +1 -0
  253. package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
  254. package/build-types/store/private-selectors.d.ts +1 -1
  255. package/build-types/store/private-selectors.d.ts.map +1 -1
  256. package/build-types/store/selectors.d.ts +1 -1
  257. package/build-types/store/selectors.d.ts.map +1 -1
  258. package/package.json +53 -47
  259. package/src/bindings/pattern-overrides.js +1 -1
  260. package/src/bindings/test/pattern-overrides.js +65 -0
  261. package/src/components/collab-sidebar/note-byline.js +0 -1
  262. package/src/components/collab-sidebar/note.js +64 -29
  263. package/src/components/collab-sidebar/style.scss +20 -0
  264. package/src/components/collaborators-presence/avatar/component.tsx +0 -1
  265. package/src/components/collaborators-presence/avatar/test/index.tsx +0 -1
  266. package/src/components/document-bar/index.js +8 -3
  267. package/src/components/document-bar/style.scss +4 -2
  268. package/src/components/global-keyboard-shortcuts/index.js +2 -1
  269. package/src/components/local-autosave-monitor/index.js +23 -21
  270. package/src/components/post-card-panel/index.js +1 -1
  271. package/src/components/post-publish-button/index.js +6 -3
  272. package/src/components/post-publish-button/test/index.js +13 -0
  273. package/src/components/post-revisions-preview/diff-markers.js +0 -1
  274. package/src/components/post-revisions-timeline/index.js +186 -0
  275. package/src/components/post-revisions-timeline/style.scss +43 -0
  276. package/src/components/post-saved-state/index.js +23 -26
  277. package/src/components/post-saved-state/test/index.js +18 -0
  278. package/src/components/post-taxonomies/flat-term-selector.js +4 -7
  279. package/src/components/post-text-editor/index.js +65 -0
  280. package/src/components/post-text-editor/test/utils.js +210 -0
  281. package/src/components/post-text-editor/utils.js +204 -0
  282. package/src/components/post-type-support-check/test/index.js +11 -0
  283. package/src/components/post-url/index.js +1 -1
  284. package/src/components/post-view-link/index.js +1 -1
  285. package/src/components/post-view-link/test/index.js +71 -0
  286. package/src/components/provider/index.js +2 -1
  287. package/src/components/resizable-editor/resize-handle.js +0 -1
  288. package/src/components/revision-diff-panel/index.js +8 -2
  289. package/src/components/revision-fields-diff/index.js +12 -1
  290. package/src/components/sidebar/dataform-post-summary.js +196 -25
  291. package/src/components/sidebar/index.js +2 -12
  292. package/src/components/sidebar/post-revision-summary.js +8 -15
  293. package/src/components/sidebar/post-summary.js +1 -1
  294. package/src/components/style-book/index.js +1 -1
  295. package/src/components/template-actions-panel/block-theme-content.js +0 -1
  296. package/src/components/template-actions-panel/index.js +0 -15
  297. package/src/dataviews/fields/revisions/index.tsx +28 -0
  298. package/src/dataviews/fields/revisions/revisions-view.tsx +59 -0
  299. package/src/dataviews/store/private-actions.ts +27 -6
  300. package/src/store/private-selectors.js +11 -1
  301. package/src/store/test/private-selectors.js +69 -0
  302. package/src/style.scss +1 -1
  303. package/build/components/post-revisions-panel/index.cjs +0 -173
  304. package/build/components/post-revisions-panel/index.cjs.map +0 -7
  305. package/build/components/revision-author-panel/index.cjs.map +0 -7
  306. package/build/components/revision-created-panel/index.cjs +0 -47
  307. package/build/components/revision-created-panel/index.cjs.map +0 -7
  308. package/build-module/components/post-revisions-panel/index.mjs +0 -148
  309. package/build-module/components/post-revisions-panel/index.mjs.map +0 -7
  310. package/build-module/components/revision-author-panel/index.mjs +0 -28
  311. package/build-module/components/revision-author-panel/index.mjs.map +0 -7
  312. package/build-module/components/revision-created-panel/index.mjs +0 -26
  313. package/build-module/components/revision-created-panel/index.mjs.map +0 -7
  314. package/build-types/components/collab-sidebar/add-comment.d.ts +0 -6
  315. package/build-types/components/collab-sidebar/add-comment.d.ts.map +0 -1
  316. package/build-types/components/collab-sidebar/comment-author-info.d.ts +0 -8
  317. package/build-types/components/collab-sidebar/comment-author-info.d.ts.map +0 -1
  318. package/build-types/components/collab-sidebar/comment-form.d.ts +0 -9
  319. package/build-types/components/collab-sidebar/comment-form.d.ts.map +0 -1
  320. package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts +0 -6
  321. package/build-types/components/collab-sidebar/comment-indicator-toolbar.d.ts.map +0 -1
  322. package/build-types/components/collab-sidebar/comment-menu-item.d.ts +0 -6
  323. package/build-types/components/collab-sidebar/comment-menu-item.d.ts.map +0 -1
  324. package/build-types/components/collab-sidebar/comments.d.ts +0 -10
  325. package/build-types/components/collab-sidebar/comments.d.ts.map +0 -1
  326. package/build-types/components/global-styles-provider/index.d.ts +0 -16
  327. package/build-types/components/global-styles-provider/index.d.ts.map +0 -1
  328. package/build-types/components/media/index.d.ts +0 -3
  329. package/build-types/components/media/index.d.ts.map +0 -1
  330. package/build-types/components/media/metadata-panel.d.ts +0 -12
  331. package/build-types/components/media/metadata-panel.d.ts.map +0 -1
  332. package/build-types/components/media/preview.d.ts +0 -9
  333. package/build-types/components/media/preview.d.ts.map +0 -1
  334. package/build-types/components/post-revisions-panel/index.d.ts +0 -2
  335. package/build-types/components/post-revisions-panel/index.d.ts.map +0 -1
  336. package/build-types/components/revision-author-panel/index.d.ts +0 -2
  337. package/build-types/components/revision-author-panel/index.d.ts.map +0 -1
  338. package/build-types/components/revision-created-panel/index.d.ts +0 -2
  339. package/build-types/components/revision-created-panel/index.d.ts.map +0 -1
  340. package/src/components/editor-help/images/add-dark.png +0 -0
  341. package/src/components/editor-help/images/add-dark@2x.png +0 -0
  342. package/src/components/editor-help/images/add-dark@3x.png +0 -0
  343. package/src/components/editor-help/images/add-light.png +0 -0
  344. package/src/components/editor-help/images/add-light@2x.png +0 -0
  345. package/src/components/editor-help/images/add-light@3x.png +0 -0
  346. package/src/components/editor-help/images/block-layout-collage.png +0 -0
  347. package/src/components/editor-help/images/block-layout-collage@2x.png +0 -0
  348. package/src/components/editor-help/images/block-layout-collage@3x.png +0 -0
  349. package/src/components/editor-help/images/build-layouts-dark.png +0 -0
  350. package/src/components/editor-help/images/build-layouts-dark@2x.png +0 -0
  351. package/src/components/editor-help/images/build-layouts-dark@3x.png +0 -0
  352. package/src/components/editor-help/images/build-layouts-light.png +0 -0
  353. package/src/components/editor-help/images/build-layouts-light@2x.png +0 -0
  354. package/src/components/editor-help/images/build-layouts-light@3x.png +0 -0
  355. package/src/components/editor-help/images/drag-and-drop-dark.png +0 -0
  356. package/src/components/editor-help/images/drag-and-drop-dark@2x.png +0 -0
  357. package/src/components/editor-help/images/drag-and-drop-dark@3x.png +0 -0
  358. package/src/components/editor-help/images/drag-and-drop-light.png +0 -0
  359. package/src/components/editor-help/images/drag-and-drop-light@2x.png +0 -0
  360. package/src/components/editor-help/images/drag-and-drop-light@3x.png +0 -0
  361. package/src/components/editor-help/images/edit-media-dark.png +0 -0
  362. package/src/components/editor-help/images/edit-media-dark@2x.png +0 -0
  363. package/src/components/editor-help/images/edit-media-dark@3x.png +0 -0
  364. package/src/components/editor-help/images/edit-media-light.png +0 -0
  365. package/src/components/editor-help/images/edit-media-light@2x.png +0 -0
  366. package/src/components/editor-help/images/edit-media-light@3x.png +0 -0
  367. package/src/components/editor-help/images/embed-media-dark.png +0 -0
  368. package/src/components/editor-help/images/embed-media-dark@2x.png +0 -0
  369. package/src/components/editor-help/images/embed-media-dark@3x.png +0 -0
  370. package/src/components/editor-help/images/embed-media-light.png +0 -0
  371. package/src/components/editor-help/images/embed-media-light@2x.png +0 -0
  372. package/src/components/editor-help/images/embed-media-light@3x.png +0 -0
  373. package/src/components/editor-help/images/move-dark.png +0 -0
  374. package/src/components/editor-help/images/move-dark@2x.png +0 -0
  375. package/src/components/editor-help/images/move-dark@3x.png +0 -0
  376. package/src/components/editor-help/images/move-light.png +0 -0
  377. package/src/components/editor-help/images/move-light@2x.png +0 -0
  378. package/src/components/editor-help/images/move-light@3x.png +0 -0
  379. package/src/components/editor-help/images/options-dark.png +0 -0
  380. package/src/components/editor-help/images/options-dark@2x.png +0 -0
  381. package/src/components/editor-help/images/options-dark@3x.png +0 -0
  382. package/src/components/editor-help/images/options-light.png +0 -0
  383. package/src/components/editor-help/images/options-light@2x.png +0 -0
  384. package/src/components/editor-help/images/options-light@3x.png +0 -0
  385. package/src/components/editor-help/images/rich-text-dark.png +0 -0
  386. package/src/components/editor-help/images/rich-text-dark@2x.png +0 -0
  387. package/src/components/editor-help/images/rich-text-dark@3x.png +0 -0
  388. package/src/components/editor-help/images/rich-text-light.png +0 -0
  389. package/src/components/editor-help/images/rich-text-light@2x.png +0 -0
  390. package/src/components/editor-help/images/rich-text-light@3x.png +0 -0
  391. package/src/components/editor-help/images/settings-dark.png +0 -0
  392. package/src/components/editor-help/images/settings-dark@2x.png +0 -0
  393. package/src/components/editor-help/images/settings-dark@3x.png +0 -0
  394. package/src/components/editor-help/images/settings-light.png +0 -0
  395. package/src/components/editor-help/images/settings-light@2x.png +0 -0
  396. package/src/components/editor-help/images/settings-light@3x.png +0 -0
  397. package/src/components/editor-help/style.scss +0 -123
  398. package/src/components/post-revisions-panel/index.js +0 -161
  399. package/src/components/post-revisions-panel/style.scss +0 -16
  400. package/src/components/revision-author-panel/index.js +0 -36
  401. package/src/components/revision-created-panel/index.js +0 -36
@@ -1,6 +0,0 @@
1
- export default CommentAvatarIndicator;
2
- declare function CommentAvatarIndicator({ onClick, thread }: {
3
- onClick: any;
4
- thread: any;
5
- }): import("react").JSX.Element | null;
6
- //# sourceMappingURL=comment-indicator-toolbar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"comment-indicator-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-indicator-toolbar.js"],"names":[],"mappings":";AAiBA;;;uCAwFC"}
@@ -1,6 +0,0 @@
1
- export default AddCommentMenuItemFill;
2
- declare function AddCommentMenuItemFill({ onClick, isDistractionFree }: {
3
- onClick: any;
4
- isDistractionFree: any;
5
- }): import("react").JSX.Element;
6
- //# sourceMappingURL=comment-menu-item.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"comment-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-menu-item.js"],"names":[],"mappings":";AAiEA;;;gCAeC"}
@@ -1,10 +0,0 @@
1
- export function Comments({ threads: noteThreads, onEditComment, onAddReply, onCommentDelete, commentSidebarRef, isFloating, }: {
2
- threads: any;
3
- onEditComment: any;
4
- onAddReply: any;
5
- onCommentDelete: any;
6
- commentSidebarRef: any;
7
- isFloating?: boolean | undefined;
8
- }): import("react").JSX.Element;
9
- export default Comments;
10
- //# sourceMappingURL=comments.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"AA+CA;;;;;;;gCAuPC"}
@@ -1,16 +0,0 @@
1
- export declare function useGlobalStylesContext(): {
2
- isReady: any;
3
- user: boolean | {
4
- settings: any;
5
- styles: any;
6
- _links: any;
7
- } | ((callbackOrObject: Function | Object, options?: Object) => void);
8
- base: any;
9
- merged: import("@wordpress/global-styles-engine").GlobalStylesConfig;
10
- setUserConfig: boolean | {
11
- settings: any;
12
- styles: any;
13
- _links: any;
14
- } | ((callbackOrObject: Function | Object, options?: Object) => void);
15
- };
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-provider/index.js"],"names":[],"mappings":"AA+KA,wBAAgB,sBAAsB;;;;;;4BAjDzB,WAAS,MAAM,YAEf,MAAM;;;;;;;;EA8ElB"}
@@ -1,3 +0,0 @@
1
- export { default as MediaPreview } from './preview';
2
- export { default as MediaMetadataPanel } from './metadata-panel';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/media/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Media metadata panel for the editor sidebar.
3
- * Displays a form for editing media properties with PostCardPanel header.
4
- *
5
- * @param {Object} props - Component props.
6
- * @param {Function} props.onActionPerformed - Callback when an action is performed.
7
- * @return {Element} The MediaMetadataPanel component.
8
- */
9
- export default function MediaMetadataPanel({ onActionPerformed }: {
10
- onActionPerformed: Function;
11
- }): Element;
12
- //# sourceMappingURL=metadata-panel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metadata-panel.d.ts","sourceRoot":"","sources":["../../../src/components/media/metadata-panel.js"],"names":[],"mappings":"AAgBA;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAE,EAAE,iBAAiB,EAAE,EAH9D;IAAwB,iBAAiB,WACzC;CAE8D,WAoDhE"}
@@ -1,9 +0,0 @@
1
- /**
2
- * Media preview component for the editor.
3
- * Connects the base MediaPreview component to the editor store.
4
- *
5
- * @param {Object} props - Additional props to spread on MediaPreview.
6
- * @return {Element} The MediaPreview component.
7
- */
8
- export default function MediaPreview(props: Object): Element;
9
- //# sourceMappingURL=preview.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../src/components/media/preview.js"],"names":[],"mappings":"AAcA;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAE,KAAK,QAAA,WAa1C"}
@@ -1,2 +0,0 @@
1
- export default function PostRevisionsPanel(): import("react").JSX.Element | null;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-panel/index.js"],"names":[],"mappings":"AAkJA,MAAM,CAAC,OAAO,UAAU,kBAAkB,uCAczC"}
@@ -1,2 +0,0 @@
1
- export default function RevisionAuthorPanel(): import("react").JSX.Element | null;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-author-panel/index.js"],"names":[],"mappings":"AAeA,MAAM,CAAC,OAAO,UAAU,mBAAmB,uCAoB1C"}
@@ -1,2 +0,0 @@
1
- export default function RevisionCreatedPanel(): import("react").JSX.Element | null;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-created-panel/index.js"],"names":[],"mappings":"AAcA,MAAM,CAAC,OAAO,UAAU,oBAAoB,uCAqB3C"}
@@ -1,123 +0,0 @@
1
- @use "@wordpress/base-styles/colors" as *;
2
- @use "@wordpress/base-styles/variables" as *;
3
-
4
- .button {
5
- margin: $grid-unit-10 $grid-unit-05;
6
- align-items: center;
7
- justify-content: center;
8
- border: $border-width solid $gray-300;
9
- }
10
-
11
- .buttonDark {
12
- border-color: $gray-700;
13
- }
14
-
15
- .buttonText {
16
- font-weight: 600;
17
- font-size: 16px;
18
- color: $light-primary;
19
- }
20
-
21
- .buttonTextDark {
22
- color: $dark-primary;
23
- }
24
-
25
- .safeAreaContainer {
26
- flex: 1;
27
- }
28
-
29
- .navigationContainer {
30
- flex: 1;
31
- overflow: hidden;
32
- }
33
-
34
- .container {
35
- height: 100%;
36
- }
37
-
38
- .contentContainer {
39
- padding: 0;
40
- }
41
-
42
- .helpSectionTitleContainer {
43
- margin-top: 24px;
44
- margin-bottom: 16px;
45
- }
46
-
47
- .helpSectionTitle {
48
- color: $light-primary;
49
- font-weight: 600;
50
- font-size: 16px;
51
- }
52
-
53
- .helpSectionTitleDark {
54
- color: $dark-secondary;
55
- }
56
-
57
- .helpDetailContainer {
58
- padding: 0 16px;
59
- }
60
-
61
- .helpDetailImage {
62
- background-color: $gray-light;
63
- margin-bottom: 16px;
64
- width: 100%;
65
- }
66
-
67
- .helpDetailImageDark {
68
- background-color: $gray-dark;
69
- }
70
-
71
- .helpDetailTitle,
72
- .helpDetailSectionHeading,
73
- .helpDetailBody {
74
- margin-bottom: 16px;
75
- }
76
-
77
- .helpDetailTitle {
78
- color: $light-primary;
79
- font-weight: 600;
80
- font-size: 28px;
81
- }
82
-
83
- .helpDetailTitleDark {
84
- color: $dark-primary;
85
- }
86
-
87
- .helpDetailSectionHeading {
88
- flex-direction: row;
89
- align-items: center;
90
- }
91
-
92
- .helpDetailSectionHeadingText {
93
- color: $light-primary;
94
- font-weight: 700;
95
- font-size: 16px;
96
- }
97
-
98
- .helpDetailSectionHeadingTextDark {
99
- color: $dark-primary;
100
- }
101
-
102
- .helpDetailBody {
103
- color: $light-secondary;
104
- font-size: 16px;
105
- line-height: 24px;
106
- }
107
-
108
- .helpDetailBodyDark {
109
- color: $dark-secondary;
110
- }
111
-
112
- .helpDetailBadgeContainer {
113
- padding: 2px 6px;
114
- margin-right: 8px;
115
- border-radius: 6px;
116
- background-color: #c9356e;
117
- }
118
-
119
- .helpDetailBadgeText {
120
- color: $white;
121
- font-weight: $font-weight-medium;
122
- font-size: 12px;
123
- }
@@ -1,161 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import {
5
- PanelBody,
6
- Button,
7
- __experimentalHStack as HStack,
8
- __experimentalVStack as VStack,
9
- privateApis as componentsPrivateApis,
10
- } from '@wordpress/components';
11
- import { store as coreStore } from '@wordpress/core-data';
12
- import { DataViews } from '@wordpress/dataviews';
13
- import { dateI18n, getDate, humanTimeDiff, getSettings } from '@wordpress/date';
14
- import { useSelect, useDispatch } from '@wordpress/data';
15
- import { __ } from '@wordpress/i18n';
16
- import { authorField } from '@wordpress/fields';
17
-
18
- /**
19
- * Internal dependencies
20
- */
21
- import PostLastRevisionCheck from '../post-last-revision/check';
22
- import { store as editorStore } from '../../store';
23
- import { unlock } from '../../lock-unlock';
24
-
25
- const { Badge: WCBadge } = unlock( componentsPrivateApis );
26
- const DAY_IN_MILLISECONDS = 86400000;
27
- const EMPTY_ARRAY = [];
28
- const defaultLayouts = { activity: true };
29
- const noop = () => {};
30
- const paginationInfo = {};
31
- const view = {
32
- type: 'activity',
33
- titleField: 'date',
34
- fields: [ 'author' ],
35
- layout: { density: 'compact' },
36
- };
37
- const fields = [
38
- {
39
- id: 'date',
40
- label: __( 'Date' ),
41
- render: ( { item, field } ) => {
42
- const dateNowInMs = getDate( null ).getTime();
43
- const _value = field.getValue( { item } );
44
- const date = getDate( _value ?? null );
45
- const displayDate =
46
- dateNowInMs - date.getTime() > DAY_IN_MILLISECONDS
47
- ? dateI18n(
48
- getSettings().formats.datetimeAbbreviated,
49
- date
50
- )
51
- : humanTimeDiff( date );
52
- return (
53
- <time
54
- className="editor-post-revisions-panel__revision-date"
55
- dateTime={ _value }
56
- >
57
- { displayDate }
58
- </time>
59
- );
60
- },
61
- enableSorting: false,
62
- enableHiding: false,
63
- },
64
- authorField,
65
- ];
66
-
67
- function PostRevisionsPanelContent() {
68
- const { setCurrentRevisionId } = unlock( useDispatch( editorStore ) );
69
- const {
70
- revisionsCount,
71
- revisions,
72
- revisionKey,
73
- isLoading,
74
- lastRevisionId,
75
- } = useSelect( ( select ) => {
76
- const { getCurrentPostId, getCurrentPostType } = select( editorStore );
77
- const { getCurrentPostRevisionsCount, getCurrentPostLastRevisionId } =
78
- select( editorStore );
79
- const { getRevisions, getEntityConfig, isResolving } =
80
- select( coreStore );
81
- const _postType = getCurrentPostType();
82
- const entityConfig = getEntityConfig( 'postType', _postType );
83
- const _revisionKey = entityConfig?.revisionKey || 'id';
84
- const revisionsQuery = {
85
- per_page: 3,
86
- orderby: 'date',
87
- order: 'desc',
88
- _fields: `${ _revisionKey },date,author`,
89
- };
90
- const query = [
91
- 'postType',
92
- _postType,
93
- getCurrentPostId(),
94
- revisionsQuery,
95
- ];
96
- const _revisions = getRevisions( ...query );
97
- return {
98
- revisionsCount: getCurrentPostRevisionsCount(),
99
- lastRevisionId: getCurrentPostLastRevisionId(),
100
- revisions: _revisions,
101
- revisionKey: _revisionKey,
102
- isLoading: isResolving( 'getRevisions', query ),
103
- };
104
- }, [] );
105
- return (
106
- <PanelBody
107
- title={
108
- <HStack justify="space-between" align="center" as="span">
109
- <span>{ __( 'Revisions' ) }</span>
110
- <WCBadge className="editor-post-revisions-panel__revisions-count">
111
- { revisionsCount }
112
- </WCBadge>
113
- </HStack>
114
- }
115
- initialOpen={ false }
116
- >
117
- <VStack className="editor-post-revisions-panel">
118
- <DataViews
119
- view={ view }
120
- onChangeView={ noop }
121
- fields={ fields }
122
- data={ revisions || EMPTY_ARRAY }
123
- isLoading={ isLoading }
124
- paginationInfo={ paginationInfo }
125
- defaultLayouts={ defaultLayouts }
126
- getItemId={ ( item ) => item[ revisionKey ] }
127
- isItemClickable={ () => true }
128
- onClickItem={ ( item ) => {
129
- setCurrentRevisionId( item[ revisionKey ] );
130
- } }
131
- >
132
- <DataViews.Layout />
133
- </DataViews>
134
- <Button
135
- className="editor-post-revisions-panel__view-all"
136
- __next40pxDefaultSize
137
- variant="secondary"
138
- onClick={ () => setCurrentRevisionId( lastRevisionId ) }
139
- >
140
- { __( 'View all revisions' ) }
141
- </Button>
142
- </VStack>
143
- </PanelBody>
144
- );
145
- }
146
-
147
- export default function PostRevisionsPanel() {
148
- const disableVisualRevisions = useSelect(
149
- ( select ) =>
150
- !! select( editorStore ).getEditorSettings().disableVisualRevisions,
151
- []
152
- );
153
- if ( disableVisualRevisions ) {
154
- return null;
155
- }
156
- return (
157
- <PostLastRevisionCheck>
158
- <PostRevisionsPanelContent />
159
- </PostLastRevisionCheck>
160
- );
161
- }
@@ -1,16 +0,0 @@
1
- .editor-post-revisions-panel {
2
- .editor-post-revisions-panel__view-all {
3
- justify-content: center;
4
- }
5
-
6
- .editor-post-revisions-panel__revision-date {
7
- text-transform: uppercase;
8
- font-weight: 600;
9
- font-size: 12px;
10
- }
11
- }
12
-
13
- .editor-post-revisions-panel__revisions-count {
14
- margin-top: -4.5px;
15
- margin-bottom: -4.5px;
16
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import { useSelect } from '@wordpress/data';
5
- import { store as coreStore } from '@wordpress/core-data';
6
- import { decodeEntities } from '@wordpress/html-entities';
7
- import { __ } from '@wordpress/i18n';
8
-
9
- /**
10
- * Internal dependencies
11
- */
12
- import PostPanelRow from '../post-panel-row';
13
- import { store as editorStore } from '../../store';
14
- import { unlock } from '../../lock-unlock';
15
-
16
- export default function RevisionAuthorPanel() {
17
- const authorName = useSelect( ( select ) => {
18
- const { getCurrentRevision } = unlock( select( editorStore ) );
19
- const revision = getCurrentRevision();
20
- if ( ! revision?.author ) {
21
- return null;
22
- }
23
- const author = select( coreStore ).getUser( revision.author );
24
- return author?.name;
25
- }, [] );
26
-
27
- if ( ! authorName ) {
28
- return null;
29
- }
30
-
31
- return (
32
- <PostPanelRow label={ __( 'Author' ) }>
33
- { decodeEntities( authorName ) }
34
- </PostPanelRow>
35
- );
36
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import { __experimentalText as WCText } from '@wordpress/components';
5
- import { useSelect } from '@wordpress/data';
6
- import { __, sprintf } from '@wordpress/i18n';
7
- import { humanTimeDiff } from '@wordpress/date';
8
-
9
- /**
10
- * Internal dependencies
11
- */
12
- import { store as editorStore } from '../../store';
13
- import { unlock } from '../../lock-unlock';
14
-
15
- export default function RevisionCreatedPanel() {
16
- const date = useSelect( ( select ) => {
17
- const { getCurrentRevision } = unlock( select( editorStore ) );
18
- return getCurrentRevision()?.date;
19
- }, [] );
20
-
21
- if ( ! date ) {
22
- return null;
23
- }
24
-
25
- return (
26
- <div className="editor-post-last-edited-panel">
27
- <WCText>
28
- { sprintf(
29
- // translators: %s: Human-readable time difference, e.g. "2 days ago".
30
- __( 'Created %s.' ),
31
- humanTimeDiff( date )
32
- ) }
33
- </WCText>
34
- </div>
35
- );
36
- }