@wordpress/editor 14.40.2-next.v.202602241322.0 → 14.40.2

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 (464) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/components/collab-sidebar/index.cjs +7 -4
  3. package/build/components/collab-sidebar/index.cjs.map +2 -2
  4. package/build/components/collab-sidebar/utils.cjs +13 -15
  5. package/build/components/collab-sidebar/utils.cjs.map +2 -2
  6. package/build/components/collaborators-overlay/avatar-iframe-styles.cjs +141 -0
  7. package/build/components/collaborators-overlay/avatar-iframe-styles.cjs.map +7 -0
  8. package/build/components/collaborators-overlay/collaborator-styles.cjs +38 -2
  9. package/build/components/collaborators-overlay/collaborator-styles.cjs.map +2 -2
  10. package/build/components/collaborators-overlay/compute-selection.cjs +185 -0
  11. package/build/components/collaborators-overlay/compute-selection.cjs.map +7 -0
  12. package/build/components/collaborators-overlay/cursor-dom-utils.cjs +243 -0
  13. package/build/components/collaborators-overlay/cursor-dom-utils.cjs.map +7 -0
  14. package/build/components/collaborators-overlay/cursor-registry.cjs +86 -0
  15. package/build/components/collaborators-overlay/cursor-registry.cjs.map +7 -0
  16. package/build/components/collaborators-overlay/index.cjs +7 -2
  17. package/build/components/collaborators-overlay/index.cjs.map +2 -2
  18. package/build/components/collaborators-overlay/overlay-iframe-styles.cjs +148 -0
  19. package/build/components/collaborators-overlay/overlay-iframe-styles.cjs.map +7 -0
  20. package/build/components/collaborators-overlay/overlay.cjs +146 -236
  21. package/build/components/collaborators-overlay/overlay.cjs.map +3 -3
  22. package/build/components/collaborators-overlay/timing-utils.cjs +46 -0
  23. package/build/components/collaborators-overlay/timing-utils.cjs.map +7 -0
  24. package/build/components/collaborators-overlay/use-block-highlighting.cjs +91 -42
  25. package/build/components/collaborators-overlay/use-block-highlighting.cjs.map +2 -2
  26. package/build/components/collaborators-overlay/use-debounced-recompute.cjs +49 -0
  27. package/build/components/collaborators-overlay/use-debounced-recompute.cjs.map +7 -0
  28. package/build/components/collaborators-overlay/use-render-cursors.cjs +82 -172
  29. package/build/components/collaborators-overlay/use-render-cursors.cjs.map +3 -3
  30. package/build/components/collaborators-presence/avatar/component.cjs +121 -0
  31. package/build/components/collaborators-presence/avatar/component.cjs.map +7 -0
  32. package/build/components/collaborators-presence/avatar/index.cjs +37 -0
  33. package/build/components/collaborators-presence/avatar/index.cjs.map +7 -0
  34. package/build/components/collaborators-presence/avatar/types.cjs +19 -0
  35. package/build/components/collaborators-presence/avatar/types.cjs.map +7 -0
  36. package/build/components/collaborators-presence/avatar/use-image-loading-status.cjs +44 -0
  37. package/build/components/collaborators-presence/avatar/use-image-loading-status.cjs.map +7 -0
  38. package/build/components/collaborators-presence/avatar-group/component.cjs +78 -0
  39. package/build/components/collaborators-presence/avatar-group/component.cjs.map +7 -0
  40. package/build/components/collaborators-presence/avatar-group/index.cjs +37 -0
  41. package/build/components/collaborators-presence/avatar-group/index.cjs.map +7 -0
  42. package/build/components/collaborators-presence/avatar-group/types.cjs +19 -0
  43. package/build/components/collaborators-presence/avatar-group/types.cjs.map +7 -0
  44. package/build/components/collaborators-presence/index.cjs +66 -19
  45. package/build/components/collaborators-presence/index.cjs.map +3 -3
  46. package/build/components/collaborators-presence/list.cjs +60 -38
  47. package/build/components/collaborators-presence/list.cjs.map +3 -3
  48. package/build/components/collaborators-presence/use-collaborator-notifications.cjs +149 -0
  49. package/build/components/collaborators-presence/use-collaborator-notifications.cjs.map +7 -0
  50. package/build/components/editor-interface/index.cjs +11 -6
  51. package/build/components/editor-interface/index.cjs.map +2 -2
  52. package/build/components/inserter-sidebar/index.cjs +2 -1
  53. package/build/components/inserter-sidebar/index.cjs.map +2 -2
  54. package/build/components/post-last-revision/index.cjs +27 -6
  55. package/build/components/post-last-revision/index.cjs.map +2 -2
  56. package/build/components/post-locked-modal/index.cjs +49 -17
  57. package/build/components/post-locked-modal/index.cjs.map +3 -3
  58. package/build/components/post-revisions-preview/block-diff.cjs +130 -34
  59. package/build/components/post-revisions-preview/block-diff.cjs.map +2 -2
  60. package/build/components/post-revisions-preview/diff-markers.cjs +6 -5
  61. package/build/components/post-revisions-preview/diff-markers.cjs.map +2 -2
  62. package/build/components/post-revisions-preview/revisions-canvas.cjs +16 -60
  63. package/build/components/post-revisions-preview/revisions-canvas.cjs.map +3 -3
  64. package/build/components/post-revisions-preview/revisions-header.cjs +33 -26
  65. package/build/components/post-revisions-preview/revisions-header.cjs.map +3 -3
  66. package/build/components/post-revisions-preview/revisions-slider.cjs +104 -39
  67. package/build/components/post-revisions-preview/revisions-slider.cjs.map +3 -3
  68. package/build/components/preferences-modal/index.cjs +36 -4
  69. package/build/components/preferences-modal/index.cjs.map +2 -2
  70. package/build/components/provider/disable-non-page-content-blocks.cjs +31 -28
  71. package/build/components/provider/disable-non-page-content-blocks.cjs.map +3 -3
  72. package/build/components/provider/index.cjs +17 -5
  73. package/build/components/provider/index.cjs.map +2 -2
  74. package/build/components/provider/use-block-editor-settings.cjs +20 -4
  75. package/build/components/provider/use-block-editor-settings.cjs.map +3 -3
  76. package/build/components/provider/{use-post-content-blocks.cjs → use-post-content-block-types.cjs} +8 -19
  77. package/build/components/provider/use-post-content-block-types.cjs.map +7 -0
  78. package/build/components/provider/use-revision-blocks.cjs +106 -0
  79. package/build/components/provider/use-revision-blocks.cjs.map +7 -0
  80. package/build/components/revision-block-diff/index.cjs +61 -0
  81. package/build/components/revision-block-diff/index.cjs.map +7 -0
  82. package/build/components/revision-diff-panel/index.cjs +68 -0
  83. package/build/components/revision-diff-panel/index.cjs.map +7 -0
  84. package/build/components/revision-fields-diff/index.cjs +96 -0
  85. package/build/components/revision-fields-diff/index.cjs.map +7 -0
  86. package/build/components/sidebar/header.cjs +1 -1
  87. package/build/components/sidebar/header.cjs.map +2 -2
  88. package/build/components/sidebar/index.cjs +7 -1
  89. package/build/components/sidebar/index.cjs.map +3 -3
  90. package/build/components/style-book/index.cjs +4 -3
  91. package/build/components/style-book/index.cjs.map +2 -2
  92. package/build/components/sync-connection-error-modal/index.cjs +187 -0
  93. package/build/components/sync-connection-error-modal/index.cjs.map +7 -0
  94. package/build/components/sync-connection-error-modal/use-retry-countdown.cjs +84 -0
  95. package/build/components/sync-connection-error-modal/use-retry-countdown.cjs.map +7 -0
  96. package/build/components/template-content-panel/index.cjs +35 -31
  97. package/build/components/template-content-panel/index.cjs.map +3 -3
  98. package/build/components/template-part-menu-items/convert-to-regular.cjs +54 -11
  99. package/build/components/template-part-menu-items/convert-to-regular.cjs.map +3 -3
  100. package/build/components/visual-editor/index.cjs +6 -15
  101. package/build/components/visual-editor/index.cjs.map +2 -2
  102. package/build/store/private-actions.cjs +46 -2
  103. package/build/store/private-actions.cjs.map +2 -2
  104. package/build/store/private-selectors.cjs +156 -21
  105. package/build/store/private-selectors.cjs.map +2 -2
  106. package/build/store/reducer.cjs +27 -0
  107. package/build/store/reducer.cjs.map +2 -2
  108. package/build/store/selectors.cjs +0 -14
  109. package/build/store/selectors.cjs.map +2 -2
  110. package/build/utils/media-finalize/index.cjs +43 -0
  111. package/build/utils/media-finalize/index.cjs.map +7 -0
  112. package/build/utils/media-upload/on-success.cjs +46 -0
  113. package/build/utils/media-upload/on-success.cjs.map +7 -0
  114. package/build/utils/sync-error-messages.cjs +32 -15
  115. package/build/utils/sync-error-messages.cjs.map +3 -3
  116. package/build-module/components/collab-sidebar/index.mjs +7 -4
  117. package/build-module/components/collab-sidebar/index.mjs.map +2 -2
  118. package/build-module/components/collab-sidebar/utils.mjs +13 -15
  119. package/build-module/components/collab-sidebar/utils.mjs.map +2 -2
  120. package/build-module/components/collaborators-overlay/avatar-iframe-styles.mjs +128 -0
  121. package/build-module/components/collaborators-overlay/avatar-iframe-styles.mjs.map +7 -0
  122. package/build-module/components/collaborators-overlay/collaborator-styles.mjs +25 -1
  123. package/build-module/components/collaborators-overlay/collaborator-styles.mjs.map +2 -2
  124. package/build-module/components/collaborators-overlay/compute-selection.mjs +166 -0
  125. package/build-module/components/collaborators-overlay/compute-selection.mjs.map +7 -0
  126. package/build-module/components/collaborators-overlay/cursor-dom-utils.mjs +213 -0
  127. package/build-module/components/collaborators-overlay/cursor-dom-utils.mjs.map +7 -0
  128. package/build-module/components/collaborators-overlay/cursor-registry.mjs +61 -0
  129. package/build-module/components/collaborators-overlay/cursor-registry.mjs.map +7 -0
  130. package/build-module/components/collaborators-overlay/index.mjs +7 -2
  131. package/build-module/components/collaborators-overlay/index.mjs.map +2 -2
  132. package/build-module/components/collaborators-overlay/overlay-iframe-styles.mjs +130 -0
  133. package/build-module/components/collaborators-overlay/overlay-iframe-styles.mjs.map +7 -0
  134. package/build-module/components/collaborators-overlay/overlay.mjs +137 -237
  135. package/build-module/components/collaborators-overlay/overlay.mjs.map +2 -2
  136. package/build-module/components/collaborators-overlay/timing-utils.mjs +21 -0
  137. package/build-module/components/collaborators-overlay/timing-utils.mjs.map +7 -0
  138. package/build-module/components/collaborators-overlay/use-block-highlighting.mjs +93 -45
  139. package/build-module/components/collaborators-overlay/use-block-highlighting.mjs.map +2 -2
  140. package/build-module/components/collaborators-overlay/use-debounced-recompute.mjs +24 -0
  141. package/build-module/components/collaborators-overlay/use-debounced-recompute.mjs.map +7 -0
  142. package/build-module/components/collaborators-overlay/use-render-cursors.mjs +83 -176
  143. package/build-module/components/collaborators-overlay/use-render-cursors.mjs.map +2 -2
  144. package/build-module/components/collaborators-presence/avatar/component.mjs +90 -0
  145. package/build-module/components/collaborators-presence/avatar/component.mjs.map +7 -0
  146. package/build-module/components/collaborators-presence/avatar/index.mjs +6 -0
  147. package/build-module/components/collaborators-presence/avatar/index.mjs.map +7 -0
  148. package/build-module/components/collaborators-presence/avatar/types.mjs +1 -0
  149. package/build-module/components/collaborators-presence/avatar/types.mjs.map +7 -0
  150. package/build-module/components/collaborators-presence/avatar/use-image-loading-status.mjs +19 -0
  151. package/build-module/components/collaborators-presence/avatar/use-image-loading-status.mjs.map +7 -0
  152. package/build-module/components/collaborators-presence/avatar-group/component.mjs +47 -0
  153. package/build-module/components/collaborators-presence/avatar-group/component.mjs.map +7 -0
  154. package/build-module/components/collaborators-presence/avatar-group/index.mjs +6 -0
  155. package/build-module/components/collaborators-presence/avatar-group/index.mjs.map +7 -0
  156. package/build-module/components/collaborators-presence/avatar-group/types.mjs +1 -0
  157. package/build-module/components/collaborators-presence/avatar-group/types.mjs.map +7 -0
  158. package/build-module/components/collaborators-presence/index.mjs +57 -23
  159. package/build-module/components/collaborators-presence/index.mjs.map +2 -2
  160. package/build-module/components/collaborators-presence/list.mjs +52 -44
  161. package/build-module/components/collaborators-presence/list.mjs.map +2 -2
  162. package/build-module/components/collaborators-presence/use-collaborator-notifications.mjs +126 -0
  163. package/build-module/components/collaborators-presence/use-collaborator-notifications.mjs.map +7 -0
  164. package/build-module/components/editor-interface/index.mjs +12 -7
  165. package/build-module/components/editor-interface/index.mjs.map +2 -2
  166. package/build-module/components/inserter-sidebar/index.mjs +2 -1
  167. package/build-module/components/inserter-sidebar/index.mjs.map +2 -2
  168. package/build-module/components/post-last-revision/index.mjs +27 -6
  169. package/build-module/components/post-last-revision/index.mjs.map +2 -2
  170. package/build-module/components/post-locked-modal/index.mjs +49 -17
  171. package/build-module/components/post-locked-modal/index.mjs.map +2 -2
  172. package/build-module/components/post-revisions-preview/block-diff.mjs +130 -34
  173. package/build-module/components/post-revisions-preview/block-diff.mjs.map +2 -2
  174. package/build-module/components/post-revisions-preview/diff-markers.mjs +6 -5
  175. package/build-module/components/post-revisions-preview/diff-markers.mjs.map +2 -2
  176. package/build-module/components/post-revisions-preview/revisions-canvas.mjs +18 -65
  177. package/build-module/components/post-revisions-preview/revisions-canvas.mjs.map +2 -2
  178. package/build-module/components/post-revisions-preview/revisions-header.mjs +36 -33
  179. package/build-module/components/post-revisions-preview/revisions-header.mjs.map +2 -2
  180. package/build-module/components/post-revisions-preview/revisions-slider.mjs +112 -42
  181. package/build-module/components/post-revisions-preview/revisions-slider.mjs.map +2 -2
  182. package/build-module/components/preferences-modal/index.mjs +36 -4
  183. package/build-module/components/preferences-modal/index.mjs.map +2 -2
  184. package/build-module/components/provider/disable-non-page-content-blocks.mjs +31 -28
  185. package/build-module/components/provider/disable-non-page-content-blocks.mjs.map +2 -2
  186. package/build-module/components/provider/index.mjs +17 -5
  187. package/build-module/components/provider/index.mjs.map +2 -2
  188. package/build-module/components/provider/use-block-editor-settings.mjs +20 -4
  189. package/build-module/components/provider/use-block-editor-settings.mjs.map +2 -2
  190. package/build-module/components/provider/use-post-content-block-types.mjs +23 -0
  191. package/build-module/components/provider/use-post-content-block-types.mjs.map +7 -0
  192. package/build-module/components/provider/use-revision-blocks.mjs +81 -0
  193. package/build-module/components/provider/use-revision-blocks.mjs.map +7 -0
  194. package/build-module/components/revision-block-diff/index.mjs +30 -0
  195. package/build-module/components/revision-block-diff/index.mjs.map +7 -0
  196. package/build-module/components/revision-diff-panel/index.mjs +37 -0
  197. package/build-module/components/revision-diff-panel/index.mjs.map +7 -0
  198. package/build-module/components/revision-fields-diff/index.mjs +65 -0
  199. package/build-module/components/revision-fields-diff/index.mjs.map +7 -0
  200. package/build-module/components/sidebar/header.mjs +1 -1
  201. package/build-module/components/sidebar/header.mjs.map +2 -2
  202. package/build-module/components/sidebar/index.mjs +7 -1
  203. package/build-module/components/sidebar/index.mjs.map +2 -2
  204. package/build-module/components/style-book/index.mjs +4 -3
  205. package/build-module/components/style-book/index.mjs.map +2 -2
  206. package/build-module/components/sync-connection-error-modal/index.mjs +170 -0
  207. package/build-module/components/sync-connection-error-modal/index.mjs.map +7 -0
  208. package/build-module/components/sync-connection-error-modal/use-retry-countdown.mjs +59 -0
  209. package/build-module/components/sync-connection-error-modal/use-retry-countdown.mjs.map +7 -0
  210. package/build-module/components/template-content-panel/index.mjs +25 -31
  211. package/build-module/components/template-content-panel/index.mjs.map +2 -2
  212. package/build-module/components/template-part-menu-items/convert-to-regular.mjs +60 -14
  213. package/build-module/components/template-part-menu-items/convert-to-regular.mjs.map +2 -2
  214. package/build-module/components/visual-editor/index.mjs +6 -15
  215. package/build-module/components/visual-editor/index.mjs.map +2 -2
  216. package/build-module/store/private-actions.mjs +44 -2
  217. package/build-module/store/private-actions.mjs.map +2 -2
  218. package/build-module/store/private-selectors.mjs +155 -21
  219. package/build-module/store/private-selectors.mjs.map +2 -2
  220. package/build-module/store/reducer.mjs +25 -0
  221. package/build-module/store/reducer.mjs.map +2 -2
  222. package/build-module/store/selectors.mjs +0 -13
  223. package/build-module/store/selectors.mjs.map +2 -2
  224. package/build-module/utils/media-finalize/index.mjs +12 -0
  225. package/build-module/utils/media-finalize/index.mjs.map +7 -0
  226. package/build-module/utils/media-upload/on-success.mjs +25 -0
  227. package/build-module/utils/media-upload/on-success.mjs.map +7 -0
  228. package/build-module/utils/sync-error-messages.mjs +27 -15
  229. package/build-module/utils/sync-error-messages.mjs.map +3 -3
  230. package/build-style/style-rtl.css +388 -132
  231. package/build-style/style.css +388 -132
  232. package/build-types/components/autocompleters/link.d.ts +8 -0
  233. package/build-types/components/autocompleters/link.d.ts.map +1 -0
  234. package/build-types/components/collab-sidebar/add-note-menu-item.d.ts +5 -0
  235. package/build-types/components/collab-sidebar/add-note-menu-item.d.ts.map +1 -0
  236. package/build-types/components/collab-sidebar/add-note.d.ts +6 -0
  237. package/build-types/components/collab-sidebar/add-note.d.ts.map +1 -0
  238. package/build-types/components/collab-sidebar/board-store.d.ts +9 -0
  239. package/build-types/components/collab-sidebar/board-store.d.ts.map +1 -0
  240. package/build-types/components/collab-sidebar/floating-container.d.ts +8 -0
  241. package/build-types/components/collab-sidebar/floating-container.d.ts.map +1 -0
  242. package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
  243. package/build-types/components/collab-sidebar/note-byline.d.ts +10 -0
  244. package/build-types/components/collab-sidebar/note-byline.d.ts.map +1 -0
  245. package/build-types/components/collab-sidebar/note-card.d.ts +8 -0
  246. package/build-types/components/collab-sidebar/note-card.d.ts.map +1 -0
  247. package/build-types/components/collab-sidebar/note-form.d.ts +7 -0
  248. package/build-types/components/collab-sidebar/note-form.d.ts.map +1 -0
  249. package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts +5 -0
  250. package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts.map +1 -0
  251. package/build-types/components/collab-sidebar/note-thread.d.ts +11 -0
  252. package/build-types/components/collab-sidebar/note-thread.d.ts.map +1 -0
  253. package/build-types/components/collab-sidebar/note.d.ts +9 -0
  254. package/build-types/components/collab-sidebar/note.d.ts.map +1 -0
  255. package/build-types/components/collab-sidebar/notes.d.ts +7 -0
  256. package/build-types/components/collab-sidebar/notes.d.ts.map +1 -0
  257. package/build-types/components/collab-sidebar/utils.d.ts.map +1 -1
  258. package/build-types/components/collaborators-overlay/avatar-iframe-styles.d.ts +11 -0
  259. package/build-types/components/collaborators-overlay/avatar-iframe-styles.d.ts.map +1 -0
  260. package/build-types/components/collaborators-overlay/collaborator-styles.d.ts +17 -2
  261. package/build-types/components/collaborators-overlay/collaborator-styles.d.ts.map +1 -1
  262. package/build-types/components/collaborators-overlay/compute-selection.d.ts +24 -0
  263. package/build-types/components/collaborators-overlay/compute-selection.d.ts.map +1 -0
  264. package/build-types/components/collaborators-overlay/cursor-dom-utils.d.ts +72 -0
  265. package/build-types/components/collaborators-overlay/cursor-dom-utils.d.ts.map +1 -0
  266. package/build-types/components/collaborators-overlay/cursor-registry.d.ts +36 -0
  267. package/build-types/components/collaborators-overlay/cursor-registry.d.ts.map +1 -0
  268. package/build-types/components/collaborators-overlay/index.d.ts +7 -4
  269. package/build-types/components/collaborators-overlay/index.d.ts.map +1 -1
  270. package/build-types/components/collaborators-overlay/overlay-iframe-styles.d.ts +6 -0
  271. package/build-types/components/collaborators-overlay/overlay-iframe-styles.d.ts.map +1 -0
  272. package/build-types/components/collaborators-overlay/overlay.d.ts +4 -1
  273. package/build-types/components/collaborators-overlay/overlay.d.ts.map +1 -1
  274. package/build-types/components/collaborators-overlay/timing-utils.d.ts +11 -0
  275. package/build-types/components/collaborators-overlay/timing-utils.d.ts.map +1 -0
  276. package/build-types/components/collaborators-overlay/use-block-highlighting.d.ts +21 -5
  277. package/build-types/components/collaborators-overlay/use-block-highlighting.d.ts.map +1 -1
  278. package/build-types/components/collaborators-overlay/use-debounced-recompute.d.ts +10 -0
  279. package/build-types/components/collaborators-overlay/use-debounced-recompute.d.ts.map +1 -0
  280. package/build-types/components/collaborators-overlay/use-render-cursors.d.ts +6 -1
  281. package/build-types/components/collaborators-overlay/use-render-cursors.d.ts.map +1 -1
  282. package/build-types/components/collaborators-presence/avatar/component.d.ts +7 -0
  283. package/build-types/components/collaborators-presence/avatar/component.d.ts.map +1 -0
  284. package/build-types/components/collaborators-presence/avatar/index.d.ts +3 -0
  285. package/build-types/components/collaborators-presence/avatar/index.d.ts.map +1 -0
  286. package/build-types/components/collaborators-presence/avatar/types.d.ts +66 -0
  287. package/build-types/components/collaborators-presence/avatar/types.d.ts.map +1 -0
  288. package/build-types/components/collaborators-presence/avatar/use-image-loading-status.d.ts +17 -0
  289. package/build-types/components/collaborators-presence/avatar/use-image-loading-status.d.ts.map +1 -0
  290. package/build-types/components/collaborators-presence/avatar-group/component.d.ts +7 -0
  291. package/build-types/components/collaborators-presence/avatar-group/component.d.ts.map +1 -0
  292. package/build-types/components/collaborators-presence/avatar-group/index.d.ts +3 -0
  293. package/build-types/components/collaborators-presence/avatar-group/index.d.ts.map +1 -0
  294. package/build-types/components/collaborators-presence/avatar-group/types.d.ts +14 -0
  295. package/build-types/components/collaborators-presence/avatar-group/types.d.ts.map +1 -0
  296. package/build-types/components/collaborators-presence/index.d.ts.map +1 -1
  297. package/build-types/components/collaborators-presence/list.d.ts +6 -2
  298. package/build-types/components/collaborators-presence/list.d.ts.map +1 -1
  299. package/build-types/components/collaborators-presence/use-collaborator-notifications.d.ts +9 -0
  300. package/build-types/components/collaborators-presence/use-collaborator-notifications.d.ts.map +1 -0
  301. package/build-types/components/editor-interface/index.d.ts.map +1 -1
  302. package/build-types/components/inserter-sidebar/index.d.ts.map +1 -1
  303. package/build-types/components/media/media-editor-modal.d.ts +15 -0
  304. package/build-types/components/media/media-editor-modal.d.ts.map +1 -0
  305. package/build-types/components/post-last-revision/index.d.ts.map +1 -1
  306. package/build-types/components/post-locked-modal/index.d.ts.map +1 -1
  307. package/build-types/components/post-revisions-panel/index.d.ts +2 -0
  308. package/build-types/components/post-revisions-panel/index.d.ts.map +1 -0
  309. package/build-types/components/post-revisions-preview/block-diff.d.ts.map +1 -1
  310. package/build-types/components/post-revisions-preview/diff-markers.d.ts.map +1 -1
  311. package/build-types/components/post-revisions-preview/revisions-canvas.d.ts +2 -5
  312. package/build-types/components/post-revisions-preview/revisions-canvas.d.ts.map +1 -1
  313. package/build-types/components/post-revisions-preview/revisions-header.d.ts.map +1 -1
  314. package/build-types/components/post-revisions-preview/revisions-slider.d.ts +1 -1
  315. package/build-types/components/post-revisions-preview/revisions-slider.d.ts.map +1 -1
  316. package/build-types/components/post-text-editor/utils.d.ts +29 -0
  317. package/build-types/components/post-text-editor/utils.d.ts.map +1 -0
  318. package/build-types/components/provider/disable-non-page-content-blocks.d.ts.map +1 -1
  319. package/build-types/components/provider/index.d.ts.map +1 -1
  320. package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
  321. package/build-types/components/provider/use-network-reconnect.d.ts +8 -0
  322. package/build-types/components/provider/use-network-reconnect.d.ts.map +1 -0
  323. package/build-types/components/provider/use-post-content-block-types.d.ts +9 -0
  324. package/build-types/components/provider/use-post-content-block-types.d.ts.map +1 -0
  325. package/build-types/components/provider/use-revision-blocks.d.ts +10 -0
  326. package/build-types/components/provider/use-revision-blocks.d.ts.map +1 -0
  327. package/build-types/components/revision-block-diff/index.d.ts +6 -0
  328. package/build-types/components/revision-block-diff/index.d.ts.map +1 -0
  329. package/build-types/components/revision-diff-panel/index.d.ts +14 -0
  330. package/build-types/components/revision-diff-panel/index.d.ts.map +1 -0
  331. package/build-types/components/revision-fields-diff/index.d.ts +6 -0
  332. package/build-types/components/revision-fields-diff/index.d.ts.map +1 -0
  333. package/build-types/components/sidebar/dataform-post-summary.d.ts +4 -0
  334. package/build-types/components/sidebar/dataform-post-summary.d.ts.map +1 -0
  335. package/build-types/components/sidebar/index.d.ts.map +1 -1
  336. package/build-types/components/sidebar/post-revision-summary.d.ts +2 -0
  337. package/build-types/components/sidebar/post-revision-summary.d.ts.map +1 -0
  338. package/build-types/components/style-book/index.d.ts +2 -1
  339. package/build-types/components/style-book/index.d.ts.map +1 -1
  340. package/build-types/components/sync-connection-error-modal/index.d.ts +8 -0
  341. package/build-types/components/sync-connection-error-modal/index.d.ts.map +1 -0
  342. package/build-types/components/sync-connection-error-modal/use-retry-countdown.d.ts +11 -0
  343. package/build-types/components/sync-connection-error-modal/use-retry-countdown.d.ts.map +1 -0
  344. package/build-types/components/template-actions-panel/block-theme-content.d.ts +2 -0
  345. package/build-types/components/template-actions-panel/block-theme-content.d.ts.map +1 -0
  346. package/build-types/components/template-actions-panel/classic-theme-content.d.ts +2 -0
  347. package/build-types/components/template-actions-panel/classic-theme-content.d.ts.map +1 -0
  348. package/build-types/components/template-actions-panel/index.d.ts +2 -0
  349. package/build-types/components/template-actions-panel/index.d.ts.map +1 -0
  350. package/build-types/components/template-content-panel/index.d.ts.map +1 -1
  351. package/build-types/components/template-part-menu-items/convert-to-regular.d.ts.map +1 -1
  352. package/build-types/components/upload-progress-snackbar/index.d.ts +19 -0
  353. package/build-types/components/upload-progress-snackbar/index.d.ts.map +1 -0
  354. package/build-types/components/upload-progress-snackbar/stories/index.story.d.ts +28 -0
  355. package/build-types/components/upload-progress-snackbar/stories/index.story.d.ts.map +1 -0
  356. package/build-types/components/upload-progress-snackbar/tracker.d.ts +41 -0
  357. package/build-types/components/upload-progress-snackbar/tracker.d.ts.map +1 -0
  358. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  359. package/build-types/store/private-actions.d.ts +12 -0
  360. package/build-types/store/private-actions.d.ts.map +1 -1
  361. package/build-types/store/private-selectors.d.ts +45 -0
  362. package/build-types/store/private-selectors.d.ts.map +1 -1
  363. package/build-types/store/reducer.d.ts +21 -0
  364. package/build-types/store/reducer.d.ts.map +1 -1
  365. package/build-types/store/selectors.d.ts +0 -10
  366. package/build-types/store/selectors.d.ts.map +1 -1
  367. package/build-types/utils/media-delete/index.d.ts +2 -0
  368. package/build-types/utils/media-delete/index.d.ts.map +1 -0
  369. package/build-types/utils/media-finalize/index.d.ts +2 -0
  370. package/build-types/utils/media-finalize/index.d.ts.map +1 -0
  371. package/build-types/utils/media-upload/on-success.d.ts +9 -0
  372. package/build-types/utils/media-upload/on-success.d.ts.map +1 -0
  373. package/build-types/utils/sync-error-messages.d.ts +17 -3
  374. package/build-types/utils/sync-error-messages.d.ts.map +1 -1
  375. package/package.json +45 -44
  376. package/src/components/collab-sidebar/index.js +7 -4
  377. package/src/components/collab-sidebar/utils.js +9 -10
  378. package/src/components/collaborators-overlay/avatar-iframe-styles.ts +134 -0
  379. package/src/components/collaborators-overlay/collaborator-styles.ts +43 -2
  380. package/src/components/collaborators-overlay/compute-selection.ts +315 -0
  381. package/src/components/collaborators-overlay/cursor-dom-utils.ts +382 -0
  382. package/src/components/collaborators-overlay/cursor-registry.ts +96 -0
  383. package/src/components/collaborators-overlay/index.tsx +12 -4
  384. package/src/components/collaborators-overlay/overlay-iframe-styles.ts +131 -0
  385. package/src/components/collaborators-overlay/overlay.tsx +145 -229
  386. package/src/components/collaborators-overlay/timing-utils.ts +30 -0
  387. package/src/components/collaborators-overlay/use-block-highlighting.ts +152 -64
  388. package/src/components/collaborators-overlay/use-debounced-recompute.ts +32 -0
  389. package/src/components/collaborators-overlay/use-render-cursors.ts +120 -282
  390. package/src/components/collaborators-presence/avatar/component.tsx +123 -0
  391. package/src/components/collaborators-presence/avatar/index.ts +2 -0
  392. package/src/components/collaborators-presence/avatar/styles.scss +184 -0
  393. package/src/components/collaborators-presence/avatar/test/index.tsx +389 -0
  394. package/src/components/collaborators-presence/avatar/types.ts +66 -0
  395. package/src/components/collaborators-presence/avatar/use-image-loading-status.ts +36 -0
  396. package/src/components/collaborators-presence/avatar-group/component.tsx +55 -0
  397. package/src/components/collaborators-presence/avatar-group/index.ts +2 -0
  398. package/src/components/collaborators-presence/avatar-group/styles.scss +33 -0
  399. package/src/components/collaborators-presence/avatar-group/test/index.tsx +139 -0
  400. package/src/components/collaborators-presence/avatar-group/types.ts +13 -0
  401. package/src/components/collaborators-presence/index.tsx +43 -12
  402. package/src/components/collaborators-presence/list.tsx +68 -40
  403. package/src/components/collaborators-presence/styles/collaborators-list.scss +26 -19
  404. package/src/components/collaborators-presence/styles/collaborators-presence.scss +6 -2
  405. package/src/components/collaborators-presence/test/use-collaborator-notifications.ts +397 -0
  406. package/src/components/collaborators-presence/use-collaborator-notifications.ts +203 -0
  407. package/src/components/document-bar/style.scss +1 -1
  408. package/src/components/editor-interface/index.js +13 -6
  409. package/src/components/inserter-sidebar/index.js +4 -1
  410. package/src/components/post-last-revision/index.js +35 -6
  411. package/src/components/post-last-revision/style.scss +0 -3
  412. package/src/components/post-locked-modal/index.js +69 -25
  413. package/src/components/post-panel-row/style.scss +1 -0
  414. package/src/components/post-revisions-preview/block-diff.js +224 -61
  415. package/src/components/post-revisions-preview/diff-markers.js +15 -12
  416. package/src/components/post-revisions-preview/revisions-canvas.js +23 -86
  417. package/src/components/post-revisions-preview/revisions-header.js +35 -37
  418. package/src/components/post-revisions-preview/revisions-slider.js +138 -62
  419. package/src/components/post-revisions-preview/style.scss +3 -3
  420. package/src/components/post-revisions-preview/test/block-diff.js +202 -35
  421. package/src/components/preferences-modal/index.js +37 -7
  422. package/src/components/provider/disable-non-page-content-blocks.js +42 -40
  423. package/src/components/provider/index.js +20 -2
  424. package/src/components/provider/use-block-editor-settings.js +21 -1
  425. package/src/components/provider/use-post-content-block-types.js +30 -0
  426. package/src/components/provider/use-revision-blocks.js +105 -0
  427. package/src/components/revision-block-diff/index.js +39 -0
  428. package/src/components/revision-diff-panel/index.js +59 -0
  429. package/src/components/revision-diff-panel/style.scss +13 -0
  430. package/src/components/revision-fields-diff/index.js +91 -0
  431. package/src/components/sidebar/header.js +1 -1
  432. package/src/components/sidebar/index.js +4 -0
  433. package/src/components/style-book/index.js +4 -2
  434. package/src/components/sync-connection-error-modal/index.tsx +253 -0
  435. package/src/components/sync-connection-error-modal/style.scss +14 -0
  436. package/src/components/sync-connection-error-modal/use-retry-countdown.ts +93 -0
  437. package/src/components/template-content-panel/index.js +30 -38
  438. package/src/components/template-part-menu-items/convert-to-regular.js +74 -12
  439. package/src/components/visual-editor/index.js +6 -23
  440. package/src/store/private-actions.js +70 -1
  441. package/src/store/private-selectors.js +216 -28
  442. package/src/store/reducer.js +41 -0
  443. package/src/store/selectors.js +0 -19
  444. package/src/style.scss +4 -1
  445. package/src/utils/media-finalize/index.js +11 -0
  446. package/src/utils/media-finalize/test/index.js +34 -0
  447. package/src/utils/media-upload/on-success.js +34 -0
  448. package/src/utils/sync-error-messages.ts +72 -0
  449. package/src/utils/test/sync-error-messages.js +34 -0
  450. package/build/components/provider/use-post-content-blocks.cjs.map +0 -7
  451. package/build/components/sync-connection-modal/index.cjs +0 -130
  452. package/build/components/sync-connection-modal/index.cjs.map +0 -7
  453. package/build-module/components/provider/use-post-content-blocks.mjs +0 -34
  454. package/build-module/components/provider/use-post-content-blocks.mjs.map +0 -7
  455. package/build-module/components/sync-connection-modal/index.mjs +0 -114
  456. package/build-module/components/sync-connection-modal/index.mjs.map +0 -7
  457. package/build-types/components/provider/use-post-content-blocks.d.ts +0 -2
  458. package/build-types/components/provider/use-post-content-blocks.d.ts.map +0 -1
  459. package/build-types/components/sync-connection-modal/index.d.ts +0 -8
  460. package/build-types/components/sync-connection-modal/index.d.ts.map +0 -1
  461. package/src/components/provider/use-post-content-blocks.js +0 -42
  462. package/src/components/sync-connection-modal/index.js +0 -140
  463. package/src/components/sync-connection-modal/style.scss +0 -11
  464. package/src/utils/sync-error-messages.js +0 -53
@@ -107,100 +107,11 @@
107
107
  }
108
108
  }
109
109
 
110
- /**
111
- * Colors
112
- */
113
- /**
114
- * SCSS Variables.
115
- *
116
- * Please use variables from this sheet to ensure consistency across the UI.
117
- * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
118
- * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
119
- */
120
- /**
121
- * Fonts & basic variables.
122
- */
123
- /**
124
- * Typography
125
- */
126
- /**
127
- * Grid System.
128
- * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
129
- */
130
- /**
131
- * Radius scale.
132
- */
133
- /**
134
- * Elevation scale.
135
- */
136
- /**
137
- * Dimensions.
138
- */
139
- /**
140
- * Mobile specific styles
141
- */
142
- /**
143
- * Editor styles.
144
- */
145
- /**
146
- * Block & Editor UI.
147
- */
148
- /**
149
- * Block paddings.
150
- */
151
- /**
152
- * React Native specific.
153
- * These variables do not appear to be used anywhere else.
154
- */
155
- /**
156
- * Typography
157
- */
158
- /**
159
- * Breakpoints & Media Queries
160
- */
161
- /**
162
- * Converts a hex value into the rgb equivalent.
163
- *
164
- * @param {string} hex - the hexadecimal value to convert
165
- * @return {string} comma separated rgb values
166
- */
167
- /**
168
- * Long content fade mixin
169
- *
170
- * Creates a fading overlay to signify that the content is longer
171
- * than the space allows.
172
- */
173
- /**
174
- * Breakpoint mixins
175
- */
176
- /**
177
- * Focus styles.
178
- */
179
- /**
180
- * Applies editor left position to the selector passed as argument
181
- */
182
- /**
183
- * Styles that are reused verbatim in a few places
184
- */
185
- /**
186
- * Allows users to opt-out of animations via OS-level preferences.
187
- */
188
- /**
189
- * Reset default styles for JavaScript UI based pages.
190
- * This is a WP-admin agnostic reset
191
- */
192
- /**
193
- * Reset the WP Admin page styles for Gutenberg-like pages.
194
- */
195
- /**
196
- * Creates a checkerboard pattern background to indicate transparency.
197
- * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
198
- */
199
110
  .admin-ui-page {
200
111
  display: flex;
201
112
  height: 100%;
202
- background-color: #fff;
203
- color: #2f2f2f;
113
+ background-color: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
114
+ color: var(--wpds-color-fg-content-neutral, #1e1e1e);
204
115
  position: relative;
205
116
  z-index: 1;
206
117
  flex-flow: column;
@@ -208,25 +119,34 @@
208
119
  }
209
120
 
210
121
  .admin-ui-page__header {
211
- padding: 16px 24px;
212
- border-bottom: 1px solid #f0f0f0;
213
- background: #fff;
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, #e0e0e0);
124
+ background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
214
125
  position: sticky;
215
126
  top: 0;
216
127
  z-index: 1;
217
128
  }
218
129
 
130
+ .admin-ui-page__header-title {
131
+ font-family: var(--wpds-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
132
+ font-size: var(--wpds-font-size-xl, 20px);
133
+ font-weight: var(--wpds-font-weight-medium, 499);
134
+ line-height: var(--wpds-font-line-height-xl, 32px);
135
+ margin: 0;
136
+ overflow: hidden;
137
+ text-overflow: ellipsis;
138
+ white-space: nowrap;
139
+ }
140
+
219
141
  .admin-ui-page__sidebar-toggle-slot:empty {
220
142
  display: none;
221
143
  }
222
144
 
223
145
  .admin-ui-page__header-subtitle {
224
- padding-block-end: 8px;
225
- color: #757575;
226
- font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
227
- font-weight: 400;
228
- font-size: 13px;
229
- line-height: 20px;
146
+ padding-block-end: var(--wpds-dimension-padding-xs, 4px);
147
+ color: var(--wpds-color-fg-content-neutral-weak, #6d6d6d);
148
+ font-size: var(--wpds-font-size-md, 13px);
149
+ line-height: var(--wpds-font-line-height-md, 24px);
230
150
  margin: 0;
231
151
  }
232
152
 
@@ -238,12 +158,12 @@
238
158
  }
239
159
 
240
160
  .admin-ui-page__content.has-padding {
241
- padding: 16px 24px;
161
+ padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
242
162
  }
243
163
 
244
164
  .show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
245
165
  width: auto;
246
- padding: 0 8px;
166
+ padding: 0 var(--wpds-dimension-padding-xs, 4px);
247
167
  }
248
168
 
249
169
  .show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
@@ -252,9 +172,54 @@
252
172
 
253
173
  .show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
254
174
  content: attr(aria-label);
255
- font-size: 12px;
175
+ font-size: var(--wpds-font-size-sm, 12px);
256
176
  }
257
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
+ */
258
223
  .admin-ui-breadcrumbs__list {
259
224
  list-style: none;
260
225
  padding: 0;
@@ -1182,6 +1147,7 @@ button.font-library__upload-area {
1182
1147
  background: #fff;
1183
1148
  padding: 12px;
1184
1149
  border-top: 1px solid #ddd;
1150
+ box-sizing: border-box;
1185
1151
  }
1186
1152
 
1187
1153
  .global-styles-ui-variations_item {
@@ -1614,6 +1580,25 @@ button.font-library__upload-area {
1614
1580
  transition: padding ease-out 0.1s;
1615
1581
  }
1616
1582
  }
1583
+ .dataviews-no-results.is-refreshing {
1584
+ opacity: 0.5;
1585
+ pointer-events: none;
1586
+ }
1587
+
1588
+ @media not (prefers-reduced-motion) {
1589
+ .dataviews-no-results.is-refreshing {
1590
+ opacity: 1;
1591
+ animation: dataviews-pulse 1s ease-in-out infinite;
1592
+ }
1593
+ }
1594
+ @keyframes dataviews-pulse {
1595
+ 0%, 100% {
1596
+ opacity: 1;
1597
+ }
1598
+ 50% {
1599
+ opacity: 0.5;
1600
+ }
1601
+ }
1617
1602
  .dataviews-loading-more {
1618
1603
  text-align: center;
1619
1604
  }
@@ -2292,17 +2277,28 @@ button.font-library__upload-area {
2292
2277
  z-index: 2;
2293
2278
  }
2294
2279
 
2280
+ .dataviews-footer .is-refreshing {
2281
+ opacity: 0.5;
2282
+ pointer-events: none;
2283
+ }
2284
+
2285
+ @media not (prefers-reduced-motion) {
2286
+ .dataviews-footer .is-refreshing {
2287
+ opacity: 1;
2288
+ animation: dataviews-pulse 1s ease-in-out infinite;
2289
+ }
2290
+ }
2295
2291
  @container (max-width: 560px) {
2296
- .dataviews-footer {
2292
+ .dataviews-footer__content {
2297
2293
  flex-direction: column !important;
2298
2294
  }
2299
- .dataviews-footer .dataviews-bulk-actions-footer__container {
2295
+ .dataviews-footer__content .dataviews-bulk-actions-footer__container {
2300
2296
  width: 100%;
2301
2297
  }
2302
- .dataviews-footer .dataviews-bulk-actions-footer__item-count {
2298
+ .dataviews-footer__content .dataviews-bulk-actions-footer__item-count {
2303
2299
  flex-grow: 1;
2304
2300
  }
2305
- .dataviews-footer .dataviews-pagination {
2301
+ .dataviews-footer__content .dataviews-pagination {
2306
2302
  width: 100%;
2307
2303
  justify-content: space-between;
2308
2304
  }
@@ -2323,6 +2319,10 @@ button.font-library__upload-area {
2323
2319
  z-index: 1000001;
2324
2320
  }
2325
2321
 
2322
+ .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
2323
+ padding: 0 4px;
2324
+ }
2325
+
2326
2326
  .dataviews-selection-checkbox {
2327
2327
  --checkbox-input-size: 24px;
2328
2328
  }
@@ -2597,6 +2597,17 @@ button.font-library__upload-area {
2597
2597
  padding-bottom: 12px;
2598
2598
  }
2599
2599
 
2600
+ .dataviews-view-grid.is-refreshing {
2601
+ opacity: 0.5;
2602
+ pointer-events: none;
2603
+ }
2604
+
2605
+ @media not (prefers-reduced-motion) {
2606
+ .dataviews-view-grid.is-refreshing {
2607
+ opacity: 1;
2608
+ animation: dataviews-pulse 1s ease-in-out infinite;
2609
+ }
2610
+ }
2600
2611
  .dataviews-view-grid__field-value:empty,
2601
2612
  .dataviews-view-grid__field:empty {
2602
2613
  display: none;
@@ -2951,6 +2962,17 @@ div.dataviews-view-list {
2951
2962
  line-height: 24px;
2952
2963
  }
2953
2964
 
2965
+ .dataviews-view-list.is-refreshing {
2966
+ opacity: 0.5;
2967
+ pointer-events: none;
2968
+ }
2969
+
2970
+ @media not (prefers-reduced-motion) {
2971
+ .dataviews-view-list.is-refreshing {
2972
+ opacity: 1;
2973
+ animation: dataviews-pulse 1s ease-in-out infinite;
2974
+ }
2975
+ }
2954
2976
  .dataviews-view-list__group-header {
2955
2977
  font-size: 15px;
2956
2978
  font-weight: 499;
@@ -3120,6 +3142,7 @@ div.dataviews-view-list {
3120
3142
 
3121
3143
  .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-end {
3122
3144
  justify-content: flex-end;
3145
+ font-variant-numeric: tabular-nums;
3123
3146
  }
3124
3147
 
3125
3148
  .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-center {
@@ -3232,10 +3255,21 @@ div.dataviews-view-list {
3232
3255
  }
3233
3256
 
3234
3257
  /* Column width intents via colgroup: make non-primary columns shrink-to-fit */
3235
- .dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data):not(.dataviews-view-table__col-expand) {
3258
+ .dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data) {
3236
3259
  width: 1%;
3237
3260
  }
3238
3261
 
3262
+ .dataviews-view-table.is-refreshing {
3263
+ opacity: 0.5;
3264
+ pointer-events: none;
3265
+ }
3266
+
3267
+ @media not (prefers-reduced-motion) {
3268
+ .dataviews-view-table.is-refreshing {
3269
+ opacity: 1;
3270
+ animation: dataviews-pulse 1s ease-in-out infinite;
3271
+ }
3272
+ }
3239
3273
  .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
3240
3274
  height: 100%;
3241
3275
  justify-content: flex-start;
@@ -3628,6 +3662,17 @@ div.dataviews-view-list {
3628
3662
  background-color: #ddd;
3629
3663
  }
3630
3664
 
3665
+ .dataviews-view-activity.is-refreshing {
3666
+ opacity: 0.5;
3667
+ pointer-events: none;
3668
+ }
3669
+
3670
+ @media not (prefers-reduced-motion) {
3671
+ .dataviews-view-activity.is-refreshing {
3672
+ opacity: 1;
3673
+ animation: dataviews-pulse 1s ease-in-out infinite;
3674
+ }
3675
+ }
3631
3676
  .dataviews-view-activity + .dataviews-pagination {
3632
3677
  justify-content: space-between;
3633
3678
  }
@@ -3687,7 +3732,7 @@ div.dataviews-view-list {
3687
3732
 
3688
3733
  .dataforms-layouts-panel__field-trigger--label-side {
3689
3734
  flex-direction: row;
3690
- gap: var(--wpds-dimension-gap-md);
3735
+ gap: var(--wpds-dimension-gap-md, 12px);
3691
3736
  }
3692
3737
 
3693
3738
  .dataforms-layouts-panel__field-trigger--label-top {
@@ -3717,7 +3762,7 @@ div.dataviews-view-list {
3717
3762
 
3718
3763
  .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
3719
3764
  color: #757575;
3720
- font-weight: var(--wpds-font-weight-regular);
3765
+ font-weight: var(--wpds-font-weight-regular, 400);
3721
3766
  }
3722
3767
 
3723
3768
  .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
@@ -3734,12 +3779,12 @@ div.dataviews-view-list {
3734
3779
  color: var(--wp-admin-theme-color);
3735
3780
  flex: 0 0 auto;
3736
3781
  opacity: 0;
3737
- border-radius: var(--wpds-border-radius-xs);
3782
+ border-radius: var(--wpds-border-radius-xs, 1px);
3738
3783
  }
3739
3784
 
3740
3785
  .dataforms-layouts-panel__field-trigger-icon:focus-visible {
3741
3786
  opacity: 1;
3742
- outline: var(--wpds-border-width-focus) solid var(--wp-admin-theme-color);
3787
+ outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wp-admin-theme-color);
3743
3788
  }
3744
3789
 
3745
3790
  .dataforms-layouts-panel__field-dropdown-anchor {
@@ -3759,6 +3804,7 @@ div.dataviews-view-list {
3759
3804
  line-height: 20px;
3760
3805
  hyphens: auto;
3761
3806
  color: #757575;
3807
+ text-transform: capitalize;
3762
3808
  }
3763
3809
 
3764
3810
  .dataforms-layouts-panel__field-label .components-base-control__label {
@@ -3790,11 +3836,11 @@ div.dataviews-view-list {
3790
3836
  flex-grow: 1;
3791
3837
  min-width: 0;
3792
3838
  min-height: 24px;
3793
- line-height: var(--wpds-font-line-height-md);
3839
+ line-height: var(--wpds-font-line-height-md, 24px);
3794
3840
  display: flex;
3795
3841
  align-items: center;
3796
3842
  overflow: hidden;
3797
- font-weight: var(--wpds-font-weight-medium);
3843
+ font-weight: var(--wpds-font-weight-medium, 499);
3798
3844
  }
3799
3845
 
3800
3846
  .dataforms-layouts-panel__field-control > * {
@@ -3839,8 +3885,9 @@ div.dataviews-view-list {
3839
3885
  }
3840
3886
 
3841
3887
  .dataforms-layouts-regular__field .components-base-control__label,
3842
- .dataforms-layouts-regular__field .components-input-control__label {
3843
- color: #757575;
3888
+ .dataforms-layouts-regular__field .components-input-control__label,
3889
+ .dataforms-layouts-regular__field .components-form-token-field__label {
3890
+ color: #1e1e1e;
3844
3891
  }
3845
3892
 
3846
3893
  .dataforms-layouts-regular__field-label {
@@ -4282,6 +4329,204 @@ div.dataviews-view-list {
4282
4329
  font-size: 12px;
4283
4330
  }
4284
4331
 
4332
+ .editor-avatar {
4333
+ position: relative;
4334
+ display: inline-flex;
4335
+ align-items: center;
4336
+ border-radius: 9999px;
4337
+ flex-shrink: 0;
4338
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01);
4339
+ }
4340
+
4341
+ .editor-avatar__image {
4342
+ box-sizing: border-box;
4343
+ position: relative;
4344
+ width: 32px;
4345
+ height: 32px;
4346
+ border-radius: 9999px;
4347
+ border: 0;
4348
+ background-color: var(--wp-admin-theme-color, #3858e9);
4349
+ overflow: hidden;
4350
+ overflow: clip;
4351
+ flex-shrink: 0;
4352
+ font-size: 0;
4353
+ color: #fff;
4354
+ }
4355
+ .is-small > .editor-avatar__image {
4356
+ width: 24px;
4357
+ height: 24px;
4358
+ }
4359
+ .has-avatar-border-color > .editor-avatar__image {
4360
+ border: var(--wp-admin-border-width-focus) solid var(--editor-avatar-outline-color);
4361
+ background-clip: padding-box;
4362
+ }
4363
+ .has-avatar-border-color > .editor-avatar__image::after {
4364
+ content: "";
4365
+ position: absolute;
4366
+ inset: 0;
4367
+ border-radius: inherit;
4368
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 2px) #fff;
4369
+ pointer-events: none;
4370
+ z-index: 1;
4371
+ }
4372
+
4373
+ .editor-avatar__img {
4374
+ position: absolute;
4375
+ inset: 0;
4376
+ width: 100%;
4377
+ height: 100%;
4378
+ object-fit: cover;
4379
+ border-radius: inherit;
4380
+ opacity: 0;
4381
+ }
4382
+ .has-src > .editor-avatar__image > .editor-avatar__img {
4383
+ opacity: 1;
4384
+ }
4385
+
4386
+ .editor-avatar:not(.has-src) > .editor-avatar__image {
4387
+ display: flex;
4388
+ align-items: center;
4389
+ justify-content: center;
4390
+ font-size: 11px;
4391
+ font-weight: 499;
4392
+ border: 0;
4393
+ background-clip: border-box;
4394
+ }
4395
+ .editor-avatar:not(.has-src) > .editor-avatar__image::after {
4396
+ content: none;
4397
+ }
4398
+
4399
+ .editor-avatar:not(.has-src).has-avatar-border-color > .editor-avatar__image {
4400
+ background-color: var(--editor-avatar-outline-color);
4401
+ }
4402
+
4403
+ .editor-avatar__name {
4404
+ font-size: 13px;
4405
+ font-weight: 499;
4406
+ line-height: 20px;
4407
+ color: var(--editor-avatar-name-color, #fff);
4408
+ min-width: 0;
4409
+ padding-bottom: 2px;
4410
+ overflow: hidden;
4411
+ opacity: 0;
4412
+ white-space: nowrap;
4413
+ transition: opacity 0.15s cubic-bezier(0.15, 0, 0.15, 1);
4414
+ }
4415
+
4416
+ .editor-avatar.is-badge {
4417
+ display: inline-grid;
4418
+ grid-template-columns: min-content 0fr;
4419
+ column-gap: 0;
4420
+ padding-inline-end: 0;
4421
+ background-color: var(--wp-admin-theme-color, #3858e9);
4422
+ transition: grid-template-columns 0.3s cubic-bezier(0.15, 0, 0.15, 1), column-gap 0.3s cubic-bezier(0.15, 0, 0.15, 1), padding-inline-end 0.3s cubic-bezier(0.15, 0, 0.15, 1);
4423
+ }
4424
+ .editor-avatar.is-badge:hover {
4425
+ grid-template-columns: min-content 1fr;
4426
+ column-gap: 4px;
4427
+ padding-inline-end: 8px;
4428
+ transition-timing-function: cubic-bezier(0.85, 0, 0.85, 1);
4429
+ }
4430
+ .editor-avatar.is-badge:hover .editor-avatar__name {
4431
+ opacity: 1;
4432
+ transition-timing-function: cubic-bezier(0.85, 0, 0.85, 1);
4433
+ }
4434
+
4435
+ .editor-avatar.is-badge.has-avatar-border-color {
4436
+ background-color: var(--editor-avatar-outline-color);
4437
+ }
4438
+
4439
+ .editor-avatar.is-dimmed > .editor-avatar__image {
4440
+ opacity: 0.5;
4441
+ background-color: #757575;
4442
+ }
4443
+
4444
+ .editor-avatar.is-dimmed.has-avatar-border-color > .editor-avatar__image {
4445
+ border-color: #757575;
4446
+ }
4447
+
4448
+ .editor-avatar.is-dimmed .editor-avatar__img {
4449
+ filter: grayscale(1);
4450
+ }
4451
+
4452
+ .editor-avatar__status-indicator {
4453
+ position: absolute;
4454
+ top: 0;
4455
+ left: 0;
4456
+ width: 32px;
4457
+ height: 32px;
4458
+ display: flex;
4459
+ align-items: center;
4460
+ justify-content: center;
4461
+ z-index: 1;
4462
+ color: #1e1e1e;
4463
+ fill: #1e1e1e;
4464
+ }
4465
+ .is-small > .editor-avatar__status-indicator {
4466
+ width: 24px;
4467
+ height: 24px;
4468
+ }
4469
+ .editor-avatar__status-indicator svg {
4470
+ width: 75%;
4471
+ height: 75%;
4472
+ }
4473
+
4474
+ @media (prefers-reduced-motion: reduce) {
4475
+ .editor-avatar.is-badge,
4476
+ .editor-avatar__name {
4477
+ transition: none;
4478
+ }
4479
+ }
4480
+ .editor-avatar-group {
4481
+ display: flex;
4482
+ align-items: center;
4483
+ }
4484
+ .editor-avatar-group > .editor-avatar + .editor-avatar {
4485
+ margin-inline-start: -8px;
4486
+ }
4487
+ .editor-avatar-group > .editor-avatar {
4488
+ position: relative;
4489
+ }
4490
+ .editor-avatar-group > .editor-avatar:nth-child(1) {
4491
+ z-index: 10;
4492
+ }
4493
+ .editor-avatar-group > .editor-avatar:nth-child(2) {
4494
+ z-index: 9;
4495
+ }
4496
+ .editor-avatar-group > .editor-avatar:nth-child(3) {
4497
+ z-index: 8;
4498
+ }
4499
+ .editor-avatar-group > .editor-avatar:nth-child(4) {
4500
+ z-index: 7;
4501
+ }
4502
+ .editor-avatar-group > .editor-avatar:nth-child(5) {
4503
+ z-index: 6;
4504
+ }
4505
+ .editor-avatar-group > .editor-avatar:nth-child(6) {
4506
+ z-index: 5;
4507
+ }
4508
+ .editor-avatar-group > .editor-avatar:nth-child(7) {
4509
+ z-index: 4;
4510
+ }
4511
+ .editor-avatar-group > .editor-avatar:nth-child(8) {
4512
+ z-index: 3;
4513
+ }
4514
+ .editor-avatar-group > .editor-avatar:nth-child(9) {
4515
+ z-index: 2;
4516
+ }
4517
+ .editor-avatar-group > .editor-avatar:nth-child(10) {
4518
+ z-index: 1;
4519
+ }
4520
+
4521
+ .editor-avatar-group__overflow {
4522
+ margin-inline-start: 4px;
4523
+ margin-inline-end: 4px;
4524
+ font-size: 12px;
4525
+ line-height: 20px;
4526
+ color: #1e1e1e;
4527
+ white-space: nowrap;
4528
+ }
4529
+
4285
4530
  .editor-collapsible-block-toolbar {
4286
4531
  overflow: hidden;
4287
4532
  display: flex;
@@ -4382,7 +4627,7 @@ div.dataviews-view-list {
4382
4627
  }
4383
4628
  @media not (prefers-reduced-motion) {
4384
4629
  .editor-document-bar .components-button {
4385
- transition: all 0.1s ease-out;
4630
+ transition: background-color 0.1s ease-out;
4386
4631
  }
4387
4632
  }
4388
4633
  .editor-document-bar .components-button:hover {
@@ -5495,10 +5740,6 @@ div.dataviews-view-list {
5495
5740
  padding: 16px;
5496
5741
  }
5497
5742
 
5498
- .editor-private-post-last-revision__button {
5499
- display: inline-block;
5500
- }
5501
-
5502
5743
  .editor-post-locked-modal__buttons {
5503
5744
  margin-top: 24px;
5504
5745
  }
@@ -5525,6 +5766,7 @@ div.dataviews-view-list {
5525
5766
  padding: 6px 0;
5526
5767
  line-height: 20px;
5527
5768
  hyphens: auto;
5769
+ word-break: break-word;
5528
5770
  }
5529
5771
 
5530
5772
  .editor-post-panel__row-control {
@@ -5808,7 +6050,7 @@ div.dataviews-view-list {
5808
6050
  .revision-diff-markers {
5809
6051
  position: relative;
5810
6052
  flex-shrink: 0;
5811
- width: 12px;
6053
+ width: max(16px, 1rem);
5812
6054
  background: rgba(0, 0, 0, 0.05);
5813
6055
  }
5814
6056
  .revision-diff-markers .revision-diff-marker {
@@ -5824,10 +6066,10 @@ div.dataviews-view-list {
5824
6066
  background: #00a32a;
5825
6067
  }
5826
6068
  .revision-diff-markers .revision-diff-marker.is-removed {
5827
- background: #d63638;
6069
+ background: repeating-linear-gradient(45deg, #d63638, #d63638 3px, rgba(214, 54, 56, 0.45) 3px, rgba(214, 54, 56, 0.45) 6px);
5828
6070
  }
5829
6071
  .revision-diff-markers .revision-diff-marker.is-modified {
5830
- background: #dba617;
6072
+ background: repeating-linear-gradient(-45deg, #dba617, #dba617 3px, rgba(219, 166, 23, 0.45) 3px, rgba(219, 166, 23, 0.45) 6px);
5831
6073
  }
5832
6074
  .revision-diff-markers .revision-diff-marker:hover {
5833
6075
  opacity: 0.7;
@@ -5837,6 +6079,20 @@ div.dataviews-view-list {
5837
6079
  outline-offset: -2px;
5838
6080
  }
5839
6081
 
6082
+ .editor-revision-fields-diff__value {
6083
+ word-break: break-word;
6084
+ }
6085
+
6086
+ .editor-revision-fields-diff__added {
6087
+ background-color: color-mix(in srgb, currentColor 5%, #00a32a 15%);
6088
+ text-decoration: none;
6089
+ }
6090
+
6091
+ .editor-revision-fields-diff__removed {
6092
+ text-decoration: line-through;
6093
+ color: #d63638;
6094
+ }
6095
+
5840
6096
  .editor-post-saved-state {
5841
6097
  display: flex;
5842
6098
  align-items: center;
@@ -5951,16 +6207,16 @@ div.dataviews-view-list {
5951
6207
  margin-right: 8px;
5952
6208
  }
5953
6209
 
5954
- .editor-sync-connection-modal__container {
5955
- align-items: center;
5956
- display: flex;
5957
- margin: auto;
5958
- max-width: 30rem;
6210
+ .editor-sync-connection-error-modal {
6211
+ z-index: 1000001;
5959
6212
  }
5960
6213
 
5961
- .editor-sync-connection-modal__description {
5962
- font-size: 1.3rem;
5963
- text-align: center;
6214
+ .editor-sync-connection-error-modal p {
6215
+ margin: 0;
6216
+ }
6217
+
6218
+ .editor-sync-connection-error-modal__retry-countdown {
6219
+ color: #757575;
5964
6220
  }
5965
6221
 
5966
6222
  .editor-post-template__swap-template-modal {